* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 暁のテーマ：夜の藍 → 朝の金（代表曲ページ準拠） */
    --night: #0a0d1c;
    --night-2: #0e1226;
    --gold: #e8c07a;
    --gold-soft: #f0d2a0;
    --indigo: #4a3a78;
    --rose: #9a4567;
    --coral: #cb5a46;
    --amber: #ec9a3c;
    --ink: #f3f0ea;
    --ink-soft: #b9bdd0;
    --ink-faint: #7a7f99;
    --line: rgba(232, 192, 122, 0.22);

    /* 既存クラスへのマッピング */
    --primary-color: var(--gold);
    --secondary-color: var(--rose);
    --accent-color: var(--amber);
    --text-color: var(--ink);
    --text-light: var(--ink-soft);
    --bg-color: var(--night);
    --bg-alt: rgba(255, 255, 255, 0.03);
    --border-color: var(--line);

    /* 面（カード・パネル）と装飾 */
    --surface: rgba(255, 255, 255, 0.045);
    --surface-warm: rgba(232, 192, 122, 0.08);
    --on-accent: #0a0d1c;
    --dawn-grad: linear-gradient(135deg, #4a3a78 0%, #9a4567 55%, #cb5a46 100%);

    --shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 44px rgba(0, 0, 0, 0.6);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(46, 44, 102, 0.55) 0%, rgba(10, 13, 28, 0) 55%),
        linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
    background-attachment: fixed;
    background-color: var(--night);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: rgba(10, 13, 28, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* 全ページでナビのフォントを統一（明朝系ページでも崩れないよう明示） */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

.hero.hero-full{
  background: none !important;
}

.hero-full{
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背景画像 */
.hero-bg{
  position:absolute;
  inset:0;
  background-image: url("/images/site/banner-3.webp");
  background-size: cover;        /* ← 隙間ゼロ */
  background-position: center;
  background-repeat: no-repeat;
  z-index:0;
}

/* グラデ */
.hero-full::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(10,13,28,.55) 0%, rgba(74,58,120,.45) 45%, rgba(203,90,70,.4) 100%);
  opacity: 0.55;
  z-index:1;
}

/* テキスト */
.hero-content{
  position: relative;
  z-index:2;
  text-align: center;
  color: #fff;
}

.hero-title{
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
}

.hero-subtitle{
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.hero-description{
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  opacity: 0.9;
}

.band-image {
    max-width: 560px;
    width: 100%;
    height: auto;
    /* border-radius: 12px; */
    /* box-shadow: var(--shadow-lg); */
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
    color: var(--on-accent);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 192, 122, 0.3);
}

/* Section */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background-color: var(--surface);
    border: 1px solid var(--line);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* Content Box */
.content-box {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--surface);
    border: 1px solid var(--line);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.content-box p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.1rem;
}

.content-box a,
.terms-article a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 192, 122, 0.45);
}

.content-box a:hover,
.terms-article a:hover {
    border-bottom-color: var(--gold);
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
}

.concept-text {
    background-color: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.concept-summary {
    background: var(--dawn-grad);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.concept-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.concept-summary p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
}

/* ===== 名前の意味：暁奏 ===== */
.name-meaning {
    margin-top: 2.5rem;
    padding: 2.5rem 2rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        radial-gradient(120% 90% at 50% -10%, rgba(232, 192, 122, 0.10) 0%, rgba(232, 192, 122, 0) 55%),
        rgba(10, 13, 28, 0.55);
    text-align: center;
}

.name-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin: 0 0 0.5rem;
    opacity: 0.85;
}

.name-title {
    font-size: 1.5rem;
    color: var(--ink);
    margin: 0 0 2rem;
    letter-spacing: 0.04em;
}

.name-etymology {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.kanji-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 260px;
}

.kanji-char {
    font-size: 3.4rem;
    line-height: 1;
    font-weight: 700;
    background: var(--dawn-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold);
}

.kanji-reading {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--gold-soft);
    margin: 0.4rem 0 0.6rem;
}

.kanji-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

.kanji-plus {
    font-size: 1.8rem;
    color: var(--ink-faint);
}

.name-lead {
    font-size: 1.25rem;
    color: var(--gold);
    margin: 0 0 1.25rem;
}

