/* ============================================
   MOTION MONO TEMPLATE
   白と黒、罫線とタイポグラフィのエディトリアル
============================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f4f4;
  --ink: #0a0a0a;
  --muted: #6f6f6f;
  --line: rgba(10, 10, 10, 0.16);
  --line-soft: rgba(10, 10, 10, 0.06);
  --line-invert: rgba(255, 255, 255, 0.22);
  --red: #e60012;
  --font-jp: "IBM Plex Sans JP", sans-serif;
  --font-en: "Archivo", sans-serif;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.77, 0, 0.18, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.pc-only {
  display: inline;
}

/* ---------- スキップリンク／フォーカス ---------- */
.skip-link {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 10001;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.85rem;
  transition: top 0.2s;
}

.skip-link:focus-visible {
  top: 12px;
}

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

/* ---------- 黒帯スワイプ（共通キーフレーム）
   帯が左から伸びて右へ抜け、中間点でテキスト／画像が現れる ---------- */
@keyframes bandSwipe {
  0% {
    transform: translateX(0) scaleX(0);
  }
  50% {
    transform: translateX(0) scaleX(1);
  }
  100% {
    transform: translateX(100%) scaleX(0);
  }
}

@keyframes bandContent {
  0%,
  45% {
    opacity: 0;
  }
  55%,
  100% {
    opacity: 1;
  }
}

/* 行単位の黒帯リビール（ヒーローで使用。--d で遅延を指定） */
.band-line {
  position: relative;
  display: inline-block;
}

.band-line__band {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--ink);
  transform: translateX(0) scaleX(0);
  transform-origin: left center;
}

.band-line__text {
  display: inline-block;
  opacity: 0;
}

.is-loaded .band-line__band {
  animation: bandSwipe 1.05s var(--ease) var(--d, 0s) both;
}

.is-loaded .band-line__text {
  animation: bandContent 1.05s var(--ease) var(--d, 0s) both;
}

/* ---------- ローディング（黒帯スワイプ × タイプライター） ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  pointer-events: none;
}

/* 画面を横切り、右へ抜けていく黒帯 */
.loader__band {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(0) scaleX(0);
  transform-origin: left center;
  animation: bandSwipe 1.5s var(--ease) 0.15s both;
}

/* ロゴは difference 合成で、帯の上では白／地の上では黒に反転する */
.loader__logo {
  position: relative;
  z-index: 1;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.5vw, 2.4rem);
  letter-spacing: 0.1em;
  color: #fff;
  mix-blend-mode: difference;
  white-space: nowrap;
}

/* タイプライターのカーソル */
.loader__logo::after {
  content: "";
  display: inline-block;
  width: 0.09em;
  height: 0.95em;
  margin-left: 0.14em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: caretBlink 0.9s steps(2, jump-none) infinite;
}

@keyframes caretBlink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* 読み込み完了：ローダー自体が右へワイプして退場 */
.is-loaded .loader {
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  transition:
    clip-path 0.7s var(--ease) 0.1s,
    visibility 0s 0.9s;
}

/* ---------- カーソル追従プレビュー ---------- */
.hover-preview {
  display: none;
}

.has-preview .hover-preview {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9990;
  width: clamp(240px, 24vw, 320px);
  aspect-ratio: 4 / 3;
  margin: -100px 0 0 36px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  will-change: transform;
}

.has-preview .hover-preview.is-active {
  opacity: 1;
}

.hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 0.6s var(--ease);
}

.hover-preview.is-active img {
  transform: scale(1);
}

/* PCでプレビューが有効な間は、行内サムネイルを隠す */
.has-preview .feature-item__thumb {
  display: none;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: transform 0.5s var(--ease);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(24px, 4vw, 56px);
}

.header__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}

