/* 132 SCARLET LINE GOLF ACADEMY — K10 ポスター（巨大な文字の面で区切る）。形＝スマホのまま横に延長。
   色と書体は共通の13変数だけ。面の色が変わる所は .t-* クラスが同じ名前の変数を上書きする。GSAP は使わない */
:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f6f3f4;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #141214;
  --c-accent: #e5002d;
  --c-accent-text: #b8001f;
  --c-on-accent: #ffffff;
  --c-2: #ff9eb5;
  --font-ja: "Murecho", sans-serif;
  --font-head: "Murecho", sans-serif;
  --font-en: "Barlow Condensed", "Murecho", sans-serif;
  --header-h: 64px;
  --slant: clamp(24px, 6vw, 80px);
  --ease: cubic-bezier(.2, .9, .2, 1);
}
.t-white { --c-bg: #ffffff; --c-bg-alt: #f6f3f4; --c-text: #374151; --c-sub: #4b5563; --c-line: #141214; --c-accent: #e5002d; --c-accent-text: #b8001f; --c-on-accent: #ffffff; }
.t-black { --c-bg: #141214; --c-bg-alt: #262226; --c-text: #f3eef0; --c-sub: #d6cdd1; --c-line: #ff9eb5; --c-accent: #e5002d; --c-accent-text: #ff9eb5; --c-on-accent: #ffffff; }
.t-red   { --c-bg: #e5002d; --c-bg-alt: #b8001f; --c-text: #ffffff; --c-sub: #ffffff; --c-line: #ffffff; --c-accent: #ffffff; --c-accent-text: #ffffff; --c-on-accent: #b8001f; }
.t-pink  { --c-bg: #ffcfdb; --c-bg-alt: #ffe6ec; --c-text: #141214; --c-sub: #3b3438; --c-line: #141214; --c-accent: #e5002d; --c-accent-text: #9a001a; --c-on-accent: #ffffff; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-ja); font-size: 16px; line-height: 1.9; overflow-x: clip; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }

/* ヘッダー */
.header { position: sticky; top: 0; z-index: 30; background: var(--c-bg); color: var(--c-text); border-bottom: 3px solid var(--c-accent); }
.header__inner { height: var(--header-h); padding: 0 20px; display: flex; align-items: center; gap: 12px; position: relative; max-width: 1440px; margin: 0 auto; }
.logo { text-decoration: none; display: flex; align-items: center; gap: 10px; min-height: 44px; white-space: nowrap; flex: none; margin-right: auto; }
.logo__mark { width: 26px; height: 26px; background: var(--c-accent); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.logo__en { font-family: var(--font-en); font-weight: 800; font-size: 26px; letter-spacing: .06em; line-height: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; background: var(--c-accent); color: var(--c-on-accent); font-weight: 900; text-decoration: none; white-space: nowrap; flex: none; border: 3px solid var(--c-accent); }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.btn--wide { width: 100%; white-space: normal; text-align: center; margin-top: 28px; }
.header__btn { display: none; }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 26px; height: 4px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -9px; } .spmenu__bar::after { top: 9px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; right: 0; top: 100%; width: min(100%, 360px); background: var(--c-bg); border: 3px solid var(--c-accent); padding: 6px 24px 14px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; text-decoration: none; font-weight: 900; border-bottom: 1px solid var(--c-line); }

/* 共通 */
main > section { padding-bottom: calc(var(--slant) + 48px); }
.col { width: 100%; max-width: 600px; margin: 0 auto; padding: 0 20px; }
.en { font-family: var(--font-en); font-weight: 800; font-size: 18px; letter-spacing: .14em; color: var(--c-accent-text); margin-bottom: 12px; }
.h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(32px, 8.6vw, 52px); line-height: 1.25; margin-bottom: 20px; }
.poster.slant, .slant { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--slant) * -1); padding-top: calc(var(--slant) + 56px) !important; }

/* 0 メインビジュアル：斜めの3枚 */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; overflow: hidden; background: var(--c-bg); color: var(--c-text); padding-bottom: calc(var(--slant) + 28px); }
.cuts { position: absolute; inset: 0; display: flex; }
.cut { flex: 1 1 0; position: relative; overflow: hidden; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
.cut img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) contrast(1.08); transform: scale(var(--s)); transform-origin: var(--o); }
.cut--1 { --s: 1.7; --o: 36% 20%; --i: 0; }
.cut--2 { --s: 1.45; --o: 46% 50%; --i: 1; }
.cut--3 { --s: 1.7; --o: 52% 92%; --i: 2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, color-mix(in srgb, var(--c-bg) 92%, transparent) 0%, color-mix(in srgb, var(--c-bg) 55%, transparent) 55%, transparent 100%); pointer-events: none; }
.hero__body { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 28px 20px 0; }
.hero .en { color: var(--c-text); }
.hero__title { font-family: var(--font-en); font-weight: 800; font-size: clamp(76px, min(26vw, 25svh), 280px); line-height: .88; letter-spacing: -.01em; margin-bottom: 18px; text-transform: uppercase; }
.hero__lead { font-weight: 900; font-size: clamp(17px, 4.4vw, 24px); margin-bottom: 24px; color: var(--c-text); }
.is-motion .cut { animation: rise .8s var(--ease) calc(var(--i) * .14s) backwards; }
@keyframes rise { from { clip-path: polygon(8% 100%, 100% 100%, 92% 100%, 0 100%); } to { clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); } }