.name-body {
    max-width: 640px;
    margin: 0 auto 2.25rem;
    line-height: 1.9;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.name-body strong {
    color: var(--ink);
}

/* 句のまとまりで折り返す（句の途中で切れないように） */
.name-body .nb {
    display: inline-block;
}

.name-body + .name-body {
    margin-top: -1rem;
}

/* 夜明けの7段階スケール（左＝夜 → 右＝暁） */
.dawn-scale {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
    align-items: end;
    max-width: 640px;
    margin: 0 auto 1.25rem;
    padding: 1rem 0.75rem 0;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.dawn-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 150px;
}

.dawn-swatch {
    width: 100%;
    height: var(--h, 60%);
    min-height: 34px;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, var(--c), rgba(10, 13, 28, 0.15));
    box-shadow: 0 0 18px -4px var(--c), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dawn-step:hover .dawn-swatch {
    transform: translateY(-4px);
    box-shadow: 0 0 26px -2px var(--c), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.dawn-emotion {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.05em;
}

.dawn-member {
    margin-top: 0.15rem;
    font-size: 0.68rem;
    color: var(--ink-faint);
    letter-spacing: 0.02em;
}

.dawn-caption {
    display: flex;
    justify-content: space-between;
    max-width: 640px;
    margin: 0 auto 0.75rem;
    padding: 0 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--ink-faint);
}

.dawn-note {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: 0;
    opacity: 0.9;
}

.dawn-note a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 192, 122, 0.4);
}

.dawn-note a:hover {
    border-bottom-color: var(--gold);
}

@media (max-width: 640px) {
    .name-meaning { padding: 2rem 1.1rem; }
    .name-etymology { gap: 0.75rem; }
    .kanji-char { font-size: 2.8rem; }
    .dawn-scale { gap: 0.25rem; padding: 0.75rem 0.4rem 0; }
    .dawn-step { min-height: 120px; }
    .dawn-emotion { font-size: 0.78rem; }
    .dawn-member { display: none; }
    .dawn-caption { font-size: 0.7rem; padding: 0 0.4rem; }
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    line-height: 1.8;
}

.feature-list li:last-child {
    border-bottom: none;
}

.mood-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    margin: 1rem 0;
}

