@charset "UTF-8";
/* ==========================================================================
   実践COBOL即戦力コース LP  ―  レガシー（メインフレーム／グリーンバー）テーマ
   --------------------------------------------------------------------------
   色・字送り・余白は「1. デザイントークン」だけを編集してください。
   モチーフ：
     - 連続用紙（グリーンバー）の1行おきの帯
     - CRT グリーンフォスファー端末
     - COBOL 正書法の 桁ルーラ（Area A / Area B）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  /* 紙（連続用紙） */
  --c-paper:      #f2eee2;   /* 用紙の地 */
  --c-paper-2:    #e8e3d3;   /* 用紙の陰 */
  --c-bar:        #dbe6cf;   /* グリーンバーの帯 */
  --c-bar-deep:   #cddcbd;

  /* インク */
  --c-ink:        #1b1f18;   /* 本文 */
  --c-ink-2:      #4a5142;   /* 補助文字 */
  --c-ink-3:      #7c836f;   /* さらに薄い文字 */
  --c-rule:       #b8b39f;   /* 罫線 */
  --c-rule-2:     #d5d0bd;

  /* CRT（ダーク面） */
  --c-crt:        #0a130d;
  --c-crt-2:      #0f1c13;
  --c-crt-3:      #16281b;
  --c-phos:       #4ee07a;   /* フォスファーグリーン */
  --c-phos-dim:   #7fae8d;
  --c-phos-soft:  #b9e8c8;

  /* アクセント */
  --c-amber:      #a86a00;   /* 紙の上のアンバー */
  --c-amber-hi:   #ffb000;   /* CRT上のアンバー */
  --c-red:        #a5342a;   /* 警告・エラー */
  --c-blue:       #2a4f7c;   /* 参考・注記 */

  /* タイポ */
  --f-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
  --f-jp:   "IBM Plex Mono", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

  /* レイアウト */
  --container: 1200px;
  --gutter: 20px;
  --header-h: 60px;
}

@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 66px; } }
@media (min-width: 1100px){ :root { --gutter: 56px; } }

/* --------------------------------------------------------------------------
   2. リセット
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-jp);
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-ink);
  background: var(--c-paper);
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
code { font-family: var(--f-mono); font-size: .92em; }

:focus-visible { outline: 2px solid var(--c-amber); outline-offset: 2px; }
.section--dark :focus-visible,
.section--booking :focus-visible,
.footer :focus-visible { outline-color: var(--c-phos); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. 共通レイアウト
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 880px; }

.section { padding: 72px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 100px 0; } }

/* 用紙のトーン差 */
.section--tint { background: var(--c-paper-2); }
.section--tint::before,
.section::before { content: none; }

/* ダーク（CRT）面 */
.section--dark,
.section--booking {
  background: var(--c-crt);
  color: var(--c-phos-soft);
  background-image:
    repeating-linear-gradient(180deg, rgba(78,224,122,.045) 0 1px, transparent 1px 3px);
}
.section--dark .section__title,
.section--booking .section__title { color: #eafff0; }
.section--dark .section__eyebrow,
.section--booking .section__eyebrow { color: var(--c-phos); }
.section--dark .section__lead,
.section--booking .section__lead { color: var(--c-phos-soft); }
.section--dark .section__lead strong { color: #fff; }
.section--dark .section__note,
.section--booking .section__note { color: var(--c-phos-dim); }

/* セクション見出し */
.section__eyebrow, .eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 10px;
}
.section__eyebrow::before { content: "*> "; opacity: .75; }

.section__title {
  overflow-wrap: anywhere;
  font-family: var(--f-mono);
  font-size: clamp(23px, 4.4vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  margin-bottom: 20px;
}
.section__lead {
  max-width: 68ch;
  color: var(--c-ink-2);
  margin-bottom: 36px;
  font-size: 15px;
}
.section__lead strong { color: var(--c-ink); background: linear-gradient(transparent 62%, rgba(168,106,0,.22) 62%); }
.section__note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--c-ink-3);
  font-family: var(--f-mono);
}

