:root {
  --blue: #0f6fbf;
  --blue-deep: #0c4f86;
  --green: #0c8f62;
  --green-deep: #086b49;
  --orange: #f15a00;
  --orange-soft: #fff1e6;
  --ink: #17324d;
  --muted: #5d7082;
  --line: #e1ebf3;
  --bg: #dbe7f2;
  --soft: #f3f7fb;
  --ok-bg: #e8f8f1;
  --danger: #d92d20;
  --shadow: 0 8px 24px rgba(18, 52, 84, 0.08);
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --shell: 480px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  line-break: strict;
  word-break: auto-phrase;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--blue-deep);
}

p,
h1,
h2,
h3,
ul,
ol {
  margin: 0;
}

::selection {
  background: #cdecdc;
}

.shell {
  width: min(100%, var(--shell));
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  min-height: 100dvh;
}

.area-banner {
  background: linear-gradient(90deg, #0c63b0 0%, #0c8f78 100%);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 11px 14px;
  line-height: 1.5;
}

.hero {
  text-align: center;
  padding: 18px 18px 22px;
}

.brand {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.year-badge {
  display: inline-block;
  margin-top: 10px;
  background: var(--ok-bg);
  color: var(--green-deep);
  border: 1px solid #b7e4cf;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
}

.hero-title {
  margin-top: 12px;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.mark {
  color: var(--orange);
  background: linear-gradient(transparent 64%, #ffe1c8 64%);
}

.hero-lead {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #35516b;
}

.seals {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0;
  margin-top: 16px;
}

.seal {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 12px 6px;
  border-radius: 999px;
  border: 2px solid #8fd9bf;
  background: #f3fbf7;
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.visual-frame {
  position: relative;
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d5e6f2;
  background: #e7f4ff;
}

.visual-frame__img {
  display: none;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.visual-frame.has-photo .visual-frame__img {
  display: block;
}

.visual-frame.has-photo .visual-frame__fallback {
  display: none;
}

.subsidy-heading {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 900;
  color: var(--blue-deep);
  background: #e8f2fc;
  border-radius: 12px;
  padding: 10px 12px;
  line-height: 1.5;
}

.section {
  padding: 22px 18px 26px;
}

.band {
  background: var(--soft);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.section-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
  flex: 0 0 auto;
}

.section-lead {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.model {
  background: #fff;
  border: 1px solid #d7e3ee;
  border-radius: 16px;
  padding: 12px 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.model__tag {
  display: inline-block;
  background: #e7f0fb;
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 7px;
}

.model__name {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.model__label {
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}

.model__before {
  font-size: 15px;
  font-weight: 700;
  color: #607486;
  font-variant-numeric: tabular-nums;
}

.model__arrow {
  color: var(--green);
  font-weight: 900;
  line-height: 1;
  margin: 2px 0;
}

.model__after {
  font-size: 20px;
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.model__unit {
  font-size: 11px;
  font-weight: 700;
  margin-left: 1px;
}

.model__note {
  margin-top: 6px;
  font-size: 10px;
  color: #7b8da0;
  line-height: 1.45;
}

.reasons {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.reason {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.reason__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ok-bg);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.reason h3 {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.reason p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.cta-block {
  text-align: center;
}

.micro {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
}

.cta {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(241, 90, 0, 0.28);
  padding: 12px 16px;
  line-height: 1.3;
}

a.cta,
button.cta {
  color: #fff;
}

.cta:hover {
  background: #e05000;
}

.cta:active {
  transform: translateY(1px);
}

.cta:disabled {
  opacity: 0.7;
  cursor: wait;
}

.fine {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.65;
  color: #66788a;
  text-align: left;
}

.fine.center {
  text-align: center;
}

.footer {
  background: #14324c;
  color: #d5e4f0;
  padding: 22px 18px 28px;
  font-size: 12px;
  line-height: 1.7;
}

.footer a {
  color: #fff;
  font-weight: 700;
}

.footer__brand {
  font-weight: 700;
  color: #fff;
}

.footer__fine {
  margin-top: 8px;
  color: #b7c9d8;
}

.page-lp .footer {
  padding-bottom: calc(128px + env(safe-area-inset-bottom));
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--shell));
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(16, 42, 67, 0.08);
  padding: 8px 14px calc(10px + env(safe-area-inset-bottom));
}

.topbar {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.area-context {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

.form-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--line);
}

.form-header h1 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 900;
}

.progress__label {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}

.progress__list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px;
  margin-top: 8px;
  position: relative;
}

.progress__list::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 13px;
  height: 3px;
  background: #e1eaf2;
}

.progress__list li {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #c9d7e4;
  color: #7b8da0;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.progress__list li.is-current {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.progress__list li.is-done {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.step {
  padding: 16px 18px 28px;
}

.back-btn {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 0 0 10px;
}

.q-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.q-note {
  margin-top: 8px;
  background: var(--soft);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.choices {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.choice {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  background: #fff;
  border: 2px solid #d5e2ee;
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.choice::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #b7c9d9;
  flex: 0 0 auto;
}

.choice span {
  flex: 1;
}

.choice.is-selected {
  border-color: var(--green);
  background: var(--ok-bg);
}

.choice.is-selected::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 4px #fff;
}

.ok-banner {
  margin-top: 12px;
  border: 2px solid var(--green);
  background: var(--ok-bg);
  color: var(--green-deep);
  font-weight: 900;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.text-link {
  display: block;
  width: 100%;
  margin-top: 16px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.field {
  margin-top: 14px;
}

.field label,
.field .label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.req,
.opt {
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 6px;
}

.req {
  background: var(--orange-soft);
  color: #c2410c;
}

.opt {
  background: #eef3f8;
  color: var(--muted);
}

.input {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid #c5d4e2;
  border-radius: 12px;
  padding: 12px 14px;
  background-color: #fff;
  color: var(--ink);
  font-size: 16px;
}

.input::placeholder {
  color: #8aa0b4;
}

.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(15, 111, 191, 0.15);
}

select.input {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235d7082' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.field.is-error .input {
  border-color: var(--danger);
  background-color: #fff8f7;
}

.field-error {
  min-height: 0;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #b42318;
}

.field-error:empty {
  display: none;
}

.zip-status {
  min-height: 1.2em;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
}

.zip-status.is-error {
  color: #b42318;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f4fbf7;
  border: 1px solid #cde8da;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
}

.consent input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.field.is-error .consent {
  border-color: #f0b4b4;
  background: #fff8f7;
}

.form-actions {
  margin-top: 16px;
}

.form-alert {
  margin-top: 12px;
  background: #fff6f5;
  color: #9f1c1c;
  border: 1px solid #f3c1c1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}

.notice-screen,
.thanks {
  padding: 8px 0 28px;
}

.notice-screen {
  padding: 28px 20px 36px;
}

.notice-screen h1,
.thanks h1,
.thanks h2,
.policy h1 {
  font-weight: 900;
  line-height: 1.45;
}

.notice-screen h1 {
  font-size: 22px;
}

.notice-screen p {
  margin-top: 12px;
  font-size: 14px;
}

.notice-screen .btn-secondary,
.notice-screen .text-link {
  margin-top: 18px;
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.done-mark {
  width: 56px;
  height: 56px;
  margin: 18px auto 8px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
}

.thanks-intro {
  padding: 0 18px;
  text-align: center;
}

.thanks-intro h1 {
  font-size: 22px;
}

.thanks-intro p {
  margin-top: 8px;
  font-size: 14px;
  color: #35516b;
}

.caller-id {
  margin: 16px 18px;
  border: 3px solid var(--danger);
  background: #fff5f5;
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
}

.caller-id__lead {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.55;
}

.caller-id__label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--danger);
}

.caller-id__number {
  margin-top: 2px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--danger);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.caller-id__note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.65;
  color: #6d2a2a;
  text-align: left;
}

.result-card,
.callout,
.panel {
  margin: 16px 18px 0;
  border-radius: 16px;
  padding: 16px;
}

.result-card {
  background: linear-gradient(180deg, #f3fbf7 0%, #fff 100%);
  border: 2px solid #b7e7d2;
}

.result-card__kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.result-card h2 {
  margin-top: 6px;
  font-size: 18px;
  color: var(--green-deep);
}

.result-card p {
  margin-top: 8px;
  font-size: 14px;
}

.callout {
  background: var(--soft);
  font-size: 14px;
}

.panel h2 {
  font-size: 16px;
}

.flow {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.flow li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.flow__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.flow h3 {
  font-size: 14px;
  font-weight: 900;
}

.flow p {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.faq {
  margin: 8px 18px 0;
}

.faq h2 {
  font-size: 16px;
  padding-top: 8px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-weight: 700;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "＋";
  color: var(--blue);
  font-weight: 900;
}

.faq details[open] summary::after {
  content: "－";
}

.faq details p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #35516b;
}

.policy {
  padding: 8px 18px 36px;
}

.policy h1 {
  font-size: 22px;
  margin-top: 12px;
}

.policy h2 {
  font-size: 16px;
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.policy p,
.policy li {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
}

.policy ul {
  padding-left: 1.2em;
}

.policy table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 10px;
}

.policy th,
.policy td {
  border: 1px solid var(--line);
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.policy th {
  width: 34%;
  background: var(--soft);
}

.noscript {
  background: #fff6db;
  color: #6b4e00;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid #8ec5ff;
  outline-offset: 2px;
}

@media (min-width: 520px) {
  body {
    padding: 28px 16px;
  }

  .shell {
    min-height: auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(16, 42, 67, 0.15);
  }

  .sticky-cta {
    bottom: 16px;
    width: min(calc(100% - 32px), 448px);
    border: 1px solid var(--line);
    border-radius: 18px;
  }
}

@media (max-width: 359px) {
  .compare {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 23px;
  }

  .caller-id__number {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta:active {
    transform: none;
  }
}

@media print {
  body {
    background: #fff;
    padding: 0;
  }

  .shell {
    box-shadow: none;
    max-width: none;
    border-radius: 0;
  }

  .sticky-cta,
  .form-header,
  .cta-block {
    display: none;
  }
}