.video-link {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.external-link {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.external-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Structure Box */
.structure-box {
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.structure-box h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.structure-card {
    background-color: var(--bg-alt);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.structure-card-protected {
    background-color: var(--surface-warm);
    border-color: var(--primary-color);
}

.structure-card h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.structure-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.structure-list {
    list-style: none;
    padding: 0;
}

.structure-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.structure-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.protected-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: var(--coral);
    color: #fff;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.official-note {
    background-color: var(--bg-alt);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.official-note p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.official-note p:first-child {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.important-note {
    background-color: var(--surface-warm);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
    font-weight: 500;
}

/* Members Section */
.members-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.members-box p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

.members-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.intro-sub {
    font-size: .95rem;
    margin-top: -1rem;
}

.intro-sub strong {
    color: var(--gold);
}

.members-slider {
    position: relative;
    /* トップのヒーローと同じく全幅・edge-to-edge で大きく見せる */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: clamp(360px, 70vh, 760px);
    overflow: hidden;
}

.members-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: membersFade 12s infinite;
}

.members-slider img:nth-child(2) {
    animation-delay: 4s;
}

.members-slider img:nth-child(3) {
    animation-delay: 8s;
}

@keyframes membersFade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    28%  { opacity: 1; }
    33%  { opacity: 0; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .members-slider img {
        animation: none;
    }
    .members-slider img:first-child {
        opacity: 1;
    }
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.member-card {
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-header {
    background: var(--dawn-grad);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.member-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.member-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.member-english {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

.member-content {
    padding: 2rem;
}

.member-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.member-content h4:first-child {
    margin-top: 0;
}

.member-definition {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.member-attributes,
.member-role {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-attributes li,
.member-role li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
}

.member-attributes li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.member-role li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.member-note {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--surface-warm);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    color: var(--text-color);
    font-size: 0.95rem;
}

.member-song {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.7rem 1.2rem;
    background: var(--dawn-grad);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-song:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(196, 113, 237, 0.35);
}

.members-reference {
    background-color: var(--surface);
    border: 1px solid var(--line);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.members-reference h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

/* メンバー画像：カード幅に合わせて表示（縦長OK） */
.member-photo{
  width: 100%;
  height: auto;          /* 縦横比維持 */
  display: block;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

/* メンバー画像を2枚クロスフェード（base ⇄ 2版） */
.member-photo-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.member-photo-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: memberPhotoFade 8s infinite;
}

.member-photo-slider img:nth-child(2) {
  animation-delay: 4s;
}

@keyframes memberPhotoFade {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  42%  { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .member-photo-slider img { animation: none; }
  .member-photo-slider img:first-child { opacity: 1; }
}

.reference-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.reference-item {
    padding: 1rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.reference-item:hover {
    border-color: var(--primary-color);
}

.members-concept {
    background-color: var(--surface);
    border: 1px solid var(--line);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.members-concept h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.concept-box {
    max-width: 900px;
    margin: 0 auto;
}

.concept-box p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.05rem;
}

.concept-important {
    background-color: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.members-link-box {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-alt);
    border-radius: 12px;
}

.link-note {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

/* Terms Box */
.terms-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.terms-box p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Songs Section */
.songs-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.song-card {
    background-color: var(--surface);
    border: 1px solid var(--line);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-card:hover {
    box-shadow: var(--shadow-lg);
}

.song-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.song-members {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.song-content {
    margin-top: 1.5rem;
}

.song-link {
    margin-bottom: 1rem;
}

.youtube-link {
    display: inline-block;
    background-color: var(--gold);
    color: var(--on-accent);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.youtube-link:hover {
    background-color: var(--gold-soft);
    transform: translateY(-2px);
}

.song-media {
    margin-bottom: 1.5rem;
}

.audio-note {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.audio-player {
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
    border-radius: 8px;
}

.audio-player::-webkit-media-controls-panel {
    background-color: var(--bg-alt);
}

.audio-player::-webkit-media-controls-play-button {
    background-color: var(--primary-color);
    border-radius: 50%;
}

.song-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.song-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Terms Content */
.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.terms-article {
    background-color: var(--surface);
    border: 1px solid var(--line);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.terms-article h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.terms-article p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.terms-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
}

.terms-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.terms-ordered-list {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-ordered-list li {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.terms-note {
    background-color: var(--surface-warm);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.terms-summary {
    background: var(--dawn-grad);
    color: white;
}

.terms-summary h2,
.terms-summary p {
    color: white;
}

.summary-box {
    margin-top: 2rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.summary-box blockquote {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.8;
}

.summary-box blockquote p {
    margin-bottom: 1rem;
}

.summary-box blockquote p:last-child {
    margin-bottom: 0;
}

/* Example Link */
.example-link {
    margin-top: 2rem;
    text-align: center;
}

.example-link a {
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--surface);
    border: 1px solid var(--line);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--surface);
    border: 1px solid var(--line);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    width: 100%;
    background-color: var(--gold);
    color: var(--on-accent);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background-color: var(--gold-soft);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-grid,
    .services-grid,
    .structure-grid,
    .members-grid,
    .reference-table {
        grid-template-columns: 1fr;
    }

    .content-box {
        padding: 2rem 1.5rem;
    }

    .structure-box {
        padding: 2rem 1.5rem;
    }

    .members-concept,
    .members-reference {
        padding: 2rem 1.5rem;
    }

    .member-content {
        padding: 1.5rem;
    }

    .song-card {
        padding: 2rem 1.5rem;
    }

    .terms-article {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .band-image {
        max-width: 100%;
    }

    .content-box,
    .structure-box {
        padding: 1.5rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .member-header {
        padding: 1rem;
    }

    .member-emoji {
        font-size: 2rem;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .members-concept h3 {
        font-size: 1.5rem;
    }

    .members-reference h3 {
        font-size: 1.3rem;
    }

    .members-slider {
        max-width: 100%;
    }

    .song-card {
        padding: 1.5rem;
    }

    .song-title {
        font-size: 1.5rem;
    }

    .terms-article {
        padding: 1.5rem;
    }

    .terms-article h2 {
        font-size: 1.3rem;
    }

    .song-image {
        max-width: 100%;
    }
}

/* Footer */
.footer {
  background: rgba(15, 23, 42, 0.8); /* slate系 */
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: rgba(226, 232, 240, 0.95); /* text-slate-200 */
  /* 全ページでフッターのフォントを統一 */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

.footer a,
.footer a:visited {
  color: inherit;
  text-decoration: none;
}

/* hover時だけ“サイトのアクセント感”を出す（色は好みで調整） */
.footer a:hover {
  text-decoration: underline;
  opacity: 0.95;
}

.footer-block {
  padding: 18px 0;
}

.footer-heading {
  margin: 0 0 10px 0;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-block p {
  margin: 0 0 10px 0;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
}

/* “外部リンク”の雰囲気（任意） */
.footer-link::after {
  content: "↗";
  font-size: 0.9em;
  opacity: 0.7;
}

.footer-subnote {
  margin: 10px 0 0 0;
  font-size: 0.9em;
  opacity: 0.75;
}

.footer-copy {
  margin: 0;
  padding: 12px 0 18px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.95em;
  opacity: 0.85;
  text-align: center;
}

/* ========== 埋め込みカードのスタイル ========== */
.music-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.music-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.music-card-horizontal {
    display: flex;
    flex-direction: row;
}

.music-card-cover {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    background: var(--dawn-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
}

.music-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.music-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.music-card-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--ink);
    margin: 0 0 10px 0;
}

.music-card-meta {
    color: var(--ink-soft);
    font-size: 0.9em;
    margin-bottom: 15px;
}

.music-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.music-card-tag {
    background: var(--rose);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
}

.music-card-features {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.9em;
    color: var(--ink-soft);
}

.music-card-feature {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .music-card-horizontal {
        flex-direction: column;
    }

    .music-card-cover {
        width: 100%;
        height: 250px;
    }
}

/* ローディング状態 */
.music-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

.music-card.loading .music-card-content::after {
    content: "Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ========== 共通ナビ（ハンバーガー対応） ========== */
a.logo {
    text-decoration: none;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

/* ロゴ：暁の音階マーク */
.logo-mark {
    display: block;
    width: 45px;
    height: auto;
    flex: none;
}

@media (max-width: 480px) {
    a.logo {
        font-size: 1.15rem;
        gap: 0.45rem;
    }

    .logo-mark {
        width: 36px;
    }
}

.nav .container {
    position: relative;
}

.header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav .container {
        flex-direction: row;
        gap: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 1rem);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(10, 13, 28, 0.98);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .nav-menu.is-open {
        max-height: 80vh;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 0.95rem 1rem;
        border-top: 1px solid var(--line);
    }

    .nav-menu li:first-child a {
        border-top: none;
    }
}

/* ========== 探索ハブ（トップ下部の導線） ========== */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.hub-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.hub-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.hub-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0.9rem 0 0.5rem;
}

.hub-card p {
    color: var(--text-light);
    line-height: 1.7;
    flex: 1;
    margin: 0;
}

.hub-arrow {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 1.25rem;
}

/* ========== 楽曲ページ（データ駆動） ========== */
.page-lead {
    max-width: 760px;
    margin: -1.5rem auto 3rem;
    text-align: center;
    color: var(--text-light);
    line-height: 1.9;
}

.song-loading {
    text-align: center;
    color: var(--ink-faint);
    padding: 1rem 0;
}

.song-player {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.song-player-cover {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dawn-grad);
    font-size: 3rem;
    text-decoration: none;
}

.song-player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-player-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.song-player-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.song-player .youtube-link {
    align-self: flex-start;
}

@media (max-width: 600px) {
    .song-player {
        flex-direction: column;
        align-items: stretch;
    }

    .song-player-cover {
        width: 100%;
        height: 220px;
    }
}

/* ========== 細部のデザイン詰め ========== */
/* スティッキーヘッダー分、アンカー位置をオフセット */
html {
    scroll-padding-top: 80px;
}

/* セクション見出しにアクセントの下線 */
.section-title {
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 1rem auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--coral));
}

/* ナビ：ホバー/現在地に下線インジケータ */
.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    /* モバイルのドロップダウンでは下線インジケータは非表示 */
    .nav-menu a::after {
        display: none;
    }
}

/* ヒーローのフェードイン */
@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: heroIn 1s ease both;
    }

    @keyframes heroIn {
        from { opacity: 0; transform: translateY(16px); }
        to   { opacity: 1; transform: none; }
    }
}

.hero-subtitle {
    letter-spacing: 0.12em;
    font-weight: 600;
}

/* ヒーロー内の主要導線（ファーストビューで見せる） */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.2rem;
}

.cta-button.cta-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
    border: 1px solid var(--gold);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.cta-button.cta-secondary:hover {
    background: rgba(232, 192, 122, 0.16);
    box-shadow: 0 10px 30px rgba(232, 192, 122, 0.2);
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .cta-button {
        text-align: center;
    }
}

/* ハブカード：矢印のマイクロインタラクション */
.hub-arrow {
    transition: transform 0.25s ease;
}

.hub-card:hover .hub-arrow {
    transform: translateX(4px);
}

/* 試聴カバーのホバーズーム */
.song-player-cover img {
    transition: transform 0.4s ease;
}

.song-player-cover:hover img {
    transform: scale(1.05);
}

/* 楽曲カードに暁色の左アクセント */
.song-card {
    border-left: 3px solid var(--gold);
}

/* キーボード操作のフォーカス可視化 */
.cta-button:focus-visible,
.youtube-link:focus-visible,
.hub-card:focus-visible,
.nav-menu a:focus-visible {
    outline: 2px solid var(--gold-soft);
    outline-offset: 3px;
}

/* ===== トップ：新曲（固定） ===== */
.featured-single {
    position: relative;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(232, 192, 122, .08), transparent 55%),
        var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.featured-eyebrow {
    text-align: center;
    font-size: .78rem;
    letter-spacing: .3em;
    color: var(--gold);
    margin: 0 0 .4rem;
    opacity: .9;
}

.featured-single-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.featured-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    background: #000;
}

.featured-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.featured-desc {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--ink-soft);
    margin: 0 0 1.5rem;
}

.featured-desc strong {
    color: var(--gold);
}

.featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

@media (max-width: 760px) {
    .featured-single-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .featured-actions {
        justify-content: center;
    }
    .featured-desc {
        text-align: center;
    }
}

/* ===== トップ：最新MV 2本（PCは左→右、スマホは上下） ===== */
.latest-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.latest-video-item {
    min-width: 0;
}

.latest-video-title {
    margin: .9rem 0 0;
    font-size: 1.1rem;
    text-align: center;
    color: var(--ink);
}

.latest-video-members {
    margin: .2rem 0 0;
    font-size: .85rem;
    text-align: center;
    color: var(--ink-soft);
}

.latest-video-actions {
    justify-content: center;
    margin-top: 2rem;
}

@media (max-width: 760px) {
    .latest-video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== メンバー一覧：リンクカード ===== */
.members-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.member-link-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.member-link-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 18px 40px -14px var(--accent), var(--shadow);
}

.member-link-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.member-link-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.member-link-card:hover .member-link-photo img {
    transform: scale(1.05);
}

.member-link-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(10, 13, 28, .6));
}

.member-link-emoji {
    position: absolute;
    top: .55rem;
    left: .6rem;
    font-size: 1.4rem;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6));
}

.member-link-body {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem 1.1rem 1.2rem;
    border-top: 3px solid var(--accent);
}

.member-link-name {
    font-size: 1.15rem;
    margin: 0;
    color: var(--ink);
}

.member-link-english {
    font-size: .72rem;
    letter-spacing: .12em;
    font-style: italic;
    color: var(--ink-faint);
    margin: 0;
}

.member-link-emo {
    align-self: flex-start;
    margin-top: .5rem;
    font-size: .78rem;
    padding: .18rem .7rem .18rem .55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    color: var(--ink-soft);
}

.member-link-emo::before {
    content: "";
    display: inline-block;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    margin-right: .4rem;
    vertical-align: baseline;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.member-link-more {
    margin-top: .7rem;
    font-size: .8rem;
    color: var(--gold);
}

/* ===== メンバー詳細ページ ===== */
.member-page {
    --accent: var(--indigo);
}

.member-hero {
    position: relative;
    padding: 6rem 0 2.5rem;
    overflow: hidden;
}

.member-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--accent), transparent 62%);
    opacity: .38;
    pointer-events: none;
}

.member-back {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: .9rem;
    color: var(--ink-soft);
    text-decoration: none;
}

.member-back:hover {
    color: var(--gold);
}

.member-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 440px) 1fr;
    gap: 3rem;
    align-items: center;
}

.member-hero-photos {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.member-hero-photos img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* 4枚を1枚ずつクロスフェード（16秒周期 = 1枚あたり4秒） */
    animation: memberHeroFade 16s infinite;
}

.member-hero-photos img:nth-child(2) { animation-delay: 4s; }
.member-hero-photos img:nth-child(3) { animation-delay: 8s; }
.member-hero-photos img:nth-child(4) { animation-delay: 12s; }

@keyframes memberHeroFade {
    0%   { opacity: 0; }
    3%   { opacity: 1; }
    22%  { opacity: 1; }
    25%  { opacity: 0; }
    100% { opacity: 0; }
}

.member-hero-text .member-emoji {
    font-size: 2rem;
}

.member-romaji {
    margin: .5rem 0 .1rem;
    font-size: .85rem;
    font-style: italic;
    letter-spacing: .2em;
    color: var(--gold-soft);
}

.member-title {
    margin: 0;
    font-size: 2.6rem;
    color: var(--ink);
}

.member-tagline {
    margin: .3rem 0 1.2rem;
    letter-spacing: .05em;
    color: var(--ink-soft);
}

.member-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.6rem;
}

.badge {
    font-size: .8rem;
    padding: .3rem .85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .05);
    color: var(--ink-soft);
}

.badge-accent {
    color: var(--ink);
    border-color: var(--accent);
}

.badge-accent::before {
    content: "";
    display: inline-block;
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    margin-right: .45rem;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.member-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.member-panel {
    position: relative;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .04), transparent 55%),
        var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 2rem;
    overflow: hidden;
}

.member-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.member-panel-daily::before {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.panel-eyebrow {
    margin: 0 0 .35rem;
    font-size: .7rem;
    letter-spacing: .3em;
    color: var(--gold);
    opacity: .85;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 1.3rem;
    font-size: 1.3rem;
    color: var(--ink);
}

.panel-title::before {
    content: "";
    width: .3rem;
    height: 1.15em;
    border-radius: 3px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.panel-subhead {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 1.6rem 0 .8rem;
    font-size: .95rem;
    color: var(--gold-soft);
}

.panel-subhead::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--line), transparent);
}

.axis-definition {
    margin: 0 0 1.3rem;
    padding-left: .9rem;
    border-left: 3px solid var(--accent);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink);
}

.axis-attrs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
}

