/* すみろぐ 紹介サイト（見本）
   色はアプリと同じ：紙 #faf7f2／オレンジ #e8833a／みどり #5b8c5a／こげ茶 */
:root {
  --paper: #faf7f2;
  --sand: #f3e8d8;
  --sand-deep: #e9d8bf;
  --orange: #e8833a;
  --orange-ink: #b85e1f;
  --green: #5b8c5a;
  --green-soft: #e3eedf;
  --ink: #4a3628;
  --ink-soft: #77624f;
  --line: #e4d6c2;
  --radius-l: 36px;
  --radius-m: 20px;
  --wrap: 1080px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "M PLUS Rounded 1c", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt" 0;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 見本の帯 */
.sample-bar {
  background: var(--sand);
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
  padding: 6px 16px;
  line-height: 1.6;
}

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--wrap); margin: 0 auto;
  padding: 14px 24px;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(8px);
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 22%; }
.brand-name { font-weight: 900; font-size: 22px; letter-spacing: .06em; }
.brand-kari { font-size: 12px; color: var(--ink-soft); margin-left: -4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--orange); color: #fff;
  font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--orange-ink);
  transition: transform .12s, box-shadow .12s;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--orange-ink); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; box-shadow: 0 3px 0 var(--orange-ink); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-ghost:active { transform: translateY(1px); box-shadow: inset 0 0 0 2px var(--ink); }
.btn svg { width: 22px; height: 22px; }

main > section { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ヒーロー */
.hero {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 32px;
  padding-top: 48px !important;
  padding-bottom: 96px !important;
}
.catch {
  font-weight: 900;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.5;
  letter-spacing: .04em;
}
.catch span { display: block; white-space: nowrap; }
.catch span + span { padding-left: .6em; }
.lead { margin-top: 28px; font-size: 18px; max-width: 30em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 60px; padding: 8px 22px;
  border-radius: 16px;
  background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.4;
}
.store small { font-size: 11px; font-weight: 500; opacity: .8; letter-spacing: .08em; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--green); font-weight: 700; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
/* アプリのお部屋と同じ「斜めから見た部屋の角」を、うすい線で背景に */
.room-floor {
  position: absolute; inset: 0;
  margin: auto;
  width: min(460px, 100%); aspect-ratio: 1 / 1.05;
}
.room-floor::before, .room-floor::after { content: ""; position: absolute; inset: 0; }
.room-floor::before { /* 壁 */
  background: var(--sand);
  clip-path: polygon(50% 0, 100% 24%, 100% 66%, 50% 42%, 0 66%, 0 24%);
}
.room-floor::after { /* 床 */
  background: var(--sand-deep);
  clip-path: polygon(50% 42%, 100% 66%, 50% 90%, 0 66%);
}

.phone {
  position: relative;
  width: 270px;
  padding: 10px;
  border-radius: 46px;
  background: var(--ink);
  box-shadow: 0 30px 50px -28px rgba(74, 54, 40, .55);
}
.phone img { border-radius: 36px; width: 100%; }
.phone-hero { width: 290px; z-index: 1; }

/* 価値3つ */
.values { padding-bottom: 120px !important; }
.value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value-icon {
  width: 72px; height: 72px; padding: 14px;
  border-radius: 50%; background: var(--sand);
}
.value-list h3 { margin-top: 18px; font-size: 20px; font-weight: 900; line-height: 1.5; }
.value-list p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

/* 見出し */
.section-title { font-weight: 900; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.5; letter-spacing: .04em; }
.section-lead { margin-top: 12px; color: var(--ink-soft); max-width: 34em; }

/* 機能 */
.features { padding-bottom: 80px !important; }
.features > .section-title { text-align: center; margin-bottom: 40px; }
.feature {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 80px;
  max-width: 900px; margin: 0 auto;
  padding: 56px 0;
}
.feature + .feature { border-top: 2px dotted var(--line); }
.feature:nth-of-type(even) { grid-template-columns: auto 1fr; }
.feature:nth-of-type(even) .phone { order: -1; }
.feature-text { max-width: 30em; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px 4px 8px;
  border-radius: 999px; background: var(--sand);
  font-size: 14px; font-weight: 700;
}
.tag svg { width: 24px; height: 24px; }
.soon {
  margin-left: 4px; padding: 0 8px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 12px;
}
.feature h3 { margin-top: 16px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.5; }
.feature-text > p:not(.tag):not(.sub) { margin-top: 14px; }
.sub { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }

/* 対応している子 */
.species { text-align: center; padding-top: 40px !important; padding-bottom: 120px !important; }
.species .section-lead { margin-left: auto; margin-right: auto; }
.species-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 28px;
  margin-top: 36px;
}
.species-list li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.species-list svg {
  width: 76px; height: 76px; padding: 12px;
  border-radius: 50%; background: #fff;
  box-shadow: inset 0 0 0 2px var(--line);
}
.friends { margin: 40px auto 0; width: min(720px, 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 70%, transparent 100%); }