.section__head { margin-bottom: 34px; }
.section__head .section__title { margin-bottom: 12px; }
.section__head-note { color: var(--c-ink-2); font-size: 14px; }
.section--dark .section__head-note,
.section--booking .section__head-note { color: var(--c-phos-dim); }
@media (min-width: 900px) {
  .section__head {
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: end;
  }
  .section__head-note { padding-bottom: 6px; border-left: 2px solid var(--c-rule); padding-left: 16px; }
  .section--dark .section__head-note,
  .section--booking .section__head-note { border-left-color: rgba(78,224,122,.35); }
}

/* --------------------------------------------------------------------------
   4. ボタン
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  text-decoration: none;
  padding: 13px 24px;
  border: 2px solid var(--c-ink);
  border-radius: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  box-shadow: 4px 4px 0 var(--c-ink);
  transition: transform .12s ease, box-shadow .12s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--c-ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--c-ink); }
.btn::after { content: " \203A"; font-weight: 700; }

.btn--primary { background: var(--c-amber-hi); color: #201400; border-color: #201400; box-shadow: 4px 4px 0 #201400; }
.btn--primary:hover { background: #ffc23a; box-shadow: 2px 2px 0 #201400; }

.btn--ghost { background: transparent; }
.section--dark .btn, .section--booking .btn, .footer .btn {
  border-color: var(--c-phos); color: var(--c-crt); background: var(--c-phos); box-shadow: 4px 4px 0 rgba(78,224,122,.28);
}
.section--dark .btn--ghost, .section--booking .btn--ghost {
  background: transparent; color: var(--c-phos); box-shadow: 4px 4px 0 rgba(78,224,122,.22);
}
.section--dark .btn--ghost:hover, .section--booking .btn--ghost:hover { background: rgba(78,224,122,.12); }
.section--dark .btn--primary, .section--booking .btn--primary {
  background: var(--c-amber-hi); color: #201400; border-color: var(--c-amber-hi); box-shadow: 4px 4px 0 rgba(255,176,0,.3);
}

.btn--sm { padding: 9px 16px; font-size: 12.5px; box-shadow: 3px 3px 0 var(--c-ink); }
.btn--lg { padding: 16px 30px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   5. ヘッダー
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: var(--c-crt);
  border-bottom: 1px solid rgba(78,224,122,.32);
  color: var(--c-phos-soft);
}
.header.is-scrolled { box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.header__inner {
  height: 100%;
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 20px;
}
.header__logo {
  font-family: var(--f-mono); font-weight: 700; font-size: 14px; letter-spacing: .1em;
  text-decoration: none; color: var(--c-phos); display: flex; align-items: center; gap: 8px;
}
.header__logo::before {
  content: "\25A0"; color: var(--c-amber-hi); font-size: 11px;
  animation: blink 1.15s step-end infinite;
}
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .header__logo::before { animation: none; } }

.header__nav { margin-left: auto; display: flex; gap: 22px; }
.header__nav a {
  font-family: var(--f-mono); font-size: 13px; text-decoration: none; color: var(--c-phos-soft);
  padding: 4px 0; position: relative;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--c-phos); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.header__nav a:hover::after { transform: scaleX(1); }
.header__cta { flex: none; }
.header__burger { display: none; width: 40px; height: 34px; flex-direction: column; justify-content: center; gap: 6px; margin-left: auto; }
.header__burger span { display: block; height: 2px; background: var(--c-phos); transition: transform .2s ease, opacity .2s ease; }
.header__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  .header__burger { display: flex; }
  .header__cta { display: none; }
  .header__nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--c-crt); border-bottom: 1px solid rgba(78,224,122,.32);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .header__nav.is-open { max-height: 340px; }
  .header__nav a { padding: 15px var(--gutter); border-top: 1px solid rgba(78,224,122,.16); }
  .header__nav a::after { content: none; }
  .header__nav a::before { content: "> "; color: var(--c-amber-hi); }
}

/* --------------------------------------------------------------------------
   6. ヒーロー
   -------------------------------------------------------------------------- */
