:root {
  --ink: #173447;
  --text: #314d5e;
  --muted: #657f8d;
  --green-900: #123f63;
  --green-700: #2279ad;
  --green-100: #e9f7ff;
  --gold: #d99a78;
  --gold-soft: #fff0e7;
  --rust: #c77965;
  --mist: #edf9ff;
  --cream: #fff7ef;
  --paper: #ffffff;
  --line: #cfe5ef;
  --sky: #dff5ff;
  --blue-soft: #effaff;
  --shadow: 0 16px 36px rgba(18, 63, 99, 0.12);
  --radius: 8px;
  --page: min(1120px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(223, 245, 255, 0.86) 0%, rgba(255, 247, 239, 0.9) 42%, rgba(239, 250, 255, 0.94) 100%);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(217, 154, 120, 0.14), transparent 28%),
    linear-gradient(225deg, rgba(34, 121, 173, 0.12), transparent 34%);
}

.scroll-cloud-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  mix-blend-mode: screen;
  pointer-events: none;
}

.scroll-cloud-layer span {
  position: absolute;
  display: block;
  width: min(520px, 72vw);
  height: min(180px, 26vw);
  background:
    radial-gradient(circle at 16% 60%, rgba(255, 255, 255, 0.82) 0 22%, transparent 23%),
    radial-gradient(circle at 39% 46%, rgba(255, 255, 255, 0.72) 0 31%, transparent 32%),
    radial-gradient(circle at 64% 56%, rgba(255, 255, 255, 0.66) 0 24%, transparent 25%),
    radial-gradient(circle at 86% 62%, rgba(255, 255, 255, 0.62) 0 18%, transparent 19%);
  filter: blur(4px);
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 900ms ease, transform 1100ms ease, filter 900ms ease;
}

.scroll-cloud-layer span:nth-child(1) {
  left: -120px;
  top: 12vh;
}

.scroll-cloud-layer span:nth-child(2) {
  right: -180px;
  top: 24vh;
  width: min(620px, 82vw);
}

.scroll-cloud-layer span:nth-child(3) {
  left: 16vw;
  bottom: 18vh;
  width: min(460px, 64vw);
}

.scroll-cloud-layer span:nth-child(4) {
  right: 8vw;
  bottom: 2vh;
  width: min(520px, 74vw);
  opacity: 0;
}

.scroll-cloud-layer span:nth-child(5) {
  left: 54vw;
  top: 58vh;
  width: min(420px, 62vw);
  opacity: 0;
}

body.clouds-active .scroll-cloud-layer span:nth-child(1) {
  opacity: 0.36;
}

body.clouds-active .scroll-cloud-layer span:nth-child(2) {
  opacity: 0.3;
}

body.clouds-active .scroll-cloud-layer span:nth-child(3) {
  opacity: 0.2;
}

body.clouds-deep .scroll-cloud-layer span:nth-child(1) {
  opacity: 0.44;
  transform: translate3d(22px, -8px, 0);
}

body.clouds-deep .scroll-cloud-layer span:nth-child(2) {
  opacity: 0.38;
  transform: translate3d(-24px, 8px, 0);
}

body.clouds-deep .scroll-cloud-layer span:nth-child(3) {
  opacity: 0.3;
  transform: translate3d(12px, -12px, 0);
}

body.clouds-message .scroll-cloud-layer span:nth-child(4),
body.clouds-message .scroll-cloud-layer span:nth-child(5) {
  opacity: 0.3;
  transform: translate3d(-18px, -12px, 0);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.32;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 900;
  line-height: 1.24;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(27px, 3.8vw, 42px);
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 900;
}

p {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 10px clamp(16px, 4vw, 44px);
  background: rgba(255, 247, 239, 0.88);
  border-bottom: 1px solid rgba(207, 229, 239, 0.92);
  backdrop-filter: blur(14px);
}

.header-brand {
  color: var(--green-900);
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  color: var(--green-900);
  font-size: 14px;
  font-weight: 800;
}

.header-nav a {
  padding: 8px 0;
}

