/* ===========================================================
   川崎学舎 2026 夏 オンライン作文講座［門野坂開校］ 特設LP
   実ページ抽出トークン基準：
     bg #ebeae7 / ink #2c2c2c / font Zen Kaku Gothic New / H2 54px
   コンポーネント：自動スライダー / インタビュー / YouTube / 写真主体
   =========================================================== */

:root {
  --bg:        #ebeae7;   /* グレージュ（実ページ抽出） */
  --bg-2:      #e4e2dc;
  --paper:     #f4f3f0;
  --ink:       #2c2c2c;   /* チャコール（実ページ抽出） */
  --ink-soft:  #6f6b64;
  --dark:      #222b33;   /* 暗セクション・フッター */
  --accent:    #2f5d50;   /* 深緑アクセント */
  --line:      #d3cfc7;
  --line-green:#5aa377;   /* CTA：緑を抑えたセージグリーン */
  --line-green-d:#4c8f66;
  --radius-media: clamp(20px, 3vw, 40px);  /* 画像・カードの角丸（実ページ準拠） */

  --maxw: 1200px;
  --sec: clamp(72px, 11vw, 150px);

  --ff: "Zen Kaku Gothic New", system-ui, sans-serif;
  --ff-en: "Cormorant Garamond", "Zen Kaku Gothic New", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  line-height: 2;
  font-weight: 400;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sec { padding: var(--sec) 0; position: relative; }
.sec--bg2  { background: var(--bg-2); }
.sec--dark { background: var(--dark); color: #f3f1ec; }

/* ---------- 見出し（英字大＋日本語、実ページの c-ttl-lv1 相当） ---------- */
.ttl { margin-bottom: clamp(40px, 6vw, 72px); }
.ttl--center { text-align: center; }
.ttl__en {
  display: block;
  font-family: var(--ff-en);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--accent);
}
.sec--dark .ttl__en { color: #cfe0d9; }
.ttl__jp {
  display: inline-block;
  margin-top: 14px;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  letter-spacing: .3em;
  padding-left: 2px;
}
.ttl__jp::before {
  content: ""; display: inline-block; width: 28px; height: 2px;
  background: var(--accent); vertical-align: middle; margin-right: 14px;
}
.sec--dark .ttl__jp::before { background: var(--line-green); }

/* ---------- CTAボタン（LINE緑） ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--line-green); color: #fff;
  font-weight: 700; font-size: 16px; letter-spacing: .08em;
  padding: 18px 40px; border-radius: 999px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 26px rgba(6,199,85,.25);
}
.btn:hover { background: var(--line-green-d); transform: translateY(-2px); }
.btn::after { content: "›"; font-size: 22px; line-height: 0; }
.btn--sm { padding: 12px 24px; font-size: 14px; box-shadow: none; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; transition: all .3s ease;
}
.header.is-scrolled { background: rgba(235,234,231,.92); padding: 12px 28px; box-shadow: 0 1px 14px rgba(0,0,0,.06); backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 26px; position: relative; flex: none; }
.brand__mark::before { content:""; position:absolute; inset:auto 0 2px 0; border-bottom:2px solid #c0392b; }
.brand__mark::after  { content:""; position:absolute; left:50%; top:2px; width:15px; height:15px; transform:translateX(-50%) rotate(45deg); border-top:2px solid #c0392b; border-right:2px solid #c0392b; }
.brand__name { font-size: 20px; font-weight: 900; letter-spacing: .12em; color: var(--ink); }
.header:not(.is-scrolled) .brand__name { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.brand__sub  { display:block; font-family: var(--ff-en); font-size: 11px; letter-spacing: .24em; color: var(--ink-soft); }
.header:not(.is-scrolled) .brand__sub { color: #e4e7ea; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 13px; font-weight: 700; letter-spacing: .12em; position: relative; }
.header:not(.is-scrolled) .nav__link { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.nav__link::after { content:""; position:absolute; left:0; bottom:-4px; width:0; height:2px; background: var(--line-green); transition: width .25s; }
.nav__link:hover::after { width: 100%; }
@media (max-width: 900px){ .nav__link:not(.btn){ display:none; } }

/* ---------- ヒーロー（グレージュ背景＋連続カードマーキー） ---------- */
.hero { background: var(--bg); position: relative; overflow: hidden; padding: 132px 0 76px; }
/* 左の縦書き英字ラベル（タン色） */
.hero__vlabel {
  position: absolute; left: 28px; top: 118px; z-index: 4;
  writing-mode: vertical-rl;
  background: #e2b48a; color: #fff;
  font-family: var(--ff-en); font-weight: 600; letter-spacing: .2em;
  font-size: 15px; padding: 20px 7px;
}
.hero__head { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 28px clamp(44px,6vw,64px); text-align: center; }
.hero__eyebrow {
  font-family: var(--ff-en); font-size: clamp(18px, 2.6vw, 28px); letter-spacing: .14em;
  font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 14px;
}
.hero__eyebrow b { font-family: var(--ff); font-size: 12px; font-weight: 700; letter-spacing: .12em; background: var(--line-green); color:#fff; padding: 5px 13px; border-radius: 999px; }
.hero__catch {
  margin-top: 16px;
  font-size: clamp(32px, 6.2vw, 74px);
  font-weight: 900; line-height: 1.32; letter-spacing: .04em; color: var(--ink);
}
.hero__catch .mk { color: var(--accent); }
.hero__catch .small { display:block; font-size: .3em; font-weight: 700; margin-top: 16px; letter-spacing: .12em; color: var(--ink-soft); }
.hero__sub { margin: 18px auto 0; max-width: 620px; font-size: clamp(14px,1.6vw,17px); color: var(--ink-soft); }
.hero__cta { margin-top: 30px; }
/* 連続スクロールのカードリボン */
.hero__ribbon {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.hero__track { display: flex; gap: 20px; width: max-content; animation: hero-marquee 64s linear infinite; }
.hero:hover .hero__track { animation-play-state: paused; }
.hero__card { flex: none; height: clamp(248px, 36vw, 452px); border-radius: clamp(40px, 5vw, 72px); overflow: hidden; }
.hero__card img { height: 100%; width: auto; max-width: none; display: block; object-fit: cover; }
@keyframes hero-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .hero__track { animation: none; } }
@media (max-width: 600px){ .hero__vlabel{ left:16px; top:100px; font-size:12px; padding:12px 5px; } }

/* ---------- リード ---------- */
.lead { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,6vw,84px); align-items: center; }
.lead__big { font-size: clamp(24px,3.8vw,42px); font-weight: 900; line-height: 1.7; letter-spacing: .04em; }
.lead__big .hl { background: linear-gradient(transparent 62%, #cfe1da 62%); }
.lead__p { margin-top: 26px; color: var(--ink-soft); font-size: 16px; }
.lead__p + .lead__p { margin-top: 14px; }
.lead__img { position: relative; }
.lead__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-media); }
.lead__img figcaption { position:absolute; right:-14px; bottom:-14px; background: var(--accent); color:#fff; font-size:12px; letter-spacing:.1em; padding:10px 18px; font-family: var(--ff-en); }
@media (max-width: 860px){ .lead{ grid-template-columns:1fr; } .lead__img img{ aspect-ratio:4/3; } }

/* ---------- 講座内容（ABOUT USカード型：角丸画像→英数ラベル→太字タイトル→説明） ---------- */
.levels { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(28px,4vw,52px); }
.level { background: transparent; }
.level__img { aspect-ratio: 1/1.02; border-radius: clamp(20px,2.6vw,28px); overflow: hidden; box-shadow: 0 18px 34px rgba(40,40,40,.10); }
.level__img img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.level:hover .level__img img { transform: scale(1.05); }
.level__rank { display:block; margin-top: 24px; font-family: var(--ff-en); font-size: 13px; letter-spacing: .2em; color: #b08d5a; font-weight: 600; }
.level__name { font-size: clamp(22px,2.5vw,27px); font-weight: 900; margin: 10px 0 10px; }
.level__name small { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-left: 8px; letter-spacing: .04em; }
.level__desc { color: var(--ink-soft); font-size: 15px; }
.level__meta { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.level__meta span { color: var(--ink-soft); font-weight: 400; font-size: 13px; }
@media (max-width: 860px){ .levels{ grid-template-columns:1fr; max-width: 460px; margin: 0 auto; } }

/* 受講要項を講座内容に吸収した情報ストリップ（同一トーン） */
.course-info { margin-top: clamp(44px,5.5vw,72px); display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.course-info > div { background: var(--paper); padding: 22px 26px; }
.course-info span { display:block; font-family: var(--ff-en); font-size: 12px; letter-spacing: .14em; color: var(--ink-soft); }
.course-info b { display:block; font-size: 19px; font-weight: 900; margin-top: 4px; }
.course-info b small { font-size: 12px; font-weight: 400; color: var(--ink-soft); }
@media (max-width: 700px){ .course-info{ grid-template-columns: 1fr 1fr; } }

/* ---------- インタビュー形式 ---------- */
.interview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,80px); align-items: center; }
.interview__imgs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.interview__imgs img { width:100%; height:100%; object-fit:cover; border-radius: clamp(16px,2vw,28px); }
.interview__imgs img:first-child { grid-column: 1 / 3; aspect-ratio: 16/9; }
.interview__imgs img:not(:first-child) { aspect-ratio: 1/1; }
.interview__catch { font-size: clamp(22px,2.8vw,32px); font-weight: 900; line-height: 1.7; margin-bottom: 22px; }
.interview__catch .hl { color: var(--accent); }
.interview__role { font-family: var(--ff-en); font-size: 13px; letter-spacing: .2em; color: var(--ink-soft); margin-bottom: 10px; }
.interview__p { color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.interview__name { margin-top: 24px; font-size: 14px; color: var(--ink-soft); }
.interview__name b { font-size: 20px; color: var(--ink); margin-left: 8px; }
@media (max-width: 860px){ .interview{ grid-template-columns:1fr; } }

/* ---------- About（受講要項を内包） ---------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px,6vw,80px); align-items: start; }
.about.reverse .about__img { order: 2; }
.about__img img { width:100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-media); }
.spec { width: 100%; border-collapse: collapse; }
.spec tr { border-bottom: 1px solid rgba(255,255,255,.16); }
.spec th, .spec td { text-align:left; padding: 18px 6px; vertical-align: top; }
.spec th { width: 150px; font-family: var(--ff-en); font-size: 12px; letter-spacing: .16em; color:#aeb6bd; font-weight:500; }
.spec th small { display:block; font-family: var(--ff); font-size:13px; color:#fff; margin-top:2px; letter-spacing:.06em; }
.spec td { font-size: 17px; font-weight: 700; }
.spec td .yen { font-family: var(--ff-en); font-size: 34px; font-weight: 600; }
.spec td .note { display:block; font-size:13px; font-weight:400; color:#aeb6bd; margin-top:4px; }
@media (max-width: 860px){ .about{ grid-template-columns:1fr; } .about.reverse .about__img{ order:0; } }

/* ---------- メッセージ ---------- */
.message { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,80px); align-items: center; }
.message__img img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius: var(--radius-media); }
.message__catch { font-size: clamp(22px,2.8vw,32px); font-weight: 900; line-height: 1.7; margin-bottom: 22px; }
.message__catch .hl { background: linear-gradient(transparent 62%, #cfe1da 62%); }
.message__p { color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.message__sign { margin-top: 26px; font-size: 14px; color: var(--ink-soft); }
.message__sign b { font-size: 20px; color: var(--ink); margin-left: 8px; }
@media (max-width: 860px){ .message{ grid-template-columns:1fr; } }

/* ---------- エントリー（全面写真＋白角丸カード） ---------- */
.entry-sec { position: relative; padding: clamp(80px,11vw,150px) 0; background: var(--dark); overflow: hidden; }
.entry-sec__bg { position: absolute; inset: 0; }
.entry-sec__bg img { width: 100%; height: 100%; object-fit: cover; }
.entry-sec__bg::after { content:""; position:absolute; inset:0; background: rgba(20,28,36,.5); }
.entrycard { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; background:#fff; border-radius: clamp(24px,3vw,34px); padding: clamp(40px,5vw,68px) clamp(26px,5vw,72px); box-shadow: 0 30px 64px rgba(0,0,0,.24); text-align: center; }
.entrycard__tab { display:inline-block; background:#c9a06a; color:#fff; font-family: var(--ff-en); font-weight:600; letter-spacing:.22em; font-size:13px; padding:7px 22px; }
.entrycard__title { font-size: clamp(30px,4.6vw,52px); font-weight:900; letter-spacing:.06em; margin: 16px 0 0; }
.entrycard__flex { display:grid; grid-template-columns:1fr 1fr; margin-top: clamp(30px,4vw,48px); }
.entrycard__col { padding: 4px clamp(20px,3vw,40px); }
.entrycard__col + .entrycard__col { border-left:1px solid var(--line); }
.entrycard__col h4 { font-size:18px; font-weight:900; margin-bottom:18px; }
.entrycard__col .btn { box-shadow:none; }
.entrycard__note { color: var(--ink-soft); font-size:14px; margin-bottom:18px; }
.entry-steps { text-align:left; display:grid; gap:12px; max-width: 320px; margin: 0 auto; }
.entry-steps li { list-style:none; display:flex; gap:12px; font-size:14px; color: var(--ink-soft); align-items:baseline; }
.entry-steps b { font-family: var(--ff-en); color: var(--line-green); font-weight:700; font-size:15px; }
.entrycard__divider { border:0; border-top:1px solid var(--line); margin: clamp(30px,4vw,44px) 0; }
.entrycard__bottom h4 { font-size:18px; font-weight:900; margin-bottom:10px; }
.entrycard__bottom p { color: var(--ink-soft); font-size:14px; }
.entrycard__deadline { display:inline-block; border:1px dashed var(--line-green); padding: 8px 22px; margin-top:14px; font-weight:700; letter-spacing:.04em; }
.entrycard__deadline span { color: var(--line-green); font-family: var(--ff-en); font-size:20px; margin:0 6px; }
@media (max-width: 760px){ .entrycard__flex{ grid-template-columns:1fr; } .entrycard__col + .entrycard__col{ border-left:0; border-top:1px solid var(--line); margin-top:24px; padding-top:28px; } }

/* ---------- YouTube（角丸の白1枠：左テキスト＋右画像） ---------- */
.youtube { display: grid; grid-template-columns: .82fr 1.18fr; background:#fff; border-radius: clamp(24px,3vw,30px); overflow:hidden; box-shadow: 0 18px 44px rgba(0,0,0,.07); }
.youtube__txt { padding: clamp(30px,4.4vw,60px); }
.youtube__txt h3 { font-size: clamp(22px,3vw,30px); font-weight:900; line-height:1.5; margin-bottom: 16px; }
.youtube__txt p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.youtube__btn { display:inline-flex; align-items:center; gap:10px; background:#ff0033; color:#fff; font-weight:700; padding: 14px 28px; border-radius: 999px; letter-spacing:.04em; transition: transform .25s; }
.youtube__btn:hover { transform: translateY(-2px); }
.youtube__btn::before { content:"▶"; font-size: 12px; }
.youtube__media { position: relative; min-height: 300px; background:#1a2128; }
.youtube__media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.youtube__media::after { content:""; position:absolute; inset:0; background:rgba(20,28,36,.28); }
.youtube__play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:2; width:76px; height:76px; border-radius:999px; background:#ff0033; color:#fff; display:flex; align-items:center; justify-content:center; font-size:24px; box-shadow:0 8px 24px rgba(0,0,0,.3); transition: transform .25s; }
.youtube__play:hover { transform:translate(-50%,-50%) scale(1.08); }
@media (max-width: 860px){ .youtube{ grid-template-columns:1fr; } .youtube__media{ min-height: 220px; order:-1; } }

/* ---------- フッター ---------- */
.footer { background: #1a2128; color:#fff; }
.footer__band { position: relative; }
.footer__band img { width:100%; height: 240px; object-fit: cover; filter: brightness(.48); }
.footer__band p { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center; font-size: clamp(18px,2.6vw,28px); font-weight: 900; letter-spacing:.1em; padding: 0 20px; }
.footer__main { padding: 50px 0 28px; }
.footer__grid { display:flex; justify-content:space-between; flex-wrap:wrap; gap:30px; align-items:flex-start; }
.footer__brand p { color:#9aa2ab; font-size: 13px; margin-top: 14px; line-height: 1.9; }
.footer__nav { display:flex; gap: 36px; flex-wrap:wrap; }
.footer__nav a { color:#c5ccd2; font-size:13px; font-weight:700; letter-spacing:.08em; }
.footer__nav a:hover { color: var(--line-green); }
.footer__copy { margin-top: 38px; border-top:1px solid rgba(255,255,255,.1); padding-top: 18px; color:#6b7681; font-size:12px; letter-spacing:.08em; }

/* ---------- 追従CTA（モバイル） ---------- */
.sticky { position: fixed; left:0; right:0; bottom:0; z-index: 70; display:none; padding: 12px 16px; background: rgba(34,43,51,.96); }
.sticky .btn { width: 100%; justify-content: center; box-shadow:none; }
@media (max-width: 900px){ .sticky{ display:block; } body{ padding-bottom: 72px; } }

/* ---------- スクロールアニメ（実ページ fade-up / fade-in 相当） ---------- */
.fade { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .fade{ opacity:1; transform:none; transition:none; } .hero__slide{ transition: opacity .8s ease; transform:none; } }

/* =========================================================
   サブページ（作文講座の魅力 about.html）／実ページ /about テンプレ準拠
   ========================================================= */
/* ページタイトル帯 */
.page-title { background: var(--bg-2); padding: clamp(130px,16vw,180px) 0 clamp(56px,7vw,80px); text-align: center; }
.page-title__en { display:block; font-family: var(--ff-en); font-size: clamp(48px,9vw,98px); line-height: 1; font-weight: 600; color: var(--accent); }
.page-title__jp { display:block; margin-top: 12px; font-size: clamp(18px,2.4vw,24px); font-weight: 900; letter-spacing: .12em; }
.page-title__crumb { margin-top: 20px; font-size: 12px; letter-spacing: .1em; color: var(--ink-soft); font-family: var(--ff-en); }
.page-title__crumb a:hover { color: var(--accent); }

/* 導入リード */
.intro { text-align: center; max-width: 760px; margin: 0 auto; }
.intro__catch { font-size: clamp(24px,3.6vw,40px); font-weight: 900; line-height: 1.7; letter-spacing: .03em; }
.intro__catch .hl { background: linear-gradient(transparent 62%, #cfe1da 62%); }
.intro__p { margin-top: 24px; color: var(--ink-soft); font-size: 16px; }

/* 番号付きポイント（左右交互） */
.points { display: grid; gap: clamp(48px,7vw,90px); }
.point { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,72px); align-items: center; }
.point:nth-child(even) .point__img { order: 2; }
.point__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-media); box-shadow: 0 18px 34px rgba(40,40,40,.10); }
.point__num { font-family: var(--ff-en); font-size: clamp(40px,5.5vw,68px); font-weight: 600; line-height: 1; color: #b08d5a; }
.point__title { font-size: clamp(22px,2.8vw,32px); font-weight: 900; line-height: 1.5; margin: 8px 0 16px; }
.point__title .mk { color: var(--accent); }
.point__desc { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 860px){ .point{ grid-template-columns:1fr; } .point:nth-child(even) .point__img{ order:0; } }

/* ベネフィット（画像＋短いキャッチのタイル：こだわり型） */
.benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2vw,26px); }
.benefit { position: relative; border-radius: clamp(16px,2vw,24px); overflow: hidden; aspect-ratio: 4/3; }
.benefit img { width:100%; height:100%; object-fit: cover; transition: transform .6s ease; }
.benefit:hover img { transform: scale(1.05); }
.benefit__catch { position:absolute; inset: auto 0 0 0; padding: 46px 22px 20px; background: linear-gradient(transparent, rgba(20,28,36,.85)); color:#fff; text-align:left; }
.benefit__catch b { font-family: var(--ff-en); font-size: 12px; letter-spacing: .16em; color:#e6cd9e; font-weight: 600; }
.benefit__catch h4 { font-size: clamp(17px,1.9vw,20px); font-weight: 900; margin-top: 4px; line-height: 1.4; }
@media (max-width: 860px){ .benefits{ grid-template-columns:1fr 1fr; } }
@media (max-width: 560px){ .benefits{ grid-template-columns:1fr; } }

/* サブページのCTA帯 */
.cta-band { text-align: center; }
.cta-band__big { font-size: clamp(24px,3.4vw,38px); font-weight: 900; line-height: 1.5; margin-bottom: 26px; }
