@charset "UTF-8";
/* =========================================================
   長期タイムラプス撮影システム LP
   ベース：黒 / アクセント：夜明けの空色 / 警告：朱
   ========================================================= */

:root {
  /* 色 */
  --ink: #0A0B0D;        /* 背景（黒） */
  --ink-2: #111318;      /* 一段上の面 */
  --line: #232830;       /* 罫線 */
  --line-2: #343B47;     /* 強めの罫線・記録が残らなかった日 */
  --paper: #EEF0F3;      /* 見出し・強調 */
  --text: #C6CBD3;       /* 本文 */
  --mute: #8A919C;       /* 補足 */
  --dawn: #4A8FFF;       /* アクセント（夜明けの空） */
  --dawn-hi: #6EA5FF;    /* アクセントのホバー */
  --dawn-deep: #2F6BD8;  /* 白文字を載せるときのアクセント（コントラスト約5:1） */
  --flare: #FF6B3D;      /* トラブル・失敗だけに使う */

  /* 書体（明朝はファーストビューとお問い合わせの見出しだけに使う） */
  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;

  /* 寸法 */
  --header-h: 64px;
  --gutter: 16px;
  --radius: 6px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- ベース ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

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

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

.container {
  width: min(100% - var(--gutter) * 2, 1240px);
  margin-inline: auto;
}

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

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

.br-pc { display: none; }
@media (min-width: 768px) {
  .br-pc { display: inline; }
}

.ext {
  display: inline-block;
  margin-left: 0.3em;
  font-size: 0.85em;
}

/* 見出しは <wbr> を入れた文節の切れ目でだけ改行する */
.hero__title,
.section__title,
.cases__title,
.case__title,
.chapter__lead,
.ribbon__title,
.case__fix-title,
.fact__text,
.contact__title,
.path__bracket {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
/* 白文字が読める濃さの青にし、ホバーで明るいアクセントの青にする */
.btn--primary { background: var(--dawn-deep); color: #fff; }
.btn--primary:hover { background: var(--dawn); }
.btn--ghost { border-color: var(--line-2); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 16px; }
/* <button> は書体を引き継がないので合わせる（お問い合わせフォームの送信ボタン） */
button.btn { font-family: inherit; cursor: pointer; }
.btn:disabled { opacity: 0.6; cursor: progress; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.header.is-scrolled {
  background: rgba(10, 11, 13, 0.88);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
/* ロゴは記号と文字が一体になった画像を使う（ヘッダー・フッター共通） */
.brand__logo { width: auto; height: 22px; }
@media (min-width: 768px) {
  .brand__logo { height: 26px; }
}

.nav { display: none; }
@media (min-width: 1024px) {
  .nav {
    display: flex;
    gap: 32px;
    margin-left: auto;
    font-size: 14px;
  }
  .nav a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav a:hover { color: var(--paper); }
}

/* ---------- ファーストビュー ---------- */
/* 撮影システムの写真を全面に敷き、左側に見出しを載せる */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(100svh, 960px);
  padding: calc(var(--header-h) + 48px) 0 40px;
  overflow: hidden;
}
/* 見出しから特徴の一覧までをひとまとまりにして、上下中央に置く */
.hero > .container {
  display: flex;
  flex-direction: column;
}
.hero__eyebrow { margin-top: auto; }
.hero__facts { margin-bottom: auto; }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
/* 文字を読みやすくするため暗くし、下端は次のセクションの黒へつなぐ */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 11, 13, 0.55) 0%, rgba(10, 11, 13, 0.55) 35%, rgba(10, 11, 13, 0.92) 70%, var(--ink) 100%);
}
/* 夜明けの演出（js/fv-depth.js）：準備ができるまでは写真を夜明け前の暗さにしておく。
   準備できなかったときはクラスが外れ、写真がゆっくり明るくなるだけにする */
.hero__bg img { transition: filter 1.6s ease; }
.js-fv .hero__bg img { filter: brightness(0.4) saturate(0.45); }
.hero__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero__canvas.is-ready { opacity: 1; }

.hero__eyebrow {
  margin-bottom: 14px;
  color: var(--mute);
  font-size: 13px;
  letter-spacing: 0.2em;
}
.hero__title {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.22;
  color: var(--paper);
}
.hero__title-line { display: block; }
.hero__title-line--quiet { color: rgba(238, 240, 243, 0.62); }
/* 明朝のWebフォントは palt（かなの詰め）が効かないため、かなを1文字ずつ手で詰める */
.kern-s { margin-inline: -0.04em; }
.kern-m { margin-inline: -0.07em; }
.kern-l { margin-inline: -0.1em; }

.hero__lead {
  max-width: 34em;
  margin-bottom: 28px;
  color: var(--paper);
  font-size: 15px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 紹介動画のボタンはYouTubeの赤にし、再生の三角を付ける */
.btn--youtube { background: #FF0000; color: #fff; }
.btn--youtube:hover { background: #CC0000; }
.btn--youtube::before {
  content: "";
  margin-right: 10px;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.btn__meta {
  margin-left: 8px;
  font-size: 0.85em;
  font-weight: 500;
  opacity: 0.85;
}

/* 特徴の一覧：ボタンの下に2列で、細い線で区切った四角に、アイコン・英字ラベル・短い説明を置く。
   線は四角どうしの1pxのすき間から下地の色を見せて描く。幅は写真の機材にかからない程度にする */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 520px;
  margin-top: 32px;
  border: 1px solid rgba(238, 240, 243, 0.16);
  background: rgba(238, 240, 243, 0.16);
}
/* スマホは四角が狭いので、アイコンを文字の上に置いて文字の幅を広く取る */
.fact {
  display: grid;
  align-content: start;
  padding: 12px 12px 14px;
  background: rgba(10, 11, 13, 0.82);
}
.fact__icon {
  width: 20px; height: 20px;
  margin-bottom: 6px;
  fill: none;
  stroke: var(--dawn);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fact__label {
  color: var(--mute);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.fact__text {
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
/* 幅の狭いスマホでは、11文字の説明が1行に収まる大きさにする */
@media (max-width: 399px) {
  .fact__text { font-size: 12px; }
}

@media (min-width: 600px) {
  .fact {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    padding: 12px 16px 14px;
  }
  .fact__icon {
    grid-row: span 2;
    width: 24px; height: 24px;
    margin-bottom: 0;
  }
  .fact__text { font-size: 14px; }
}
@media (min-width: 1024px) {
  .hero { padding-bottom: 48px; }
  /* 上はヘッダー、左は見出し、下は次のセクションのために暗くする */
  .hero__bg::after {
    background:
      linear-gradient(to bottom, rgba(10, 11, 13, 0.6) 0%, rgba(10, 11, 13, 0) 20%),
      linear-gradient(to right, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0.72) 38%, rgba(10, 11, 13, 0.12) 72%),
      linear-gradient(to bottom, rgba(10, 11, 13, 0) 62%, var(--ink) 100%);
  }
  /* 文字が写真の機材にかからない幅にする */
  .hero__lead { max-width: 32em; font-size: 16px; }
}
/* スマホ・タブレット：縦長の画面に横長の写真を全面に敷くと、機材が切れて暗く沈むため、
   写真は上の帯にだけ置いて2台の機材を見せ、見出しから下は黒地に載せる（見出しは帯の下端に少し重ねる） */
@media (max-width: 1023px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 280px);
    padding-top: calc(var(--header-h) + clamp(200px, 40svh, 460px) - 56px);
  }
  .hero__eyebrow { margin-top: 0; }
  .hero__bg {
    bottom: auto;
    height: calc(var(--header-h) + 336px);
    height: calc(var(--header-h) + clamp(200px, 40svh, 460px));
  }
  /* 2台の機材は写真の右寄りにあるので、右端に寄せて切り抜く */
  .hero__bg img { object-position: 96% center; }
  /* 上はヘッダーのロゴ、下は見出しのために暗くし、黒地へつなぐ。真ん中の機材は暗くしない */
  .hero__bg::after {
    background:
      linear-gradient(to bottom, rgba(10, 11, 13, 0.55) 0%, rgba(10, 11, 13, 0) 22%),
      linear-gradient(to bottom, rgba(10, 11, 13, 0) 58%, rgba(10, 11, 13, 0.85) 84%, var(--ink) 100%);
  }
}

/* ---------- セクション共通 ---------- */
.section { padding-block: clamp(72px, 8vw, 112px); }
.section--rule { border-top: 1px solid var(--line); }

/* 明るいセクション：色の変数を置き換えて、中の部品をまとめて明るい配色にする。
   写真や映像が主役のセクションは黒のまま、表・図・手順が中心のセクションに使う */
.section--light {
  --ink: #F3F5F8;        /* 背景 */
  --ink-2: #FFFFFF;      /* 一段上の面（白いカード） */
  --line: #DCE0E6;       /* 罫線 */
  --line-2: #C3CAD4;     /* 強めの罫線 */
  --paper: #11151B;      /* 見出し・強調 */
  --text: #39404A;       /* 本文 */
  --mute: #5F6874;       /* 補足 */
  --dawn: var(--dawn-deep);  /* アクセントの青は明るい背景では薄いので、さらに濃い青にする */
  --flare: #D4471A;      /* 朱も白地で読める濃さにする */
  background: var(--ink);
  color: var(--text);
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--mute);
  font-size: 13px;
  letter-spacing: 0.16em;
}
.kicker::before {
  content: "";
  width: 3px; height: 14px;
  background: var(--dawn);
}
.section__title {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--paper);
  font-feature-settings: "palt";
}
.section__title:last-child { margin-bottom: 0; }
/* 本文は文節の切れ目で折り返す（対応はChrome・Edge。ほかのブラウザは通常の折り返し） */
.section__lead { max-width: 40em; word-break: auto-phrase; }

/* ---------- 記録の帯 ---------- */
.ribbon {
  --dur: 2.8s;  /* 帯を左端から右端まで描き切る時間。出来事の印・結果の表示もこれに合わせて出る */
  padding: clamp(20px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
}
.ribbon__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
}
.ribbon__title {
  margin-bottom: 6px;
  color: var(--paper);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.ribbon__sub { font-size: 14px; }
.ribbon__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.key {
  display: inline-block;
  margin-right: 8px;
  vertical-align: -1px;
  width: 3px;
  height: 12px;
}
.key--ok { background: var(--paper); }
.key--hit { background: var(--flare); }
.key--lost { width: 9px; height: 3px; vertical-align: 1px; background: var(--line-2); }

.lane + .lane {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px dashed var(--line);
}
.lane__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 16px;
}
.lane__name {
  color: var(--paper);
  font-size: 16px;
  font-weight: 700;
}
.lane__result {
  color: var(--mute);
  font-size: 13px;
}
.lane__result strong {
  margin-left: 6px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lane--bad .lane__result strong { color: var(--flare); }
.lane--good .lane__result strong { color: var(--dawn); }

.lane__track {
  position: relative;
  height: clamp(40px, 5vw, 60px);
  margin-bottom: 14px;
}
.lane__bars,
.lane__bars svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bar--ok { fill: var(--paper); }
.bar--hit { fill: var(--flare); }
.bar--lost { fill: var(--line-2); }

/* 出来事の位置を示す三角 */
.lane__mark {
  position: absolute;
  top: 100%;
  left: calc((var(--day) - 0.5) / var(--days) * 100%);
  width: 0; height: 0;
  margin-top: 4px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid var(--flare);
  transform: translateX(-50%);
}
/* 再生ヘッド */
.lane__head {
  position: absolute;
  top: -8px; bottom: -8px; left: 0;
  width: 1px;
  background: var(--dawn);
  opacity: 0;
}

.lane__events {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  font-size: 13.5px;
  line-height: 1.7;
}
.event__day {
  margin-right: 8px;
  color: var(--flare);
  font-weight: 700;
}
.event__what {
  color: var(--paper);
  font-weight: 700;
}
.event__then {
  display: block;
  color: var(--mute);
}

/* 帯の幅が十分あるときだけ、出来事を印の真下に並べる（狭い画面ではリスト表示） */
@media (min-width: 1200px) {
  .lane__events {
    position: relative;
    display: block;
    height: 76px;
  }
  .event {
    position: absolute;
    top: 0;
    left: calc((var(--day) - 0.5) / var(--days) * 100%);
    max-width: 300px;
    padding-left: 12px;
    border-left: 1px solid var(--line-2);
  }
  .event--right {
    left: auto;
    right: calc((var(--days) - var(--day) + 0.5) / var(--days) * 100%);
    padding-left: 0;
    padding-right: 12px;
    border-left: 0;
    border-right: 1px solid var(--line-2);
    text-align: right;
  }
}

.ribbon__note {
  margin-top: 32px;
  color: var(--mute);
  font-size: 12px;
  line-height: 1.8;
}

/* 再生前（JSが有効で、動きを減らす設定でないときだけ） */
.ribbon.is-armed .lane__bars { clip-path: inset(0 100% 0 0); }
.ribbon.is-armed .event,
.ribbon.is-armed .lane__mark,
.ribbon.is-armed .lane__result { opacity: 0; }

.ribbon.is-playing .lane__bars { animation: ribbon-reveal var(--dur) linear forwards; }
.ribbon.is-playing .lane__head { animation: ribbon-head var(--dur) linear forwards; }
.ribbon.is-playing .event,
.ribbon.is-playing .lane__mark {
  animation: ribbon-appear 0.45s ease-out forwards;
  animation-delay: calc((var(--day) - 0.5) / var(--days) * var(--dur));
}
.ribbon.is-playing .lane__result {
  animation: ribbon-appear 0.6s ease-out forwards;
  animation-delay: var(--dur);
}

@keyframes ribbon-reveal {
  to { clip-path: inset(0 0 0 0); }
}
@keyframes ribbon-head {
  0% { left: 0; opacity: 1; }
  95% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes ribbon-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- よくある7つの失敗 ---------- */
.cases__title {
  margin: clamp(72px, 9vw, 120px) 0 24px;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--paper);
}
.cases { border-top: 1px solid var(--line); }
.case {
  display: grid;
  gap: 14px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.case__no {
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.case__title {
  margin-bottom: 10px;
  color: var(--paper);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}
/* 失敗の例：1つずつ ▶ を付けて並べる */
.case__points {
  display: grid;
  gap: 6px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.8;
}
.case__points li {
  position: relative;
  padding-left: 18px;
}
/* ▶ は1行目の高さの中央に置く（三角の高さ 9px） */
.case__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc((1.8em - 9px) / 2);
  border-left: 8px solid currentColor;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  opacity: 0.7;
}
/* 対策は青みの面に置き、失敗より一回り大きい見出しで目を引く */
.case__fix {
  padding: 22px 26px 24px;
  border: 1px solid color-mix(in srgb, var(--dawn) 28%, transparent);
  border-left: 3px solid var(--dawn);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--dawn) 13%, transparent);
  color: #DCE6F5;
  font-size: 14px;
  line-height: 1.8;
}
/* 「対策」は青地に白文字のラベル。押せるものに見えないよう小さく保つ */
.case__fix-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--dawn-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.14em;
}
.case__fix-title {
  margin-bottom: 4px;
  color: var(--paper);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}
.case__link {
  display: inline-block;
  margin-top: 6px;
  color: var(--dawn);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.case__link::after { content: " →"; }
.case__link:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 900px) {
  .case {
    grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding: 32px 0;
  }
  .case__no { padding-top: 4px; }
}

/* ---------- 仕組み ---------- */
.system__head {
  display: grid;
  gap: 32px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.system__head .section__head { margin-bottom: 0; }
.system__photo { max-width: 560px; }
.system__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.system__photo figcaption,
.screens figcaption,
.quality figcaption {
  margin-top: 10px;
  color: var(--mute);
  font-size: 12.5px;
  line-height: 1.7;
}
@media (min-width: 1024px) {
  .system__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 64px;
    align-items: start;
  }
}

.paths {
  display: grid;
  gap: 56px;
}
.path__title {
  margin-bottom: 18px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.path__nodes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.node {
  padding: 20px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
}
.node--alert { border-color: rgba(255, 107, 61, 0.55); }
.node__where {
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.node__name {
  margin: 2px 0 6px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--paper);
}
.node--alert .node__name { color: var(--flare); }
.node__desc {
  font-size: 14px;
  line-height: 1.7;
}

/* 矢印（スマホは下向き、PCは右向き） */
.path__arrow {
  position: relative;
  height: 32px;
}
.path__arrow::before,
.path__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
}
.path__arrow::before {
  top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line-2);
}
.path__arrow::after {
  bottom: 6px;
  width: 7px; height: 7px;
  margin-left: -3px;
  border-right: 1px solid var(--mute);
  border-bottom: 1px solid var(--mute);
  transform: rotate(45deg);
}

