/* Furtune site (homepage + コラム). Brand tokens are filled from site.config.json by build_site.py. Light theme only. */
:root {
  --forest: #133C33;
  --forest2: #1D5246;
  --honey: #F2B33D;
  --honey-soft: #FCEBC4;
  --honey-ink: #8A5A12;
  --cream: #FAF0DE;
  --card: #FFFCF6;
  --ink: #1F1B16;
  --muted: #6B6256;
  --line: #EEE2CC;
  --sage: #E4ECE5;
  --tile: #FCEFD8;
  --wrap: 1080px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.85 var(--font); font-feature-settings: "palt" 0; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; line-break: strict; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
h1, h2, h3 { word-break: auto-phrase; text-wrap: balance; color: var(--ink); line-height: 1.4; margin: 0; font-weight: 900; letter-spacing: 0.01em; }
h1 { font-size: clamp(26px, 6vw, 44px); }
h2 { font-size: clamp(22px, 4.6vw, 32px); }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 240, 222, 0.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); font-weight: 900; font-size: 19px; letter-spacing: 0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--forest); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 12px; background: var(--forest); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
.btn:hover { background: var(--forest2); }
.btn-honey { background: var(--honey); color: var(--forest); }
.btn-honey:hover { background: #E8A62C; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* Store buttons (text badges; swap for official badges if desired) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-btn { display: inline-flex; flex-direction: row; align-items: center; gap: 10px; min-width: 176px; min-height: 54px; padding: 6px 18px 6px 14px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; line-height: 1.25; }
.store-text { display: flex; flex-direction: column; }
.store-logo { width: 28px; height: 28px; flex: none; }
.store-btn.small .store-logo { width: 24px; height: 24px; }
.store-btn:hover { background: #2a2a2a; }
.store-pre { font-size: 11px; opacity: 0.85; }
.store-name { font-size: 17px; font-weight: 700; }
.store-btn.small { min-width: 150px; min-height: 48px; }
.store-soon { display: inline-block; padding: 10px 16px; border-radius: 12px; border: 1px dashed var(--muted); color: var(--muted); font-size: 14px; }

/* Home: hero */
.hero { background: var(--forest); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 44px 0 0; }
.hero h1 { color: #fff; font-size: clamp(28px, 7.4vw, 50px); line-height: 1.32; }
.hero h1 .accent { color: var(--honey); }
.hero .intro { font-size: 16px; color: rgba(255, 255, 255, 0.88); max-width: 32em; margin: 16px 0 24px; }
.hero .note { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-top: 14px; }
.hero .store-btn { background: #fff; color: #111; }
.hero .store-btn:hover { background: var(--honey-soft); }
.hero .store-soon { border-color: rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.85); }
.hero-art { position: relative; align-self: end; display: flex; justify-content: center; align-items: flex-end; min-height: 250px; }
.hero-art .room { position: absolute; inset: auto 0 0 0; height: 70%; background: var(--honey); border-radius: 200px 200px 0 0; opacity: 0.18; }
.hero-art .main { position: relative; width: min(280px, 64vw); z-index: 2; }
.hero-art .side { position: relative; width: min(130px, 28vw); z-index: 1; margin: 0 -18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li { font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; }
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 72px 0 0; }
  .hero .copy { padding-bottom: 72px; }
  .hero-art { min-height: 420px; }
}

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--card); }
.section .sub { color: var(--muted); margin: 10px 0 32px; text-wrap: pretty; }
/* Japanese phrases that should wrap as a unit (break only between them) */
.nb { display: inline-block; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--honey-ink); letter-spacing: 0.08em; margin-bottom: 6px; }
@media (min-width: 860px) { .section { padding: 88px 0; } }

