:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #eef5f3;
  --text: #24302f;
  --muted: #65706d;
  --line: #dce5e1;
  --accent: #16756f;
  --accent-dark: #0f514d;
  --warm: #f6c766;
  --shadow: 0 18px 50px rgba(23, 45, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(220, 229, 225, 0.85);
  backdrop-filter: blur(16px);
}

.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 58px);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.28;
  letter-spacing: 0;
}

h1 {
  max-width: 11em;
  font-size: clamp(40px, 6vw, 72px);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 20px;
}

.lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 117, 111, 0.22);
}

.primary:hover {
  background: var(--accent-dark);
}

.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--accent-dark);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(251, 250, 247, 0.18), rgba(251, 250, 247, 0));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-band div {
  padding: 24px;
  background: var(--surface);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: clamp(22px, 3vw, 32px);
}

.trust-band span {
  color: var(--muted);
}

.section {
  padding: clamp(76px, 10vw, 118px) clamp(18px, 5vw, 72px);
}

.muted {
  background: var(--surface-soft);
}

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

.section-heading.left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.service-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.service-card,
.price-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-card p,
.feature-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #fff5d9;
  color: #6f4c06;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list > div {
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.72);
}

.price-card {
  position: relative;
  overflow: hidden;
}

.price-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  content: "";
  background: var(--warm);
}

.price {
  margin: 18px 0;
  color: var(--accent-dark);
  font-weight: 900;
}

.price span {
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1;
}

ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

li {
  color: var(--muted);
}

.price-card li::before {
  color: var(--accent);
  content: "✓ ";
  font-weight: 900;
}

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

.flow-list li {
  padding: 28px;
  border: 1px solid rgba(22, 117, 111, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

.flow-list span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.flow-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-form,
.confirm-panel {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.confirm-panel[hidden] {
  display: none;
}

.contact-form[hidden] {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(22, 117, 111, 0.18);
  border-color: var(--accent);
}

.form-button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-note {
  min-height: 1.7em;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.confirm-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.confirm-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.confirm-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.confirm-list dd {
  margin: 4px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.confirm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer small {
  display: block;
}

.site-version {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.55;
}

.result-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
}

.result-card {
  width: min(100%, 720px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.result-card .button {
  margin-top: 28px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
  }

  .trust-band,
  .service-grid,
  .price-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 14px;
  }

  h1 {
    font-size: 36px;
  }

  .button {
    width: 100%;
  }

  .trust-band div,
  .service-card,
  .price-card,
  .flow-list li {
    padding: 20px;
  }
}
