/* =========================================================
   Base tokens — 瑠璃 (lapis blue) × 銀 (silver)
   ========================================================= */
:root {
  --night: #070f24;
  --night-2: #0b1836;
  --ruri: #12306b;
  --ruri-2: #1d4fb0;
  --ao: #3d7bff;
  --sora: #9cc4ff;
  --mizu: #dbe8ff;
  --silver: #c9d0dc;
  --silver-hi: #f3f5f9;
  --silver-lo: #8a93a6;
  --line: rgba(201, 208, 220, 0.22);
  --line-strong: rgba(201, 208, 220, 0.45);
  --text: #e7ebf3;
  --text-dim: #9aa5bb;

  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mincho: "Shippori Mincho", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", "Shippori Mincho", serif;

  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1120px;
}

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

html {
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

/* 夜空 + 青海波 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 75% 10%, rgba(29, 79, 176, 0.35), transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(18, 48, 107, 0.5), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23c9d0dc' stroke-width='1'%3E%3Cpath d='M0 40a40 40 0 0 1 80 0M8 40a32 32 0 0 1 64 0M16 40a24 24 0 0 1 48 0M24 40a16 16 0 0 1 32 0'/%3E%3Cpath d='M-40 20a40 40 0 0 1 80 0M-32 20a32 32 0 0 1 64 0M-24 20a24 24 0 0 1 48 0M-16 20a16 16 0 0 1 32 0M40 20a40 40 0 0 1 80 0M48 20a32 32 0 0 1 64 0M56 20a24 24 0 0 1 48 0M64 20a16 16 0 0 1 32 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 40px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
}

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

.silver {
  background: linear-gradient(175deg, var(--silver-hi) 0%, var(--silver) 45%, var(--silver-lo) 55%, var(--silver-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 狐火 canvas */
#kitsunebi {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 15, 36, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1;
}
.logo-jp {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.logo-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

.global-nav ul {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}
.global-nav a {
  position: relative;
  display: block;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--silver);
  padding: 6px 0;
  transition: color 0.3s;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sora), transparent);
  transition: width 0.4s, left 0.4s;
}
.global-nav a:hover,
.global-nav a[aria-current="page"] { color: var(--silver-hi); }
.global-nav a:hover::after,
.global-nav a[aria-current="page"]::after { width: 100%; left: 0; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1px;
  background: var(--silver-hi);
  transition: transform 0.35s, top 0.35s, opacity 0.35s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; width: 14px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(35deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 22px; width: 22px; transform: rotate(-35deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: block; z-index: 2; }
  .global-nav {
    position: fixed;
    inset: 0;
    background: rgba(7, 15, 36, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  .nav-open .global-nav { opacity: 1; visibility: visible; }
  /* backdrop-filter はfixed子要素の基準を変えるため、メニュー展開中は外す */
  .nav-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    border-bottom-color: transparent;
  }
  .site-header .logo { position: relative; z-index: 2; }
  .global-nav ul { flex-direction: column; align-items: center; gap: 28px; }
  .global-nav a { font-size: 22px; }
  .nav-open { overflow: hidden; }
}

/* =========================================================
   Hero (Top)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.1fr);
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-text {
  position: relative;
  z-index: 2;
  padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 40px);
}
.hero-name {
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 88px);
  letter-spacing: 0.22em;
  line-height: 1.15;
}
.hero-sub {
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.5em;
  color: var(--text-dim);
  padding-top: 0.6em;
  border-right: 1px solid var(--line-strong);
  padding-right: 10px;
}
.hero-tag {
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--sora);
  padding-top: 2.5em;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-frame {
  position: relative;
  width: min(92%, 640px);
  aspect-ratio: 1 / 1;
}
.hero-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% 50% 4px 4px / 34% 34% 4px 4px;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
/* 銀の円環 */
.hero-frame::before {
  content: "";
  position: absolute;
  inset: -4%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  z-index: 0;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: -9%;
  border: 1px dashed rgba(156, 196, 255, 0.25);
  border-radius: 50%;
  z-index: 0;
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--silver), transparent);
  animation: cue 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 820px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: end;
  }
  .hero-visual {
    grid-row: 1;
    grid-column: 1;
    min-height: auto;
    padding: 150px 0 120px;
  }
  .hero-frame { width: min(96%, 520px); }
  .hero-text {
    grid-row: 1;
    grid-column: 1;
    align-self: start;
    padding-top: 28px;
    padding-left: var(--gutter);
    gap: 14px;
  }
  .hero-name {
    font-size: clamp(34px, 10vw, 52px);
    text-shadow: 0 2px 18px rgba(7, 15, 36, 0.9);
  }
  .hero-tag { display: none; }
}

