/* =========================================================
   STYLE ARCHIVE — design tokens
   ヒーロー: ローズ / ニュートラル: インク・グレージュ / アクセント: ライム
   ========================================================= */
:root {
  --color-primary: #D6284F;
  --color-primary-dark: #A91D3D;
  --color-accent: #D7FF3A;
  --color-ink: #1A1A1A;
  --color-ink-soft: #55534F;
  --color-greige: #E9E7E2;
  --color-greige-deep: #D8D5CE;
  --color-paper: #F5F4F1;
  --color-line: rgba(26, 26, 26, .14);

  --font-en: "Jost", "Noto Sans JP", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Noto Sans JP", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;

  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  --space-section: 120px;

  --gutter: 16px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 72px; }
}
@media (min-width: 1200px) {
  :root { --space-section: 160px; --gutter: 40px; }
}

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .05em;
  font-feature-settings: "kern" 1;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
  overflow-wrap: break-word;
}
@media (min-width: 768px) { body { font-size: 16px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--color-ink); color: var(--color-paper); padding: 8px 16px; }
.skip:focus { left: 8px; }
.pc { display: none; }
@media (min-width: 768px) { .pc { display: inline; } }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding: var(--space-section) 0; }

/* 見出し：巨大な欧文 */
.label {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}
.label::before { content: ""; display: inline-block; width: 24px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.label--light { color: rgba(245, 244, 241, .8); }
.display {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(56px, 13vw, 168px);
  line-height: .9;
  letter-spacing: -.02em;
  font-feature-settings: "palt" 1, "kern" 1;
}
.display--light { color: var(--color-paper); }
.display--center { text-align: center; }

/* フェードイン（IntersectionObserver + transition の1種類のみ） */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== header ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: rgba(245, 244, 241, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.header.is-scrolled { border-bottom-color: var(--color-line); }
.header__inner { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-en); font-weight: 600; font-size: 18px; letter-spacing: .14em; position: relative; z-index: 2; }
.logo span { font-weight: 300; margin-left: .35em; }
.gnav { display: flex; gap: 40px; font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .14em; }
.gnav a { position: relative; padding: 8px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.gnav a:hover::after { right: 0; }
.menu-btn { display: none; }

@media (max-width: 767px) {
  .menu-btn { display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; position: relative; z-index: 2; margin-right: -10px; }
  .menu-btn__bar { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .menu-btn[aria-expanded="true"] { color: var(--color-paper); }
  .menu-btn[aria-expanded="true"] .menu-btn__bar:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .gnav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 8px;
    padding: 0 var(--space-l);
    background: var(--color-ink); color: var(--color-paper);
    font-size: 40px; font-weight: 400; letter-spacing: 0;
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  }
  .gnav.is-open { opacity: 1; visibility: visible; }
  body.menu-open .logo { color: var(--color-paper); }
}

/* ===== hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + var(--space-l)) 0 var(--space-xl);
  background: var(--color-greige);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; min-height: calc(100svh - var(--header-h) - 80px); }
.hero__eyebrow { margin: 0 0 var(--space-m); font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.hero__eyebrow span { display: block; color: var(--color-ink-soft); }
.hero__title {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(64px, 17.5vw, 268px);
  line-height: .84;
  letter-spacing: -.035em;
}
.hero__line { display: block; }
.hero__line--r { text-align: right; }

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: var(--space-s);
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  margin: var(--space-l) auto;
  padding: var(--space-m);
  background: var(--color-primary);
  color: var(--color-paper);
  overflow: hidden;
  transition: background-color .3s ease, opacity .9s var(--ease), transform .9s var(--ease);
}
.hero-card:hover { background: var(--color-primary-dark); }
.hero-card__label { font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .2em; align-self: start; }
.hero-card__no { font-family: var(--font-en); font-size: 64px; line-height: .8; font-weight: 300; text-align: right; align-self: start; }
.hero-card__icon { position: absolute; right: -14%; bottom: 12%; width: 78%; fill: rgba(245, 244, 241, .16); pointer-events: none; }
.hero-card__title { grid-column: 1 / -1; position: relative; font-size: 20px; font-weight: 700; line-height: 1.45; letter-spacing: .02em; align-self: end; margin-top: auto; }
.hero-card__play { grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 12px; letter-spacing: .16em; }
.hero-card__play svg { width: 32px; height: 32px; padding: 9px; fill: var(--color-primary); background: var(--color-paper); border-radius: 50%; }

.hero__foot { display: grid; gap: var(--space-l); margin-top: auto; }
.hero__lead { margin: 0; font-size: 15px; font-weight: 500; line-height: 2; }
.hero__lead em { font-style: normal; color: var(--color-primary); }
.hero__stats { display: flex; gap: var(--space-l); margin: 0; }
.hero__stats dt { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--color-ink-soft); }
.hero__stats dd { margin: 0; font-family: var(--font-en); font-size: 36px; font-weight: 300; line-height: 1.1; }

/* 浮遊する服（Gatsbyの浮遊パーツのオマージュ） */
.hero__floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float { position: absolute; will-change: transform; }
/* 文字と重ならない位置に、淡色＋ローズ1点で配置 */
.float--1 { width: 30vw; max-width: 240px; bottom: -4%; left: -5%; fill: var(--color-greige-deep); transform: rotate(-14deg); }
.float--2 { width: 12vw; max-width: 96px; top: 9%; right: 30%; fill: var(--color-primary); transform: rotate(12deg); }
.float--3 { width: 16vw; max-width: 130px; bottom: 4%; left: 42%; fill: var(--color-greige-deep); filter: blur(3px); }
.float--4 { width: 18vw; max-width: 150px; top: 7%; right: -3%; fill: var(--color-greige-deep); filter: blur(2px); transform: rotate(-20deg); }
.float--5 { width: 9vw; max-width: 70px; top: 52%; right: 46%; fill: var(--color-greige-deep); }

@media (max-width: 767px) {
  .float--2 { top: auto; bottom: 30%; right: 6%; }
  .float--3, .float--5 { display: none; }
}

@media (min-width: 768px) {
  .hero__title { font-size: clamp(64px, 13.5vw, 220px); }
  .hero__line { text-align: left; }
  .hero__line:first-child { padding-left: .55em; }
  .hero-card { position: absolute; top: 44%; right: var(--gutter); margin: 0; width: min(23vw, 300px); transform: translateY(-50%) rotate(4deg); }
  .hero-card.reveal { transform: translateY(-44%) rotate(4deg); }
  .hero-card.reveal.is-in { transform: translateY(-50%) rotate(4deg); }
  .hero-card__no { font-size: 48px; }
  .hero-card__title { font-size: 17px; }
  .hero__foot { grid-template-columns: 1fr auto; align-items: end; }
}
@media (min-width: 1200px) {
  .hero-card { right: 5%; }
  .hero-card__no { font-size: 64px; }
  .hero-card__title { font-size: 20px; }
  .hero__lead { font-size: 17px; }
  .hero__stats dd { font-size: 48px; }
}

/* ===== marquee（スクロール連動） ===== */
.marquee { background: var(--color-ink); color: var(--color-paper); overflow: hidden; padding: var(--space-m) 0; }
.marquee__track { display: flex; align-items: center; gap: .4em; width: max-content; font-family: var(--font-en); font-size: clamp(48px, 10vw, 140px); font-weight: 400; line-height: 1; letter-spacing: -.01em; white-space: nowrap; will-change: transform; }
.marquee__track i { display: inline-block; width: .5em; height: .5em; background: var(--color-primary); border-radius: 50%; }

/* ===== POINT ===== */
.point__grid { display: grid; gap: var(--space-xxl); }
.point__intro { margin: var(--space-m) 0 0; font-weight: 500; }
.point__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xxl); }
.point__item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-m); align-items: start; }
.point__num { font-family: var(--font-en); font-weight: 400; font-size: clamp(96px, 22vw, 180px); line-height: .78; letter-spacing: -.04em; }
.point__tag { margin: 0 0 var(--space-xs); font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--color-primary); }
.point__title { margin: 0 0 var(--space-s); font-size: 22px; line-height: 1.45; letter-spacing: .02em; font-feature-settings: "palt" 1; }
.point__text { margin: 0; color: var(--color-ink-soft); font-size: 14px; }
@media (min-width: 768px) {
  .point__title { font-size: 28px; }
  .point__text { font-size: 15px; }
}
@media (min-width: 1200px) {
  .point__grid { grid-template-columns: 5fr 7fr; gap: var(--space-xxl); }
  .point__head { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
  .point__list { gap: 96px; }
}

/* ===== FEATURED ===== */
.featured { background: var(--color-primary); color: var(--color-paper); }
.featured__head { display: flex; flex-direction: column; margin-bottom: var(--space-xl); }
.player { max-width: 1040px; margin: 0 auto; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; }
.tabs__btn {
  min-height: 52px; padding: 12px 8px;
  font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .14em;
  background: rgba(26, 26, 26, .18); color: rgba(245, 244, 241, .75);
  transition: background-color .25s ease, color .25s ease;
}
.tabs__btn:hover { color: var(--color-paper); }
.tabs__btn.is-active { background: var(--color-paper); color: var(--color-ink); }
.tabs__panel { background: var(--color-paper); padding: var(--space-s); }
@media (min-width: 768px) { .tabs__panel { padding: var(--space-m); } }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--color-ink); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-m); }
.video__poster--ink { background: var(--color-ink); color: var(--color-paper); }
.video__poster--greige { background: var(--color-greige-deep); color: var(--color-ink); }
.video__big { font-family: var(--font-en); font-size: clamp(36px, 8vw, 104px); font-weight: 500; line-height: .88; letter-spacing: -.03em; }
.video__cap { font-size: 12px; letter-spacing: .04em; max-width: 30em; }
@media (min-width: 768px) { .video__poster { padding: var(--space-xl); } .video__cap { font-size: 14px; } }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--color-primary); color: var(--color-paper);
  transition: background-color .25s ease, scale .25s var(--ease);
}
.video__play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.video__play:hover { background: var(--color-primary-dark); scale: 1.06; }
@media (min-width: 768px) { .video__play { width: 96px; height: 96px; } .video__play svg { width: 34px; height: 34px; } }
.video__notice { position: absolute; inset: auto 0 0; padding: 12px 16px; background: rgba(26, 26, 26, .88); color: var(--color-paper); font-size: 13px; }

