/* =========================================================
   LPデザインの型「ロゴ透かし」
   元: VEER Lab（https://www.veer-lab.online/）の作り。
   写真がなくても成り立つように、ロゴを大きく薄く敷いた面と、英字の透かし見出しで見せる。
   色・書体はここ（:root）が正本。案件ごとの差し替えは :root と assets/logo.svg だけで済む。
   ========================================================= */
:root {
  /* 暗い面と見出しの色 */
  --navy: #2b2e3b;
  --navy-deep: #1e2130;
  --ink: #2f3245;
  /* 申込ボタン（ここだけ強い色） */
  --cta: #e6338a;
  --cta-deep: #c21f70;
  /* 英字ラベルの虹グラデーション（ロゴの色に合わせて差し替える） */
  --c1: #e6338a;
  --c2: #f2a51a;
  --c3: #7dc142;
  --c4: #2ea7e0;
  /* 金の強調（暗い面の一言） */
  --gold: linear-gradient(180deg, #f6e3a1, #d3a54a 60%, #b8862d);
  /* 番号・タブの塗り */
  --grad: linear-gradient(90deg, #2c3e7a, #5a2d55);
  --grad-cool: linear-gradient(90deg, #2c4a8a, #1aa3e0);

  --text: #4a4d5c;
  --muted: #8a8d99;
  --gray: #f3f4f6;
  --white: #fff;

  /* ロゴ透かしの濃さ（暗い面／明るい面） */
  --mark-dark: .16;
  --mark-light: .07;

  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Montserrat", "Noto Sans JP", sans-serif;
  --col: 1040px;
  --gutter: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--text); background: var(--white);
  line-height: 1.9; font-size: 15px; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.5; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } }

.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--col); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 40px; } body { font-size: 15.5px; } }

/* 見本だけの部品名札（本番では消す） */
.part-label {
  margin: 0; padding: 6px 12px; font: 700 11px/1.4 var(--sans); color: #fff; background: #555; letter-spacing: .02em;
  position: relative; z-index: 5;
}
.part-label b { display: inline-block; margin-right: 8px; padding: 0 6px; background: #000; border-radius: 3px; }
.part-label code { margin-left: 8px; padding: 0 6px; background: #777; border-radius: 3px; font-size: 11px; }

/* ---------- 申込ボタン ---------- */
.cta { margin: 32px 0 0; }
.cta--solo { margin: 40px auto; padding: 0 var(--gutter); max-width: var(--col); text-align: center; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 360px; min-height: 64px;
  padding: 12px 24px; background: var(--cta); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none;
  box-shadow: 0 6px 0 var(--cta-deep); transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.cta--solo .btn, .final .btn { margin: 0 auto; }
.btn::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: currentColor; -webkit-mask: var(--cal) center / contain no-repeat; mask: var(--cal) center / contain no-repeat;
  --cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2H3zm0 4h18v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm3 3v2h2v-2zm5 0v2h2v-2zm5 0v2h2v-2z'/%3E%3C/svg%3E");
}
.btn:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--cta-deep); }
.btn--big { max-width: 520px; min-height: 76px; font-size: 19px; }

