/* Top page. Shares the site's colors (style.css); the sample album is the one bold element. */
.home { --night: #151A3A; --leaf: #B08D57; --mincho: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; }
.home .phrase { display: inline-block; }

/* ---------- hero: words on the left, a real album on the right ---------- */
.hero { max-width: 1120px; margin: 0 auto; padding: 56px 24px 72px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.hero-title { font-family: var(--mincho); font-weight: 600; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.25; letter-spacing: .06em; margin: 0 0 24px; }
.hero-lead { font-size: 17px; line-height: 2; margin: 0 0 32px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.hero-price { font-size: 14px; color: var(--muted); }

.hero-demo { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.demo-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.demo-chip:hover { border-color: #B8B5AC; }
.demo-chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.demo-chip:focus-visible, .home a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-stage { min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: 28px 20px; border-radius: 6px; background: #ECEAE4; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.demo-stage[data-demo="book"] { padding: 12px; }
.demo-note { font-size: 12px; color: var(--muted); }

/* ---------- the span of years ---------- */
.span { background: var(--night); color: #EDEBE3; }
.span-inner { max-width: 760px; margin: 0 auto; padding: 72px 24px; }
.span-years { display: flex; align-items: center; gap: 18px; margin: 0 0 28px; font-family: var(--mincho); font-size: clamp(22px, 3.4vw, 32px); letter-spacing: .12em; font-variant-numeric: tabular-nums; color: #F4EBD0; }
.span-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--leaf), rgba(176,141,87,.5) 60%, rgba(176,141,87,0)); position: relative; }
.span-inf { font-size: 1.4em; line-height: 1; color: var(--leaf); }
.span-line::before { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.span-title { font-family: var(--mincho); font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: .06em; margin: 0 0 16px; }
.span-text { margin: 0; line-height: 2.05; color: #CFCDC6; }

/* ---------- sections ---------- */
.promises, .steps, .pricing, .closing { max-width: 960px; margin: 0 auto; padding: 72px 24px 0; }
.section-title { font-family: var(--mincho); font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: .06em; margin: 0 0 32px; }
.promise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.promise h3 { font-size: 16px; margin: 14px 0 8px; }
.promise p { margin: 0; font-size: 15px; line-height: 1.95; color: #3A3D44; }
.promise-icon { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.step-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step-list li { counter-increment: step; }
.step-list li::before { content: counter(step); display: block; font-family: var(--mincho); font-size: 36px; line-height: 1; color: var(--leaf); margin-bottom: 12px; }
.step-list h3 { font-size: 16px; margin: 0 0 8px; }
.step-list p { margin: 0; font-size: 15px; line-height: 1.95; color: #3A3D44; }

.pricing-lead { margin: -16px 0 20px; }
.price-table { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 16px; }
.price-table th, .price-table td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); font-weight: 400; }
.price-table th { font-weight: 600; }
.price-table td { color: var(--muted); }
.price-table .yen { text-align: right; color: var(--ink); font-family: var(--mincho); font-size: 18px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

.closing { padding-bottom: 96px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.closing-title { font-family: var(--mincho); font-size: clamp(20px, 2.8vw, 26px); font-weight: 600; letter-spacing: .06em; margin: 48px 0 8px; }
.closing p { margin: 0; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 36px; }
  .promise-list, .step-list { grid-template-columns: 1fr; gap: 28px; }
  .demo-stage { min-height: 320px; padding: 20px 12px; }
}
@media (prefers-reduced-motion: reduce) { .home * { transition: none !important; animation: none !important; } }
@media (max-width: 600px) {
  .price-table { font-size: 14px; }
  .price-table th { white-space: nowrap; }
  .price-table td { font-size: 13px; }
  .price-table .yen { font-size: 16px; }
}
.demo-break { flex-basis: 100%; height: 0; }
