:root {
  --bg: #f7f4ef;
  --bg-alt: #efe9e0;
  --text: #3a3631;
  --muted: #8a8279;
  --accent: #7d8b74;
  --accent-dark: #5f6c57;
  --line: #ddd5c9;
  --card: #fffdf9;
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.9;
  letter-spacing: 0.03em;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }

/* ヘッダー */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 60px; gap: 16px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0.15em; text-decoration: none; color: var(--text); }
.site-header nav { display: flex; gap: 20px; font-size: 0.8rem; letter-spacing: 0.15em; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover { color: var(--text); }

/* ヒーロー */
.hero { padding: 96px 0 80px; text-align: center; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.4em; color: var(--accent); margin: 0; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: 0.15em; margin: 8px 0 12px; }
.tagline { color: var(--muted); margin: 0; }

/* セクション */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-family: var(--serif); font-weight: 400; font-size: 1rem; letter-spacing: 0.3em; color: var(--accent-dark); margin: 0 0 32px; text-align: center; }
.meta { color: var(--muted); font-size: 0.85rem; margin: 0 0 8px; }
.badge { display: inline-block; background: var(--accent); color: #fff; font-size: 0.7rem; letter-spacing: 0.2em; padding: 2px 10px; border-radius: 2px; }
.button { display: inline-block; background: var(--accent-dark); color: #fff; text-decoration: none; padding: 12px 32px; border-radius: 2px; letter-spacing: 0.1em; }
.button:hover { background: var(--accent); }

/* ジャケット */
.cover { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-blank { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-family: var(--serif); color: var(--muted); background: linear-gradient(135deg, #e7e0d4, #d9dfd3); }

/* NEW RELEASE */
.release-feature, .release-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; text-decoration: none; color: inherit; }
.release-feature h3, .release-detail h1 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 12px 0 4px; }
.more { color: var(--accent-dark); font-size: 0.85rem; border-bottom: 1px solid currentColor; }
.release-grid, .note-grid, .video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; margin-top: 48px; }
.release-card, .note-card, .video-card { text-decoration: none; color: inherit; }
.card-title { margin: 8px 0 0; font-size: 0.95rem; line-height: 1.6; }
.note-card { background: var(--card); padding: 12px; border: 1px solid var(--line); }
.note-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 8px; }
.video-card p { margin: 8px 0 0; font-size: 0.85rem; line-height: 1.6; }

/* YouTube */
.video-main { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* LAB LOG */
.log { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; }
.log li { display: grid; grid-template-columns: 96px 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.log-date { color: var(--muted); font-size: 0.85rem; }
.log-kind { font-size: 0.7rem; letter-spacing: 0.15em; color: var(--accent-dark); }
.kind-new-release { color: #a2785b; }
.log a { text-decoration: none; color: var(--text); }
.log a:hover { color: var(--accent-dark); }

/* 詳細ページ */
.tracks { max-width: 760px; margin: 0 auto 48px; padding-left: 1.5em; }
.tracks li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.prose { max-width: 760px; margin-bottom: 48px; }
.release-detail { margin-bottom: 64px; }

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

/* フッター */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 0.8rem; color: var(--muted); text-align: center; }
.site-footer p { margin: 4px 0; }

@media (max-width: 720px) {
  .site-header nav { gap: 14px; font-size: 0.7rem; letter-spacing: 0.1em; }
  .hero h1 { font-size: 1.6rem; letter-spacing: 0.08em; }
  .release-feature, .release-detail { grid-template-columns: 1fr; gap: 24px; }
  .log li { grid-template-columns: 1fr; gap: 0; }
  .section { padding: 56px 0; }
  .hero { padding: 72px 0 56px; }
}

/* シェアボタン */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.share-label { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--muted); margin-right: 4px; }
.share a, .share button { font: inherit; font-size: 0.8rem; color: var(--accent-dark); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--accent); }

/* 会員ページ */
.member { max-width: 640px; }
.member .small { color: var(--muted); font-size: 0.8rem; }
.notice { padding: 10px 14px; border-radius: 2px; background: var(--bg-alt); }
.notice.error { background: #f3e1dc; }
.member-message { background: var(--card); border: 1px solid var(--line); padding: 24px; margin: 24px 0; }
.text-button { background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: 0.85rem; cursor: pointer; margin-top: 24px; }
.sets-title { font-family: var(--serif); font-weight: 400; font-size: 0.9rem; letter-spacing: 0.3em; color: var(--accent-dark); text-align: center; margin: 40px 0 16px; }
.sets { list-style: none; padding: 0; margin: 0 0 24px; }
.sets li + li { margin-top: 12px; }
.sets a { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); padding: 12px; text-decoration: none; color: inherit; }
.sets a:hover { border-color: var(--accent); }
.set-cover { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; background: var(--bg-alt); }
.set-cover img, .set-cover .cover-blank { width: 100%; height: 100%; object-fit: cover; display: block; }
.set-body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.6; }
.set-body strong { font-family: var(--serif); font-weight: 400; }
.set-body .meta { margin: 0; }
.set-summary { font-size: 0.8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-play { flex: 0 0 auto; background: var(--accent-dark); color: #fff; font-size: 0.8rem; letter-spacing: 0.15em; padding: 8px 16px; border-radius: 2px; }
