/* =========================================================
   飯塚健監督 特別ワークショップ 募集LP
   ========================================================= */

:root {
  --bg: #111110;
  --bg-alt: #191918;
  --bg-deep: #0c0c0b;
  --text: #f2eee6;
  --text-sub: #bbb6ad;
  --line: rgba(242, 238, 230, 0.14);
  --line-strong: rgba(242, 238, 230, 0.28);
  --accent: #d8b784;
  --accent-ink: #1a1610;

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;

  --container: 1160px;
  --gutter: 22px;
  --header-h: 60px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.nowrap { white-space: nowrap; }
.sp-only { display: inline; }
@media (min-width: 768px) { .sp-only { display: none; } }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--mid { max-width: calc(880px + var(--gutter) * 2); }
.container--narrow { max-width: calc(720px + var(--gutter) * 2); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 17, 16, 0.94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(17, 17, 16, 0.86); backdrop-filter: blur(8px); }
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--header-h);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto; padding: 0 var(--gutter);
}
.site-header__brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  line-height: 1.4;
}
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 10px;
  font-size: 13px; text-decoration: none; color: var(--text-sub);
  transition: color .2s;
}
.site-nav a:hover { color: var(--text); }
.site-nav .site-nav__apply {
  margin-left: 6px; padding: 0 16px; min-height: 40px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  color: var(--accent); font-weight: 500;
}
.site-nav .site-nav__apply:hover { background: var(--accent); color: var(--accent-ink); }
.site-header__brand { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.site-nav a { white-space: nowrap; }
.site-nav__item--pc { display: none; }
@media (max-width: 559px) {
  .site-header__brand { font-size: 13px; }
  .site-nav a { padding: 0 8px; }
  .site-nav .site-nav__apply { margin-left: 2px; padding: 0 12px; }
}
@media (min-width: 768px) {
  .site-header__brand { font-size: 15px; }
  .site-nav__item--pc { display: list-item; }
  .site-nav a { font-size: 14px; padding: 0 14px; }
}

/* ---------- 共通パーツ ---------- */
.section { padding: 88px 0; background: var(--bg); }
.section--alt { background: var(--bg-alt); }
@media (min-width: 960px) { .section { padding: 128px 0; } }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.28em; color: var(--accent);
  margin-bottom: 18px;
  line-height: 1;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 6.2vw, 34px);
  line-height: 1.55;
  letter-spacing: 0.06em;
}
.section-lead { margin-top: 14px; color: var(--text-sub); }

.prose p + p { margin-top: 1.2em; }
.prose { max-width: 38em; }