.header__logo-en,
.footer__logo-en {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.nav__list {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
}

.nav__link--cta {
  margin-left: 18px;
  padding: 9px 24px;
  border: 1px solid var(--ink);
  transition:
    background-color 0.35s,
    color 0.35s;
}

.nav__link--cta:hover {
  background: var(--ink);
  color: var(--bg);
}

/* モバイルトグル */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 1001;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  background: var(--bg);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 4px));
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, calc(-50% + 4px));
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ---------- 白黒反転リンク（ネガポジ）
   下地の黒がテキストを塗りつぶすように広がる ---------- */
.invert-link {
  padding: 3px 8px;
  margin: -3px -8px;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  transition:
    background-size 0.45s var(--ease),
    color 0.25s;
}

.invert-link:hover,
.invert-link:focus-visible {
  color: var(--bg);
  background-size: 100% 100%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* 背景の薄いグリッド罫線（誌面の段組をイメージ） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    to right,
    var(--line-soft) 1px,
    transparent 1px
  );
  background-size: calc(100% / 6) 100%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) 28px 0;
}

.hero__eyebrow {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  color: var(--muted);
  margin-bottom: clamp(24px, 4vh, 44px);
}

.hero__title {
  font-weight: 700;
  font-size: clamp(2.9rem, 9.5vw, 8rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin-bottom: clamp(24px, 4vh, 40px);
}

.hero__title-row {
  display: block;
}

.hero__lead {
  max-width: 640px;
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  color: var(--muted);
  margin-bottom: clamp(28px, 5vh, 52px);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s 1.15s,
    transform 0.9s var(--ease) 1.15s;
}

.is-loaded .hero__lead {
  opacity: 1;
  transform: translateY(0);
}

/* 号数・年などのメタ情報（上下罫線で挟む） */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(28px, 5vw, 72px);
  padding: 16px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  opacity: 0;
  transition: opacity 0.8s 1.3s;
}

.is-loaded .hero__meta {
  opacity: 1;
}

/* ビューポート幅いっぱいの誌名 */
.hero__giant {
  position: relative;
  z-index: 1;
  align-self: center;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(4rem, 15.2vw, 15rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  white-space: nowrap;
  user-select: none;
  margin-bottom: -0.06em;
}

/* スクロールキュー（横罫線の上を黒が走る） */
.hero__scroll {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(28px, 5vh, 48px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.hero__scroll i {
  width: 72px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: var(--ink);
  animation: scrollDash 1.8s var(--ease) infinite;
}

@keyframes scrollDash {
  to {
    left: 110%;
  }
}

/* ---------- セクション共通 ---------- */
.section {
  padding: clamp(90px, 13vw, 150px) 0;
}

.section--line {
  border-top: 1px solid var(--line);
}

/* セクション見出し（ページ番号つきの誌面風ヘッダー） */
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__head--invert {
  border-top-color: var(--bg);
}

.section__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
}

.section__label-num {
  color: var(--red);
  margin-right: 14px;
}

.section__page {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

/* 見出し（字間が閉じるリビールは data-reveal="tracking" 側で定義） */
.section__title {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height: 1.4;
  margin-bottom: 34px;
}

/* ---------- スクロールリビール ----------
   data-reveal        = ふわりフェード
   data-reveal="band" = 黒帯スワイプ
   data-reveal="tracking" = 字間が閉じながら現れる */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s,
    transform 1s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="band"] {
  position: relative;
  opacity: 1;
  transform: none;
  transition: none;
}

[data-reveal="band"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--ink);
  transform: translateX(0) scaleX(0);
  transform-origin: left center;
}

[data-reveal="band"] > * {
  opacity: 0;
}

[data-reveal="band"].is-visible::after {
  animation: bandSwipe 1.1s var(--ease) both;
}

[data-reveal="band"].is-visible > * {
  animation: bandContent 1.1s var(--ease) both;
}

[data-reveal="tracking"] {
  opacity: 0;
  transform: none;
  letter-spacing: 0.3em;
  transition:
    opacity 0.9s,
    letter-spacing 1.3s var(--ease);
}

[data-reveal="tracking"].is-visible {
  opacity: 1;
  letter-spacing: 0.04em;
}

/* ---------- スロットカウンター（数字がせり上がる） ---------- */
.slot {
  display: inline-flex;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  vertical-align: -0.08em;
}

.slot__char {
  display: block;
  height: 1em;
}

.slot__digit {
  display: block;
  height: 1em;
  overflow: hidden;
}

.slot__strip {
  display: block;
  transform: translateY(0);
  transition: transform 1.1s var(--ease);
}

.slot__strip span {
  display: block;
  height: 1em;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.about__text {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin-bottom: 24px;
}

/* 実績数値（罫線で仕切った誌面風の表組み） */
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin-top: 40px;
}

.about__stat {
  padding: 22px 18px 18px;
}

.about__stat + .about__stat {
  border-left: 1px solid var(--line);
}

.about__stat dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}

