:root {
    --color-primary: #16264a; /* Navy updated to FV style */
    --color-primary-dark: #0a244d;
    --color-secondary: #c19a3e; /* Gold updated to FV style */
    --color-secondary-btn: #b57e15;
    --color-secondary-btn-dark: #a1690a;
    --color-text-main: #16264a;
    --color-text-muted: #3f4657;
    --color-bg-light: #F7F9FC;
    --color-bg-white: #FFFFFF;
    --color-border: #E5E7EB;
    
    --font-sans: 'Noto Sans JP', 'Inter', sans-serif;
    --font-mincho: 'Shippori Mincho', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-white);
}

section[id] {
    scroll-margin-top: 100px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Global button font reset */
button {
    font-family: inherit;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, #cd9730, var(--color-secondary-btn) 72%, var(--color-secondary-btn-dark));
    border: 2px solid rgba(255, 255, 255, .9);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, .35), 0 8px 20px rgba(161, 105, 10, .25);
    padding: 12px 30px;
    border-radius: 40px;
    font-family: var(--font-mincho);
    font-weight: 700 !important;
    transition: all 0.3s ease;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 0.04em;
}

.btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 50px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    background: rgba(255, 255, 255, .82);
    border: 1.5px solid rgba(19, 34, 75, .85);
    padding: 16px 32px;
    border-radius: 30px;
    font-family: var(--font-mincho);
    font-weight: 700;
    transition: all 0.3s ease;
    letter-spacing: 0.04em;
}

.btn-outline:hover {
    border-color: var(--color-primary-dark);
    background: #fff;
}

.arrow {
    display: inline-block;
    margin-left: 8px;
    font-size: 1.1em;
    line-height: 1;
    transition: transform 0.2s ease;
}

/* Header */
.header {
    background-color: var(--color-bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-family: var(--font-mincho);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text-main);
    transition: color 0.3s;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--color-secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hamburger & Mobile Nav (Default Hidden) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    left: 10px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }

.hamburger.active span {
    background-color: #ffffff;
}
.hamburger.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh; /* Fallback */
    height: 100dvh;
    background-color: var(--color-primary);
    z-index: 999;
    padding: 80px 24px calc(40px + env(safe-area-inset-bottom));
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    display: none;
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
    transition: opacity .2s;
}

.mobile-nav-close:hover {
    opacity: .7;
}

.mobile-nav ul {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-mincho);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
}

.mobile-cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    font-size: 16px;
    border: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 80px;
    background-color: var(--color-bg-light);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    min-height: 700px;
}

.hero-bg {
    display: none;
}

.hero-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 0 0 55%;
    padding-right: 20px;
    min-width: 0;
    z-index: 2;
}

/* Kept for backward compatibility if used elsewhere, but not in new FV */
.hero h1 {
    font-size: 68px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 24px;
    letter-spacing: -1px;
    white-space: nowrap;
}

.hero p.hero-lead {
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 36px;
    line-height: 2.0;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 40px;
}

/* Gold pill CTA button — matches fv.webp large gold button */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #cd9730, var(--color-secondary-btn) 72%, var(--color-secondary-btn-dark));
    color: #fff;
    font-size: 16px;
    font-weight: 700 !important;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, .35), 0 8px 24px rgba(161, 105, 10, .35);
    border: 2px solid rgba(255, 255, 255, .9);
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-mincho);
}

.btn-hero-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.btn-hero-primary .arrow {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
    margin-left: 10px;
}

/* Outline button */

/* Hover micro-interactions for arrows across all buttons */
.btn-hero-primary:hover .arrow,
.btn-hero-outline:hover .arrow,
.btn-hero-text:hover .arrow,
.btn-primary:hover .arrow,
.btn-outline:hover .arrow {
    transform: translateX(4px);
}

/* New Floating Badges */

/* Image New */

.mockup-phone {
    position: absolute;
    right: -10px;
    bottom: 10px;
    width: 175px;
    z-index: 2;
    filter: drop-shadow(0 12px 24px rgba(10,28,58,0.15));
}

/* ==========================================================================
   Global Section Header — unified style matching 活用事例
   ========================================================================== */
.sec-header {
    text-align: center;
    margin-bottom: 56px;
}

.sec-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    font-family: var(--font-mincho);
}

.sec-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1.3;
    margin-bottom: 20px;
    font-family: var(--font-mincho);
    letter-spacing: 0.03em;
}

.sec-lead {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-family: var(--font-mincho);
}

/* Nayami (Issues) Section */
.nayami {
    position: relative;
    background: var(--color-bg-light);
    padding: 80px 0 60px;
    overflow: hidden;
}

.nayami-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    opacity: 0.15;
}

.nayami-pattern-top {
    width: 100%;
    display: block;
}

.nayami-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

/* Gold dash line (CSS-only, replaces accent image) */
.gold-line {
    display: block;
    width: 32px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
    margin: 0 auto 16px;
}

/* Inside cards the gold-line is left-aligned */
.nayami-card-text .gold-line {
    margin: 8px 0 12px;
}

.nayami-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.nayami-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 32px;
    border: 1px solid #E4E9F0;
    box-shadow: 0 2px 12px rgba(10,28,58,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nayami-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(10,28,58,0.08);
}

.nayami-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.nayami-icon-wrap {
    flex-shrink: 0;
    width: 100px;
}

.nayami-icon-wrap img {
    width: 100%;
    height: auto;
}

.nayami-card-text {
    flex: 1;
}

.nayami-card-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 0;
}

.nayami-card-text p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.nayami-cta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #E4E9F0;
    border-radius: 12px;
    padding: 20px 32px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(10,28,58,0.06);
}

.nayami-cta-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nayami-cta-bar p {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.5;
}

/* ==========================================================================
   Features Section — Clendの特徴
   ========================================================================== */
.features {
    padding: 100px 0;
    background-image: url('../images/features-assets/features-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── Top Row ─────────────────────────── */
.feat-top-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 32px;
}

/* Headline */
.feat-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-secondary);
    width: fit-content;
}

.feat-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.35;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.feat-lead {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.9;
}

/* ── Card base ───────────────────────── */
.feat-card {
    background: #ffffff;
    border: 1px solid #dde5ef;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(10,28,58,0.05);
}

/* Card title row (icon + label) */
.feat-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.feat-card-title img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: contain;
}

