/* style.css — 見た目（色・書体・余白はここの変数で一元管理） */
:root {
  --c-main: #F3BE23;          /* 基幹色：公式サイトの左サイド・ロゴのマーク */
  --c-main-press: #DFA912;
  --c-ink: #1A1A1A;
  --c-paper: #FFFBEF;
  --c-pt: #5FCEC4;            /* 学科カラー：公式サイト トップの学科一覧 */
  --c-ot: #7BC879;
  --c-st: #FD8D54;
  --c-pt-soft: #E4F6F4;
  --c-ot-soft: #E8F5E5;
  --c-st-soft: #FFEDE3;
  --font-ja: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-en: "Bebas Neue", "Zen Maru Gothic", sans-serif;
  --font-hand: "Yomogi", "Zen Maru Gothic", sans-serif;
  --pad: 18px;
  --k-col: 480px;
  --r: 14px;
  /* 地の柄：積み木（コース立方体）の三角の面。白地用と黄地用 */
  --pat-y: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='%23fff' fill-opacity='.26'%3E%3Cpath d='M0 0h36L0 36z'/%3E%3Cpath d='M72 36v36H36z'/%3E%3Cpath d='M36 36h36L36 72z' fill-opacity='.12'/%3E%3C/g%3E%3C/svg%3E");
  --pat-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='%23F3BE23' fill-opacity='.16'%3E%3Cpath d='M0 0h36L0 36z'/%3E%3Cpath d='M72 36v36H36z'/%3E%3Cpath d='M36 36h36L36 72z' fill-opacity='.08'/%3E%3C/g%3E%3C/svg%3E");
}
[data-course="pt"] { --c: var(--c-pt); --c-soft: var(--c-pt-soft); }
[data-course="ot"] { --c: var(--c-ot); --c-soft: var(--c-ot-soft); }
[data-course="st"] { --c: var(--c-st); --c-soft: var(--c-st-soft); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; font-family: var(--font-ja); font-weight: 500; color: var(--c-ink); background: var(--c-main) var(--pat-y); line-height: 1.75; font-size: 15px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; }

.k-main { background: var(--c-paper) var(--pat-w); overflow-x: clip; }
.sec { position: relative; overflow-x: clip; }
.mo { position: absolute; pointer-events: none; }
.w-pt { background: linear-gradient(transparent 58%, var(--c-pt) 58%); }
.w-ot { background: linear-gradient(transparent 58%, var(--c-ot) 58%); }
.w-st { background: linear-gradient(transparent 58%, var(--c-st) 58%); }

