:root {
  --paper: #f5f3ec;
  --paper-deep: #ece7da;
  --ink: #173c34;
  --ink-soft: #36574f;
  --brass: #bca572;
  --rust: #8c4b25;
  --line: rgba(23, 60, 52, 0.2);
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(23, 60, 52, 0.1);
  --radius: 18px;
  --content: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(188, 165, 114, 0.18), transparent 28rem),
    linear-gradient(120deg, rgba(255,255,255,0.52), transparent 55%),
    var(--paper);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  line-height: 1.9;
  overflow-wrap: break-word;
  word-break: auto-phrase;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.24em; }
a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-all; }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 99;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 236, 0.94);
}

.nav {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { font-weight: 700; letter-spacing: 0.08em; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.65rem 1.2rem; font-size: 0.9rem; }
.nav-links a { text-decoration: none; border-bottom: 1px solid transparent; }
.nav-links a:hover { border-bottom-color: currentColor; }

main { min-height: 70vh; }
.wrap { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }

.hero { padding: clamp(4.5rem, 10vw, 8rem) 0 4.5rem; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--rust);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.38; letter-spacing: 0.035em; text-wrap: balance; }
h1 { margin: 0; max-width: 16ch; font-size: clamp(2.45rem, 8vw, 5.7rem); font-weight: 600; }
.product-hero h1 { max-width: 22ch; font-size: clamp(2.2rem, 6vw, 4.8rem); }
.nowrap { white-space: nowrap; }
h2 { margin: 0 0 1.3rem; font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { margin-top: 0; font-size: 1.25rem; }

.lead { max-width: 720px; margin: 2rem 0 0; font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--ink-soft); }
.hero-home .lead { max-width: 1040px; }
.hero-note { margin-top: 2rem; padding-left: 1rem; border-left: 3px solid var(--brass); max-width: 680px; }
.reading-block { display: block; }
.reading-block + .reading-block { margin-top: 0.45em; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--line); }
.section-soft { background: rgba(255, 253, 248, 0.56); }
.section-intro { max-width: 720px; margin: -0.4rem 0 2.5rem; color: var(--ink-soft); }
.policy-copy p { margin: 0; }
.policy-copy p + p { margin-top: 0.8rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid .card {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  row-gap: 0;
}
.product-grid .card .plain-link { align-self: end; }
.product-grid .tag { justify-self: start; }

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow);
}
.card p { margin-top: 0; }
.card .plain-link { margin-top: auto; font-weight: 700; }
.tag { display: inline-flex; align-self: flex-start; padding: 0.18rem 0.6rem; border: 1px solid var(--brass); border-radius: 999px; font-size: 0.78rem; }
.price { margin: 0.6rem 0 1.2rem; font-size: 2rem; line-height: 1.3; font-weight: 700; }
.price small { display: block; margin-top: 0.35rem; font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; }

.comparison { width: 100%; border-collapse: collapse; background: rgba(255,253,248,.7); }
.comparison th, .comparison td { padding: 1rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { background: rgba(188,165,114,.16); }

.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; counter-reset: flow; }
.flow-step { position: relative; padding: 1.2rem 1rem; border-top: 3px solid var(--brass); background: var(--white); min-height: 130px; }
.flow-step::before { counter-increment: flow; content: "0" counter(flow); display: block; margin-bottom: 0.75rem; color: var(--rust); font: 700 0.76rem/1 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .12em; }

.fact-list { padding-left: 1.2rem; }
.fact-list li + li { margin-top: 0.55rem; }

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.experience-copy p { margin: 0; }
.experience-copy p + p { margin-top: 1rem; }
.experience-quote {
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border-left: 4px solid var(--rust);
  background: rgba(188, 165, 114, 0.12);
}
.experience-quote blockquote { margin: 0; }
.experience-quote blockquote p { margin: 0; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.85; }
.experience-quote figcaption { margin-top: 1rem; color: var(--ink-soft); font-size: 0.94rem; }
.experience-quote-compact { max-width: 820px; }
.experience-note { margin: 1.25rem 0 0; }

.notice { padding: 1.2rem 1.3rem; border: 1px solid var(--brass); border-radius: 12px; background: rgba(188,165,114,.12); }
.notice strong { color: var(--rust); }

.purchase-panel { padding: 2rem; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.purchase-panel h2 { margin-bottom: 0.7rem; }
.purchase-button {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(245,243,236,.45);
  border-radius: 999px;
  background: rgba(245,243,236,.14);
  color: rgba(245,243,236,.82);
  font: 700 1rem/1.3 -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: not-allowed;
}

.legal { max-width: 860px; }
.legal dl { display: grid; grid-template-columns: 14rem minmax(0, 1fr); border-top: 1px solid var(--line); }
.legal dt, .legal dd { margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.legal dt { padding-right: 1.5rem; font-weight: 700; }
.legal dd p { margin: 0; }
.legal dd p + p { margin-top: 0.7rem; }

.site-footer { padding: 2.5rem 0 4rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 0.8rem 1.2rem; flex-wrap: wrap; }
.muted { color: var(--ink-soft); }

@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .grid-3, .grid-2, .flow, .experience-grid { grid-template-columns: 1fr; }
  .product-grid .card { display: flex; grid-row: auto; }
  .comparison, .comparison tbody, .comparison tr, .comparison th, .comparison td { display: block; }
  .comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .comparison tr { margin-bottom: 1rem; border: 1px solid var(--line); }
  .comparison td, .comparison th { border: 0; border-bottom: 1px solid var(--line); }
  .comparison td::before { content: attr(data-label); display: block; margin-bottom: .25rem; font: 700 .78rem/1.4 -apple-system, BlinkMacSystemFont, sans-serif; color: var(--rust); }
  .legal dl { grid-template-columns: 1fr; }
  .legal dt { padding-bottom: 0.2rem; border-bottom: 0; }
  .legal dd { padding-top: 0.2rem; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

a.purchase-button { display: block; text-align: center; text-decoration: none; cursor: pointer; background: var(--paper); color: var(--ink); border-color: var(--paper); }