/* =========================================================
   Section / headings
   ========================================================= */
main { flex: 1; }

.section {
  padding: clamp(80px, 12vw, 140px) 0;
}
.section + .section { padding-top: 0; }

.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.sec-head h2 {
  font-family: var(--font-en);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: 0.06em;
  line-height: 1;
}
.sec-head .jp {
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--sora);
  padding-bottom: 6px;
}
.sec-head .rule {
  flex: 1;
  height: 1px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* Page header (sub pages) */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(32px, 4vw, 48px);
  overflow: hidden;
}
.page-head .container {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.page-head h1 {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1;
  letter-spacing: 0.04em;
}
.page-head .jp {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--sora);
}
.page-head .num {
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--text-dim);
  border-left: 1px solid var(--line);
  padding-left: 10px;
}

/* しめ縄風の撚り紐ライン（衣装の組紐から） */
.cord {
  height: 10px;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M0 5c4 0 4-4 8-4s4 4 8 4' fill='none' stroke='%233d7bff' stroke-width='1.6'/%3E%3Cpath d='M0 5c4 0 4 4 8 4s4-4 8-4' fill='none' stroke='%23c9d0dc' stroke-width='1.2' opacity='.7'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 16px 10px;
  opacity: 0.85;
}

/* =========================================================
   Top: News / Pages
   ========================================================= */
.news-list li {
  border-bottom: 1px solid var(--line);
}
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-list a, .news-list .row {
  display: grid;
  grid-template-columns: 120px 110px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 22px 8px;
  transition: background 0.3s;
}
.news-list a:hover { background: rgba(61, 123, 255, 0.06); }
.news-list time {
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--silver);
}
.news-list .cat {
  justify-self: start;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--sora);
  border: 1px solid rgba(156, 196, 255, 0.4);
  padding: 2px 10px;
  line-height: 1.8;
}
@media (max-width: 640px) {
  .news-list a, .news-list .row {
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
  }
  .news-list .title { grid-column: 1 / -1; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 14px 30px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--silver-hi);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, color 0.4s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ruri-2), var(--ao));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(.7,0,.2,1);
  z-index: -1;
}
.btn:hover { border-color: var(--ao); }
.btn:hover::before { transform: scaleX(1); }
.btn { z-index: 0; }

/* =========================================================
   Top: Pickup videos
   ========================================================= */
.videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 28px);
}
.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--night-2);
}
.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.5s;
  filter: brightness(0.85);
}
.yt-thumb:hover img { transform: scale(1.04); filter: brightness(1); }
.yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  border: 1px solid var(--silver-hi);
  background: rgba(7, 15, 36, 0.55);
  transition: background 0.3s;
}
.yt-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -9px 0 0 -5px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--silver-hi);
}
.yt-thumb:hover .yt-play { background: var(--ruri-2); }
.yt-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px dashed var(--line);
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.yt-empty .en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 20px;
  color: var(--silver-lo);
}
@media (max-width: 600px) {
  .videos { grid-template-columns: 1fr; }
}

/* =========================================================
   Profile
   ========================================================= */
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: stretch;
}
/* 画像の高さを右の情報欄に合わせる（stickyは使わない） */
.profile-visual {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.profile-visual .slider {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 420px;
}
.profile-visual .caption {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

/* スライドショー（立ち絵・表情差分） */
.slider {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--night-2);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.slide.is-active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 40%;
}
.slide.close img { object-position: 18% 30%; }
/* 1枚に4体並んだ表情差分から1体ずつ切り出す */
.slide.expr span {
  display: block;
  width: 100%;
  height: 100%;
  background: url("../img/1.webp") no-repeat;
  background-size: 400% auto;
  background-position: var(--x) 3%;
}
.slider-btn {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(7, 15, 36, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s, border-color 0.3s;
}
.slider-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--silver-hi);
  border-right: 1px solid var(--silver-hi);
}
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-btn.prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.slider-btn.next::before { transform: translate(-70%, -50%) rotate(45deg); }
.slider-btn:hover { background: var(--ruri); border-color: var(--ao); }
/* ドットと枚数は画像の上に重ね、画像自体を情報欄と同じ高さにする */
.profile-visual { position: relative; }
.slider-foot {
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 1px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 40px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(7, 15, 36, 0.85));
  pointer-events: none;
}
.slider-foot button { pointer-events: auto; }
.slider-dots {
  display: flex;
  gap: 6px;
}
.slider-dots button {
  width: 22px;
  height: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.slider-dots button::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: var(--silver-lo);
  transition: background 0.3s, height 0.3s;
}
.slider-dots button.is-active::before {
  background: var(--sora);
  height: 2px;
}

