:root {
  --blue: #0a8fd8;
  --blue-dark: #066aa5;
  --sky: #e8f6fd;
  --yellow: #ffe34d;
  --red: #ff4f3d;
  --ink: #1e2a33;
  --muted: #62727e;
  --line: #cfe3ef;
  --white: #fff;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-num: "Oswald", "Arial Narrow", sans-serif;
  --max: 880px;
  --pad: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.8; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- ヘッダー ---------- */
.header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 10px var(--pad); background: var(--white); box-shadow: 0 2px 10px rgba(10, 143, 216, .16); }
.logo { margin-right: auto; font-size: 1.15rem; font-weight: 900; color: var(--blue-dark); white-space: nowrap; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--font-num); font-size: 1.5rem; line-height: 1.1; color: var(--blue-dark); white-space: nowrap; }
.header-tel small { font-family: var(--font); font-size: .64rem; color: var(--muted); }
.header-cta { padding: 10px 20px; font-weight: 900; color: var(--white); background: var(--red); border-radius: 8px; white-space: nowrap; }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 64px) var(--pad) clamp(44px, 7vw, 76px); text-align: center; color: var(--white); background: linear-gradient(160deg, #19a7ee, var(--blue) 50%, var(--blue-dark)); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
.hero-area { display: inline-block; padding: 2px 18px; font-size: .86rem; font-weight: 700; color: var(--blue-dark); background: var(--white); border-radius: 999px; }
.hero h1 { margin: 16px 0 20px; font-size: clamp(1.9rem, 6vw, 3.6rem); font-weight: 900; line-height: 1.35; text-shadow: 0 3px 0 rgba(0, 0, 0, .14); }
.hero h1 span { display: block; margin-bottom: 8px; font-size: clamp(.95rem, 2.6vw, 1.3rem); color: var(--yellow); text-shadow: none; }

.hero-points { display: flex; justify-content: center; gap: clamp(8px, 2vw, 18px); }
.hero-points li { display: grid; place-items: center; align-content: center; width: clamp(92px, 22vw, 130px); aspect-ratio: 1; font-size: .8rem; font-weight: 700; line-height: 1.4; color: var(--ink); background: var(--yellow); border: 4px solid var(--white); border-radius: 50%; }
.hero-points b { font-size: clamp(1.1rem, 3.4vw, 1.5rem); font-weight: 900; color: var(--red); }

.hero-price { max-width: 520px; margin: 26px auto 22px; padding: 16px 20px 14px; color: var(--ink); background: var(--white); border-radius: 16px; box-shadow: 0 10px 0 rgba(0, 0, 0, .14); }
.hero-price > p:first-child { font-weight: 900; }
.yen { font-size: 1.3rem; font-weight: 900; line-height: 1.1; color: var(--red); }
.yen span { font-family: var(--font-num); font-size: clamp(3.6rem, 13vw, 6rem); }
.yen small { font-size: .8rem; color: var(--ink); }
.hero-off { display: inline-block; margin-top: 8px; padding: 2px 18px; font-size: .9rem; font-weight: 700; background: var(--yellow); border-radius: 999px; }
.hero-off b { color: var(--red); font-size: 1.1rem; }
.hero-note { margin-top: 12px; font-size: .84rem; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 560px; min-height: 70px; padding: 12px 54px 12px 28px; font: inherit; font-size: clamp(1rem, 2.8vw, 1.25rem); font-weight: 900; color: var(--white); background: linear-gradient(180deg, #ff6b5b, var(--red)); border: 0; border-radius: 999px; box-shadow: 0 7px 0 #c22a1b; cursor: pointer; animation: pulse 2.2s ease-in-out infinite; }
.btn::after { content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; margin-top: -6px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); }
.btn:hover { transform: translateY(4px); box-shadow: 0 3px 0 #c22a1b; animation: none; }
@keyframes pulse { 50% { transform: scale(1.03); } }

.hero-wind { position: absolute; inset: 0; pointer-events: none; }
.hero-wind i { position: absolute; left: -20%; width: 60%; height: 3px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); border-radius: 3px; animation: wind 5s linear infinite; }
.hero-wind i:nth-child(1) { top: 18%; }
.hero-wind i:nth-child(2) { top: 46%; animation-delay: -1.6s; animation-duration: 6.5s; }
.hero-wind i:nth-child(3) { top: 78%; animation-delay: -3s; }
@keyframes wind { to { transform: translateX(220%); } }

/* ---------- 共通 ---------- */
.section { padding: clamp(50px, 8vw, 84px) var(--pad); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section h2 { margin-bottom: 30px; font-size: clamp(1.4rem, 4.2vw, 2.1rem); font-weight: 900; line-height: 1.5; text-align: center; }
.section h2 span { display: block; font-family: var(--font-num); font-size: .9rem; letter-spacing: .2em; color: var(--blue); }
.mini { margin-top: 16px; font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- 悩み ---------- */
.worry { background: var(--sky); }
.worry ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.worry li { padding: 16px 18px 16px 52px; font-weight: 700; background: var(--white) radial-gradient(circle at 28px 50%, var(--blue) 0 9px, transparent 9.5px); border-radius: 12px; }
.worry li b { color: var(--red); background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.arrow { position: relative; margin-top: 46px !important; padding: 16px 20px; font-weight: 900; text-align: center; color: var(--white); background: var(--blue-dark); border-radius: 12px; }
.arrow::before { content: ""; position: absolute; left: 50%; top: -32px; margin-left: -22px; border: 22px solid transparent; border-top: 18px solid var(--blue-dark); border-bottom: 0; }

/* ---------- ビフォー・アフター ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ba-img { aspect-ratio: 4 / 3; border-radius: 14px; }
.before { background: repeating-linear-gradient(90deg, #6b6455 0 5px, #3d382f 5px 11px), #555; filter: saturate(.6); }
.after { background: repeating-linear-gradient(90deg, #dbe9f1 0 5px, #9fc4d9 5px 11px); }
.ba figcaption { margin-top: 8px; font-size: .88rem; }
.ba figcaption b { display: inline-block; margin-right: 10px; padding: 0 12px; font-family: var(--font-num); letter-spacing: .1em; color: var(--white); background: var(--muted); border-radius: 4px; }
.ba figure:last-child b { background: var(--blue); }

/* ---------- 理由 ---------- */
.reason { background: var(--sky); }
.reasons { display: grid; gap: 18px; }
.reasons article { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 22px; align-items: center; padding: 22px 24px; background: var(--white); border-left: 8px solid var(--blue); border-radius: 12px; }
.no { grid-row: span 2; display: grid; place-items: center; align-content: center; aspect-ratio: 1; font-size: .8rem; font-weight: 900; line-height: 1.2; color: var(--white); background: var(--blue); border-radius: 50%; }
.no b { font-family: var(--font-num); font-size: 2.4rem; }
.reasons h3 { font-size: 1.2rem; font-weight: 900; color: var(--blue-dark); }
.reasons article > p:last-child { font-size: .92rem; }

/* ---------- 料金 ---------- */
.table-wrap { border: 3px solid var(--blue); border-radius: 14px; overflow: hidden; }
.price table { width: 100%; border-collapse: collapse; }
.price th, .price td { padding: 16px 18px; border-top: 1px solid var(--line); }
.price tr:first-child th, .price tr:first-child td { border-top: 0; background: #fffbe0; }
.price th { font-weight: 700; text-align: left; }
.price td { text-align: right; white-space: nowrap; font-weight: 700; }
.price td b { font-family: var(--font-num); font-size: 1.7rem; color: var(--red); }

/* ---------- 流れ ---------- */
.flow { background: var(--sky); }
.flow ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.flow li { padding: 20px 16px; background: var(--white); border-radius: 12px; border-top: 6px solid var(--blue); }
.flow b { font-family: var(--font-num); letter-spacing: .1em; color: var(--blue); }
.flow h3 { font-size: 1rem; font-weight: 900; }
.flow p { font-size: .84rem; }

/* ---------- 声 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.voices blockquote { padding: 20px; border: 2px solid var(--line); border-radius: 14px; }
.star { color: #ffb400; letter-spacing: .1em; }
.voices p { font-size: .9rem; }
.voices footer { margin-top: 10px; font-size: .78rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--sky); }
.faq details { margin-bottom: 10px; background: var(--white); border-radius: 12px; }
.faq summary { position: relative; padding: 16px 50px 16px 56px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 12px; font-family: var(--font-num); font-size: 1.4rem; color: var(--blue); }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 10px; font-size: 1.5rem; color: var(--blue); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px 56px; font-size: .92rem; }

/* ---------- 申し込み ---------- */
.cta { padding: clamp(50px, 8vw, 84px) var(--pad); text-align: center; color: var(--white); background: linear-gradient(160deg, #19a7ee, var(--blue-dark)); }
.cta h2 { font-size: clamp(1.5rem, 4.6vw, 2.3rem); font-weight: 900; line-height: 1.45; }
.form { display: grid; gap: 14px; max-width: 560px; margin: 26px auto 0; padding: clamp(20px, 4vw, 34px); text-align: left; color: var(--ink); background: var(--white); border-radius: 18px; }
.form label { display: grid; gap: 4px; font-size: .88rem; font-weight: 700; }
.form input, .form select { width: 100%; padding: 13px 14px; font: inherit; background: #f6fbfe; border: 2px solid var(--line); border-radius: 8px; }
.form input:focus, .form select:focus { outline: 0; border-color: var(--blue); }
.form .btn { margin-top: 6px; }
.form p { font-size: .76rem; color: var(--muted); text-align: center; }
.cta-tel { margin-top: 26px; font-weight: 700; }
.cta-tel b { display: block; font-family: var(--font-num); font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1.2; color: var(--yellow); }

.footer { padding: 18px var(--pad); font-size: .76rem; text-align: center; color: var(--white); background: #05466e; }

/* ---------- 表示アニメーション ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .header-tel { display: none; }
  .worry ul, .voices { grid-template-columns: minmax(0, 1fr); }
  .flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons article { grid-template-columns: 70px minmax(0, 1fr); gap: 4px 14px; padding: 18px 16px; }
  .no b { font-size: 1.6rem; }
  .no { font-size: .66rem; }
  .price th, .price td { padding: 12px 10px; font-size: .88rem; }
  .price td b { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
