@charset "UTF-8";
/* =====================================================================
   sitev2/css/top.css ── 新トップ（/）。newtop-mock の CSS を移植
   ===================================================================== */
h2{color:var(--navy);font-weight:900;font-size:clamp(20px,3.2vw,26px);text-align:center;text-wrap:balance}
section{padding-block:56px}
@media(max-width:640px){.spbr{display:inline}}

/* ===== KV（写真背景＋紺オーバーレイ。写真が無ければ紺グラデのみ）=====
   余白は Figma（新トップ PC 1280: 1834:2 / SP 393: 1830:2）の実測値:
   PC=ピル→8→H1→0→リード→12→ロゴ→16→価格→16→CTA・上64/下52
   SP=ピル→8→H1→2→リード→12→ロゴ→14→価格→16→CTA・上40/下36 */
.kv{background:linear-gradient(rgba(18,38,79,.45),rgba(13,28,59,.72)),var(--navy);color:#fff;text-align:center;padding-block:64px 52px;line-height:normal}
.kv.has-bg{background:linear-gradient(rgba(18,38,79,.45),rgba(13,28,59,.72)),url(/img/sitev2/kv-bg.webp) center/cover no-repeat,var(--navy)}
.kv .inner{display:flex;flex-direction:column;align-items:center}
.kv .kv-pill{display:inline-block;max-width:100%;background:var(--yellow);color:var(--navy);font-weight:900;border-radius:5px;padding:9px 26px;font-size:22px;letter-spacing:1.32px;line-height:normal;box-shadow:0 3px 10px rgba(0,0,0,.25)}
.kv h1{margin-top:8px;font-size:clamp(30px,4.3vw,55px);font-weight:900;letter-spacing:.04em;line-height:1.4}
.kv .lead{margin-top:0;font-size:18px;color:#C9D2E4;line-height:25px}
/* ロゴは白文字入りの透過webp → 白背景・白ピルを敷かず紺地に直置き */
.kv .partners{margin-top:12px;display:flex;justify-content:center;align-items:center;gap:14px}
.kv .partners .pt{display:block;max-width:100%;opacity:.95;border-radius:8px}
.kv .partners .pt-fos{width:auto;height:44px}
.kv .partners .pt-news{width:230px;height:62px;object-fit:cover}
/* 価格ブロック（区切り線 白25%・1px） */
.kv .kv-price{margin-top:16px;display:flex;justify-content:center;align-items:center;width:372px;max-width:100%;height:69px;border-top:1px solid rgba(255,255,255,.25);border-bottom:1px solid rgba(255,255,255,.25)}
.kv .kv-price .lbl{width:104px;flex:0 0 auto;font-size:13px;font-weight:900;line-height:normal;color:#fff}
.kv .kv-price b{margin-left:20px;font-family:var(--numfont);font-size:46px;font-weight:600;letter-spacing:.92px;line-height:62px;color:var(--yellow);font-variant-numeric:tabular-nums}
.kv .kv-price .unit{margin-left:6px;position:relative;top:9px;font-size:13px;font-weight:900;color:#fff;white-space:nowrap}
.kv .kv-cta{margin-top:16px}
.kv .kv-cta a{display:inline-block;border:2px solid var(--yellow);color:var(--yellow);border-radius:999px;padding:11px 34px;font-weight:700;font-size:14.5px;line-height:17px}
@media(max-width:640px){
  .kv{padding-block:40px 36px}
  .kv .kv-pill{margin-inline:-5px;max-width:calc(100% + 10px);padding:9px 14px;font-size:14px;letter-spacing:.84px;line-height:19px}
  .kv h1{margin-top:8px;font-size:30px;letter-spacing:1.2px;line-height:40px}
  .kv .lead{margin-top:2px;font-size:14px;line-height:23px}
  .kv .partners{gap:9px}
  .kv .partners .pt{border-radius:5.12px}
  .kv .partners .pt-fos{width:min(146.56px,40vw);height:auto}
  .kv .partners .pt-news{width:min(147.2px,40vw);height:auto;aspect-ratio:147.2/39.68}
  .kv .kv-price{margin-top:14px;width:297.6px;height:55.2px}
  .kv .kv-price .lbl{width:83.2px;font-size:10.4px}
  .kv .kv-price b{margin-left:16px;font-size:36.8px;letter-spacing:.736px;line-height:49.6px}
  .kv .kv-price .unit{margin-left:4.8px;top:7.2px;font-size:10.4px}
}
/* SP のピルは Figma どおり1行（360px 未満の極小幅だけ折り返す） */
@media(min-width:360px) and (max-width:640px){.kv .kv-pill{white-space:nowrap}}

/* ===== 2分岐カード（Figma 2分岐 PC 1835:2 / SP 1831:2）=====
   上アクセント5px・中身 上22/左右22/下24・要素間10px均等。ボタンは本文の直後（カード下端に寄せない）
   ボタン: PC=カード幅いっぱい / SP=最大320px・中央 */
.gates{background:var(--paper)}
.gates h2{line-height:normal}
.gate-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:34px;max-width:820px;margin-inline:auto}
.gate{background:var(--white);border:1.5px solid var(--line);border-top:5px solid var(--navy);border-radius:12px;padding:22px 22px 24px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;box-shadow:0 2px 10px rgba(18,38,79,.06)}
.gate h3{color:var(--navy);font-size:19px;font-weight:900;line-height:1.2}
.gate p{font-size:13px;line-height:22px;color:var(--sub)}
.gate .acts{display:flex;flex-direction:column;align-items:stretch;gap:9px;width:100%}
.gate .acts a{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;border-radius:8px;padding:12px 16px;font-size:14px;font-weight:700;line-height:1.2}
.gate .tag{display:inline-block;background:var(--yellow);color:var(--navy);font-size:11.5px;font-weight:900;line-height:1.2;border-radius:999px;padding:3px 13px}
.a-main{background:var(--red);color:#fff}
.a-sub{background:var(--white);border:2px solid var(--navy);color:var(--navy)}
.a-nav{background:var(--navy);color:#fff}
@media(max-width:820px){
  .gate .acts{align-items:center}
  .gate .acts a{max-width:320px}
  .gate .pcbr{display:none}
}
@media(max-width:820px){.gate-grid{grid-template-columns:1fr}}

/* ===== バッジ帯（紺地）: 見出し→8→累計申込者数→30(SP24)→丸バッジ3つ（同一径の正円・等間隔） ===== */
.facts{background:var(--navy);text-align:center;padding-block:48px 42px}
.facts h2{color:#fff;font-size:24px;line-height:normal}
.facts .facts-count{margin-top:8px;font-size:14px;line-height:normal;color:#C9D2E4}
.badge-row{margin-top:30px;display:flex;justify-content:center;gap:26px}
.bdg{flex:0 0 auto;width:152px;height:152px}
.bimg{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(0,0,0,.4))}
@media(max-width:640px){
  .facts{padding-block:32px}
  .facts h2{font-size:18px}
  .facts .facts-count{font-size:12px}
  .badge-row{margin-top:24px;gap:16px}
  .bdg{width:min(104px,calc((100vw - 72px) / 3));height:min(104px,calc((100vw - 72px) / 3))}
  .bimg{filter:drop-shadow(0 4px 8px rgba(0,0,0,.35))}
}

/* ===== 実施要項 ===== */
.schedule .box{max-width:760px;margin:30px auto 0;background:var(--white);border:2px solid var(--navy);border-radius:12px;overflow:hidden}
.schedule .grade{padding:20px 24px;border-top:1px solid var(--line)}
.schedule .grade:first-child{border-top:0}
.schedule .gl{display:inline-block;background:var(--navy);color:var(--yellow);font-weight:900;font-size:13px;border-radius:6px;padding:2px 12px}
.schedule dl{margin-top:8px}
.schedule dt{font-weight:700;color:var(--navy);margin-top:8px}
.schedule dt:first-child{margin-top:0}
.schedule p.nt{font-size:12px;color:var(--sub);margin-top:8px}

/* 受験後スケジュール（Figma 新トップ PC 1909:2 / SP 1909:61）。要項ボックスの直下（間隔30px）
   行の高さは Figma のテキスト枠の高さ（leading normal）に合わせて px で指定 */
.schedule .after{max-width:760px;margin:30px auto 0;background:var(--white);border:1.5px solid var(--line);border-radius:14px;padding:26px 22px 24px;display:flex;flex-direction:column;align-items:center;gap:16px;line-height:1.2}
.schedule .after-t{font-size:16px;font-weight:900;color:var(--navy);line-height:19px;text-align:center}
.schedule .after-tl{list-style:none;display:flex;align-items:stretch;gap:30px}
.schedule .after-tl li{position:relative;width:150px;flex:0 0 150px;background:var(--paper);border:1.5px solid var(--line);border-radius:10px;box-shadow:inset 0 5px 0 var(--navy);padding:17px 10px 12px;display:flex;flex-direction:column;align-items:center;gap:7px}
.schedule .after-tl li:not(:last-child)::after{content:"▶";position:absolute;top:50%;right:-23.5px;transform:translateY(-50%);width:14px;text-align:center;font-size:14px;font-weight:900;color:#B8C0D0;line-height:1.2}
.schedule .after-tl .no{width:24px;height:24px;flex:0 0 auto;border-radius:999px;background:var(--navy);color:#fff;font-size:13px;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:16px}
.schedule .after-tl .nm{font-size:14px;font-weight:900;line-height:17px;color:var(--navy);white-space:nowrap}
/* 2行ラベル（STEP3「認定登録・登録料のお支払い」）: カード幅に収まるよう「・」の後で改行 */
.schedule .after-tl .nm-2l{text-align:center}
.schedule .after-tl .wh{align-self:stretch;background:var(--yellow);color:var(--navy);border-radius:6px;padding:3px 6px;font-size:11px;font-weight:900;line-height:13px;text-align:center}
.schedule .after-tl .ds{font-size:11px;line-height:18px;color:var(--sub);text-align:center}
.schedule .after-tl li.fin{background:#FFF9F3;border-color:#E8C2BE;box-shadow:inset 0 5px 0 var(--red)}
.schedule .after-tl li.fin .no{background:var(--red)}
.schedule .after-tl li.fin .wh{background:var(--red);color:#fff}
.schedule .after-nt{align-self:stretch;display:flex;flex-direction:column;gap:2px;font-size:12px;line-height:14px;color:var(--sub)}
.schedule .after-ex{align-self:stretch;background:var(--navy);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:16px}
.schedule .after-ex .ex-t{color:var(--yellow);font-weight:900}
.schedule .after-ex dl{margin-top:0;display:flex;flex-direction:column;gap:6px}
.schedule .after-ex dl div{display:flex;align-items:center}
.schedule .after-ex dt{margin-top:0;flex:0 0 68px;width:68px;font-weight:900;color:var(--yellow)}
.schedule .after-ex dd{color:#fff}
/* 4カード（690px）が収まらない幅ではSPの横長4行に切り替える */
@media(max-width:800px){
  .schedule .after{padding:20px 14px 18px;gap:14px}
  .schedule .after-t{font-size:14px;line-height:17px;align-self:stretch}
  .schedule .after-tl{align-self:stretch;flex-direction:column;gap:8px}
  .schedule .after-tl li{width:auto;flex:none;flex-direction:row;align-items:center;gap:10px;padding:10px 12px;box-shadow:none}
  .schedule .after-tl li.fin{box-shadow:none}
  .schedule .after-tl li:not(:last-child)::after{content:none}
  .schedule .after-tl .no{width:26px;height:26px;font-size:15px;line-height:18px}
  .schedule .after-tl .nm{flex:0 0 76px;width:76px}
  .schedule .after-tl .nm-2l{flex:0 0 auto;width:auto;min-width:76px;text-align:left;font-size:12.5px;line-height:15px}
  .schedule .after-tl .wh{align-self:auto;min-width:0;padding:3px 8px;text-align:right;white-space:nowrap}
  .schedule .after-tl .ds{display:none}
}
/* 320px級: 期限チップが入りきらない場合は折り返す（横スクロールを出さない） */
@media(max-width:380px){
  .schedule .after-tl .wh{white-space:normal;text-align:left}
}

/* ===== お知らせ（アコーディオン）===== */
.news{background:var(--paper)}
.news .list{max-width:760px;margin:28px auto 0}
.news details{background:var(--white);border:1px solid var(--line);border-radius:10px;margin-top:10px;overflow:hidden}
.news summary{list-style:none;cursor:pointer;display:flex;gap:16px;align-items:center;padding:15px 18px;font-size:14px}
.news summary::-webkit-details-marker{display:none}
.news time{color:var(--sub);font-size:12.5px;font-variant-numeric:tabular-nums;flex:0 0 auto}
.news .ttl{font-weight:700;color:var(--navy);flex:1}
.news .ic{color:var(--sub)}
.news details[open] .ic{transform:rotate(180deg)}
.news .body{padding:4px 18px 18px;font-size:13.5px;color:var(--ink);border-top:1px dashed var(--line)}
.news .body h3{color:var(--navy);font-size:15px;font-weight:900;margin-top:12px}
.news .body h4{color:var(--navy);font-size:14px;font-weight:700;margin-top:14px}
.news .body p{margin-top:8px}

/* ===== 資格とは要約 ===== */
.about-sum .wrap{max-width:860px;margin:30px auto 0;display:grid;grid-template-columns:300px 1fr;gap:30px;align-items:center}
.about-sum .wrap.noimg{grid-template-columns:1fr;max-width:640px}
.about-sum .pic img{display:block;width:100%;height:auto;border-radius:8px}
@media(max-width:640px){.about-sum .pic img{max-width:70%;margin-inline:auto}}
.about-sum p{font-size:14.5px}
.about-sum .more{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:var(--navy);font-weight:700;border-bottom:2px solid var(--yellow);padding-bottom:2px;font-size:14px}
@media(max-width:820px){.about-sum .wrap{grid-template-columns:1fr}}

/* ===== 合格・認定後に交付されるもの（紺）===== */
.issue{background:var(--navy);color:#fff}
.issue h2{color:#fff;line-height:normal}
.issue .issue-lead{margin-top:32px;text-align:center;font-size:14px;line-height:22px;color:#C9D2E4}
.issue-cards{display:grid;grid-template-columns:repeat(3,1fr);align-items:start;gap:16px;max-width:900px;margin:32px auto 0}
.issue-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 16px 18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.2);border-radius:10px;text-align:center;color:#fff}
.issue-card .pic{width:100%;height:130px;background:rgba(255,255,255,.95);border-radius:8px;display:flex;align-items:center;justify-content:center;padding:8px;overflow:hidden}
.issue-card .pic img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.issue-card .ttl{width:100%;font-size:14.5px;font-weight:900;line-height:21px}
.issue-card .txt{width:100%;font-size:12px;line-height:19px;color:#C9D2E4}
a.issue-card{transition:border-color .15s,background-color .15s}
a.issue-card:hover{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.1)}
a.issue-card:hover .more{text-decoration:underline}
.issue .issue-note{margin-top:32px;text-align:center;font-size:11px;line-height:17px;color:#C9D2E4}
@media(max-width:820px){
  .issue-cards{grid-template-columns:1fr;margin-top:24px}
  .issue .issue-lead{margin-top:24px;font-size:13px}
  .issue .issue-note{margin-top:24px}
}
/* SP: リードは Figma どおり1行（左右の余白を少し使う）。380px 未満は折り返して横スクロールを出さない。
   注記は認定登録料の追記で1行に収まらないため折り返す */
@media(min-width:380px) and (max-width:640px){
  .issue .issue-lead{white-space:nowrap;margin-inline:-14px}
}

/* ===== 申込みから認定までの流れ ===== */
.flow5 .steps{display:grid;grid-template-columns:repeat(5,1fr);gap:0;max-width:980px;margin:36px auto 0}
.flow5 .st{position:relative;text-align:center;padding:0 10px}
.flow5 .st::after{content:"→";position:absolute;right:-9px;top:24px;color:#B8C0D0;font-weight:900}
.flow5 .st:last-child::after{display:none}
.flow5 .num{width:58px;height:58px;border-radius:50%;background:var(--paper);border:2.5px solid var(--navy);color:var(--navy);font-family:var(--numfont);font-weight:600;font-size:24px;display:flex;align-items:center;justify-content:center;margin:0 auto}
.flow5 .tt{font-weight:900;color:var(--navy);font-size:14px;margin-top:12px}
.flow5 .ds{font-size:11.5px;color:var(--sub);margin-top:4px}
.flow5 .cta{text-align:center;margin-top:34px}
.flow5 .cta a{display:inline-block;background:var(--navy);color:#fff;border-radius:999px;padding:13px 36px;font-weight:700;font-size:14.5px}
@media(max-width:820px){
  .flow5 .steps{grid-template-columns:1fr;gap:20px;max-width:360px;margin-inline:auto}
  .flow5 .st{display:grid;grid-template-columns:58px 1fr;grid-template-rows:auto auto;column-gap:14px;row-gap:2px;text-align:left;align-items:center;padding:0}
  .flow5 .st::after{content:"↓";right:auto;left:22px;top:auto;bottom:-19px}
  .flow5 .num{margin:0;grid-row:1/3;align-self:center}
  .flow5 .tt{margin-top:0;grid-column:2;align-self:end}
  .flow5 .ds{margin-top:0;grid-column:2;align-self:start}
}

/* ===== 法人バナー（黄色）===== */
.houjin{background:var(--yellow);padding-block:0}
.houjin a{display:flex;max-width:var(--maxw);margin:0 auto;align-items:center;justify-content:space-between;gap:16px;padding:26px 20px;text-align:left}
.houjin .tx{flex:1;min-width:0}
.houjin .tx b{display:block;color:var(--navy);font-size:clamp(16px,2.4vw,21px);font-weight:900}
.houjin .tx span{font-size:13px;color:#5B4A00}
.houjin .ar{flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:var(--navy);color:var(--yellow);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:18px}

/* ===== お問い合わせ ===== */
.contact .box{max-width:680px;margin:30px auto 0;background:var(--white);border:2px solid var(--navy);border-radius:12px;padding:26px 26px}
.contact dl{display:grid;grid-template-columns:96px 1fr;gap:8px 16px;font-size:13.5px}
.contact dt{font-weight:900;color:var(--navy)}
.contact .links{margin-top:16px;font-size:13px;line-height:2}
.contact .links a{color:var(--navy);text-decoration:underline;font-weight:700}
.contact .contact-btn{display:block;width:100%;max-width:320px;margin:16px auto 0;text-align:center;background:var(--navy);color:#fff;border-radius:999px;padding:13px;font-weight:900;font-size:14.5px}
