/* ===========================================
   公務員のライト LP
   ダーク × ゴールド × ラグジュアリー
   =========================================== */

:root {
    --black: #1A1A1A;
    --dark: #2C2C2C;
    --gold: #B8962E;
    --gold-light: #D4AF37;
    --gold-glow: #F0D060;
    --gold-bg: #FBF7EC;
    --cream: #F8F6F1;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-300: #D0D0D0;
    --gray-500: #888888;
    --gray-700: #555555;
    --text: #2C2C2C;
    --text-light: #666666;
    --line-green: #06C755;
    --line-green-dark: #05B04C;
    --orange: #E67E22;
    --serif: 'Noto Serif JP', serif;
    --sans: 'Noto Sans JP', sans-serif;
    --ease: 0.3s ease;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
}

/* --- Reset --- */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px;scroll-padding-top:60px}
body{font-family:var(--sans);background:var(--white);color:var(--text);line-height:1.8;overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit;transition:var(--ease)}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
.container{max-width:720px;margin:0 auto;padding:0 20px}

/* ========================================
   HEADER（ダーク・sticky）
   ======================================== */
.header{
    position:sticky;top:0;left:0;width:100%;z-index:1000;
    background:rgba(26,26,26,0.97);backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(212,175,55,0.15);
    transition:var(--ease);
}
.header.scrolled{box-shadow:0 2px 20px rgba(0,0,0,0.3)}
.header-inner{
    max-width:960px;margin:0 auto;padding:0 16px;
    display:flex;align-items:center;justify-content:space-between;height:60px;
}
.header-logo{display:flex;align-items:center}
.header-logo-img{height:36px;width:auto;object-fit:contain}



.logo{font-family:var(--serif);font-size:1rem;font-weight:700;color:var(--gold);letter-spacing:0.06em}

/* ========================================
   HERO（フルワイド・背景統合型）
   ======================================== */
.hero{
    position:relative;display:flex;flex-direction:column;
    min-height:100svh;min-height:100dvh;overflow:hidden;background:#0A0A0A;
}
.hero-bg{
    position:absolute;inset:0;background-size:cover;background-position:center right;
    z-index:0;opacity:0.35;
}
.hero-overlay{
    position:absolute;inset:0;z-index:1;pointer-events:none;
    background:linear-gradient(
        180deg,
        rgba(10,10,10,0.7) 0%,
        rgba(10,10,10,0.5) 30%,
        rgba(10,10,10,0.6) 60%,
        rgba(10,10,10,0.9) 100%
    );
}

/* Gold decorative line */
.hero-gold-line{
    position:absolute;z-index:2;top:0;left:0;right:0;height:3px;
    background:linear-gradient(90deg,transparent,var(--gold-light),var(--gold-glow),var(--gold-light),transparent);
}

