:root {
  --bg: #fbf7f2;
  --fg: #0f1729;
  --muted: #5c6a8a;
  --card: #ffffff;
  --primary: #1e2a4a;
  --coral: #e07a5f;
  --border: #eadfd4;
  --radius: 16px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Outfit, "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 20; }

header.nav {
  position: sticky; top: 0; z-index: 10;
  background: hsla(36 43% 97% / 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; color: var(--fg); }
.brand b { color: var(--coral); font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.nav-links { display: flex; gap: 14px; align-items: center; font-size: 0.88rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--primary); color: #fff !important; text-decoration: none;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
}
.menu, .lang {
  background: transparent; border: 0; border-radius: 999px; padding: 6px 10px;
  cursor: pointer; font: inherit; color: var(--muted);
}
.lang[aria-pressed="true"] { background: var(--primary); color: #fff; }
.menu { display: none; border: 1px solid var(--border); color: var(--fg); }

.hero {
  background: var(--bg);
  padding: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.47fr) minmax(0, 0.53fr);
  gap: 28px;
  align-items: stretch;
  min-height: 560px;
  padding: 36px 0 28px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
}
.badge { color: var(--coral); font-weight: 600; letter-spacing: 0.01em; margin: 0 0 8px; }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.35rem); line-height: 1.08; margin: 0 0 16px; color: var(--fg); }
h1 .brand-word { color: var(--coral); }
.lede { font-size: 1.08rem; color: var(--muted); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 999px; padding: 13px 22px; font-weight: 600;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-ghost { background: #fff; border: 1px solid var(--border); color: var(--fg); }
.distribution { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; width: min(100%, 42rem); }
.distribution-group { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.distribution-group h2 { font-size: 0.92rem; margin: 0 0 10px; color: var(--primary); }
.distribution-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.destination { min-height: 46px; border: 1px solid var(--border); border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 6px; text-decoration: none; overflow: hidden; }
.destination:focus-visible, .btn:focus-visible, .nav-links a:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.text-destination { color: var(--fg); font-weight: 600; font-size: 0.78rem; text-align: center; line-height: 1.15; }
.apple-podcasts { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.official-badge img { width: 100%; height: 32px; max-width: 116px; object-fit: contain; display: block; }
/* Crop Spotify's supplied transparent canvas in the local SVG; keep its mark
   undistorted within the same CTA height as every other destination. */
.spotify-badge img { width: 100%; max-width: 118px; height: 34px; }
.spotify-badge { background: #1ed760; border-color: #1ed760; color: #111; gap: 5px; font-size: 0.76rem; font-weight: 700; }
.spotify-badge img { width: 18px; height: 18px; object-fit: cover; object-position: center; }
.note { color: var(--muted); font-size: 0.95rem; margin: 0; }
.hero-visual {
  margin: 0;
  position: relative;
  min-height: 480px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg);
}
.hero-visual img.hero-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
}

section.spots { padding: 8px 0 28px; }
.spot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.spot {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
}
.spot-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  color: var(--coral);
}
.spot-icon svg {
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  display: block;
  flex-shrink: 0;
}
.spot-text { min-width: 0; }
.spot h3 { margin: 0 0 4px; font-size: 1.02rem; color: var(--fg); }
.spot p { margin: 0; color: var(--muted); font-size: 0.92rem; }

section.glance { padding: 8px 0 48px; }
.glance h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 0 0 16px; }
.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
thead th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
tbody th { font-weight: 500; color: var(--fg); }
tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }
td.yes { color: var(--fg); }

section { padding: 64px 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 8px; }
.center { text-align: center; }
.sub { color: var(--muted); margin: 0 auto 32px; max-width: 40rem; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }
.price-toggle { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.price-toggle button {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
  color: var(--fg);
}
.price-toggle button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.price { font-size: 2rem; font-weight: 700; color: var(--fg); }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.list { margin: 16px 0; padding-left: 18px; color: var(--muted); }
.popular { outline: 2px solid var(--coral); }
.podcast-v3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.podcast-proposition { min-height: 100%; }
.podcast-proposition h2 { font-size: 1.55rem; }
.podcast-proposition > p { color: var(--muted); }
.podcast-entitlements { margin: 20px 0; display: grid; gap: 8px; }
.podcast-entitlements p { margin: 0; border-left: 3px solid var(--coral); padding-left: 10px; }
.public-podcast { display: grid; grid-template-columns: 118px 1fr; gap: 18px; align-items: start; }
.public-podcast .cover { width: 118px; border-radius: 12px; }
.podcast-listening { margin-top: 18px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 600; }
.cta-band { background: var(--primary); color: #fff; }
.cta-band .sub, .cta-band a { color: #fff; }
footer { border-top: 1px solid var(--border); padding: 40px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot-grid h4 { margin: 0 0 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid a { text-decoration: none; color: var(--muted); display: inline-block; margin: 4px 0; }
.legal-copy { max-width: 44rem; }
.legal-copy h1 { font-size: 2rem; }
form { display: grid; gap: 12px; max-width: 32rem; }
label { font-weight: 600; font-size: 0.92rem; }
input, textarea, select {
  font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); width: 100%;
}
.hidden { display: none !important; }

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px 0 16px;
    gap: 20px;
  }
  .hero-visual {
    min-height: 240px;
    height: 280px;
    border-radius: 16px;
  }
  .podcast-v3, .grid-4, .grid-3, .foot-grid, .spot-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); padding: 16px; border-bottom: 1px solid var(--border);
  }
  .menu { display: inline-flex; }
  .distribution { grid-template-columns: 1fr; width: 100%; }
}

@media (min-width: 640px) and (max-width: 900px) {
  .spot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .distribution-group { padding: 12px; }
  .distribution-actions { gap: 6px; }
  .destination { min-height: 44px; padding: 5px; }
  .text-destination { font-size: 0.69rem; }
  .official-badge img { height: 28px; }
  .public-podcast { grid-template-columns: 86px 1fr; gap: 12px; padding: 16px; }
  .public-podcast .cover { width: 86px; }
}
