@charset "UTF-8";

/* ============================================================
   IRON BASE / front page
   トップページ専用。旧 style.css は読み込まれないので、
   リセットもここに持つ（クリーンルーム）。

   Palette : iron black / chalk / ember (#E07A28)
             ember はジム実写の天井ライン照明から採った色。
   Shape   : radius 0。ラック・プレート・プラットフォームは
             すべて直線で構成されているので、UIもそれに従う。
   Theme   : dark 固定。
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 2;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

section[id] { scroll-margin-top: var(--header); }

/* 和文見出しは文節で折り返す。対応ブラウザだけ効き、他は無視される。 */
.hero__title, .about__title, .tile__title,
.quote__text, .news__headline, .cta__title { word-break: auto-phrase; }

.is-empty { color: var(--mute); font-size: 14px; }

/* ---------- section heading ---------- */
.sec-head { margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head__en {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 118, "wght" 900;
  font-weight: 900;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: .82;
  letter-spacing: -.03em;
  color: var(--chalk);
  margin-bottom: clamp(14px, 1.8vw, 22px);
}
/* シグネチャ: 見出しの下を ember のバーが左から引かれる（バーをラックに掛ける動き） */
.sec-head__bar {
  display: block;
  height: 3px;
  width: 100%;
  max-width: 420px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease) .12s;
}
.is-in .sec-head__bar,
.sec-head__bar.is-in { transform: scaleX(1); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chalk);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link-more svg { transition: transform .4s var(--ease); }
.link-more:hover { color: var(--ember); border-color: var(--ember); }
.link-more:hover svg { transform: translateX(6px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__stage { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: heroCycle 24s infinite;
}
.hero__slide:nth-child(1) { animation-delay: 0s; opacity: 1; }
.hero__slide:nth-child(2) { animation-delay: 8s; }
.hero__slide:nth-child(3) { animation-delay: 16s; }

@keyframes heroCycle {
  0%   { opacity: 0; transform: scale(1.03); }
  3%   { opacity: 1; }
  30%  { opacity: 1; }
  34%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1.13); }
}

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11,12,14,.94) 0%, rgba(11,12,14,.72) 26%, rgba(11,12,14,.12) 62%, rgba(11,12,14,.42) 100%),
    linear-gradient(to right, rgba(11,12,14,.78) 0%, rgba(11,12,14,.20) 52%, rgba(11,12,14,0) 100%);
}

.hero__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: var(--header) var(--gutter) clamp(56px, 9vh, 104px);
}

/* 見出し幅にバーを合わせるため、type ブロックを内容サイズにする */
.hero__type { width: fit-content; max-width: 100%; }

.hero__title {
  font-family: var(--f-jp);
  font-weight: 900;
  font-size: clamp(2.4rem, 12.2vw, 12rem);
  line-height: 1.04;
  letter-spacing: -.012em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line i {
  display: block;
  font-style: normal;
  transform: translateY(108%);
  animation: lineUp 1.05s cubic-bezier(.19, 1, .22, 1) forwards;
}
.hero__line:nth-child(1) i { animation-delay: .20s; }
.hero__line:nth-child(2) i { animation-delay: .34s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__bar {
  height: clamp(4px, .5vw, 7px);
  width: 100%;
  background: var(--ember);
  margin-top: clamp(14px, 1.6vw, 22px);
  transform: scaleX(0);
  transform-origin: left center;
  animation: barRack 1s cubic-bezier(.19, 1, .22, 1) .72s forwards;
}
@keyframes barRack { to { transform: scaleX(1); } }

.hero__lead {
  max-width: 30em;
  margin-top: clamp(20px, 2.4vw, 30px);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.95;
  color: rgba(244, 242, 237, .84);
  opacity: 0;
  animation: fadeUp .9s var(--ease) .92s forwards;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: clamp(24px, 3vw, 36px);
  opacity: 0;
  animation: fadeUp .9s var(--ease) 1.05s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ============================================================
   ABOUT （左端まで抜ける非対称スプリット）
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding: clamp(80px, 12vw, 170px) var(--gutter) clamp(80px, 12vw, 170px) 0;
  max-width: calc(var(--wrap) + var(--gutter));
  margin-inline: auto;
}
.about__media { margin: 0; }
.about__media img { width: 100%; aspect-ratio: 11 / 13; object-fit: cover; }
.about__body { max-width: 46rem; }
.about__title {
  font-family: var(--f-jp);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.7vw, 2.4rem);
  line-height: 1.62;
  letter-spacing: .01em;
  margin-bottom: clamp(20px, 2.4vw, 28px);
}
.about__text {
  color: rgba(244, 242, 237, .74);
  max-width: 38em;
  margin-bottom: clamp(32px, 4vw, 46px);
}

.price {
  padding: 24px 0 26px;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 44px);
}
.price__label {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--mute); line-height: 1; margin-bottom: 14px;
}
.price__row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__num {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 115, "wght" 900;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: clamp(3.2rem, 6.4vw, 5.4rem);
  line-height: .82;
  letter-spacing: -.02em;
  color: var(--ember);
}
.price__yen { font-size: 17px; font-weight: 700; color: var(--ember); }
.price__tax { margin-left: 10px; font-size: 12.5px; color: var(--mute); letter-spacing: .04em; }

