:root {
  --bg:           #f5f8f7;
  --paper:        #ffffff;
  --paper-soft:   #e8f1ee;
  --ink:          #1c2026;
  --muted:        #5e6671;
  --line:         #d6e1df;
  --primary:      #0b705f;
  --primary-soft: #d7ebe6;
  --cta:          #d34d34;
  --cta-dark:     #a83421;
  --shadow:       0 20px 48px rgba(28, 32, 38, 0.10);
  --max:          1120px;
  --font-sans:    "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-serif:   "Shippori Mincho", "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(245, 248, 247, 0.94);
  border-bottom: 1px solid rgba(214, 225, 223, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(11, 112, 95, 0.18);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(28, 32, 38, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.28);
}

.brand-text {
  font-size: 16px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 6px 0;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.header-cta {
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
}

.header-cta svg,
.button svg,
.check-item svg,
.service-card svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    linear-gradient(90deg,
      rgba(245, 248, 247, 0.98) 0%,
      rgba(245, 248, 247, 0.90) 42%,
      rgba(245, 248, 247, 0.20) 76%),
    url("assets/hero-diagnosis.png") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2 - 70px));
  top: 116px;
  z-index: 0;
  width: min(850px, 62vw);
  height: 500px;
  background: url("assets/dashboard-print-check.png") center / contain no-repeat;
  opacity: 0.12;
  filter: saturate(0.92) contrast(1.03);
  transform: rotate(-3deg);
  transform-origin: center;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(245, 248, 247, 0), var(--bg));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.005em;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: #34434c;
  font-size: 20px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.button {
  padding: 15px 22px;
  font-size: 15px;
}

.button.primary {
  background: var(--cta);
  color: var(--paper);
  box-shadow: 0 14px 26px rgba(193, 74, 44, 0.24);
}

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

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