/* ===== STYLE MAP ===== */
.map__grid { display: grid; gap: var(--space-xl); }
.map__text { margin: var(--space-m) 0 var(--space-s); }
.map__legend { margin: 0; font-size: 13px; color: var(--color-ink-soft); display: flex; align-items: center; gap: 8px; }
.map__legend-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--color-primary); }
.map__board { background: #fff; padding: 44px 28px; border: 1px solid var(--color-line); }
@media (min-width: 768px) { .map__board { padding: 64px 88px; } }
.map__plane {
  position: relative; aspect-ratio: 1 / 1;
  background-image:
    linear-gradient(var(--color-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-line) 1px, transparent 1px);
  background-size: 10% 10%;
  background-color: var(--color-paper);
}
.map__plane::before, .map__plane::after { content: ""; position: absolute; background: var(--color-ink); }
.map__plane::before { left: 50%; top: 0; bottom: 0; width: 1.5px; translate: -50% 0; }
.map__plane::after { top: 50%; left: 0; right: 0; height: 1.5px; translate: 0 -50%; }
.map__axis { position: absolute; z-index: 1; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: 1.3; text-align: center; white-space: nowrap; }
.map__axis small { display: block; font-family: var(--font-ja); font-size: 10px; font-weight: 400; letter-spacing: .04em; color: var(--color-ink-soft); }
.map__axis--top { left: 50%; bottom: 100%; translate: -50% -8px; }
.map__axis--bottom { left: 50%; top: 100%; translate: -50% 8px; }
.map__axis--left, .map__axis--right { top: 50%; writing-mode: vertical-rl; }
.map__axis--left { right: 100%; translate: -6px -50%; rotate: 180deg; }
.map__axis--right { left: 100%; translate: 6px -50%; }
.map__axis--left small, .map__axis--right small { display: inline; margin-left: 4px; }
.map__dot {
  position: absolute; z-index: 2;
  width: 30px; height: 30px; translate: -50% -50%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--color-primary); color: var(--color-paper);
  font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: 0;
  transition: background-color .25s ease, opacity .25s ease, scale .25s var(--ease);
}
.map__dot::after {
  content: attr(data-title);
  position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 4px;
  width: max-content; max-width: 220px; padding: 6px 10px;
  background: var(--color-ink); color: var(--color-paper);
  font-family: var(--font-ja); font-size: 12px; line-height: 1.5; letter-spacing: .02em; white-space: normal; text-align: left;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, translate .2s ease;
}
.map__dot.is-left::after { left: 0; translate: 0 4px; }
.map__dot.is-right::after { left: auto; right: 0; translate: 0 4px; }
.map__dot:hover, .map__dot:focus-visible { background: var(--color-ink); scale: 1.15; z-index: 3; }
.map__dot:hover::after, .map__dot:focus-visible::after { opacity: 1; translate: -50% 0; }
.map__dot.is-left:hover::after, .map__dot.is-left:focus-visible::after,
.map__dot.is-right:hover::after, .map__dot.is-right:focus-visible::after { translate: 0 0; }
.map__dot.is-dim { opacity: .18; }
@media (min-width: 768px) { .map__dot { width: 36px; height: 36px; font-size: 13px; } }
@media (min-width: 1200px) {
  .map__grid { grid-template-columns: 4fr 7fr; align-items: center; gap: 96px; }
}