/* ── Loan Amount Card ────────────────── */
/* Loan card — improved layout */
.feat-loan-card {
    padding: 28px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(10,28,58,0.06);
    border-color: #dde5ef;
}

/* Header row */
.feat-loan-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f8;
}

.feat-loan-header-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.feat-loan-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--color-primary);
}

/* 3-col grid: [label | 法人 | 個人] */

/* Badges */
.feat-loan-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 50px;
    letter-spacing: 0.03em;
}

/* Data rows */

/* Number + unit on same line */

/* Info note */

/* LTV Box (icon + text) */
.feat-ltv-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FFFBF0;
    border: 1px solid var(--color-secondary);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 16px;
}

.feat-ltv-box-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.85;
}

.feat-ltv-box-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.feat-ltv-box-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Gray pill for stat notes */
.feat-stat-pill {
    display: inline-block;
    background: #EEF2F8;
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-top: 16px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* "＋他" coin cell */
.feat-coin--more {
    background: #EEF2F8;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-coin-more-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
}

/* ── Mid Row ─────────────────────────── */
.feat-mid-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Stat Cards (利率・期間) */
.feat-stat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
}

.feat-stat-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feat-stat-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.feat-stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feat-stat-label {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
}

.feat-stat-rate-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.feat-stat-sub {
    font-size: 14px;
    color: var(--color-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.feat-stat-value {
    font-size: 56px;
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 12px;
    white-space: nowrap;
}

.feat-stat-value small {
    font-size: 22px;
    font-weight: 700;
    margin-left: 2px;
}

.feat-stat-value--period {
    font-size: 64px;
}

/* ── Collateral Card ─────────────────── */
.feat-collateral-card {
    padding: 28px 24px;
}

.feat-ltv-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.feat-ltv-value {
    font-size: 52px;
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1;
    letter-spacing: -1px;
}

.feat-ltv-value small {
    font-size: 24px;
    font-weight: 700;
}

.feat-coin-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px 16px;
    margin-bottom: 16px;
    align-items: center;
}

.feat-coin {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.feat-coin img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
}

.feat-coin span {
    font-size: 10px;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.feat-collateral-note {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* ── Summary Bar ─────────────────────── */

/* ── Mobile ──────────────────────────── */
@media (max-width: 1024px) {
    .feat-mid-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .feat-coin-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }
    .feat-top-row {
        grid-template-columns: 1fr;
    }
    .feat-title {
        font-size: 26px;
    }
    .feat-mid-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .feat-collateral-card {
        grid-column: 1 / -1;
    }
    .feat-coin-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    /* feat-loan-card Mobile Fix */
    .feat-loan-card {
        padding: 20px 16px !important;
    }

    .feat-loan-badge {
        padding: 5px 12px !important;
        font-size: 11px !important;
    }

    
    
    .feat-stat-value {
        font-size: 44px;
    }
    .feat-stat-value--period {
        font-size: 52px;
    }
    .feat-ltv-value {
        font-size: 40px;
    }
}

/* feat-stat-card: スマホでのサイズ調整 */
@media (max-width: 768px) {
    .feat-stat-card {
        padding: 20px;
    }

    .feat-stat-icon {
        width: 36px;
        height: 36px;
    }

    .feat-stat-label {
        font-size: 16px;
    }

    .feat-stat-top {
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {

    .feat-coin-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .feat-mid-row {
        grid-template-columns: 1fr;
    }
}

/* Reasons */
.reasons {
    padding: 100px 0;
    background: var(--color-bg-light);
}

/* Section header */

/* Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
.reason-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #E8EEF4;
    box-shadow: 0 4px 20px rgba(10, 28, 58, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    cursor: default;
}

.reason-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10, 28, 58, 0.12);
    border-color: var(--color-secondary);
}

.reason-card-inner {
    position: relative;
    padding: 36px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}

/* POINT label + number */
.reason-point {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 24px;
}

.point-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
    margin-bottom: 2px;
}

.point-number {
    font-size: 44px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    font-family: var(--font-mincho);
}

/* Icon */
.reason-icon-wrap {
    position: absolute;
    top: 36px;
    right: 32px;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.reason-card:hover .reason-icon-wrap {
    transform: translateY(-3px);
}

.reason-icon-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Content */
.reason-content {
    flex: 1;
    margin-bottom: 24px;
}

.reason-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.reason-content p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Tag pill */
.reason-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-secondary);
    background: #FDF8EC;
    border: 1px solid #F0DFA0;
    padding: 4px 12px;
    border-radius: 50px;
    align-self: center;
}

/* Service Intro */
.service-intro {
    padding: 100px 0;
    background: #ffffff;
}

/* Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Card base */
.service-card {
    background: #ffffff;
    border: 1px solid #E8EEF4;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(10, 28, 58, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(10, 28, 58, 0.10);
}

/* Featured card (Card 1) */
.service-card.featured {
    border-color: var(--color-primary);
    border-width: 2px;
}

.service-card.featured:hover {
    border-color: var(--color-secondary);
}

/* Coming Soon card */
.service-card.coming-soon-card {
    background: #FAFBFC;
    opacity: 0.85;
    cursor: not-allowed;
}

.service-card.coming-soon-card:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(10, 28, 58, 0.05);
}

/* Label badge (top of card) */
.service-card-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 9px 16px;
    background: #EBF2FF;
    color: var(--color-primary);
    border-bottom: 1px solid #D6E4F0;
}

/* Card 1 Gold label */
.svc-label-gold {
    background: var(--color-primary);
    color: white;
    border-bottom: none;
}

/* Card 2 Blue label */
.svc-label-blue {
    background: #3B82F6;
    color: white;
    border-bottom: none;
}

/* Card 3 Coming Soon label */
.coming-soon-label {
    background: #F3F4F6;
    color: #9CA3AF;
    border-bottom: 1px solid #E5E7EB;
}

/* Crown badge icon in Card 1 label */
.card-badge-icon {
    height: 18px;
    width: auto;
}

/* Flow visualization area */
.service-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 28px 20px 24px;
}

