/* 宛名ぴたり: Japanese stationery. Warm paper, vermilion postal details, large calm type (design/IMPLEMENTATION.md). */
:root {
  --color-bg: #F7F4EE;
  --color-surface: #FFFEFA;
  --color-text: #262923;
  --color-muted: #555B52;
  --color-accent: #B43C2E;
  --color-accent-hover: #922E24;
  --color-line: #DAD9CF;
  --color-quiet: #E6EBDF;
  --font-body: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --font-display: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  --gutter: 48px;
  --section: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: 18px; line-height: 1.9; line-break: strict; word-break: normal; overflow-wrap: anywhere; }
a { color: var(--color-accent); text-underline-offset: 0.22em; transition: color 150ms; }
a:hover { color: var(--color-accent-hover); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.nobr { white-space: nowrap; }
.muted { color: var(--color-muted); font-size: 0.89rem; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em; word-break: auto-phrase; text-wrap: balance; }
.phrase { display: inline-block; }
h2 { font-size: 32px; line-height: 1.5; margin: 0 0 1.5rem; }
h3 { font-size: 21px; line-height: 1.5; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }

header.site { border-bottom: 1px solid var(--color-line); background: var(--color-bg); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 88px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--color-text); text-decoration: none; }
.brand img { border-radius: 7px; }
header nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
header nav a { color: var(--color-text); text-decoration: none; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
header nav a:hover { color: var(--color-accent); }

.hero .hero-grid { display: grid; grid-template-columns: 52fr 48fr; grid-template-areas: 'text card' 'actions card'; column-gap: 64px; align-content: center; align-items: end; min-height: 650px; padding-top: 48px; padding-bottom: 48px; }
.hero-text { grid-area: text; }
.hero-actions { grid-area: actions; align-self: start; }
.hero-card { grid-area: card; align-self: center; }
.kicker { color: var(--color-accent); font-size: 15px; letter-spacing: 0.12em; margin-bottom: 1rem; }
.hero h1 { font-size: 50px; line-height: 1.5; margin: 0 0 1.25rem; }
.lead { color: var(--color-muted); font-size: 19px; }
.actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.6rem; border-radius: 8px; background: var(--color-accent); color: #FFF; font-size: 16px; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--color-accent-hover); color: #FFF; }
.text-link { font-size: 16px; }
.status { margin-top: 0.75rem; color: var(--color-muted); font-size: 15px; border-left: 3px solid var(--color-accent); padding-left: 0.6rem; }
.hero-card { margin: 0; justify-self: center; position: relative; padding: 32px; z-index: 0; }
.hero-card::before { content: ''; position: absolute; inset: 8% -4% 4%; background: var(--color-quiet); border-radius: 50%; z-index: -1; }
.hero-card img { display: block; width: 312px; border: 1px solid var(--color-line); background: var(--color-surface); box-shadow: 0 14px 34px rgb(38 41 35 / 0.12); transform: rotate(-2deg); }
.hero-card figcaption { margin-top: 1.2rem; font-size: 14px; color: var(--color-muted); max-width: 312px; line-height: 1.7; }

.facts { background: var(--color-quiet); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.facts-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 0; min-height: 76px; align-items: center; }
.facts-row > span { font-family: var(--font-display); font-weight: 600; font-size: 21px; padding: 0 2.2rem; }
.facts-row > span + span { border-left: 1px solid var(--color-accent); }

.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--color-line); }
#how-to h2, .features h2 { text-align: center; }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.steps li { border-top: 2px solid var(--color-text); padding-top: 1.2rem; }
.num { display: block; font-family: var(--font-display); color: var(--color-accent); font-size: 28px; font-weight: 600; line-height: 1; margin-bottom: 0.8rem; }
.steps p, .feature-grid p { color: var(--color-muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 2.5rem; }
.feature-grid > div { border-left: 1px solid var(--color-line); padding-left: 1.4rem; }

.pricing { background: var(--color-quiet); padding: var(--section) 0; }
.pricing-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.price { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--color-accent); line-height: 1.4; margin: 0; }
.price-unit { display: block; font-size: 17px; color: var(--color-muted); font-family: var(--font-body); font-weight: 400; }
.price-terms p { font-size: 17px; }

#faq details { border-bottom: 1px solid var(--color-line); }
#faq summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 700; padding: 0.6rem 0; }
#faq details p { color: var(--color-muted); font-size: 17px; }
.links { padding-left: 1.2rem; }

.prose { padding-top: 56px; padding-bottom: 32px; }
.prose h1 { font-size: 40px; line-height: 1.5; margin: 0 0 1.5rem; }
.prose h2 { font-size: 26px; margin: 2.5rem 0 1rem; padding-top: 1.2rem; border-top: 1px solid var(--color-line); }
.crumbs { font-size: 14px; color: var(--color-muted); margin-bottom: 1.5rem; }

footer.site { border-top: 1px solid var(--color-line); padding: 2.5rem 0 3.5rem; margin-top: var(--section); font-size: 15px; color: var(--color-muted); }

@media (max-width: 768px) {
  :root { --gutter: 22px; --section: 56px; }
  body { font-size: 17px; }
  h2 { font-size: 26px; }
  header nav { gap: 1rem; }
  header nav a { font-size: 15px; }
  .header-row { min-height: 64px; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .hero .hero-grid { grid-template-columns: 1fr; grid-template-areas: 'text' 'card' 'actions'; gap: 16px; min-height: 0; padding-top: 32px; }
  .hero-card { justify-self: center; }
  .hero h1 { font-size: 34px; line-height: 1.55; }
  .lead { font-size: 17px; }
  .hero-card { padding: 16px; }
  .hero-card img { width: 260px; }
  .hero-actions .button { width: 100%; }
  .facts-row > span { font-size: 17px; padding: 0 0.9rem; }
  .steps, .feature-grid, .pricing-row { grid-template-columns: 1fr; gap: 2rem; }
  .steps li { display: grid; grid-template-columns: 3rem 1fr; column-gap: 0.5rem; }
  .steps li .num { grid-row: span 2; }
  .price { font-size: 32px; }
  .prose h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
