/* ============================================================
   S Lounge — style.css
   Tokens: 地 #ebebe8 / 墨 #222123 / 灰 #8a8884 / 罫線 #c9c8c4 / 真鍮 #b08d57
   Breakpoints: mobile <= 767 / tablet 768–1199 / desktop >= 1200
   ============================================================ */
:root {
  --bg: #ebebe8;
  --bg-2: #dcdbd7;
  --ink: #222123;
  --ink-2: #4a4947;
  --mute: #8a8884;
  --line: #c9c8c4;
  --brass: #b08d57;
  --on-dark: #ebebe8;
  --on-dark-dim: #a9a7a2;
  --font-latin: 'Hanken Grotesk', 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
  --font-jp: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --gutter: 40px;
  --col1: 320px;
  --gap: 80px;
  --sec-pad: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-latin); font-size: 15px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a, .pill, .burger, .menu__close { transition: opacity .25s ease; }
a:hover { opacity: .65; }
h1, h2, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
b { font-weight: 500; }
em { font-style: normal; color: var(--ink); }

.jp { font-family: var(--font-jp); }
.lbl { font-size: 12px; letter-spacing: .02em; color: var(--mute); }
.mute { color: var(--mute); }
.dim { color: var(--on-dark-dim); }
.small { font-family: var(--font-jp); font-size: 12px; line-height: 1.8; color: var(--mute); }
.body { font-family: var(--font-jp); font-size: 15px; line-height: 2.1; color: var(--ink-2); }
.body.sm { font-size: 14px; line-height: 2; }
.body.dark { color: var(--ink); }
.h2 { font-family: var(--font-jp); font-weight: 400; font-size: 26px; line-height: 1.6; }
.num { font-weight: 300; font-size: 128px; line-height: .9; letter-spacing: -.04em; }
.num-m { font-weight: 300; font-size: 72px; line-height: 1; letter-spacing: -.03em; }
.num-s { font-weight: 300; color: var(--mute); }
.only-mobile { display: none; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px; border-radius: 999px;
  font-family: var(--font-jp); font-size: 14px; letter-spacing: .04em; white-space: nowrap;
}
.pill--dark { background: var(--ink); color: var(--on-dark); }
.pill--light { background: var(--on-dark); color: var(--ink); }
.pill:hover { opacity: .8; }
.arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-jp); font-size: 14px;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px; align-self: flex-start;
}
.ph {
  background: repeating-linear-gradient(135deg, #d9d8d4 0 10px, #e2e1dd 10px 20px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #6f6d69; font-size: 12px; letter-spacing: .04em; padding: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 72px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(235,235,232,.92); backdrop-filter: blur(6px);
}
.logo { font-size: 20px; letter-spacing: -.01em; font-weight: 300; }
.logo b { font-weight: 500; }
.site-header__right { display: flex; align-items: center; gap: 32px; }
.site-nav { display: flex; gap: 32px; font-size: 13px; color: var(--mute); }
.burger {
  display: none; flex-direction: column; gap: 5px; padding: 12px 0;
  background: none; border: 0; cursor: pointer;
}
.burger span { display: block; width: 28px; height: 1px; background: var(--ink); }

/* ---------- Menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 100; background: var(--bg); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; }
.menu__head { height: 72px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu__close { display: flex; align-items: center; gap: 16px; background: none; border: 0; cursor: pointer; color: var(--ink); font: inherit; }
.menu__close-label { font-size: 13px; color: var(--mute); }
.menu__body {
  flex: 1; display: grid; grid-template-columns: var(--col1) minmax(0, 1fr) 360px; gap: var(--gap);
  padding: 48px var(--gutter) 0;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: baseline; gap: 24px;
  padding: 18px 0; border-top: 1px solid var(--line);
  font-family: var(--font-jp); font-size: 32px; font-weight: 300;
}
.menu__nav a:last-child { border-bottom: 1px solid var(--line); }
.menu__nav .num-s { font-family: var(--font-latin); font-size: 22px; }
.menu__aside { display: flex; flex-direction: column; gap: 32px; padding-top: 18px; }
.menu__block { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; line-height: 1.8; }
.menu__links { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.menu__aside .pill { background: var(--ink); color: var(--on-dark); align-self: flex-start; }
.menu__foot {
  height: 72px; padding: 0 var(--gutter); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex: none; font-size: 14px;
}
.menu__hours { display: flex; align-items: center; gap: 16px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); display: inline-block; }
.menu__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.menu__legal a { white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { padding: 0 var(--gutter) var(--sec-pad); display: flex; flex-direction: column; gap: 56px; }
.hero__visual { position: relative; height: 90vh; height: 90svh; min-height: 480px; overflow: hidden; background: #2a2a29; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,33,35,0) 45%, rgba(34,33,35,.6) 100%);
}
.hero__caption { position: absolute; left: 40px; bottom: 40px; z-index: 1; color: var(--on-dark); display: flex; flex-direction: column; gap: 12px; }
.hero__brand { font-size: 26px; font-weight: 300; }
.hero__brand b { font-weight: 500; }
.hero__brand span { color: #b5b3ae; }
.hero__addr { font-size: 14px; line-height: 1.6; color: #d9d8d4; }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--gap); align-items: end; }
.hero__copy h1 { font-weight: 400; font-size: 56px; line-height: 1.35; letter-spacing: -.01em; }
.hero__lead { display: flex; flex-direction: column; gap: 24px; max-width: 440px; }

/* ---------- Section frame ---------- */
.sec { scroll-margin-top: 72px;
  padding: var(--sec-pad) var(--gutter); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: var(--col1) minmax(0, 1fr); gap: 72px var(--gap);
}
.sec--last { padding-bottom: 140px; }
.sec__num { display: flex; flex-direction: column; gap: 24px; align-self: start; }
.sec__body { display: flex; flex-direction: column; gap: 72px; }
.sec__body--intro { gap: 20px; max-width: 640px; align-self: start; }
.row { grid-column: 1 / -1; display: grid; grid-template-columns: var(--col1) minmax(0, 1fr); gap: var(--gap); }
.row--rule { border-top: 1px solid var(--line); padding-top: 48px; }

/* 01 Concept */
.concept { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; max-width: 900px; }
.concept__col { display: flex; flex-direction: column; gap: 24px; }
.concept__col--offset { padding-top: 68px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 900px; }
.pillar { border-top: 1px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pillar__t { font-size: 17px; }

/* 02 Space */
.time { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 32px; }
.time--night { margin-top: 88px; }
.time__head { display: flex; align-items: baseline; gap: 32px; }
.time__tag { font-size: 22px; font-weight: 300; }
.time__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--gap); align-items: end; }
.time__grid--rev { grid-template-columns: 360px minmax(0, 1fr); }
.time__img { width: 100%; height: 520px; object-fit: cover; }
.time__img--night { filter: none; }
/* 夜：19:00 のブロックが視界にある間、ページ全体が墨色に沈む（トークンを差し替える） */
html.is-night { --bg: #222123; --bg-2: #2e2d2b; --ink: #ebebe8; --ink-2: #d9d8d4; --mute: #a9a7a2; --line: rgba(235,235,232,.22); }
body, .site-header, .card3 { transition: background-color 1.2s ease, color 1.2s ease; }
.body, .small, .mute, .lbl, .site-nav, .legal__back { transition: color 1.2s ease; }
.sec, .row--rule, .access, .pillar, .card3, .projects > div, .member, .members, .plan, .option, .cmp th, .cmp td, .faq, .faq__item, .apply, .tl__line, .time__tag { transition: border-color 1.2s ease, background-color 1.2s ease; }
html.is-night .site-header { background: rgba(34,33,35,.92); }
html.is-night .pill--dark { color: #222123; }
html.is-night .card3 { background: #2e2d2b; }
html.is-night .time__img--night { filter: none; }
.time__text { display: flex; flex-direction: column; gap: 20px; }
.time__t { font-size: 20px; }
.access { border-top: 1px solid var(--line); padding-top: 40px; }
.access__body { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; font-size: 15px; line-height: 2; }

/* 03 Community */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.card3 { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.card3__t { font-size: 18px; }
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.events img { width: 100%; height: 300px; object-fit: cover; }
.projects__lead { display: flex; flex-direction: column; gap: 12px; }
.projects__t { font-size: 18px; line-height: 1.6; }
.projects { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); font-family: var(--font-jp); }
.projects > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 15px; }

/* 04 Members */
.members { display: flex; flex-direction: column; border-bottom: 1px solid var(--ink); }
.member { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 28px 0; border-top: 1px solid var(--ink); }
.member__h { display: flex; flex-direction: column; gap: 10px; }
.member__t { font-size: 18px; }
.member .body { max-width: 760px; }
.industries { font-size: 22px; font-weight: 300; line-height: 1.9; color: var(--mute); max-width: 900px; }
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.voice { display: flex; flex-direction: column; gap: 20px; }
.voice__who { display: flex; gap: 14px; align-items: center; }
.voice__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.voice__name { font-size: 16px; }

/* 05 Price */
.plans { display: flex; flex-direction: column; gap: 40px; }
.plans__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.plan { border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 24px; }
.plan__price { display: flex; align-items: baseline; gap: 12px; }
.plan__price .num-m { font-size: 96px; }
.plan--sub { border-top-color: var(--line); }
.plan--sub .plan__price .num-m { font-size: 44px; color: var(--mute); }
.plan--sub .lbl, .plan--sub .small { color: var(--mute); }
.option { display: flex; align-items: baseline; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.option__l { width: 200px; flex: none; }
.option__price { display: flex; align-items: baseline; gap: 8px; flex: none; }
.option__price > span:first-child { font-weight: 300; font-size: 24px; letter-spacing: -.02em; }
.table-wrap { display: flex; flex-direction: column; gap: 16px; }
.cmp { border-collapse: collapse; width: 100%; font-family: var(--font-jp); }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 18px 32px 18px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 400; }
.cmp thead th { border-top: 0; color: var(--ink); }
.cmp tbody th { color: var(--mute); width: 260px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 1px solid var(--line); }

/* 06 Admission（縦のタイムライン） */
.timeline { display: flex; flex-direction: column; max-width: 760px; }
.tl { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 32px; }
.tl__rail { display: flex; flex-direction: column; align-items: center; }
.tl__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); flex: none; margin-top: 8px; }
.tl--last .tl__dot { background: var(--brass); }
.tl__line { width: 1px; flex: 1; background: var(--line); margin-bottom: -8px; }
.tl--last .tl__line { display: none; }
.tl__body { display: flex; flex-direction: column; gap: 10px; padding-bottom: 44px; }
.tl--last .tl__body { padding-bottom: 0; }
.tl__h { display: flex; align-items: baseline; gap: 16px; }
.tl__n { font-weight: 300; font-size: 20px; color: var(--mute); letter-spacing: -.02em; }
.tl__t { font-size: 20px; }
.apply--narrow { max-width: 760px; margin-top: 8px; }
.apply {
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
  padding: 32px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.apply__text { display: flex; flex-direction: column; gap: 6px; }
.apply__t { font-size: 20px; }

/* 07 FAQ */
.faq { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); max-width: 900px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 32px 0; font-family: var(--font-jp); font-size: 17px;
}
.faq__item[open] summary { padding-bottom: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 18px; height: 18px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--ink); top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform .2s; }
.plus::before { width: 12px; height: 1px; }
.plus::after { width: 1px; height: 12px; }
.faq__item[open] .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a .link { text-decoration: underline; text-underline-offset: 3px; }
.faq__a { padding: 4px 0 36px; font-family: var(--font-jp); font-size: 14px; line-height: 2; color: var(--ink-2); max-width: 720px; }