/* ポスターの面 */
.poster { background: var(--c-bg); color: var(--c-text); padding-top: 56px; }
.poster--nums { padding-top: 0; }
.poster > .en, .giant { max-width: 1440px; margin-left: auto; margin-right: auto; padding: 0 20px; }
.giant { font-family: var(--font-head); font-weight: 900; font-size: clamp(44px, 12.4vw, 190px); line-height: 1.12; margin-bottom: 28px; color: var(--c-text); }
.giant--sm { font-size: clamp(40px, 10.4vw, 160px); }
.poster .col p { font-size: 17px; }
.nums { max-width: 1440px; margin: 0 auto; }
.nums li { display: flex; align-items: center; gap: 22px; padding: 14px 20px; border-top: 3px solid var(--c-line); }
.nums__n { font-family: var(--font-en); font-weight: 800; font-size: clamp(130px, 30vw, 340px); line-height: .82; color: var(--c-accent-text); flex: 0 0 .56em; }
.nums span { font-weight: 900; font-size: clamp(17px, 2.6vw, 28px); line-height: 1.6; max-width: 18em; }

/* 3 B04 小窓 */
.bay { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--c-bg); color: var(--c-text); padding-top: 56px; }
.bay__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 38%; filter: grayscale(1) contrast(1.15) brightness(.42); }
.bay__in { position: relative; width: 100%; max-width: 600px; margin: 0 auto; padding: 0 20px; }
.win { background: var(--c-bg-alt); border: 3px solid var(--c-accent); padding: 16px; }
.win svg { display: block; width: 100%; height: auto; background: var(--c-bg); }
.s-ref { stroke: var(--c-sub); stroke-width: 2; stroke-dasharray: 7 7; fill: none; }
.s-main { stroke: var(--c-accent); stroke-width: 6; stroke-linecap: round; fill: none; }
.s-dot { fill: var(--c-2); }
.pane__t { font-weight: 900; font-size: 20px; margin-top: 12px; color: var(--c-text); }
.pane__d { color: var(--c-sub); }
.pane + .pane { margin-top: 24px; }
.tabs { display: none; }
.is-js .tabs { display: flex; gap: 8px; margin-top: 14px; }
.is-js .pane { display: none; margin-top: 0; }
.is-js .pane.is-on { display: block; }
.is-motion .pane.is-on { animation: paneIn .35s var(--ease); }
@keyframes paneIn { from { opacity: 0; } to { opacity: 1; } }
.tabs button { flex: 1; min-height: 48px; background: transparent; color: var(--c-text); border: 3px solid var(--c-line); font: 900 16px/1 var(--font-ja); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }

