:root {
  color-scheme: light;
  --display-font: "Noto Sans JP", sans-serif;
  --serif-font: "Noto Serif JP", serif;
  --number-font: "Montserrat", sans-serif;
  --body-font: "Noto Sans JP", sans-serif;
  --ink: #06283f;
  --ink-soft: #24475d;
  --muted: #657b89;
  --paper: #ffffff;
  --mist: #eef8fb;
  --line: #cfe3e9;
  --aqua: #0f8fb4;
  --aqua-deep: #075d82;
  --green: #2d8f63;
  --green-deep: #116044;
  --amber: #d9952f;
  --coral: #d95445;
  --shadow: 0 22px 70px rgb(6 40 63 / 18%);
  --soft-shadow: 0 14px 36px rgb(6 40 63 / 14%);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f6fbfc 0%, #edf7f8 48%, #ffffff 100%);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.7;
  letter-spacing: 0;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

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

.proposal {
  min-height: 100vh;
  overflow: hidden;
  background: #f8fcfd;
}

.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 86px;
  padding: 14px max(26px, calc((100% - 1380px) / 2));
  border-bottom: 1px solid rgb(207 227 233 / 86%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
  max-width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 238px;
  display: block;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
}

.site-nav a:hover {
  border-bottom-color: var(--aqua);
  color: var(--aqua-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tel-box {
  display: grid;
  gap: 1px;
  min-width: 174px;
  border: 1px solid #bcd9e2;
  border-radius: var(--radius);
  background: #f7fcfd;
  padding: 7px 12px;
  line-height: 1.22;
  text-align: center;
  max-width: 100%;
}

.tel-box span {
  color: var(--green-deep);
  font-size: 0.76rem;
  font-weight: 900;
}

.tel-box strong {
  color: var(--ink);
  font-family: var(--number-font);
  font-size: 1.12rem;
  font-weight: 900;
}

.cta-button,
.flow-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  padding: 10px 18px;
  box-shadow: 0 12px 26px rgb(17 96 68 / 26%);
  min-width: 0;
  max-width: 100%;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-cta {
  width: fit-content;
  max-width: 100%;
}

/* ---- hero (FV案2: 外観写真・タイプ比較カード型) ---- */

.hero--an2 {
  position: relative;
}

.hero-inner {
  width: min(1380px, calc(100% - 52px));
  display: grid;
  grid-template-columns: minmax(480px, 1fr) minmax(424px, 0.78fr);
  align-items: start;
  gap: 38px;
  margin: 0 auto;
  padding: 48px 0 54px;
}

.hero-copy {
  max-width: 710px;
  min-width: 0;
  padding-top: 34px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgb(15 143 180 / 28%);
  border-radius: 999px;
  background: rgb(255 255 255 / 84%);
  color: var(--aqua-deep);
  font-size: 0.9rem;
  font-weight: 900;
  padding: 7px 17px;
}

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

h1 {
  margin-bottom: 20px;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.2;
  line-break: strict;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
  font-family: var(--serif-font);
  font-size: 2.85rem;
  font-weight: 700;
}

.lead {
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  font-weight: 500;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 8px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 36px;
  border: 1px solid rgb(17 96 68 / 22%);
  border-radius: 999px;
  background: rgb(255 255 255 / 88%);
  color: var(--green-deep);
  font-size: 0.86rem;
  font-weight: 900;
  padding: 6px 14px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-badges span:last-child {
  border-color: rgb(217 84 69 / 28%);
  background: #fff7f4;
  color: #ae3e34;
}

.subsidy-note {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.photo-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 436 / 772;
  object-fit: cover;
  object-position: center;
}

.compare-badge {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 2;
  max-width: 88%;
  margin: 0;
  border-radius: 999px;
  background: rgb(7 40 63 / 82%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 8px 20px;
  text-align: center;
  white-space: normal;
  transform: translateX(-50%);
  box-shadow: 0 10px 24px rgb(6 40 63 / 26%);
}

.type-cards {
  display: grid;
  gap: 10px;
}

.type-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  min-width: 0;
  border: 1px solid rgb(203 225 231 / 94%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 97%);
  box-shadow: var(--soft-shadow);
  padding: 11px 16px;
}

.type-card img {
  width: 56px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgb(6 40 63 / 16%));
}

.type-card-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.type-card-text strong {
  color: var(--ink);
  font-family: var(--number-font);
  font-size: 1rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.type-card-text strong.tc-blue {
  color: var(--aqua-deep);
}

.type-card-text strong.tc-amber {
  color: var(--amber);
}

.type-card-text span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.type-card i {
  align-self: center;
  color: #9ab3a4;
  font-size: 1.3rem;
  font-style: normal;
  text-align: center;
}

.photo-pill {
  display: grid;
  gap: 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 97%);
  box-shadow: var(--soft-shadow);
  padding: 14px 22px;
  text-align: center;
}

.photo-pill strong {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 900;
}

.photo-pill span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.photo-flow,
.reasons {
  position: relative;
  width: min(1380px, calc(100% - 52px));
  margin: 0 auto;
  padding: 42px 0;
}

.photo-flow {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.section-heading p {
  margin-bottom: 8px;
  color: var(--aqua-deep);
  font-size: 0.84rem;
  font-weight: 900;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--serif-font);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.38;
}

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

.flow-list li {
  min-height: 148px;
  display: grid;
  align-content: start;
  gap: 6px;
  border: 1px solid #d6e9ee;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 10px 24px rgb(6 40 63 / 8%);
}

.flow-list span {
  color: var(--amber);
  font-family: var(--number-font);
  font-size: 0.78rem;
  font-weight: 900;
}

.flow-list strong {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.flow-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.flow-cta {
  min-width: 154px;
  white-space: nowrap;
}

.reasons {
  border-top: 1px solid var(--line);
}

.reasons > .section-heading {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.reason-grid article {
  min-height: 190px;
  border: 1px solid #d5e8ee;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 10px 24px rgb(6 40 63 / 8%);
}

.reason-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #e9f7f2;
  color: var(--green-deep);
}

.reason-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reason-grid h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
}

.reason-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding-top: 54px;
  }

  .hero-copy {
    max-width: 820px;
    padding-top: 0;
  }

  .photo-panel {
    max-width: 620px;
    margin: 0 auto;
  }

  .photo-flow {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .flow-cta {
    width: fit-content;
  }

  .reasons > .section-heading {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 18px;
    overflow: hidden;
  }

  .brand img {
    width: 214px;
    max-width: 100%;
  }

  .header-actions {
    justify-content: stretch;
    width: 100%;
    flex-wrap: wrap;
  }

  .tel-box,
  .cta-button {
    flex: 1;
    min-width: 0;
  }

  .tel-box {
    min-width: min(174px, 100%);
  }

  .tel-box strong {
    font-size: 0.98rem;
  }

  .cta-button {
    padding-inline: 12px;
  }

  .hero-inner,
  .photo-flow,
  .reasons {
    width: calc(100% - 28px);
    max-width: 1380px;
  }

  .hero-inner {
    padding: 34px 0 38px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-cta {
    width: 100%;
  }

  .photo-panel {
    max-width: 100%;
  }

  .eyebrow {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 2.1rem;
  }

  h1 span {
    font-size: 1.86rem;
  }

  .lead {
    font-size: 0.94rem;
  }

  .hero-badges span {
    width: 100%;
  }

  .compare-badge {
    font-size: 0.8rem;
    padding: 7px 16px;
  }

  .type-card {
    grid-template-columns: 48px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 10px 12px;
  }

  .type-card img {
    width: 48px;
    height: 60px;
  }

  .flow-list,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .photo-flow,
  .reasons {
    padding: 30px 0;
  }

  .section-heading h2 {
    font-size: 1.42rem;
  }

  .flow-list li,
  .reason-grid article {
    min-height: 0;
  }

  .flow-cta {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tel-box,
  .cta-button {
    width: 100%;
  }

  h1 {
    font-size: 1.82rem;
  }

  h1 span {
    font-size: 1.6rem;
  }

  .hero-badges span {
    justify-content: center;
  }

  .type-card {
    grid-template-columns: 42px minmax(0, 1fr) 14px;
  }

  .type-card img {
    width: 42px;
    height: 52px;
  }

  .photo-pill {
    padding: 12px 16px;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-inline: 14px;
  }

  .hero-inner,
  .photo-flow,
  .reasons {
    width: calc(100% - 24px);
  }

  .brand img {
    width: min(204px, 100%);
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
  }
}