.path__bracket {
  position: relative;
  margin-top: 16px;
  padding-top: 18px;
  color: var(--dawn);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}
.path__bracket::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  border: 1px solid var(--dawn);
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

@media (min-width: 900px) {
  .path__nodes--3 { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); }
  .path__nodes--4 { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); }
  .path__arrow { height: auto; }
  .path__arrow::before {
    top: 50%; bottom: auto;
    left: 8px; right: 8px;
    width: auto; height: 1px;
  }
  .path__arrow::after {
    top: 50%; bottom: auto;
    left: auto; right: 9px;
    margin: -3px 0 0;
    transform: rotate(-45deg);
  }
}

/* ---------- 強み（章） ---------- */
.chapter {
  display: grid;
  gap: 28px;
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.chapter:last-child { padding-bottom: 0; }

.chapter__label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dawn);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2em;
}
.chapter__lead {
  margin-bottom: 28px;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--paper);
  font-feature-settings: "palt";
}
.point {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.point + .point { margin-top: 24px; }
.point__title {
  margin-bottom: 6px;
  color: var(--paper);
  font-size: 17px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .chapter {
    grid-template-columns: 56px minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 48px;
    align-items: start;
  }
  /* 章の名前は縦書きの明朝 */
  .chapter__label {
    display: block;
    writing-mode: vertical-rl;
    font-size: 34px;
    letter-spacing: 0.24em;
    line-height: 1;
  }
  .chapter--wide-media .chapter__media { grid-column: 2 / -1; }
}

/* 設置写真の組み写真 */
.units {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: clamp(340px, 52vw, 560px);
}
.units__item { min-height: 0; }
.units__item--tall { grid-row: span 2; }
.units__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ダッシュボードの画面 */
.screens {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 12px;
}
.screens__main { grid-column: 1 / -1; }
.screens img {
  width: 100%;
  aspect-ratio: 1126 / 530;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
}

/* 途中経過のコマ */
.stages {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 68%;
  gap: 10px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.stage {
  scroll-snap-align: start;
  position: relative;
}
.stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}
.stage__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
}
.stage__label::before {
  content: "";
  width: 3px; height: 12px;
  background: var(--paper);
}
.stages__caption {
  margin-top: 14px;
  color: var(--mute);
  font-size: 12.5px;
}
@media (min-width: 768px) {
  .stages {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
}

.quality img {
  width: 100%;
  aspect-ratio: 10 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- 3Dシミュレーター ---------- */
.split-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
@media (min-width: 1024px) {
  .split-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
    align-items: end;
  }
  .split-head .section__title { margin-bottom: 0; }
}
.simulator img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* ---------- 比較表 ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.75;
}
.compare th,
.compare td {
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare thead th {
  padding-top: 0;
  color: var(--mute);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.compare thead th.is-ours {
  color: var(--dawn);
  font-weight: 700;
}
.compare tbody th {
  width: 18%;
  color: var(--paper);
  font-weight: 700;
}
.compare td { color: var(--mute); }
.compare td.is-ours {
  color: var(--paper);
  background: color-mix(in srgb, var(--dawn) 8%, transparent);
}
.compare__note {
  margin-top: 20px;
  color: var(--mute);
  font-size: 14px;
}

/* スマホでは1行ずつカードにする */
@media (max-width: 767px) {
  .compare thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
  }
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td { display: block; width: auto; }
  .compare tr {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .compare tr:first-child { border-top: 1px solid var(--line); }
  .compare tbody th {
    width: auto;
    padding: 0 0 10px;
    border: 0;
    font-size: 16px;
  }
  .compare td {
    padding: 10px 14px;
    border: 0;
    font-size: 14.5px;
  }
  .compare td::before {
    content: attr(data-label);
    display: block;
    color: var(--mute);
    font-size: 11.5px;
    letter-spacing: 0.08em;
  }
  .compare td.is-ours { border-radius: 4px; }
  .compare td.is-ours::before { color: var(--dawn); }
}

/* ---------- 活用シーン ---------- */
.scenes {
  display: grid;
  gap: 40px 24px;
}
@media (min-width: 768px) {
  .scenes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.scene img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.scene__title {
  margin: 18px 0 6px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--paper);
}
.scene p { font-size: 14.5px; }
.scenes__more {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

/* ---------- 撮影サンプル ---------- */
.samples {
  display: grid;
  gap: 28px 20px;
}
@media (min-width: 900px) {
  .samples {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }
  .sample--main { grid-row: span 2; }
}
.yt {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
}
.yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity 0.25s;
}
.yt:hover img { opacity: 1; }
.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt__play {
  position: absolute;
  left: 50%; top: 50%;
  width: 64px; height: 64px;
  border: 1px solid rgba(238, 240, 243, 0.55);
  border-radius: 50%;
  background: rgba(10, 11, 13, 0.6);
  transform: translate(-50%, -50%);
  transition: background-color 0.25s, border-color 0.25s;
}
.yt__play::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  margin-left: 3px;
  /* 写真の上に載るので、セクションの明暗に関係なく白にする */
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: translate(-50%, -50%);
}
.yt:hover .yt__play {
  background: var(--dawn);
  border-color: var(--dawn);
}
.yt:hover .yt__play::before { border-left-color: var(--ink); }
.sample figcaption { margin-top: 12px; }
.sample__name {
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
}
.sample__meta {
  margin-left: 14px;
  color: var(--mute);
  font-size: 13px;
}

/* ---------- ご依頼の流れ ---------- */
.steps {
  position: relative;
  display: grid;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  padding-bottom: 28px;
}
/* 縦の線でつなぐ */
.step::before {
  content: "";
  position: absolute;
  left: 19px; top: 34px; bottom: 4px;
  width: 1px;
  background: var(--line-2);
}
.step:last-child::before { display: none; }
.step__no {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px; height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--dawn);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.step__title {
  color: var(--paper);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}
.step__text {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.8;
}
@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 20px;
  }
  /* 横の線でつなぐ */
  .steps::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 14px;
    height: 1px;
    background: var(--line-2);
  }
  .step {
    display: block;
    padding-bottom: 0;
  }
  .step::before { display: none; }
  .step__no {
    position: relative;
    margin-bottom: 18px;
    background: var(--ink);
  }
  .step__title { margin-bottom: 6px; font-size: 15px; }
  .step__text { font-size: 13.5px; }
}