.header-cta {
  min-height: 40px;
  padding: 8px 16px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #58bde8, #123f63);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 68px);
  margin-bottom: -1px;
  overflow: hidden;
  padding: 0 16px;
  text-align: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 246, 236, 0.78), transparent 20%),
    linear-gradient(180deg, #91d9ff 0%, #dff6ff 58%, #fff3e9 100%);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(145, 217, 255, 0.26), rgba(255, 243, 233, 0.2)),
    url("photo-hero-house.jpg") center center / cover no-repeat;
  opacity: 0.34;
  filter: saturate(1.08) contrast(0.98);
}

.hero-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.68) 0 6%, transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.48) 0 7%, transparent 20%),
    linear-gradient(180deg, rgba(143, 217, 255, 0.18), rgba(255, 246, 236, 0.5) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  width: min(720px, 82vw);
  height: min(260px, 32vw);
  background:
    radial-gradient(circle at 18% 58%, rgba(255, 255, 255, 0.82) 0 22%, transparent 23%),
    radial-gradient(circle at 38% 44%, rgba(255, 255, 255, 0.76) 0 29%, transparent 30%),
    radial-gradient(circle at 62% 52%, rgba(255, 255, 255, 0.72) 0 25%, transparent 26%),
    radial-gradient(circle at 82% 58%, rgba(255, 255, 255, 0.7) 0 20%, transparent 21%);
  filter: blur(3px);
  opacity: 0.86;
  animation: cloudFloat 9s ease-in-out infinite alternate;
}

.hero::before {
  left: -130px;
  top: 15%;
}

.hero::after {
  right: -170px;
  bottom: 16%;
  opacity: 0.72;
  animation-delay: -3s;
}

.hero-brand {
  position: fixed;
  left: 50%;
  top: clamp(130px, 18vh, 180px);
  z-index: 4;
  width: min(980px, calc(100% - 32px));
  margin: 0;
  color: var(--green-900);
  font-size: clamp(72px, 13vw, 164px);
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  text-shadow:
    0 18px 42px rgba(255, 255, 255, 0.8),
    0 8px 22px rgba(18, 63, 99, 0.14);
  transform: translate(-62%, 34px) rotate(-10deg) scale(0.9);
  transition: opacity 700ms ease, transform 760ms cubic-bezier(.2,.88,.25,1);
  pointer-events: none;
}

body.hero-brand-visible .hero-brand {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-7deg) scale(1);
}

body.hero-brand-soft .hero-brand {
  opacity: 0.12;
  transform: translate(-50%, -18px) rotate(-7deg) scale(0.94);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  animation: fadeUp 800ms ease-out 860ms both;
}

.first-message-section {
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  padding: clamp(64px, 9vw, 112px) 16px;
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 255, 255, 0.8) 0 8%, transparent 24%),
    linear-gradient(180deg, #fff3e9 0%, #e9f8ff 48%, #fff4ec 100%);
}

.first-message-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.58) 0 7%, transparent 22%),
    radial-gradient(circle at 28% 86%, rgba(104, 193, 232, 0.13), transparent 28%);
}

.first-message-section::after {
  content: "アキナビ";
  position: absolute;
  left: 50%;
  top: clamp(10px, 4vw, 42px);
  z-index: 0;
  width: 100%;
  color: rgba(18, 63, 99, 0.08);
  font-size: clamp(78px, 16vw, 188px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%) rotate(-7deg);
  pointer-events: none;
  white-space: nowrap;
}

.first-message-inner {
  position: relative;
  z-index: 2;
  width: min(940px, 100%);
  margin: 0 auto;
  text-align: center;
}

.first-message-inner h1 {
  margin-inline: auto;
  margin-bottom: 18px;
  color: var(--green-900);
  font-size: clamp(34px, 5.4vw, 62px);
}