/* プロフィール画像のみ左からフェードイン */
.from-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.from-left.is-in { opacity: 1; transform: none; }
.name-block {
  margin-bottom: 36px;
}
.name-block .ruby {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--sora);
}
.name-block .name {
  font-family: var(--font-mincho);
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
}
.name-block .en {
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.4em;
  color: var(--text-dim);
}
.profile-text p + p { margin-top: 1.1em; }

.data-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}
.data-list div {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.data-list div:nth-child(-n+2) { border-top: 1px solid var(--line); }
.data-list dt {
  font-family: var(--font-mincho);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--sora);
}
.data-list dd { font-size: 14px; }

.tag-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tag-list li {
  padding: 20px 22px;
  background: var(--night);
}
.tag-list .k {
  display: block;
  font-family: var(--font-mincho);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--sora);
}
.tag-list .v {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  word-break: break-all;
}
@media (max-width: 820px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-visual .slider { aspect-ratio: 3 / 4; min-height: 0; }
  .tag-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .data-list { grid-template-columns: 1fr; }
  .data-list div:nth-child(2) { border-top: 0; }
}

/* =========================================================
   Schedule
   ========================================================= */
.channel-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: 20px;
  padding: 18px 24px;
  border: 1px solid rgba(61, 123, 255, 0.55);
  background: linear-gradient(90deg, rgba(29, 79, 176, 0.35), rgba(18, 48, 107, 0.15));
  transition: background 0.4s, border-color 0.4s;
}
.channel-notice:hover {
  border-color: var(--ao);
  background: linear-gradient(90deg, rgba(29, 79, 176, 0.55), rgba(18, 48, 107, 0.3));
}
.channel-notice .txt { font-size: 14px; }
.channel-notice .go {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--silver-hi);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

/* 共通の右向き矢印（線＋矢じり） */
.arrow {
  flex-shrink: 0;
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--silver);
  position: relative;
  transition: width 0.4s;
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--silver);
  border-right: 1px solid var(--silver);
  transform: rotate(45deg);
}
.channel-notice:hover .arrow { width: 56px; }

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.day {
  background: rgba(7, 15, 36, 0.92);
  min-height: 200px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.day-head .d {
  font-family: var(--font-en);
  font-size: 26px;
  line-height: 1;
}
.day-head .w {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
.day.is-sun .w, .day.is-sat .w { color: var(--sora); }
.stream {
  border-left: 2px solid var(--ao);
  padding: 4px 0 4px 10px;
  font-size: 13px;
  line-height: 1.6;
}
.stream time {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--sora);
}
.stream.is-special { border-left-color: var(--silver-hi); }
.stream.is-special time { color: var(--silver-hi); }
.day .off {
  margin: auto 0;
  text-align: center;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--silver-lo);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-dim);
}
.legend span::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--ao);
}
.legend .sp::before { background: var(--silver-hi); }

@media (max-width: 1040px) {
  .week { grid-template-columns: 1fr; }
  .day {
    min-height: 0;
    display: grid;
    grid-template-columns: 76px 1fr;
    align-items: start;
    gap: 8px 16px;
  }
  .day-head {
    grid-row: span 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 0 12px 0 0;
    height: 100%;
  }
  .day .off { margin: 0; text-align: left; }
}