.about__stat dd {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1;
}

.about__figure {
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__caption {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* ---------- Features（特集記事リスト） ---------- */
.features__note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: -16px 0 44px;
}

.features__list {
  border-top: 1px solid var(--ink);
}

/* 行全体がネガポジ反転するホバー */
.feature-item {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(24px, 3.4vw, 38px) 28px;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease);
}

.feature-item:hover,
.feature-item:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.feature-item__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.1em;
  transition: color 0.4s;
}

.feature-item:hover .feature-item__num {
  color: var(--red);
}

.feature-item__title {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.feature-item__desc {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.4s;
}

.feature-item:hover .feature-item__desc {
  color: rgba(255, 255, 255, 0.66);
}

.feature-item__tag {
  padding: 4px 14px;
  border: 1px solid currentColor;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.feature-item__year {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  transition: color 0.4s;
}

.feature-item:hover .feature-item__year {
  color: rgba(255, 255, 255, 0.66);
}

/* サムネイル（モバイル・タッチ端末用フォールバック） */
.feature-item__thumb {
  grid-column: 2 / -1;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.feature-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Works（スティッキー水平ギャラリー） ---------- */
.works {
  position: relative;
  background: var(--ink);
  color: var(--bg);
}

/* JSが有効化したときだけ縦に長くし、縦スクロールを横の動きに変換する */
.has-horizontal .works {
  height: 380vh;
}

.works__sticky {
  padding: clamp(70px, 9vw, 110px) 0;
}

.has-horizontal .works__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.works__head {
  width: 100%;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.works__head .section__label,
.works__head .section__page {
  color: var(--bg);
}

.works__head .section__page {
  opacity: 0.55;
}

.works__note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin: -16px 0 0;
}

.works__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3.4vw, 52px);
  width: max-content;
  padding: 0 clamp(24px, 4vw, 56px);
  will-change: transform;
}

/* JS無効時・モバイル・reduced では横スワイプにフォールバック */
body:not(.has-horizontal) .works__track {
  width: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
}

.work-panel {
  flex: 0 0 auto;
  width: clamp(280px, 34vw, 480px);
  scroll-snap-align: start;
}

/* 誌面のように高さを互い違いに */
.work-panel:nth-child(even) {
  margin-top: clamp(24px, 4vh, 56px);
}

.work-panel__img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
}

.work-panel__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.9s var(--ease);
}

.work-panel:hover .work-panel__img img {
  transform: scale(1.07);
}

.work-panel__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-invert);
}

.work-panel__issue {
  grid-column: 1 / -1;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  color: var(--red);
}

.work-panel__title {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
}

.work-panel__year {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}

/* 末尾のCTAパネル */
.work-panel--cta {
  align-self: stretch;
  display: flex;
}

.work-panel--cta .work-panel__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 280px;
  padding: 36px;
  border: 1px solid var(--line-invert);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease);
}

.work-panel--cta .work-panel__link:hover {
  background: var(--bg);
  color: var(--ink);
}

.work-panel__arrow {
  font-family: var(--font-en);
  font-size: 1.6rem;
  color: var(--red);
  transition: transform 0.4s var(--ease);
}