.first-message-copy {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.diagnosis-form button:hover,
.mobile-fixed-cta:hover {
  transform: translateY(-2px);
}

.button.primary,
.diagnosis-form button {
  color: #fff;
  background: linear-gradient(135deg, #2d9ed0, var(--green-900));
  box-shadow: 0 14px 28px rgba(18, 63, 99, 0.23);
}

.button.secondary {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
}

.button.line,
.result-line-button {
  color: #fff;
  background: linear-gradient(135deg, #58bde8, #1f6f9e);
  box-shadow: 0 12px 24px rgba(18, 63, 99, 0.18);
}

.microcopy {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 800;
  animation: fadeUp 800ms ease-out 1040ms both;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 94px) 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.worries-section {
  padding-top: clamp(20px, 3vw, 28px);
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.check-grid,
.service-grid,
.guide-cards,
.quote-grid {
  display: grid;
  gap: 14px;
}

.check-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.check-grid article,
.service-grid article,
.guide-cards article,
.flow-list li,
.quote-grid p {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-grid article {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 18px;
}

.check-grid span {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  background: var(--green-700);
  border-radius: 50%;
}

.check-grid span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 9px;
  height: 6px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

.check-grid p {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.65;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(233, 248, 255, 0.96), rgba(255, 247, 239, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section-cta p {
  color: var(--green-900);
  font-weight: 900;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article {
  padding: 24px;
}

.support-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.support-visual-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.support-visual-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 1;
  visibility: visible;
}

.support-visual-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}

.support-visual-card strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.support-visual-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
  font-weight: 900;
}

.service-grid p,
.flow-list p,
.guide-cards p,
.text-page p,
.form-copy p,
.split-layout p {
  color: var(--muted);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-height: 270px;
  padding: 26px 20px;
}

.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -12px;
  z-index: 2;
  width: 24px;
  height: 24px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.flow-list span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.64fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(320px, 0.64fr) minmax(0, 1fr);
}

.split-layout.reverse > div:first-child {
  order: 2;
}

.assurance-list,
.area-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.assurance-list div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--green-100);
  border-radius: var(--radius);
}

.assurance-list strong {
  color: var(--green-900);
  font-weight: 900;
}

.assurance-list span {
  color: var(--text);
  font-weight: 800;
}

.quote-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quote-grid p {
  padding: 20px;
  color: var(--green-900);
  font-size: 18px;
  font-weight: 900;
}

.area-panel {
  min-height: 280px;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(34, 121, 173, 0.92), rgba(18, 63, 99, 0.95)),
    var(--green-900);
  color: #fff;
}

.area-panel span {
  color: var(--gold-soft);
  font-weight: 900;
}

.area-panel strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
}

.area-panel p {
  color: rgba(255, 255, 255, 0.84);
}

.free-band,
.bottom-cta {
  padding: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 234, 212, 0.82)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.free-band > p,
.bottom-cta > div > p {
  max-width: 820px;
  margin-inline: auto;
  color: var(--muted);
}

.section-cta.compact {
  max-width: 780px;
  margin-inline: auto;
}

.guide-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-cards article {
  padding: 22px;
}

.bottom-cta {
  width: var(--page);
  margin: clamp(30px, 6vw, 70px) auto;
}

.bottom-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.site-footer {
  padding: 42px clamp(18px, 5vw, 72px) 80px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--green-900);
}

.footer-brand {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
}

.footer-brand strong {
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.footer-brand span {
  color: #fff;
  font-weight: 900;
}

.footer-brand small {
  max-width: 720px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
}

.footer-nav a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-page {
  background:
    linear-gradient(135deg, rgba(223, 245, 255, 0.72), rgba(255, 247, 239, 0.96)),
    var(--cream);
}

.form-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  width: var(--page);
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: clamp(46px, 8vw, 84px) 0;
}

.form-copy {
  position: sticky;
  top: 92px;
}

.form-copy h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.send-result-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(36px, 7vw, 76px) 18px;
}

.send-result {
  width: min(720px, 100%);
  margin: 0 auto;
}

.send-result-card {
  padding: clamp(28px, 6vw, 54px);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 239, 0.92)),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.send-result-card h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 6vw, 52px);
}

.send-result-card .lead {
  max-width: 560px;
  margin-inline: auto;
}

.send-result-card .form-assurance {
  max-width: 560px;
  margin-inline: auto;
  text-align: left;
}

.send-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.send-result-actions .button {
  min-width: 210px;
}

.lead {
  color: var(--text);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
}

