/* おえかきフレンズ LP 共通スタイル */
:root {
  --ink: #2B2620;
  --muted: #5C544A;
  --cream: #FFFBF2;
  --white: #FFFFFF;
  --line: #E6DFD3;
  --orange: #B4410C;
  --blue: #1D4ED8;
  --yellow-bg: #FFF3D6;
  --blue-bg: #E3EEFF;
  --green-bg: #E4F4E4;
  --purple-bg: #F3E8FF;
  --round: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: #1E3A8A; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.band { background: var(--white); }
section { padding: 72px 0; }
h1, h2 { font-family: var(--round); font-weight: 800; line-height: 1.35; }
h2 { font-size: clamp(26px, 4vw, 32px); margin: 0 0 32px; text-align: center; }

.nb { display: inline-block; } /* 見出しを文節の途中で改行させない */

/* ヘッダー */
.site-header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-family: var(--round); font-weight: 800; font-size: 22px; }
.header-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pill { font-weight: 700; text-decoration: none; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--ink); color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.lang { font-size: 14px; color: var(--muted); text-decoration: none; padding: 8px; min-height: 44px; display: inline-flex; align-items: center; }

/* ファーストビュー */
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 32px; }
.hero-text { flex: 999 1 460px; min-width: 0; }
.eyebrow { margin: 0 0 10px; font-weight: 700; color: var(--orange); }
.hero h1 { margin: 0; font-size: clamp(32px, 5.2vw, 56px); }
.lead { margin: 22px 0 0; font-size: 18px; max-width: 34em; }
.stores { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.store { font-weight: 700; padding: 12px 22px; border-radius: 14px; min-height: 48px; display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.3; border: 2px solid var(--ink); text-decoration: none; }
.store.dark { background: var(--ink); color: var(--white); }
.store.light { background: var(--white); color: var(--ink); }
.store small { font-weight: 400; font-size: 12px; }
.note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.hero-art { flex: 1 1 300px; display: flex; justify-content: center; }
.phone { width: 300px; max-width: 100%; aspect-ratio: 300 / 600; border-radius: 44px; background: var(--ink); padding: 12px; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: var(--white); }

/* できること */
.features { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { border-radius: 24px; padding: 28px; }
.feature h3 { margin: 12px 0 8px; font-size: 20px; line-height: 1.5; }
.feature p { margin: 0; }
.f1 { background: var(--yellow-bg); } .f2 { background: var(--blue-bg); } .f3 { background: var(--green-bg); } .f4 { background: var(--purple-bg); }

/* ぬりえ見本 */
.samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; max-width: 760px; margin: 0 auto; }
.samples figure { margin: 0; background: var(--white); border: 2px solid var(--line); border-radius: 24px; padding: 16px; }
.samples figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }

/* AI */
.ai { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.ai-text { flex: 999 1 460px; min-width: 0; }
.ai-text h2 { text-align: left; margin-bottom: 16px; }
.ai-art { flex: 1 1 280px; min-height: 220px; border-radius: 24px; border: 2px dashed #A69C8E; display: flex; align-items: center; justify-content: center; color: var(--muted); padding: 24px; text-align: center; }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.plan { border: 2px solid var(--line); border-radius: 24px; padding: 30px; background: var(--white); }
.plan.max { border: 3px solid var(--blue); background: #F5F9FF; }
.plan h3 { margin: 0; font-size: 22px; }
.price { margin: 10px 0 0; font-size: 34px; font-weight: 700; line-height: 1.3; }
.sub { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.plan p:last-child { margin-bottom: 0; }
.center { text-align: center; }
.fine { margin: 24px auto 0; font-size: 14px; color: var(--muted); max-width: 46em; }

/* FAQ */
.faq h3 { margin: 26px 0 4px; font-size: 18px; }
.faq p { margin: 0; }

/* フッター */
.site-footer { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }

/* 文書ページ（規約など） */
.doc { padding: 40px 0 72px; }
.doc h1 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 8px; }
.doc h2 { text-align: left; font-size: 22px; margin: 40px 0 12px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; background: var(--white); }
.doc th { background: var(--yellow-bg); }
.table-scroll { overflow-x: auto; }
.doc .meta { color: var(--muted); font-size: 14px; }
.box { background: var(--white); border: 2px solid var(--line); border-radius: 20px; padding: 20px 24px; margin: 16px 0; }

/* 未確定の空欄（公開前に埋める） */
.todo { background: #FFE58A; padding: 0 4px; border-radius: 4px; }
.doc tbody th { width: 8.5em; }

/* アプリの画面写真（横長） */
.shot { border: 8px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--ink); width: 100%; max-width: 620px; }
.shot img { width: 100%; height: auto; border-radius: 18px; }
.shot.wide { max-width: 860px; margin: 0 auto; }
.hero-art { flex: 1 1 420px; }
.soon { font-size: 13px; font-weight: 700; color: var(--white); background: var(--blue); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