.axis-attr {
    padding: .75rem .5rem;
    text-align: center;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.axis-attr-label {
    display: block;
    font-size: .7rem;
    color: var(--ink-faint);
}

.axis-attr-value {
    display: block;
    margin-top: .25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
}

.role-chips,
.daily-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.role-chip,
.daily-tag {
    font-size: .82rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    color: var(--ink-soft);
}

.axis-note {
    margin: 1rem 0 0;
    padding: .7rem .9rem;
    font-size: .85rem;
    line-height: 1.6;
    color: var(--ink-soft);
    background: var(--bg-alt);
    border-radius: 8px;
}

.daily-gap {
    position: relative;
    margin: 0 0 .5rem;
    padding: 1.1rem 1.2rem 1.1rem 2.6rem;
    line-height: 1.85;
    color: var(--ink);
    background: var(--bg-alt);
    border-radius: 10px;
}

.daily-gap::before {
    content: "“";
    position: absolute;
    top: .1rem;
    left: .7rem;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--accent);
    opacity: .7;
    font-family: Georgia, serif;
}

.daily-list {
    margin: 1rem 0 0;
}

.daily-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 1rem;
    align-items: start;
    padding: .9rem 0;
    border-bottom: 1px solid var(--line);
}

.daily-row:last-child {
    border-bottom: none;
}

