:root {
    --color-primary: #0A1C3A; /* Navy */
    --color-secondary: #D4AF37; /* Gold */
    --color-text-main: #0A1C3A;
    --color-text-muted: #4A4A4A;
    --color-bg-light: #F7F9FC;
    --color-bg-white: #FFFFFF;
    --color-border: #E5E7EB;
    
    --font-sans: 'Noto Sans JP', 'Inter', sans-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;
}

.section-bg-light {
    background-color: var(--color-bg-light);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 16px;
    margin-top: 20px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 700;
    transition: background-color 0.3s;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #9d7d42;
}

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

.btn-outline {
    display: inline-block;
    border: 1px solid white;
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.btn-outline:hover {
    background-color: white;
    color: var(--color-primary);
}

.btn-text {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    padding: 12px;
}

.arrow {
    margin-left: 8px;
    font-size: 0.9em;
}

/* 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-weight: 600;
    font-size: 16px;
    color: var(--color-text-main);
    transition: color 0.3s;
}

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

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

.login-link {
    font-weight: 600;
}

.header-contact-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-contact-link:hover {
    color: var(--color-primary);
}

/* 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 ul {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-nav-link {
    display: block;
    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 {
    text-align: center;
    padding: 18px 32px;
    font-size: 16px;
}

.mobile-nav-contact {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-contact:hover {
    background: #ffffff;
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 90px 0 60px;
    background-color: var(--color-bg-light);
    background-image: url('fv-item/fvbg2.webp');
    background-size: cover;
    background-position: center;
}

.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;
    gap: 20px;
}

.hero-content {
    flex: 0 0 58%;
    padding-right: 20px;
    min-width: 0;
}

.hero h1 {
    font-size: 68px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 28px;
    letter-spacing: -1px;
    white-space: nowrap;
}

.hero p {
    font-size: 17px;
    color: #3a4a60;
    margin-bottom: 36px;
    line-height: 1.9;
    font-weight: 400;
}

.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;
    gap: 8px;
    background: var(--color-secondary);
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    padding: 18px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(180,140,30,0.3);
}

.btn-hero-primary:hover {
    background: #b8912a;
    transform: translateY(-2px);
}

.btn-hero-primary .arrow {
    font-size: 20px;
    line-height: 1;
}

/* Text link — "サービス詳細 ›" */
.btn-hero-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-hero-text:hover {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* Trust badges row */
.hero-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 4px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    flex: 1 1 calc(33.333% - 10px);
    max-width: 210px;
}

.hero-badge > img {
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-clip-path: inset(4px round 14px);
    clip-path: inset(4px round 14px);
}

/* Mockup images */
.hero-image {
    flex: 0 0 42%;
    position: relative;
    height: 480px;
}

.mockup-laptop {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 540px;
    max-width: none;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(10,28,58,0.12));
}

.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;
}

.sec-eyebrow--light {
    color: #d4b86a;
}

.sec-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.sec-title--light {
    color: #ffffff;
}

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

.sec-lead--light {
    color: rgba(255,255,255,0.75);
}

/* 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;
}

.nayami-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* 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-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 16px;
}

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

.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('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 | 法人 | 個人] */
.feat-loan-cols,
.feat-loan-row {
    display: grid;
    grid-template-columns: 90px 1fr 1fr;
    align-items: center;
    gap: 0 12px;
}

.feat-loan-cols {
    margin-bottom: 4px;
}

.feat-loan-col-spacer { /* empty label cell */ }

.feat-loan-col-head {
    text-align: center;
    padding-bottom: 10px;
}

/* 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;
}

.feat-loan-badge--secondary {
    background: var(--color-secondary);
}

/* Data rows */
.feat-loan-row {
    padding: 14px 0;
    border-top: 1px solid #eef2f8;
}

.feat-loan-row--add {
    background: #f9fbfd;
    margin: 0 -32px;
    padding: 14px 32px;
    border-top: 1px solid #eef2f8;
    border-radius: 0 0 12px 12px;
}

