/* =========================================================
   昏心アル Official Site
   色を変えたいときは、ここ（:root）の数字だけ変えればOK
   テーマ：夜の洋館（ピーコックの青緑 ＋ ほんの少しのワインレッド）
   ========================================================= */
:root {
  color-scheme: dark;

  /* 地の色（夜） */
  --bg: #081315;
  --bg-rgb: 8, 19, 21;
  --bg-top: #0b1a1d;
  --bg-2: #0c1c1f;
  --bg-3: #0a181b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(190, 235, 228, 0.10);
  --glass-hi: rgba(255, 255, 255, 0.06);

  /* 文字 */
  --ink: #e4ecea;
  --ink-rgb: 228, 236, 234;
  --ink-2: #a2b6b4;
  --ink-3: #6b8381;

  /* イメージカラー（ピーコック：深く落ち着いた青緑） */
  --accent: #0d8a8a;            /* ボタンの塗り */
  --accent-rgb: 13, 138, 138;
  --accent-2: #1b7e9e;          /* グラデの相方（少し青） */
  --accent-2-rgb: 27, 126, 158;
  --accent-text: #7fcfc8;       /* 暗い背景の上の文字・線 */
  --glow-rgb: 70, 190, 182;     /* 光る線 */
  --accent-soft: #1d3b3c;
  --accent-mist: #10292b;
  --sky-rgb: 40, 110, 140;

  /* 差し色：ワインレッド（少しだけ使う） */
  --wine: #8e1f3a;
  --wine-rgb: 142, 31, 58;
  --wine-bright: #c4465f;
  --wine-thread-rgb: 200, 58, 86;   /* トップの波の赤い糸 */

  /* 線と影 */
  --line-rgb: 150, 210, 204;
  --line: rgba(var(--line-rgb), 0.12);
  --line-strong: rgba(var(--line-rgb), 0.24);
  --shadow-rgb: 0, 0, 0;
  --shadow: 0 30px 70px -30px rgba(var(--shadow-rgb), 0.7);
  --shadow-sm: 0 14px 34px -20px rgba(var(--shadow-rgb), 0.75);

  /* 名前の文字のグラデ（月明かりの銀 → 青緑） */
  --name-1: #f3f7f4;
  --name-2: #bfe2db;
  --name-3: #55b8b0;

  /* 月 */
  --moon-1: #f4f8f3;
  --moon-2: #dbe6e0;
  --moon-3: #a9c0ba;
  --moon-glow-rgb: 200, 236, 226;

  /* 背景の霧 */
  --orb-1-rgb: 14, 100, 100;
  --orb-3-rgb: 18, 70, 74;

  /* 立ち絵の枠・お問い合わせの面 */
  --tint-1: #10262a;
  --tint-2: #0d1f23;
  --tint-3: #0b1820;
  --contact-1: #0f2729;
  --contact-2: #0b1a21;

  /* 文字の書体：日本語は Zen Antique、英語は Stardos Stencil */
  --font-ja: "Zen Antique", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-mincho: "Zen Antique", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Stardos Stencil", "Zen Antique", serif;

  --gutter: clamp(16px, 5vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol, dl, dd, figure, h1, h2, h3, p { margin: 0; padding: 0; }
ul, ol { list-style: none; }

::selection { background: rgba(var(--wine-rgb), 0.6); color: #fff; }

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

.sp { display: none; }
.pc { display: inline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.is-placeholder { color: var(--ink-3); }

/* ---------- 小さなボタン ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent-text);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pill:hover { border-color: var(--accent-text); background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.pill--solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pill--solid:hover { filter: brightness(1.15); background: var(--accent); border-color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: all 0.35s var(--ease);
}
.btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.btn:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--solid {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
}
.btn--solid:hover svg { transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent-text);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-en);
  font-size: 1.15em;
  font-weight: 500;
  line-height: 1.4;
  transition: border-color 0.3s var(--ease);
}
.text-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.text-link:hover { border-color: var(--accent); }

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(var(--bg-rgb), 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: baseline; gap: 12px; }
.logo__ja { font-family: var(--font-mincho); font-size: 19px; font-weight: 400; letter-spacing: 0.16em; }
.logo__en { font-family: var(--font-en); font-style: normal; font-size: 15px; color: var(--ink-3); letter-spacing: 0.06em; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; }
.nav__list a {
  position: relative;
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--wine-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__list a:hover { color: var(--accent-text); }
.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__list a.is-ext { display: inline-flex; align-items: center; gap: 3px; }
.nav__list a.is-ext svg {
  width: 11px; height: 11px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0.7;
}

.menu-btn {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 60;
}
.menu-btn span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(20deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-20deg); }

/* =========================================================
   トップ
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 32px) var(--gutter) 120px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(55% 45% at 80% 14%, rgba(var(--moon-glow-rgb), 0.10) 0%, rgba(var(--moon-glow-rgb), 0) 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 70%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* 下のセクションへ、境目なくなじませる */
.hero__bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(var(--bg-rgb),0) 0%, var(--bg) 100%);
}

/* 月 */
.moon {
  position: absolute;
  right: 8%;
  top: calc(var(--header-h) + 2vh);
  width: clamp(96px, 11vw, 168px);
  aspect-ratio: 1;
  z-index: 1;
  opacity: 0;
  animation: moonrise 3.2s var(--ease) 0.2s forwards;
}
.moon__body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    /* ごく薄い模様（形がはっきり出ないように、ゆるく広く） */
    radial-gradient(40% 28% at 34% 40%, rgba(150, 172, 166, 0.16), rgba(150, 172, 166, 0) 75%),
    radial-gradient(26% 34% at 64% 58%, rgba(150, 172, 166, 0.12), rgba(150, 172, 166, 0) 75%),
    /* 立体感（右下へ少し陰る） */
    radial-gradient(circle at 38% 34%, var(--moon-1) 0%, var(--moon-2) 55%, var(--moon-3) 100%);
  box-shadow:
    0 0 24px 2px rgba(var(--moon-glow-rgb), 0.30),
    0 0 90px 20px rgba(var(--moon-glow-rgb), 0.12),
    0 0 220px 70px rgba(var(--glow-rgb), 0.08),
    inset -10px -12px 28px rgba(60, 90, 88, 0.28);
  animation: moonglow 9s ease-in-out infinite alternate;
}
/* 月の前をゆっくり流れる、ごく薄いもや */
.moon__cloud {
  position: absolute;
  left: -70%;
  top: 62%;
  width: 240%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--moon-glow-rgb), 0.10), rgba(var(--moon-glow-rgb), 0));
  filter: blur(6px);
  animation: cloud 26s ease-in-out infinite alternate;
}
@keyframes moonrise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes moonglow {
  from { filter: brightness(0.96); }
  to { filter: brightness(1.04); }
}
@keyframes cloud {
  from { transform: translateX(-8%); }
  to { transform: translateX(10%); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.orb--1 {
  width: 46vmax; height: 46vmax;
  left: -12vmax; top: -10vmax;
  background: radial-gradient(circle, rgba(var(--orb-1-rgb), 0.75), rgba(var(--orb-1-rgb), 0) 70%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.orb--2 {
  width: 40vmax; height: 40vmax;
  right: -14vmax; top: 6vmax;
  background: radial-gradient(circle, rgba(var(--sky-rgb), 0.6), rgba(var(--sky-rgb), 0) 70%);
  animation: drift2 26s ease-in-out infinite alternate;
}
.orb--3 {
  width: 34vmax; height: 34vmax;
  left: 28%; bottom: -18vmax;
  background: radial-gradient(circle, rgba(var(--orb-3-rgb), 0.8), rgba(var(--orb-3-rgb), 0) 70%);
  animation: drift3 30s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(8vmax, 6vmax) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-6vmax, 8vmax) scale(0.94); } }
@keyframes drift3 { to { transform: translate(-8vmax, -5vmax) scale(1.1); } }

/* 名前の後ろを流れる声の波 */
.hero__wave {
  position: absolute;
  left: 50%;
  /* 縦書きの名前の高さに合わせて、波が名前のまんなかあたりを横切るようにする */
  top: calc(2.3 * clamp(56px, 10.5vh, 116px) - 0.5 * clamp(200px, 24vw, 300px));
  width: 100vw;
  height: clamp(200px, 24vw, 300px);
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 0;
  text-align: center;
  max-width: 760px;
}

.hero__name {
  --nf: clamp(60px, 13vw, 148px);   /* 名前の文字の大きさ */
  position: relative;
  margin-top: 0;
  font-weight: 400;
}
.hero__name-ja {
  display: block;
  font-family: var(--font-mincho);
  font-weight: 400;
  font-size: var(--nf);
  line-height: 1.08;
  letter-spacing: 0.14em;
  margin-right: -0.14em; /* 字間の分だけ中央をそろえる */
}
/* 一文字ずつ：月明かりのグラデで塗って、順番にふわっと出す */
.hero__name-ja .c {
  display: inline-block;
  background: linear-gradient(170deg, var(--name-1) 10%, var(--name-2) 60%, var(--name-3) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  filter: blur(10px);
  animation: reveal-name 1.6s var(--ease) forwards;
}
.hero__name-ja .c1 { animation-delay: 0.35s; }
.hero__name-ja .c2 { animation-delay: 0.5s; }
.hero__name-ja .c3 { animation-delay: 0.65s; }
.hero__name-ja .c4 { animation-delay: 0.8s; }

/* ---- 名前：縦書き（ローマ字も縦に添える） ---- */
.hero__name.is-b {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 28px);
}
.is-b .hero__name-ja {
  writing-mode: vertical-rl;
  font-size: clamp(56px, 10.5vh, 116px);
  line-height: 1;
  letter-spacing: 0.1em;
  margin: 0;
}
.is-b .hero__name-en {
  writing-mode: vertical-rl;
  margin: 0.4em 0 0;
  padding-top: 1.4em;
  font-size: clamp(12px, 1.3vw, 16px);
  letter-spacing: 0.45em;
  border-top: 1px solid var(--wine-bright);
}

.hero__name-en {
  display: block;
  margin-top: 14px;
  font-family: var(--font-en);
  font-style: normal;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.36em;
  margin-right: -0.36em;
  color: var(--ink-2);
  opacity: 0;
  animation: rise 1.4s var(--ease) 0.9s forwards;
}
@keyframes reveal-name { to { opacity: 1; filter: blur(0); } }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* トップのメニュー */
.hero-menu {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  margin: 52px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  animation: rise 1.4s var(--ease) 1.3s forwards;
}
/* 上の線のまんなかの小さなひし形 */
.hero-menu::before {
  content: "";
  position: absolute;
  left: 50%; top: -4px;
  width: 7px; height: 7px;
  background: var(--bg);
  border: 1px solid var(--wine-bright);
  transform: translateX(-50%) rotate(45deg);
}
.hero-menu__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 18px 8px 16px;
  transition: background 0.4s var(--ease);
}
.hero-menu__item + .hero-menu__item::before {
  content: "";
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: var(--line);
}
.hero-menu__item::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, rgba(var(--glow-rgb),0), rgb(var(--glow-rgb)), rgba(var(--glow-rgb),0));
  transform: translateX(-50%);
  transition: width 0.5s var(--ease);
}
.hero-menu__num {
  display: flex;
  align-items: center;
  height: 17px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--wine-bright);
}
.hero-menu__num svg {
  display: block;
  width: 13px; height: 13px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}