.daily-row dt {
    font-size: .85rem;
    font-weight: 600;
    color: var(--gold-soft);
}

.daily-row dd {
    margin: 0;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--ink);
}

.daily-topics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.daily-topics li {
    position: relative;
    padding: .6rem .9rem .6rem 2.1rem;
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: .9rem;
    color: var(--ink-soft);
}

.daily-topics li::before {
    content: "💬";
    position: absolute;
    left: .7rem;
}

.member-gap-note {
    max-width: 960px;
    margin: 1.5rem auto 0;
    padding: 1.2rem 1.6rem;
    text-align: center;
    line-height: 1.8;
    font-size: .95rem;
    color: var(--ink-soft);
    background: var(--surface-warm);
    border: 1px dashed var(--line);
    border-radius: 12px;
}

.member-gap-note strong {
    color: var(--gold);
}

.member-page-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    max-width: 960px;
    margin: 2.5rem auto 0;
}

@media (prefers-reduced-motion: reduce) {
    .member-hero-photos img { animation: none; }
    .member-hero-photos img:first-child { opacity: 1; }
}

@media (max-width: 760px) {
    .member-hero { padding-top: 5rem; }
    .member-hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    /* width:100% は必須。グリッドアイテムに auto マージンを付けると stretch が
       無効になり、子が absolute のみのこのボックスは幅0（＝ボーダー2px）に潰れる */
    .member-hero-photos { width: 100%; max-width: 360px; margin: 0 auto; }
    .member-hero-text { text-align: center; }
    .member-badges { justify-content: center; }
    .member-title { font-size: 2.1rem; }
    .member-panels { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .daily-row { grid-template-columns: 1fr; gap: .25rem; }
    .member-page-nav { flex-direction: column; }
    .member-page-nav .cta-button { text-align: center; }
}

/* ===== サポート／ゲスト（候補生） ===== */
.member-hero-photos--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    background:
        radial-gradient(120% 90% at 50% 20%, rgba(255, 255, 255, .14), transparent 60%),
        linear-gradient(160deg, #5fc9a8, #f0876f);
}

.photo-placeholder-emoji {
    font-size: 3.6rem;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .3));
}

