:root {
  --ink: #1d2433;
  --sub: #5b6475;
  --mute: #8a91a0;
  --line: #e4e6ec;
  --bg: #ffffff;
  --soft: #f7f5f1;
  --accent: #e4505b;
  --accent-dk: #c63945;
  --accent-bg: #fdeeee;
  --green: #17875a;
  --green-bg: #e6f5ee;
  --navy: #1d2433;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(29, 36, 51, .06), 0 8px 24px rgba(29, 36, 51, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.4; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nb { display: inline-block; }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700;
  border: 0; border-radius: 999px; padding: 12px 22px; font-size: 15px; line-height: 1.2;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 6px 16px rgba(228, 80, 91, .28);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-dk); transform: translateY(-1px); }
.btn:focus-visible, .btn-ghost:focus-visible, summary:focus-visible { outline: 3px solid #f6b0b5; outline-offset: 3px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-ghost { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--line); padding: 4px 2px; }
.btn-ghost:hover { border-color: var(--accent); }

/* ヘッダー */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.2; }
.logo-txt b { font-size: 17px; font-weight: 900; letter-spacing: .02em; }
.logo-txt small { font-size: 11px; color: var(--sub); white-space: nowrap; }

/* ヒーロー */
.hero { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); padding: 56px 0 72px; }
.hero-in { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-dk); background: var(--accent-bg); border-radius: 999px; padding: 5px 14px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 900; letter-spacing: .01em; line-height: 1.45; }
.hl { display: inline-block; color: var(--accent); background: linear-gradient(transparent 68%, #ffd9dc 68%); padding: 0 2px; }
.lead { margin-top: 20px; font-size: 17px; color: var(--sub); max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 24px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 14px; font-weight: 700; }
.chips .ic { color: var(--green); width: 16px; height: 16px; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 30px; }
.micro { margin-top: 12px; font-size: 13px; color: var(--mute); }

.hero-card { background: #fff; border-radius: 24px; box-shadow: 0 2px 4px rgba(29, 36, 51, .05), 0 24px 48px rgba(29, 36, 51, .10); padding: 32px 30px 28px; text-align: center; border: 1px solid var(--line); }
.hc-label { font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: .08em; }
.hc-big { font-size: 92px; font-weight: 900; line-height: 1.05; color: var(--green); margin-top: 6px; font-feature-settings: "palt"; }
.hc-plus { font-size: 56px; vertical-align: 18px; margin-right: 2px; }
.hc-unit { font-size: 30px; margin-left: 4px; color: var(--ink); }
.hc-sub { font-size: 14px; color: var(--sub); }
.hc-track { display: flex; align-items: center; margin: 26px 8px 34px; }
.hc-line { flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #cfeadd, var(--green)); }
.hc-dot { position: relative; width: 16px; height: 16px; border-radius: 50%; flex: none; }
.hc-dot-a { background: #cfeadd; }
.hc-dot-b { background: var(--green); box-shadow: 0 0 0 5px var(--green-bg); }
.hc-dot span { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--sub); white-space: nowrap; }
.hc-promise { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--accent-bg); color: var(--ink); border-radius: 14px; padding: 14px 16px; font-size: 15px; line-height: 1.6; }
.hc-promise .ic { color: var(--accent); width: 24px; height: 24px; }
.hc-promise b { color: var(--accent-dk); }

/* セクション */
.sec { padding: 88px 0; }
.sec-soft { background: var(--soft); }
.sec-tight { padding: 0 0 88px; }
.kicker { font-size: 13px; font-weight: 700; color: var(--accent-dk); letter-spacing: .1em; text-align: center; margin-bottom: 10px; }
.h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; text-align: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.worry { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; background: var(--soft); border-radius: var(--radius); padding: 30px 22px; font-weight: 700; font-size: 16px; line-height: 1.7; }
.worry .ic-lg { color: var(--sub); width: 34px; height: 34px; }
.bridge { text-align: center; margin-top: 36px; font-size: 18px; font-weight: 700; }
.bridge b { color: var(--accent-dk); }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; counter-reset: s; }
.steps3 li { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.st-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-bg); color: var(--accent); display: grid; place-items: center; }
.st-no { margin-top: 18px; font-size: 13px; font-weight: 900; color: var(--accent); letter-spacing: .1em; }
.steps3 h3 { font-size: 19px; font-weight: 900; margin-top: 2px; }
.steps3 p:last-child { margin-top: 10px; color: var(--sub); font-size: 15px; }
.note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--sub); }

/* 保証 */
.gbox { border-radius: 24px; overflow: hidden; border: 2px solid var(--navy); }
.g-head { background: var(--navy); color: #fff; padding: 38px 32px 34px; text-align: center; }
.kicker-inv { color: #ffb3b9; }
.g-head h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; }
.g-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.g-col { padding: 32px; }
.g-col + .g-col { border-left: 1px solid var(--line); }
.g-col h3 { font-size: 16px; font-weight: 900; margin-bottom: 8px; }
.g-col h3:not(:first-child) { margin-top: 22px; }
.g-col p { color: var(--sub); font-size: 15px; }
.xlist li, .clist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; padding: 7px 0; line-height: 1.6; }
.xlist .ic { color: var(--mute); margin-top: 3px; }
.clist .ic { color: var(--green); margin-top: 3px; }
.xlist-sub li { color: var(--sub); }