.hero-menu__item--ext:hover .hero-menu__num svg { transform: translate(2px, -2px); }
.hero-menu__en {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--ink);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.hero-menu__ja {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  transition: color 0.4s var(--ease);
}
.hero-menu__item:hover { background: radial-gradient(70% 90% at 50% 100%, rgba(var(--glow-rgb), 0.10), rgba(var(--glow-rgb), 0)); }
.hero-menu__item:hover::after { width: 70%; }
.hero-menu__item:hover .hero-menu__en { color: var(--accent-text); transform: translateY(-2px); }
.hero-menu__item:hover .hero-menu__ja { color: var(--ink); }


.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.scroll-cue i {
  position: relative;
  width: 1px; height: 52px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0; top: -50%;
  width: 100%; height: 50%;
  background: linear-gradient(180deg, rgba(var(--wine-rgb),0), var(--wine-bright));
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip { to { top: 110%; } }

/* =========================================================
   セクション共通
   ========================================================= */
.section { position: relative; padding: clamp(96px, 13vw, 160px) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head__num {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--wine-bright);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wine);
}
.section-head__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-family: var(--font-en);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(50px, 7vw, 84px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.section-head__title span {
  font-family: var(--font-ja);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--ink-2);
}

/* ふわっと出る */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   ボイスサンプル
   ========================================================= */