.feat-loan-row-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.feat-loan-row-value {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Number + unit on same line */
.feat-loan-row-value .feat-loan-inline {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.feat-loan-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.feat-loan-unit {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

.feat-loan-step {
    font-size: 12px;
    color: var(--color-text-muted);
    background: #eef2f8;
    padding: 2px 10px;
    border-radius: 50px;
    margin-top: 4px;
}

.feat-loan-row-value--add {
    font-size: 13px;
    color: var(--color-text-muted);
    flex-direction: row;
}

/* Info note */
.feat-loan-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #EEF5FF;
    border: 1px solid #C7DCFF;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 20px;
    line-height: 1.6;
}

.feat-loan-note strong {
    color: var(--color-primary);
    font-weight: 700;
}

.feat-loan-note-icon {
    font-size: 15px;
    color: #3B82F6;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.4;
}

/* LTV Box (icon + text) */
.feat-ltv-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FFFBF0;
    border: 1px solid #E8C84A;
    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);
}

.feat-link {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* ── 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;
}

.feat-stat-sub-below {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.feat-stat-divider {
    width: 100%;
    height: 1px;
    background: #dde5ef;
    margin: 4px 0 16px;
}

.feat-stat-note {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.feat-stat-note--gold {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-secondary);
}

/* ── 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 ─────────────────────── */
.feat-summary-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    background: #F4F7FB;
    border: 1px solid #dde5ef;
    border-radius: 16px;
    padding: 24px 40px;
}

.feat-summary-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 20px;
}

.feat-summary-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.feat-summary-text strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 6px;
}

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

.feat-summary-divider {
    width: 1px;
    height: 56px;
    background: #dde5ef;
}

/* ── 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-summary-bar {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }
    .feat-summary-divider {
        width: 100%;
        height: 1px;
    }
    .feat-summary-item {
        padding: 0;
    }
    .feat-loan-inline {
        white-space: nowrap;
        flex-wrap: nowrap;
    }
    .feat-loan-num {
        font-size: 28px;
    }
    .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-loan-grid {
        grid-template-columns: 1fr;
    }
    .feat-loan-divider {
        width: 100%;
        height: 1px;
        margin: 12px 0;
    }
    .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 */
.reasons-header {
    text-align: center;
    margin-bottom: 64px;
}

.reasons-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid var(--color-secondary);
    border-radius: 50px;
}

.reasons-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

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

/* 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: 'Georgia', 'Times New Roman', serif;
}

/* 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;
}

.service-header {
    text-align: center;
    margin-bottom: 64px;
}

.service-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid var(--color-secondary);
    border-radius: 50px;
}

.service-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

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

/* 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 */
.svc-diamond {
    display: inline-block;
    font-size: 10px;
    margin: 0 5px;
    vertical-align: middle;
    line-height: 1;
}
.svc-diamond-gold { color: var(--color-secondary); }
.svc-diamond-blue { color: #3B82F6; }
.svc-diamond-grey { color: #9CA3AF; }

.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) */
.service-main-card {
    background: #ffffff;
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(10,28,58,0.08);
    margin-bottom: 40px;
}

.service-main-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 32px;
    background: linear-gradient(135deg, #F7F9FC, #EBF2FF);
}

.service-main-body {
    padding: 28px 32px 32px;
}

.service-main-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.service-main-body p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Specs grid (4-col) */
.service-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.spec-card {
    background: #ffffff;
    border: 1px solid #E8EEF4;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(10,28,58,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.spec-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FDF8EC, #F5E8C0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.spec-icon img { width: 20px; }

.spec-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.spec-detail p {
    font-size: 13px;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 4px;
}

.spec-detail strong {
    color: var(--color-primary);
    font-weight: 600;
}

.spec-highlight {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
}

.spec-highlight span {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
}

.spec-highlight small {
    font-size: 16px;
    font-weight: 600;
}

.spec-sub {
    font-size: 12px !important;
    color: var(--color-text-muted) !important;
    font-weight: 500;
}

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

/* Rates highlight grid (3-col big numbers) */
.rates-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.rates-highlight-card {
    background: var(--color-primary);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rates-highlight-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em;
}

.rates-highlight-value {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.rates-highlight-value small {
    font-size: 20px;
    font-weight: 600;
}

.rates-highlight-value.gold { color: var(--color-secondary); }
.rates-highlight-value.green { color: #34D399; }

.rates-highlight-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Currency heading */
.rates-currency-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-align: center;
}

/* Currency chip grid */
.rates-currency-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.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;
}

/* ── Bottom Summary Bar ─────────────── */
.usecase-summary {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1.5px solid #C9A227; /* Gold */
    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: #e8d9b0; /* 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('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-accent);
    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));
}

