@charset "utf-8";

/* サイト全体で共通の見た目。今のトップページ（2009年ごろの版）の雰囲気を引き継ぐ。
   - 黒地に、暗い写真と、英字の見出し・日本語のリンク・» の矢印を 1 行にしたメニュー（行の間は点線）
   - 見出しは「Live Info & What's New」と同じ木目の帯
   トップページは、この後に読み込む index.css で並べ方を変える。下層のページはこのファイルだけで表示する */

:root {
  --orange: #f08a24;
  --orange-light: #ffb45c;
  --brown: #c2581c;
  --text: #e8e2d6;
  --muted: #a89f90;
  --line: rgba(240, 138, 36, 0.35);
  --dotted: rgba(200, 110, 40, 0.7);
  /* サイトの幅。今のサイトと同じ 800px にし、写真・木目の帯・本文・連絡先の端をそろえる */
  --site-width: 800px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: var(--orange-light);
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- メニューの行（今のトップページの Roots・Live Schedule などの行） ---------- */
.menu-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-rows li {
  display: grid;
  grid-template-columns: 10.5em minmax(0, 1fr);
  align-items: baseline;
  column-gap: 16px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--dotted);
}

/* 英字の見出し。今の画像の見出しと同じく、明朝の細い字を単色のオレンジ（#ff6600）で */
.menu-en {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.2;
  white-space: nowrap;
  color: #ff6600;
}

.menu-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 20px;
}

.menu-links a {
  color: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  text-shadow: 0 1px 4px #000;
}

.menu-links a::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 11px;
  margin-left: 4px;
  background: url(../img/top/menu_arrow.gif) no-repeat center / contain;
}

.menu-links a:hover {
  color: var(--orange-light);
}

.menu-links img {
  margin-right: 6px;
  vertical-align: -3px;
}

/* ---------- 下層のページの上の帯（写真・名前・メニューの行を低くまとめる） ---------- */
.page-header {
  position: relative;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 20px 24px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.page-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 524 / 349;
  max-width: 100%;
  background:
    linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.45) 100%),
    url(../img/top/head_bg.jpg) no-repeat center / cover;
  pointer-events: none;
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.site-catch {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.site-name {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.2;
  letter-spacing: 0.15em;
}

.site-name a {
  color: var(--orange-light);
  text-decoration: none;
}

.page-header .menu-rows {
  justify-self: end;
  width: 100%;
}

.page-header .menu-rows {
  max-width: 520px;
  justify-self: start;
}

.page-header .menu-rows li {
  grid-template-columns: 8.5em minmax(0, 1fr);
  padding: 1px 0;
}

.page-header .menu-en {
  font-size: 1.15rem;
}

.page-header .menu-links a {
  font-size: 0.8rem;
}

/* ---------- 本文 ---------- */
.main {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 28px 24px;
}

/* 見出しは、今のサイトの「Live Info & What's New」と同じ木目の帯 */
.section-title {
  margin: 0 0 20px;
  padding: 8px 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1rem;
  font-weight: normal;
  background: url(../img/top/side_bg2.jpg) no-repeat center / 100% auto;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 170, 0.3), inset 0 -10px 14px rgba(0, 0, 0, 0.25);
}

