/* =========================================================
   よやくの相棒 — LP・申し込み・規約ページ共通
   あたたかいクリーム地 × 深いみどり × コーラルのアクセント
========================================================= */
:root {
  --bg: #fbf8f3;
  --paper: #ffffff;
  --ink: #26303a;
  --sub: #55606b;
  --line: #e6ded2;
  --main: #2f6f6a;
  --main-dark: #1f4f4b;
  --main-soft: #e5f0ee;
  --coral: #e07a5f;
  --coral-soft: #fbe9e3;
  --sun: #f2c14e;
  --radius: 20px;
  --shadow: 0 2px 4px rgba(60, 40, 20, .04), 0 12px 32px rgba(60, 40, 20, .08);
  --round: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'BIZ UDPGothic', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'BIZ UDPGothic', 'Hiragino Sans', 'Yu Gothic', sans-serif; font-size: 17px; line-height: 1.9; letter-spacing: .03em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--main); }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--round); font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.wide { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.eyebrow { display: inline-block; margin: 0 0 8px; padding: 2px 14px; border-radius: 99px; background: var(--coral-soft); color: #b5523a; font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.lead { font-size: 18px; color: var(--sub); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  min-height: 52px; padding: 10px 24px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper);
  color: var(--ink); font: inherit; font-weight: 700; letter-spacing: .06em;
}
.btn.primary { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(224, 122, 95, .35); }
.btn.primary:hover { background: #d0664b; border-color: #d0664b; }
.btn.big { min-height: 62px; font-size: 19px; padding: 12px 34px; }
.btn.ghost { border-color: var(--main); color: var(--main); background: transparent; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- ヘッダー ---------- */
.site-head, .mini-head {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 20px; background: rgba(251, 248, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--round); font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--main); color: #fff; font-size: 18px; }
.site-head .btn { min-height: 44px; padding: 6px 18px; font-size: 15px; }

/* ---------- ヒーロー ---------- */
.hero { padding: 48px 0 56px; background: radial-gradient(1000px 420px at 85% 0%, #f6e3d6 0%, transparent 60%), radial-gradient(800px 400px at 0% 100%, #e1efe9 0%, transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4.6vw, 44px); margin: 0 0 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, #f8d9a8 62%); }
.hero .lead { margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--sub); margin: 10px 0 0; }
.hero-shot { position: relative; justify-self: center; }
.hero-shot img { width: 290px; border-radius: 34px; border: 9px solid #1f2328; box-shadow: var(--shadow); background: #fff; }
.hero-badge {
  position: absolute; left: -36px; bottom: 40px; background: var(--paper); border-radius: 16px; padding: 10px 14px;
  box-shadow: var(--shadow); font-size: 14px; font-weight: 700; line-height: 1.5;
}
.hero-badge b { color: var(--coral); font-size: 22px; }

/* ---------- セクション ---------- */
.sec { padding: 72px 0; }
.sec.alt { background: var(--paper); }
.sec-title { text-align: center; font-size: clamp(24px, 3.6vw, 32px); margin: 0 0 12px; }
.sec-lead { text-align: center; color: var(--sub); margin: 0 auto 40px; max-width: 640px; }

.worries { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; display: grid; gap: 12px; }
.worries li { background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 18px 14px 50px; position: relative; }
.worries li::before { content: '✕'; position: absolute; left: 18px; top: 14px; color: var(--coral); font-weight: 700; }
.relief { text-align: center; margin: 36px 0 0; font-family: var(--round); font-size: 22px; font-weight: 700; color: var(--main-dark); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.feature { background: var(--bg); border-radius: var(--radius); padding: 26px 24px; }
.sec:not(.alt) .feature { background: var(--paper); box-shadow: var(--shadow); }
.feature h3 { margin: 0 0 6px; font-size: 21px; display: flex; align-items: center; gap: 10px; }
.feature h3 .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--main-soft); font-size: 20px; flex: none; }
.feature ul { margin: 10px 0 0; padding-left: 1.2em; }
.feature li { margin: 6px 0; }
.feature img { margin-top: 16px; border-radius: 14px; border: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split + .split { margin-top: 64px; }
.split.rev > :first-child { order: 2; }
.split h3 { font-size: 24px; margin: 0 0 10px; }
.check-list { list-style: none; padding: 0; margin: 14px 0 0; }
.check-list li { position: relative; padding-left: 32px; margin: 10px 0; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--main); color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 700; }
.phone-shot { width: 270px; margin: 0 auto; border-radius: 30px; border: 8px solid #1f2328; box-shadow: var(--shadow); background: #fff; }

.theme-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.theme-row figure { margin: 0; text-align: center; font-size: 14px; color: var(--sub); }
.theme-row img { width: 200px; border-radius: 22px; border: 6px solid #1f2328; box-shadow: var(--shadow); margin-bottom: 8px; background: #fff; }

/* 料金 */
.price-box { max-width: 680px; margin: 0 auto; background: var(--paper); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; border: 2px solid var(--main); }
.price-top { background: var(--main); color: #fff; text-align: center; padding: 22px 20px 18px; }
.price-top p { margin: 0; }
.price-free { font-family: var(--round); font-size: 22px; font-weight: 700; }
.price-free b { font-size: 34px; color: var(--sun); }
.price-main { padding: 26px 26px 30px; text-align: center; }
.price-yen { font-family: var(--round); font-weight: 700; font-size: 20px; margin: 0; }
.price-yen b { font-size: 56px; letter-spacing: 0; color: var(--main-dark); }
.price-day { color: var(--sub); margin: 0 0 18px; }
.price-inc { text-align: left; list-style: none; padding: 0; margin: 0 auto; max-width: 480px; }
.price-inc li { padding: 10px 0 10px 34px; border-bottom: 1px dashed var(--line); position: relative; }
.price-inc li::before { content: '✓'; position: absolute; left: 4px; color: var(--main); font-weight: 700; }
.ai-note { margin: 24px auto 0; max-width: 560px; background: var(--coral-soft); border-radius: 18px; padding: 18px 20px; text-align: left; }
.ai-note b { color: #b5523a; }
.ai-note p { margin: 6px 0 0; font-size: 15px; }

/* 流れ */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: f; }
.flow li { list-style: none; background: var(--paper); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); position: relative; }
.flow li::before { counter-increment: f; content: counter(f); position: absolute; top: -16px; left: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--round); font-weight: 700; display: grid; place-items: center; font-size: 20px; }
.flow h3 { margin: 8px 0 6px; font-size: 19px; }
.flow p { margin: 0; color: var(--sub); font-size: 15px; }
.flow-help { text-align: center; margin: 32px 0 0; }

.safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.safe { background: var(--bg); border-radius: 18px; padding: 22px 20px; }
.safe h3 { margin: 0 0 6px; font-size: 18px; }
.safe p { margin: 0; font-size: 15px; color: var(--sub); }

/* 運営者 */
.profile { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: center; max-width: 760px; margin: 0 auto; }
.profile-icon { width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg, var(--main-soft), var(--coral-soft)); display: grid; place-items: center; font-family: var(--round); font-size: 40px; font-weight: 700; color: var(--main-dark); }
.profile h3 { margin: 0 0 4px; font-size: 22px; }
.profile .role { margin: 0 0 10px; color: var(--sub); font-size: 15px; }
.profile p { margin: 0 0 8px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--paper); border-radius: 14px; margin-bottom: 10px; border: 1.5px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; color: var(--coral); font-family: var(--round); margin-right: 10px; }
.faq summary::after { content: '＋'; position: absolute; right: 18px; top: 16px; color: var(--main); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 20px 18px 46px; color: var(--sub); }

.final { text-align: center; padding: 80px 0; background: linear-gradient(180deg, var(--bg), #f3e9dc); }
.final h2 { font-size: clamp(24px, 3.8vw, 34px); margin: 0 0 8px; }
.final p { color: var(--sub); }

.site-foot { text-align: center; padding: 28px 20px 40px; font-size: 14px; color: var(--sub); }
.site-foot a { color: var(--sub); margin: 0 10px; display: inline-block; }
.site-foot small { display: block; margin-top: 10px; }

/* スマホで下に出る申し込みボタン */
.float-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: none; }
.float-cta .btn { width: 100%; }

/* 規約などの文章ページ */
.simple-page main { padding-top: 48px; padding-bottom: 60px; }
.doc h1 { font-size: 26px; margin: 0 0 6px; }
.doc h2 { font-size: 19px; margin: 32px 0 8px; }
.doc p, .doc li { font-size: 16px; }
.doc table { width: 100%; border-collapse: collapse; background: var(--paper); }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; font-size: 15px; }
.doc th { width: 34%; background: #f6f1e9; }
.todo { background: #fff3c4; padding: 0 4px; border-radius: 4px; }
.draft-note { background: #fff3c4; border-radius: 12px; padding: 12px 16px; font-size: 14px; }

@media (max-width: 820px) {
  .hero { padding-top: 28px; }
  .hero-in, .split, .profile { grid-template-columns: 1fr; }
  .hero-shot { order: 2; }
  .hero-badge { left: -10px; }
  .split.rev > :first-child { order: 0; }
  .feature-grid, .flow, .safe-grid { grid-template-columns: 1fr; }
  .flow { gap: 30px; }
  .profile { text-align: center; }
  .profile-icon { margin: 0 auto; }
  .sec { padding: 56px 0; }
  .float-cta { display: block; }
  body.lp { padding-bottom: 84px; }
  .site-head .btn { display: none; }
}

/* 5つの声（2026-11-11） */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.voice { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 22px 20px; }
.v-q { position: relative; margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; background: var(--coral-soft); font-family: var(--round); font-weight: 700; font-size: 18px; }
.v-q::after { content: ''; position: absolute; left: 26px; bottom: -10px; border: 10px solid transparent; border-top-color: var(--coral-soft); border-bottom: 0; }
.v-q b { color: #b5523a; }
.v-a { margin: 0; padding-left: 34px; position: relative; }
.v-a::before { content: '→'; position: absolute; left: 4px; top: 0; color: var(--main); font-weight: 700; }
.v-a b { color: var(--main-dark); display: block; }
.small-note { font-size: 15px; color: var(--sub); }
.voices + .relief { margin-top: 44px; }
