:root {
  --bg: #ffffff;
  --bg-2: #f2f2f2;
  --ink: #212121;
  --muted: #6b6f73;
  --line: rgba(0, 0, 0, 0.14);
  --accent: #212121;
  --accent-ink: #ffffff;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --header-h: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 20px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif); font-weight: 700; font-size: 18px;
  letter-spacing: .08em; text-decoration: none;
}
.gnav { display: none; }
.gnav a {
  font-size: 13px; letter-spacing: .14em; text-decoration: none; color: var(--ink);
  opacity: .85; padding: 6px 0; border-bottom: 1px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.gnav a:hover, .gnav a:focus-visible { opacity: 1; border-color: var(--accent); }

.nav-toggle {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative; margin-right: -10px;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .25s, top .25s;
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(35deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-35deg); }

.gnav.open {
  display: flex; flex-direction: column; gap: 6px;
  position: fixed; top: var(--header-h); left: 0; right: 0;
  padding: 18px 24px 26px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
}
.gnav.open a { font-size: 15px; padding: 10px 0; }

/* ---------- hero ---------- */
/* Saucy Dog などを参考に「写真(全体表示)+タイトル」だけのシンプルなトップにする。
   スマホ: 写真の下にタイトル / PC: 左にタイトル・右に写真 */
.hero { display: flex; flex-direction: column; padding-top: var(--header-h); background: #1f1f1f; }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-text { padding: 36px 24px 44px; display: flex; justify-content: center; align-items: center; }
.hero-title { margin: 0; line-height: 0; }
.hero-logo { width: min(220px, 56vw); height: auto; }


.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; width: 24px; height: 40px; margin-left: -12px; z-index: 1;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 0; width: 1px; height: 36px; background: var(--ink); opacity: .5;
  transform-origin: top; animation: hint 2.4s ease-in-out infinite;
}
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- sections ---------- */
.section { padding: 88px 24px; background: var(--bg); }
.section:nth-of-type(even) { background: var(--bg-2); }
.wrap { max-width: 1100px; margin: 0 auto; }
.section-title { margin: 0 0 40px; font-weight: 500; font-size: 13px; letter-spacing: .34em; }
.section-title span { display: inline-block; padding-bottom: 10px; border-bottom: 1px solid var(--accent); }

/* news */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.news-date { font-size: 13px; color: var(--muted); letter-spacing: .08em; }

/* bio */
.bio-name { margin: 0 0 14px; font-family: var(--serif); font-weight: 700; font-size: 24px; }
.bio-name small { display: block; margin-top: 2px; font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.bio-text { margin: 0; }

/* works */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
.work { display: grid; gap: 14px; align-content: start; }
.cover { width: 100%; aspect-ratio: 1 / 1; background: #eceff1; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover.noimg {
  display: grid; place-items: center; padding: 16px; text-align: center;
  background: linear-gradient(150deg, #eceff1, #cfd8dc);
}
.cover-fallback { font-family: var(--serif); font-size: 18px; letter-spacing: .1em; }
.work-type { margin: 0; font-size: 13px; color: var(--muted); }
.work-title { margin: 2px 0 6px; font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.work-date { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.tracks { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: t; }
.tracks li { counter-increment: t; }
.tracks li::before { content: counter(t, decimal-leading-zero) ". "; color: var(--muted); }

/* button */
.btn {
  display: inline-block; padding: 12px 26px; text-decoration: none; font-size: 14px; letter-spacing: .1em;
  color: var(--accent-ink); background: var(--accent); border: 1px solid var(--accent);
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: transparent; color: var(--accent); }
.btn-small { padding: 9px 20px; font-size: 13px; }
.contact-text { margin: 0 0 24px; }

/* footer */
.site-footer { padding: 36px 24px 48px; text-align: center; color: var(--muted); font-size: 12px; letter-spacing: .1em; background: var(--bg); border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }

/* ---------- desktop ---------- */
@media (min-width: 768px) {
  .site-header { padding: 0 40px; }
  .nav-toggle { display: none; }
  .gnav { display: flex; gap: 32px; }
  .hero { flex-direction: row-reverse; align-items: center; }
  .hero-img { flex: 0 0 58%; width: 58%; }
  .hero-text { flex: 1 1 auto; padding: 0 40px; }
  .hero-logo { width: clamp(240px, 26vw, 460px); }
  .section { padding: 120px 40px; }
  .news-item { grid-template-columns: 140px 1fr; gap: 24px; }
  .works { grid-template-columns: repeat(4, 1fr); gap: 56px 28px; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint span { animation: none; transform: none; }
}

/* ---------- SNS ---------- */
.sns { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sns a {
  text-decoration: none;
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 22px;
  border: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  transition: background .2s, color .2s, border-color .2s;
}
.sns a:hover, .sns a:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.site-footer .sns { justify-content: center; margin: 0 0 18px; }

/* ---------- additions for band site ---------- */
.news-text { overflow-wrap: anywhere; }
.text-link { color: var(--accent); text-underline-offset: 3px; }
.text-link:hover { text-decoration: none; }
.notice { margin: -16px 0 40px; color: var(--muted); font-size: 14px; }
.bio-members { margin: 0 0 14px; font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.8; }
.work-type { white-space: normal; }
.work-more { margin: 0 0 18px; }
.work-more summary { cursor: pointer; font-size: 14px; color: var(--accent); letter-spacing: .06em; padding: 2px 0; }
.work-more[open] summary { margin-bottom: 10px; }
.work-note { margin: 0 0 12px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.work-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--accent); color: var(--accent-ink); }
.tracks li { overflow-wrap: anywhere; }
.bio-text, .notice, .news-text { word-break: auto-phrase; text-wrap: pretty; }

/* ---------- 元サイトに合わせた配色 ---------- */
.work-type, .work-date { font-size: 12px; }
.work-btns .btn-small { padding: 8px 14px; font-size: 12px; letter-spacing: .04em; }
.work-more summary, .work-note, .tracks { font-size: 13px; }
.text-link { color: var(--ink); }
@media (min-width: 768px) { .work-title { font-size: 17px; } }

/* ---------- v3: ロゴは元の配色(白文字 #1f1f1f)/ 区切り / ボタン高さ ---------- */
.section { border-top: 1px solid var(--line); }
.section:nth-of-type(even) { background: var(--bg-2); }
.site-footer { background: #fff; }
.news-item { border-bottom-color: rgba(0, 0, 0, 0.18); }

/* DISCOGRAPHY: 各カードの行(ジャケット/種別/タイトル/日付/詳細/ボタン)を揃える */
.works { row-gap: 0; }
.work { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; margin-bottom: 48px; }
.work-info { display: contents; }
.work .cover { grid-row: 1; margin-bottom: 14px; }
.work .work-type { grid-row: 2; }
.work .work-title { grid-row: 3; }
.work .work-date { grid-row: 4; margin-bottom: 10px; }
.work .work-more { grid-row: 5; margin-bottom: 14px; }
.work .work-btns { grid-row: 6; align-self: start; flex-direction: column; flex-wrap: nowrap; gap: 8px; }
.work-btns .btn-small {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 40px; padding: 0 10px; font-size: 12px; line-height: 1.2; text-align: center;
}

/* 販売情報: 「・」の下の行などを1段下げる */
.note-line { display: block; }
.note-line.indent { padding-left: 1em; }

/* MEDIA タグ */
#media-list .news-item { grid-template-columns: 1fr; gap: 6px; align-items: start; }
.media-tag { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1; padding: 5px 9px; border-radius: 3px; background: #212121; color: #fff; }
@media (min-width: 768px) {
  #media-list .news-item { grid-template-columns: 140px 96px 1fr; gap: 24px; align-items: baseline; }
  .media-tag { justify-self: start; }
}


/* 注意書き: 1行目の「※」を左に出し、2行目以降を1文字分下げる(折り返しも同じ位置) */
.notice-line { display: block; padding-left: 1em; }
.notice-line.first { text-indent: -1em; }


/* スマホ: ロゴを写真の上に配置。ロゴの高さ=写真の縦幅(横幅の75%)の約半分 */
@media (max-width: 767px) {
  .hero-text { order: -1; padding: 28px 24px; }
  .hero-logo { width: 37.5vw; height: auto; }
}

/* ---------- 文字サイズ(3サイト共通) ---------- */
@media (max-width: 767px) {
  /* 本文全般: 12px / 名前・メンバー表記・年表の年(・PCメニュー): 13px */
  body { font-size: 12px; }
  .notice, .bio-events, .live-acts, .work-note, .work-more summary, .tracks, .news-date, .work-type, .work-date, .btn, .btn-small, .work-btns .btn-small, .live-info, .contact-text, .cover-fallback, .live-archive summary { font-size: 12px; }
  .bio-name small, .bio-name, .bio-members, .bio-year-title { font-size: 13px; }
  /* 見出し(NEWS・BIOGRAPHY等)・作品タイトル・ライブタイトル: 14px */
  .section-title, .work-title, .live-title { font-size: 14px; }
  /* 写真クレジット・フッター・SNSボタン: 12px */
  .photo-credit, .site-footer, .sns a { font-size: 12px; }
  /* MEDIAのタグ: 11px */
  .media-tag { font-size: 11px; }
}
@media (min-width: 768px) {
  /* 本文全般: 12px / 名前・メンバー表記・年表の年(・PCメニュー): 13px */
  body { font-size: 12px; }
  .notice, .bio-events, .live-acts, .work-note, .work-more summary, .tracks, .news-date, .work-type, .work-date, .btn, .btn-small, .work-btns .btn-small, .live-info, .contact-text, .cover-fallback, .live-archive summary { font-size: 12px; }
  .bio-name small, .bio-name, .bio-members, .bio-year-title, .gnav a { font-size: 13px; }
  /* 見出し(NEWS・BIOGRAPHY等)・作品タイトル・ライブタイトル: 16px */
  .section-title, .work-title, .live-title { font-size: 16px; }
  /* 写真クレジット・フッター・SNSボタン: 12px */
  .photo-credit, .site-footer, .sns a { font-size: 12px; }
  /* MEDIAのタグ: 11px */
  .media-tag { font-size: 11px; }
}

/* スマホ: 行の途中で早く折り返さないよう、text-wrap: pretty を解除(文節での折り返しは維持) */
@media (max-width: 767px) {
  .bio-text, .notice, .news-text, .bio-events dd { text-wrap: wrap; }
}

/* iPhone Safariの文字サイズ自動調整(文字が勝手に大きくなる)を無効化。必ずファイル末尾に置く */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* スマホ: NEWSの文中の強制改行は無効にして、画面幅いっぱいに流し込む(改行が細切れになるのを防ぐ) */
@media (max-width: 767px) {
  .news-text br, .bio-text br { display: none; }
}

/* 配信停止のお知らせ: スマホ・PCとも11px */
.notice, .notice-line { font-size: 11px; }