.sec-badge-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.sec-badge-desc strong {
    color: var(--color-primary);
    font-weight: 800;
}

.sec-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* Simulator */
/* ==========================================================================
   Simulator Section
   ========================================================================== */
.simulator {
    position: relative;
    background: var(--color-bg-light);
    padding: 100px 0 60px;
    overflow: hidden;
}

.sim-bg {
    position: absolute;
    inset: 0;
    background-image: url('clend_assets_v5/bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}

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

/* Title styled: 売却 vs 借入 */
.sim-title-styled {
    font-size: 52px !important;
}
.sim-title-vs {
    color: var(--color-text-muted);
    font-weight: 400;
    font-size: 0.75em;
    margin: 0 8px;
}
.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 6px 24px rgba(10,28,58,0.10);
    padding: 28px 36px;
    margin-bottom: 12px;
    border: 2px solid var(--color-secondary);
    gap: 28px;
    position: relative;
    overflow: hidden;
}

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

.sim-wish-currency img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sim-wish-currency select {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    padding-right: 20px;
    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='%230A1C3A' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    font-family: var(--font-sans);
}

/* 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-detail-help {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

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

.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 var(--color-secondary);
    background: transparent;
    outline: none;
    width: 180px;
    padding-bottom: 4px;
    transition: border-color 0.2s ease;
    font-family: var(--font-sans);
}

.sim-wish-field input:focus {
    border-bottom-color: #b8912a;
}

/* 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 ───────────────────── */
.sim-detail-toggle {
    text-align: center;
    margin-bottom: 8px;
}

.sim-detail-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
    font-family: var(--font-sans);
}

.sim-detail-toggle button:hover {
    color: var(--color-primary);
    background: rgba(10,28,58,0.04);
}

.sim-detail-toggle button svg {
    transition: transform 0.3s ease;
}

.sim-detail-toggle button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* ── Collapsible Detail Bar ──────────── */
.sim-input-bar--detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
    box-shadow: none;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.4s ease,
                margin 0.4s ease,
                border-color 0.3s ease;
}

.sim-input-bar--detail.is-open {
    max-height: 200px;
    opacity: 1;
    padding: 24px 32px;
    margin-bottom: 24px;
    border-color: #dde5ef;
    box-shadow: 0 4px 20px rgba(10,28,58,0.08);
}

/* ── Input Bar ───────────────────────── */
.sim-input-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(10,28,58,0.08);
    padding: 24px 32px;
    margin-bottom: 24px;
    border: 1px solid #dde5ef;
}

.sim-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

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