.photo-placeholder-name {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: #0a0d1c;
}

.photo-placeholder-note {
    font-size: .68rem;
    letter-spacing: .28em;
    color: rgba(10, 13, 28, .7);
}

.guest-note {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 2rem auto 0;
    padding: 1.1rem 1.4rem;
    text-align: center;
    line-height: 1.85;
    font-size: .95rem;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px dashed var(--accent);
    border-radius: 12px;
}

.guest-note strong {
    color: var(--accent);
}

.mio-visual {
    max-width: 960px;
    margin: 1.5rem auto 0;
}

.mio-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.mio-color {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    letter-spacing: .05em;
    color: var(--ink-soft);
}

.mio-swatch {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 10px var(--c), inset 0 0 0 1px rgba(255, 255, 255, .35);
}

/* メンバー一覧内：サポートメンバー枠 */
.support-section {
    margin: 3.5rem 0 1rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
    text-align: center;
}

.support-title {
    font-size: 1.5rem;
    color: var(--ink);
    margin: 0 0 .4rem;
    letter-spacing: .04em;
}

.support-lead {
    max-width: 640px;
    margin: 0 auto 1.6rem;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

.support-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.support-grid .member-link-card {
    width: 240px;
    text-align: left;
}

.member-link-photo--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    background: linear-gradient(160deg, #5fc9a8, #f0876f);
}

.member-link-photo--placeholder .member-link-emoji {
    position: static;
    font-size: 2.8rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .3));
}