.button.secondary:hover {
  border-color: var(--ink);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-notes li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #34434c;
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

h2 {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.005em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.section-text {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.problem-section,
.report-section,
.price-section,
.form-section {
  background: var(--paper);
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.check-item svg {
  padding: 4px;
  background: rgba(20, 90, 82, 0.10);
  color: var(--primary);
  border-radius: 50%;
}

.diagnosis-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.service-card,
.price-card,
.report-sample {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.report-sample,
.price-card.featured,
.diagnosis-form {
  border-radius: 12px;
}

.feature-card,
.service-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(28, 32, 38, 0.08);
  border-color: rgba(20, 90, 82, 0.35);
}

.feature-card {
  padding: 28px;
  min-height: 250px;
}

.feature-card p,
.service-card p,
.price-card p,
.report-note {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  background: var(--paper-soft);
  color: var(--primary);
  border-radius: 8px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.checksheet-section {
  background:
    linear-gradient(180deg, rgba(232, 241, 238, 0.72), rgba(245, 248, 247, 0));
}

.checksheet-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
  gap: 58px;
  align-items: center;
}

.app-preview {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-url-checker {
  display: grid;
  gap: 10px;
  max-width: 640px;
  margin-top: 28px;
}

.map-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.map-url-row .button {
  min-width: 136px;
}

.checker-note,
.map-url-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.map-url-status {
  min-height: 22px;
  font-weight: 800;
}

.map-url-status.is-error {
  color: var(--cta-dark);
}

.map-url-status.is-success {
  color: var(--primary);
}

.app-result-content {
  display: block;
}

.app-top,
.app-score > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-top {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.app-top-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(20, 90, 82, 0.10);
  color: var(--primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.app-top-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.app-top-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.app-top strong {
  color: var(--cta);
}

.app-score {
  display: grid;
  gap: 10px;
}

.app-score span {
  color: #34434c;
  font-weight: 900;
}

.app-score strong {
  color: var(--cta);
  font-size: 30px;
  font-weight: 900;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.app-checks {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.app-checks div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #34434c;
  font-weight: 800;
}

.app-checks svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.app-result {
  padding: 18px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-result strong {
  display: block;
  margin-bottom: 10px;
}

.app-result ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 800;
}

.app-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.app-step {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-step > span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 900;
}

.app-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: center;
}

.report-sample {
  padding: 28px;
  box-shadow: var(--shadow);
}

.report-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.report-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.area-pill,
.recommend {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  background: rgba(20, 90, 82, 0.10);
  color: var(--primary);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 64px minmax(140px, 1.2fr);
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  font-weight: 800;
}

meter {
  width: 100%;
  height: 10px;
}

meter::-webkit-meter-bar {
  background: #e4ecea;
  border: 0;
  border-radius: 999px;
}

meter::-webkit-meter-optimum-value {
  background: var(--primary);
  border-radius: 999px;
}

.report-note {
  margin-top: 6px;
  font-size: 14px;
}

.priority-list {
  margin: 22px 0 0;
  padding: 18px 18px 18px 42px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #34434c;
  font-weight: 800;
}

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

.service-card {
  padding: 24px;
  min-height: 220px;
}

.service-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 20px;
  color: var(--primary);
}

.price-card {
  position: relative;
  padding: 28px;
  min-height: 235px;
}

.price-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #34434c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.price-list svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--primary);
}

.price-card.featured {
  border-color: rgba(193, 74, 44, 0.48);
  box-shadow: 0 22px 44px rgba(193, 74, 44, 0.12);
}

.recommend {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(193, 74, 44, 0.10);
  color: var(--cta-dark);
}

.price {
  margin-bottom: 12px;
  color: var(--cta);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.score-row strong {
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.area-section {
  background: var(--paper-soft);
}

.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
}

.area-copy {
  max-width: 600px;
  margin-bottom: 8px;
  color: #34434c;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.55;
}

.area-note {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.station-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.station-list span {
  padding: 10px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #34434c;
  font-weight: 800;
  transition: border-color 140ms ease;
}

.station-list span:hover {
  border-color: var(--primary);
}

.profile-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.profile-photo {
  width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-photo.profile-logo {
  padding: 14px;
  object-fit: contain;
  background: var(--paper);
}

.profile-photo.placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(28, 32, 38, 0.04) 0 12px, rgba(28, 32, 38, 0.08) 12px 24px),
    var(--paper);
  border-style: dashed;
  border-color: rgba(28, 32, 38, 0.25);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.todo-placeholder {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(193, 74, 44, 0.08);
  border: 1px dashed rgba(193, 74, 44, 0.35);
  border-radius: 6px;
  color: var(--cta-dark);
  font-size: 13px;
  font-weight: 800;
}

.profile-lead {
  max-width: 760px;
  color: #34434c;
  font-size: 20px;
  font-weight: 800;
}

.profile-data {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.profile-data div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.profile-data dt {
  color: var(--primary);
  font-weight: 900;
}

.profile-data dd {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(440px, 1.1fr);
  gap: 58px;
  align-items: start;
}

.diagnosis-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 7px;
}

label {
  color: #34434c;
  font-size: 14px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  background: var(--paper);
  border: 1px solid #cddbd8;
  border-radius: 8px;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(20, 90, 82, 0.18);
  border-color: var(--primary);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  font-weight: 800;
}

.submit-button {
  width: 100%;
}

.site-footer {
  padding: 28px 0 86px;
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-inner small {
  flex-basis: 100%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.footer-inner .brand-text {
  color: var(--paper);
  font-family: var(--font-serif);
  font-weight: 700;
}

.footer-inner a {
  font-weight: 800;
}

.mobile-sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--cta);
  color: var(--paper);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 32, 38, 0.24);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mobile-sticky-cta svg {
  width: 18px;
  height: 18px;
}

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

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

.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status.is-success {
  color: var(--primary);
}

.form-status.is-error {
  color: var(--cta-dark);
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 620px;
    background:
      linear-gradient(90deg,
        rgba(245, 248, 247, 0.98) 0%,
        rgba(245, 248, 247, 0.90) 58%,
        rgba(245, 248, 247, 0.40) 100%),
      url("assets/hero-diagnosis.png") center right / cover no-repeat;
  }

  .hero::before {
    left: -90px;
    top: 118px;
    width: 720px;
    max-width: none;
    opacity: 0.1;
  }

  h1 {
    max-width: 650px;
    font-size: 42px;
  }

  .two-column,
  .checksheet-layout,
  .report-layout,
  .area-layout,
  .profile-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .diagnosis-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

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

  .profile-photo {
    width: 180px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(180deg,
        rgba(245, 248, 247, 0.98) 0%,
        rgba(245, 248, 247, 0.92) 52%,
        rgba(245, 248, 247, 0.30) 100%),
      url("assets/hero-diagnosis.png") center bottom / cover no-repeat;
  }

  .hero::before {
    left: -145px;
    top: 126px;
    width: 640px;
    height: 440px;
    opacity: 0.09;
    transform: rotate(-5deg);
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding: 64px 0 150px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.22;
  }

  h2 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .hero-actions {
    width: calc(100% - 16px);
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
  }

  .submit-button {
    width: 100%;
    max-width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    width: calc(100% - 32px);
  }

  .service-grid,
  .app-steps,
  .field-row {
    grid-template-columns: 1fr;
  }

  .map-url-row {
    grid-template-columns: 1fr;
  }

  .score-row {
    grid-template-columns: 1fr 64px;
  }

  .score-row meter {
    grid-column: 1 / -1;
  }

  .diagnosis-form,
  .report-sample {
    padding: 22px;
  }

  .profile-data div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mobile-sticky-cta {
    display: inline-flex;
    left: 16px;
  }
}