/* ---------- 上部 ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 var(--gutter); transition: background .3s, box-shadow .3s;
}
.hd__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 800 18px/1 var(--en); }
.hd__logo img { width: 36px; height: 36px; }
.hd__cta { padding: 8px 14px; background: var(--cta); color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; }
.hd.is-fixed { background: rgba(255, 255, 255, .95); box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.hd.is-fixed .hd__logo { color: var(--ink); }

/* ---------- FV ---------- */
.fv {
  position: relative; overflow: hidden; min-height: clamp(640px, 100svh, 860px); display: flex; align-items: flex-end;
  padding: 120px 0 64px; background: var(--navy);
}
.fv__mark {
  position: absolute; right: -18%; top: 4%; width: 110%; max-width: none; opacity: var(--mark-dark); pointer-events: none;
}
.fv__deco {
  position: absolute; left: -4px; bottom: 6%; font: 900 clamp(64px, 16vw, 200px)/.9 var(--en); color: rgba(255, 255, 255, .05);
  letter-spacing: -.02em; pointer-events: none;
}
.fv__inner { color: #fff; }
.fv__tag { margin: 0 0 18px; }
.fv__tag span {
  display: inline-block; padding: 6px 30px; background: #fff; color: var(--navy); font-weight: 900; font-size: clamp(30px, 8vw, 54px);
  line-height: 1.2; letter-spacing: .1em; transform: skewX(-14deg); box-shadow: -10px 0 0 -4px var(--navy), -14px 0 0 -4px #fff;
}
.fv__title { color: #fff; font-weight: 700; font-size: clamp(28px, 7.4vw, 60px); line-height: 1.45; margin-bottom: 24px; text-wrap: balance; }
.fv__lead { font-size: 14.5px; line-height: 2; color: rgba(255, 255, 255, .9); max-width: 40em; }
@media (min-width: 768px) {
  .fv { align-items: center; }
  .fv__mark { right: -4%; top: -6%; width: auto; height: 112%; }
  .fv__lead { font-size: 15px; }
}

/* ---------- 共通の面 ---------- */
.sec { position: relative; overflow: hidden; padding: 72px 0; }
.sec--dark { background: var(--navy); color: rgba(255, 255, 255, .9); }
.sec--dark h2, .sec--dark h3, .sec--dark h4 { color: #fff; }
.sec--gray { background: var(--gray); }
.sec--glow {
  background:
    radial-gradient(ellipse 45% 35% at 12% 18%, rgba(242, 165, 26, .14), transparent 70%),
    radial-gradient(ellipse 45% 35% at 88% 30%, rgba(46, 167, 224, .14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 40% 70%, rgba(125, 193, 66, .12), transparent 70%),
    radial-gradient(ellipse 40% 30% at 70% 90%, rgba(230, 51, 138, .10), transparent 70%), #fff;
}
.sec__mark { position: absolute; right: -20%; top: 50%; width: 90%; max-width: 760px; transform: translateY(-50%); opacity: var(--mark-dark); pointer-events: none; }
.sec__mark--left { right: auto; left: -24%; }
.sec:not(.sec--dark) .sec__mark { opacity: var(--mark-light); }
@media (min-width: 768px) { .sec { padding: 104px 0; } }

/* 見出し：英字の虹ラベル＋うしろに大きく薄い英字 */
.ttl { position: relative; text-align: center; margin-bottom: 40px; }
.ttl::before {
  content: attr(data-en); position: absolute; left: 50%; top: -.42em; transform: translateX(-50%);
  font: 900 clamp(52px, 14vw, 110px)/1 var(--en); text-transform: uppercase; white-space: nowrap; letter-spacing: -.01em;
  color: rgba(43, 46, 59, .06); pointer-events: none; z-index: -1;
}
.sec--dark .ttl::before { color: rgba(255, 255, 255, .06); }
.ttl__en {
  display: inline-block; font: 800 14px/1 var(--en); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c4)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ttl h2 { font-size: clamp(24px, 6vw, 34px); font-weight: 900; }
.sub-catch { text-align: center; font-weight: 900; font-size: clamp(19px, 4.6vw, 26px); margin-bottom: 28px; }
.gold { font-style: normal; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- はじめに ---------- */
.statement__catch { text-align: center; font-size: clamp(22px, 5.6vw, 30px); font-weight: 700; margin-bottom: 36px; }
.statement__catch em { font-size: 1.2em; font-weight: 900; }
.statement__body { max-width: 44em; margin: 0 auto; line-height: 2.1; }
@media (min-width: 768px) { .statement__body { text-align: center; } }

/* ---------- タブ ---------- */
.tabs__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
.tabs__btn {
  position: relative; min-height: 56px; padding: 22px 6px 8px; border: 1px solid var(--ink); background: #fff;
  font-weight: 700; font-size: 13px; color: var(--ink); text-align: center; line-height: 1.3;
}
.tabs__btn i { position: absolute; left: 8px; top: 5px; font: 800 9px/1 var(--en); font-style: normal; text-align: left; }
.tabs__btn i b { display: block; font-size: 15px; }
.tabs__btn.is-on { background: var(--grad); color: #fff; border-color: transparent; }
.tabs--dark .tabs__btn.is-on { background: var(--grad-cool); }
.tabs__panel { display: none; }
.tabs__panel.is-on { display: grid; gap: 24px; animation: fadeUp .5s var(--ease); }
.tabs__text h4 { font-size: 22px; font-weight: 900; margin-bottom: 14px; }
.point { margin: 0; font: 800 14px/1 var(--en); background: linear-gradient(90deg, var(--c1), var(--c4)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.point b { display: block; font-size: 44px; line-height: 1.1; margin-bottom: 8px; }
@media (min-width: 768px) {
  .tabs__btn { min-height: 64px; font-size: 15px; padding: 14px 10px 14px 64px; }
  .tabs__btn i { top: 50%; transform: translateY(-50%); left: 12px; font-size: 10px; }
  .tabs__btn i b { font-size: 22px; }
  .tabs__panel.is-on { grid-template-columns: 5fr 6fr; gap: 40px; align-items: start; }
}

/* 写真の代わり：写真が無ければロゴの透かしが入った面になる */
.ph {
  position: relative; aspect-ratio: var(--r, 4 / 3); overflow: hidden; display: grid; place-items: end start; padding: 12px;
  background: var(--navy) url("logo.svg") center / 70% no-repeat; color: rgba(255, 255, 255, .5); font-size: 12px;
}
.ph::before { content: ""; position: absolute; inset: 0; background: rgba(43, 46, 59, .82); }
.ph > * , .ph { z-index: 0; }
.sec--dark .ph { background-color: var(--navy-deep); }
.sec--dark .ph::before { background: rgba(30, 33, 48, .78); }
.ph { isolation: isolate; }
.ph::before { z-index: -1; }

.dots li { position: relative; padding-left: 1.2em; margin-bottom: .3em; }
.dots li::before { content: ""; position: absolute; left: .2em; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 特長（左メニュー） ---------- */
.side { display: grid; gap: 20px; }
.side__menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.side__menu li {
  padding: 12px 8px; border: 1px solid var(--ink); background: #fff; color: var(--ink); text-align: center;
  font-weight: 700; font-size: 13px; cursor: pointer; line-height: 1.4;
}
.side__menu li.is-on { background: var(--grad); color: #fff; border-color: transparent; }
.side__item { display: none; }
.side__item.is-on { display: block; animation: fadeUp .5s var(--ease); }
.side__item h4 { font-size: 21px; font-weight: 900; margin: 14px 0 12px; }
.flag {
  display: inline-block; margin: 0; padding: 4px 22px 4px 16px; background: var(--navy-deep); color: #fff; font-weight: 700; font-size: 13px;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.flag b { font: 800 18px/1 var(--en); margin-left: 4px; }
@media (min-width: 768px) {
  .side { grid-template-columns: 220px 1fr; gap: 40px; }
  .side__menu { grid-template-columns: 1fr; align-content: start; gap: 8px; }
  .side__menu li { padding: 14px; font-size: 14px; }
}

/* ---------- ながれ ---------- */
.steps { max-width: 820px; margin: 0 auto; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; margin-bottom: 18px; }
.steps__no {
  display: grid; place-content: center; width: 64px; height: 64px; background: linear-gradient(160deg, #1a3f8a, #222a44); color: #fff;
  font: 800 10px/1 var(--en); text-align: center;
}
.steps__no b { display: block; font-size: 26px; margin-top: 3px; }
.steps h4 { font-size: 17px; font-weight: 900; }
.steps p { margin: 2px 0 0; font-size: 14px; }

/* ---------- 区切りの帯 ---------- */
.band {
  position: relative; height: clamp(160px, 34vw, 340px); overflow: hidden;
  background: var(--navy-deep) var(--bg, none) center / cover no-repeat;
}
.band::before { content: ""; position: absolute; inset: 0; background: rgba(43, 46, 59, .65); }
.band__mark { position: absolute; left: 50%; top: 50%; width: 60%; max-width: 520px; transform: translate(-50%, -50%) rotate(-8deg); opacity: .14; }

/* ---------- お客様の声 ---------- */
.voices { display: grid; gap: 40px 28px; }
@media (min-width: 768px) { .voices { grid-template-columns: 1fr 1fr; } }
.voice__from { margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.voice__name { padding: 8px 14px; background: var(--navy-deep); color: #fff; font-size: 15px; font-weight: 700; }
.voice__face {
  display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--gray);
}
.voice__face::before {
  content: attr(data-initial); display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c4)); color: #fff; font: 900 48px/1 var(--en);
}
.voice__face:has(img)::before { display: none; }
.voice__face img { width: 100%; height: 100%; object-fit: cover; }
.voice__when { margin: 6px 0 12px; text-align: right; font-size: 12px; color: var(--muted); }
.voice__title { padding-bottom: 8px; margin-bottom: 10px; border-bottom: 2px solid var(--navy-deep); font-size: 16px; font-weight: 900; }
.voice__text { font-size: 14px; }

/* ---------- 講師紹介 ---------- */
.prof { display: grid; gap: 28px; max-width: 880px; margin: 0 auto 32px; }
.prof__face {
  width: 180px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2);
}
.prof__face img { width: 70%; }
.prof__face img[src$=".jpg"], .prof__face img[src$=".png"], .prof__face img[src$=".webp"] { width: 100%; height: 100%; object-fit: cover; }
.prof__role { margin: 0 0 4px; font-size: 13px; color: var(--c2); font-weight: 700; }
.prof__name { font-size: 24px; font-weight: 900; margin-bottom: 14px; }
.prof__name span { display: block; font: 700 12px/1.4 var(--en); color: rgba(255, 255, 255, .5); letter-spacing: .1em; }
.prof__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.prof__nums li { padding: 12px 6px; border: 1px solid rgba(255, 255, 255, .2); text-align: center; color: #fff; font-size: 13px; }
.prof__nums b { font: 800 26px/1.2 var(--en); background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prof__nums span { display: block; font-size: 11px; color: rgba(255, 255, 255, .6); }
@media (min-width: 768px) { .prof { grid-template-columns: 220px 1fr; align-items: center; gap: 48px; } .prof__face { width: 220px; } }

/* ---------- 料金 ---------- */
.plans { display: grid; gap: 24px; max-width: 820px; margin: 0 auto; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.plan { position: relative; padding: 32px 24px 24px; background: #fff; border: 1px solid #d8dae2; text-align: center; }
.plan h4 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.plan__price { color: var(--ink); margin-bottom: 18px; }
.plan__price b { font: 800 clamp(30px, 8vw, 40px)/1.2 var(--en); }
.plan__price small { display: block; font-size: 12px; color: var(--muted); }
.plan .dots { text-align: left; display: inline-block; }
.plan--best { border: 2px solid var(--cta); box-shadow: 0 10px 30px rgba(230, 51, 138, .12); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0; padding: 3px 18px; background: var(--cta); color: #fff; font-weight: 700; font-size: 13px; }
.note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }

/* ---------- よくある質問 ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 40px 18px 40px; color: #fff; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 4px; top: 15px; font: 800 20px/1.2 var(--en); color: var(--c2); }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font: 400 24px/1 var(--en); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { position: relative; padding: 0 8px 18px 40px; margin: 0; }
.faq details p::before { content: "A"; position: absolute; left: 4px; top: -2px; font: 800 20px/1.2 var(--en); color: var(--c4); }

/* ---------- 最後の申込 ---------- */
.final { background: var(--navy-deep); text-align: center; }
.final .sec__mark { opacity: var(--mark-dark); right: auto; left: 50%; transform: translate(-50%, -50%); width: 80%; }
.final__title { color: #fff; font-size: clamp(20px, 5vw, 32px); font-weight: 900; margin-bottom: 20px; text-wrap: balance; }
.final__badge { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; }
.final__badge span { padding: 2px 12px; background: #fff; color: var(--cta); font-weight: 900; }

/* ---------- 下部 ---------- */
.ft { padding: 40px var(--gutter) 100px; background: #15171f; color: rgba(255, 255, 255, .7); text-align: center; font-size: 12px; }
.ft img { margin: 0 auto 8px; }
.ft__name { color: #fff; font: 800 16px/1 var(--en); }
.ft__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; }

/* 追従ボタン（スマホだけ・FVを過ぎたら出る） */
.float-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; padding: 14px; background: var(--cta); color: #fff;
  font-weight: 700; text-align: center; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.float-cta.is-show { transform: none; }
@media (min-width: 768px) { .float-cta { display: none; } }

/* ---------- 動き ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.stagger.is-in > *:nth-child(n+5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