/* Feature cards */
.features { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
.section.alt .feature { background: var(--cream); }
.feature img { width: 64px; height: 64px; border-radius: 16px; background: var(--tile); object-fit: contain; }
.feature h3 { margin: 2px 0 6px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 900; color: var(--forest); background: var(--honey); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; letter-spacing: 0.04em; }

/* Split block (もふもふハウス, privacy) */
.split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split ul { padding-left: 1.2em; margin: 0 0 1em; }
.split li { margin: 0 0 8px; }
.roomshot { border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(31, 27, 22, 0.12); }
.mascots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mascots figure { margin: 0; text-align: center; }
.mascots img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--tile); border-radius: 18px; padding: 6px; }
.mascots figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* Honest limits */
.limits { background: var(--card); border: 2px solid var(--honey); border-radius: 22px; padding: 22px 22px 8px; }
.limits h2 { font-size: clamp(20px, 4.4vw, 26px); margin-bottom: 12px; }
.limits ul { padding-left: 1.2em; margin: 0 0 14px; }
.limits li { margin-bottom: 8px; }

/* Pricing table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; background: var(--card); border-radius: 14px; overflow: hidden; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--sage); font-weight: 700; }
td.c, th.c { text-align: center; }
th:first-child, td:first-child { width: 48%; }
@media (max-width: 480px) { th, td { padding: 9px 8px; font-size: 13.5px; } }
.yes { color: var(--forest); font-weight: 900; }
.no { color: var(--muted); }
.price-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 0 0 10px; }
.section.alt .faq details { background: var(--cream); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--forest); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* Download */
.download-sec { text-align: center; background: var(--forest); color: #fff; }
.download-sec h2 { color: #fff; }
.download-sec p { color: rgba(255, 255, 255, 0.85); }
.download-sec .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 18px; }
.download-sec .stores { justify-content: center; }
.download-sec .store-btn { background: #fff; color: #111; }
.download-sec .store-soon { border-color: rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.85); }

/* Article list (home + コラム) */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.post-list li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.post-list a { font-weight: 700; text-decoration: none; font-size: 17px; line-height: 1.5; }
.post-list p { margin: 6px 0 4px; color: var(--muted); font-size: 14.5px; }
.post-list time { font-size: 12px; color: var(--muted); }
.more { margin-top: 16px; }
.empty { color: var(--muted); }

/* Article pages */
body.sub main { padding: 20px 0 56px; }
.crumbs, .byline { color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--muted); }
.post h1 { font-size: clamp(24px, 6vw, 36px); margin: 12px 0 8px; }
.post h2 { font-size: clamp(20px, 5vw, 26px); margin: 2em 0 0.6em; padding-left: 12px; border-left: 5px solid var(--honey); }
.post h3 { margin: 1.6em 0 0.4em; }
.post p, .post li { font-size: 16.5px; }
.post ul, .post ol { padding-left: 1.4em; }
.post li { margin-bottom: 0.4em; }
.hero-img { width: 100%; border-radius: 16px; margin: 14px 0 22px; }
blockquote { margin: 1em 0; padding: 0.6em 1em; border-left: 4px solid var(--honey); background: var(--card); }
.download { margin: 18px 0; }
.lede { font-size: 17px; color: var(--muted); }
.cta-box { background: var(--card); border: 2px solid var(--honey); border-radius: 20px; padding: 22px; margin: 44px 0; text-align: center; }
.cta-box img { width: 96px; height: 96px; margin: 0 auto 8px; }
.cta-box h2 { font-size: 20px; margin-bottom: 8px; }
.cta-box .stores { justify-content: center; }
.related h2 { font-size: 20px; margin: 0 0 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 32px 0; font-size: 14px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--ink); text-decoration: none; }
.legal { font-size: 12px; margin: 18px 0 0; }

/* Homepage: the two core strengths (no linking = privacy; manual entry = awareness) */
.why { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 8px; }
@media (min-width: 760px) { .why { grid-template-columns: 1fr 1fr; gap: 22px; } }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px 22px; }
.why-card img { width: 72px; height: 72px; border-radius: 18px; background: var(--tile); object-fit: contain; display: block; margin-bottom: 12px; }
.why-card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.45; }
.why-card p { margin: 0 0 10px; font-size: 15px; color: var(--muted); }
.why-card p:last-child { margin-bottom: 0; }