.form-assurance {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.form-assurance p {
  position: relative;
  padding: 12px 14px 12px 38px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.form-assurance p::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--green-700);
  border-bottom: 3px solid var(--green-700);
  transform: rotate(-45deg);
}

.diagnosis-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.diagnosis-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-weight: 900;
}

.diagnosis-form select,
.diagnosis-form input,
.diagnosis-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
}

.diagnosis-form textarea {
  min-height: 132px;
  resize: vertical;
}

.diagnosis-form button {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.diagnosis-result {
  padding: 16px;
  background: var(--green-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-redirect-card {
  align-content: center;
}

.form-redirect-card h2 {
  margin-bottom: 4px;
  font-size: clamp(27px, 4vw, 40px);
}

.form-redirect-card p {
  color: var(--muted);
}

.form-redirect-card .button {
  width: 100%;
  margin-top: 8px;
}

.result-line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.narrow {
  max-width: 980px;
}

.text-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 94px) 0;
}

.text-page h1 {
  margin-bottom: 28px;
  font-size: clamp(38px, 6vw, 62px);
}

.text-page h2 {
  margin-top: 34px;
  font-size: clamp(22px, 3vw, 30px);
}

.mobile-fixed-cta {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cloudFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -10px, 0) scale(1.03);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .header-nav a:not(.header-cta) {
    display: none;
  }

  .check-grid,
  .service-grid,
  .support-visual-grid,
  .quote-grid,
  .guide-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list li:not(:last-child)::after {
    display: none;
  }

  .split-layout,
  .split-layout.reverse,
  .form-intro {
    grid-template-columns: 1fr;
  }

  .split-layout.reverse > div:first-child {
    order: 0;
  }

  .form-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --page: min(100% - 28px, 1120px);
  }

  body {
    padding-bottom: 70px;
  }

  .site-header {
    min-height: 60px;
    padding-inline: 14px;
  }

  .header-brand {
    font-size: 22px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 14px !important;
  }

  .hero {
    min-height: calc(100svh - 60px);
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-image {
    opacity: 0.28;
  }

  .hero::before {
    left: -160px;
    top: 74px;
  }

  .hero::after {
    right: -180px;
    bottom: 20px;
  }

  .hero-brand {
    top: 132px;
    font-size: clamp(58px, 19vw, 86px);
  }

  .first-message-section {
    padding: 54px 14px 62px;
  }

  h1 {
    font-size: clamp(31px, 9vw, 43px);
  }

  h2 {
    font-size: clamp(25px, 7vw, 34px);
  }

  .hero-lead,
  .lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions,
  .bottom-actions {
    width: 100%;
  }

  .button,
  .diagnosis-form button {
    width: 100%;
    min-height: 56px;
    padding-inline: 18px;
  }

  .check-grid,
  .service-grid,
  .support-visual-grid,
  .flow-list,
  .quote-grid,
  .guide-cards {
    grid-template-columns: 1fr;
  }

  .support-visual-grid {
    gap: 12px;
    margin-top: 24px;
  }

  .support-visual-card img {
    aspect-ratio: 16 / 10;
  }

  .support-visual-card figcaption {
    padding: 13px 14px 15px;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading {
    margin-bottom: 24px;
    text-align: left;
  }

  .section-cta {
    display: grid;
    padding: 18px;
  }

  .flow-list li {
    min-height: auto;
  }

  .assurance-list,
  .area-panel,
  .free-band,
  .bottom-cta,
  .diagnosis-form {
    padding: 20px;
  }

  .assurance-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .form-intro {
    min-height: auto;
    padding: 40px 0 54px;
  }

  .send-result-page {
    padding: 28px 14px;
  }

  .send-result-card {
    padding: 24px 18px;
  }

  .send-result-actions {
    display: grid;
  }

  .send-result-actions .button {
    width: 100%;
    min-width: 0;
  }

  .diagnosis-form select,
  .diagnosis-form input,
  .diagnosis-form textarea {
    font-size: 16px;
  }

  .site-footer {
    padding-bottom: 100px;
  }

  .mobile-fixed-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    color: #fff;
    background: linear-gradient(135deg, var(--green-700), var(--green-900));
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(18, 63, 99, 0.26);
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .mobile-fixed-cta.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