.hero {
  padding: calc(var(--header-h) + 44px) 0 60px;
  background: var(--c-paper);
  background-image:
    repeating-linear-gradient(180deg, transparent 0 25px, rgba(120,140,105,.10) 25px 50px);
  border-bottom: 1px solid var(--c-rule);
}
@media (min-width: 900px) { .hero { padding: calc(var(--header-h) + 72px) 0 84px; } }

.hero__grid { display: grid; gap: 40px; }
.hero__grid > * { min-width: 0; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
}

.hero__eyebrowrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hero__label, .hero__pill {
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
  padding: 5px 10px; border: 1px solid var(--c-ink);
}
.hero__label { background: var(--c-ink); color: var(--c-paper); }
.hero__pill { background: var(--c-amber-hi); border-color: #201400; color: #201400; }

.hero__title {
  font-family: var(--f-mono);
  font-size: clamp(27px, 5.4vw, 46px);
  font-weight: 700; line-height: 1.42; letter-spacing: -.005em;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(transparent 58%, var(--c-bar-deep) 58%);
  box-shadow: inset 0 -2px 0 var(--c-amber);
}
.hero__lead { color: var(--c-ink-2); margin-bottom: 26px; max-width: 46ch; }
.hero__lead strong { color: var(--c-ink); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero__trust {
  font-family: var(--f-mono); font-size: 12.5px; color: var(--c-ink-3);
  border-top: 1px dashed var(--c-rule); padding-top: 12px;
}
.hero__trust::before { content: "-- "; }

/* 桁ルーラ（COBOL正書法） */
.hero__ruler {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .02em;
  color: var(--c-ink-3); margin-bottom: 12px;
  white-space: nowrap; overflow: hidden; max-width: 100%;
}
.hero__ruler b { color: var(--c-amber); font-weight: 600; }

/* CRT 端末 */
.crt {
  min-width: 0;
  background: var(--c-crt);
  border: 2px solid var(--c-ink);
  box-shadow: 8px 8px 0 var(--c-rule);
  overflow: hidden;
}
.crt__bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--c-crt-3); border-bottom: 1px solid rgba(78,224,122,.28);
  padding: 8px 12px;
  font-family: var(--f-mono); font-size: 11.5px; color: var(--c-phos-dim); letter-spacing: .06em;
}
.crt__dots { display: flex; gap: 5px; }
.crt__dots i { width: 9px; height: 9px; background: var(--c-phos-dim); display: block; }
.crt__dots i:nth-child(2) { background: var(--c-amber-hi); }
.crt__dots i:nth-child(3) { background: var(--c-red); }
.crt__screen {
  position: relative;
  padding: 16px 14px 18px;
  font-family: var(--f-mono);
  font-size: 11.5px; line-height: 1.75;
  color: var(--c-phos);
  white-space: pre;
  overflow-x: auto;
  text-shadow: 0 0 6px rgba(78,224,122,.35);
}
@media (min-width: 480px) { .crt__screen { font-size: 12.5px; } }
.crt__screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px);
}
.crt__screen .cm { color: var(--c-phos-dim); }
.crt__screen .kw { color: #eafff0; font-weight: 600; }
.crt__screen .st { color: var(--c-amber-hi); text-shadow: 0 0 6px rgba(255,176,0,.35); }
.crt__screen .ok { color: #eafff0; }
.crt__cursor { display: inline-block; width: .6em; height: 1em; background: var(--c-phos); vertical-align: -.14em; animation: blink 1.15s step-end infinite; }
@media (prefers-reduced-motion: reduce) { .crt__cursor { animation: none; } }

.hero__caption {
  font-family: var(--f-mono); font-size: 11.5px; color: var(--c-ink-3);
  margin-top: 12px; padding-left: 2px;
}

/* 数値ストリップ */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: 48px; background: var(--c-rule); border: 1px solid var(--c-rule);
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--c-paper); padding: 18px 16px; text-align: center; }
.stat b {
  display: block; font-family: var(--f-mono); font-size: clamp(22px, 3.6vw, 30px);
  font-weight: 700; line-height: 1.2; color: var(--c-ink);
}
.stat b small { font-size: .5em; font-weight: 600; margin-left: 1px; color: var(--c-amber); }
.stat span { font-family: var(--f-mono); font-size: 11.5px; color: var(--c-ink-3); letter-spacing: .06em; }