/* ===== ARCHIVE ===== */
.archive { background: var(--color-greige); }
.archive__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-s); margin-bottom: var(--space-xl); }
.archive__head .display { font-size: clamp(48px, 11vw, 150px); }
.archive__meta { margin: 0; font-family: var(--font-en); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.archive__meta span { font-size: 28px; font-weight: 500; }

.filters { display: grid; gap: var(--space-m); margin-bottom: var(--space-xl); padding-bottom: var(--space-m); border-bottom: 1px solid var(--color-line); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--color-ink);
  font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .1em;
  transition: background-color .2s ease, color .2s ease;
}
.chip small { font-family: var(--font-ja); font-size: 11px; font-weight: 400; letter-spacing: .02em; margin-left: 6px; }
.chip:hover { background: rgba(26, 26, 26, .06); }
.chip.is-active { background: var(--color-ink); color: var(--color-paper); }
.filters__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters__row .field:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .filters__row { grid-template-columns: 1fr 220px 160px; }
  .filters__row .field:first-child { grid-column: auto; }
}
.field input, .field select {
  width: 100%; height: 48px; padding: 0 16px;
  font-size: 16px; letter-spacing: .02em;
  background: var(--color-paper); border: 1px solid var(--color-line); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus { outline: none; border: 2px solid var(--color-primary); padding: 0 15px; }
.field--select { position: relative; }
.field--select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; translate: 0 -70%; rotate: 45deg; pointer-events: none; }