/* 約束 */
.promise { padding-bottom: 120px !important; }
.promise-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px;
  margin-top: 32px;
}
.promise-list > div { padding: 24px 0; border-top: 2px solid var(--line); }
.promise-list dt { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; }
.promise-list dt svg { width: 32px; height: 32px; flex: none; }
.promise-list dd { margin-top: 8px; padding-left: 42px; color: var(--ink-soft); font-size: 15px; }

/* 寄付 */
.donate { padding-bottom: 120px !important; }
.donate-inner {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start;
  background: var(--sand); border-radius: var(--radius-l);
  padding: 56px;
}
.donate-art { width: 100%; border-radius: 50%; background: #f9f5ee; padding: 40px; }
.donate-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.donate-list h3 { font-size: 18px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.donate-list h3::before {
  content: ""; width: 14px; height: 13px; flex: none;
  background: var(--orange);
  clip-path: path("M7 13 C3 10 0 7.6 0 4.2 0 1.8 1.8 0 4 0 5.3 0 6.4.6 7 1.6 7.6.6 8.7 0 10 0 12.2 0 14 1.8 14 4.2 14 7.6 11 10 7 13Z");
}
.donate-list p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.donate-plan {
  margin-top: 28px; padding: 20px 24px;
  border-radius: var(--radius-m); background: var(--paper);
  font-size: 15px;
}
.donate-plan p + p { margin-top: 6px; }
.donate-plan strong { font-weight: 900; }
.placeholder-link { color: var(--ink-soft); text-decoration: underline dotted; text-underline-offset: 4px; }

/* パートナー */
.partners { padding-bottom: 120px !important; }
.partner-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.partner-slots li {
  display: grid; place-items: center;
  height: 104px; border-radius: var(--radius-m);
  border: 2px dashed var(--sand-deep);
  color: #9c8673; font-size: 14px; font-weight: 700;
}
.partners-rule { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }
.partners .btn-ghost { margin-top: 24px; }

/* 締め */
.notify {
  text-align: center;
  padding: 72px 24px 96px !important;
  max-width: none !important;
  background: var(--green-soft);
}
.notify-mark { width: 72px; height: 72px; border-radius: 22%; margin: 0 auto; display: block; }
.notify h2 { margin-top: 12px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; line-height: 1.5; }
.notify > p { margin-top: 8px; color: var(--ink-soft); }
.notify-form {
  display: flex; gap: 10px; justify-content: center;
  max-width: 520px; margin: 28px auto 0;
}
.notify-form input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 20px;
  border: 2px solid #c9d9c4; border-radius: 999px; background: #fff;
  font: inherit; color: var(--ink);
}
.notify-form input:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
.notify-msg { margin-top: 14px; min-height: 1.9em; font-weight: 700; color: var(--green); }

/* フッター */
.site-footer {
  background: var(--ink); color: var(--paper);
  padding: 48px 24px 32px;
}
.site-footer > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer .brand-kari { color: #cbb9a6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.ads { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(250, 247, 242, .2); }
.ads h2 { font-size: 14px; font-weight: 700; }
.ads p { margin-top: 4px; font-size: 12.5px; line-height: 1.8; color: #e2d4c3; }
.operator { margin-top: 24px; font-size: 13px; }
.copy { font-size: 12px; color: #cbb9a6; }

/* スマホ */
@media (max-width: 820px) {
  body { font-size: 15px; }
  .site-header { padding: 10px 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 19px; }
  main > section { padding-left: 20px; padding-right: 20px; }

  .hero { grid-template-columns: 1fr; padding-top: 28px !important; padding-bottom: 72px !important; gap: 24px; }
  .catch { font-size: min(34px, calc((100vw - 40px) / 12.6)); }
  .catch span + span { padding-left: 0; }
  .lead { margin-top: 18px; font-size: 16px; }
  .stores { margin-top: 24px; }
  .store { flex: 1 1 140px; padding: 8px 16px; }
  .hero-visual { min-height: 0; padding: 12px 0; }
  .room-floor { width: 100%; }
  .phone-hero { width: 230px; }

  .values { padding-bottom: 80px !important; }
  .value-list { grid-template-columns: 1fr; gap: 28px; }
  .value-list li { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; }
  .value-icon { width: 60px; height: 60px; padding: 12px; grid-row: span 2; }
  .value-list h3 { margin-top: 0; font-size: 18px; }
  .value-list p { margin-top: 2px; }

  .features > .section-title { margin-bottom: 8px; }
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .feature:nth-of-type(even) .phone { order: 0; }
  .feature .phone { width: 220px; justify-self: center; border-radius: 38px; padding: 8px; }
  .feature .phone img { border-radius: 30px; }

  .species { padding-bottom: 80px !important; }
  .species-list { gap: 16px 12px; }
  .species-list li { width: 72px; font-size: 13px; }
  .species-list svg { width: 60px; height: 60px; padding: 10px; }

  .promise { padding-bottom: 80px !important; }
  .promise-list { grid-template-columns: 1fr; }
  .promise-list dt { font-size: 17px; }

  .donate { padding-left: 12px !important; padding-right: 12px !important; padding-bottom: 80px !important; }
  .donate-inner { grid-template-columns: 1fr; gap: 16px; padding: 32px 20px; border-radius: 28px; }
  .donate-art { width: 180px; margin: 0 auto; padding: 18px; }
  .donate-list { grid-template-columns: 1fr; gap: 18px; }
  .donate-plan { padding: 16px 18px; }

  .partners { padding-bottom: 80px !important; }
  .partner-slots { grid-template-columns: 1fr 1fr; gap: 12px; }
  .partner-slots li { height: 80px; font-size: 13px; }
  .partners .btn-ghost { width: 100%; }

  .notify-form { flex-direction: column; }
  .notify-form .btn { width: 100%; }
}

/* 準備中ページ */
.page-soon { max-width: 640px; margin: 0 auto; padding: 72px 24px 120px; min-height: 60vh; }
.page-soon p { margin-top: 16px; color: var(--ink-soft); }
.page-soon .btn { margin-top: 16px; }
.site-footer .brand-mark { border-radius: 22%; }

/* 規約・運営者ページ */
.legal section { margin-top: 32px; }
.legal h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.85; }
.legal p { margin-top: 10px; }
.legal ul { margin: 10px 0 0; padding-left: 1.3em; }
.legal li + li { margin-top: 6px; }
.legal a:not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer > .footer-nav { margin-bottom: 20px; }

/* コラム（app/scripts/column-gen.mjs が docs/columns/*.md から作る） */
.column-meta { font-size: 14px; color: var(--ink-soft); display: flex; gap: 6px; }
.page-soon .column-meta { margin-top: 0; }
.column-meta a { color: var(--green); font-weight: 700; text-decoration: none; }
.column .section-title { margin-top: 8px; }
.column-body > p:first-child { margin-top: 20px; }
.column-body strong { color: var(--ink); }
.page-soon .column-note { margin-top: 36px; padding: 14px 18px; border-radius: var(--radius-m); background: var(--sand); font-size: 14px; color: var(--ink-soft); }
.pr { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.page-soon .pr-label { margin-top: 0; font-size: 12px; color: var(--ink-soft); letter-spacing: .08em; }
.pr-slot { display: flex; flex-direction: column; align-items: center; }
.pr-slot a img { max-width: none; } /* 素材は加工せず等倍 */
.pr-px { position: absolute; width: 1px; height: 1px; opacity: 0; }
.column-list { margin-top: 28px; display: grid; gap: 14px; }
.column-list a { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--radius-m); background: #fff; border: 2px solid var(--line); text-decoration: none; }
.column-list a:hover { border-color: var(--orange); }
.column-list-title { font-weight: 900; font-size: 17px; line-height: 1.5; }
.column-list-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.column-list time { font-size: 12px; color: var(--ink-soft); }
.column-body ul { list-style: disc; }
.column-body li::marker { color: var(--orange); }
.column h1 { text-wrap: balance; }
.column-list-cat { justify-self: start; font-size: 12px; font-weight: 700; color: var(--orange); }
.column-filter { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.pr[hidden], .column-list li[hidden], .column-filter[hidden] { display: none; }
