:root {
  --ivory: #f6f1e7;
  --ivory-deep: #efe6d4;
  --ink: #2b2620;
  --navy: #223142;
  --navy-deep: #17222e;
  --gold: #b3893f;
  --gold-light: #d9b872;
  --line: rgba(43, 38, 32, 0.12);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 34, 46, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .brand-jp, .np-title {
  font-family: "Shippori Mincho", serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* demo banner */
.demo-banner {
  background: var(--navy-deep);
  color: var(--gold-light);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 7px 12px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { text-decoration: none; line-height: 1.2; }
.brand-jp { display: block; font-size: 18px; font-weight: 700; color: var(--navy-deep); }
.brand-sub { display: block; font-size: 11px; letter-spacing: 0.08em; color: var(--gold); }
.site-nav { display: flex; gap: 28px; }
.site-nav a { font-size: 14px; text-decoration: none; color: var(--ink); opacity: 0.8; }
.site-nav a:hover { opacity: 1; color: var(--gold); }

/* hero */
.hero { position: relative; color: #fff; min-height: 78vh; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,34,46,0.35) 0%, rgba(23,34,46,0.55) 55%, rgba(23,34,46,0.92) 100%);
}
.hero-content { position: relative; padding-bottom: 64px; padding-top: 120px; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; color: var(--gold-light); margin: 0 0 14px;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(28px, 5vw, 46px); margin: 0 0 18px; font-weight: 700; }
.hero-lead { max-width: 520px; font-size: 15.5px; color: rgba(255,255,255,0.88); margin: 0 0 28px; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--gold); color: #1c1408; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(179,137,63,0.35); }

/* section labels */
.section-label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 10px; font-weight: 600;
}
.section-label.light { color: var(--gold-light); }
.section-title { font-size: clamp(22px, 3.4vw, 30px); margin: 0 0 14px; }
.section-title.light { color: #fff; }
.section-desc { color: rgba(43,38,32,0.7); max-width: 620px; }
.section-desc.light { color: rgba(246,241,231,0.75); }

/* about */
.about { padding: 88px 0; }
.about-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 18px; }
.about-text p { color: rgba(43,38,32,0.8); }
.about-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.about-points li {
  position: relative; padding-left: 24px; font-size: 14.5px; color: rgba(43,38,32,0.85);
}
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--gold); transform: rotate(45deg);
}

/* player section */
.player-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 90px 0 100px;
}

.player-card {
  margin-top: 34px;
  background: rgba(246, 241, 231, 0.06);
  border: 1px solid rgba(217, 184, 114, 0.25);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.np-row { display: flex; align-items: center; gap: 18px; }
.np-art {
  width: 52px; height: 52px; flex: none;
  border-radius: 10px; background: rgba(217,184,114,0.15);
  display: flex; align-items: center; justify-content: center; color: var(--gold-light);
}
.note-icon { width: 26px; height: 26px; }
.np-info { flex: 1; min-width: 0; }
.np-track-no { margin: 0; font-size: 11.5px; letter-spacing: 0.1em; color: var(--gold-light); }
.np-title { margin: 2px 0 0; font-size: 17px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-controls { display: flex; align-items: center; gap: 10px; }
.ctrl-btn {
  border: none; background: transparent; color: #f6f1e7; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.ctrl-btn svg { width: 18px; height: 18px; }
.ctrl-btn:hover { background: rgba(217,184,114,0.15); }
.play-btn { width: 52px; height: 52px; background: var(--gold); color: #1c1408; }
.play-btn:hover { background: var(--gold-light); }
.play-btn svg { width: 20px; height: 20px; }

.seek-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.time { font-size: 12px; color: rgba(246,241,231,0.65); width: 38px; flex: none; }
.time:last-child { text-align: right; }
.seek-bar {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 2px; background: rgba(246,241,231,0.2); outline: none;
}
.seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-light); cursor: pointer; box-shadow: 0 0 0 3px rgba(217,184,114,0.2);
}
.seek-bar::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; border: none;
  background: var(--gold-light); cursor: pointer;
}

.track-list {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; gap: 8px;
}
.track-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; border-radius: 10px;
  background: rgba(246,241,231,0.03);
  border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.track-item:hover { background: rgba(246,241,231,0.07); }
.track-item.active { background: rgba(217,184,114,0.12); border-color: rgba(217,184,114,0.4); }
.track-no { width: 26px; font-size: 13px; color: var(--gold-light); flex: none; }
.track-name { flex: 1; color: #f6f1e7; font-size: 14.5px; min-width: 0; }
.track-name .key { display: block; font-size: 12px; color: rgba(246,241,231,0.55); margin-top: 2px; }
.track-dur { font-size: 12.5px; color: rgba(246,241,231,0.55); flex: none; }
.track-play-ic { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: var(--gold-light); }
.track-play-ic svg { width: 14px; height: 14px; }

.track-note { margin-top: 20px; font-size: 12.5px; color: rgba(246,241,231,0.5); text-align: center; }

/* pages / score preview */
.pages { padding: 90px 0; }
.pages-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pages-item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.pages-item img { width: 100%; height: 100%; object-fit: cover; }
.pages-item.large { grid-column: 1 / -1; aspect-ratio: 21/9; }

/* notice */
.notice { background: var(--ivory-deep); padding: 64px 0; }
.notice-inner { max-width: 720px; }
.notice h2 { font-size: 20px; margin: 0 0 14px; }
.notice p { color: rgba(43,38,32,0.75); font-size: 14.5px; }

/* footer */
.site-footer { background: var(--navy-deep); color: rgba(246,241,231,0.6); padding: 34px 0; }
.footer-inner p { margin: 0 0 8px; font-size: 12.5px; }
.footer-inner .credit { font-size: 11px; line-height: 1.9; color: rgba(246,241,231,0.4); }

/* responsive */
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .pages-grid { grid-template-columns: repeat(2, 1fr); }
  .pages-item.large { grid-column: 1 / -1; aspect-ratio: 16/9; }
}

@media (max-width: 480px) {
  .pages-grid { grid-template-columns: 1fr; }
  .pages-item.large { aspect-ratio: 4/3; }
}

@media (max-width: 600px) {
  .site-nav { display: none; }
  .hero { min-height: 92vh; }
  .hero-content { padding-top: 90px; }
  .np-title { font-size: 15px; }
  .np-art { display: none; }
  .track-name { font-size: 13.5px; }
  .player-card { position: sticky; bottom: 12px; z-index: 40; }
  .about, .player-section, .pages { padding: 60px 0; }
}