/* ============================================================
   SERVICE （非対称ベント / 3項目 = 3セル）
   ============================================================ */
.service { padding-block: clamp(80px, 11vw, 150px); background: var(--steel); }

.bento {
  display: grid;
  gap: clamp(12px, 1.5vw, 20px);
  grid-template-columns: 1fr 1.04fr;
  grid-template-rows: repeat(2, clamp(240px, 24vw, 330px));
}
.tile {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
/* 縦写真は縦セルに置く。横写真2枚がその横に積む */
.tile--tall { grid-column: 2; grid-row: 1 / span 2; }
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.1s var(--ease);
}
/* 明るいグループレッスンの写真でも chalk が AA を満たす高さまでスクリムを効かせる */
.tile::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top,
    rgba(11,12,14,.96) 0%, rgba(11,12,14,.92) 34%, rgba(11,12,14,.62) 62%, rgba(11,12,14,.28) 100%);
}
.tile--tall::before {
  background: linear-gradient(to top,
    rgba(11,12,14,.96) 0%, rgba(11,12,14,.86) 26%, rgba(11,12,14,.40) 58%, rgba(11,12,14,.16) 100%);
}
.tile:hover img { transform: scale(1.05); }

.tile__link { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.tile__body { padding: clamp(22px, 2.6vw, 38px); width: 100%; }
.tile__title {
  font-family: var(--f-jp);
  font-weight: 900;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.4;
  margin-bottom: 12px;
}
.tile__text {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(244, 242, 237, .78);
  max-width: 34em;
  margin-bottom: 16px;
}
.tile__more {
  display: inline-block;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

/* ============================================================
   VOICE （横スクロールレール）
   ============================================================ */
.voice { padding-block: clamp(80px, 11vw, 150px); }
.voice__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.voice__head .sec-head { margin-bottom: 0; }
.voice__head .link-more { margin-bottom: 6px; }

.rail {
  /* scroll-padding を padding と揃える。揃えないと mandatory スナップが
     先頭カードを左ガターの下に停める。 */
  --rail-pad: max(var(--gutter), calc(50vw - var(--wrap) / 2 + var(--gutter)));
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(36px, 5vw, 60px);
  padding-inline: var(--rail-pad);
  scroll-padding-inline: var(--rail-pad);
  padding-bottom: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.rail::-webkit-scrollbar { height: 3px; }
.rail::-webkit-scrollbar-track { background: var(--line-soft); }
.rail::-webkit-scrollbar-thumb { background: var(--ember); }
/* コンテナ幅の1/3より広くする。狭いとレールが動かず「3等分カード」に化ける */
.rail__item { flex: 0 0 min(80vw, 470px); scroll-snap-align: start; }

.quote { height: 100%; background: var(--steel); }
.quote__link { display: flex; flex-direction: column; height: 100%; }
.quote__media { overflow: hidden; }
.quote__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.quote:hover .quote__media img { transform: scale(1.05); }
.quote__body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; flex: 1; }
.quote__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.quote__meta span {
  font-size: 11px; letter-spacing: .1em; color: var(--mute);
  border: 1px solid var(--line); padding: 3px 10px; line-height: 1.7;
}
.quote__text {
  font-family: var(--f-jp);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  margin-bottom: 14px;
}
.quote__sub { font-size: 13px; line-height: 1.9; color: rgba(244, 242, 237, .66); }
.quote__date {
  margin-top: auto; padding-top: 20px;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 500;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 12px; letter-spacing: .1em; color: var(--mute);
}

/* ============================================================
   NEWS （サイドバー + リスト。情報設計は旧テーマのまま）
   ============================================================ */
.news { padding-block: clamp(80px, 11vw, 150px); background: var(--steel); }
.news__grid {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 100px);
}
.news__side { position: sticky; top: calc(var(--header) + 32px); align-self: start; }
.news__cats a {
  display: block;
  padding: 11px 0 11px 18px;
  border-left: 2px solid transparent;
  font-size: 13.5px;
  color: var(--mute);
  transition: color .28s var(--ease), border-color .28s var(--ease);
}
.news__cats a:hover { color: var(--chalk); border-left-color: var(--line); }
.news__cats a.is-current { color: var(--chalk); font-weight: 700; border-left-color: var(--ember); }

.news__list li + li { border-top: 1px solid var(--line-soft); }
.news__list a { display: block; padding: clamp(20px, 2.4vw, 28px) 0; transition: opacity .28s var(--ease); }
.news__list li:first-child a { padding-top: 0; }
.news__list a:hover { opacity: .62; }
.news__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.news__meta time {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 500;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 12px; letter-spacing: .1em; color: var(--ember);
}
.tag {
  font-size: 11px; letter-spacing: .06em; color: var(--mute);
  border: 1px solid var(--line); padding: 2px 9px; line-height: 1.8;
}
.news__headline {
  font-family: var(--f-jp);
  font-weight: 700;
  font-size: clamp(.98rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}
.news__main .link-more { margin-top: clamp(32px, 4vw, 48px); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding-block: clamp(96px, 15vw, 190px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(11,12,14,.90), rgba(11,12,14,.74) 50%, rgba(11,12,14,.94));
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__kicker {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .14em;
  color: var(--ember);
  margin-bottom: 22px;
}
.cta__title {
  font-family: var(--f-jp);
  font-weight: 900;
  font-size: clamp(1.9rem, 5vw, 3.9rem);
  line-height: 1.34;
  letter-spacing: .02em;
}
.cta__bar { max-width: 200px; margin: clamp(26px, 3vw, 38px) 0 clamp(32px, 4vw, 46px); transform-origin: center; }
.cta__note { margin-top: 22px; font-size: 13px; color: var(--mute); letter-spacing: .04em; }

/* ============================================================
   scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1024px) {
  .about { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    padding: clamp(64px, 14vw, 96px) 0 clamp(64px, 14vw, 96px);
    gap: clamp(28px, 7vw, 44px);
  }
  .about__media img { aspect-ratio: 4 / 3; }
  .about__body { padding-inline: var(--gutter); max-width: none; }
  .about__body .sec-head__bar { max-width: 260px; }

  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile { min-height: 300px; }
  .tile--tall { grid-column: auto; grid-row: auto; min-height: 420px; }

  .news__grid { grid-template-columns: 1fr; }
  .news__side { position: static; }
  .news__cats ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .news__cats a { padding: 8px 14px; border-left: 0; border: 1px solid var(--line); }
  .news__cats a.is-current { border-color: var(--ember); color: var(--ember); }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  .hero__inner { padding-bottom: clamp(44px, 8vh, 72px); }
  .hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero .btn { padding: 16px 24px; }
  .rail__item { flex-basis: min(84vw, 340px); }
}

/* ============================================================
   reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__slide { opacity: 0; }
  .hero__slide:nth-child(1) { opacity: 1; }
  .hero__line i { transform: none; }
  .hero__bar, .sec-head__bar { transform: scaleX(1); }
  .hero__lead, .hero__actions { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