.voice {
  background:
    radial-gradient(45% 35% at 12% 30%, rgba(var(--glow-rgb), 0.07), rgba(var(--glow-rgb), 0) 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

.samples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 12px;
}
.sample {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 18px 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.sample:hover { background: rgba(255, 255, 255, 0.055); border-color: var(--line-strong); }
.sample.is-playing {
  border-color: rgba(var(--wine-rgb), 0.7);
  box-shadow: 0 0 30px -12px rgba(var(--wine-rgb), 0.6);
}

.play {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px -8px rgba(var(--accent-rgb), 0.7);
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.play:hover { transform: scale(1.06); }
.play__icon { width: 15px; height: 15px; fill: #fff; }
.play__icon--play { margin-left: 2px; }
.play__icon--pause { display: none; }
.sample.is-playing .play__icon--play { display: none; }
.sample.is-playing .play__icon--pause { display: block; }

.sample__body { min-width: 0; }
.sample__head { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.sample__no {
  flex: none;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--wine-bright);
}
.sample__title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
}
.sample__tag {
  flex: none;
  margin-left: auto;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--accent-mist);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--accent-text);
}

/* 下の段：再生位置の細い線と時間 */
.sample__foot { display: flex; align-items: center; gap: 12px; margin-top: 4px; }

/* 再生位置の細い線（押すとその位置へ） */
.sample__bar {
  position: relative;
  flex: 1 1 auto;
  height: 14px;
  cursor: pointer;
  touch-action: none;
}
.sample__bar::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--accent-soft);
}
.sample__fill {
  position: absolute;
  left: 0; top: 50%;
  width: 0;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgb(var(--glow-rgb)), var(--accent-2));
  box-shadow: 0 0 6px rgba(var(--glow-rgb), 0.5);
}
.sample__fill::after {
  content: "";
  position: absolute;
  right: -4px; top: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(var(--glow-rgb), 0.9);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.sample.is-playing .sample__fill::after,
.sample__bar:hover .sample__fill::after { opacity: 1; }

.sample__time {
  flex: none;
  min-width: 30px;
  text-align: right;
  font-family: var(--font-en);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

/* YouTube の埋め込み */
.yt {
  max-width: 820px;
  margin: 72px auto 0;
}
.yt__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.yt__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.yt__label::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--wine-bright);
}
.yt .text-link { font-size: 13px; font-family: var(--font-ja); letter-spacing: 0.12em; }
.yt__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(var(--glow-rgb), 0.08), rgba(var(--glow-rgb), 0) 70%),
    var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi);
}
.yt__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.yt__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.yt__empty svg { width: 46px; height: 46px; fill: rgba(var(--line-rgb), 0.22); }