/* Per-card flow backgrounds */
.svc-flow-gold {
    background: linear-gradient(135deg, #F7F9FC, #EBF2FF);
}
.svc-flow-blue {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
}
.svc-flow-grey {
    background: linear-gradient(135deg, #F9FAFB, #F3F4F6);
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.flow-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* Icon Groups */
.flow-icons-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: -4px;
}

.flow-icon-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.flow-icon-dim {
    filter: grayscale(80%);
    opacity: 0.55;
}

/* Flow arrow */
.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-arrow-img {
    width: 48px;
    height: auto;
}

/* Card body */
.service-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Diamond separator in title */

.service-card-body p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Feature list */
.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #EEF2F7;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
}

.service-features img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Card 2 feature text color */
.svc-features-blue li { color: #1E40AF; }

/* Card 3 feature text color */
.svc-features-grey li { color: #9CA3AF; }

/* Service main card (single full-width) */

/* Specs grid (4-col) */

/* Rates highlight grid (3-col big numbers) */

/* Currency heading */

/* Currency chip grid */

.currency-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #F7F9FC;
    border: 1px solid #E8EEF4;
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.currency-chip:hover {
    background: #EBF2FF;
    border-color: var(--color-primary);
}

.currency-chip img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.currency-chip span {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

/* ==========================================================================
   Use Case (活用事例) Section
   ========================================================================== */
.usecase {
    padding: 100px 0;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.usecase .container {
    position: relative;
    z-index: 1;
}

/* Subtle decorative circles matching case.webp bg */
.usecase::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    pointer-events: none;
}

.usecase-header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

/* Eyebrow: "—— CASE STUDIES ——" in gold */
.usecase-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.usecase-eyebrow::before,
.usecase-eyebrow::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--color-secondary);
}

.usecase-title {
    font-size: 44px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.usecase-lead {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.9;
}

/* ── Card Grid ────────────────────────── */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.usecase-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 28px 24px;
    border: 1px solid #dde5ef;
    box-shadow: 0 2px 12px rgba(10,28,58,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(10,28,58,0.10);
}

/* Top: persona image (left) + badge + title (right) */
.usecase-card-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.usecase-persona {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.usecase-persona img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.usecase-card-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 4px;
}

/* Badge pill */
.usecase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: #EEF3FA;
    color: #1a3a5c;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #d5e0ee;
    margin-bottom: 12px;
    width: fit-content;
}

.usecase-badge img {
    width: 13px;
    height: 13px;
    opacity: 0.8;
}

/* Title */
.usecase-card-meta h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.45;
    margin: 0;
}

/* Body text */
.usecase-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ── Points Divider ─────────────────── */
.usecase-points-divider {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 24px 0 16px;
    font-size: 12px;
    font-weight: 700;
    color: #4a7aad;
    letter-spacing: 0.04em;
}

.usecase-points-divider::before,
.usecase-points-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dde5ef;
}

.usecase-points-divider::before { margin-right: 12px; }
.usecase-points-divider::after  { margin-left:  12px; }

/* ── Point Tags ─────────────────────── */
.usecase-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.usecase-point-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px;
    background: #F4F7FB;
    border: 1px solid #dde5ef;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    white-space: nowrap;
}

.usecase-point-tag img {
    width: 14px;
    height: 14px;
    opacity: 0.75;
    flex-shrink: 0;
    mix-blend-mode: multiply;
}

/* ── Bottom Summary Bar ─────────────── */
.usecase-summary {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1.5px solid var(--color-secondary);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(180,140,30,0.08);
    overflow: hidden;
}

.usecase-summary-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 32px 36px;
}

.usecase-summary-divider {
    width: 1px;
    background: #dcc9a0; /* Light gold */
    flex-shrink: 0;
    margin: 24px 0;
}

.usecase-summary-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.usecase-summary-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.usecase-summary-text h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.usecase-summary-text p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Security Section
   ========================================================================== */
.security-section {
    position: relative;
    background: #FFFFFF;
    background-image: url('../images/clend_assets/16_pattern_gray_waves.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    overflow: hidden;
}

.sec-content {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-top: 50px;
}

.sec-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sec-feat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #FAFAFA;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #EAEAEA;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sec-feat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.sec-feat-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sec-feat-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.sec-feat-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.sec-feat-text p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.sec-badge-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FAFAFA;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #EAEAEA;
}

.sec-badge-laurel {
    margin-bottom: 20px;
}

.laurel-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.laurel-text::before,
.laurel-text::after {
    content: "✧";
    color: var(--color-secondary);
    margin: 0 8px;
    font-size: 20px;
    vertical-align: middle;
}

.soc2-img {
    max-width: 130px;
    height: auto;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

/* Simulator */
/* ==========================================================================
   Simulator Section
   ========================================================================== */
.simulator {
    position: relative;
    background: #FFFFFF;
    padding: 100px 0 60px;
    overflow: hidden;
}
.simulator .sec-lead {
    margin-top: 16px !important;
    margin-bottom: 28px !important;
    line-height: 1.6;
}

.sim-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(193, 154, 62, 0.07) 0%, transparent 45%),
                radial-gradient(circle at 15% 85%, rgba(10, 28, 58, 0.03) 0%, transparent 55%),
                linear-gradient(180deg, #FFFFFF 0%, #F5F8FC 100%);
    opacity: 1;
    z-index: 0;
}

.simulator .container {
    position: relative;
    z-index: 1;
}

/* Title styled: 売却 vs 借入 */
.sim-title-styled {
    font-size: 40px !important;
}

.sim-title-gold {
    color: var(--color-secondary);
}

/* ── Wish Bar (Primary Input) ────────── */
.sim-wish-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(10, 28, 58, 0.05);
    padding: 28px 36px;
    margin-bottom: 12px;
    border: 1.5px solid rgba(193, 154, 62, 0.35);
    gap: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.sim-wish-bar:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 20px 48px rgba(10, 28, 58, 0.08);
    transform: translateY(-2px);
}

.sim-wish-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), #e8c15a);
}

/* Currency selector in wish bar */
.sim-wish-currency {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding-right: 24px;
    border-right: 1px solid #eef2f8;
}

.sim-wish-currency img {
    width: 40px;
    height: 40px;
    object-fit: contain !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.sim-wish-currency select {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    border: 1.5px solid #E2E8F0;
    background: #F8FAFC;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 8px 32px 8px 12px;
    border-radius: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c19a3e' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    font-family: var(--font-sans);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sim-wish-currency select:hover, .sim-wish-currency select:focus {
    border-color: var(--color-secondary);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(193, 154, 62, 0.08);
}

/* Live Price Indicator */
.sim-live-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    padding: 0 8px;
}