.cards { display: grid; gap: var(--space-xl) var(--space-m); grid-template-columns: 1fr 1fr; }
@media (max-width: 479px) { .cards { gap: var(--space-l) 12px; } }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 64px var(--space-m); } }
.card { display: block; }
.card__body { padding-top: var(--space-s); }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 6px; font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--color-ink-soft); }
.card__title { display: block; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.6; letter-spacing: .03em; transition: color .2s ease; }
.card__date { display: block; margin: 6px 0 0; font-family: var(--font-en); font-size: 12px; letter-spacing: .1em; color: var(--color-ink-soft); }
.card:hover .card__title { color: var(--color-primary); }
@media (min-width: 768px) { .card__title { font-size: 16px; } }

/* サムネイル（写真差し替えまではタイポで構成） */
.thumb { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: block; }
.thumb--ink { background: var(--color-ink); color: var(--color-paper); }
.thumb--rose { background: var(--color-primary); color: var(--color-paper); }
.thumb--greige { background: var(--color-greige-deep); color: var(--color-ink); }
.thumb--paper { background: #fff; color: var(--color-ink); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb__no { position: absolute; top: 12px; left: 14px; font-family: var(--font-en); font-size: clamp(32px, 7vw, 56px); font-weight: 300; line-height: .9; letter-spacing: -.03em; }
.thumb__icon { position: absolute; right: -12%; bottom: -6%; width: 82%; fill: currentColor; opacity: .14; transition: transform .6s var(--ease); }
.card:hover .thumb__icon { transform: translate(-4%, -4%) rotate(-4deg); }
.thumb__en {
  position: absolute; top: 14px; right: 12px;
  writing-mode: vertical-rl;
  font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  max-height: calc(100% - 28px); overflow: hidden;
}
.thumb__cat { position: absolute; left: 14px; bottom: 14px; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.thumb__dur { position: absolute; right: 12px; bottom: 12px; padding: 2px 8px; background: rgba(26, 26, 26, .78); color: var(--color-paper); font-family: var(--font-en); font-size: 12px; letter-spacing: .06em; }
.thumb__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-paper); color: var(--color-ink);
  opacity: 0; scale: .85; transition: opacity .3s ease, scale .3s var(--ease);
}
.thumb__play svg { width: 20px; height: 20px; fill: currentColor; margin-left: 2px; }
.card:hover .thumb__play, .card:focus-visible .thumb__play { opacity: 1; scale: 1; }
.tag { position: absolute; top: 12px; left: 50%; translate: -50% 0; padding: 2px 10px; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .16em; }
.tag--new { background: var(--color-accent); color: var(--color-ink); }
.thumb--paper .tag--new, .thumb--greige .tag--new { background: var(--color-ink); color: var(--color-accent); }