.label-tag {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px; font-weight: 500; letter-spacing: 0.18em;
  border-radius: 2px;
  line-height: 1.7;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px;
  border-radius: var(--radius);
  font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: 0.06em;
  text-decoration: none; line-height: 1.4; text-align: center;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn__icon { width: 14px; height: 14px; flex: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #e6caa0; }
.btn--secondary { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn--secondary:hover { background: rgba(216, 183, 132, 0.1); }
.btn--ghost {
  color: var(--text); border-color: var(--line-strong); font-weight: 500;
}
.btn--ghost:hover { border-color: var(--text); }
.btn--disabled {
  background: transparent;
  color: var(--text-sub);
  border: 1px dashed var(--line-strong);
  font-weight: 500;
  cursor: not-allowed;
}
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; white-space: nowrap; flex: none; }

.cta-group { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.cta-group .btn { width: 100%; }
@media (min-width: 560px) {
  .cta-group { flex-direction: row; flex-wrap: wrap; }
  .cta-group .btn { width: auto; }
}
.cta-group--center { justify-content: center; align-items: center; }
.cta-group--stack { flex-direction: column; align-items: stretch; max-width: 420px; margin-left: auto; margin-right: auto; }
.cta-group--stack .btn { width: 100%; }
.cta-status { margin-top: 14px; font-size: 14px; color: var(--accent); }

/* ---------- ファーストビュー ---------- */
.hero { background: var(--bg); }
.hero__media { margin: 0; background: var(--bg-deep); }
/* 作品ポスターの壁：ポスター4枚／横長ドラマ1枚／ポスター4枚 */
.poster-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  margin: 0; padding: 0; list-style: none;
}
.poster-wall__item { margin: 0; aspect-ratio: 566 / 800; overflow: hidden; background: var(--bg-deep); }
.poster-wall__item--wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.poster-wall__item img { width: 100%; height: 100%; object-fit: cover; }
.poster-wall__item--wide img { object-position: 50% 30%; }
/* 横長の「コントと音楽 vol.7」は左右の題字が切れないよう全体を収め、余白はポスター地色で埋める */
.poster-wall__item--conte { background: rgb(200,121,114); }
.poster-wall__item--conte img { object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .poster-wall__item { animation: poster-in .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
  @keyframes poster-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
.hero__body { padding: 30px var(--gutter) 56px; }
/* タイトル「飯塚健監督 特別ワークショップ」を主役に大きく見せる */
.hero__title {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-feature-settings: "palt";
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--text);
}
.hero__title-sub {
  display: block;
  font-size: clamp(22px, 6.2vw, 34px);
  letter-spacing: 0.12em;
  color: var(--accent);
}
.hero__title-main {
  display: block;
  margin-top: 6px;
  white-space: nowrap;
  /* 9文字が画面幅に収まる大きさ（スマホ約34px、PCは最大60px） */
  font-size: min(60px, calc((100vw - var(--gutter) * 2) / 9.6));
}
.hero__lead { margin-top: 18px; color: var(--text-sub); font-size: 15px; line-height: 1.95; }

.facts {
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.facts__row {
  display: grid; grid-template-columns: 4.2em 1fr; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.facts dt { font-size: 13px; color: var(--text-sub); letter-spacing: 0.12em; }
.facts dd { font-size: 15px; line-height: 1.7; }
.facts__strong { font-weight: 700; font-size: 16.5px; letter-spacing: 0.04em; }

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }
  .hero__body {
    grid-column: 1; grid-row: 1;
    align-self: center;
    padding: 56px 40px 56px max(var(--gutter), calc((100vw - var(--container)) / 2));
  }
  .hero__media {
    grid-column: 2; grid-row: 1;
    display: flex; flex-direction: column; justify-content: center;
    padding: 32px max(var(--gutter), calc((100vw - var(--container)) / 2 - 80px)) 32px 0;
    background: var(--bg);
  }
  /* 壁の高さ ≒ 幅×1.21。画面の高さに収まる幅を上限にする */
  .poster-wall { gap: 6px; width: 100%; margin: 0 auto; max-width: min(760px, calc((100vh - var(--header-h) - 76px) / 1.23)); max-width: min(760px, calc((100svh - var(--header-h) - 76px) / 1.23)); }
  /* 左カラム幅に9文字が収まる最大サイズ（1440pxで約57px） */
  .hero__title-main { font-size: clamp(40px, calc((50vw - 180px) / 9.5), 64px); }
  .hero__title-sub { font-size: clamp(24px, 2.2vw, 34px); }
  .hero__lead { font-size: 16px; }
  .hero .cta-group { flex-direction: column; align-items: stretch; max-width: 380px; }
  .hero .cta-group .btn { width: 100%; }
}

/* ---------- 監督からの言葉 ---------- */
.section--message { text-align: center; }
.section--message .eyebrow { justify-content: center; }
.section--message .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section--message .section-title { font-size: 15px; font-family: var(--font-sans); font-weight: 500; color: var(--text-sub); letter-spacing: 0.2em; }
.message {
  margin: 40px 0 0;
  font-feature-settings: "palt";
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(21px, 5.4vw, 30px);
  line-height: 2;
  letter-spacing: 0.08em;
}
.message p + p { margin-top: 1.2em; }
.message__sign {
  margin-top: 44px;
  font-size: 13px; color: var(--text-sub); letter-spacing: 0.14em;
}
.message__name {
  display: inline-block; margin-left: 1.2em;
  font-family: var(--font-serif); font-size: 18px; color: var(--text); letter-spacing: 0.2em;
}

/* ---------- ワークショップについて（ABOUT） ---------- */
.about__catch {
  margin-top: 22px;
  font-family: var(--font-serif); font-weight: 600;
  font-feature-settings: "palt";
  font-size: clamp(20px, 5.4vw, 30px);
  line-height: 1.5; letter-spacing: 0.04em;
  color: var(--accent);
}
.about { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .about { grid-template-columns: 340px 1fr; gap: 64px; }
}
.steps {
  margin-top: 64px;
  display: grid; gap: 0;
  border-top: 1px solid var(--line-strong);
  counter-reset: none;
}
.steps__item {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 48px 1fr; column-gap: 12px;
}
.steps__num {
  grid-row: span 2;
  font-family: var(--font-serif); font-size: 15px; color: var(--accent); letter-spacing: 0.1em;
  padding-top: 2px;
}
.steps__title { font-family: var(--font-serif); font-weight: 600; font-size: 19px; letter-spacing: 0.06em; line-height: 1.6; }
.steps__item p { margin-top: 6px; color: var(--text-sub); font-size: 15px; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 0; border-bottom: 1px solid var(--line); }
  .steps__item { display: block; padding: 30px 26px 34px; border-bottom: 0; border-left: 1px solid var(--line); }
  .steps__item:first-child { border-left: 0; padding-left: 0; }
  .steps__num { display: block; margin-bottom: 18px; }
}

/* ---------- 前回の様子（写真は大きくしすぎず、説明と並べてまとめる） ---------- */
.section--scene { background: var(--bg); border-top: 1px solid var(--line); }
.scene-layout { display: grid; gap: 28px; }
.scene { margin: 0; }
.scene img { width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.scene__note { margin-top: 18px; font-size: 13px; color: var(--text-sub); line-height: 1.8; }
@media (min-width: 960px) {
  .scene-layout { grid-template-columns: minmax(0, 1fr) 640px; gap: 64px; align-items: center; }
}

/* ---------- プロフィール ---------- */
.profile { display: grid; gap: 32px; }
.profile__photo img { width: 100%; max-width: 324px; border-radius: 2px; }
.profile__name {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 34px; letter-spacing: 0.2em; line-height: 1.4;
}
.profile__kana { margin-top: 4px; font-size: 13px; color: var(--text-sub); letter-spacing: 0.16em; }
.profile__role { margin-top: 12px; font-size: 14px; color: var(--accent); letter-spacing: 0.14em; }
.profile__text { margin-top: 28px; font-size: 15.5px; }
.profile__more { margin-top: 1.2em; }
.text-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; min-height: 44px; padding: 0 2px;
  background: none; border: 0; border-bottom: 1px solid var(--line-strong);
  color: var(--text); font: inherit; font-size: 14px; letter-spacing: 0.08em;
  cursor: pointer;
}
.text-toggle:hover { border-color: var(--accent); }
.text-toggle__icon {
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s;
}
.text-toggle[aria-expanded="true"] .text-toggle__icon { transform: translateY(2px) rotate(-135deg); }
@media (min-width: 900px) {
  .profile { grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
  .profile__photo { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- 作品 ---------- */
.works-group { margin-top: 52px; }
.works-group__title {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.24em; color: var(--text-sub);
  margin-bottom: 24px;
}
.works-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 12px;
}
.poster__frame {
  aspect-ratio: 566 / 800;
  background: var(--bg-deep);
  box-shadow: 0 0 0 1px var(--line);
}
.poster__frame img { width: 100%; height: 100%; object-fit: contain; }
/* 横長ビジュアルは2列分の枠（高さは縦長ポスターと揃える） */
.poster--wide { grid-column: span 2; }
.poster--wide .poster__frame { aspect-ratio: 3 / 2; }
.visual__note { margin-top: 2px; font-size: 11.5px; line-height: 1.6; color: var(--text-sub); opacity: 0.75; letter-spacing: 0.04em; }
.poster__title, .visual__title {
  margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: var(--text-sub); letter-spacing: 0.04em;
}
@media (min-width: 560px) {
  .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
}
/* 表示幅は最大でも約175px（320px幅の素材で約1.8倍、566px幅で3倍以上） */
@media (min-width: 1100px) {
  .poster-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 24px; }
}
.poster__title { font-size: 13px; }
.visual-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.visual { width: var(--w, 240px); max-width: 100%; }
.visual__frame img { width: 100%; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 559px) {
  /* スマホは2列の同じ大きさの枠に全体を収める（切り抜かない） */
  .visual-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .visual { width: auto; }
  .visual__frame { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--bg-deep); box-shadow: 0 0 0 1px var(--line); }
  .visual__frame img { width: 100%; height: 100%; object-fit: contain; box-shadow: none; }
}

/* 舞台・ライブ｜コントと音楽 */
.conte-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 22px; }
.conte-head__title { font-family: var(--font-serif); font-weight: 600; font-size: 22px; letter-spacing: 0.1em; line-height: 1.5; }
.conte-head__credit { font-size: 13px; color: var(--text-sub); letter-spacing: 0.08em; }
.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 14px;
}
@media (min-width: 768px) {
  .stage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
}
/* 縦長・横長が混在するため、同じ枠の中に全体を収める（切り抜かない） */
.stage__frame {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  background: var(--bg-deep);
  box-shadow: 0 0 0 1px var(--line);
}
.stage__frame img { width: 100%; height: 100%; object-fit: contain; }
.stage__body { margin-top: 10px; }
.stage__badge {
  display: inline-block; margin-bottom: 4px; padding: 0 8px;
  border: 1px solid var(--accent); border-radius: 2px;
  font-size: 11px; line-height: 1.8; letter-spacing: 0.12em; color: var(--accent);
}
.stage__title { font-size: 14px; line-height: 1.6; letter-spacing: 0.04em; }
.stage__year { margin-top: 2px; font-size: 12px; color: var(--text-sub); letter-spacing: 0.08em; }