/* ---------- Footer (B案) ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 72px var(--gutter); display: flex; flex-direction: column; gap: 64px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: var(--gap); align-items: end; }
.footer__mark { font-size: 120px; line-height: .95; letter-spacing: -.03em; font-weight: 300; }
.footer__mark b { font-weight: 500; }
.footer__cta { display: flex; flex-direction: column; gap: 20px; }
.footer__tag { font-size: 18px; line-height: 1.7; }
.footer__tag span { color: var(--on-dark-dim); font-size: 14px; }
.footer__cta .pill { align-self: flex-start; }
.footer__cols { display: grid; grid-template-columns: var(--col1) repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-top: 40px; border-top: 1px solid rgba(235,235,232,.2); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col .lbl { color: var(--mute); }
.footer__bottom { display: flex; justify-content: flex-end; padding-top: 20px; border-top: 1px solid rgba(235,235,232,.2); }

/* ============================================================
   Tablet 768–1199
   ============================================================ */
@media (max-width: 1199px) {
  :root { --col1: 200px; --gap: 48px; --sec-pad: 80px; }
  .num { font-size: 96px; }
  .site-nav { display: none; }
  .burger { display: flex; }
  .hero__copy h1 { font-size: 44px; }
  .menu__body { grid-template-columns: minmax(0, 1fr) 300px; }
  .menu__lbl { display: none; }
  .concept { grid-template-columns: 1fr; gap: 24px; }
  .concept__col--offset { padding-top: 0; }
  .time__grid, .time__grid--rev { grid-template-columns: 1fr; }
  .time__grid--rev .time__text { order: 2; }
  .time__img { height: 420px; }
  .voices { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__mark { font-size: 88px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   Mobile <= 767
   ============================================================ */
@media (max-width: 767px) {
  :root { --gutter: 20px; --gap: 24px; --sec-pad: 56px; }
  body { font-size: 14px; }
  .only-mobile { display: inline; }
  .body { font-size: 14px; line-height: 2; }
  .body.sm { font-size: 13px; line-height: 1.9; }
  .h2 { font-size: 22px; }
  .num { font-size: 72px; }
  .num-m { font-size: 44px; }

  .site-header { height: 60px; }
  .logo { font-size: 18px; }
  .burger span { width: 24px; }

  .menu__head { height: 60px; }
  .menu__close-label { display: none; }
  .menu__body { display: flex; flex-direction: column; gap: 24px; padding: 16px var(--gutter) 0; }
  .menu__nav a { grid-template-columns: 44px minmax(0, 1fr) 16px; gap: 12px; padding: 16px 0; font-size: 22px; }
  .menu__nav .num-s { font-size: 14px; }
  .menu__aside { gap: 20px; padding: 8px 0 28px; }
  .menu__block { display: none; }
  .menu__aside .pill { align-self: stretch; height: 52px; }
  .menu__foot { height: auto; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px var(--gutter) 28px; font-size: 13px; }
  .menu__legal { gap: 16px; }

  .hero { gap: 32px; }
  .hero__caption { left: 20px; bottom: 20px; gap: 6px; }
  .hero__brand { font-size: 20px; }
  .hero__addr { font-size: 12px; }
  .hero__copy { grid-template-columns: 1fr; gap: 24px; }
  .hero__copy h1 { font-size: 34px; line-height: 1.4; }

  .sec { grid-template-columns: 1fr; gap: 32px; }
  .sec--last { padding-bottom: 72px; }
  .sec__num { flex-direction: row; align-items: baseline; gap: 16px; align-self: start; }
  .sec__body { gap: 32px; }
  .row { grid-template-columns: 1fr; gap: 16px; }
  .row > div:empty { display: none; }
  .row--rule { padding-top: 24px; }

  .pillars { grid-template-columns: 1fr; gap: 16px; }
  .pillar { flex-direction: row; gap: 16px; align-items: baseline; padding-top: 12px; }
  .pillar__t { width: 120px; flex: none; font-size: 16px; }

  .time { gap: 20px; }
  .time--night { margin-top: 64px; }
  .time__head { gap: 16px; }
  .time__tag { font-size: 16px; }
  .time__img { height: 260px; }
  .time__t { font-size: 18px; }
  .access { padding-top: 24px; }
  .access__body { flex-direction: column; gap: 12px; font-size: 14px; }

  .cards3 { grid-template-columns: 1fr; gap: 12px; counter-reset: c3; }
  .card3 { border-top: 0; background: #e4e3df; padding: 22px 20px 24px; gap: 10px; }
  .card3__t { font-size: 16px; display: flex; align-items: baseline; gap: 12px; }
  .card3__t::before { counter-increment: c3; content: counter(c3, decimal-leading-zero); font-family: var(--font-latin); font-weight: 300; font-size: 13px; color: var(--mute); letter-spacing: .02em; }
  .card3 .body { font-size: 13px; line-height: 1.9; }
  .events { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .events img { height: 160px; }
  .events img:first-child { grid-column: 1 / -1; height: 240px; }
  .projects > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; font-size: 14px; }
  .projects dt { font-size: 12px; }

  /* メンバー：横スワイプのカード */
  .row:has(> .members) { grid-template-columns: 1fr; }
  .members { flex-direction: row; gap: 12px; border-bottom: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; counter-reset: mb; }
  .members::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 82%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 24px; border-top: 0; background: #e4e3df; transition: background-color 1.2s ease; }
  .member__h { gap: 8px; }
  .member__t { font-size: 16px; display: flex; align-items: baseline; gap: 12px; }
  .member__t::before { counter-increment: mb; content: counter(mb, decimal-leading-zero); font-family: var(--font-latin); font-weight: 300; font-size: 13px; color: var(--mute); letter-spacing: .02em; }
  .member .body { font-size: 13px; line-height: 1.9; }
  html.is-night .member { background: #2e2d2b; }
  .industries { font-size: 17px; }
  .voices { gap: 40px; }
  .voice { gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
  .voice:first-child { border-top: 0; padding-top: 0; }
  .voice__who img { width: 44px; height: 44px; }
  .voice__name { font-size: 15px; }

  .plans { gap: 32px; }
  .plans__grid { grid-template-columns: 1fr; gap: 32px; }
  .plan { padding-top: 20px; gap: 16px; }
  .plan__price .num-m { font-size: 60px; }
  .plan--sub .plan__price .num-m { font-size: 32px; }
  .option { flex-direction: column; gap: 8px; padding: 16px 0; }
  .option__l { width: auto; }
  .option__price > span:first-child { font-size: 20px; }
  .cmp th, .cmp td { padding: 12px 12px 12px 0; font-size: 12px; line-height: 1.6; }
  .cmp tbody th { width: 34%; }
  .col-opt, .row-opt { display: none; }

  .tl { grid-template-columns: 24px minmax(0, 1fr); gap: 16px; }
  .tl__body { gap: 6px; padding-bottom: 32px; }
  .tl__n { font-size: 16px; }
  .tl__t { font-size: 17px; }
  .apply { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
  .apply__t { font-size: 18px; }

  .faq__item summary { padding: 26px 0; font-size: 15px; }
  .faq__item[open] summary { padding-bottom: 8px; }
  .plus { width: 16px; height: 16px; }
  .faq__a { padding-bottom: 28px; font-size: 13px; line-height: 1.9; }

  .site-footer { padding: 56px var(--gutter); gap: 40px; }
  .footer__top { gap: 20px; }
  .footer__mark { font-size: 64px; }
  .footer__tag { font-size: 16px; }
  .footer__tag span { font-size: 12px; }
  .footer__cta .pill { align-self: stretch; height: 52px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 24px; }
  .footer__col { font-size: 13px; gap: 8px; }
  .footer__col:first-child { grid-column: 1 / -1; }
  .footer__bottom { justify-content: flex-start; padding-top: 16px; }
}

/* ============================================================
   Motion（参考：Rinnai Aoyama の減速イージングと控えめな出現）
   ============================================================ */
:root {
  --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);   /* easeOutQuart */
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);      /* easeOutExpo */
}

/* リンク・ボタンのホバーは長めの減速で */
a { transition: opacity .8s var(--ease-out), color .8s var(--ease-out); }
.site-nav a, .footer__col a, .menu__links a, .menu__legal a { position: relative; opacity: 1; }
/* 縦並びの列では下線を文字幅に合わせる（列いっぱいに伸びないように） */
.footer__col a, .menu__links a { align-self: flex-start; }
.site-nav a:hover, .footer__col a:hover, .menu__links a:hover, .menu__legal a:hover { opacity: 1; }
.site-nav a::after, .footer__col a::after, .menu__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left center;
  transition: transform .7s var(--ease-expo);
}
.site-nav a:hover::after, .footer__col a:hover::after, .menu__links a:hover::after { transform: scaleX(1); }
.site-nav a:hover { color: var(--ink); }

/* 下線付きの矢印リンク：下線が右へ抜けて左から戻る */
.arrow { border-bottom: 0; position: relative; padding-bottom: 4px; }
.arrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: left center; }
.arrow:hover { opacity: 1; }
.arrow:hover::after { animation: hover-bar .7s var(--ease-expo) both; }
@keyframes hover-bar {
  0%   { transform: scaleX(1); transform-origin: right center; }
  50%  { transform: scaleX(0); transform-origin: right center; }
  50.1%{ transform: scaleX(0); transform-origin: left center; }
  100% { transform: scaleX(1); transform-origin: left center; }
}

/* ピルボタン：左から塗りが走る */
.pill { position: relative; overflow: hidden; isolation: isolate; transition: color .8s var(--ease-out); }
.pill::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease-expo); }
.pill--dark::after { background: #3d3c3a; }
.pill--light::after { background: #d5d4cf; }
.menu__aside .pill::after { background: #3d3c3a; }
.pill:hover { opacity: 1; }
.pill:hover::after { transform: scaleX(1); }

/* メニュー：下から現れる（clip-path）、項目は順に持ち上がる */
.menu { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease-expo), opacity .4s var(--ease-out); }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu.is-closing { clip-path: inset(0 0 0 0); opacity: 0; }
.menu__nav a { overflow: hidden; }
.menu__nav a > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-expo); }
.menu.is-open .menu__nav a > span { transform: none; }
.menu.is-open .menu__nav a:nth-child(1) > span { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(2) > span { transition-delay: .20s; }
.menu.is-open .menu__nav a:nth-child(3) > span { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(4) > span { transition-delay: .30s; }
.menu.is-open .menu__nav a:nth-child(5) > span { transition-delay: .35s; }
.menu.is-open .menu__nav a:nth-child(6) > span { transition-delay: .40s; }
.menu.is-open .menu__nav a:nth-child(7) > span { transition-delay: .45s; }
.menu__aside, .menu__foot, .menu__lbl { opacity: 0; transition: opacity 1s var(--ease-out) .6s; }
.menu.is-open .menu__aside, .menu.is-open .menu__foot, .menu.is-open .menu__lbl { opacity: 1; }

/* ヒーロー：写真がゆっくり寄り、コピーが浮き上がる（読み込み時1回） */
.hero__visual img { transform: scale(1.06); opacity: 0; transition: transform 2s var(--ease-expo), opacity 1.2s var(--ease-out); }
.hero__caption { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease-out) .5s, transform 1.6s var(--ease-expo) .5s; }
.hero__copy h1, .hero__lead { opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease-out), transform 2s var(--ease-expo); }
.hero__copy h1 { transition-delay: .3s; }
.hero__lead { transition-delay: .5s; }
body.is-ready .hero__visual img { transform: none; opacity: 1; }
body.is-ready .hero__caption, body.is-ready .hero__copy h1, body.is-ready .hero__lead { opacity: 1; transform: none; }

/* スクロール出現：章番号と見出しは少し下から起き上がる、本文は浮き上がる */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease-out), transform 1.6s var(--ease-expo); }
[data-reveal="tilt"] { transform: translateY(30px) rotateX(-30deg); transform-origin: center bottom; perspective: 800px; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-group] > * { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease-out), transform 1.6s var(--ease-expo); }
[data-reveal-group].is-in > * { opacity: 1; transform: none; }
[data-reveal-group].is-in > :nth-child(2) { transition-delay: .12s; }
[data-reveal-group].is-in > :nth-child(3) { transition-delay: .24s; }
[data-reveal-group].is-in > :nth-child(4) { transition-delay: .36s; }
[data-reveal-group].is-in > :nth-child(5) { transition-delay: .48s; }