/* 再生前の表紙（押すと再生が始まる） */
.yt__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  color: #fff;
}
.yt__poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity 0.5s var(--ease), transform 1.2s var(--ease);
}
.yt__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 45%, rgba(var(--bg-rgb), 0.85) 100%);
}
.yt__poster:hover img { opacity: 1; transform: scale(1.02); }
.yt__poster-play {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.92), rgba(var(--accent-2-rgb), 0.92));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 40px -10px rgba(var(--accent-rgb), 0.9);
  transition: transform 0.4s var(--ease);
}
.yt__poster-play svg { width: 26px; height: 26px; margin-left: 4px; fill: #fff; }
.yt__poster:hover .yt__poster-play { transform: scale(1.08); }
.yt__poster-title {
  position: absolute;
  left: 22px; right: 22px; bottom: 18px;
  z-index: 1;
  font-family: var(--font-mincho);
  font-size: clamp(14px, 1.8vw, 18px);
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 動画のスライド */
.yt__slider {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.yt__slider[hidden] { display: none; }
.yt__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 18px 6px;
  scroll-padding-inline: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.yt__track::-webkit-scrollbar { display: none; }
.yt__card {
  flex: 0 0 196px;
  scroll-snap-align: start;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.yt__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.yt__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.35s var(--ease), transform 0.8s var(--ease); }
.yt__card:hover .yt__thumb img { opacity: 1; transform: scale(1.04); }
.yt__card:hover .yt__thumb { border-color: var(--line-strong); }
.yt__card.is-current .yt__thumb {
  border-color: rgba(var(--wine-rgb), 0.9);
  box-shadow: 0 0 22px -8px rgba(var(--wine-rgb), 0.8);
}
.yt__card.is-current .yt__thumb img { opacity: 1; }
.yt__badge {
  position: absolute;
  right: 6px; bottom: 6px;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(var(--bg-rgb), 0.85);
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.yt__card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.yt__card-date {
  display: block;
  margin-top: 2px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.yt__nav {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s var(--ease);
}
.yt__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.yt__nav:hover { color: #fff; border-color: rgba(var(--glow-rgb), 0.6); background: rgba(var(--accent-rgb), 0.3); }
.yt__nav:disabled { opacity: 0.25; cursor: default; pointer-events: none; }

/* 音声がまだ無いとき */
.sample.is-pending .play { background: var(--accent-mist); box-shadow: none; cursor: default; }
.sample.is-pending .play:hover { transform: none; }
.sample.is-pending .play__icon { fill: var(--ink-3); }
.sample.is-pending .sample__bar { cursor: default; opacity: 0.5; }
.sample.is-pending .sample__time { font-family: var(--font-ja); font-size: 10.5px; letter-spacing: 0.12em; color: var(--ink-3); }

/* =========================================================
   出演作品
   ========================================================= */
.works {
  background:
    radial-gradient(40% 35% at 88% 55%, rgba(var(--wine-rgb), 0.10), rgba(var(--wine-rgb), 0) 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 50%, var(--bg) 100%);
}
.request {
  background: radial-gradient(45% 30% at 10% 20%, rgba(var(--glow-rgb), 0.06), rgba(var(--glow-rgb), 0) 70%);
}
.works__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.works__list:empty { display: none; }
.work a { display: block; }
.work__thumb { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--accent-mist); }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work a:hover .work__thumb img { transform: scale(1.04); }
.work__meta { margin-top: 14px; font-size: 12px; color: var(--ink-3); letter-spacing: 0.1em; }
.work__title { margin-top: 4px; font-family: var(--font-mincho); font-size: 17px; font-weight: 500; letter-spacing: 0.08em; }
.work__role { font-size: 13px; color: var(--accent-text); }

.works__empty {
  max-width: 560px;
  margin: 0 auto;
  padding: 36px var(--gutter);
  text-align: center;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}

/* =========================================================
   お仕事依頼
   ========================================================= */
.request__lead { font-size: 15px; line-height: 2.1; color: var(--ink-2); max-width: 640px; }

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  counter-reset: flow;
}
.flow__step {
  position: relative;
  padding: 28px 26px 30px 0;
  border-top: 1px solid var(--line-strong);
}
.flow__step::before {
  content: "";
  position: absolute;
  left: 0; top: -4px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wine-bright);
  box-shadow: 0 0 0 5px var(--bg), 0 0 10px rgba(var(--wine-rgb), 0.9);
}
.flow__num { font-family: var(--font-en); font-style: normal; font-size: 30px; line-height: 1; color: var(--accent); }
.flow__step h3 {
  margin-top: 14px;
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.flow__step p { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--ink-2); }

.request__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 56px;
}
.panel {
  padding: 34px 34px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--glass-hi);
}
.panel:nth-child(2) { transition-delay: 0.08s; }
.panel__title {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.16em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.price { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 14px; }
.price th, .price td { padding: 14px 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; }
.price td { text-align: right; font-family: var(--font-en); font-size: 17px; }
.price td.is-placeholder { font-family: var(--font-ja); font-size: 13px; letter-spacing: 0.14em; }
.panel__note { margin-top: 14px; font-size: 12px; color: var(--ink-3); line-height: 1.8; }

.notes { margin-top: 14px; }
.notes li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
}
.notes li::before {
  content: "";
  position: absolute;
  left: 2px; top: calc(8px + 0.95em);
  width: 8px; height: 1px;
  background: var(--wine-bright);
}

.contact {
  position: relative;
  margin-top: 72px;
  padding: clamp(48px, 7vw, 80px) var(--gutter);
  border-radius: 30px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(var(--glow-rgb),0.16), rgba(var(--glow-rgb),0) 60%),
    radial-gradient(50% 80% at 100% 100%, rgba(var(--wine-rgb),0.28), rgba(var(--wine-rgb),0) 70%),
    linear-gradient(135deg, var(--contact-1) 0%, var(--contact-2) 100%);
  box-shadow: var(--shadow);
}
.contact__label {
  font-family: var(--font-en);
  font-style: normal;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  color: var(--accent-text);
}
.contact__text { margin-top: 14px; font-size: 14px; letter-spacing: 0.16em; color: var(--ink-2); }
.contact__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.contact .btn svg { stroke-width: 1.4; }