.sim-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.sim-live-dot--ok {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
    animation: sim-pulse 2s infinite;
}

@keyframes sim-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.sim-live-price strong {
    font-weight: 700;
    color: var(--color-primary);
}

.sim-live-time {
    font-size: 12px;
    color: #999;
}

/* Detail help text */

.sim-wish-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.sim-wish-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 0.06em;
}

.sim-wish-field {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sim-wish-field input {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    border: none;
    border-bottom: 3px solid rgba(193, 154, 62, 0.3);
    background: transparent;
    outline: none;
    width: 220px;
    padding-bottom: 4px;
    transition: border-color 0.2s ease, color 0.2s ease;
    font-family: var(--font-sans);
}

.sim-wish-field input:focus {
    border-bottom-color: var(--color-secondary);
    color: var(--color-primary);
}

/* Hide number spinners for cleaner UI */
.sim-wish-field input::-webkit-outer-spin-button,
.sim-wish-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.sim-wish-field input[type=number] {
    -moz-appearance: textfield;
}

.sim-wish-unit {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-muted);
}

.sim-wish-result {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    flex-shrink: 0;
}

.sim-wish-result-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
}

.sim-wish-result-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

/* ── Detail Toggle ───────────────────── */

/* ── Collapsible Detail Bar ──────────── */

/* ── Input Bar ───────────────────────── */

.sim-edit-note {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-top: 28px !important;
    margin-bottom: 36px !important;
    display: block;
    word-break: keep-all;
}

/* ── Compare Wrapper ─────────────────── */

/* ── VS Badge ────────────────────────── */

/* Device specific visibility */
.sp-only {
    display: none !important;
}

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
    .sp-only {
        display: inline !important;
    }
}

/* ── Cards ───────────────────────────── */

/* Card headers */

/* Card body */

/* Result area */

/* Status pill */

/* ── Summary Bar ─────────────────────── */

/* ── Result Card ─────────────────────── */
.sim-result-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(10, 28, 58, 0.04);
    border: 1px solid #E2E8F0;
    padding: 0;
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sim-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(10, 28, 58, 0.06);
}

.sim-result-card-rows {
    padding: 32px 36px;
}

.sim-result-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.sim-result-card-row + .sim-result-card-row {
    border-top: 1px solid #F1F5F9;
}

.sim-result-card-label {
    font-size: 15px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.sim-result-card-label small {
    font-size: 12px;
    color: #8A98A8;
}

.sim-result-card-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.sim-result-card-value--gold {
    color: var(--color-secondary);
    font-size: 28px;
    font-weight: 800;
}

.sim-result-card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #E2E8F0, transparent);
    margin: 8px 0;
}

.sim-result-card-note {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    padding: 0 36px 24px;
    line-height: 1.6;
    border-bottom: 1px solid #F1F5F9;
}

.sim-result-card-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 36px;
    background: linear-gradient(135deg, #F0FDF4, #EBFDF0);
}

.sim-highlight-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sim-highlight-main {
    font-size: 20px;
    font-weight: 700;
    color: #146C3A;
}

.sim-highlight-main strong {
    font-size: 20px;
    font-weight: 800;
    color: #146C3A;
}

.sim-highlight-sub {
    font-size: 13px;
    color: #5A7A6A;
    line-height: 1.5;
}

/* ── CTA ─────────────────────────────── */
.sim-cta-wrap {
    text-align: center;
    margin-bottom: 28px;
}

.sim-cta-btn {
    font-size: 18px;
    padding: 20px 48px;
}

/* ── Footnote ────────────────────────── */

/* ==========================================================================
   Contract Details
   ========================================================================== */
.contract-section {
    padding: 80px 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.contract-table-wrap {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10,28,58,0.04);
    border: 1px solid #E8EEF4;
    max-width: 900px;
    margin: 0 auto;
}

.contract-table {
    width: 100%;
    border-collapse: collapse;
}

.contract-table th,
.contract-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #EEF2F7;
    text-align: left;
    vertical-align: middle;
}

.contract-table tr:last-child th,
.contract-table tr:last-child td {
    border-bottom: none;
}

.contract-table th {
    background: #F7F9FC;
    width: 25%;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    border-right: 1px solid #EEF2F7;
}

.contract-table td {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-main);
}

.contract-note {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

/* Rates */

/* Table wrapper */

/* Currency cell */

/* Pair */

/* LTV */

/* Rate */

/* Daily */

/* Note */
/* Rates highlights bar */

/* Risk Illustrations */

/* Risk Section (unified) */

/* Header */

/* LTV illustration section */

/* Risk cards grid */

.risk-card {
    background: #ffffff;
    border: 1px solid #E8EEF4;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(10,28,58,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.risk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10,28,58,0.10);
}

.risk-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.risk-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Disclaimer banner */

/* Fees */

/* FAQ */
.faq {
    background: #FFFFFF;
    padding: 80px 20px;
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 25px 0;
}

.faq-question {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--color-primary);
    cursor: pointer;
}

.q-mark {
    color: var(--color-primary);
    font-weight: 700;
    margin-right: 15px;
    font-size: 20px;
}

.arrow-down {
    margin-left: auto;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.arrow-down img {
    width: 16px;
}

.faq-item.open .arrow-down {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 16px 0 4px 36px;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-note {
    font-size: 13px;
    color: #8a96a3;
    border-left: 3px solid var(--color-secondary);
    padding-left: 12px;
    margin-top: 8px;
}

/* Bottom CTA */
.bottom-cta {
    padding: 80px 20px;
    background-color: var(--color-primary);
    background-image: url('../images/cta-assets/cta-bg.webp');
    background-size: cover;
    background-position: center;
    margin: 0;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-content {
    color: white;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    line-height: 1.4;
    margin-bottom: 24px;
    font-weight: 800;
    font-family: var(--font-mincho);
    letter-spacing: 0.05em;
}

.cta-accent-line {
    width: 50px;
    height: 3px;
    background: var(--color-secondary);
    margin: 0 auto 28px;
}

.cta-content p {
    font-size: 17px;
    margin-bottom: 48px;
    opacity: 0.9;
    line-height: 2;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-large {
    font-size: 16px;
    padding: 18px 44px;
    border-radius: 999px;
    font-weight: 700;
    font-family: var(--font-mincho);
}

/* btn-outline on dark background (e.g. bottom-cta) */
.bottom-cta .btn-outline,
.bottom-cta .btn-contact-cta {
    color: #fff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .7);
}
.bottom-cta .btn-outline:hover,
.bottom-cta .btn-contact-cta:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
}

/* Online Consultation Button */
.btn-consultation {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--color-primary, var(--color-primary));
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: none; /* 480px上限だとiPad等の広い画面で他ボタンより狭くなるため解除 */
    padding: 16px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
.btn-consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    color: var(--color-primary, var(--color-primary));
    opacity: 0.95;
}
.btn-microcopy {
    color: var(--color-primary, var(--color-primary));
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    opacity: 0.7;
}
.btn-main-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
}

/* Footer */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--color-border);
    background: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 60px;
    margin-bottom: 48px;
    align-items: start;
}