/* FAQ：回答がふわっと */
.faq__item[open] .faq__a { animation: faq-in .6s var(--ease-out) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 動きを減らす設定の人には出現アニメーションを無効に */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], [data-reveal-group] > *, .hero__visual img, .hero__caption, .hero__copy h1, .hero__lead { opacity: 1; transform: none; }
  .menu { clip-path: none; }
  .menu__nav a > span { transform: none; }
  .menu__aside, .menu__foot, .menu__lbl { opacity: 1; }
}

/* ============================================================
   Motion
   ============================================================ */
/* Loading */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.loader__mark { font-size: 22px; font-weight: 300; letter-spacing: -.01em; opacity: 0; animation: loader-in .6s ease .1s forwards; }
.loader__mark b { font-weight: 500; }
.loader__bar { position: relative; width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform-origin: left; transform: scaleX(0); animation: loader-bar 1s cubic-bezier(.4,0,.2,1) .2s forwards; }
.js .loader.is-done { opacity: 0; visibility: hidden; }
.js .loader.is-skipped { display: none; }
@keyframes loader-in { to { opacity: 1; } }
@keyframes loader-bar { to { transform: scaleX(1); } }


@media (prefers-reduced-motion: reduce) {
  .js .loader { display: none; }
  .loader__mark, .loader__bar::after { animation: none; }
}