/* --------------------------------------------------------------------------
   7. Problem
   -------------------------------------------------------------------------- */
.problems { display: grid; gap: 1px; background: var(--c-rule); border: 1px solid var(--c-rule); }
@media (min-width: 700px)  { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .problems { grid-template-columns: repeat(3, 1fr); } }

.problem { background: var(--c-paper); padding: 24px 22px; transition: background-color .18s ease; }
.problem:nth-child(even) { background: var(--c-bar); }
.problem:hover { background: var(--c-bar-deep); }
.problem__no {
  display: inline-block; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; color: var(--c-paper); background: var(--c-ink);
  padding: 2px 8px; margin-bottom: 12px;
}
.problem p { font-size: 14.5px; color: var(--c-ink-2); }
.problem strong { color: var(--c-ink); }

.problem__answer {
  margin-top: 30px; padding: 22px;
  border: 2px solid var(--c-ink); background: var(--c-paper);
  box-shadow: 5px 5px 0 var(--c-rule);
  font-size: 15.5px;
}
.problem__answer::before {
  content: "*> ANSWER"; display: block; font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: .14em; color: var(--c-amber); margin-bottom: 8px;
}
.problem__answer strong { background: linear-gradient(transparent 60%, rgba(168,106,0,.28) 60%); }

/* --------------------------------------------------------------------------
   8. カード（Outcome）
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: 18px; }
@media (min-width: 700px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--c-paper);
  border: 1px solid var(--c-rule);
  border-left: 4px solid var(--c-ink);
  padding: 22px 20px;
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--c-rule); }
.card__title {
  font-family: var(--f-mono); font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.6;
}
.card__meta {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--c-amber); margin-bottom: 6px;
}
.card p { font-size: 14px; color: var(--c-ink-2); }
.card strong { color: var(--c-ink); }
.card--accent { background: var(--c-crt); border-color: var(--c-crt); border-left-color: var(--c-amber-hi); color: var(--c-phos-soft); }
.card--accent .card__title { color: #eafff0; }
.card--accent .card__meta { color: var(--c-amber-hi); }
.card--accent p { color: var(--c-phos-soft); }
.card--accent strong { color: #fff; }

/* --------------------------------------------------------------------------
   9. Features
   -------------------------------------------------------------------------- */
.features { display: grid; gap: 22px; }
@media (min-width: 940px) { .features { grid-template-columns: repeat(3, 1fr); } }

