/* てのひら創世記 / Little Genesis — 共通のスタイル。アプリと同じ、初夏の朝の空と若い緑 */
:root {
  --sky: #9fd0ee;
  --sky-2: #d6ecf6;
  --cream: #f4f0e3;
  --grass: #a7c673;
  --leaf: #5e9a48;
  --accent: #2f8f6b;
  --ink: #1f2328;
  --ink-2: #5e646b;
  --line: rgba(31, 35, 40, .1);
  --glass: rgba(255, 255, 255, .62);
  --radius: 26px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { display: block; max-width: 100%; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.brand { font-family: "Kiwi Maru", serif; font-weight: 500; letter-spacing: .04em; }

/* 上の帯 */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); background: rgba(244, 240, 227, .72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav a.logo { color: var(--ink); text-decoration: none; font-size: 18px; }
.nav .links { display: flex; gap: 18px; font-size: 14px; }
.nav .links a { color: var(--ink-2); text-decoration: none; }

/* はじめの画面 */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 46%, #e6f0ea 72%, var(--cream) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 72px 0 56px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.15; }
.hero .catch { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; margin-top: 18px; }
.hero p.lead { color: var(--ink-2); margin-top: 14px; font-size: 16px; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 14px; padding: 10px 18px; font-size: 15px; font-weight: 600; }
.store-badge small { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
.store-badge[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.note { font-size: 13px; color: var(--ink-2); }
.phone { width: min(320px, 78vw); margin-inline: auto; border-radius: 46px; padding: 10px; background: #111; box-shadow: 0 30px 60px rgba(40, 60, 40, .25); }
.phone img { border-radius: 38px; }

/* 節 */
section.block { padding: 72px 0; }
section.block h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.35; }
section.block .sub { color: var(--ink-2); margin-top: 10px; max-width: 40em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card { background: var(--glass); border: 1px solid rgba(255, 255, 255, .8); border-radius: var(--radius); padding: 22px; box-shadow: 0 8px 30px rgba(60, 80, 50, .08); }
.card .num { font-family: "Kiwi Maru", serif; font-size: 28px; color: var(--accent); }
.card h3 { font-size: 18px; margin-top: 4px; }
.card p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.example { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 36px; margin-top: 40px; }
.bubble { background: #fff; border-radius: 20px; padding: 14px 18px; box-shadow: 0 6px 20px rgba(60, 80, 50, .1); font-size: 17px; }
.bubble small { display: block; color: var(--ink-2); font-size: 12px; }
.arrow { text-align: center; color: var(--accent); font-size: 24px; margin: 10px 0; }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.gallery figure { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 8px 24px rgba(60, 80, 50, .1); }
.gallery figcaption { padding: 10px 12px 14px; font-size: 13px; }
.gallery figcaption b { display: block; font-size: 15px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.plan h3 { font-size: 20px; }
.plan .price { font-size: 28px; font-weight: 700; margin-top: 8px; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.plan ul { margin: 12px 0 0 1.2em; color: var(--ink-2); font-size: 15px; }
.plan.plus { border: 2px solid var(--accent); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { color: var(--ink-2); margin-top: 8px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--ink-2); }

/* 規約などの文書 */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 30px; }
.doc .updated { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.doc h2 { font-size: 19px; margin-top: 32px; }
.doc p, .doc li { margin-top: 10px; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc .callout { background: #fff; border-radius: 18px; padding: 16px 18px; margin-top: 18px; border: 1px solid var(--line); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.doc th { width: 30%; color: var(--ink-2); font-weight: 600; }

@media (max-width: 860px) {
  .hero .wrap, .example { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 48px; text-align: left; }
  .steps, .plans { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .nav .links a.hide-sm { display: none; }
}

/* サポートのお問い合わせフォーム */
.contact { display: grid; gap: 16px; margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.contact label[hidden] { display: none; }
.contact label small { color: var(--ink-2); font-weight: 400; font-size: 13px; }
.contact input, .contact select, .contact textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; width: 100%; }
.contact textarea { resize: vertical; min-height: 9em; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact button { justify-self: start; font: inherit; font-weight: 600; color: #fff; background: var(--accent); border: 0; border-radius: 999px; padding: 12px 28px; cursor: pointer; }
.contact button:disabled { opacity: .55; cursor: default; }
.contact .form-status { margin: 0; font-size: 14px; color: var(--ink-2); }
.contact .form-status.error { color: #b3401f; }
.contact .note { margin: 0; }
.contact-done { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact[hidden], .contact-done[hidden] { display: none; }
.doc h2[id] { scroll-margin-top: 72px; }