/* ---------- よくある質問 ---------- */
.faq-layout { display: grid; }
@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 64px;
  }
}
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--paper);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
/* ＋／× の記号 */
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 14px; height: 1px;
  background: var(--dawn);
  transition: transform 0.25s;
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::before { transform: rotate(45deg); }
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item summary:hover { color: var(--dawn); }
.faq__item p {
  max-width: 46em;
  padding-bottom: 24px;
  font-size: 15px;
}

/* ---------- お問い合わせ ---------- */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(112px, 15vw, 200px);
  border-top: 1px solid var(--line);
}
.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
/* 上は黒に溶かし、文字を読みやすくする */
.contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(10, 11, 13, 0.55) 45%, rgba(10, 11, 13, 0.25) 100%);
}
.contact__title {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.35;
  letter-spacing: 0.05em;
  color: var(--paper);
  font-feature-settings: "palt";
}
.contact__lead {
  max-width: 40em;
  color: var(--paper);
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.contact .btn--ghost {
  background: rgba(10, 11, 13, 0.45);
  border-color: rgba(238, 240, 243, 0.4);
}
.contact .btn--ghost:hover { border-color: var(--paper); }
.contact__note {
  margin-top: 24px;
  color: var(--text);
  font-size: 14px;
}
.contact__note a {
  color: var(--dawn);
  text-underline-offset: 4px;
}
@media (max-width: 599px) {
  .contact__actions .btn { width: 100%; }
}

/* ---------- お問い合わせページ（contact/） ---------- */
/* 下層ページの見出し：LPのお問い合わせセクションを、固定ヘッダーの下から始める */
.contact--page {
  padding-top: calc(var(--header-h) + clamp(72px, 10vw, 140px));
  border-top: 0;
}
.contact--page .contact__title { font-size: clamp(32px, 4.6vw, 60px); }
/* フォームの上に置く帯は低くし、すぐ下のフォームが見えるようにする */
.contact--head {
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(48px, 6vw, 88px);
}

/* フォームと補足：PCは左にフォーム、右に補足（スクロールしても補足は残る） */
.form-layout {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .form-layout {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 64px;
    align-items: start;
  }
  .form-aside {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

.form {
  color-scheme: light;  /* ページ全体はダーク指定なので、チェックボックスなどを明るい面の配色で描かせる */
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}
.form__fields { display: grid; gap: 28px; }
.form__row { display: grid; gap: 28px; }
@media (min-width: 768px) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-bottom: 10px;
  padding: 0;
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
/* 必須は塗り、任意は線だけにする */
.badge {
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--mute);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.badge--required {
  border-color: var(--dawn);
  background: var(--dawn);
  color: #fff;
}

.input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 16px;  /* 16px未満だと、iPhoneで入力するときに画面が拡大される */
  line-height: 1.6;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--mute); opacity: 0.8; }
.input:hover { border-color: var(--mute); }
.input:focus {
  outline: none;
  border-color: var(--dawn);
  background: var(--ink-2);
  box-shadow: 0 0 0 3px rgba(47, 107, 216, 0.18);
}
.input--area { min-height: 200px; resize: vertical; }

/* 入力の誤り（朱はトラブル・失敗の色なので、誤りの表示に使う） */
.field.is-invalid .input { border-color: var(--flare); }
.field.is-invalid .input:focus { box-shadow: 0 0 0 3px rgba(212, 71, 26, 0.16); }
.field__error {
  margin-top: 8px;
  color: var(--flare);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
.field__error:empty { display: none; }

/* 選択肢：ラジオボタンは見えなくしてボタンの上に重ね、押せる範囲とキーボード操作はそのまま残す */
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice {
  position: relative;
  display: block;
}
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--ink);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.choice input:hover + span { border-color: var(--mute); }
.choice input:checked + span {
  border-color: var(--dawn);
  background: rgba(47, 107, 216, 0.08);
  box-shadow: inset 0 0 0 1px var(--dawn);
  color: var(--dawn);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--dawn);
  outline-offset: 2px;
}