.feature { border: 1px solid rgba(78,224,122,.3); background: var(--c-crt-2); padding: 26px 22px; }
.feature__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.feature__num {
  font-family: var(--f-mono); font-size: 30px; font-weight: 700; line-height: 1;
  color: var(--c-amber-hi);
}
.feature__icon {
  font-family: var(--f-mono); font-size: 22px; line-height: 1; color: var(--c-phos);
  border: 1px solid rgba(78,224,122,.4); width: 44px; height: 44px;
  display: grid; place-items: center;
}
.feature__title { font-family: var(--f-mono); font-size: 16px; font-weight: 700; line-height: 1.65; margin-bottom: 12px; color: #eafff0; }
.feature p { font-size: 14px; color: var(--c-phos-soft); }
.feature strong { color: var(--c-amber-hi); }

/* --------------------------------------------------------------------------
   10. アコーディオン（カリキュラム / FAQ）
   -------------------------------------------------------------------------- */
.accordion { border: 1px solid var(--c-rule); background: var(--c-paper); }
.acc + .acc { border-top: 1px solid var(--c-rule-2); }
.acc:nth-child(even) .acc__head { background: var(--c-bar); }
.acc.is-open .acc__head { background: var(--c-ink); color: var(--c-paper); }
.acc.is-open .acc__ch { background: var(--c-amber-hi); color: #201400; }
.acc.is-open .acc__time { color: var(--c-paper); }

.acc__head {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; text-align: left; font-family: var(--f-mono);
  transition: background-color .16s ease, color .16s ease;
}
.acc__head:hover { background: var(--c-bar-deep); }
.acc.is-open .acc__head:hover { background: #2b3226; }
.acc__ch {
  flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  background: var(--c-rule-2); color: var(--c-ink); padding: 3px 8px;
}
.acc__ttl { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.6; }
.acc__time { flex: none; font-size: 11.5px; color: var(--c-ink-3); }
.acc__icon { flex: none; position: relative; width: 16px; height: 16px; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: currentColor; transition: transform .2s ease;
}
.acc__icon::before { inset: 7px 0 auto 0; height: 2px; }
.acc__icon::after  { inset: 0 7px auto 7px; width: 2px; height: 16px; }
.acc.is-open .acc__icon::after { transform: scaleY(0); }

.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.acc.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p, .acc__body ul { padding: 0 18px; font-size: 14px; color: var(--c-ink-2); }
.acc.is-open .acc__body p { padding: 16px 18px 20px; }
.acc.is-open .acc__body ul { padding: 16px 18px 20px; }
.acc__body ul li { position: relative; padding-left: 18px; }
.acc__body ul li::before { content: "\2022"; position: absolute; left: 4px; color: var(--c-amber); }
.acc__body .acc__out {
  display: inline-block; margin-top: 10px; font-family: var(--f-mono); font-size: 11.5px;
  color: var(--c-amber); border: 1px dashed var(--c-amber); padding: 3px 8px;
}
@media (max-width: 560px) {
  .acc__head { flex-wrap: wrap; gap: 8px 10px; }
  .acc__ttl { flex-basis: 100%; order: 3; }
  .acc__time { margin-left: auto; }
}

/* 週の見出し */
.weekhead {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: var(--f-mono); margin: 34px 0 10px;
  border-bottom: 2px solid var(--c-ink); padding-bottom: 8px;
}
.weekhead:first-of-type { margin-top: 0; }
.weekhead b { font-size: 14px; letter-spacing: .1em; background: var(--c-ink); color: var(--c-paper); padding: 3px 10px; }
.weekhead span { font-size: 13px; color: var(--c-ink-2); }
.weekhead em { font-style: normal; margin-left: auto; font-size: 12px; color: var(--c-ink-3); }

/* --------------------------------------------------------------------------
   11. Tech
   -------------------------------------------------------------------------- */
.tech { display: grid; gap: 24px; }
@media (min-width: 900px) { .tech { grid-template-columns: 1fr 1fr; gap: 32px; } }
.tech__col { border: 1px solid var(--c-rule); background: var(--c-paper); padding: 24px 22px; }
.tech__h {
  font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: .06em;
  padding-bottom: 10px; margin-bottom: 16px; border-bottom: 2px solid var(--c-ink);
}
.tech__h--use::before  { content: "[ USE ] "; color: var(--c-amber); }
.tech__h--avoid::before{ content: "[ N/A ] "; color: var(--c-red); }
.tech__list li { display: grid; gap: 2px; padding: 11px 0 11px 22px; position: relative; border-bottom: 1px dotted var(--c-rule-2); }
.tech__list li::before { content: "\25B8"; position: absolute; left: 2px; top: 11px; color: var(--c-amber); }
.tech__list--avoid li::before { content: "\00D7"; color: var(--c-red); }
.tech__list b { font-family: var(--f-mono); font-size: 14px; overflow-wrap: anywhere; }
.tech__list span { font-size: 13px; color: var(--c-ink-2); line-height: 1.7; }
.tech__note { margin-top: 16px; font-size: 13px; color: var(--c-ink-2); background: var(--c-bar); padding: 12px 14px; border-left: 3px solid var(--c-amber); }

/* --------------------------------------------------------------------------
   12. 対象者 / チェックリスト / 表
   -------------------------------------------------------------------------- */
.target { display: grid; gap: 24px; }
@media (min-width: 900px) { .target { grid-template-columns: 1fr 1fr; gap: 32px; } }
.target__box { border: 1px solid var(--c-rule); background: var(--c-paper); padding: 24px 22px; }
.target__box h3 {
  font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: .06em;
  padding-bottom: 10px; margin-bottom: 16px; border-bottom: 2px solid var(--c-ink);
}
.checklist li { position: relative; padding: 10px 0 10px 30px; font-size: 14px; color: var(--c-ink-2); border-bottom: 1px dotted var(--c-rule-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 15px; height: 15px;
  border: 1.5px solid var(--c-ink);
}
.checklist li::after {
  content: ""; position: absolute; left: 4px; top: 17px; width: 7px; height: 4px;
  border-left: 2px solid var(--c-amber); border-bottom: 2px solid var(--c-amber);
  transform: rotate(-45deg);
}

.reqtable { font-size: 14px; }
.reqtable th, .reqtable td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--c-rule-2); }
.reqtable tr:nth-child(even) { background: var(--c-bar); }
.reqtable th { font-weight: 500; color: var(--c-ink-2); width: 58%; }
.reqtable td { font-family: var(--f-mono); font-size: 13px; }
@media (min-width: 480px) { .reqtable td { white-space: nowrap; } }
.reqtable td.ok { color: var(--c-amber); font-weight: 700; }
.reqtable td.ok::before { content: "\2713 "; }

/* --------------------------------------------------------------------------
   13. Goals
   -------------------------------------------------------------------------- */
.goals { counter-reset: g; display: grid; gap: 1px; background: var(--c-rule); border: 1px solid var(--c-rule); }
.goals li {
  counter-increment: g; background: var(--c-paper);
  position: relative; padding: 16px 20px 16px 62px; font-size: 14.5px; color: var(--c-ink-2);
}
.goals li:nth-child(even) { background: var(--c-bar); }
.goals li::before {
  content: counter(g, decimal-leading-zero);
  position: absolute; left: 20px; top: 16px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--c-amber);
}
.goals strong { color: var(--c-ink); background: linear-gradient(transparent 62%, rgba(168,106,0,.22) 62%); }

.moreline {
  margin-top: 22px; font-size: 13.5px; color: var(--c-ink-2);
  border: 1px dashed var(--c-rule); padding: 14px 16px; background: var(--c-paper);
}
.moreline a { font-family: var(--f-mono); font-weight: 600; color: var(--c-ink); text-underline-offset: 4px; }
.moreline a::after { content: " \2197"; color: var(--c-amber); }

/* --------------------------------------------------------------------------
   14. Pricing（3ヶ月コースのみ）
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: 24px; }
@media (min-width: 900px) { .plans { grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; } }

.plan {
  background: var(--c-paper); border: 2px solid var(--c-ink);
  box-shadow: 7px 7px 0 var(--c-rule); padding: 28px 26px;
}
.plan__pill {
  display: inline-block; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; background: var(--c-ink); color: var(--c-paper); padding: 4px 10px; margin-bottom: 14px;
}
.plan__name { font-family: var(--f-mono); font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.plan__sub { font-size: 13px; color: var(--c-ink-3); margin-bottom: 18px; font-family: var(--f-mono); }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 14px 0 6px; border-top: 1px solid var(--c-rule-2); }
.plan__num { font-family: var(--f-mono); font-size: clamp(32px, 6vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.plan__unit { font-family: var(--f-mono); font-size: 13px; color: var(--c-ink-3); }
.plan__desc { font-size: 14px; color: var(--c-ink-2); margin: 12px 0 20px; }
.plan__rows { margin: 16px 0 20px; border-top: 1px solid var(--c-rule-2); }
.plan__rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dotted var(--c-rule-2); font-size: 13.5px; }
.plan__rows dt { color: var(--c-ink-2); }
.plan__rows dd { font-family: var(--f-mono); font-weight: 600; text-align: right; }
.plan__total { background: var(--c-bar); margin: 0 -10px; padding-inline: 10px !important; }
.plan__total dd { color: var(--c-amber); }

.plan__incl { border: 1px solid var(--c-rule); background: var(--c-paper); padding: 24px 22px; }
.plan__incl h3 {
  font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: .06em;
  padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--c-ink);
}

/* --------------------------------------------------------------------------
   15. Booking
   -------------------------------------------------------------------------- */
.booking { border: 1px solid rgba(78,224,122,.34); background: var(--c-crt-2); }
.booking__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 18px; background: var(--c-crt-3);
  border-bottom: 1px solid rgba(78,224,122,.28); font-family: var(--f-mono);
}
.booking__bar b { font-size: 13.5px; color: #eafff0; letter-spacing: .04em; }
.booking__bar span { font-size: 12px; color: var(--c-phos-dim); }

.timerex-slot { min-height: 300px; padding: 18px; background: #fff; }
.timerex-placeholder { border: 1px dashed var(--c-rule); background: var(--c-paper); padding: 40px 20px; text-align: center; }
.timerex-placeholder__title { font-family: var(--f-mono); font-weight: 700; margin-bottom: 8px; color: var(--c-ink); }
.timerex-placeholder__text { font-size: 13px; color: var(--c-ink-2); }
/* TimeRex 標準のティールグリーン（#26A69A）は本LPのフォスファーグリーン系と
   同系色のため、色相フィルターはかけていません。 */

.booking__steps { padding: 20px 18px; border-top: 1px solid rgba(78,224,122,.22); }
.steps__title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--c-phos); margin-bottom: 12px; }
.steps { display: grid; gap: 10px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.steps li {
  counter-increment: s; position: relative; padding: 12px 14px 12px 44px;
  border: 1px solid rgba(78,224,122,.28); font-size: 13.5px; color: var(--c-phos-soft);
}
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 14px; top: 12px;
  font-family: var(--f-mono); font-weight: 700; color: var(--c-amber-hi);
}
.booking__note { padding: 0 18px 18px; }
.booking__cta {
  font-family: var(--f-mono); font-size: 13px; color: var(--c-phos); text-underline-offset: 4px;
}
.booking__cta::after { content: " \2197"; }
.booking__fineprint { padding: 0 18px 20px; font-size: 12.5px; color: var(--c-phos-dim); }