.sim-currency-select {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sim-currency-select img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.sim-currency-select select {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    padding-right: 20px;
    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='%230A1C3A' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
}

.sim-edit-note {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.sim-input-field {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.sim-input-field input {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    border: none;
    border-bottom: 2px dashed #b8c4d5;
    background: transparent;
    outline: none;
    width: 100%;
    max-width: 120px;
    padding-bottom: 2px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sim-input-field input:focus {
    border-bottom-color: var(--color-secondary);
    background: #fcfdfd;
}

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

.sim-input-price .sim-input-field input {
    color: var(--color-secondary);
    font-size: 26px;
}

.sim-unit {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.sim-input-divider {
    width: 1px;
    height: 48px;
    background: #dde5ef;
    flex-shrink: 0;
    margin: 0 24px;
}

/* ── Compare Wrapper ─────────────────── */
.sim-compare-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 24px;
}

/* ── VS Badge ────────────────────────── */
.sim-vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    z-index: 2;
}

.sim-vs-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(10,28,58,0.15);
    border: 2px solid #dde5ef;
    flex-shrink: 0;
}

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

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

/* ── Hero ────────────────────────────── */
/* ── Cards ───────────────────────────── */
.sim-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(10,28,58,0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid #dde5ef;
}

/* Card headers */
.sim-card-header {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-align: center;
}

.sim-card-header--sell {
    background: var(--color-primary);
}

.sim-card-header--borrow {
    background: var(--color-secondary);
}

/* Card body */
.sim-card-body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px 16px;
    flex-grow: 1;
}

.sim-card-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

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

.sim-card-rows {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

.sim-card-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.sim-row-label {
    font-size: 14px;
    color: var(--color-text-muted);
}

.sim-row-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.sim-row-negative { color: #DC2626; }
.sim-row-gold     { color: var(--color-secondary); }

/* Result area */
.sim-card-result {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 20px 28px 16px;
    border-top: 1px solid #f0f3f8;
}

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

.sim-result-value {
    font-size: 52px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -1px;
}

.sim-result-value small {
    font-size: 18px;
    font-weight: 600;
    margin-left: 4px;
    letter-spacing: 0;
}

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

/* Status pill */
.sim-card-pill {
    margin: 0 28px 24px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-card-pill--warn {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.sim-card-pill--ok {
    background: #F0FDF4;
    color: #16A34A;
    border: 1px solid #BBF7D0;
}

/* ── Summary Bar ─────────────────────── */
.sim-summary-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #ffffff;
    border: 1.5px solid var(--color-secondary);
    border-radius: 16px;
    padding: 28px 40px;
    box-shadow: 0 4px 20px rgba(180,140,30,0.08);
    margin-bottom: 32px;
}

.sim-summary-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    object-fit: contain;
}

.sim-summary-main {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.sim-summary-highlight {
    color: var(--color-secondary);
    font-size: 32px;
}

.sim-summary-sub {
    font-size: 15px;
    color: var(--color-text-muted);
}

/* ── Result Card ─────────────────────── */
.sim-result-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(10,28,58,0.08);
    border: 1px solid #dde5ef;
    padding: 0;
    margin-bottom: 24px;
    overflow: hidden;
}

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

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

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

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

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

.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: 24px;
}

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

.sim-result-card-note {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    padding: 0 32px 20px;
    line-height: 1.6;
}

.sim-result-card-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 28px;
    background: linear-gradient(135deg, #f8fdf8, #f0f9f0);
    border-top: 1px solid #e0ede0;
}

.sim-highlight-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.sim-highlight-main {
    font-size: 22px;
    font-weight: 700;
    color: #1a6d1a;
}

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

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

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

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

/* ── Footnote ────────────────────────── */
.sim-footnote {
    text-align: center;
    font-size: 12px;
    color: var(--color-text-muted);
    padding-bottom: 20px;
}

/* ==========================================================================
   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 */
.rates {
    padding: 100px 0;
    background: #ffffff;
}

.rates-header {
    text-align: center;
    margin-bottom: 56px;
}

.rates-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.rates-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

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

/* Table wrapper */
.rates-table-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E8EEF4;
    box-shadow: 0 4px 24px rgba(10,28,58,0.06);
}

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

.rates-table thead tr {
    background: var(--color-primary);
}

.rates-table thead th {
    padding: 18px 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    text-align: left;
}

.rates-table thead th:not(:first-child) {
    text-align: right;
}

.rates-table tbody tr {
    border-bottom: 1px solid #EEF2F7;
    transition: background 0.2s ease;
}

.rates-table tbody tr:last-child {
    border-bottom: none;
}

.rates-table tbody tr:hover {
    background: #F7F9FC;
}

.rates-table tbody td {
    padding: 20px 24px;
    vertical-align: middle;
    text-align: right;
}

.rates-table tbody td:first-child {
    text-align: left;
}

/* Currency cell */
.rates-currency {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rates-coin-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rates-coin-icon--gold   { background: linear-gradient(135deg, #FDF8EC, #F5E8C0); }
.rates-coin-icon--blue   { background: linear-gradient(135deg, #EBF1F8, #D6E4F0); }
.rates-coin-icon--green  { background: linear-gradient(135deg, #EDFAF4, #C6EFE0); }
.rates-coin-icon--purple { background: linear-gradient(135deg, #F3EBFD, #E5D6F5); }

.rates-coin-icon img {
    width: 22px;
    height: 22px;
}

.rates-coin-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Pair */
.rates-pair {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    font-variant-numeric: tabular-nums;
}

/* LTV */
.rates-ltv {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.rates-ltv--high {
    color: var(--color-secondary);
}

.rates-ltv small,
.rates-rate small,
.rates-daily small {
    font-size: 13px;
    font-weight: 500;
    margin-left: 1px;
}

/* Rate */
.rates-rate {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.rates-rate--low {
    color: #16A34A;
}

/* Daily */
.rates-daily {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    font-variant-numeric: tabular-nums;
}

/* Note */
/* Rates highlights bar */
.rates-highlights {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #F4F7FB;
    border: 1px solid #dde5ef;
    border-radius: 12px;
    padding: 20px 28px;
    margin: 20px 0;
}

.rates-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.rates-highlight-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rates-highlight-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.rates-highlight-value small {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-left: 2px;
}

.rates-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 20px;
    line-height: 1.7;
}

.rates-note img {
    width: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}


/* Risk Illustrations */
.risk-illustrations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Risk Section (unified) */
.risk-section {
    background: #F7F9FC;
}

/* Header */
.risk-section-header {
    background: var(--color-primary);
    text-align: center;
    padding: 80px 20px 60px;
}

.risk-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.risk-title {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 20px;
}

.risk-lead {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

/* LTV illustration section */
.risk-ltv-section {
    background: #ffffff;
    padding: 60px 0 48px;
}

.risk-ltv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.risk-ltv-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E8EEF4;
    box-shadow: 0 4px 20px rgba(10,28,58,0.05);
}

.risk-ltv-card--warn { border-top: 3px solid #DC2626; }
.risk-ltv-card--safe { border-top: 3px solid #16A34A; }

.risk-ltv-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid #EEF2F7;
}

.risk-ltv-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F7F9FC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.risk-ltv-icon img { width: 18px; }

.risk-ltv-status {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.risk-ltv-status.warn { background: #FEF2F2; color: #DC2626; }
.risk-ltv-status.safe { background: #F0FDF4; color: #16A34A; }

.risk-ltv-img {
    width: 100%;
    display: block;
    padding: 20px 32px 0;
}

.risk-ltv-body {
    padding: 16px 24px 24px;
}

.risk-ltv-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

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

.risk-ltv-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #EEF2F7;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.risk-ltv-tip img { width: 16px; }

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

.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-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.risk-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FDF8EC;
    display: flex;
    align-items: center;
    justify-content: center;
}

.risk-icon img { width: 24px; }

.risk-badge {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.12;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.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 */
.risk-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 32px 0 60px;
    padding: 20px 24px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-left: 4px solid #F59E0B;
    border-radius: 10px;
}

.risk-disclaimer-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FEF3C7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.risk-disclaimer-icon img { width: 18px; }

.risk-disclaimer p {
    font-size: 14px;
    color: #92400E;
    line-height: 1.8;
    font-weight: 500;
}


/* Fees */
.fee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.fee-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.fee-card.highlight {
    border: 2px solid var(--color-secondary);
}

.fee-icon img {
    width: 40px;
}

.fee-content h3 {
    font-size: 16px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.fee-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.fee-amount span {
    font-size: 48px;
}

.fee-amount small {
    font-size: 16px;
    margin-right: 5px;
}

.fee-note {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 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('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;
}

.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;
}


/* 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-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.7;
    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;
}

/* 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 {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a: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 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 */
.flow-support-note {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1.5px solid #C8D6E8;
    border-radius: 12px;
    padding: 22px 32px;
}

.flow-support-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
}

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

.flow-support-note p {
    font-size: 15px;
    color: var(--color-primary);
    font-weight: 500;
    line-height: 1.6;
}

/* ==========================================================================
   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 */
.risk-guarantee-banner {
    background: linear-gradient(135deg, #FEF9EC 0%, #FDF3D0 100%);
    border: 1.5px solid #E8C96A;
    border-radius: 16px;
    padding: 36px 48px;
    display: flex;
    align-items: center;
    gap: 36px;
    margin-bottom: 24px;
}

.risk-guarantee-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

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

.risk-guarantee-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.risk-guarantee-text h3 strong {
    color: var(--color-secondary);
}

.risk-guarantee-text p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 4px;
}

.risk-guarantee-note {
    font-size: 13px !important;
    font-weight: 600;
    color: var(--color-primary) !important;
    opacity: 0.8;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   Company Profile Page
   ========================================================================== */
.company-page-header {
    background-image: url('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 100px;
    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;
}

.company-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.company-card-divider {
    width: 40px;
    height: 3px;
    background: var(--color-secondary);
    margin-bottom: 40px;
}

.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 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;
}

.legal-date {
    text-align: right;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 32px !important;
}

/* CTA Banner */
.company-cta-banner {
    background-image: url('company-assets/page-cat-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.company-cta-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.company-cta-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.company-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 240px;
}

.company-cta-actions .btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--color-secondary);
    color: #ffffff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
    padding: 16px 24px;
    width: 100%;
}

.company-cta-actions .btn-primary:hover {
    background: #d4a754;
}

.btn-outline-white {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
    padding: 15px 24px;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* ==========================================================================
   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(212, 175, 55, 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 — Tablet (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    /* ── Header ── */
    .header-container {
        padding: 16px 20px;
    }
    .main-nav,
    .header-actions {
        display: none;
    }
    .hamburger {
        display: block;
    }

    .hero-container {
        gap: 20px;
    }
    .hero-content {
        flex: 0 0 52%;
    }
    .hero-image {
        flex: 0 0 46%;
    }
    .hero h1 {
        font-size: 42px;
        white-space: normal;
        word-break: keep-all;
    }
    .hero .hero-lead {
        font-size: 15px;
        margin-bottom: 24px;
    }
    .hero-buttons {
        gap: 16px;
        flex-wrap: wrap;
    }
    .mockup-laptop {
        width: 100%;
        max-width: 460px;
        right: 0;
    }
    .mockup-phone {
        width: 145px;
        right: 0;
        bottom: 30px;
    }
    .sim-compare-wrapper {
        grid-template-columns: 1fr auto 1fr;
    }
    .rates-highlights {
        flex-wrap: wrap;
        gap: 8px;
    }
    .rates-highlight-item {
        flex: 1 1 calc(33% - 8px);
        min-width: 120px;
    }
}

/* ==========================================================================
   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('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-lead {
        font-size: 14px;
        margin-bottom: 24px;
        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-persona-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .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;
    }

    .sim-detail-toggle button {
        font-size: 12px;
        padding: 8px 12px;
    }

    .sim-input-bar--detail.is-open {
        padding: 20px;
    }

    /* Input bar → 2×2 grid */
    .sim-input-bar {
        flex-wrap: wrap;
        gap: 0;
        padding: 20px;
    }

    .sim-input-group {
        flex: 1 1 calc(50% - 1px);
        padding: 12px 16px;
    }

    .sim-input-group:nth-child(1),
    .sim-input-group:nth-child(3) {
        border-right: 1px solid #dde5ef;
    }

    .sim-input-group:nth-child(1),
    .sim-input-group:nth-child(2) {
        border-bottom: 1px solid #dde5ef;
        padding-bottom: 16px;
    }

    .sim-input-group:nth-child(3),
    .sim-input-group:nth-child(4) {
        padding-top: 16px;
    }

    .sim-input-divider {
        display: none;
    }

    .sim-input-field input {
        font-size: 18px;
        max-width: 100%;
    }

    .sim-input-price .sim-input-field input {
        font-size: 20px;
    }

    /* 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-icon {
        width: 28px;
        height: 28px;
    }

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

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

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

    .sim-summary-sub,
    .sim-footnote {
        text-align: left;
    }

    .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 ── */
    .rates {
        padding: 60px 0;
    }

    .rates-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rates-table {
        min-width: 520px;
    }

    .rates-highlights {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .rates-highlight-item:last-child {
        grid-column: 1 / -1;
    }

    /* ── Risk ── */
    .risk-section {
        padding: 60px 0;
    }

    .risk-section-header .sec-header {
        padding: 0 16px;
    }

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

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

    /* ── 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: 28px 20px 22px;
    }

    .flow-card-img {
        width: 100px;
        height: 90px;
    }

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

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

    .risk-guarantee-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .risk-guarantee-text h3 {
        font-size: 18px;
    }

    .risk-guarantee-text p,
    .risk-guarantee-note {
        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;
    }
    
    .company-cta-banner {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        text-align: center;
    }
    
    .company-cta-actions {
        width: 100%;
    }

    .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 */
    .sim-input-group {
        flex: 1 1 100%;
        border-right: none !important;
    }

    .sim-input-group:nth-child(1),
    .sim-input-group:nth-child(2) {
        border-bottom: 1px solid #dde5ef;
    }

    .sim-input-group:nth-child(3) {
        border-right: none !important;
    }

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

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

    /* Rates highlights: 2-col */
    .rates-highlights {
        grid-template-columns: 1fr 1fr;
    }

    /* 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;
    }
}