.empty { text-align: center; padding: var(--space-xxl) 0; }
.empty button { display: block; margin: var(--space-s) auto 0; min-height: 44px; padding: 10px 24px; border: 1px solid var(--color-ink); }

/* ===== FAQ ===== */
.faq .display { margin-bottom: var(--space-xl); }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: var(--space-s);
  min-height: 64px; padding: 14px 56px 14px 16px; position: relative;
  font-weight: 500; line-height: 1.6;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 1.5px; background: var(--color-ink); transition: rotate .3s var(--ease); }
.faq__item summary::after { rotate: 90deg; }
.faq__item[open] summary::after { rotate: 0deg; }
.faq__q { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-greige); font-family: var(--font-en); font-weight: 500; }
.faq__a { padding: 0 16px 20px 68px; color: var(--color-ink-soft); font-size: 14px; }
.faq__a p { margin: 0; }
@media (min-width: 768px) { .faq__item summary { padding: 16px 64px 16px 24px; } .faq__a { padding: 0 24px 24px 76px; font-size: 15px; } }

/* ===== footer ===== */
.footer { background: var(--color-ink); color: var(--color-paper); padding: var(--space-xxl) 0 var(--space-l); overflow: hidden; }
.footer__mark { margin: 0 0 var(--space-xl); font-family: var(--font-en); font-size: clamp(44px, 12.4vw, 184px); font-weight: 500; line-height: .9; letter-spacing: -.03em; white-space: nowrap; }
.footer__row { display: grid; gap: var(--space-m); padding-top: var(--space-m); border-top: 1px solid rgba(245, 244, 241, .2); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--font-en); font-size: 13px; letter-spacing: .14em; }
.footer__nav a { padding: 6px 0; }
.footer__copy { margin: 0; font-family: var(--font-en); font-size: 12px; letter-spacing: .1em; color: rgba(245, 244, 241, .6); }
@media (min-width: 768px) { .footer__row { grid-template-columns: 1fr auto; align-items: center; } }