/* --------------------------------------------------------------------------
   16. フッター / 追従CTA
   -------------------------------------------------------------------------- */
.footer { background: var(--c-crt); color: var(--c-phos-soft); border-top: 1px solid rgba(78,224,122,.3); padding: 40px 0 90px; }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }
.footer__row { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
.footer__row--meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(78,224,122,.18); }
.footer__logo { font-family: var(--f-mono); font-weight: 700; letter-spacing: .1em; color: var(--c-phos); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
.footer__nav a, .footer__policy { font-family: var(--f-mono); font-size: 12.5px; color: var(--c-phos-soft); text-decoration: none; }
.footer__nav a:hover, .footer__policy:hover { color: var(--c-phos); text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { font-family: var(--f-mono); font-size: 12px; color: var(--c-phos-dim); }
.footer__policy { margin-left: auto; }

.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--c-crt); border-top: 1px solid rgba(78,224,122,.3);
  transform: translateY(110%); transition: transform .24s ease;
}
.stickycta.is-visible { transform: translateY(0); }
@media (min-width: 900px) { .stickycta { display: none; } }

/* --------------------------------------------------------------------------
   17. 下層ページ（修了評価）
   -------------------------------------------------------------------------- */
.pagehead {
  padding: calc(var(--header-h) + 48px) 0 44px;
  background: var(--c-paper-2);
  border-bottom: 1px solid var(--c-rule);
  background-image: repeating-linear-gradient(180deg, transparent 0 25px, rgba(120,140,105,.10) 25px 50px);
}
.crumb { font-family: var(--f-mono); font-size: 12px; color: var(--c-ink-3); margin-bottom: 20px; }
.crumb a { color: var(--c-ink-2); text-underline-offset: 3px; }
.crumb span { margin: 0 8px; }