/* 料金 */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.p-main { background: #fff; border-radius: 20px; padding: 34px 30px; box-shadow: var(--shadow); border: 2px solid var(--accent); text-align: center; }
.p-name { font-weight: 700; color: var(--sub); }
.p-amount { font-size: 54px; font-weight: 900; line-height: 1.2; margin-top: 8px; font-feature-settings: "palt"; }
.p-yen { font-size: 20px; margin: 0 4px; }
.p-tax { font-size: 14px; font-weight: 500; color: var(--sub); }
.p-taxin { font-size: 14px; color: var(--sub); margin-bottom: 24px; }
.p-term { margin-top: 16px; font-size: 13px; color: var(--sub); text-align: left; }
.p-list { background: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.p-list h3 { font-size: 16px; font-weight: 900; margin-bottom: 4px; }
.p-list h3:not(:first-child) { margin-top: 20px; }

/* 流れ */
.flow { max-width: 760px; margin: 44px auto 0; }
.flow li { display: flex; gap: 20px; position: relative; padding-bottom: 28px; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
.f-no { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 900; flex: none; }
.flow h3 { font-size: 17px; font-weight: 900; margin-top: 8px; }
.flow p { color: var(--sub); font-size: 15px; margin-top: 4px; }

/* ご注意 */
.notice { display: flex; gap: 16px; align-items: flex-start; background: #f3f6fb; border: 1px solid #dbe3ef; border-radius: var(--radius); padding: 22px 24px; max-width: 760px; margin: 0 auto; }
.notice .ic-lg { color: #3d5a80; margin-top: 2px; }
.notice h3 { font-size: 16px; font-weight: 900; }
.notice p { color: var(--sub); font-size: 15px; margin-top: 4px; }

/* FAQ */
.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(29, 36, 51, .05); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--mute); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 20px 20px; color: var(--sub); font-size: 15px; }

/* フォーム */
.formbox { background: #fff; border-radius: 24px; box-shadow: 0 2px 4px rgba(29, 36, 51, .05), 0 24px 48px rgba(29, 36, 51, .08); border: 1px solid var(--line); padding: 44px 40px; }
.f-lead { text-align: center; color: var(--sub); margin: 10px 0 30px; }
.fld { margin-bottom: 18px; }
.fld label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.req, .opt { font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 6px; line-height: 1.6; }
.req { background: var(--accent); color: #fff; }
.opt { background: #eef0f4; color: var(--sub); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fbfbfc;
  border: 1.5px solid #d6d9e0; border-radius: 10px; padding: 12px 14px; line-height: 1.5;
  transition: border-color .15s, background .15s;
}
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238a91a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px #fbdcdf; }
.fld.has-err input, .fld.has-err select, .fld.has-err textarea, .fld.has-err .ig-wrap { border-color: var(--accent); background: #fff8f8; }
.ig-wrap { display: flex; align-items: center; border: 1.5px solid #d6d9e0; border-radius: 10px; background: #fbfbfc; transition: border-color .15s; }
.ig-wrap:focus-within { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px #fbdcdf; }
.ig-at { padding: 0 2px 0 14px; color: var(--mute); font-weight: 700; }
.ig-wrap input { border: 0; background: transparent; padding-left: 4px; }
.ig-wrap input:focus { box-shadow: none; }
.err { color: var(--accent-dk); font-size: 13px; font-weight: 700; min-height: 0; margin-top: 4px; }
.err:empty { display: none; }
.err-form { text-align: center; margin-top: 14px; }
.fld-check { margin: 24px 0 22px; }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent-dk); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; padding: 10px 0; }
.done:focus { outline: none; }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.done h3 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.done p { color: var(--sub); }
.done b { color: var(--ink); word-break: break-all; }

/* フッター */
.ftr { background: var(--navy); color: #c9cdd6; padding: 40px 0; font-size: 14px; }
.ftr-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.logo-ftr .logo-txt b { color: #fff; font-size: 15px; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ftr-nav a { color: #c9cdd6; text-decoration: none; }
.ftr-nav a:hover { color: #fff; text-decoration: underline; }
.copy { color: #8a91a0; font-size: 12px; }

/* スマホ下の固定ボタン */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; display: none; }
.sticky.show { transform: none; }
.sticky .btn { padding: 14px 20px; font-size: 16px; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 440px; width: 100%; margin: 0 auto; }
  .grid3, .steps3 { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; }
  .g-body { grid-template-columns: 1fr; }
  .g-col + .g-col { border-left: 0; border-top: 1px solid var(--line); }
  .sticky { display: block; }
  .ftr { padding-bottom: 110px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero { padding: 36px 0 56px; }
  .lead { font-size: 16px; }
  .sec { padding: 64px 0; }
  .sec-tight { padding: 0 0 64px; }
  .logo-txt small { display: none; }
  .cta-row { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-row .btn-ghost { align-self: center; }
  .hero-card { padding: 26px 20px 22px; }
  .hc-big { font-size: 80px; }
  .worry { flex-direction: row; text-align: left; padding: 18px 18px; gap: 14px; }
  .worry .ic-lg { width: 28px; height: 28px; }
  .bridge { font-size: 16px; }
  .g-head { padding: 30px 20px 26px; }
  .g-col { padding: 24px 20px; }
  .p-main, .p-list { padding: 26px 20px; }
  .p-amount { font-size: 46px; }
  .formbox { padding: 30px 18px; border-radius: 18px; }
  .notice { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky, .faq summary .ic { transition: none; }
}
