:root {
  --green: #008b4c;
  --green-dark: #006b3a;
  --lime: #c5d12a;
  --ink: #1c1c1c;
  --muted: #5a5a5a;
  --line: #d9e5dd;
  --bg: #f4f7f4;
  --bg-deep: #e8f1ea;
  --white: #fff;
  --danger: #b42318;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 80, 40, 0.08);
  --header: 56px;
  --preview: 36px;
  --font: "Noto Sans JP", sans-serif;
  --display: "Shippori Mincho", "Noto Sans JP", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + var(--preview) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
}

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

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.inner {
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
}

.preview-banner {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--preview);
  display: grid;
  place-items: center;
  background: #1c1c1c;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: var(--preview);
  z-index: 30;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}

.site-header__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 85% 20%, rgba(197, 209, 42, 0.35), transparent 42%),
    linear-gradient(160deg, #f7fbf7 0%, #e7f3ea 48%, #d8eadc 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 139, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 139, 76, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 840px) {
  .hero__inner {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

.hero__label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 139, 76, 0.1);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.5vw, 2.45rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.hero__lead {
  margin: 0 0 28px;
  color: var(--muted);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero__trust li {
  position: relative;
  padding-left: 1.1em;
}

.hero__trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.hero__trust--center {
  justify-content: center;
}

.character-card {
  margin-inline: auto;
  width: min(260px, 100%);
  padding: 28px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  text-align: center;
}

.character-card__face {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: #fff;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
}

.character-card__name {
  margin: 0;
  font-weight: 700;
}

.character-card__note {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section:nth-of-type(even) {
  background: var(--bg);
}

.section__title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.section__lead {
  margin: 0 auto 28px;
  max-width: 40em;
  text-align: center;
  color: var(--muted);
}

.section__note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-block {
  margin-top: 32px;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--green), #0aa35c);
  box-shadow: 0 8px 20px rgba(0, 139, 76, 0.28);
}

.btn--primary:hover {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
}

.btn--secondary {
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--green);
}

.btn--line {
  color: #fff;
  background: #06c755;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.25);
}

.btn--block {
  width: 100%;
}

/* Worries */
.worry-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.worry-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff;
  box-shadow: var(--shadow);
}

/* Steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps__item {
  padding: 22px 18px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.steps__num {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
}

.steps__body {
  margin: 0;
  font-size: 0.95rem;
}

/* Diagnose form */
.diagnose {
  background:
    linear-gradient(180deg, rgba(0, 139, 76, 0.06), transparent 120px),
    var(--bg);
}

.diagnose-form {
  padding: 28px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.diagnose-form__field {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.diagnose-form__field legend {
  margin-bottom: 10px;
  font-weight: 700;
}

.diagnose-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

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

@media (min-width: 640px) {
  .choice-grid--equip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.choice-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.choice-grid label:has(input:checked) {
  border-color: var(--green);
  background: var(--bg-deep);
}

.form-error {
  margin: 0 0 12px;
  color: var(--danger);
  font-size: 0.9rem;
}

.diagnose-result {
  margin-top: 24px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid var(--green);
  animation: fade-up 0.35s ease;
}

.diagnose-result h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.program-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.program-item {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg);
}

.program-item strong {
  display: block;
  margin-bottom: 4px;
}

.result-range {
  font-size: 1.05rem;
}

.result-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.result-alt {
  margin-top: 12px;
  font-size: 0.9rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Equipment */
.equip-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.equip-card {
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.equip-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.equip-card__desc {
  margin: 0 0 8px;
  font-weight: 500;
}

.equip-card__who {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 139, 76, 0.12), rgba(197, 209, 42, 0.28));
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--bg-deep);
  color: var(--green-dark);
}

.example-card {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px dashed var(--green);
}

.example-card h3 {
  margin: 0 0 10px;
}

.example-card ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

/* Detail */
.detail-block {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-block h3 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lime);
  font-size: 1.15rem;
}

.spec-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.spec-list > div {
  display: grid;
  gap: 4px;
}

@media (min-width: 640px) {
  .spec-list > div {
    grid-template-columns: 9em 1fr;
    gap: 12px;
  }
}

.spec-list dt {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.9rem;
}

.spec-list dd {
  margin: 0;
}

.recommend-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--bg-deep);
}

/* Cases */
.case-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.case-card {
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.case-card__area {
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--green);
}

/* Flow */
.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.flow-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.flow-list li > span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.flow-list__pause {
  background: transparent;
  box-shadow: none;
  border: 1px dashed var(--line);
}

.flow-list__pause > span {
  background: #9aa79f;
}

.flow-list strong {
  display: block;
}

.flow-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* FAQ */
.faq-list details {
  margin-bottom: 10px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-list summary {
  padding: 16px 48px 16px 18px;
  cursor: pointer;
  font-weight: 700;
  position: relative;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 1.3rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
}

/* Company */
.company-list {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.company-list > div {
  display: grid;
  gap: 4px;
}

@media (min-width: 640px) {
  .company-list > div {
    grid-template-columns: 7.5em 1fr;
    gap: 14px;
  }
}

.company-list dt {
  font-weight: 700;
  color: var(--green-dark);
}

.company-list dd {
  margin: 0;
}

/* Final */
.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(197, 209, 42, 0.25), transparent 50%),
    linear-gradient(180deg, #eef6ef, #dff0e4);
}

.final-phone {
  margin-top: 18px;
}

.contact-form-box {
  margin: 36px auto 0;
  max-width: 480px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  box-shadow: var(--shadow);
}

.contact-form-box h3 {
  margin: 0 0 8px;
  text-align: center;
}

.contact-dummy {
  display: grid;
  gap: 12px;
}

.contact-dummy label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-dummy input,
.contact-dummy textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.site-footer {
  padding: 28px 0 100px;
  background: #1c1c1c;
  color: #cfd5d1;
  font-size: 0.85rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.tiny {
  font-size: 0.8rem;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 50;
  transform: translateX(-50%);
  min-width: min(340px, calc(100% - 24px));
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), #0aa35c);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 139, 76, 0.35);
}

.sticky-cta:hover {
  text-decoration: none;
}

.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: 0.2s ease;
}

.sp-only {
  display: none;
}

@media (max-width: 639px) {
  .sp-only {
    display: inline;
  }

  .site-header__meta {
    display: none;
  }
}

.compare-wrap { overflow-x: auto; }
.compare-table { min-width: 640px; }
.compare-table th:last-child,
.compare-table td:last-child { background: var(--bg-deep); }
.timing-table { width: 100%; }
.placeholder-note {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