/* Sparkle effects */
.hero-sparkles{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.sparkle{
    position:absolute;border-radius:50%;
    background:radial-gradient(circle,rgba(240,208,96,0.8) 0%,transparent 70%);
    animation:sparkleFloat 4s ease-in-out infinite;
}
.sparkle-1{width:6px;height:6px;top:30%;left:15%;animation-delay:0s}
.sparkle-2{width:4px;height:4px;top:45%;left:70%;animation-delay:0.8s}
.sparkle-3{width:8px;height:8px;top:20%;right:20%;animation-delay:1.5s}
.sparkle-4{width:3px;height:3px;top:60%;left:40%;animation-delay:2.2s}
.sparkle-5{width:5px;height:5px;top:50%;right:30%;animation-delay:3s}

@keyframes sparkleFloat{
    0%,100%{opacity:0;transform:translateY(0) scale(0.5)}
    50%{opacity:1;transform:translateY(-20px) scale(1.2)}
}

/* Gold sweep animation (光の帯) */
.hero::after{
    content:'';position:absolute;z-index:2;pointer-events:none;
    top:35%;left:-50%;width:200%;height:120px;
    background:linear-gradient(
        90deg,
        transparent 0%,
        rgba(212,175,55,0.03) 30%,
        rgba(240,208,96,0.08) 50%,
        rgba(212,175,55,0.03) 70%,
        transparent 100%
    );
    transform:rotate(-8deg);
    animation:goldSweep 6s ease-in-out infinite;
}
@keyframes goldSweep{
    0%,100%{opacity:0.4;transform:rotate(-8deg) translateX(-5%)}
    50%{opacity:1;transform:rotate(-8deg) translateX(5%)}
}

/* Border frame effect */
.hero::before{
    content:'';position:absolute;z-index:2;pointer-events:none;
    top:12px;left:12px;right:12px;bottom:12px;
    border:1px solid rgba(212,175,55,0.12);border-radius:4px;
}

/* Person photo — 右下に講師全員をうっすら配置（背景透過済み） */
/* スマホではタイトル付近の上部に配置（CTAボタンと重ならないように） */
.hero-person{
    position:absolute;z-index:2;
    top:8%;right:0;bottom:auto;
    width:100%;height:55%;
    object-fit:contain;
    object-position:right top;
    opacity:0.14;
    filter:sepia(0.2) contrast(1.1);
    pointer-events:none;
    -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
            mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.hero-inner{
    position:relative;z-index:3;flex:1;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-align:center;padding:16px 24px 12px;
    max-width:640px;margin:0 auto;width:100%;
}

/* Hero kicker */
.hero-kicker{
    display:inline-block;font-size:0.72rem;font-weight:700;
    letter-spacing:0.18em;color:var(--white);
    background:linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%);
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;
    background-clip:text;
    border:1px solid var(--gold-light);border-radius:20px;
    padding:4px 18px;margin-bottom:8px;
    text-shadow:none;
}

/* Hero text */
.hero-label{
    font-family:var(--serif);font-size:1.3rem;font-weight:900;
    color:var(--gold-light);letter-spacing:0.15em;margin-bottom:4px;
    text-shadow:0 0 20px rgba(212,175,55,0.3);
}
.hero-anno{
    font-size:0.82rem;font-weight:600;color:var(--gold-light);
    margin-bottom:2px;letter-spacing:0.06em;
}
.hero-number{margin-bottom:10px;line-height:1}
.hero-number-val{
    font-family:var(--serif);font-size:4.5rem;font-weight:900;
    letter-spacing:-0.02em;
    background:linear-gradient(180deg,#F5E6A3 0%,#D4AF37 40%,#B8962E 100%);
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;
    background-clip:text;
    filter:drop-shadow(0 0 30px rgba(212,175,55,0.4)) drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.hero-number-unit{
    font-family:var(--serif);font-size:1.8rem;font-weight:900;
    background:linear-gradient(180deg,#F5E6A3 0%,#D4AF37 50%,#B8962E 100%);
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;
    background-clip:text;margin-left:4px;
}

.hero-disclaimer{
    font-size:0.5rem;color:rgba(255,255,255,0.32);
    line-height:1.4;margin-top:6px;margin-bottom:10px;
    max-width:300px;letter-spacing:0.01em;
}

.hero-title{
    font-family:var(--serif);font-size:1.6rem;font-weight:900;
    color:var(--white);line-height:1.45;margin-bottom:14px;
    letter-spacing:0.04em;
}

/* アイコン付き特徴2点 */
.hero-features{
    display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:16px;
}
.hero-feature{
    display:flex;align-items:center;gap:10px;text-align:left;
    width:260px;
}
.hero-feature-icon{
    flex-shrink:0;width:32px;height:32px;
    display:flex;align-items:center;justify-content:center;
    border:1.5px solid var(--gold-light);border-radius:50%;
    color:var(--gold-light);font-size:0.75rem;
    background:rgba(212,175,55,0.08);
}
.hero-feature p{
    font-size:0.78rem;color:rgba(255,255,255,0.88);
    line-height:1.5;font-weight:500;
}

/* 金枠CTAボタン */
.btn-hero-cta{
    display:inline-block;
    padding:18px 48px;
    background:linear-gradient(135deg,rgba(26,26,26,0.8),rgba(26,26,26,0.95));
    color:var(--gold-light);font-family:var(--serif);
    font-size:1.05rem;font-weight:700;letter-spacing:0.06em;
    border:2px solid var(--gold-light);border-radius:50px;
    box-shadow:0 0 20px rgba(212,175,55,0.15),inset 0 1px 0 rgba(255,255,255,0.05);
    transition:all 0.3s ease;cursor:pointer;
    position:relative;overflow:hidden;
}
.btn-hero-cta::before{
    content:'';position:absolute;top:0;left:-100%;width:50%;height:100%;
    background:linear-gradient(90deg,transparent,rgba(212,175,55,0.15),transparent);
    transition:left 0.5s ease;
}
.btn-hero-cta:hover::before{left:150%}
.btn-hero-cta:hover{
    box-shadow:0 0 30px rgba(212,175,55,0.3),inset 0 1px 0 rgba(255,255,255,0.1);
    transform:translateY(-2px);
}

/* Stats bar */
.hero-stats-bar{
    position:relative;z-index:3;
    background:linear-gradient(180deg,rgba(10,10,10,0.98) 0%,rgba(20,18,12,0.95) 100%);
    border-top:1px solid rgba(212,175,55,0.25);
    padding:16px 0 14px;
}
.hero-stats-inner{
    display:grid;grid-template-columns:repeat(3,1fr);
    gap:10px 6px;max-width:380px;margin:0 auto;padding:0 16px;
}
.hero-stat{
    display:flex;flex-direction:column;align-items:center;
    padding:6px 2px;
    border-right:1px solid rgba(212,175,55,0.1);
}
.hero-stat:nth-child(3n){border-right:none}
.hero-stat-num-wrap{
    display:flex;align-items:baseline;gap:1px;
}
.hero-stat-num{
    font-family:var(--serif);font-size:1.6rem;font-weight:900;
    line-height:1;
    background:linear-gradient(180deg,#F5E6A3 0%,#D4AF37 50%,#B8962E 100%);
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;
    background-clip:text;
    filter:drop-shadow(0 0 12px rgba(212,175,55,0.3));
}
.hero-stat-pct{
    font-family:var(--serif);font-size:0.85rem;font-weight:700;
    background:linear-gradient(180deg,#F5E6A3 0%,#D4AF37 100%);
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;
    background-clip:text;
}
.hero-stat-label{font-size:0.62rem;font-weight:600;color:rgba(255,255,255,0.55);margin-top:3px;white-space:nowrap;letter-spacing:0.04em}

.hero-stats-note{
    text-align:center;font-size:0.68rem;font-weight:600;
    color:var(--gold-light);letter-spacing:0.06em;
    margin-top:10px;padding:0 16px;
    text-shadow:0 0 8px rgba(212,175,55,0.2);
}

/* ========================================
   CTA BUTTON (共通)
   ======================================== */
.btn-cta{
    display:inline-flex;align-items:center;gap:8px;
    padding:15px 34px;background:var(--gold);color:var(--white);
    font-size:1rem;font-weight:800;border-radius:50px;
    box-shadow:0 4px 16px rgba(184,150,46,0.3);
    transition:var(--ease);cursor:pointer;border:none;
    font-family:var(--sans);letter-spacing:0.02em;
}
.btn-cta:hover{box-shadow:0 6px 24px rgba(184,150,46,0.45);transform:translateY(-1px)}
.btn-cta--line{background:var(--line-green);box-shadow:0 4px 16px rgba(6,199,85,0.3)}
.btn-cta--line:hover{box-shadow:0 6px 24px rgba(6,199,85,0.45);background:var(--line-green-dark)}
.btn-cta i{font-size:1.15rem}
.btn-cta--lg{padding:16px 36px;font-size:1rem}

.btn-outline{
    display:inline-flex;align-items:center;gap:6px;
    padding:10px 24px;background:transparent;color:var(--gold);
    border:2px solid var(--gold);font-size:0.85rem;font-weight:600;
    border-radius:50px;transition:var(--ease);
}
.btn-outline:hover{background:var(--gold);color:var(--white)}
.btn-outline i{font-size:0.75rem}

/* ========================================
   SECTIONS
   ======================================== */
.sec{padding:56px 0;position:relative}
.sec--white{background:var(--white)}
.sec--cream{background:var(--cream)}
.sec--results{
    background:linear-gradient(135deg,var(--black) 0%,#222 100%);
    color:var(--white);padding:48px 0;
}
.sec--cta{background:var(--black);color:var(--white);padding:64px 0}

.sec-title{
    font-family:var(--serif);font-size:1.65rem;font-weight:900;
    text-align:center;margin-bottom:32px;line-height:1.5;color:var(--text);
}
.sec-title--dark{color:var(--white)}
.sec-cta{text-align:center;margin-top:28px}

/* ========================================
   PROBLEMS
   ======================================== */
.problem-list{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}
.problem-list li{
    display:flex;align-items:center;gap:10px;
    font-size:1rem;font-weight:600;color:var(--text);line-height:1.6;
    background:var(--gray-100);padding:16px 18px;border-radius:var(--radius-sm);
}
.problem-list li i{color:#C0392B;font-size:0.85rem;flex-shrink:0}
.problem-resolve{text-align:center;font-size:1.2rem;font-weight:800;color:var(--text);padding-top:12px}
.problem-resolve i{color:var(--gold);margin-bottom:4px;display:block;font-size:1.2rem}
.problem-resolve strong{color:var(--gold)}
.problem-resolve-hl{
    font-size:1.5rem;
    color:#E67E22;
    background:linear-gradient(transparent 55%,rgba(230,126,34,0.2) 55%);
    padding:0 6px;
    border-bottom:3px solid #E67E22;
    letter-spacing:0.06em;
}

/* ========================================
   SERVICE OVERVIEW
   ======================================== */
.service-lead{text-align:center;font-size:1rem;line-height:2;color:var(--text);margin-bottom:28px}
.service-lead strong{color:var(--gold);font-weight:900;font-size:1.1rem}
.service-lead .hl-one-on-one{
    display:inline-block;color:#E67E22;font-size:1.3rem;font-weight:900;
    border-bottom:3px solid #E67E22;
    letter-spacing:0.08em;padding:0 2px;
}
.service-points{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sp-item{
    background:var(--white);border:1px solid var(--gray-300);
    border-radius:var(--radius);padding:20px 12px;text-align:center;transition:var(--ease);
}
.sp-item:hover{border-color:var(--gold);box-shadow:var(--shadow-sm)}
.sp-icon{
    width:64px;height:64px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;
    border-radius:16px;overflow:hidden;
}
.sp-icon img{
    width:100%;height:100%;object-fit:contain;
}
.sp-item p{font-size:0.9rem;line-height:1.6;color:var(--text);font-weight:600}
.sp-item p strong{color:var(--gold);font-weight:900;font-size:1rem}

/* ========================================
   BEFORE / AFTER
   ======================================== */
.sec--ba{background:linear-gradient(135deg,#0A0A0A 0%,#1A1A1A 100%);color:var(--white);padding:56px 0}
.ba-visual{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ba-side{display:flex;flex-direction:column;align-items:center}
.ba-photo{width:100%;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;margin-bottom:12px;position:relative}
.ba-photo img{width:100%;height:100%;object-fit:cover;object-position:top}
.ba-side--before .ba-photo{filter:saturate(0.3) brightness(0.8)}
.ba-side--before .ba-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(192,57,43,0.25) 100%)}
.ba-side--after .ba-photo{filter:saturate(1.1) brightness(1.05)}
.ba-side--after .ba-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(212,175,55,0.08) 100%)}
.ba-label{display:inline-block;font-family:var(--serif);font-size:0.9rem;font-weight:900;margin-bottom:10px;padding:4px 18px;border-radius:50px;letter-spacing:0.08em}
.ba-side--before .ba-label{background:#C0392B;color:var(--white)}
.ba-side--after .ba-label{background:var(--line-green);color:var(--white)}
.ba-list{display:flex;flex-direction:column;gap:6px;width:100%}
.ba-list li{display:flex;align-items:flex-start;gap:6px;font-size:0.78rem;font-weight:600;color:rgba(255,255,255,0.85);line-height:1.5}
.ba-side--before .ba-list li i{color:#E74C3C;flex-shrink:0;margin-top:3px;font-size:0.7rem}
.ba-side--after .ba-list li i{color:var(--line-green);flex-shrink:0;margin-top:3px;font-size:0.7rem}

/* ========================================
   3 PILLARS
   ======================================== */
.pillar-card{
    display:flex;flex-direction:column;background:var(--white);border:1px solid var(--gray-300);
    border-radius:var(--radius);overflow:hidden;margin-bottom:20px;transition:var(--ease);box-shadow:var(--shadow-sm);
}
.pillar-card:last-child{margin-bottom:0}
.pillar-card:hover{border-color:var(--gold)}
.pillar-img{width:100%;height:180px;overflow:hidden;background:var(--gray-100)}
.pillar-img img{width:100%;height:100%;object-fit:cover}
.pillar-body{padding:20px}
.pillar-num{font-family:var(--serif);font-size:1.6rem;font-weight:900;color:var(--gold);opacity:0.5;line-height:1;margin-bottom:4px}
.pillar-body h3{font-family:var(--serif);font-size:1.3rem;font-weight:900;color:var(--text);margin-bottom:10px}
.pillar-body p{font-size:0.95rem;color:var(--text);line-height:1.85}
.pillar-body strong{color:var(--gold);font-weight:900;font-size:1.05rem}

/* ========================================
   INSTRUCTORS
   ======================================== */
.inst-hero{border-radius:var(--radius);overflow:hidden;margin-bottom:20px;box-shadow:var(--shadow-md)}
.inst-hero img{width:100%;display:block}
.inst-scroll-wrap{position:relative}
.inst-scroll{display:flex;gap:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;padding-bottom:8px}
.inst-scroll::-webkit-scrollbar{height:4px}
.inst-scroll::-webkit-scrollbar-track{background:var(--gray-100);border-radius:2px}
.inst-scroll::-webkit-scrollbar-thumb{background:var(--gold);border-radius:2px}
.inst-card{flex:0 0 240px;scroll-snap-align:start;background:var(--white);border:1px solid var(--gray-300);border-radius:var(--radius);padding:20px 16px;transition:var(--ease)}
.inst-card:hover{border-color:var(--gold)}
.inst-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:var(--gold-bg);border:1px solid var(--gold);border-radius:50%;color:var(--gold);font-size:1rem;margin-bottom:10px}
.inst-photo{width:100%;aspect-ratio:4/5;border-radius:var(--radius);overflow:hidden;margin-bottom:10px;border:2px solid var(--gold-bg);background:var(--gray-100)}
.inst-photo img{width:100%;height:100%;object-fit:cover;object-position:center 25%}
.inst-card h4{font-family:var(--serif);font-size:0.95rem;font-weight:700;color:var(--gold);margin-bottom:2px}
.inst-role{font-size:0.75rem;color:var(--text);font-weight:600;margin-bottom:8px}
.inst-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}
.inst-tags span{padding:2px 7px;background:var(--gold-bg);border:1px solid var(--gold);border-radius:20px;font-size:0.62rem;color:var(--gold);font-weight:500}
.inst-subj{font-size:0.72rem;color:var(--gray-500);line-height:1.5}
.inst-scroll-hint{text-align:center;font-size:0.72rem;color:var(--gray-500);margin-top:8px}
.inst-scroll-hint i{margin-right:4px;color:var(--gold)}

/* ========================================
   VOICES
   ======================================== */
.voice-featured{display:flex;flex-direction:column;background:var(--cream);border:1px solid var(--gray-300);border-radius:var(--radius);overflow:hidden;margin-bottom:20px;box-shadow:var(--shadow-sm)}
.voice-featured-img{width:100%;height:auto;overflow:hidden;background:var(--cream)}
.voice-featured-img img{width:100%;max-height:360px;object-fit:contain;object-position:center;max-width:100%}
.voice-featured-body{padding:20px}
.voice-tag{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;background:var(--gold);color:var(--white);font-size:0.7rem;font-weight:700;border-radius:50px;margin-bottom:10px}
.voice-featured-body h4{font-family:var(--serif);font-size:1.1rem;font-weight:800;color:var(--text);margin-bottom:4px}
.voice-featured-body h4 small{font-size:0.78rem;font-weight:400;color:var(--gray-500)}
.voice-dest{font-size:0.8rem;color:var(--gold);font-weight:600;margin-bottom:10px}
.voice-featured-body blockquote{font-size:0.9rem;color:var(--text);line-height:1.8;border-left:3px solid var(--gold);padding-left:12px;font-style:normal;font-weight:500}
.voice-scroll-wrap{position:relative}
.voice-scroll{display:flex;gap:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;padding-bottom:8px}
.voice-scroll::-webkit-scrollbar{height:4px}
.voice-scroll::-webkit-scrollbar-track{background:var(--gray-100);border-radius:2px}
.voice-scroll::-webkit-scrollbar-thumb{background:var(--gold);border-radius:2px}
.voice-card{flex:0 0 260px;scroll-snap-align:start;background:var(--cream);border:1px solid var(--gray-300);border-radius:var(--radius);padding:18px 16px;transition:var(--ease)}
.voice-card:hover{border-color:var(--gold)}
.voice-card-name{font-size:0.9rem;font-weight:800;color:var(--text);margin-bottom:2px}
.voice-card-name small{font-weight:400;color:var(--gray-500)}
.voice-card-dest{display:flex;align-items:center;gap:4px;font-size:0.78rem;color:var(--gold);font-weight:600;margin-bottom:8px}
.voice-card-dest i{font-size:0.65rem}
.voice-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}
.voice-card-header .voice-card-name{margin-bottom:0;flex:1;white-space:nowrap;font-size:0.82rem}
.voice-card-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:center 20%;border:2px solid var(--gold);flex-shrink:0}
.voice-card-text{font-size:0.82rem;color:var(--text-light);line-height:1.7}
.voice-scroll-hint{text-align:center;font-size:0.72rem;color:var(--gray-500);margin-top:8px}
.voice-scroll-hint i{margin-right:4px;color:var(--gold)}

/* ========================================
   ACCORDION — 2025年合格実績
   ======================================== */
.acc-list{max-width:100%}
.acc-item{border:1px solid rgba(255,255,255,0.15);border-radius:var(--radius-sm);margin-bottom:10px;overflow:hidden;transition:var(--ease);background:rgba(255,255,255,0.05)}
.acc-item.open{border-color:var(--gold)}
.acc-q{width:100%;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:transparent;border:none;cursor:pointer;color:var(--white);font-size:0.95rem;font-weight:700;text-align:left;transition:var(--ease);font-family:var(--sans);gap:12px}
.acc-q:hover{color:var(--gold-light)}
.acc-icon{color:var(--gold);transition:var(--ease);flex-shrink:0;font-size:0.85rem}
.acc-item.open .acc-icon{transform:rotate(45deg)}
.acc-a{max-height:0;overflow:hidden;transition:max-height 0.4s ease,padding 0.4s ease}
.acc-item.open .acc-a{max-height:600px;padding:0 18px 18px}
.acc-badges{display:flex;flex-wrap:wrap;gap:8px}
.acc-badge{display:inline-block;padding:6px 14px;background:#2A2A2A;color:var(--white);font-size:0.75rem;font-weight:600;border:1px solid var(--gold);border-radius:50px;letter-spacing:0.02em}
.acc-note{text-align:center;font-size:0.7rem;color:rgba(255,255,255,0.45);margin-top:16px}

/* ========================================
   INSTALLMENT HIGHLIGHT（料金分割）
   ======================================== */
.installment-highlight{
    background:var(--white);border:2px solid var(--gray-300);border-radius:var(--radius);
    padding:24px 16px;margin-bottom:24px;text-align:center;
}
.installment-label{
    display:inline-block;padding:5px 20px;
    background:#FFF3CD;color:#856404;font-size:0.88rem;font-weight:700;
    border-radius:50px;margin-bottom:18px;letter-spacing:0.04em;
}
.installment-split{
    display:flex;justify-content:center;gap:6px;margin-bottom:18px;
    max-width:340px;margin-left:auto;margin-right:auto;
}
.installment-box{padding:10px 12px;border-radius:var(--radius-sm)}
.installment-box--dark{background:var(--black);color:var(--white);flex:0 0 90px}
.installment-box--orange{background:var(--orange);color:var(--white);flex:1}
.installment-box-label{font-size:0.82rem;font-weight:700}
.installment-detail{
    display:flex;align-items:baseline;justify-content:center;gap:8px;flex-wrap:wrap;
}
.installment-times{font-size:1.4rem;font-weight:900;color:var(--black)}
.installment-arrow{color:var(--orange);font-size:1.1rem;font-weight:700}
.installment-price{font-family:var(--serif);font-size:3.2rem;font-weight:900;color:var(--orange);line-height:1}
.installment-monthly{font-size:1rem;font-weight:700;color:var(--text)}

/* 料金テーブルの下線 */
.installment-highlight::after{
    content:'';display:block;width:80%;max-width:300px;height:1px;
    background:var(--gray-300);margin:18px auto 0;
}

/* ========================================
   PRICING TABLE（コンパクト）
   ======================================== */
.pricing-lead{text-align:center;font-size:0.88rem;color:var(--text);font-weight:600;margin-bottom:10px}
.pricing-included{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:20px}
.pricing-included span{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;background:var(--gold-bg);border:1px solid var(--gold);border-radius:50px;font-size:0.72rem;color:var(--gold);font-weight:700}
.pricing-included span i{font-size:0.6rem}

.pricing-table{border:1px solid var(--gray-300);border-radius:var(--radius);overflow:hidden;margin-bottom:14px;background:var(--white)}
.pt-row{display:grid;grid-template-columns:72px 1fr;align-items:center;padding:11px 14px;border-bottom:1px solid var(--gray-300);position:relative}
.pt-row:last-child{border-bottom:none}
.pt-row--head{background:var(--black);color:var(--white);font-size:0.72rem;font-weight:700;padding:8px 14px}
.pt-row--head .pt-period,.pt-row--head .pt-price{color:var(--white);font-size:0.72rem;font-weight:700}
.pt-row--rec{background:var(--gold-bg)}
.pt-rec-badge{position:absolute;top:-1px;right:10px;padding:2px 8px;background:var(--gold);color:var(--white);font-size:0.58rem;font-weight:700;border-radius:0 0 5px 5px}
.pt-period{font-size:0.95rem;font-weight:800;color:var(--black)}
.pt-price{font-family:var(--serif);font-size:1.15rem;font-weight:900;color:var(--black)}
.pt-row--rec .pt-period{color:var(--gold);font-size:1rem}
.pt-row--rec .pt-price{color:var(--gold);font-size:1.25rem}

.pricing-foot{text-align:center;margin-bottom:6px}
.pricing-foot p{font-size:0.72rem;color:var(--gray-500);margin-bottom:3px}
.pricing-foot i{color:var(--gold);margin-right:2px}

/* ========================================
   FLOW
   ======================================== */
.flow-list{display:flex;flex-direction:column;gap:12px}
.flow-item{display:flex;gap:16px;align-items:flex-start;padding:20px 18px;border-radius:var(--radius-sm);background:var(--white);border:1px solid var(--gray-300);border-left:4px solid var(--gold);transition:var(--ease)}
.flow-item:hover{border-left-color:var(--gold-light);box-shadow:var(--shadow-sm)}
.flow-num{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:1rem;font-weight:900;border-radius:50%;color:var(--white);background:var(--gold)}
.flow-item h4{font-size:1.08rem;font-weight:800;color:var(--text);margin-bottom:4px}
.flow-item p{font-size:0.9rem;color:var(--text-light);line-height:1.7}

/* ========================================
   FAQ
   ======================================== */
.faq-list{max-width:100%}
.faq-item{border:1px solid var(--gray-300);border-radius:var(--radius-sm);margin-bottom:8px;overflow:hidden;transition:var(--ease)}
.faq-item.open{border-color:var(--gold)}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:var(--white);border:none;cursor:pointer;color:var(--text);font-size:0.92rem;font-weight:700;text-align:left;transition:var(--ease);font-family:var(--sans);gap:12px}
.faq-q:hover{color:var(--gold)}
.faq-icon{color:var(--gold);transition:var(--ease);flex-shrink:0;font-size:0.85rem}
.faq-item.open .faq-icon{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height 0.35s ease,padding 0.35s ease;background:var(--gray-100)}
.faq-item.open .faq-a{max-height:200px;padding:0 16px 14px}
.faq-a p{font-size:0.88rem;line-height:1.8;color:var(--text-light);padding-top:10px}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-block{text-align:center}
.cta-block h2{font-family:var(--serif);font-size:1.6rem;font-weight:900;color:var(--white);line-height:1.6;margin-bottom:14px}
.cta-block>p{font-size:1rem;color:rgba(255,255,255,0.85);margin-bottom:24px;font-weight:600}
.cta-note{font-size:0.72rem;color:rgba(255,255,255,0.5);margin-top:10px}
.cta-also{margin-top:20px}
.cta-contact{margin-top:24px}
.cta-contact p{font-size:0.78rem;color:rgba(255,255,255,0.55);margin-bottom:6px;display:flex;align-items:center;justify-content:center;gap:6px}
.cta-contact p i{color:var(--gold-light);width:16px;text-align:center}

/* ========================================
   FOOTER
   ======================================== */
.footer{padding:32px 0 20px;background:var(--cream);border-top:1px solid var(--gray-300)}
.footer-inner{text-align:center;margin-bottom:12px}
.footer-inner .logo{font-size:0.9rem}
.footer-company{font-size:0.72rem;color:var(--gray-500);margin-top:2px}
.footer-links{display:flex;justify-content:center;gap:16px;margin-bottom:12px}
.footer-links a{font-size:0.75rem;color:var(--gray-500)}
.footer-links a:hover{color:var(--gold)}
.footer-copy{text-align:center;font-size:0.65rem;color:var(--gray-500)}

/* ========================================
   FLOATING CTA
   ======================================== */
.floating-cta{position:fixed;bottom:0;left:0;width:100%;padding:10px 16px;background:rgba(255,255,255,0.96);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--gray-300);z-index:998;transform:translateY(100%);transition:var(--ease)}
.floating-cta.visible{transform:translateY(0)}
.floating-cta-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;background:var(--gold);color:var(--white);font-weight:800;font-size:0.95rem;border-radius:50px;width:100%}
.floating-cta-btn--line{background:var(--line-green)}
.floating-cta-btn--line:hover{background:var(--line-green-dark)}
.floating-cta-btn:hover{opacity:0.9}

/* ========================================
   FADE-IN
   ======================================== */
.fade-in{opacity:0;transform:translateY(20px);transition:opacity 0.6s ease,transform 0.6s ease}
.fade-in.visible{opacity:1;transform:translateY(0)}

/* ========================================
   TABLET (600px+)
   ======================================== */
@media(min-width:600px){
    .container{max-width:640px}
    .sec{padding:64px 0}
    .sec-title{font-size:1.8rem}

    /* Hero */
    .hero-inner{padding:28px 24px 20px}
    .hero-number-val{font-size:6.5rem}
    .hero-number-unit{font-size:2.6rem}
    .hero-title{font-size:2.2rem;margin-bottom:20px}
    .hero-label{font-size:1.5rem}
    .hero-features{flex-direction:row;gap:24px;max-width:600px;margin-bottom:24px;width:auto;margin-left:auto;margin-right:auto;justify-content:center}
    .hero-feature{justify-content:flex-start;flex:0 1 auto;width:auto}
    .hero-kicker{font-size:0.82rem;padding:5px 22px;margin-bottom:10px}
    .hero-feature-icon{width:40px;height:40px;font-size:0.9rem}
    .hero-feature p{font-size:0.88rem}
    .hero-person{opacity:0.28;height:85%;top:auto;bottom:5%;object-position:right center;-webkit-mask-image:none;mask-image:none}
    .hero-stat-num{font-size:2.2rem}
    .hero-stats-inner{max-width:480px;gap:12px 10px}

    .problem-list{flex-direction:row;flex-wrap:wrap}
    .problem-list li{flex:1 1 calc(50% - 5px)}

    .voice-featured{flex-direction:row}
    .voice-featured-img{width:38%;height:auto;flex-shrink:0}
    .voice-featured-img img{height:100%;min-height:260px;max-height:none;object-fit:cover;object-position:center 20%;aspect-ratio:auto}
    .voice-featured-body{padding:24px;display:flex;flex-direction:column;justify-content:center}

    .pillar-card{flex-direction:row}
    .pillar-card--rev{flex-direction:row-reverse}
    .pillar-img{width:40%;height:auto;min-height:220px;flex-shrink:0}
    .pillar-body{padding:24px}

    .ba-visual{gap:24px}
    .ba-list li{font-size:0.85rem}
    .ba-label{font-size:1rem;padding:5px 22px}

    .inst-card{flex:0 0 260px}
    .installment-price{font-size:3.8rem}
}

/* ========================================
   DESKTOP (960px+)
   ======================================== */
@media(min-width:960px){
    .container{max-width:800px}
    .sec-title{font-size:1.9rem}

    .hero-inner{padding:36px 32px 24px}
    .hero-kicker{font-size:0.9rem;padding:6px 28px;margin-bottom:12px}
    .hero-number-val{font-size:8rem}
    .hero-number-unit{font-size:3rem}
    .hero-title{font-size:2.8rem;margin-bottom:24px}
    .hero-label{font-size:1.7rem}
    .hero-person{opacity:0.35;width:60%;height:100%;max-width:none;top:0;right:0;bottom:auto;object-fit:contain;object-position:right center;-webkit-mask-image:linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%);mask-image:linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%)}
    .hero-features{max-width:680px;gap:32px}
    .hero-feature p{font-size:0.95rem}
    .hero-feature-icon{width:44px;height:44px;font-size:1rem}
    .hero-stat-num{font-size:2.8rem}
    .hero-stat-pct{font-size:0.9rem}
    .hero-stats-inner{max-width:600px;gap:14px 24px}
    .hero-stat-label{font-size:0.68rem}

    .ba-visual{gap:32px;max-width:680px;margin:0 auto}
    .ba-list li{font-size:0.9rem}

    .floating-cta{display:none}
    .installment-price{font-size:4rem}
}

/* ========================================
   MOBILE VOICES
   ======================================== */
@media(max-width:768px){
    .voice-featured-img{height:auto}
    .voice-card{flex:0 0 220px;padding:14px 12px}
    .voice-card-name{font-size:0.82rem}
    .voice-card-text{font-size:0.78rem}
}

/* ========================================
   MOBILE HERO — スマホ専用調整
   ・講師背景画像はヒーロー上部のみに表示（CTAと被らない）
   ・講師カードのサイズ調整
   ======================================== */
@media(max-width:599px){
    /* ファーストビューの背景講師画像 */
    .hero-person{
        display:block !important;
        position:absolute !important;
        top:60px !important;       /* ヘッダー直下 */
        bottom:auto !important;
        left:0 !important;
        right:0 !important;
        width:100% !important;
        height:38vh !important;     /* ヒーロー上部のみ */
        max-height:340px !important;
        opacity:0.18 !important;
        object-fit:cover !important;
        object-position:center top !important;  /* 講師の顔から上が見える */
        -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 100%) !important;
                mask-image:linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 100%) !important;
    }

    /* 講師カード（横スクロール）のサイズ調整 — 顔が切れないように */
    .inst-card{
        flex:0 0 220px !important;
        padding:16px 14px !important;
    }
    .inst-photo{
        aspect-ratio:4/5 !important;
        border-radius:var(--radius) !important;
        background:var(--gray-100) !important;
    }
    .inst-photo img{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
        object-position:center 22% !important;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media(prefers-reduced-motion:reduce){
    .fade-in{opacity:1;transform:none;transition:none}
    .sparkle,.hero::after{animation:none}
    html{scroll-behavior:auto}
}
