/* ==========================================================================
   SCORE Teaser — style.css
   命名規則: FLOCSS（l- = Layout / p- = Project / u- = Utility / js- = JSフック）

   カラールール：ロゴで使用している2色＋白のみ
     Ink  #3e3a39 … テキスト・ダーク面
     Red  #b3140e … アクセント（ラベル・to be continued・フォーカス）
     White #ffffff … 背景・反転テキスト
   罫線などの淡い表現は Ink の透過で作り、新しい色相は追加しない
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --color-ink: #3e3a39;
  --color-red: #b3140e;
  --color-white: #ffffff;
  --color-line: rgb(62 58 57 / 0.15);        /* Ink 15% */

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --container: 1200px;
  --gutter: 120px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-base);
  color: var(--color-ink);
  background: var(--color-white);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  line-break: strict;
  overflow-wrap: anywhere;
}
::selection { background: var(--color-red); color: var(--color-white); }
a:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 4px;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.l-container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header（ナビがないため追従させず、FVの一部として見せる） */
.l-header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
}
.l-header__logo { display: block; }
.l-header__logo img { width: 232px; }

/* Footer */
.l-footer { border-top: 1px solid var(--color-line); }
.l-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 32px;
}
.l-footer__logo img { width: 140px; }

/* ==========================================================================
   Project
   ========================================================================== */
/* メインビジュアル（動画）— 横幅100%・16:9 */
.p-mv {
  position: relative;
  background: var(--color-ink);
}
.p-mv__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.p-mv__controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}
.p-mv__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: rgb(62 58 57 / 0.72);   /* Ink 72% */
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
  transition: background-color 0.2s;
}
.p-mv__btn:hover { background: var(--color-ink); }
.p-mv__btn:focus-visible { outline: 2px solid var(--color-red); outline-offset: 2px; }
.p-mv__btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.p-mv__btn--play { background: var(--color-red); }
.p-mv__btn--play:hover { background: var(--color-red); opacity: 0.85; }
.p-mv__icon-on { display: none; }
.p-mv__btn[aria-pressed="true"] .p-mv__icon-on { display: block; }
.p-mv__btn[aria-pressed="true"] .p-mv__icon-off { display: none; }

/* SEC.01 FV — コピーと to be continued（動画の下） */
.p-fv { padding-block: 96px; }
.p-fv__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 64px;
}
.p-fv__label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
}
.p-fv__label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}
/* キャッチはSVG（assets/img/copy.svg）。テキストは alt で保持 */
.p-fv__title { margin-top: 32px; }
.p-fv__title img {
  width: clamp(240px, 30vw, 420px);
  height: auto;
}
.p-fv__lead {
  font-size: 17px;
  line-height: 1.9;
}
.p-fv__continue {
  display: inline-block;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--color-ink);
  color: var(--color-red);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

/* SEC.02 お知らせ — Ink面で反転させ、FVと明確に区切る */
.p-notice {
  padding-block: 120px;
  background: var(--color-ink);
  color: var(--color-white);
  text-align: center;
}
.p-notice__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
}
.p-notice__label::before,
.p-notice__label::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-red);
}
.p-notice__title {
  margin-top: 24px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
  font-feature-settings: "palt";
}
.p-notice__lead {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.u-sp { display: none; }

/* フェードイン（JS有効時のみ。動きを減らす設定の環境では無効） */
.js-enabled .js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js-enabled .js-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-enabled .js-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .p-fv { padding-block: 72px; }
  .p-fv__inner { gap: 40px; }
  .p-fv__continue { font-size: 28px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 64px; }
  body { font-size: 14px; }
  .l-header__logo img { width: 150px; }

  .p-mv__controls { right: 12px; bottom: 12px; gap: 6px; }
  /* SPは映像にかぶらないようアイコンのみ（ラベルは読み上げ用に残す） */
  .p-mv__btn { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .p-mv__btn svg { width: 20px; height: 20px; }
  .p-mv__btn span {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }

  .p-fv { padding-block: 48px 56px; }
  .p-fv__inner { grid-template-columns: 1fr; gap: 24px; }
  .p-fv__title { margin-top: 20px; }
  .p-fv__title img { width: min(72vw, 280px); }
  .p-fv__lead { font-size: 15px; }
  .p-fv__continue { margin-top: 24px; padding-top: 20px; font-size: 26px; }

  .p-notice { padding-block: 72px; }
  .p-notice__title { margin-top: 20px; font-size: 22px; }
  .p-notice__lead { margin-top: 20px; font-size: 14px; }
  .u-sp { display: inline; }

  .l-footer__inner { padding-block: 28px; }
  .l-footer__logo img { width: 120px; }
}