/* Brand */
.footer-logo {
    height: 30px;
    margin-bottom: 16px;
    display: block;
}

.footer-tagline {
    font-family: var(--font-mincho);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.7;
    letter-spacing: .02em;
    margin-bottom: 20px;
}

.footer-company-info {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.footer-company-info strong {
    display: block;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.footer-company-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.footer-company-link:hover {
    opacity: 0.75;
}

/* Social links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(22, 38, 74, .06);
    border: 1px solid rgba(22, 38, 74, .12);
    color: var(--color-primary);
    transition: all .25s;
}

.footer-social__link:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Links grid — 3 columns */
.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef2f8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a,
.footer-col button {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.footer-col a:hover,
.footer-col button:hover {
    color: var(--color-primary);
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    font-size: 12px;
    color: var(--color-text-muted);
}

.footer-copy {
    font-size: 12px;
    color: var(--color-text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal-links a {
    font-size: 12px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Flow / ご利用の流れ Section
   ========================================================================== */
.flow-section {
    background: #FFFFFF;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

/* decorative arc top-left */
.flow-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(184, 156, 88, 0.15);
    pointer-events: none;
}

/* Step grid: card, arrow, card, arrow, card */
.flow-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 12px;
    margin: 48px 0 32px;
}

/* Cards */
.flow-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 28px 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

/* STEP badge pill */
.flow-step-badge {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 5px 20px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.flow-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 14px;
    line-height: 1.45;
}

.flow-card-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.flow-card-img {
    width: 130px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: auto;
}

.flow-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Arrow */
.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.flow-arrow img {
    width: 36px;
    height: auto;
    object-fit: contain;
}

/* Support Note */

/* ==========================================================================
   Risk Section (new)
   ========================================================================== */
.risk-new-section {
    background: var(--color-bg-light);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

/* subtle decorative arc - top right */
.risk-new-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 2px solid rgba(184, 156, 88, 0.15);
    pointer-events: none;
}

/* Risk Cards Grid */
.risk-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.risk-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px 36px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.risk-card-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.risk-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.risk-card-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    margin-bottom: 20px;
    opacity: 0.6;
}

.risk-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.risk-card-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* No-Liquidation Banner */

/* ==========================================================================
   Company Profile Page
   ========================================================================== */
.company-page-header {
    background-image: url('../images/company-assets/page-ttl-bg.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: transparent;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 360px;
    position: relative;
    padding-top: 60px;
    text-align: center;
}

.company-page-header .sec-eyebrow {
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: block;
}

.company-page-header .page-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.company-page-header .page-lead {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary);
    text-transform: none;
    letter-spacing: normal;
}

.company-page-header .header-decoration {
    width: 60px;
    height: 30px;
    border-bottom: 2px solid var(--color-secondary);
    border-radius: 50%;
    margin: 20px auto 0;
    opacity: 0.8;
}

.company-section {
    padding: 60px 0 0;
    background: transparent; /* Assuming main background covers it, or #f7f9fc */
}

.company-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    max-width: 900px;
    margin: 40px auto 60px;
    position: relative;
    z-index: 10;
}

.new-company-table {
    width: 100%;
    border-collapse: collapse;
}

.new-company-table th,
.new-company-table td {
    padding: 24px 0;
    border-bottom: 1px solid #EAF0F6;
    text-align: left;
    vertical-align: top;
    font-size: 16px;
}

.new-company-table tr:last-child th,
.new-company-table tr:last-child td {
    border-bottom: none;
}

.new-company-table th {
    width: 25%;
    font-weight: 700;
    color: var(--color-primary);
    background: transparent;
}

.new-company-table td {
    width: 75%;
    color: var(--color-primary);
    font-weight: 500;
}

.new-company-table a {
    color: #3b82f6; /* Blue link color */
    text-decoration: none;
}

.new-company-table a:hover {
    text-decoration: underline;
}

/* Legal Content formatting (Terms, Privacy) */
.legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 24px;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 40px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5E7EB;
}

.legal-content ol, .legal-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 12px;
}

.legal-content li ul, .legal-content li ol {
    margin-top: 12px;
    margin-bottom: 0;
}

/* CTA Banner */

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-group .required {
    background: #e53e3e;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.2;
}

.form-group .optional {
    background: #a0aec0;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.2;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #EAF0F6;
    border-radius: 8px;
    font-size: 16px;
    color: var(--color-text-main);
    background: #FAFCFF;
    transition: all 0.3s ease;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--color-text-muted);
    pointer-events: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(193, 154, 62, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-privacy {
    margin-top: 32px;
    text-align: center;
}

.privacy-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--color-text-main);
    cursor: pointer;
}

.privacy-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-secondary);
}

.privacy-checkbox a {
    color: #3b82f6;
    text-decoration: none;
}

.privacy-checkbox a:hover {
    text-decoration: underline;
}

.form-submit {
    margin-top: 32px;
    text-align: center;
}

.form-submit .btn-primary {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    padding: 16px 32px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    justify-content: center;
}

/* Responsive adjustments */
/* ==========================================================================
   Responsive — Header hamburger 切替（≤ 1240px）
   ナビ＋3ボタンが窮屈になる前に早めにハンバーガーへ切り替える。
   ※ ヘッダーの切替のみをこの幅で行い、他セクションのモバイル化は900pxのまま。
   ========================================================================== */