.method { counter-reset: m; display: grid; gap: 1px; background: var(--c-rule); border: 1px solid var(--c-rule); }
.method li { counter-increment: m; background: var(--c-paper); padding: 20px 22px 20px 66px; position: relative; }
.method li:nth-child(even) { background: var(--c-bar); }
.method li::before {
  content: counter(m, decimal-leading-zero); position: absolute; left: 22px; top: 21px;
  font-family: var(--f-mono); font-weight: 700; font-size: 14px; color: var(--c-amber);
}
.method h3 { font-family: var(--f-mono); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.method p { font-size: 14px; color: var(--c-ink-2); }

.levels { display: grid; gap: 1px; background: var(--c-rule); border: 1px solid var(--c-rule); }
@media (min-width: 760px) { .levels { grid-template-columns: repeat(4, 1fr); } }
.level { background: var(--c-paper); padding: 22px 20px; }
.level--top { background: var(--c-crt); color: var(--c-phos-soft); }
.level__no { font-family: var(--f-mono); font-size: 34px; font-weight: 700; line-height: 1; color: var(--c-amber); }
.level--top .level__no { color: var(--c-amber-hi); }
.level__name { font-family: var(--f-mono); font-size: 17px; font-weight: 700; margin: 8px 0 10px; }
.level--top .level__name { color: #eafff0; }
.level p { font-size: 13.5px; color: var(--c-ink-2); }
.level--top p { color: var(--c-phos-soft); }

.judge { display: grid; gap: 22px; }
@media (min-width: 900px) { .judge { grid-template-columns: 1fr 1fr; gap: 28px; } }
.judge__col { border: 1px solid rgba(78,224,122,.3); padding: 24px 22px; }
.judge__col h3 { font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: .06em; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 2px solid rgba(78,224,122,.4); color: #eafff0; }
.judge__list li { padding: 9px 0 9px 22px; position: relative; font-size: 14px; border-bottom: 1px dotted rgba(78,224,122,.2); }
.judge__list li::before { content: "\25B8"; position: absolute; left: 2px; color: var(--c-phos); }
.judge__note { margin-top: 14px; font-size: 12.5px; color: var(--c-phos-dim); }
.judge__col--accent { border-color: rgba(255,176,0,.45); }
.judge__col--accent h3 { border-bottom-color: rgba(255,176,0,.5); }
.judge__big { font-family: var(--f-mono); font-size: clamp(19px, 3.4vw, 26px); font-weight: 700; line-height: 1.6; color: var(--c-amber-hi); }

.section--dark .target__box { background: var(--c-crt-2); border-color: rgba(78,224,122,.3); }
.section--dark .target__box h3 { color: #eafff0; border-bottom-color: rgba(78,224,122,.4); }
.section--dark .checklist li { color: var(--c-phos-soft); border-bottom-color: rgba(78,224,122,.18); }
.section--dark .checklist li::before { border-color: var(--c-phos); }
.section--dark .checklist li::after { border-color: var(--c-amber-hi); border-top: 0; border-right: 0; }

/* --------------------------------------------------------------------------
   18. スクロールリビール
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .acc__body { transition: none; }
}

/* 印刷 */
@media print {
  .header, .stickycta, .booking, .btn { display: none !important; }
  body { background: #fff; }
  .section { padding: 20px 0; }
}
