/* SFC三田会 — official site
   Two-hue palette: navy from the SFC三田会 emblem and 蒼 (blue) for the 蒼年会 concept.
   Red (from the emblem / Keio tricolour) is kept for sign-up actions and the tricolour motif only.
   Photo-led, rounded and colourful. Works without JavaScript. */

:root {
  --navy: #1b2259;
  --navy-2: #283282;
  --ao: #2b5fd9;
  --ao-soft: #eaf1ff;
  --red: #d9432c;
  --red-soft: #fdeee9;
  --ao-2: #a9c1ff;
  --ao-mid: #cfdcff;
  --ink: #161a33;
  --ink-2: #474c68;
  --mute: #737891;
  --line: #e1e4ef;
  --mist: #f4f6fb;
  --paper: #ffffff;

  --disp: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --latin: "Bricolage Grotesque", "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;

  --max: 1180px;
  --gut: clamp(16px, 5vw, 48px);
  --r: 24px;
  --r-sm: 14px;
  --shadow: 0 18px 40px -22px rgba(27, 34, 89, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.9 var(--sans);
  letter-spacing: .02em;
  word-break: auto-phrase;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; text-decoration: none; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ao); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: #fff; z-index: 60; }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { /* tricolour hairline */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0 33.3%, var(--red) 33.3% 66.6%, var(--navy) 66.6%);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand svg { width: 50px; height: 50px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font: 900 22px/1.1 var(--disp); color: var(--navy); letter-spacing: .04em; }
.brand-by { font-size: 11px; color: var(--ink-2); letter-spacing: .06em; margin-top: 5px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font: 700 14px/1 var(--disp); letter-spacing: .04em; white-space: nowrap; color: var(--navy);
  padding: 11px 12px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--ao-soft); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav a.nav-cta { background: var(--red); color: #fff; margin-left: 8px; padding-inline: 18px; }
.nav a.nav-cta:hover { background: var(--navy); }
.nav-toggle {
  display: none; appearance: none; background: var(--navy); color: #fff; border: 0; border-radius: 999px;
  padding: 11px 18px; font: 700 12px/1 var(--latin); letter-spacing: .16em; cursor: pointer;
}

/* ---------- Common ---------- */
.eyebrow {
  font: 700 12.5px/1.2 var(--latin); letter-spacing: .18em; text-transform: uppercase; color: var(--ao);
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 14px; flex: none; border-radius: 2px;
  background: linear-gradient(var(--navy) 0 33.3%, var(--red) 33.3% 66.6%, var(--navy) 66.6%);
}
.eyebrow.light { color: var(--ao-mid); }
.eyebrow.light::before { background: linear-gradient(#fff 0 33.3%, var(--red) 33.3% 66.6%, #fff 66.6%); }

.h2 { font: 900 clamp(26px, 3.4vw, 40px)/1.4 var(--disp); color: var(--navy); margin: 0; letter-spacing: .03em; }
.h2.light { color: #fff; }
.mark { background: linear-gradient(transparent 60%, var(--ao-mid) 60% 92%, transparent 92%); padding: 0 .06em; }
.lead { font-size: clamp(15px, 1.5vw, 17px); color: var(--ink-2); max-width: 36em; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  text-decoration: none; font: 700 15px/1.2 var(--disp); letter-spacing: .05em;
  border: 2px solid var(--navy); background: #fff; color: var(--navy);
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn::after { content: "→"; font-family: var(--latin); transition: transform .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover::after { transform: translateX(3px); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.white { background: #fff; border-color: #fff; color: var(--navy); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--navy); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--disp); letter-spacing: .06em;
  padding: 7px 12px; border-radius: 999px; background: var(--ao-soft); color: var(--ao); white-space: nowrap;
}
.chip.red { background: var(--red-soft); color: var(--red); }
.chip.white { background: #fff; color: var(--navy); }
.chip.navy { background: var(--navy); color: #fff; }
.chip.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.sec { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.sec.mist { background: var(--mist); }
.sec.ao { background: var(--ao); color: #fff; overflow: hidden; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.sec-head > div { min-width: 0; }
.more { font: 700 14px/1.2 var(--disp); letter-spacing: .04em; text-decoration: none; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; padding-bottom: 4px; border-bottom: 3px solid var(--ao); white-space: nowrap; }
.more:hover { color: var(--ao); }

/* ---------- Home: hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 84px) clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -12vw; top: -10%;
  width: min(62vw, 820px); aspect-ratio: 1; border-radius: 50%; background: var(--ao-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-title { font: 900 clamp(28px, 3.5vw, 46px)/1.45 var(--disp); color: var(--navy); margin: 0 0 24px; letter-spacing: .02em; }
.hero-title .nw { display: inline-block; }
.hero .lead { margin-bottom: 32px; }

.collage { position: relative; padding: 22px 10px 64px 28px; }
.collage figure { margin: 0; }
.collage .c1 img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 62% 50%; border-radius: 28px; box-shadow: var(--shadow); }
.collage .c2 {
  position: absolute; left: 0; bottom: 0; width: 46%; transform: rotate(-4deg);
  background: #fff; padding: 8px 8px 10px; border-radius: 16px; box-shadow: var(--shadow);
}
.collage .c2 img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.collage .c3 {
  position: absolute; right: -6px; bottom: 18px; width: 34%; transform: rotate(5deg);
  background: #fff; padding: 8px; border-radius: 16px; box-shadow: var(--shadow);
}
.collage .c3 img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.collage figcaption { font: 500 11px/1.4 var(--sans); color: var(--ink-2); margin-top: 6px; padding-inline: 2px; }
.sticker {
  position: absolute; left: -2px; top: 0; z-index: 2; width: 128px; height: 128px; border-radius: 50%;
  background: var(--ao); color: #fff; transform: rotate(-10deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 10px 24px -12px rgba(27,34,89,.6); text-decoration: none;
}
.sticker small { font: 700 10.5px/1 var(--latin); letter-spacing: .2em; }
.sticker b { font: 800 34px/1 var(--latin); letter-spacing: -.01em; margin: 6px 0 4px; }
.sticker span { font: 700 10.5px/1.25 var(--disp); }

/* next-event bar */
.eventbar {
  background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 36px) clamp(22px, 3.4vw, 44px);
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px clamp(24px, 4vw, 56px); align-items: center;
  position: relative; overflow: hidden;
}
.eventbar::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255,255,255,.06); }
.eventbar > * { min-width: 0; position: relative; z-index: 1; }
.eb-date { display: flex; align-items: baseline; gap: 10px; }
.eb-date b { font: 800 clamp(48px, 6vw, 72px)/1 var(--latin); color: #fff; letter-spacing: -.01em; }
.eb-date small { font: 700 13px/1.3 var(--latin); letter-spacing: .16em; color: #c9cdf0; }
.eb-title { font: 900 clamp(18px, 2vw, 22px)/1.45 var(--disp); margin: 0 0 8px; }
.eb-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: #dfe2f7; }
.eb-meta li { display: flex; gap: 8px; }
.eb-meta li span { color: var(--ao-2); font-weight: 700; }

/* ticker */
.ticker { background: var(--ao-soft); color: var(--navy); overflow: hidden; border-block: 1px solid var(--ao-mid); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker ul { list-style: none; display: flex; flex: none; }
.ticker li { font: 800 clamp(16px, 2vw, 22px)/1 var(--latin); white-space: nowrap; padding: 16px 0; display: flex; align-items: center; }
.ticker li.ja { font-family: var(--disp); font-weight: 900; }
.ticker li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ao); margin-inline: 26px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--mist); border-radius: var(--r); padding: 26px 24px 22px; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 24px; top: 0; width: 36px; height: 5px; border-radius: 0 0 4px 4px; background: var(--ao); }
.stat .n { font: 800 clamp(40px, 4.8vw, 58px)/1 var(--latin); color: var(--navy); letter-spacing: -.02em; white-space: nowrap; }
.stat .n small { font: 900 .34em/1 var(--disp); margin-left: 4px; letter-spacing: .04em; color: var(--navy); }
.stat .l { font-size: 13.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.7; }

/* photo cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.pcard {
  background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; min-width: 0;
}
a.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard .ph { position: relative; }
.pcard .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pcard .ph .chip { position: absolute; left: 14px; top: 14px; }
.pcard .bd { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard h3 { font: 900 21px/1.45 var(--disp); color: var(--navy); margin: 0; }
.pcard p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.pcard .go { margin-top: auto; padding-top: 6px; font: 700 13.5px/1 var(--disp); color: var(--red); }
.pcard.ao { background: var(--ao); border-color: var(--ao); color: #fff; }
.pcard.ao h3 { color: #fff; }
.pcard.ao p { color: #dbe5ff; }
.pcard.ao .go { color: #fff; }
.pcard .art {
  aspect-ratio: 4 / 3; background: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding-bottom: 28px;
}
.pcard .art svg { width: 52%; height: auto; }
.pcard .art:not(:has(.tags)) { padding-bottom: 0; }
.pcard .art .tags { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

/* 蒼年会 band (home) */
.soukai-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.soukai-band .wrap > * { min-width: 0; }
.soukai-band .prose { color: #e3eaff; position: relative; z-index: 1; }
.soukai-band .h2 { margin-bottom: 26px; }
.ideas { list-style: none; display: grid; gap: 14px; position: relative; z-index: 1; }
.idea { border-radius: var(--r); padding: 22px 24px; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; background: #fff; color: var(--ink); }
.idea:nth-child(2) { transform: translateX(clamp(0px, 2vw, 24px)); }
.idea .no { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 800 16px/1 var(--latin); background: var(--navy); color: #fff; }
.idea h3 { font: 800 22px/1.2 var(--latin); margin: 2px 0 6px; letter-spacing: .02em; color: var(--navy); }
.idea h3 span { font: 700 13px/1 var(--disp); margin-left: 8px; opacity: .8; }
.idea p { margin: 0; font-size: 14px; line-height: 1.8; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 210px); gap: 12px; grid-auto-flow: dense; }
.gallery figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--mist); min-width: 0; }
.gallery figure.big { grid-column: span 2; grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: #fff; font-size: 12.5px; line-height: 1.55;
  background: linear-gradient(transparent, rgba(16, 20, 54, .82));
}
.gallery figcaption b { display: inline-block; font: 800 11px/1 var(--latin); letter-spacing: .1em; background: #fff; color: var(--navy); padding: 4px 7px; border-radius: 6px; margin-bottom: 6px; }

/* dated list */
.list { list-style: none; display: grid; gap: 10px; }
.list li { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); align-items: start; }
.list .d { font: 800 13px/1 var(--latin); letter-spacing: .08em; color: var(--ao); background: var(--ao-soft); border-radius: 999px; padding: 8px 12px; text-align: center; white-space: nowrap; }
.list .t { min-width: 0; }
.list .t b { font-weight: 700; color: var(--navy); }
.list .t span { display: block; font-size: 14px; color: var(--ink-2); }
.list .t a { text-decoration-color: var(--ao-mid); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.list .t a:hover { color: var(--ao); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.two-col > *, .split > * { min-width: 0; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.col-title { font: 900 18px/1.3 var(--disp); color: var(--navy); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.col-title small { font: 700 12px/1 var(--latin); letter-spacing: .18em; color: var(--ao); text-transform: uppercase; }
.prose { font-size: 15.5px; max-width: 38em; }
.prose p { margin-bottom: 1.2em; }

/* CTA */
.cta { background: var(--ao-soft); color: var(--ink); padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(43,95,217,.14) 1.5px, transparent 1.6px); background-size: 22px 22px; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; }
.cta .wrap > div { min-width: 0; }
.cta h2 { font: 900 clamp(26px, 3.6vw, 42px)/1.4 var(--disp); margin: 0 0 10px; color: var(--navy); }
.cta p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--ao-soft); padding-block: clamp(44px, 7vw, 88px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head.ao { background: var(--ao); color: #fff; }
.page-head::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 44px solid rgba(43, 95, 217, .08); }
.page-head.ao::after { border-color: rgba(255,255,255,.08); }
.ph-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.ph-grid > * { min-width: 0; }
.page-head h1 { font: 900 clamp(34px, 5vw, 58px)/1.25 var(--disp); color: var(--navy); margin: 0; letter-spacing: .03em; }
.page-head.ao h1 { color: #fff; }
.page-head h1 .chip { vertical-align: middle; margin-left: 12px; position: relative; top: -6px; }
.page-head p.lead { margin: 20px 0 0; }
.page-head.ao p.lead { color: #dbe5ff; }
.ph-photo { margin: 0; position: relative; }
.ph-photo img { width: 100%; border-radius: 26px; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.ph-photo figcaption { font-size: 12px; color: var(--ink-2); margin-top: 12px; text-align: right; }
.page-head.ao .ph-photo figcaption { color: #dbe5ff; }
.ph-mark { justify-self: end; width: min(320px, 70%); }
.ph-mark svg { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(27,34,89,.18)); }
.page-head.ao .ph-mark { width: min(300px, 60%); aspect-ratio: 1; background: #fff; border-radius: 50%; padding: 7%; display: grid; place-items: center; box-shadow: var(--shadow); }
.page-head.ao .ph-mark svg { filter: none; }

.box { background: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); min-width: 0; }
.box.mist { background: var(--mist); border-color: transparent; }
.box-title { font: 900 20px/1.4 var(--disp); color: var(--navy); margin: 0 0 14px; }

.dl { margin: 0; }
.dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.dl > div:last-child { border-bottom: 0; }
.dl dt { font: 700 13.5px/1.9 var(--disp); color: var(--ao); letter-spacing: .06em; }
.dl dd { margin: 0; font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.dl dd small { display: block; color: var(--ink-2); font-size: 13.5px; }
.dl dd a:hover { color: var(--red); }

.cap { color: var(--ink-2); font-size: 14.5px; max-width: 46em; }

.purpose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.purpose article { border-radius: var(--r); padding: 26px 24px; background: #fff; border: 1px solid var(--line); }
.purpose .no { font: 800 13px/1 var(--latin); letter-spacing: .14em; color: var(--ao); }
.purpose h3 { font: 900 20px/1.45 var(--disp); color: var(--navy); margin: 12px 0 8px; }
.purpose p { margin: 0; font-size: 14px; color: var(--ink-2); }

.greeting { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.greeting > * { min-width: 0; }
.greeting aside { position: sticky; top: 120px; }
.greeting aside svg { width: 140px; height: auto; margin-bottom: 18px; }
.name-ja { font: 900 clamp(26px, 3vw, 34px)/1.25 var(--disp); color: var(--navy); margin: 0; letter-spacing: .06em; }
.name-en { font: 700 12.5px/1 var(--latin); letter-spacing: .22em; color: var(--ao); margin: 10px 0 18px; text-transform: uppercase; }
.sign { margin-top: 28px; font: 700 15px/1.6 var(--disp); color: var(--navy); }

/* timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--navy) 0 33.3%, var(--red) 33.3% 66.6%, var(--navy) 66.6%); }
.timeline li { position: relative; padding: 40px 16px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--navy); }
.timeline li.now::before { background: var(--ao); border-color: var(--navy); }
.timeline b { font: 800 26px/1 var(--latin); color: var(--navy); display: block; margin-bottom: 10px; }
.timeline li.now b { color: var(--ao); }
.timeline span { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; display: block; }

/* example flow */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.flow > div { border-radius: var(--r); padding: 26px 24px; background: #fff; position: relative; }
.flow .who { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.flow .av { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: baseline; justify-content: center; padding-top: 21px; white-space: nowrap; font: 800 23px/1 var(--latin); color: #fff; background: var(--ao); flex: none; }
.flow > div:nth-child(2) .av { background: var(--navy); }
.flow > div:nth-child(3) .av { background: var(--ao-mid); color: var(--navy); }
.flow .av small { font: 900 12px/1 var(--disp); margin-left: 1px; }
.flow .role { font: 800 11.5px/1.4 var(--latin); letter-spacing: .16em; color: var(--ao); text-transform: uppercase; }
.flow h3 { font: 900 18px/1.4 var(--disp); color: var(--navy); margin: 2px 0 0; }
.flow p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.85; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare > div { border-radius: var(--r); padding: 28px 26px 26px; background: var(--mist); min-width: 0; }
.compare > div.new { background: var(--ao); color: #fff; }
.compare h3 { font: 900 20px/1.5 var(--disp); margin: 12px 0 8px; color: var(--navy); }
.compare .new h3 { color: #fff; }
.compare p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.compare .new p { color: #dbe5ff; }

.notice { border-radius: 16px; background: var(--ao-soft); border: 2px dashed var(--ao-2); padding: 16px 20px; font-size: 14px; color: var(--ink-2); line-height: 1.85; margin: 0 0 40px; }
.notice b { color: var(--navy); }

.statement { font: 900 clamp(26px, 3.4vw, 40px)/1.55 var(--disp); color: var(--navy); margin: 0; letter-spacing: .03em; }
.statement em { font-style: normal; color: var(--ao); }

.steps4 { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps4 li { background: #fff; border-radius: 20px; padding: 22px 20px; border-top: 6px solid var(--ao-mid); }
.steps4 li.hl { border-top-color: var(--ao); background: var(--ao-soft); }
.steps4 b { font: 800 24px/1 var(--latin); color: var(--navy); display: block; margin-bottom: 10px; }
.steps4 li.hl b { color: var(--ao); }
.steps4 span { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; display: block; }

.recap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.recap figure { margin: 0; min-width: 0; }
.recap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.recap figure:first-child img { aspect-ratio: auto; height: 100%; max-height: 100%; }
.recap figure:first-child { display: flex; flex-direction: column; }
.recap figure:first-child img { flex: 1; min-height: 0; }
.recap figcaption { font-size: 13px; color: var(--ink-2); margin-top: 10px; line-height: 1.7; }

.notes { list-style: none; font-size: 13.5px; color: var(--mute); margin-top: 16px; }
.notes li { padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 4px; }
.notes li::before { content: "※"; }

.contact-card { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 34px solid rgba(255, 255, 255, .07); }
.contact-card p { color: #dfe2f7; position: relative; z-index: 1; }
.mail { display: inline-block; font: 800 clamp(22px, 3.6vw, 36px)/1.3 var(--latin); color: #fff; text-decoration: none; border-bottom: 4px solid var(--ao-2); padding-bottom: 4px; word-break: break-all; position: relative; z-index: 1; }
.mail:hover { color: var(--ao-2); }
.note { font-size: 13.5px; color: var(--mute); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding-block: 56px 36px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ao); }
.foot-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-row > * { min-width: 0; }
.foot-brand { display: flex; gap: 16px; align-items: center; }
.foot-brand .em { width: 72px; height: 72px; border-radius: 18px; background: #fff; display: grid; place-items: center; flex: none; }
.foot-brand .em svg { width: 60px; height: 60px; }
.foot-brand b { font: 900 22px/1.2 var(--disp); display: block; }
.foot-brand small { display: block; font-size: 12px; color: #c9cdf0; margin-top: 6px; letter-spacing: .06em; }
.foot-nav { display: flex; gap: 10px 24px; flex-wrap: wrap; font: 700 14px/1.4 var(--disp); }
.foot-nav a { text-decoration: none; color: #fff; }
.foot-nav a:hover { color: var(--ao-2); }
.copy { font-size: 12px; color: #a9aed6; margin-top: 40px; letter-spacing: .06em; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav a.nav-cta { display: none; }
}
@media (max-width: 1000px) {
  .hero-grid, .ph-grid, .split, .two-col, .greeting, .soukai-band .wrap { grid-template-columns: 1fr; }
  .collage { max-width: 620px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .eventbar { grid-template-columns: auto 1fr; }
  .eventbar .btns { grid-column: 1 / -1; }
  .greeting aside { position: static; order: -1; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .timeline::before { display: none; }
  .steps4 { grid-template-columns: repeat(2, 1fr); }
  .ph-mark, .page-head.ao .ph-mark { justify-self: start; width: 160px; order: -1; }
  .purpose { grid-template-columns: 1fr; }
  .recap { grid-template-columns: 1fr 1fr; }
  .recap figure:first-child { grid-column: 1 / -1; }
  .recap figure:first-child img { aspect-ratio: 16 / 9; height: auto; }
}
@media (max-width: 880px) {
  .head-row { min-height: 70px; }
  .brand svg { width: 42px; height: 42px; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px max(var(--gut), env(safe-area-inset-right, 0px)) 20px max(var(--gut), env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(27,34,89,.3); }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 14px 16px; font-size: 15px; }
  .js .nav a.nav-cta { display: block; margin: 6px 0 0; text-align: center; }
  .no-js .head-row { flex-wrap: wrap; padding-block: 12px; }
  .no-js .nav { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .brand-name { font-size: 19px; }
  .hero-title { font-size: clamp(22px, 6.9vw, 30px); }
  .brand-by { font-size: 10px; letter-spacing: .02em; }
  .cards, .cards.two, .cards.four { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .stat { padding: 22px 18px 18px; }
  .stat::before { left: 18px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .gallery figure.big { grid-column: span 2; grid-row: span 2; }
  .list li { grid-template-columns: 1fr; gap: 10px; }
  .list .d { justify-self: start; }
  .dl > div { grid-template-columns: 76px 1fr; gap: 10px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .flow, .compare { grid-template-columns: 1fr; }
  .idea:nth-child(2) { transform: none; }
  .eventbar { grid-template-columns: 1fr; }
  .collage { padding: 18px 0 56px 14px; }
  .collage .c3 { display: none; }
  .collage .c2 { width: 52%; }
  .sticker { width: 104px; height: 104px; left: -4px; }
  .sticker b { font-size: 27px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .steps4 { grid-template-columns: 1fr; }
  .page-head h1 .chip { margin-left: 0; display: table; top: 0; margin-top: 14px; }
  .recap { grid-template-columns: 1fr; }
  .recap img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .ticker-track { animation: none; }
}
@media print {
  .site-header, .cta, .nav-toggle, .ticker { display: none !important; }
}