.notes {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.note {
  border: 1px solid var(--line);
  padding: 28px;
  background: rgba(11, 24, 54, 0.6);
}
.note h3 {
  font-family: var(--font-mincho);
  font-size: 16px;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}
.note p, .note li { font-size: 14px; color: var(--text-dim); }
.note li { padding-left: 1em; text-indent: -1em; }
.note li::before { content: "・"; }
@media (max-width: 760px) {
  .notes { grid-template-columns: 1fr; }
}

/* =========================================================
   Links
   ========================================================= */
.link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 28px;
  background: var(--night);
  transition: background 0.4s;
}
.link-item:hover { background: rgba(18, 48, 107, 0.6); }
.link-item .en {
  font-family: var(--font-en);
  font-size: 26px;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.link-item .desc {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}
.link-item .arrow {
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: var(--silver);
  position: relative;
  transition: width 0.4s;
}
.link-item .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--silver);
  border-right: 1px solid var(--silver);
  transform: rotate(45deg);
}
.link-item:hover .arrow { width: 56px; }
@media (max-width: 640px) {
  .link-list { grid-template-columns: 1fr; }
  .link-item { padding: 24px 20px; }
  .link-item .en { font-size: 22px; }
}

.guideline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.guideline .note h3 span {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--sora);
  margin-left: 12px;
}
@media (max-width: 760px) {
  .guideline { grid-template-columns: 1fr; }
}

.contact {
  text-align: center;
  border: 1px solid var(--line);
  padding: clamp(40px, 6vw, 64px) var(--gutter);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(61, 123, 255, 0.22), transparent 60%),
    rgba(11, 24, 54, 0.5);
}
.contact p { color: var(--text-dim); font-size: 14px; }
.contact .mail {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-en);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  word-break: break-all;
}

.contact .btn { margin-top: 28px; }

/* =========================================================
   Works
   ========================================================= */
.works-year {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
}
.works-year + .works-year { margin-top: clamp(48px, 7vw, 80px); }
.works-year .year {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0.06em;
}
.works-list {
  border-top: 1px solid var(--line);
}
.works-list li { border-bottom: 1px solid var(--line); }
.works-list .row {
  display: grid;
  grid-template-columns: 70px 120px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 22px 8px;
  transition: background 0.3s;
}
.works-list a.row:hover { background: rgba(61, 123, 255, 0.08); }
.works-list .row .arrow { align-self: center; width: 28px; }
.works-list a.row:hover .arrow { width: 44px; }
.works-list time {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--silver);
}
.works-list .cat {
  justify-self: start;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--sora);
  border: 1px solid rgba(156, 196, 255, 0.4);
  padding: 2px 10px;
  line-height: 1.8;
}
.works-list .title { font-size: 15px; }
.works-list .desc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-dim);
}
@media (max-width: 760px) {
  .works-year { grid-template-columns: 1fr; gap: 16px; }
  .works-list .row { grid-template-columns: auto 1fr auto; gap: 6px 14px; }
  .works-list .body { grid-column: 1 / 3; }
  .works-list .row .arrow { grid-column: 3; grid-row: 1 / 3; }
}

/* =========================================================
   Page top（丸ボタン）
   ========================================================= */
.page-top {
  position: fixed;
  right: clamp(14px, 2.4vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(11, 24, 54, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 18px rgba(61, 123, 255, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--lift, 0px));
  transition: opacity 0.4s, visibility 0.4s, background 0.3s, border-color 0.3s;
}
.page-top.is-show {
  opacity: 1;
  visibility: visible;
}
.page-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 1.5px solid var(--silver-hi);
  border-left: 1.5px solid var(--silver-hi);
  transform: translate(-50%, -25%) rotate(45deg);
}
.page-top:hover {
  background: var(--ruri-2);
  border-color: var(--ao);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(60px, 8vw, 100px);
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  background: rgba(4, 9, 22, 0.6);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M0 5c4 0 4-4 8-4s4 4 8 4' fill='none' stroke='%233d7bff' stroke-width='1.6'/%3E%3Cpath d='M0 5c4 0 4 4 8 4s4-4 8-4' fill='none' stroke='%23c9d0dc' stroke-width='1.2' opacity='.7'/%3E%3C/svg%3E");
  background-size: 16px 10px;
  opacity: 0.6;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-nav a {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--silver-hi); }
.copy {
  width: 100%;
  margin-top: 16px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--silver-lo);
}

/* =========================================================
   Reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }

.hero .fade {
  opacity: 0;
  animation: heroIn 1.6s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero .fade.d1 { animation-delay: 0.2s; }
.hero .fade.d2 { animation-delay: 0.6s; }
.hero .fade.d3 { animation-delay: 0.9s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .from-left, .hero .fade { opacity: 1; transform: none; }
}
