
/* =========================================================
   BASE
========================================================= */

:root {
  --pink: #e66696;
  --pink-dark: #cf5c87;
  --navy: #17233c;
  --text: #273247;
  --muted: #778196;
  --border: #e5e9ef;
  --soft-bg: #f8fafd;
  --blue: #5d7896;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Noto Sans JP",
    Arial,
    sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  height: 72px;
  border-bottom: 1px solid #edf0f4;
  background: rgba(255,255,255,.96);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 54px;
}

.logo {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #151d30;
  white-space: nowrap;
}

.global-nav {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 13px;
  color: #566177;
}

.global-nav a:hover {
  color: var(--pink);
}

.header-actions {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
}

.header-search {
  width: 250px;
  height: 38px;
  padding: 0 17px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: #9aa3b2;
  font-size: 12px;
}

.login {
  font-size: 12px;
  font-weight: 600;
}

.signup {
  padding: 9px 17px;
  border-radius: 20px;
  color: #fff;
  background: #162039;
  font-size: 12px;
  font-weight: 700;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e5e9ef;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(230,102,150,.09), transparent 55%),
    linear-gradient(120deg, #fff 30%, #f3f8fc);
}

.hero-inner {
  width: min(1180px, calc(100% - 64px));
  margin: auto;
}

.hero-content {
  padding: 76px 0 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  color: var(--pink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero-heading {
  display: grid;
  grid-template-columns: 328px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.collab-logos { min-width: 0; }
.collab-logo { width: 328px; height: auto; }

.hero h1 {
  margin: 0;
  padding: 8px 0 8px 40px;
  border-left: 1px solid #dce2ea;
  color: #17233c;
  font-size: clamp(26px, 3vw, 39px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -.025em;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid #e1e6ed;
}

.hero-copy {
  max-width: 740px;
  margin: 0;
  color: #627087;
  font-size: 13px;
  line-height: 1.9;
}

.hero-bottom .primary-btn { flex-shrink: 0; }

.primary-btn {
  display: inline-flex;
  min-width: 178px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 25px;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 8px 24px rgba(230,102,150,.22);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.primary-btn:hover {
  transform: translateY(-1px);
}

/* =========================================================
   INTRODUCTION
========================================================= */

.intro {
  padding: 70px 0 65px;
  background: #fff;
}

.section-eyebrow {
  margin: 0 0 9px;
  color: var(--pink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.section-title {
  margin: 0 0 24px;
  color: #233047;
  font-size: 29px;
  line-height: 1.45;
  letter-spacing: .01em;
}

.intro-heading {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.intro-heading .section-title { margin: 8px 0 0; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.intro-copy {
  margin: 0 0 24px;
  color: #526078;
  font-size: 15px;
  line-height: 2.15;
}

.intro-copy:last-child { margin-bottom: 0; }
.intro-copy a { color: var(--pink); text-decoration: underline; text-underline-offset: 4px; }
.intro-copy a:hover { color: var(--pink); }

.instrument-panel {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f9fafc;
}

.instrument-panel-title {
  margin: 0 0 12px;
  color: #314057;
  font-size: 15px;
  font-weight: 700;
}

.instruments { display: grid; grid-template-columns: 1fr; gap: 4px; }
.instrument-item { margin: 0; display: flex; align-items: center; gap: 14px; }
.instrument-image { width: 160px; height: auto; aspect-ratio: 640 / 387; object-fit: contain; }
.instrument-name { color: #536178; font-size: 11px; font-weight: 700; white-space: nowrap; }
.instrument-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); color: #778196; font-size: 10px; letter-spacing: .06em; }


/* =========================================================
   FEATURED TRACKS
========================================================= */

.tracks-section {
  padding: 65px 0 72px;
  background: #fafbfd;
  border-top: 1px solid #f1f2f4;
}

.section-heading-row {
  margin-bottom: 25px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.section-heading-row .section-title {
  margin: 0;
}

.more-link {
  color: #69758a;
  font-size: 11px;
}

.more-link span {
  color: var(--pink);
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.track-card {
  padding: 17px 17px 19px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.track-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(38,50,70,.07);
}

.track-header {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  min-height: 76px;
}

.track-art {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 5px;
  position: relative;
}

.track-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      transparent 45%,
      rgba(1,14,40,.3)
    );
}

.track-art-1 {
  background: linear-gradient(160deg,#94d8ff,#f7aad1 58%,#6751be);
}

.track-art-2 {
  background: linear-gradient(150deg,#11194d,#e427ae 50%,#ff8f67);
}

.track-art-3 {
  background: radial-gradient(circle at 65% 35%,#ff65d2,transparent 10%),
              linear-gradient(145deg,#020d31,#342974,#ef69c4);
}

.track-art-4 {
  background: linear-gradient(#0cb0f4 0 60%,#85e1ff 60% 70%,#f5df9f 70%);
}

.track-art-5 {
  background: linear-gradient(150deg,#271755,#6a1aa1,#ec3985);
}

.track-art-6 {
  background: linear-gradient(#5d8bb8 0 45%,#ff9362 45% 55%,#203353 55%);
}

.track-art-7 {
  background: linear-gradient(160deg,#68247e,#ff5a99 50%,#193158);
}

.track-art-8 {
  background: linear-gradient(150deg,#090c39,#3155b5 55%,#f13b91);
}

.track-name {
  margin-top: 2px;
  color: #263349;
  font-size: 14px;
  font-weight: 700;
}

.track-author {
  margin-top: 3px;
  color: #536178;
  font-size: 10px;
}

.track-time {
  color: #7d8798;
  font-size: 9px;
}


/* PLAYER */

.audio-player {
  margin: 13px 0 12px;
  display: grid;
  grid-template-columns: 26px auto 1fr auto;
  gap: 7px;
  align-items: center;
}

.play-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #728398;
  cursor: pointer;
  font-size: 9px;
}

.volume {
  color: #64748a;
  font-size: 9px;
}

.progress {
  height: 3px;
  overflow: hidden;
  border-radius: 5px;
  background: #dde2e8;
}

.progress-current {
  width: 28%;
  height: 100%;
  background: #73889f;
}

.current-time {
  color: #798598;
  font-size: 8px;
  white-space: nowrap;
}


/* TRACK ACTIONS */

.track-actions {
  margin: 7px 0 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.download-btn,
.detail-btn {
  height: 31px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  transition: .2s ease;
}

.download-btn {
  border: 1px solid var(--pink);
  color: #fff;
  background: var(--pink);
}

.download-btn:hover {
  background: var(--pink-dark);
}

.detail-btn {
  border: 1px solid #aeb8c6;
  color: #5d6879;
  background: #fff;
}

.detail-btn:hover {
  border-color: #738198;
}


/* TRACK DESCRIPTION */

.track-description {
  min-height: 61px;
  margin: 0;
  color: #657185;
  font-size: 10px;
  line-height: 1.75;
}


/* =========================================================
   COMPOSERS
========================================================= */

.composers-section {
  padding: 67px 0 75px;
}

.composers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.composer-card {
  min-height: 188px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.composer-top {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.composer-avatar {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: #f3f5f8;
}

.composer-name {
  color: #263247;
  font-size: 14px;
  font-weight: 700;
}

.composer-comment-label {
  margin: 0 0 10px;
  color: #58708b;
  font-size: 11px;
  font-weight: 700;
}

.composer-description {
  margin: 0 0 20px;
  color: #6c7789;
  font-size: 13px;
  line-height: 1.95;
}

.profile-link {
  color: #58708b;
  font-size: 10px;
}

.profile-link:hover {
  color: var(--pink);
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.waves-place-section {
  padding: 72px 0;
  border-top: 1px solid #e5e9ef;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(208,228,249,.35), transparent 55%),
    linear-gradient(115deg, #f7faff, #fcf7fb);
}

.waves-place-inner {
  display: grid;
  grid-template-columns: .85fr 1.35fr;
  gap: 64px;
  align-items: center;
}

.waves-place-heading .section-eyebrow { margin-bottom: 26px; }
.waves-place-brand {
  color: #58657b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.waves-place-heading h2 {
  margin: 6px 0 12px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.waves-place-tagline {
  font-weight: 700;
  margin: 0;
  color: #68758a;
  font-size: 13px;
  letter-spacing: .04em;
}

.waves-place-content {
  padding-left: 48px;
  border-left: 1px solid #dfe4ed;
}

.waves-place-lead {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.waves-place-description {
  margin: 0 0 14px;
  color: #627087;
  font-size: 13px;
  line-height: 1.95;
}

.waves-place-link {
  margin-top: 12px;
  padding: 0 24px;
}

@media (max-width: 760px) {
  .waves-place-section { padding: 48px 0; }
  .waves-place-inner { grid-template-columns: 1fr; gap: 28px; }
  .waves-place-content { padding: 28px 0 0; border-left: 0; border-top: 1px solid #dfe4ed; }
  .waves-place-lead { font-size: 18px; }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
  .header-search {
    display: none;
  }

  .tracks-grid {
    grid-template-columns: repeat(2, 1fr);
  }


}

@media (max-width: 760px) {

  .container,
  .header-inner {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    height: 60px;
  }

  .global-nav {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .signup {
    display: none;
  }









  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tracks-grid {
    grid-template-columns: 1fr;
  }

  .track-header {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .track-art {
    width: 76px;
    height: 76px;
  }


  .section-title {
    font-size: 24px;
  }
}

@media (max-width: 500px) {

  .instruments {
    gap: 10px;
  }




}

/* Keep the logo and headline side by side until the mobile breakpoint. */
@media (min-width: 761px) and (max-width: 1000px) {
  .hero-heading { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
  .hero h1 { padding-left: 28px; font-size: 27px; }
}

@media (max-width: 760px) {
  .hero-inner { width: calc(100% - 40px); }
  .hero-content { padding: 44px 0 40px; }
  .eyebrow { margin-bottom: 28px; }
  .hero-heading { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { padding: 0; border: 0; font-size: clamp(23px, 4.5vw, 30px); }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 30px; padding-top: 24px; }
}

@media (max-width: 760px) {
  .composers-grid { grid-template-columns: 1fr; }
}

.track-art-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e9ef;
  background: #f3f5f8;
  color: #8b95a5;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
}

.track-art-placeholder::after { content: none; }

/* Instrument introductions, based on the Waves Place catalog. */
.instrument-panel .instruments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.instrument-panel .instrument-item {
  display: block;
  margin: 0;
}
.instrument-panel .instrument-item + .instrument-item {
  padding-top: 0;
  border-top: 0;
}
.instrument-panel .instrument-image {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 12px;
}
.instrument-panel .instrument-name {
  color: var(--navy);
  font-size: 13px;
  letter-spacing: .06em;
  text-align: center;
}
.instrument-panel .instrument-description {
  text-align: left;
}
.instrument-description { margin: 6px 0 0; color: #627087; font-size: 12px; line-height: 1.85; }
.instrument-note a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .intro-grid { gap: 32px; }
  .instrument-panel .instruments { gap: 16px; }
}

@media (max-width: 760px) {
  .intro { padding: 48px 0; }
  .intro-heading { margin-bottom: 24px; padding-bottom: 20px; }
  .intro-copy { font-size: 14px; line-height: 2; }
  .instrument-panel { padding: 20px 16px; }
  .instrument-panel .instruments { grid-template-columns: 1fr; }
  .instrument-panel .instrument-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }
  .instrument-panel .instrument-image { width: 100px; max-width: none; margin: 0; }
  .instrument-panel .instrument-name { text-align: left; }
}

.volume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #64748a;
  cursor: pointer;
}
.volume:hover { background: #edf1f6; }
.volume:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.volume .speaker-muted { display: none; }
.volume[aria-pressed="true"] .speaker-waves { display: none; }
.volume[aria-pressed="true"] .speaker-muted { display: block; }
.volume[aria-pressed="true"] { color: var(--pink); }
.progress-current { width: 0; }

/* OpenTracks BGM thumbnails: 60px artwork with an 8px gray frame. */
.track-art {
  box-sizing: border-box;
  width: 76px;
  height: 76px;
  padding: 8px;
  border: 0;
  border-radius: 3px;
  background: #f5f5f5;
}

.track-art-placeholder {
  padding: 0;
  border: 8px solid #f5f5f5;
  background: #e9edf2;
  font-size: 8px;
  letter-spacing: .04em;
}

.track-art img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.waves-place-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.composers-intro {
  margin: 0 0 32px;
  color: #627087;
  font-size: 14px;
  line-height: 1.95;
}
.composers-intro p { margin: 0 0 8px; }
.composers-intro p:last-child { margin-bottom: 0; }

.composer-notes {
  margin-top: 24px;
  color: #6c7789;
  font-size: 12px;
  line-height: 1.8;
}
.composer-notes p { margin: 0; }

.waves-place-copyright {
  margin: 32px 0 0;
  color: #778196;
  font-size: 10px;
  line-height: 1.6;
  text-align: left;
  text-decoration: none;
}

.composer-avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e9edf2;
  flex-shrink: 0;
}

body.campaign-page .footer {
  margin-top: 0;
}

/* 元 HTML どおり。style.css の palt / pkna / letter-spacing だと字間が詰まる */
body.campaign-page {
  min-width: 0;
  width: 100%;
  overflow-x: clip;
  letter-spacing: normal;
  -webkit-font-feature-settings: normal;
  font-feature-settings: normal;
}

body.campaign-page p {
  letter-spacing: normal;
  -webkit-font-feature-settings: normal;
  font-feature-settings: normal;
}

body.campaign-page main {
  display: block;
  width: 100%;
}

/* style.css の .hero（トップ用・height:400px）と衝突しないよう上書き */
body.campaign-page .hero {
  width: 100vw;
  max-width: 100vw;
  height: auto;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  color: inherit;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(230,102,150,.09), transparent 55%),
    linear-gradient(120deg, #fff 30%, #f3f8fc);
}

body.campaign-page .waves-place-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
