/* 紹介ページの見本（色はロゴに合わせる） */
:root {
  --green: #207a5c;
  --green-dark: #17594a;
  --yellow: #f2b630;
  --text: #1a1a1a;
  --muted: #555;
  --bg-alt: #f2f7f4;
  --border: #c9d1d9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; } /* 上に固定した見出しの帯に隠れないように */
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  font-size: 17px; line-height: 1.8; color: var(--text); background: #fff;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.mock-banner { margin: 0; padding: .3rem; background: #fff3cd; text-align: center; font-size: .9rem; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .4em 1.4em; border-radius: 999px;
  font-size: 1.05rem; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid var(--green);
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: #fff; color: var(--green); }
.btn-small { min-height: 44px; padding: .2em 1.1em; font-size: .95rem; }
.btn-wide { width: 100%; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); border-bottom: 1px solid #e5e5e5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand img { display: block; width: 160px; height: auto; }

/* いちばん上 */
.hero { background: linear-gradient(180deg, #eaf5ef 0%, #fff 100%); padding: 48px 0 56px; }
.hero-inner { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; }
.hero-kana { margin: 0; color: var(--green); font-weight: 700; letter-spacing: .2em; }
.hero h1 { font-size: 2.3rem; line-height: 1.4; margin: .3rem 0 1rem; }
.lead { font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0 .4rem; }
.note { color: var(--muted); font-size: .9rem; }

/* スマホの枠に入れた画面 */
.phone { margin: 0; width: 280px; flex: none; }
.phone img { display: block; width: 100%; max-height: 520px; object-fit: cover; object-position: top;
  border: 8px solid #222; border-radius: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.15); background: #fff; }
.phone figcaption { text-align: center; font-size: .9rem; color: var(--muted); margin-top: .5rem; }

/* 各段 */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: 1.7rem; margin: 0 0 1.6rem; text-align: center; }
.section h2::after { content: ""; display: block; width: 48px; height: 4px; margin: .6rem auto 0; border-radius: 2px; background: var(--yellow); }

.trouble { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; display: grid; gap: 10px; }
.trouble li { background: #fff; border: 2px solid #e6e6e6; border-radius: 12px; padding: .7rem 1rem .7rem 2.6rem; position: relative; }
.trouble li::before { content: "?"; position: absolute; left: .8rem; top: .7rem; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--yellow); color: #fff; font-weight: 700; text-align: center; line-height: 1.4rem; font-size: .9rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 16px; padding: 1.2rem 1.3rem; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.card h3 { margin: 0 0 .4rem; color: var(--green); font-size: 1.15rem; }
.card p { margin: 0; }
.card.lead { grid-column: 1 / -1; border: 3px solid var(--green); }
.card.lead h3 { font-size: 1.35rem; }

.two-col { display: flex; align-items: center; gap: 40px; }
.two-col > div { flex: 1; }
.two-col h2 { text-align: left; }
.two-col h2::after { margin-left: 0; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding-left: 2rem; position: relative; margin-bottom: .7rem; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; font-size: 1.2rem; }

.gallery { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 8px; justify-content: center; flex-wrap: wrap; }
.gallery .phone { width: 220px; }
.gallery .phone img { max-height: 400px; }
.section .note { text-align: center; }

.flow { list-style: none; counter-reset: step; padding: 0; margin: 0 auto; max-width: 720px; }
.flow li { counter-increment: step; position: relative; padding: 0 0 1.4rem 3.6rem; }
.flow li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.flow strong { display: block; font-size: 1.15rem; }
.flow span { color: var(--muted); }

.price { max-width: 520px; margin: 0 auto; background: #fff; border: 3px solid var(--green); border-radius: 20px; padding: 1.4rem 1.6rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: .6rem 0; border-bottom: 1px dashed var(--border); font-size: 1.15rem; }
.price-row strong { font-size: 1.8rem; color: var(--green); }
.price-row strong.small { font-size: 1.4rem; }
.price-row { flex-wrap: wrap; }
.price-row > span, .price-row > strong { white-space: nowrap; }
.price-row > strong { margin-left: auto; }
.price-free { flex-basis: 100%; font-size: .95rem; font-style: normal; font-weight: bold; color: var(--green); text-align: right; }
@media (max-width: 360px) { .price-row strong { font-size: 1.5rem; } }
.price-flat { margin: .6rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: var(--green); color: #fff; text-align: center; }
.price-flat strong { display: block; font-size: 1.15rem; }
.price-flat span { font-size: .9rem; }
.price-note { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; }

details { max-width: 720px; margin: 0 auto 10px; background: #fff; border-radius: 12px; padding: .2rem 1.1rem; }
summary { cursor: pointer; font-weight: 700; padding: .7rem 0; min-height: 44px; }
details p { margin: 0 0 .8rem; }

/* 入力欄 */
.form { display: grid; gap: 14px; }
.kinds { border: none; padding: 0; margin: 0 0 .4rem; display: flex; flex-wrap: wrap; gap: 10px; }
.kinds legend { font-weight: 700; margin-bottom: .4rem; }
.kinds label { display: flex; align-items: center; gap: .4rem; min-height: 48px; padding: 0 1rem; border: 2px solid var(--border); border-radius: 12px; cursor: pointer; font-weight: 600; }
.kinds label:has(input:checked) { border-color: var(--green); background: #eaf5ef; }
.kinds input { width: 22px; height: 22px; accent-color: var(--green); }
.field { display: grid; gap: .3rem; font-weight: 600; }
.field-name { display: flex; align-items: center; flex-wrap: wrap; gap: .5em; }
.field em { font-style: normal; font-size: .8rem; color: #fff; background: #b42318; border-radius: 4px; padding: 0 .4em; }
.field input, .field textarea { font: inherit; font-weight: 400; min-height: 48px; padding: .5em .7em; border: 2px solid var(--border); border-radius: 10px; }
.hp { position: absolute; left: -9999px; }
.privacy { font-size: .9rem; color: var(--muted); }
.form-result { font-weight: 700; color: var(--green); }
.form-result.error { color: #b3261e; }
.form-done { border: 2px solid var(--green); border-radius: 12px; background: var(--bg-alt); padding: 24px 20px; font-size: 1.05rem; }
.form-done:focus { outline: none; }
.form-done-title { margin: 0 0 8px; font-size: 1.4rem; font-weight: 700; color: var(--green); }
.form-done .btn { margin-top: 12px; background: #fff; color: var(--green); border: 2px solid var(--green); }

/* いちばん下 */
.site-footer { background: #1f2b26; color: #e8efeb; padding: 40px 0 24px; }
.site-footer a { color: #fff; }
.users { background: rgba(255,255,255,.08); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.6rem; }
.users h2 { font-size: 1.15rem; margin: 0 0 .3rem; }
.users p { margin: 0; }
.operator { display: grid; grid-template-columns: 8em 1fr; gap: .2rem 1rem; margin: 0 0 1rem; }
.operator dt { color: #b9c8c0; }
.operator dd { margin: 0; }
.links a { margin-right: 1rem; }
.copy { font-size: .85rem; color: #b9c8c0; margin: 1rem 0 0; }

/* スマホ */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 28px 0 40px; }
  .hero-inner, .two-col { flex-direction: column; gap: 28px; }
  .hero h1 { font-size: 1.75rem; }
  .phone { width: 240px; }
  .section { padding: 44px 0; }
  .section h2 { font-size: 1.4rem; }
  .two-col h2 { text-align: center; }
  .two-col h2::after { margin-left: auto; }
  .brand img { width: 130px; }
  .operator { grid-template-columns: 6em 1fr; }
}

/* 規約などの文書のページ */
.doc h1 { font-size: 1.7rem; margin: 0 0 1rem; }
.doc h2 { font-size: 1.2rem; text-align: left; margin: 2rem 0 .6rem; padding-left: .6rem; border-left: 5px solid var(--green); }
.doc h2::after { display: none; }
.doc h3 { font-size: 1.05rem; margin: 1.2rem 0 .4rem; }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { border: 1px solid var(--border); padding: .5rem .6rem; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-alt); }
.doc-date { margin-top: 2rem; text-align: right; color: var(--muted); }
.doc ol { padding-left: 1.6em; }
.doc ol li { margin-bottom: .4rem; }
.doc ol.items { list-style: none; counter-reset: item; padding-left: 2.2em; }
.doc ol.items > li { counter-increment: item; position: relative; }
.doc ol.items > li::before { content: "(" counter(item) ")"; position: absolute; left: -2.2em; }
.dev { background: #fff; border-radius: 16px; padding: 1.2rem 1.4rem; box-shadow: 0 2px 10px rgba(0,0,0,.06); border-top: 5px solid var(--yellow); }
.dev p { margin: 0 0 .8rem; }
.dev p:last-child { margin-bottom: 0; }
.dev strong { display: block; color: var(--green); font-size: 1.1rem; }