/* ───── ボタン（積み木の台の形：太線＋右下の面） ───── */
.btn { position: relative; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 18px; border: 3px solid var(--c-ink); border-radius: 10px; font-weight: 900; font-size: 16px; text-decoration: none; line-height: 1.3; text-align: center; box-shadow: 0 5px 0 var(--c-ink); transition: translate .15s var(--k-ease), box-shadow .15s var(--k-ease); word-break: keep-all; }
.btn--main { background: var(--c-ink); color: #fff; box-shadow: 0 5px 0 var(--c-st); }
.btn--main::after { content: ""; width: 10px; height: 10px; margin-left: 10px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; rotate: 45deg; }
.btn--sub { background: #fff; }
.btn:active { translate: 0 4px; box-shadow: 0 1px 0 var(--c-ink); }
@media (hover: hover) and (pointer: fine) { .btn--sub:hover { background: var(--c-paper); } .btn--main:hover { background: #333; } }

/* ───── ① 最初の画面 ───── */
.fv { background: var(--c-main) var(--pat-y); padding: 12px var(--pad) 22px; min-height: min(calc(100svh - 76px), 860px); display: flex; flex-direction: column; }
.fv__bg { position: absolute; left: -6px; top: 228px; font-family: var(--font-en); font-size: 168px; line-height: .8; color: #fff; opacity: .42; letter-spacing: .01em; pointer-events: none; white-space: nowrap; }
.fv__head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fv__logo { width: min(58vw, 222px); height: auto; background: #fff; border: 2px solid var(--c-ink); border-radius: 8px; padding: 5px 9px; }
.fv__tag { flex: none; font-weight: 900; font-size: 12px; background: #fff; border: 2px solid var(--c-ink); border-radius: 999px; padding: 2px 10px; }
.fv__title { position: relative; z-index: 2; display: grid; justify-items: start; margin-top: 14px; font-weight: 900; line-height: 1.2; }
.fv__title .t-pre { font-size: clamp(21px, 6vw, 27px); }
.fv__title .t-main { display: flex; align-items: flex-end; margin-top: -4px; }
.fv__title .t-num { font-family: var(--font-en); font-weight: 400; font-size: clamp(92px, 27vw, 128px); line-height: .82; color: #fff; -webkit-text-stroke: 0; text-shadow: 4px 4px 0 var(--c-ink); margin-right: 4px; }
.fv__title .t-rest { font-size: clamp(27px, 7.8vw, 36px); padding-bottom: 6px; }
.fv__title .t-end { font-size: clamp(19px, 5.4vw, 24px); background: #fff; border: 3px solid var(--c-ink); border-radius: 8px; padding: 1px 10px; margin-top: 6px; }
.fv__school { position: relative; z-index: 2; margin-top: 8px; font-weight: 900; font-size: 14px; line-height: 1.45; }
.fv__school small { font-weight: 700; font-size: 11px; }

.fv__stage { position: relative; flex: 1 1 auto; min-height: 228px; max-height: 380px; margin: 6px calc(var(--pad) * -1) 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; padding: 0 10px; }
.pod { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; align-self: stretch; min-height: 0; }
.pod__img { position: relative; z-index: 1; flex: 1 1 0; min-height: 0; width: 128%; max-width: none; max-height: 250px; object-fit: contain; object-position: 50% 100%; margin-bottom: -6px; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 -3px 0 #fff); }
.pod--pt .pod__img { width: 112%; }
.pod--ot .pod__img { width: 140%; }
.pod--st .pod__img { width: 134%; }
.pod__block { position: relative; z-index: 2; width: 100%; display: grid; justify-items: center; gap: 0; padding: 7px 2px 6px; background: var(--c); border: 3px solid var(--c-ink); border-radius: 6px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.08); }
.pod__block::before { content: ""; position: absolute; left: -3px; right: -3px; top: -12px; height: 10px; background: #fff; border: 3px solid var(--c-ink); border-bottom: 0; border-radius: 6px 6px 0 0; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.pod__block b { font-size: 13px; font-weight: 900; line-height: 1.3; }
.pod__block span { font-family: var(--font-en); font-size: 22px; line-height: 1; }
.pod--pt .pod__block { margin-bottom: 18px; }
.pod--st .pod__block { margin-bottom: 30px; }

.mo-gonio { width: 74px; height: 44px; left: 8px; bottom: 214px; z-index: 0; }
.mo-needle { left: 43px; bottom: 218px; width: 4px; height: 34px; background: var(--c-ink); border-radius: 2px; transform-origin: 50% 100%; z-index: 1; }
.mo-weave { width: 58px; height: 58px; right: 8px; bottom: 214px; z-index: 0; }
.mo-bubble { width: 64px; height: 50px; right: 20%; bottom: 196px; z-index: 3; }
.mo-ball { width: 34px; height: 34px; left: 30%; bottom: 210px; z-index: 3; }
.mo-cube1 { width: 40px; height: 40px; left: -8px; bottom: 82px; z-index: 3; }
.mo-cube2 { width: 34px; height: 34px; right: -6px; bottom: 110px; z-index: 3; }

.fv__foot { position: relative; z-index: 3; display: grid; grid-template-columns: 112px 1fr; gap: 10px; margin-top: 12px; align-items: stretch; }
.ticket { position: relative; display: grid; align-content: center; justify-items: center; text-align: center; background: #fff; border: 3px solid var(--c-ink); border-radius: 8px; padding: 8px 4px 7px; text-decoration: none; line-height: 1.2; background-image: repeating-linear-gradient(transparent 0 21px, #E9E2CF 21px 22px); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--c-main); border: 3px solid var(--c-ink); translate: 0 -50%; }
.ticket::before { left: -8px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -8px; clip-path: inset(0 50% 0 0); }
.ticket__hd { font-size: 11px; font-weight: 900; background: var(--c-ink); color: #fff; border-radius: 4px; padding: 1px 6px; }
.ticket__en { font-family: var(--font-en); font-size: 15px; margin-top: 3px; letter-spacing: .03em; }
.ticket__date { font-weight: 900; font-size: 18px; line-height: 1.15; white-space: nowrap; letter-spacing: -.02em; }
.ticket__date small { font-size: 11px; }
.ticket__note { font-size: 10px; font-weight: 700; margin-top: 3px; color: #4a4a4a; word-break: keep-all; }
.ticket__date.is-none { font-size: 15px; }
.fv__btns { display: grid; gap: 10px; }
.fv__btns .btn { min-height: 52px; font-size: 14px; padding-inline: 8px; }
.fv__btns .btn--main::after { margin-left: 6px; width: 8px; height: 8px; }
.fv__bars { position: absolute; left: 50%; translate: -50% 0; bottom: 4px; width: 190px; height: 18px; opacity: .25; z-index: 0; }

@media (max-height: 700px) {
  .fv__title .t-num { font-size: clamp(76px, 22vw, 100px); }
  .fv__title .t-rest { font-size: clamp(24px, 7vw, 30px); }
  .fv__stage { min-height: 196px; }
  .fv__bg { font-size: 138px; top: 196px; }
  .pod__img { max-height: 128px; }
  .mo-gonio { left: -26px; top: 0; bottom: auto; }
  .mo-needle { left: 9px; top: 4px; bottom: auto; }
  .mo-weave { right: -22px; top: -4px; bottom: auto; }
  .mo-ball { left: 31%; top: 0; bottom: auto; width: 28px; height: 28px; }
  .mo-bubble { right: 25%; top: -6px; bottom: auto; width: 50px; height: 40px; }
}

/* ───── つなぎ：流れる帯 ───── */
.band { background: var(--c-ink); color: #fff; padding: 10px 0; border-block: 3px solid var(--c-ink); }
.band [data-k-marquee] > div { gap: 18px; padding-left: 18px; }
.band span { font-family: var(--font-en); font-size: 24px; letter-spacing: .04em; white-space: nowrap; line-height: 1; }
.band__cube { width: 26px; height: 26px; flex: none; }

/* ───── 見出しの型（全節共通）：小さな積み木＋英字＋和文＋角度計の目盛り ───── */
.hd { position: relative; z-index: 1; }
.hd__en { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-size: 18px; letter-spacing: .06em; line-height: 1; }
.hd__cube { width: 26px; height: 26px; }
.hd__ja { margin-top: 8px; font-size: clamp(23px, 7vw, 31px); font-weight: 900; line-height: 1.3; }
.hd__ja em { font-style: normal; font-family: var(--font-en); font-weight: 400; font-size: 1.6em; line-height: .8; color: var(--c-st); text-shadow: 3px 3px 0 var(--c-ink); margin-right: 2px; }
.hd__ja::after { content: ""; display: block; width: 168px; height: 12px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--c-ink) 0 2px, transparent 2px 12px) bottom / 100% 7px no-repeat, repeating-linear-gradient(90deg, var(--c-ink) 0 2px, transparent 2px 60px) bottom / 100% 12px no-repeat; }
.hd__lead { margin-top: 10px; font-size: 14px; line-height: 1.7; }

/* ───── ② 3つの仕事 ───── */
.jobs { padding: clamp(40px, 8vh, 64px) 0 clamp(36px, 7vh, 56px); }
.jobs > .hd { padding-inline: var(--pad); }
.jobs__cube { width: 48px; height: 48px; right: 16px; top: 26px; }
.jobs__bubble { width: 58px; height: 46px; right: 70px; top: 54px; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px var(--pad) 12px; }
.tab { position: relative; display: grid; justify-items: center; min-height: 52px; padding: 6px 2px; background: #fff; border: 3px solid var(--c-ink); border-radius: 8px; font-weight: 900; font-size: 13px; line-height: 1.25; cursor: pointer; overflow: hidden; }
.tab::before { content: ""; position: absolute; right: 0; top: 0; width: 22px; height: 22px; background: var(--c); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.tab span { font-family: var(--font-en); font-weight: 400; font-size: 18px; line-height: 1; }
.tab[aria-current="true"] { background: var(--c); }
.tab[aria-current="true"]::before { background: #fff; }

.jobs__slider { --k-slide: 88%; --k-gap: 14px; --k-pad: var(--pad); }
.jobs__slider [data-k-track] { padding-block: 16px 10px; }
.card { position: relative; background: #fff; border: 3px solid var(--c-ink); border-radius: var(--r); padding: 16px 16px 14px; }
.card::before { content: ""; position: absolute; right: -3px; top: -3px; width: 64px; height: 64px; background: var(--c); border: 3px solid var(--c-ink); border-radius: 0 var(--r) 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.card__dept { position: absolute; left: 14px; top: 0; translate: 0 -55%; display: inline-flex; align-items: center; gap: 6px; background: var(--c); border: 3px solid var(--c-ink); border-radius: 999px; padding: 1px 12px; font-weight: 900; font-size: 13px; }
.card__dept span { font-family: var(--font-en); font-size: 17px; line-height: 1; }
.card__ph { position: relative; margin: 8px 0 12px; padding-right: 74px; }
.ph-slant { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 3px solid var(--c-ink); clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); border-radius: 6px 6px 0 0; background: var(--c-soft); }
.ph-round { position: absolute; right: 0; bottom: -6px; width: 118px; height: 118px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c-ink); box-shadow: 6px 6px 0 var(--c); background: #fff; }
.card__memo { position: absolute; right: 100px; bottom: 6px; font-family: var(--font-hand); font-size: 13px; background: #fff; border: 2px solid var(--c-ink); border-radius: 999px; padding: 0 10px; rotate: -4deg; white-space: nowrap; }
.card__title { font-size: 20px; font-weight: 900; line-height: 1.35; }
.card__text { margin-top: 6px; font-size: 14px; line-height: 1.65; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.tiles li { background: var(--c-soft); border: 2px solid var(--c-ink); border-radius: 8px; padding: 6px 8px 7px; font-size: 12px; font-weight: 700; line-height: 1.35; }
.tiles li b { display: block; font-size: 19px; font-weight: 900; line-height: 1.2; }
.tiles li b small { font-size: 12px; }
.tiles li > small { display: block; font-size: 10px; color: #4a4a4a; }
.card__fit { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.45; }
.card__fit span { flex: none; font-family: var(--font-hand); font-size: 13px; background: var(--c-ink); color: #fff; border-radius: 4px; padding: 1px 8px; }

.ctrl { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px var(--pad) 0; }
.ctrl__btn { width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 3px solid var(--c-ink); border-radius: 50%; cursor: pointer; }
.ctrl__btn svg { width: 20px; height: 20px; }
.ctrl__pause[aria-pressed="true"] { background: var(--c-main); }
.ctrl__no { font-family: var(--font-en); font-size: 20px; min-width: 44px; text-align: center; }
.jobs__slider [data-k-dots] { color: var(--c-ink); }
.jobs__cta { margin: 22px var(--pad) 0; display: grid; gap: 8px; justify-items: center; }
.jobs__cta-lead { font-weight: 900; font-size: 15px; }
.jobs__cta-lead::before, .jobs__cta-lead::after { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--c-ink); vertical-align: middle; margin: 0 8px; }
.jobs__cta .btn { width: 100%; }


/* ───── 節の境目：積み木の三角のぎざぎざ（黄の節の上端） ───── */
.sec--zig::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 14px; background: conic-gradient(from -45deg at 50% 100%, var(--zig) 0 90deg, transparent 90deg) 0 0 / 28px 14px repeat-x; pointer-events: none; }
.sec-pad { padding: clamp(44px, 8vh, 72px) var(--pad) clamp(40px, 7vh, 64px); }

/* ───── ③ 日程 ───── */
.sched { background: var(--c-main) var(--pat-y); padding: clamp(44px, 8vh, 64px) var(--pad) clamp(40px, 7vh, 56px); }
.sched__ball { width: 36px; height: 36px; right: 24px; top: 34px; }
.sched__cube { width: 54px; height: 54px; right: 64px; top: -26px; z-index: 2; }
.sched__ph { position: relative; margin: 16px 0 0; }
.sched__ph img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border: 3px solid var(--c-ink); border-radius: 6px 6px 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%); }
.tickets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.tk { position: relative; display: grid; justify-items: center; gap: 2px; background: #fff; border: 3px solid var(--c-ink); border-radius: 8px; padding: 10px 6px 9px; text-align: center; line-height: 1.25; background-image: repeating-linear-gradient(transparent 0 23px, #E9E2CF 23px 24px); }
.tk::before, .tk::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--c-main); border: 3px solid var(--c-ink); translate: 0 -50%; }
.tk::before { left: -9px; clip-path: inset(0 0 0 50%); }
.tk::after { right: -9px; clip-path: inset(0 50% 0 0); }
.tk__hd { font-size: 11px; font-weight: 900; background: var(--c-ink); color: #fff; border-radius: 4px; padding: 1px 8px; }
.tk__date { font-size: 22px; font-weight: 900; white-space: nowrap; }
.tk__date small { font-size: 12px; }
.tk__time { font-family: var(--font-en); font-size: 16px; letter-spacing: .03em; }
.tk--sp { background-color: var(--c-st-soft); }
.tk--sp .tk__hd { background: var(--c-st); color: var(--c-ink); }
.tk.is-done::after { content: "終了"; inset: auto; top: 50%; left: 50%; right: auto; width: auto; height: auto; translate: -50% -50%; rotate: -10deg; clip-path: none; border-radius: 6px; padding: 2px 12px; font-weight: 900; font-size: 18px; background: rgba(255,255,255,.9); }
.sched__note { margin-top: 12px; font-size: 14px; font-weight: 700; }
.sched__detail { display: inline-block; padding-block: 12px; margin-block: -12px; margin-left: 4px; font-weight: 900; text-underline-offset: 3px; }
.sched__detail::after { content: " →"; white-space: pre; }
.tk--none { grid-column: 1 / -1; padding-block: 14px; }
.tk__msg { font-size: 18px; font-weight: 900; }
.tk__sub { font-size: 12px; font-weight: 700; }
.nw { white-space: nowrap; }
.sched__cta { display: grid; gap: 10px; margin-top: 14px; }
.sched__alt { font-size: 13px; font-weight: 700; line-height: 1.6; }
.sched__alt a { font-family: var(--font-en); font-weight: 400; font-size: 20px; margin-left: 4px; text-decoration: none; border-bottom: 2px solid var(--c-ink); }

/* ───── ④ 問いかけ ───── */
.worry { background: var(--c-st-soft) var(--pat-w); padding: clamp(44px, 8vh, 64px) var(--pad) clamp(40px, 7vh, 56px); }
.worry__stage { position: relative; height: 330px; margin-top: 14px; }
.worry__a { position: absolute; right: 4%; top: 64px; width: 60%; aspect-ratio: 1; object-fit: cover; border: 3px solid var(--c-ink); border-radius: 50%; box-shadow: 6px 6px 0 var(--c-st); }
.worry__b { position: absolute; left: 0; bottom: 0; width: 118px; height: 118px; object-fit: cover; border-radius: 50%; border: 3px solid var(--c-ink); box-shadow: 6px 6px 0 var(--c-ot); }
.bb { position: absolute; z-index: 2; background: #fff; border: 3px solid var(--c-ink); border-radius: 14px; padding: 7px 12px; font-weight: 900; font-size: 14px; line-height: 1.45; box-shadow: 4px 4px 0 var(--c); }
.bb::after { content: ""; position: absolute; bottom: -12px; left: 22px; width: 16px; height: 12px; background: #fff; border: 3px solid var(--c-ink); border-top: 0; clip-path: polygon(0 0, 100% 0, 0 100%); border-right: 0; }
.bb--1 { left: 0; top: 0; rotate: -3deg; }
.bb--2 { right: 0; top: 18px; rotate: 2deg; }
.bb--3 { left: 30%; bottom: 8px; rotate: -1deg; }
.worry__bubble { width: 58px; height: 46px; left: 6%; top: 130px; }
.worry__ans { margin-top: 18px; font-size: 20px; font-weight: 900; line-height: 1.5; }
.worry__ans span { display: inline-block; font-size: 13px; background: var(--c-ink); color: #fff; border-radius: 999px; padding: 1px 12px; margin-right: 6px; vertical-align: 3px; }

/* ───── ⑤ 参加までの流れ ───── */
.flow { background: var(--c-ot-soft) var(--pat-w); padding: clamp(44px, 8vh, 64px) var(--pad) clamp(40px, 7vh, 56px); }
.flow__weave { width: 60px; height: 60px; right: 18px; top: 30px; }
.steps { position: relative; display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 30px; width: 0; border-left: 4px dotted var(--c-ink); }
.st { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: start; }
.st__no { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; background: var(--c); border: 3px solid var(--c-ink); border-radius: 8px; font-family: var(--font-en); font-weight: 400; font-size: 26px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.st > div { background: #fff; border: 3px solid var(--c-ink); border-radius: 10px; padding: 8px 12px 9px; }
.st__t { font-size: 16px; font-weight: 900; line-height: 1.4; }
.st__d { margin-top: 2px; font-size: 13px; line-height: 1.6; }
.st__menu { display: grid; gap: 3px; margin: 5px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 700; line-height: 1.45; }
.st__menu li { display: flex; gap: 6px; align-items: baseline; }
.st__menu i { flex: none; font-style: normal; font-weight: 900; font-size: 11px; line-height: 1.5; background: var(--c); border: 2px solid var(--c-ink); border-radius: 4px; padding: 0 5px; }
.st__ph { grid-column: 2; width: 62%; aspect-ratio: 16 / 9; object-fit: cover; border: 3px solid var(--c-ink); clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); border-radius: 6px 6px 0 0; margin-top: -2px; }
.fare { position: relative; margin-top: 16px; background: #fff; border: 3px solid var(--c-ink); border-radius: var(--r); padding: 12px 14px 12px; }
.fare__hd { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 900; }
.fare__cube { width: 30px; height: 30px; flex: none; }
.fare__d { margin-top: 4px; font-size: 13px; line-height: 1.6; }
.fare__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.fare__list li { background: var(--c-paper); border: 2px solid var(--c-ink); border-radius: 6px; padding: 3px 4px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.3; }
.fare__list b { display: block; font-size: 15px; font-weight: 900; }
.flow__cta { display: grid; margin-top: 14px; }
.fare__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; font-size: 13px; font-weight: 900; text-underline-offset: 3px; }

/* ───── ⑥ 合同クラス ───── */
.union { background: var(--c-paper) var(--pat-w); padding: clamp(44px, 8vh, 64px) var(--pad) clamp(40px, 7vh, 56px); }
.union__gonio { width: 92px; height: 54px; right: 16px; top: 34px; }
.union__needle { right: 60px; top: 42px; width: 4px; height: 42px; background: var(--c-ink); border-radius: 2px; transform-origin: 50% 100%; }
.union__row { position: relative; display: grid; gap: 12px; margin-top: 16px; }
.union__ph { position: relative; margin: 0 calc(var(--pad) * -1) 0 0; }
.union__ph img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 3px solid var(--c-ink); border-right: 0; border-radius: 24px 0 0 24px; }
.union__badge { position: absolute; left: -6px; bottom: -14px; display: grid; background: var(--c-main); border: 3px solid var(--c-ink); border-radius: 8px; padding: 4px 12px 5px; font-weight: 900; font-size: 18px; line-height: 1.2; box-shadow: 0 4px 0 var(--c-ink); }
.union__badge small { font-size: 11px; }
.union__text { margin-top: 10px; font-size: 14px; line-height: 1.7; }
.union__row--flip { grid-template-columns: 1fr 110px; align-items: center; }
.ladder { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ladder li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px; align-items: center; margin-left: calc(var(--i, 0) * 12px); padding: 5px 10px 6px 8px; background: var(--c-soft, #FDF0C4); border: 2px solid var(--c-ink); border-bottom-width: 0; font-size: 12px; font-weight: 700; line-height: 1.4; }
.ladder li:first-child { border-radius: 8px 8px 0 0; }
.ladder li:last-child { border-bottom-width: 2px; border-radius: 0 0 8px 8px; }
.ladder li:nth-child(2) { --i: 1; } .ladder li:nth-child(3) { --i: 2; } .ladder li:nth-child(4) { --i: 3; }
.ladder li b { display: inline-block; white-space: nowrap; font-family: var(--font-en); font-weight: 400; font-size: 15px; letter-spacing: .02em; background: var(--c-ink); color: #fff; border-radius: 4px; padding: 0 6px; vertical-align: 1px; }
.union__round { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c-ink); box-shadow: -6px 6px 0 var(--c-st); }

/* ───── つなぎ：学科色の帯 ───── */
.band--color { background: var(--c-paper); color: var(--c-ink); border-block: 3px solid var(--c-ink); padding: 0; }
.band--color [data-k-marquee] > div { gap: 0; padding-left: 0; }
.band--color span { padding: 10px 18px; border-right: 3px solid var(--c-ink); }
.band--color .b-pt { background: var(--c-pt); } .band--color .b-ot { background: var(--c-ot); } .band--color .b-st { background: var(--c-st); }

/* ───── ⑦ 3年制だからできること ───── */
.why { background: var(--c-main) var(--pat-y); padding: clamp(44px, 8vh, 64px) 0 clamp(36px, 7vh, 52px); }
.why > .hd { padding-inline: var(--pad); }
.why__cube { width: 50px; height: 50px; right: 20px; top: 34px; }
.why__slider { --k-slide: 80%; --k-gap: 14px; --k-pad: var(--pad); margin-top: 6px; }
.why__slider [data-k-track] { padding-block: 18px 10px; }
.wcard { position: relative; background: #fff; border: 3px solid var(--c-ink); border-radius: var(--r); padding: 14px 14px 14px; }
.wcard::before { content: ""; position: absolute; right: -3px; top: -3px; width: 52px; height: 52px; background: var(--c); border: 3px solid var(--c-ink); border-radius: 0 var(--r) 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.wcard__no { position: absolute; left: 12px; top: 0; translate: 0 -55%; font-family: var(--font-en); font-weight: 400; font-size: 30px; line-height: 1; background: var(--c-ink); color: #fff; border-radius: 6px; padding: 3px 10px 1px; }
.wcard__ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 3px solid var(--c-ink); border-radius: 8px; margin-top: 8px; }
.wcard__t { margin-top: 10px; font-size: clamp(16px, 4.9vw, 18px); font-weight: 900; line-height: 1.4; }
.wcard__d { margin-top: 4px; font-size: 13px; line-height: 1.65; }
.why__link { margin: 12px var(--pad) 0; font-size: 13px; font-weight: 900; }
.why__link a { display: inline-block; padding-block: 12px; margin-block: -12px; text-underline-offset: 3px; }

/* ───── ⑧ 数字（墨の節は1回だけ） ───── */
.nums { background: var(--c-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='%23F3BE23' fill-opacity='.10'%3E%3Cpath d='M0 0h36L0 36z'/%3E%3Cpath d='M72 36v36H36z'/%3E%3C/g%3E%3C/svg%3E"); color: #fff; padding: clamp(44px, 8vh, 64px) var(--pad) clamp(40px, 7vh, 56px); }
.nums .hd__ja::after { filter: invert(1); }
.nums__gonio { width: 96px; height: 56px; right: 16px; top: 36px; }
.nums__needle { right: 62px; top: 44px; width: 4px; height: 44px; background: var(--c-ink); border-radius: 2px; transform-origin: 50% 100%; }
.num { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.num__i { display: grid; align-content: start; background: #fff; color: var(--c-ink); border: 3px solid #fff; border-top: 9px solid var(--c, var(--c-main)); border-radius: 10px; padding: 5px 10px 10px; }
.num__i--wide { position: relative; grid-column: 1 / -1; }
.num__ph { position: absolute; right: 12px; top: 14px; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c-ink); box-shadow: 4px 4px 0 var(--c-st); }
.num__lb { justify-self: start; font-size: 12px; font-weight: 900; background: var(--c-ink); color: #fff; border-radius: 4px; padding: 1px 8px; margin-top: 4px; }
.num__i b { font-family: var(--font-en); font-weight: 400; font-size: 64px; line-height: .95; margin-top: 4px; }
.num__i--wide b { font-size: 80px; }
.num__i b small { font-family: var(--font-ja); font-weight: 900; font-size: 18px; margin-left: 2px; }
.num__ds { font-size: 11px; font-weight: 700; line-height: 1.45; }
.emp { margin-top: 14px; }
.emp__hd { font-weight: 900; font-size: 15px; }
.emp__hd small { font-size: 11px; margin-left: 8px; color: #e6e1d2; }
.emp__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.emp__list li { font-size: 12px; font-weight: 700; border: 2px solid var(--c-main); color: #fff; border-radius: 999px; padding: 1px 10px; }

/* ───── ⑨ 在校生の声 ───── */
.voice { background: var(--c-pt-soft) var(--pat-w); padding: clamp(44px, 8vh, 64px) 0 clamp(36px, 7vh, 52px); }
.voice > .hd { padding-inline: var(--pad); }
.voice__bubble { width: 62px; height: 48px; right: 22px; top: 38px; }
.voice__slider { --k-slide: 84%; --k-gap: 14px; --k-pad: var(--pad); margin-top: 6px; }
.voice__slider [data-k-track] { padding-block: 14px 10px; }
.vc { position: relative; margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 10px 12px; background: #fff; border: 3px solid var(--c-ink); border-radius: var(--r); padding: 14px; }
.vc::before { content: ""; position: absolute; right: -3px; top: -3px; width: 44px; height: 44px; background: var(--c); border: 3px solid var(--c-ink); border-radius: 0 var(--r) 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.vc__ph { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c-ink); box-shadow: 4px 4px 0 var(--c); }
.vc__q { margin: 0; grid-column: 1 / -1; font-size: 14px; font-weight: 700; line-height: 1.75; }
.vc__who { grid-column: 2; grid-row: 1; align-self: center; font-size: 12px; font-weight: 700; line-height: 1.5; }
.vc__who span { display: table; background: var(--c); border: 2px solid var(--c-ink); border-radius: 999px; padding: 0 10px; font-weight: 900; font-size: 13px; margin-bottom: 4px; }
.voice__note { margin: 10px var(--pad) 0; font-size: 11px; color: #4a4a4a; }

/* ───── ⑩ よくある質問 ───── */
.faq { background: var(--c-paper) var(--pat-w); padding: clamp(44px, 8vh, 64px) var(--pad) clamp(40px, 7vh, 56px); }
.faq__cube { width: 44px; height: 44px; right: calc(var(--pad) + 84px); top: 22px; z-index: 2; }
.faq__ph { position: absolute; right: var(--pad); top: 40px; width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c-ink); box-shadow: -5px 5px 0 var(--c-pt); }
.qa { display: grid; gap: 10px; margin-top: 16px; }
.qa details { background: #fff; border: 3px solid var(--c-ink); border-radius: 10px; }
.qa summary { position: relative; list-style: none; cursor: pointer; padding: 10px 40px 10px 44px; font-weight: 900; font-size: 15px; line-height: 1.45; min-height: 48px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; position: absolute; left: 10px; top: 9px; width: 26px; height: 26px; display: grid; place-items: center; font-family: var(--font-en); font-weight: 400; font-size: 18px; background: var(--c-main); border: 2px solid var(--c-ink); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.qa summary::after { content: ""; position: absolute; right: 16px; top: 18px; width: 9px; height: 9px; border-right: 3px solid var(--c-ink); border-bottom: 3px solid var(--c-ink); rotate: 45deg; transition: rotate .2s var(--k-ease); }
.qa details[open] summary::after { rotate: 225deg; top: 22px; }
.qa details p { margin: 0 12px 12px 44px; padding: 8px 12px; background: var(--c-pt-soft); border-radius: 8px; font-size: 14px; line-height: 1.65; }

/* ───── ⑪ 最後の申込 ───── */
.final { background: var(--c-main) var(--pat-y); padding: clamp(44px, 8vh, 64px) var(--pad) clamp(36px, 6vh, 52px); text-align: left; }
.final__bg { top: 120px; }
.final__title { position: relative; z-index: 2; display: grid; font-weight: 900; line-height: 1.25; }
.final__title .t-pre { font-size: clamp(20px, 5.6vw, 25px); }
.final__title .t-big { font-size: clamp(24px, 8vw, 40px); word-break: keep-all; }
.final__pods { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; height: 190px; margin: 10px -4px 0; }
.final__pods .pod { height: 100%; }
.final__pods .pod__img { max-height: 150px; }
.final__pods .pod__block { padding: 6px 2px; }
.final__pods .pod__block b { font-size: 12px; }
.final__pods .pod--pt .pod__block, .final__pods .pod--st .pod__block { margin-bottom: 0; }
.final__ball { width: 30px; height: 30px; left: 30%; top: 4px; }
.final__cube { width: 40px; height: 40px; right: -4px; top: 0; }
.final__btns { position: relative; z-index: 2; display: grid; gap: 10px; margin-top: 16px; }
.access { margin-top: 18px; background: #fff; border: 3px solid var(--c-ink); border-radius: 10px; padding: 10px 14px 12px; }
.access__hd { font-weight: 900; font-size: 15px; }
.access__d { margin-top: 2px; font-size: 13px; line-height: 1.6; }
.access__map { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; font-weight: 900; font-size: 13px; text-underline-offset: 3px; }

.foot { background: var(--c-ink); color: #fff; padding: 26px var(--pad) calc(30px + 76px + env(safe-area-inset-bottom)); margin-bottom: calc(-76px - env(safe-area-inset-bottom)); font-size: 12px; line-height: 1.7; }
.foot__logo { width: 210px; margin-bottom: 10px; }
.foot a { color: #fff; font-weight: 900; }
.foot__c { margin-top: 8px; color: #cfc9b8; }

/* ───── スマホの下端の申込帯 ───── */
.k-cta-bar { background: var(--c-main) var(--pat-y); border-top: 3px solid var(--c-ink); grid-template-columns: 1.5fr 1fr; grid-auto-flow: row; }
.k-cta-bar > a { border: 3px solid var(--c-ink); border-radius: 10px; font-weight: 900; font-size: 15px; text-decoration: none; }
.k-cta-bar .bar-main { background: var(--c-ink); color: #fff; }
.k-cta-bar .bar-sub { background: #fff; }

/* ───── タブレット幅：柱に収める ───── */
@media (min-width: 600px) and (max-width: 1199.98px) {
  .k-main, .k-cta-bar { max-width: 560px; margin-inline: auto; }
  .k-cta-bar { border-inline: 3px solid var(--c-ink); }
  .fv__bg { font-size: 190px; }
}

/* ───── PC（1200px以上）：中央の柱＋左右のパネル ───── */
@media (min-width: 1200px) {
  body { padding-bottom: 0; }
  .k-main { border-inline: 3px solid var(--c-ink); }
  .fv { min-height: min(100svh, 860px); }
  .fv__title .t-num { font-size: 112px; }
  /* 3つの仕事：PCの1画面に収める */
  .jobs { padding: 40px 0 32px; }
  .jobs .hd__ja { font-size: 26px; }
  .jobs .hd__ja br { display: none; }
  .jobs .hd__lead { margin-top: 6px; font-size: 14px; }
  .tabs { padding: 12px var(--pad) 4px; }
  .tab { min-height: 46px; }
  .jobs__slider [data-k-track] { padding-block: 14px 6px; }
  .card { padding: 14px 16px 12px; }
  .card__ph { margin: 6px 0 8px; }
  .ph-slant { aspect-ratio: 16 / 7.4; }
  .ph-round { width: 104px; height: 104px; }
  .card__title { font-size: 19px; }
  .card__title br { display: none; }
  .card__text { margin-top: 2px; font-size: 14px; line-height: 1.55; }
  .tiles { margin-top: 8px; gap: 6px; }
  .tiles li { padding: 4px 8px 5px; }
  .tiles li b { font-size: 17px; }
  .card__fit { margin-top: 8px; }
  .ctrl { padding-top: 2px; }
  .jobs__cta { margin-top: 12px; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .jobs__cta-lead { font-size: 13px; line-height: 1.4; }
  .jobs__cta-lead::before, .jobs__cta-lead::after { display: none; }
  .fv__title .t-rest { font-size: 34px; }

  .side-l { background: var(--c-main) var(--pat-y); }
  .side-l__in { margin: auto; width: min(360px, 86%); display: grid; gap: 14px; padding: 24px 0; }
  .side-l__logo { width: 270px; background: #fff; border: 3px solid var(--c-ink); border-radius: 10px; padding: 8px 12px; }
  .side-l__copy { font-weight: 900; font-size: 22px; line-height: 1.6; }
  .side-l__copy b { display: inline-block; font-family: var(--font-en); font-weight: 400; font-size: 64px; line-height: .8; vertical-align: -6px; color: #fff; text-shadow: 3px 3px 0 var(--c-ink); margin-right: 2px; }
  .side-l__stack { position: relative; height: clamp(120px, 22vh, 190px); }
  .side-l__stack .cube { position: absolute; width: clamp(64px, 11vh, 92px); height: auto; aspect-ratio: 1; }
  .cube--a { left: 4%; bottom: 0; }
  .cube--b { left: 32%; bottom: 0; }
  .cube--c { left: 18%; bottom: 46%; }
  .side-l__gonio { position: absolute; right: 2%; bottom: 8px; width: 120px; height: 70px; }
  .side-l__needle { position: absolute; right: calc(2% + 58px); bottom: 14px; width: 4px; height: 52px; background: var(--c-ink); border-radius: 2px; transform-origin: 50% 100%; }
  .side-l__tel { font-weight: 900; font-size: 13px; line-height: 1.5; }
  .side-l__tel a { display: block; font-family: var(--font-en); font-weight: 400; font-size: 30px; letter-spacing: .03em; text-decoration: none; line-height: 1.1; }
  .side-l__tel small { display: block; font-weight: 700; font-size: 11px; }

  .side-r { background: var(--c-paper) var(--pat-w); }
  .side-r__in { position: relative; margin: auto; width: min(320px, 82%); display: grid; gap: 16px; padding: 24px 0; }
  .side-r__hd { font-family: var(--font-en); font-size: 34px; line-height: 1; }
  .side-r__hd small { display: block; font-family: var(--font-ja); font-weight: 900; font-size: 12px; margin-top: 4px; }
  .idx { display: grid; gap: 4px; }
  .idx a, .idx span { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 2px 10px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; border: 2px solid transparent; }
  .idx i { position: relative; flex: none; width: 16px; height: 16px; border: 2px solid var(--c-ink); background: #fff; }
  .idx i::after { content: ""; position: absolute; inset: 0; background: var(--c); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
  .idx .idx__soon { color: #8a8576; }
  .idx .idx__soon i { border-color: #b9b3a2; }
  .idx a[aria-current="true"] { background: #fff; border-color: var(--c-ink); font-weight: 900; }
  .idx a[aria-current="true"] i { background: var(--c); }
  .side-r__ticket { display: grid; gap: 4px; justify-items: start; background: #fff; border: 3px solid var(--c-ink); border-radius: 8px; padding: 10px 14px; text-decoration: none; box-shadow: 0 5px 0 var(--c-ink); background-image: repeating-linear-gradient(transparent 0 21px, #E9E2CF 21px 22px); }
  .side-r__ticket b { font-size: 15px; font-weight: 900; }
  .side-r__ticket b::after { content: " →"; }
  .side-r__bars { width: 180px; height: 40px; opacity: .55; }
  .side-r__weave { position: absolute; right: -6px; top: 10px; width: 64px; height: 64px; }
  .side-r__ball { position: absolute; right: 60px; top: 44px; width: 30px; height: 30px; }
}
/* ───── PC：追加した節を1画面に収める ───── */
@media (min-width: 1200px) {
  .jobs__bubble { top: 14px; right: 76px; }
  .flow__cta { display: none; } /* PCは左のパネルに申込ボタンが常に出ている */
  .foot { padding-bottom: 30px; margin-bottom: 0; }
  .sched, .worry, .flow, .union, .nums, .faq { padding-block: 40px 34px; }
  .why, .voice { padding-block: 40px 30px; }
  .final { padding-block: 40px 32px; }
  .sched__ph img { aspect-ratio: 16 / 6; }
  .tickets { margin-top: 12px; }
  .sched__note { margin-top: 10px; }
  /* 参加までの流れ：3つ目の写真を説明の横へ・補助の金額は1列に */
  .steps { gap: 10px; margin-top: 12px; }
  .st > div { padding: 7px 12px 8px; }
  .st:has(.st__ph) { grid-template-columns: 46px 1fr 150px; }
  .st:has(.st__ph) .st__ph { grid-column: 3; grid-row: 1; width: 100%; height: 100%; aspect-ratio: auto; margin: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%); border-radius: 6px; }
  .fare { margin-top: 12px; padding: 10px 12px; }
  .fare__list { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .fare__list li { font-size: 11px; padding: 3px 2px; }
  .fare__list b { font-size: 13px; }
  /* 合同クラス */
  .union__row { margin-top: 12px; gap: 8px; }
  .union__ph img { aspect-ratio: 21 / 9; }
  .ladder { gap: 5px; }
  .ladder li { padding-block: 3px 4px; }
  .union__row--flip { margin-top: 6px; }
}
@media (min-width: 1200px) and (max-height: 760px) {
  .side-l__stack { height: 104px; }
  .side-l__copy { font-size: 19px; }
  .idx a, .idx span { min-height: 32px; font-size: 13px; }
}