.member-link-photo--placeholder .placeholder-badge {
    font-size: .6rem;
    letter-spacing: .22em;
    color: rgba(10, 13, 28, .75);
}

/* 候補生ページ：ヒーロー5枚クロスフェード（20秒周期 = 1枚あたり4秒） */
.member-hero-photos--5 img {
    animation: memberHeroFade5 20s infinite;
}
.member-hero-photos--5 img:nth-child(2) { animation-delay: 4s; }
.member-hero-photos--5 img:nth-child(3) { animation-delay: 8s; }
.member-hero-photos--5 img:nth-child(4) { animation-delay: 12s; }
.member-hero-photos--5 img:nth-child(5) { animation-delay: 16s; }

@keyframes memberHeroFade5 {
    0%    { opacity: 0; }
    2.4%  { opacity: 1; }
    17.6% { opacity: 1; }
    20%   { opacity: 0; }
    100%  { opacity: 0; }
}

/* ===== トップ：候補生加入告知（若菜みお・縦型ショート） ===== */
.mio-join {
    position: relative;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(95, 201, 168, .10), transparent 55%),
        var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.mio-join .featured-eyebrow {
    color: var(--accent);
}

.mio-join-inner {
    display: grid;
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 900px;
    margin: 2rem auto 0;
}

.short-video {
    position: relative;
    aspect-ratio: 9 / 16;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    background: #000;
}