/* ===== page top（縦書き） ===== */
.pagetop {
  position: fixed; right: 14px; bottom: 24px; z-index: 50;
  display: none; align-items: center; gap: 10px;
  writing-mode: vertical-rl;
  font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .2em;
  mix-blend-mode: difference; color: #fff;
  opacity: 0; transition: opacity .3s ease;
}
.pagetop::before { content: ""; width: 1px; height: 48px; background: currentColor; }
.pagetop.is-visible { opacity: 1; }
@media (min-width: 768px) { .pagetop { display: flex; } }

/* ===== modal ===== */
.modal {
  width: min(100% - 24px, 1040px); max-height: calc(100svh - 24px);
  padding: 0; border: 0; background: var(--color-paper); color: var(--color-ink);
  overflow: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(26, 26, 26, .72); backdrop-filter: blur(4px); }
.modal[open] { opacity: 1; transform: none; transition: opacity .3s ease, transform .3s var(--ease); }
@starting-style { .modal[open] { opacity: 0; transform: translateY(16px); } }
.modal__close { position: sticky; top: 0; z-index: 3; margin: 0 0 -52px auto; width: 52px; height: 52px; background: var(--color-ink); display: grid; place-items: center; }
.modal__close span { grid-area: 1 / 1; width: 20px; height: 1.5px; background: var(--color-paper); rotate: 45deg; }
.modal__close span + span { rotate: -45deg; }
.modal__inner .video { aspect-ratio: 16 / 9; }
.modal__content { display: grid; gap: var(--space-xl); padding: var(--space-l) var(--space-m) var(--space-xl); }
@media (min-width: 768px) { .modal__content { grid-template-columns: 3fr 2fr; padding: var(--space-xl); } }
.modal__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 var(--space-xs); font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--color-ink-soft); }
.modal__meta b { color: var(--color-primary); font-weight: 600; }
.modal__title { margin: 0 0 4px; font-size: 22px; line-height: 1.5; letter-spacing: .02em; font-feature-settings: "palt" 1; }
.modal__en { margin: 0 0 var(--space-m); font-family: var(--font-en); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-ink-soft); }
.modal__desc { margin: 0; }
.modal h3 { margin: 0 0 12px; font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .2em; }
.modal__points { margin: var(--space-l) 0 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 10px; }
.modal__points li { counter-increment: p; display: grid; grid-template-columns: 36px 1fr; font-size: 14px; }
.modal__points li::before { content: "0" counter(p); font-family: var(--font-en); font-weight: 500; color: var(--color-primary); }
.chapters { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-line); }
.chapters li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--color-line); font-size: 14px; }
.chapters time { font-family: var(--font-en); letter-spacing: .06em; color: var(--color-ink-soft); }
.related { padding: 0 var(--space-m) var(--space-xl); }
@media (min-width: 768px) { .related { padding: 0 var(--space-xl) var(--space-xl); } }
.related__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related .card__title { font-size: 12px; }
.related .thumb__no { font-size: 28px; }
.related .thumb__en, .related .thumb__cat { display: none; }
@media (min-width: 768px) { .related__list { gap: var(--space-m); } .related .card__title { font-size: 14px; } }

@media (min-width: 768px) {
  .modal__title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card.reveal, .hero-card.reveal.is-in { transition: background-color .3s ease; }
}