.work-panel--cta .work-panel__link:hover .work-panel__arrow {
  transform: translateX(8px);
}

/* 進行バー（水平ギャラリーの現在地） */
.works__progress {
  display: none;
}

.has-horizontal .works__progress {
  display: block;
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(28px, 5vh, 44px);
  height: 1px;
  background: var(--line-invert);
}

.has-horizontal .works__progress i {
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- Journal ---------- */
.journal__list {
  border-top: 1px solid var(--ink);
}

/* 行全体がネガポジ反転するホバー（Featuresと同系のふるまい） */
.journal-item {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2.4vw, 32px);
  padding: 22px 12px;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.journal-item:hover,
.journal-item:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.journal-item time {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.35s;
}

.journal-item:hover time {
  color: var(--red);
}

.journal-item__tag {
  flex-shrink: 0;
  padding: 2px 12px;
  border: 1px solid currentColor;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.journal-item p {
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ---------- Contact ---------- */
.contact__title {
  font-weight: 700;
  font-size: clamp(2.2rem, 6.4vw, 4.4rem);
  line-height: 1.4;
  margin-bottom: 24px;
}

.contact__lead {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 680px;
  margin-bottom: 48px;
}

/* 黒が横から満ちるボタン */
.btn-block {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 22px 44px;
  border: 1px solid var(--ink);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s;
}

.btn-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
}

.btn-block:hover {
  color: var(--bg);
}

.btn-block:hover::before {
  transform: translateX(0);
}

.btn-block__arrow {
  font-family: var(--font-en);
  font-size: 1.25rem;
  color: var(--red);
  transition: transform 0.4s var(--ease);
}

.btn-block:hover .btn-block__arrow {
  transform: translateX(8px);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 2px solid var(--ink);
  padding: 46px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.footer__nav ul {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer__nav a:hover,
.footer__nav a:focus-visible {
  color: var(--bg);
}

.footer__copyright {
  font-family: var(--font-en);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .pc-only {
    display: none;
  }

  /* ナビ→フルスクリーン */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.45s,
      visibility 0s 0.45s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s;
  }

  .nav__list {
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .nav__link--cta {
    margin-left: 0;
  }

  .nav-toggle {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero__title {
    font-size: clamp(2.6rem, 12.5vw, 4.4rem);
  }

  .hero__giant {
    font-size: 17.5vw;
  }

  .hero__scroll {
    display: none;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about__stat {
    padding: 16px 12px 14px;
  }

  /* Features：サムネイルを見せる縦積みレイアウト */
  .feature-item {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "num tag year"
      "body body body"
      "thumb thumb thumb";
    gap: 14px 18px;
    padding: 24px 20px;
  }

  .feature-item__num {
    grid-area: num;
  }

  .feature-item__body {
    grid-area: body;
  }

  .feature-item__tag {
    grid-area: tag;
    justify-self: end;
  }

  .feature-item__year {
    grid-area: year;
  }

  .feature-item__thumb {
    grid-area: thumb;
    max-width: none;
    aspect-ratio: 16 / 9;
  }

  /* Works：横スワイプのギャラリーに（JS側でも has-horizontal を付けない） */
  .works__track {
    gap: 18px;
  }

  .work-panel {
    width: min(72vw, 340px);
  }

  .work-panel:nth-child(even) {
    margin-top: 0;
  }

  /* Journal */
  .journal-item {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .journal-item p {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .loader {
    display: none;
  }

  .band-line__band,
  [data-reveal="band"]::after {
    display: none;
  }

  .band-line__text,
  [data-reveal] > *,
  .hero__lead,
  .hero__meta,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-reveal="tracking"] {
    letter-spacing: 0.04em !important;
  }

  .hover-preview {
    display: none !important;
  }

  .hero__scroll i::after {
    animation: none;
  }

  .slot__strip {
    transition: none;
  }

  .works__track {
    transform: none !important;
  }
}