.short-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 760px) {
    .mio-join-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .mio-join-meta .featured-desc {
        text-align: center;
    }
    .mio-join-meta .featured-actions {
        justify-content: center;
    }
}

/* ===== 楽曲ページ：メディア埋め込み ===== */
.song-embed {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
}

/* YouTube：16:9 レスポンシブ */
.song-embed-yt {
    position: relative;
    aspect-ratio: 16 / 9;
}
.song-embed-yt iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* mitchyartist 共有ページ：縦型プレーヤー */
.song-embed-audio {
    max-width: 520px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
}
.song-embed-audio iframe {
    display: block;
    width: 100%;
    height: 620px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

/* ===== メンバーページ：参加楽曲 ===== */
.member-songs-section {
    max-width: 960px;
    margin: 2.5rem auto 0;
}
.member-songs-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 1.3rem;
    font-size: 1.3rem;
    color: var(--ink);
}
.member-songs-title::before {
    content: "";
    width: .3rem;
    height: 1.15em;
    border-radius: 3px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

/* ===== aspect-ratio 非対応ブラウザ（古いiOS Safari等）向けフォールバック =====
   子要素が position:absolute のみのコンテナは、aspect-ratio が効かないと
   高さ0に潰れて画像が見えなくなるため、padding-top で比率を確保する。 */
@supports not (aspect-ratio: 3 / 4) {
    .member-hero-photos::before,
    .member-link-photo::before,
    .featured-video::before,
    .short-video::before,
    .song-embed-yt::before {
        content: "";
        display: block;
    }
    .member-hero-photos::before { padding-top: 133.333%; }  /* 3:4 */
    .member-link-photo::before  { padding-top: 133.333%; }  /* 3:4 */
    .featured-video::before     { padding-top: 56.25%; }    /* 16:9 */
    .song-embed-yt::before      { padding-top: 56.25%; }    /* 16:9 */
    .short-video::before        { padding-top: 177.78%; }   /* 9:16 */
    /* 一覧カードの画像は通常フローなので絶対配置に切り替える */
    .member-link-photo img {
        position: absolute;
        inset: 0;
    }
}

/* ▼▼▼ 一時掲載NEWS（陽葉ひなた加入 / 掲載開始 2026-08-16） ▼▼▼
   撤去時：このブロック（▼▼▼〜▲▲▲）を丸ごと削除し、
   index.html の <section id="news"> ブロックも合わせて削除してください。 */
.news-section {
    padding: 2.5rem 0 4.5rem;
}

.news-card {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 1.4rem;
    align-items: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 1.3rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.news-thumb {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.news-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .5rem;
    font-size: .72rem;
    letter-spacing: .16em;
    color: var(--ink-faint);
}

.news-tag {
    padding: .2rem .6rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 700;
    letter-spacing: .18em;
}

.news-title {
    margin: 0 0 .5rem;
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: .02em;
    color: var(--ink);
}

.news-text {
    margin: 0 0 1rem;
    font-size: .92rem;
    line-height: 1.8;
    color: var(--ink-soft);
}

.news-text strong {
    color: var(--accent);
}

.news-card .cta-button {
    font-size: .85rem;
    padding: .5rem 1.1rem;
}

@media (max-width: 600px) {
    .news-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1.1rem;
        padding: 1.2rem;
    }
    .news-thumb { width: 150px; }
    .news-meta { justify-content: center; }
}

@supports not (aspect-ratio: 3 / 4) {
    .news-thumb::before { content: ""; display: block; padding-top: 133.333%; }
}
/* ▲▲▲ 一時掲載NEWS ここまで ▲▲▲ */