.section-en {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
  text-shadow: 1px 1px 0 #3a1500, 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.section-en + span {
  font-size: 0.95rem;
  color: #fff3e0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* ---------- 出演予定とお知らせ（js/microcms.js が描く） ---------- */
.mc-schedule-item,
.mc-news-item {
  padding: 18px 0;
  border-bottom: 1px dotted var(--line);
}

.mc-date {
  display: block;
  color: var(--orange);
  font-weight: bold;
}

.mc-venue,
.mc-title {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
}

.mc-details {
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  font-size: 0.95rem;
}

.mc-details dt {
  color: var(--muted);
}

.mc-details dd {
  margin: 0;
}

.mc-detail,
.mc-body {
  margin: 6px 0 0;
  font-size: 0.95rem;
  white-space: pre-line;
}

.mc-body {
  white-space: normal;
}

.mc-body p {
  margin: 0 0 0.5em;
}

.mc-images {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mc-images img {
  width: 160px;
  border: 1px solid var(--line);
}

/* 出演予定のフライヤーは、右に決まった大きさの小さな画像で出す（押すと全体が開く）。
   フライヤーの有無や縦横の比で、一覧の行の高さが大きく変わらないようにする。
   裏表など 2 枚以上あるときは、本文の幅を変えずに縦に並べる */
.mc-schedule-item .mc-images {
  float: right;
  margin: 0 0 8px 16px;
  flex-direction: column;
}

.mc-schedule-item .mc-images img {
  display: block;
  width: 160px;
  height: 226px;
  object-fit: cover;
  object-position: center top;
}

.mc-schedule-item {
  display: flow-root;
}

.mc-empty,
.mc-error {
  color: var(--muted);
}

.mc-loading {
  min-height: 4em;
}

/* 年のボタン（これまでの出演・お知らせ一覧）。多いときは横にスクロールする */
.mc-years {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.mc-years button {
  flex: none;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.mc-years button[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--orange);
  color: #000;
}

.mc-year-title {
  margin: 28px 0 4px;
  font-size: 1.4rem;
  color: var(--orange-light);
}

/* 出演予定とお知らせの下のリンク。トップには近い分だけを出し、残りと過去の分は別のページで見せる */
.more-links {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.more-links a::after {
  content: " »";
  color: var(--orange);
}

/* ---------- プロフィール ---------- */
.profile-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.profile-text p {
  margin: 0 0 1.2em;
}

.profile-text h2 {
  margin: 1.6em 0 0.4em;
  font-size: 1.05rem;
  color: var(--orange-light);
}

.profile-text ul {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

.profile-photo {
  margin: 0;
}

.profile-photo img {
  display: block;
  border: 1px solid var(--line);
}

/* 今のプロフィールのページと同じく、黒い太い枠の写真を 3 枚並べる */
.profile-gallery {
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-gallery img {
  display: block;
  width: 100%;
  border: 5px solid #000;
  outline: 1px solid var(--line);
}

.profile-band {
  margin: 32px 0 0;
}

.profile-band img {
  display: block;
  margin: 0 auto;
  border: 1px solid var(--line);
}

figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- CD アルバム紹介 ---------- */
.album {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px dotted var(--line);
}

.album:first-of-type {
  padding-top: 8px;
}

.album-jacket {
  margin: 0;
}

.album-jacket img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
}

.album-jacket a {
  display: block;
  cursor: zoom-in;
}

/* ジャケットとフライヤーの拡大表示（js/image-viewer.js） */
.image-viewer {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 94vw;
  max-height: 94vh;
  overflow: visible;
}

.image-viewer::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.image-viewer img {
  display: block;
  max-width: 94vw;
  max-height: 94vh;
  width: auto;
  height: auto;
}

/* 画像が届くまで、前の画像の代わりに画面の中央に出す */
.image-viewer-loading {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0;
  color: #ddd;
  text-align: center;
  pointer-events: none;
}

.image-viewer img.image-viewer-hidden {
  visibility: hidden;
}

.image-viewer-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.album-number {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.album-title {
  margin: 0 0 4px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.3;
  color: #fff;
}

.album-date {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: bold;
}

.album-tracks {
  margin: 0;
  padding-left: 2em;
  columns: 2;
  column-gap: 32px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 0.95rem;
}

.album-tracks li {
  break-inside: avoid;
}

.album-tracks a::before {
  content: "♪ ";
}

/* 試聴の曲名を押すと、その下に再生バーが出る（js/listen.js） */
.album-tracks audio {
  display: block;
  width: 100%;
  max-width: 300px;
  height: 32px;
  margin: 4px 0 8px;
}

.album-note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Jamboree The Final（フライヤーの表と裏を、本文の幅いっぱいに縦に並べる） ---------- */
.event-lead {
  margin: 0 0 16px;
  color: var(--orange-light);
}

.event-flyers {
  display: grid;
  gap: 24px;
}

.event-flyers img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

/* ---------- 連絡先 ---------- */
.footer {
  max-width: var(--site-width);
  margin: 24px auto 0;
  padding: 24px;
  border-top: 1px dotted var(--line);
  font-size: 0.9rem;
}

.contact {
  margin: 0;
}

.contact dt {
  color: var(--orange-light);
}

.contact dd {
  margin: 0;
}

.copyright {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- タブレットの幅 ---------- */
@media (max-width: 860px) {
  .profile-body {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
}

/* ---------- スマートフォンの幅 ---------- */
@media (max-width: 600px) {
  .page-header,
  .main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-name {
    font-size: 1.8rem;
  }

  .menu-rows li,
  .page-header .menu-rows li {
    grid-template-columns: 6.8em minmax(0, 1fr);
    column-gap: 10px;
  }

  .menu-en,
  .page-header .menu-en {
    font-size: 1.05rem;
  }

  .profile-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-photo {
    max-width: 260px;
    margin: 0 auto;
  }

  .album {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
  }

  .album-tracks {
    columns: 1;
    padding-left: 1.6em;
  }

  /* 本文の列が狭くなりすぎないよう、フライヤーを PC より小さくする */
  .mc-schedule-item .mc-images img {
    width: 112px;
    height: 158px;
  }
}

/* ---------- トップページで共通の部品 ---------- */
.section + .section {
  margin-top: 56px;
}
