/* =====================================================
   BGM-ONE 静的サイト v1 — 低視力対応・高コントラスト・モバイルファースト
   基準: 本文18px以上 / 見出し28px以上 / 主要数値36px以上 / タップ48px以上
   ===================================================== */
:root {
  --navy: #101826;        /* 濃紺(ダーク面) */
  --navy-2: #1a2436;
  --ink: #16181d;         /* 本文(明面) コントラスト比 ~15:1 */
  --paper: #ffffff;
  --cream: #faf6ee;
  --gold: #b8860b;        /* アクセント(暗めゴールド・白地でAA) */
  --gold-bright: #f0c040; /* 濃紺地上のアクセント */
  --cta: #d97706;         /* CTA(白文字でAA 4.6:1) */
  --cta-dark: #b45309;
  --ok: #1a7f37;
  --ng: #b91c1c;
  --line: #d8d2c4;
  --radius: 14px;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* 日本語見出しの語中折り返し防止: 意味単位をinline-block化(はみ出す場合のみ単位ごと改行) */
.nb { display: inline-block; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  font-size: 18px;                 /* 本文最小18px */
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.section-title {
  font-size: 32px;                 /* 見出し28px以上 */
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
}
.section-lead { text-align: center; font-size: 19px; max-width: 40em; margin: 0 auto 40px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { font-size: 26px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .04em; padding: 8px 0; }
.brand span { color: var(--gold-bright); }
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;      /* タップ48px以上 */
  background: none; border: 2px solid #ffffff88; border-radius: 10px;
  color: #fff; font-size: 26px; cursor: pointer;
}
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy-2); }
.site-nav a {
  display: flex; align-items: center;
  min-height: 52px; padding: 4px 24px;
  color: #fff; text-decoration: none; font-size: 18px; font-weight: 600;
}
.site-nav a:hover, .site-nav a:focus { background: #ffffff22; color: var(--gold-bright); }

/* ---------- hero ---------- */
.hero {
  background:
    linear-gradient(rgba(13,18,28,.82), rgba(13,18,28,.9)),
    url("../img/hero_lounge.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 88px 0 72px;
}
.hero h1 {
  font-size: 40px;                 /* 主要見出し */
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.hero h1 .accent { color: var(--gold-bright); }
.hero .sub { font-size: 20px; margin-bottom: 28px; font-weight: 600; }
.trial-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-bottom: 32px; }
.trial-points li {
  background: #ffffff; color: var(--ink);
  border: 3px solid var(--gold-bright);
  font-size: 19px; font-weight: 800;
  padding: 10px 18px; border-radius: 999px;
}
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 12px 44px;
  background: var(--cta); color: #fff;
  font-size: 22px; font-weight: 800; text-decoration: none;
  border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.btn-cta:hover, .btn-cta:focus { background: var(--cta-dark); }
.btn-cta.secondary { background: #fff; color: var(--navy); }
.hero .note { font-size: 16px; margin-top: 16px; color: #e8e4da; }

/* ---------- problem ---------- */
.problem { background: var(--cream); }
.problem-grid { display: grid; gap: 28px; align-items: center; }
.problem-card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.problem-card h3 { font-size: 24px; margin-bottom: 12px; line-height: 1.5; }
.problem-card .ng-mark { color: var(--ng); font-weight: 800; }
.problem-answer { text-align: center; font-size: 24px; font-weight: 800; margin-top: 32px; line-height: 1.6; }
.problem-answer .brand-name { color: var(--gold); }

/* ---------- features ---------- */
.features-grid { display: grid; gap: 20px; }
.feature {
  border: 2px solid var(--line); border-radius: var(--radius);
  padding: 26px; background: #fff;
}
.feature .no { color: var(--gold); font-size: 20px; font-weight: 800; letter-spacing: .1em; }
.feature h3 { font-size: 24px; margin: 6px 0 10px; line-height: 1.5; }

/* ---------- channels ---------- */
.channels { background: var(--navy); color: #fff; }
.channels .section-title, .channels .section-lead { color: #fff; }
.ch-grid { display: grid; gap: 22px; }
.ch-card {
  background: var(--navy-2); border-radius: var(--radius); overflow: hidden;
  border: 1px solid #ffffff2a;
}
.ch-card .ch-img { height: 190px; background-size: cover; background-position: center; }
.ch-card .ch-img.ph { display: flex; align-items: center; justify-content: center; font-size: 56px; font-weight: 900; color: #ffffffcc; }
.ch-card .ph-ch4 { background: linear-gradient(135deg, #7c2d5e, #2b1430); }
.ch-card .ph-ch6 { background: linear-gradient(135deg, #b45309, #3b1d06); }
.ch-body { padding: 20px 22px 26px; }
.ch-body .ch-no { color: var(--gold-bright); font-weight: 800; font-size: 18px; letter-spacing: .08em; }
.ch-body h3 { font-size: 26px; margin: 4px 0 10px; }
.ch-body p { font-size: 18px; color: #ecebe6; }

/* ---------- 3-axis selection ---------- */
.volume-badge {
  display: inline-block; margin-top: 10px;
  background: var(--gold-bright); color: var(--navy);
  font-size: 21px; font-weight: 900;
  padding: 8px 22px; border-radius: 999px;
}
.axis-block { margin-bottom: 46px; }
.axis-title {
  font-size: 27px; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.axis-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-bright); color: var(--navy);
  font-size: 24px; font-weight: 900; flex-shrink: 0;
}
.sel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sel-card {
  background: var(--navy-2); border: 1px solid #ffffff2a;
  border-radius: 12px; overflow: hidden;
}
.sel-img { height: 110px; background-size: cover; background-position: center; }
.sel-label {
  font-size: 19px; font-weight: 800; color: #fff;
  text-align: center; padding: 12px 8px; line-height: 1.4;
}
.sel-desc {
  font-size: 16px; color: #ecebe6;
  text-align: center; padding: 0 10px 14px; line-height: 1.5;
}
.preview-note {
  display: inline-block; margin-top: 12px;
  color: #ffffff; font-size: 18px; font-weight: 700;
}
/* 試聴: カードは全体がタップ領域。再生ボタンは視認用オーバーレイ */
.sel-card[data-preview] { cursor: pointer; position: relative; border: 3px solid transparent; }
.sel-card[data-preview] .sel-img { position: relative; }
.play-btn {
  position: absolute; right: 8px; bottom: 8px;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(16, 24, 38, .82); color: var(--gold-bright);
  border: 2px solid var(--gold-bright);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.sel-card.playing {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 2px rgba(240, 192, 64, .35), 0 6px 18px rgba(0, 0, 0, .45);
}
.sel-card.playing .play-btn { background: var(--gold-bright); color: var(--navy); }
/* タブレット(720px〜): 全セクション3列(ジャンルは3+3+2) */
@media (min-width: 720px) { .sel-grid { grid-template-columns: repeat(3, 1fr); } .sel-img { height: 140px; } }
/* PC(1000px〜): ムード/シーン=3列×2段・ジャンル=4列×2段 */
@media (min-width: 1000px) {
  .sel-grid { grid-template-columns: repeat(3, 1fr); }
  .sel-grid-genre { grid-template-columns: repeat(4, 1fr); }
  .sel-img { height: 150px; }
}

/* ---------- pricing ---------- */
.pricing { background: var(--cream); }
.trial-banner {
  display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center;
  margin-bottom: 34px;
}
.trial-banner span {
  background: var(--navy); color: #fff;
  font-size: 19px; font-weight: 800;
  padding: 12px 20px; border-radius: 999px;
}
.plans { display: grid; gap: 26px; }
.plan {
  position: relative; background: #fff;
  border: 3px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px 30px; text-align: center;
  display: flex; flex-direction: column;
}
.plan.recommended { border-color: var(--gold); box-shadow: 0 6px 22px rgba(184,134,11,.25); }
.ribbon {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  font-size: 17px; font-weight: 800;
  padding: 6px 22px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 26px; margin-bottom: 8px; }
.plan .price { font-size: 44px; font-weight: 900; color: var(--navy); line-height: 1.3; } /* 主要数値36px以上 */
.plan .price small { font-size: 20px; font-weight: 700; }
.plan .zeinuki { font-size: 15px; color: #555; margin-bottom: 4px; }
.plan .terms { font-size: 17px; color: #333; margin-bottom: 14px; }
.plan ul { list-style: none; text-align: left; margin: 0 auto 22px; max-width: 21em; }
.plan ul li { padding-left: 1.6em; position: relative; margin-bottom: 6px; font-size: 18px; }
.plan ul li::before { content: "✔"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.plan .hint {
  background: var(--cream); border: 2px dashed var(--gold);
  border-radius: 10px; font-size: 17px; font-weight: 700;
  padding: 10px 12px; margin-bottom: 18px;
}
.plan .btn-cta { margin-top: auto; font-size: 20px; }
.pricing-notes { max-width: 44em; margin: 36px auto 0; font-size: 17px; }
.pricing-notes li { margin-bottom: 6px; }

/* ---------- compare ---------- */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%; min-width: 640px; border-collapse: collapse;
  background: #fff; font-size: 18px;
}
.compare th, .compare td {
  border: 2px solid var(--line);
  padding: 16px 14px; text-align: center; line-height: 1.6;
}
.compare thead th { background: var(--navy); color: #fff; font-size: 19px; }
.compare thead th.hl { background: var(--gold); font-size: 20px; }
.compare tbody th { background: var(--cream); font-weight: 800; text-align: left; white-space: nowrap; }
.compare td.hl { background: #fdf6e3; font-weight: 800; }
.compare .good { color: var(--ok); font-weight: 800; }
.compare .bad { color: var(--ng); font-weight: 800; }
.compare .cite { color: #666; font-size: 15px; vertical-align: super; }
.compare-note { font-size: 16px; color: #444; margin-top: 12px; text-align: center; }

/* スマホ(〜719px): 比較表をカード積み替え方式に切替(横スクロール廃止) */
.compare-cards { display: none; }
@media (max-width: 719px) {
  .compare-wrap { display: none; }
  .compare-cards { display: grid; gap: 18px; }
  .cmp-card {
    background: #fff; border: 2px solid var(--line);
    border-radius: var(--radius); padding: 20px 18px;
  }
  .cmp-card h3 {
    font-size: 23px; font-weight: 800; text-align: center;
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 3px solid var(--navy);
  }
  .cmp-card ul { list-style: none; display: grid; gap: 8px; }
  .cmp-card li {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; padding: 12px 12px;
    border: 1px solid var(--line); border-radius: 10px;
    font-size: 18px; line-height: 1.5;
  }
  .cmp-name { font-weight: 700; flex-shrink: 0; }
  .cmp-val { text-align: right; font-weight: 700; }
  .cmp-best {
    background: #fdf6e3;
    border: 3px solid var(--gold) !important;
  }
  .cmp-best .cmp-name { color: var(--gold); font-weight: 900; font-size: 19px; }
  .cmp-best .cmp-val { font-size: 19px; color: var(--navy); }
  .cmp-card .cite { color: #666; font-size: 14px; vertical-align: super; }
}

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 14px 20px;
  font-size: 19px; font-weight: 800; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: #fff; background: var(--navy); border-radius: 8px; padding: 2px 10px; font-size: 18px; flex-shrink: 0; }
.faq details[open] summary { border-bottom: 2px solid var(--line); }
.faq .a { padding: 16px 20px 20px; font-size: 18px; }
.faq .a::before { content: "A. "; color: var(--gold); font-weight: 800; }

/* ---------- final CTA ---------- */
.final-cta { background: var(--navy); color: #fff; text-align: center; }
.final-cta h2 { font-size: 32px; margin-bottom: 18px; }
.final-cta p { font-size: 19px; margin-bottom: 26px; }

/* ---------- footer ---------- */
.site-footer { background: #0b111c; color: #d9d9d9; padding: 44px 0 32px; font-size: 17px; }
.site-footer .brand { font-size: 22px; display: inline-block; margin-bottom: 14px; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 20px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 48px; color: #fff; text-decoration: underline; }
.copyright { font-size: 15px; color: #aaa; }

/* ---------- legal pages ---------- */
.legal-main { padding: 56px 0 72px; }
.legal-main h1 { font-size: 32px; margin-bottom: 28px; line-height: 1.5; }
.legal-main h2 { font-size: 24px; margin: 34px 0 12px; padding-left: 12px; border-left: 6px solid var(--gold); line-height: 1.5; }
.legal-main p, .legal-main li { font-size: 18px; }
.legal-main ul { padding-left: 1.4em; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.legal-table th, .legal-table td { border: 2px solid var(--line); padding: 14px 16px; text-align: left; font-size: 18px; line-height: 1.7; }
.legal-table th { background: var(--cream); width: 34%; min-width: 10em; }
.back-home { display: inline-flex; align-items: center; min-height: 48px; margin-top: 36px; font-size: 18px; font-weight: 700; }

/* ---------- tablet / desktop ---------- */
@media (min-width: 720px) {
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .ch-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 48px; }
}
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { display: block !important; position: static; background: none; }
  .site-nav ul { display: flex; gap: 2px; list-style: none; }
  .site-nav a { min-height: 64px; padding: 0 14px; font-size: 17px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .ch-grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .hero { padding: 120px 0 100px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