/* =========================================================
   Ci-en の欄（トップページの一番下）
   ========================================================= */
.cien__text {
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  position: relative;
  font-family: var(--font-mincho);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 2.2;
  letter-spacing: 0.14em;
  color: var(--ink);
}
/* 線のまんなかの小さなひし形 */
.cien__text::before {
  content: "";
  position: absolute;
  left: 50%; top: -4px;
  width: 7px; height: 7px;
  background: var(--bg);
  border: 1px solid var(--wine-bright);
  transform: translateX(-50%) rotate(45deg);
}

/* 大きいリンク */
.cien__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 118px;
  margin-top: 44px;
  padding: 22px 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px -24px rgba(var(--accent-rgb), 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), filter 0.45s var(--ease);
}
/* 表面をすっと走る光 */
.cien__link::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -40%;
  width: 30%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,0.18), rgba(255,255,255,0));
  transform: skewX(-18deg);
  transition: left 0.9s var(--ease);
}
.cien__link:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 30px 70px -24px rgba(var(--accent-rgb), 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.cien__link:hover::before { left: 115%; }
.cien__link-main {
  font-family: var(--font-mincho);
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0.16em;
  margin-right: -0.16em;
}
.cien__link-sub {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  opacity: 0.78;
}
.cien__link-arrow {
  position: absolute;
  right: 30px; top: 50%;
  width: 26px; height: 26px;
  margin-top: -13px;
  fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.45s var(--ease);
}
.cien__link:hover .cien__link-arrow { transform: translate(3px, -3px); }


/* トップページの一番下の Ci-en の欄 */
.support {
  background: radial-gradient(45% 40% at 80% 60%, rgba(var(--wine-rgb), 0.12), rgba(var(--wine-rgb), 0) 70%);
}
.support__body {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.support .cien__text { margin-top: 0; }


/* =========================================================
   フッター
   ========================================================= */
.footer { padding: 72px 0 48px; border-top: 1px solid var(--line); background: var(--bg); }
.footer__inner { display: grid; justify-items: center; gap: 22px; text-align: center; }
.footer__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.22em;
  margin-right: -0.22em;
}
.footer__name span { font-family: var(--font-en); font-style: normal; font-size: 14px; letter-spacing: 0.2em; color: var(--ink-3); }
.footer__links { display: flex; gap: 28px; }
.footer__links a { font-family: var(--font-en); font-size: 16px; letter-spacing: 0.1em; color: var(--ink-2); transition: color 0.3s; }
.footer__links a:hover { color: var(--accent-text); }
.footer__copy { font-family: var(--font-en); font-size: 13px; letter-spacing: 0.1em; color: var(--ink-3); }

/* =========================================================
   SNS・支援サイトのアイコン（PCは左はしに縦、スマホは下に横）
   ========================================================= */
.social {
  position: fixed;
  left: 14px;
  top: 50%;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(12, 28, 31, 0.55);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transform: translateY(-50%);
  opacity: 0;
  animation: social-in 1.2s var(--ease) 1.6s forwards;
}
@keyframes social-in {
  from { opacity: 0; transform: translate(-10px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}
.social__item {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(var(--line-rgb), 0.14);
  color: var(--name-2);
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.social__icon { width: 19px; height: 19px; fill: currentColor; }
.social__icon--yt { width: 22px; height: 22px; }
.social__text {
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.social__item:hover,
.social__item:focus-visible {
  color: #fff;
  background: rgba(var(--accent-rgb), 0.35);
  border-color: rgba(var(--glow-rgb), 0.6);
  box-shadow: 0 0 18px -4px rgba(var(--glow-rgb), 0.7);
  transform: translateX(2px);
}
/* PCでマウスを乗せると右に出る名前 */
.social__label {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(var(--ink-rgb), 0.92);
  color: var(--bg);
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-6px, -50%);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.social__item:hover .social__label,
.social__item:focus-visible .social__label { opacity: 1; transform: translate(0, -50%); }

/* 左はしのアイコンと中身がぶつからないように */
@media (min-width: 821px) and (max-width: 1260px) {
  .container { padding-left: max(var(--gutter), 84px); }
}

/* 準備中のお知らせ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.92);
  color: var(--bg);
  font-size: 13px;
  letter-spacing: 0.1em;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1080px) {
}
@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .nav { gap: 24px; }
  .nav__list { gap: 20px; }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 820px) {
  :root { --header-h: 60px; }
  body { font-size: 14px; padding-bottom: 0; }
  .sp { display: inline; }
  .pc { display: none; }

  .logo__en { display: none; }

  .menu-btn { display: block; margin-right: -10px; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 44px;
    background: rgba(var(--bg-rgb), 0.94);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 18px; }
  .nav__list a { font-size: 30px; font-style: normal; }

  .hero { padding-bottom: 110px; }
  /* スマホでは右端から少しはみ出させて、文字にかからないようにする */
  .moon { right: -30px; top: calc(var(--header-h) - 6px); width: 100px; }
  .hero__name-ja { letter-spacing: 0.1em; margin-right: -0.1em; }
  .hero-menu { grid-template-columns: repeat(6, minmax(0, 1fr)); width: min(100%, 360px); margin-top: 44px; }
  .hero-menu__item { grid-column: span 2; }
  .hero-menu__item--ext { grid-column: span 3; border-top: 1px solid var(--line); }
  .hero-menu__item { padding: 14px 6px 12px; }
  .hero-menu__item + .hero-menu__item::before { top: 24%; bottom: 24%; }
  .hero-menu__item:nth-child(4)::before { display: none; }
  .hero-menu__en { font-size: 20px; }
  .scroll-cue { bottom: 18px; }
  .scroll-cue i { height: 40px; }

  .section-head { gap: 16px; }
  .section-head__num { padding-bottom: 10px; }



  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow__step {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 8px;
    padding: 22px 0 22px 20px;
    border-top: 0;
    border-left: 1px solid var(--line-strong);
  }
  .flow__step::before { left: -4px; top: 30px; }
  .flow__num { grid-row: span 2; font-size: 26px; padding-top: 4px; }
  .flow__step h3 { margin-top: 0; }
  .flow__step p { margin-top: 2px; }

  .request__grid { grid-template-columns: 1fr; }
  .panel { padding: 28px 22px 24px; }
  .contact__btns { flex-direction: column; align-items: stretch; }
  .contact__btns .btn { justify-content: center; }

  .cien__link { min-height: 104px; padding: 20px 56px 20px 24px; }
  .cien__link-arrow { right: 22px; }
  .footer { padding-bottom: 104px; }

  /* アイコン：画面の下に横並び */
  .social {
    left: 50%;
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    flex-direction: row;
    gap: 8px;
    padding: 7px;
    border-radius: 18px;
    background: rgba(12, 28, 31, 0.82);
    box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.8);
    transform: translateX(-50%);
    animation-name: social-in-sp;
  }
  @keyframes social-in-sp {
    from { opacity: 0; transform: translate(-50%, 12px); }
    to { opacity: 1; transform: translate(-50%, 0); }
  }
  .social__item { width: 46px; height: 46px; }
  .social__item:hover, .social__item:focus-visible { transform: none; }
  .social__label { display: none; }
  .scroll-cue { display: none; }

  /* 動画のスライド：スマホは指で横に流すので、矢印は隠す */
  .yt__slider { grid-template-columns: minmax(0, 1fr); }
  .yt__nav { display: none; }
  .yt__card { flex-basis: 62%; }
  .yt__poster-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .yt__poster-title { left: 14px; right: 14px; bottom: 10px; }

  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* 動きを減らす設定の人向け */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}