.agree {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
}
.agree input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--dawn);
  cursor: pointer;
}
.agree a {
  color: var(--dawn);
  text-underline-offset: 4px;
}
.field.is-invalid .agree input {
  outline: 2px solid var(--flare);
  outline-offset: 2px;
}

/* 送信できなかったときの知らせ（フォームの先頭に出す） */
.form__alert {
  margin-bottom: 32px;
  padding: 14px 18px;
  border: 1px solid var(--flare);
  border-left-width: 4px;
  border-radius: 4px;
  background: rgba(212, 71, 26, 0.06);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}
/* ボット対策のおとりの欄は画面の外に出す */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__submit {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.form__submit .btn { min-width: 240px; }
.form__note {
  color: var(--mute);
  font-size: 13px;
}
@media (max-width: 599px) {
  .form__submit .btn { width: 100%; }
}

/* 補足：電話・資料の送り方・この後の流れ */
.form-aside { border-top: 1px solid var(--line); }
.form-aside__block {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.form-aside__label {
  margin-bottom: 8px;
  color: var(--mute);
  font-size: 13px;
  letter-spacing: 0.12em;
}
.form-aside__tel {
  color: var(--paper);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s;
}
.form-aside__tel:hover { color: var(--dawn); }
.form-aside__text { font-size: 14px; line-height: 1.8; }
.form-aside__text a {
  color: var(--dawn);
  text-underline-offset: 4px;
}
.next-steps {
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 1.8;
}
.next-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}
/* 番号は「ご依頼の流れ」と同じ形の小さい枠 */
.next-steps__no {
  display: grid;
  place-items: center;
  width: 32px;
  height: 24px;
  margin-top: 1px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--dawn);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- フッター ---------- */
.footer {
  padding: 48px 0 calc(48px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
}
.footer__inner {
  display: grid;
  gap: 24px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__company {
  color: var(--paper);
  font-weight: 700;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer__nav a {
  color: var(--text);
  text-decoration: none;
}
.footer__nav a:hover { color: var(--paper); }
@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 48px;
  }
}
@media (max-width: 1023px) {
  /* 固定ボタンと重ならないよう余白を足す */
  .footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}

/* ---------- スマホ用の固定ボタン ---------- */
.dock {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  transform: translateY(160%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
.dock.is-visible {
  transform: none;
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s;
}
.dock .btn {
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
@media (min-width: 1024px) {
  .dock { display: none; }
}
@media (max-width: 479px) {
  .header__cta { min-height: 36px; padding: 0 14px; font-size: 13px; }
}

/* ---------- 紹介動画の再生ウィンドウ ---------- */
.player {
  width: min(100% - var(--gutter) * 2, 1080px);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.player::backdrop { background: rgba(5, 6, 8, 0.86); }
.player__frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.player__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
/* 閉じるボタン（動画の右上の外側に置く） */
.player__close {
  position: absolute;
  right: 0; bottom: 100%;
  width: 40px; height: 40px;
  margin-bottom: 12px;
  border: 1px solid rgba(238, 240, 243, 0.4);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}
.player__close:hover { border-color: var(--paper); }
.player__close::before,
.player__close::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 1.5px;
  background: var(--paper);
  transform: translate(-50%, -50%) rotate(45deg);
}
.player__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}