/* ---------- 募集要項 ---------- */
.spec { margin-top: 40px; border-top: 1px solid var(--line-strong); }
.spec__row {
  display: grid; grid-template-columns: 1fr; gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt { font-size: 13px; color: var(--text-sub); letter-spacing: 0.12em; }
.spec dd { font-size: 16px; }
.spec__row--key dd { font-weight: 700; font-size: 17px; }
.spec__note { margin-top: 14px; font-size: 13px; color: var(--text-sub); }
@media (min-width: 768px) {
  .spec__row { grid-template-columns: 180px 1fr; gap: 24px; padding: 20px 0; align-items: baseline; }
  .spec dt { font-size: 14px; }
}
#outline .cta-group { margin-top: 44px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; border-top: 1px solid var(--line-strong); }
.faq__item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq dt, .faq dd { display: grid; grid-template-columns: 30px 1fr; gap: 8px; }
.faq dt { font-weight: 700; font-size: 16px; }
.faq dd { margin-top: 10px; color: var(--text-sub); }
.faq__mark { font-family: var(--font-serif); color: var(--accent); font-weight: 600; }
.faq__mark--a { color: var(--text-sub); }

/* ---------- 応募 ---------- */
.section--apply { background: var(--bg-alt); border-top: 1px solid var(--line); }
.apply { text-align: center; }
.apply .eyebrow { justify-content: center; }
.apply .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.apply__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(27px, 7.4vw, 42px); letter-spacing: 0.08em; line-height: 1.5;
}
.apply__text { margin-top: 24px; color: var(--text-sub); line-height: 2; }
.apply__facts {
  display: grid; gap: 0;
  margin: 36px auto 0; max-width: 520px;
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  text-align: left;
}
.apply__facts > div {
  display: grid; grid-template-columns: 7.2em 1fr; gap: 12px;
  padding: 14px 4px; align-items: baseline;
}
.apply__facts > div + div { border-top: 1px solid var(--line); }
.apply__facts dt { font-size: 13px; color: var(--text-sub); letter-spacing: 0.08em; }
.apply__facts dd { font-weight: 700; }
@media (max-width: 559px) {
  .apply__facts > div { grid-template-columns: 1fr; gap: 2px; }
}
.apply .cta-group { margin-top: 36px; }
.apply__note { margin-top: 16px; font-size: 13px; color: var(--text-sub); }
.contact {
  margin: 44px auto 0; max-width: 520px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact__title { font-size: 13px; font-weight: 500; color: var(--text-sub); letter-spacing: 0.16em; }
.contact__list { display: inline-grid; gap: 2px; margin: 12px auto 0; text-align: left; }
.contact__list > div { display: grid; grid-template-columns: 7.5em 1fr; align-items: center; column-gap: 12px; }
.contact__list > div[hidden] { display: none; }
.contact__list dt { font-size: 13px; color: var(--text-sub); letter-spacing: 0.08em; }
.contact__list dd { margin: 0; font-family: var(--font-serif); font-size: 16px; letter-spacing: 0.06em; overflow-wrap: anywhere; }
.contact__list dd a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 559px) {
  .contact__list { display: grid; gap: 14px; text-align: center; }
  .contact__list > div { grid-template-columns: 1fr; row-gap: 2px; }
  .contact__list dd a { min-height: 36px; }
}

/* ---------- フッター ---------- */
.site-footer { padding: 48px 0 40px; background: var(--bg-deep); border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; flex-direction: column; gap: 14px; }
.site-footer__name { font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.08em; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.site-footer__links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; color: var(--text-sub); text-decoration: none;
}
.site-footer__links a:hover { color: var(--text); text-decoration: underline; }
.site-footer__org { font-size: 13px; color: var(--text-sub); }
@media (min-width: 768px) {
  .site-footer__inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}

/* ---------- スマホ下部固定CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(12, 12, 11, 0.96);
    border-top: 1px solid var(--line-strong);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .sticky-cta[hidden] { display: none; }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta__info { font-size: 12px; line-height: 1.5; color: var(--text-sub); }
  .sticky-cta__sep { margin: 0 4px; opacity: .5; }
  .has-sticky-cta .site-footer { padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom)); }
}

/* ---------- スクロール表示 ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.noscript { padding: 16px var(--gutter); background: var(--bg-alt); color: var(--text-sub); font-size: 14px; text-align: center; }