@media (max-width: 1240px) {
    .header-container {
        padding: 12px 16px;
    }
    .main-nav,
    .header-actions {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

/* ==========================================================================
   Responsive — Header compact (≤ 1200px)
   ※ 上の1240px切替により実質ハンバーガー領域。残置しても無害
   ========================================================================== */
@media (max-width: 1200px) {
    .header-container {
        padding: 14px 16px;
    }
    .logo img {
        height: 32px;
    }
    .main-nav ul {
        gap: 20px;
    }
    .main-nav a {
        font-size: 13px;
    }
    .header-actions {
        gap: 12px;
    }
    .header-actions > button,
    .header-actions > a {
        font-size: 12px;
        padding: 8px 16px;
    }
    .btn-consult-header svg {
        width: 14px;
        height: 14px;
    }
}

/* ==========================================================================
   Responsive — Hamburger (≤ 900px)
   ナビ・ボタンを非表示にしてハンバーガーに切替
   ========================================================================== */
@media (max-width: 900px) {
    /* ── Header ── */
    .header-container {
        padding: 12px 16px;
    }
    .main-nav,
    .header-actions {
        display: none;
    }
    .hamburger {
        display: block;
    }

    .hero-container {
        flex-direction: column;
        gap: 40px;
        padding-top: 40px;
    }
    .hero-content {
        flex: 1 1 100%;
        padding-right: 0;
        text-align: center;
        width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    .hero-buttons > a {
        width: 100%;
        max-width: 320px;
    }

    

}

/* ==========================================================================
   Responsive — Mobile (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {

    /* ── Global ── */
    .container {
        padding: 0 16px;
    }

    .sec-title,
    .usecase-title {
        font-size: 28px !important;
    }

    .sec-lead {
        font-size: 14px;
    }

    .sec-header {
        margin-bottom: 36px;
    }

    .sec-eyebrow {
        gap: 10px;
        font-size: 11px;
    }

    /* ── Hero ── */
    .hero {
        padding: 80px 0 60px;
        min-height: unset;
        background-image: url('../images/fv-item/fv-sp-bg.webp') !important;
        background-position: center top !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    .hero-container {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
        text-align: left;
        padding: 0 24px;
    }

    .hero-content {
        flex: unset;
        width: 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .hero h1 {
        font-size: 46px; /* 約45pxに設定 */
        white-space: nowrap;
        margin-bottom: 20px;
        line-height: 1.15;
        letter-spacing: -2px;
        text-align: left;
    }

    .hero h1::before {
        display: none;
    }

    .hero h1 {
        margin-bottom: 16px !important;
    }

    .hero-lead {
        font-size: 14px;
        margin-bottom: 16px !important;
        text-align: left;
    }

    .hero-lead br {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .hero-buttons .btn-hero-primary {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 15px;
        padding: 16px 12px;
    }

    .hero-buttons .btn-hero-text {
        display: none;
    }

    /* バッジは非表示 */
    .hero-badges {
        display: none;
    }

    .hero-image {
        flex: unset;
        width: 100%;
        height: 320px;
        margin-top: -16px;
    }

    .mockup-laptop {
        width: 380px;
        right: 50%;
        transform: translate(50%, -50%);
    }

    .mockup-phone {
        width: 130px;
        right: calc(50% - 175px);
        bottom: -10px;
        filter: none;
    }

    /* ── Nayami ── */
    .nayami {
        padding: 60px 0 40px;
    }

    .nayami-grid {
        grid-template-columns: 1fr;
    }

    .nayami-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nayami-card-text h3 {
        font-size: 16px;
        white-space: nowrap;
        letter-spacing: -0.05em;
    }

    .nayami-card-text p {
        text-align: left;
    }

    .nayami-card-text .gold-line {
        margin: 12px auto;
    }

    .nayami-cta-bar {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .nayami-cta-bar p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* ── Reasons ── */
    .reasons {
        padding: 60px 0;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ── Service ── */
    .service-intro {
        padding: 60px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        max-width: 100%;
    }

    /* ── Security ── */
    .security-section {
        padding: 60px 0;
    }

    .sec-content {
        flex-direction: column;
        gap: 30px;
        padding: 24px;
        margin-top: 30px;
    }

    .sec-feat-card {
        padding: 16px;
        gap: 16px;
        flex-direction: column;
        text-align: center;
    }

    .sec-feat-text p {
        text-align: left;
    }

    .sec-badge-card {
        padding: 32px 16px;
    }

    .laurel-text {
        font-size: 14px;
        line-height: 1.5;
        word-break: keep-all;
    }

    .laurel-text::before,
    .laurel-text::after {
        font-size: 16px;
        margin: 0 4px;
    }

    /* ── Use Case ── */
    .usecase {
        padding: 60px 0;
    }

    .usecase-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .usecase-card {
        flex-direction: column;
    }

    .usecase-card-top {
        gap: 12px;
    }

    .usecase-persona {
        width: 80px;
        height: 80px;
    }

    .usecase-card-meta h3 {
        font-size: 18px; /* 変な改行落ちを防ぐために縮小 */
    }

    .usecase-points {
        grid-template-columns: repeat(3, 1fr);
    }

    .usecase-summary {
        flex-direction: column;
        gap: 32px;
        padding: 32px 24px;
    }

    .usecase-summary-divider {
        display: none;
    }

    .usecase-summary-item {
        padding: 0 0 32px 0 !important;
        border-right: none;
        border-bottom: 1px solid #E4E9F0;
    }

    .usecase-summary-item:last-child {
        border-bottom: none;
        padding-bottom: 0 !important;
    }

    .usecase-summary-headline {
        font-size: 20px !important;
    }

    .usecase-summary-text p {
        font-size: 13px;
    }

    /* ── Simulator ── */
    .simulator {
        padding: 60px 0 40px;
    }

    .sim-title-styled {
        font-size: 28px !important;
    }

    /* Wish bar → stack */
    .sim-wish-bar {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
        align-items: stretch;
    }

    .sim-wish-currency {
        padding-right: 0;
        border-right: none;
        padding-bottom: 12px;
        border-bottom: 1px solid #eef2f8;
    }

    .sim-wish-field input {
        font-size: 28px;
        width: 140px;
    }

    .sim-wish-result {
        align-items: flex-start;
        padding-top: 16px;
        border-top: 1px solid #eef2f8;
    }

    .sim-wish-result-value {
        font-size: 16px;
        white-space: normal;
    }

    .sim-live-price {
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Input bar → 2×2 grid */

    

    

    /* Result card → mobile */
    .sim-result-card-rows {
        padding: 20px;
    }

    .sim-result-card-label {
        font-size: 14px;
    }

    .sim-result-card-value {
        font-size: 18px;
    }

    .sim-result-card-value--gold {
        font-size: 20px;
    }

    .sim-result-card-highlight {
        padding: 16px 20px;
        gap: 12px;
    }

    .sim-highlight-main {
        font-size: 18px;
    }

    .sim-highlight-main strong {
        font-size: 18px;
    }

    .sim-highlight-sub {
        font-size: 12px;
    }

    .sim-cta-btn {
        font-size: 15px;
        padding: 16px 28px;
        width: 100%;
        text-align: center;
    }

    /* ── Contract Details ── */
    .contract-section {
        padding: 60px 0;
    }
    
    .contract-table th,
    .contract-table td {
        display: block;
        width: 100%;
        border-right: none;
    }
    
    .contract-table th {
        background: #F7F9FC;
        border-bottom: none;
        padding: 20px 20px 8px;
    }
    
    .contract-table td {
        padding: 8px 20px 20px;
    }

    /* ── Rates ── */

    

    /* ── Risk ── */

    

    /* ── FAQ ── */
    .faq {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .faq-question {
        font-size: 15px;
        gap: 8px;
    }

    .faq-answer {
        padding: 12px 0 4px 24px;
        font-size: 14px;
    }

    /* ── Bottom CTA ── */
    .bottom-cta {
        padding: 48px 20px;
        margin: 0;
        border-radius: 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .btn-large {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* ── Footer ── */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Flow Section */
    .flow-steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .flow-steps .flow-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }

    .flow-card {
        padding: 32px 20px 28px;
    }

    .flow-card-title {
        font-size: 20px;
    }

    .flow-card-desc {
        font-size: 15px;
    }

    .flow-card-img {
        width: 120px;
        height: 110px;
    }

    /* Risk Section */
    .risk-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .risk-card-desc {
        text-align: left;
    }

    /* Company Page */
    .company-page-header {
        min-height: 280px;
    }
    
    .company-page-header .page-title {
        font-size: 32px;
    }
    
    .company-card {
        padding: 30px 20px;
        margin-top: -30px;
    }
    
    .new-company-table th,
    .new-company-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
    }
    
    .new-company-table th {
        border-bottom: none;
        padding-bottom: 4px;
    }
    
    .new-company-table td {
        padding-top: 0;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   Responsive — Small phones (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {

    .sec-title,
    .usecase-title,
    .sim-title-styled {
        font-size: 24px !important;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-image {
        height: 300px;
    }
    .mockup-laptop {
        width: 340px;
    }
    .mockup-phone {
        width: 115px;
        right: calc(50% - 155px);
        bottom: -5px;
    }

    /* バッジは横並びを維持、clip-pathリセットを継続 */
    .hero-badge > img {
        width: 100% !important;
        -webkit-clip-path: none !important;
        clip-path: none !important;
    }

    /* Nayami: keep 2-col on small screens */
    .nayami-grid {
        grid-template-columns: 1fr;
    }

    /* Wish bar: smaller text on small phones */
    .sim-wish-field input {
        font-size: 24px;
        width: 120px;
    }

    .sim-wish-unit {
        font-size: 16px;
    }

    /* Simulator input: full width each */

    

    /* Points: 2-col on small phones */
    .usecase-points {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Rates highlights: 2-col */

    /* FAQ */
    .faq-question {
        font-size: 14px;
    }

    .q-mark {
        font-size: 16px;
    }

    .cta-content h2 {
        font-size: 22px;
    }

    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .company-page-header .page-lead {
        font-size: 13px;
        padding: 0 10px;
    }
}

/* ==========================================================================
   Contact Form 7 Modal Popup
   ========================================================================== */

/* Overlay */
.cf7-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.cf7-modal-overlay.active {
    display: flex;
}

/* Container */
.cf7-modal-container {
    background: #fff;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    animation: cf7ModalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

@keyframes cf7ModalIn {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Close button */
.cf7-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: #666;
    line-height: 1;
    z-index: 10;
    transition: all 0.2s;
}
.cf7-modal-close:hover {
    background: #e0e0e0;
    color: #333;
}

/* Scroll area */
.cf7-modal-scroll {
    overflow-y: auto;
    padding: 40px 36px 32px;
    -webkit-overflow-scrolling: touch;
}

/* Header */
.cf7-modal-header {
    margin-bottom: 32px;
}
.cf7-modal-header.text-center {
    text-align: center;
}
.cf7-modal-logo {
    display: block;
    margin: 0 auto 20px;
    max-height: 40px;
    width: auto;
}
.cf7-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
    font-family: var(--font-mincho);
}

/* CF7 Form Styling inside modal */
.cf7-modal-body .wpcf7 {
    margin: 0;
}
.cf7-modal-body .wpcf7-form {
    margin: 0;
}

/* Form rows */
.cf7-modal-body p {
    margin: 0 0 20px 0;
}
.cf7-modal-body .cf7-row {
    margin-bottom: 24px;
}
.cf7-modal-body .cf7-row br {
    display: none; /* Contact Form 7の自動挿入brを無効化 */
}
.cf7-modal-body label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.cf7-modal-body label .required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E53E3E;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}
.cf7-modal-body label .optional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #718096;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Text, email, tel, number inputs */
.cf7-modal-body .wpcf7-form-control.wpcf7-text,
.cf7-modal-body .wpcf7-form-control.wpcf7-number,
.cf7-modal-body .wpcf7-form-control.wpcf7-select,
.cf7-modal-body .wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-mincho);
    color: #333;
    background: #F9FAFB;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    box-sizing: border-box;
}
/* 入力欄のフォーカス演出（送信ボタンは除外 — background:#fff がグラデーションを消し白文字が見えなくなるため） */
.cf7-modal-body .wpcf7-form-control:focus:not(.wpcf7-submit) {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(193, 154, 62, 0.12);
    background: #fff;
}
.cf7-modal-body .wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox & Radio (Pills Style) */
.cf7-modal-body .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cf7-modal-body .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cf7-modal-body .wpcf7-checkbox .wpcf7-list-item,
.cf7-modal-body .wpcf7-radio .wpcf7-list-item {
    display: inline-block;
    margin: 0;
}
.cf7-modal-body .wpcf7-checkbox .wpcf7-list-item-label,
.cf7-modal-body .wpcf7-radio .wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: #F9FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 30px;
    font-size: 14px;
    color: #4A5568;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.cf7-modal-body .wpcf7-list-item input[type="radio"],
.cf7-modal-body .wpcf7-list-item input[type="checkbox"] {
    display: none; /* Hide default radio/checkbox */
}
.cf7-modal-body .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label,
.cf7-modal-body .wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label {
    background: rgba(193, 154, 62, 0.1);
    border-color: var(--color-secondary);
    color: var(--color-primary);
}

/* Acceptance Checkbox (Privacy Policy) */
.cf7-modal-body .wpcf7-acceptance input[type="checkbox"] {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
}
.cf7-modal-body .wpcf7-acceptance .wpcf7-list-item-label {
    background: transparent;
    border: none;
    padding: 0;
    font-weight: 500;
    color: var(--color-primary);
    font-size: 14px;
}
.cf7-modal-body .wpcf7-acceptance .wpcf7-list-item-label:hover {
    background: transparent;
    border: none;
}
.cf7-modal-body .wpcf7-acceptance input[type="checkbox"]:checked + .wpcf7-list-item-label {
    background: transparent;
    border: none;
    color: var(--color-primary);
}

/* Amount inline layout */
.cf7-modal-body .cf7-row-inline {
    display: flex;
    flex-direction: column;
}
.cf7-modal-body .cf7-amount-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cf7-modal-body .cf7-amount-wrap input[type="number"] {
    flex: 1;
}
.cf7-modal-body .cf7-unit {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

/* Submit button */
.cf7-modal-body .wpcf7-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(180deg, #cd9730, var(--color-secondary-btn) 72%, var(--color-secondary-btn-dark));
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    font-family: var(--font-mincho);
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, .35), 0 8px 20px rgba(161, 105, 10, .25);
}
.cf7-modal-body .wpcf7-submit:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, .35), 0 12px 26px rgba(161, 105, 10, .35);
}

/* CF7 validation messages */
.cf7-modal-body .wpcf7-not-valid-tip {
    font-size: 13px;
    color: #E53E3E;
    margin-top: 6px;
    font-weight: 500;
}
.cf7-modal-body .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}
.cf7-modal-body .wpcf7-mail-sent-ok {
    border-color: #38A169;
    color: #2F855A;
    background: #F0FFF4;
}

/* Spinner */
.cf7-modal-body .wpcf7-spinner {
    display: block;
    margin: 16px auto 0;
}

/* ==========================================================================
   Header / Mobile / CTA Contact Buttons
   ========================================================================== */

/* Header contact button */
.btn-contact-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-mincho);
    white-space: nowrap;
}
/* hover はトップFVのボタンに合わせる（文字色は固定・背景だけ軽く変化して文字が常に見える） */
.btn-contact-header:hover {
    background: rgba(22, 38, 74, 0.06);
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* 下層ヘッダーの無料相談ボタン（ゴールド／トップFVの配色に合わせる） */
.btn-consult-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(180deg, #cd9730, var(--color-secondary-btn) 72%, var(--color-secondary-btn-dark));
    color: #fff;
    padding: 10px 24px;
    border-radius: 40px;
    font-family: var(--font-mincho);
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(161,105,10,.25);
    transition: all 0.3s ease;
}
.btn-consult-header svg {
    flex-shrink: 0;
}
.btn-consult-header:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    color: #fff;
}
/* 無料相談をゴールドの主役にするため、ヘッダーの資料DLはネイビーに（ヘッダー内のみ・金の重複回避） */
.header-actions .btn-primary {
    background: var(--color-primary);
    border-color: rgba(255,255,255,.9);
    box-shadow: 0 8px 20px rgba(22,38,74,.2);
}
/* 資料DLのhover：トップFVのnavyボタンと同じ。白文字を明示してhover時に埋もれないようにする */
.header-actions .btn-primary:hover {
    background: var(--color-primary);
    color: #fff;
    filter: brightness(1.15);
    transform: translateY(-2px);
}
/* ヘッダー3ボタンを完全に同一サイズへ統一（font/余白/枠幅をそろえる）。
   これで「1つだけ小さくなる」現象を根本的に防ぐ */
.header-actions {
    flex-shrink: 0;
}
.header-actions > button,
.header-actions > a {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 15px;
    padding: 10px 24px;
    border-width: 2px;
    border-style: solid;
    line-height: 1.5;
}
/* 無料相談は枠線なしデザイン。統一ルールの枠を確実に打ち消し（上部の線を防止）、
   高さは上下の余白（10px+2px枠ぶん）を12pxに増やして他ボタンと揃える */
.header-actions a.btn-consult-header {
    border: none;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Mobile nav contact button */
.btn-contact-mobile {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    border-radius: 40px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-mincho);
    margin-bottom: 12px;
}
.btn-contact-mobile:hover {
    background: var(--color-secondary);
    color: #fff;
}

/* CTA contact button */
.btn-contact-cta {
    cursor: pointer;
    font-family: var(--font-mincho);
    color: #fff;
    background: transparent;
}

/* ==========================================================================
   Contact Modal — Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .cf7-modal-overlay {
        padding: 16px;
    }
    .cf7-modal-container {
        max-width: 100%;
        max-height: 100%;
        height: auto;
        border-radius: 24px;
    }
    .cf7-modal-scroll {
        padding: 40px 20px 24px;
        flex: 1;
        overflow-y: auto;
    }
    .cf7-modal-title {
        font-size: 1.25rem;
    }
    .cf7-modal-close {
        top: 12px;
        right: 12px;
        background: transparent;
        font-size: 28px;
        font-weight: 300;
        color: #999;
        width: 44px;
        height: 44px;
    }
    .btn-contact-header {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cf7-modal-scroll {
        padding: 28px 20px 20px;
    }
}

/* ── Thanks Page ─────────────────────────────── */
.thanks-wrapper {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.thanks-desc {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