/* 4 コース（scroll-snap） */
.course { background: var(--c-bg); color: var(--c-text); padding-top: 64px; }
.slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - 600px) / 2 + 20px)); padding: 6px max(20px, calc((100vw - 600px) / 2 + 20px)) 14px; -webkit-overflow-scrolling: touch; }
.ccard { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; border: 3px solid var(--c-line); background: var(--c-bg-alt); padding: 18px 18px 22px; }
.ccard__n { font-family: var(--font-en); font-weight: 800; font-size: 64px; line-height: 1; color: var(--c-accent-text); }
.ccard h3 { font-weight: 900; font-size: 22px; line-height: 1.4; margin: 8px 0 6px; }
.ccard p:last-child { color: var(--c-sub); }
.arrows { display: none; }
.is-js .arrows { display: flex; gap: 8px; margin-top: 12px; }
.arrow { min-width: 64px; min-height: 48px; background: var(--c-accent); color: var(--c-on-accent); border: 3px solid var(--c-accent); font: 900 20px/1 var(--font-ja); cursor: pointer; }

/* 5 声 */
.quotes { margin-top: 8px; }
.quotes li { border-top: 3px solid var(--c-line); padding: 16px 0 22px; }
.quotes li p:first-child { font-weight: 900; font-size: 20px; line-height: 1.7; }
.who { color: var(--c-sub); font-size: 15px; margin-top: 4px; }

/* 6 B08 料金（PCは左右を固定、中央だけ流れる） */
.price { background: var(--c-bg); color: var(--c-text); padding-top: 64px; }
.price__left, .price__right { display: none; }
.price__mid { max-width: 600px; margin: 0 auto; padding: 0 20px; }
.price__lead { margin-bottom: 20px; }
.plan { border-top: 3px solid var(--c-line); padding: 18px 0 34px; min-height: 260px; }
.plan__n { font-family: var(--font-en); font-weight: 800; font-size: 18px; letter-spacing: .14em; color: var(--c-accent-text); }
.plan h3 { font-weight: 900; font-size: 24px; line-height: 1.4; }
.plan__v { color: var(--c-text); font-weight: 900; margin: 4px 0 6px; white-space: nowrap; }
.plan__v b { font-family: var(--font-en); font-weight: 800; font-size: clamp(44px, 12.5vw, 72px); line-height: 1; letter-spacing: .01em; margin-right: 6px; }
.price__note { color: var(--c-sub); font-size: 15px; margin-top: 8px; }
@media (min-width: 1080px) {
  .price { display: grid; grid-template-columns: 1fr 600px 1fr; align-items: start; padding-bottom: 80px; }
  .price__left { display: flex; position: sticky; top: calc(var(--header-h) + 16px); height: calc(100svh - var(--header-h) - 32px); align-items: center; justify-content: center; }
  .price__left span { writing-mode: vertical-rl; font-family: var(--font-en); font-weight: 800; font-size: clamp(150px, 32svh, 330px); line-height: .84; color: var(--c-accent-text); letter-spacing: .02em; }
  .price__right { display: flex; flex-direction: column; position: sticky; top: calc(var(--header-h) + 16px); height: calc(100svh - var(--header-h) - 32px); justify-content: center; align-items: flex-start; gap: 4px; padding-left: 40px; }
  .price__right a { font-family: var(--font-en); font-weight: 800; font-size: 26px; letter-spacing: .1em; text-decoration: none; min-height: 48px; display: flex; align-items: center; border-bottom: 3px solid var(--c-line); padding-right: 24px; }
  .price__right a:hover { color: var(--c-accent-text); }
}

/* フッター */
.footer { background: var(--c-bg); color: var(--c-text); padding: 48px 0 56px; }
.footer__logo { font-family: var(--font-en); font-weight: 800; font-size: 26px; letter-spacing: .08em; margin-bottom: 16px; }
.access div { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--c-line); }
.access dt { font-weight: 900; }
.access dd { color: var(--c-sub); }
.fiction { margin-top: 20px; font-size: 15px; color: var(--c-sub); text-align: center; }

@media (min-width: 768px) {
  .header__btn { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
