:root {
  --green: #58c7a5;
  --green-dark: #2b9377;
  --green-soft: #e8faf4;
  --mint: #d9f6ec;
  --cream: #fffdf8;
  --pink: #fff0f4;
  --ink: #3f4d48;
  --muted: #7c8b86;
  --line: #cfeee3;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(67, 118, 98, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 clamp(20px, 5vw, 48px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(207, 238, 227, 0.8);
  backdrop-filter: blur(12px);
}

.logo,
.footer-logo {
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: #64746f;
  font-size: 14px;
}

.nav-cta,
.submit-button {
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta {
  padding: 9px 20px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--green-dark);
}
.fv {
  background: #fbfcf7;
}

.fv picture,
.fv img {
  display: block;
}

.fv img {
  width: 100%;
  height: auto;
}

.hero {
  overflow: hidden;
  background: linear-gradient(90deg, #fffefb 0%, #fffefb 50%, #f5f8f1 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
  align-items: center;
  max-width: 1120px;
  min-height: 520px;
  margin: 0 auto;
  padding: 54px 40px 62px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.pill,
.label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 18px;
  padding: 4px 14px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  color: #3d4c47;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(36px, 5vw, 57px);
  line-height: 1.45;
}

.hero h1 span {
  color: var(--green-dark);
}

.lead {
  max-width: 500px;
  margin: 30px 0 0;
  color: #697a74;
  font-size: 16px;
}

.sublead {
  margin: 12px 0 0;
  color: #80908b;
  font-size: 14px;
}

.hero-image {
  align-self: stretch;
  min-height: 360px;
  margin-right: -36px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 0;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 30px max(24px, calc((100vw - 1020px) / 2));
  background: #eef8ef;
  color: #66776e;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 78px;
  border-right: 1px solid #dbe9dc;
}

.feature-item:last-child {
  border-right: 0;
}

.feature-icon {
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1;
}

.feature-item p {
  margin: 0;
  font-weight: 700;
  line-height: 1.7;
}

.section {
  padding: 92px 24px;
  background: var(--cream);
}

.section.soft {
  background: linear-gradient(180deg, #f4fffb 0%, var(--pink) 100%);
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 900px;
}

h2 {
  margin: 0;
  color: #42514c;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(27px, 3.2vw, 37px);
  line-height: 1.55;
}

.section-lead {
  margin: 14px 0 40px;
  color: var(--muted);
}

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

.worry-item {
  position: relative;
  min-height: 66px;
  padding: 18px 20px 18px 54px;
  background: var(--mint);
  border-radius: 8px;
  color: #50605b;
  font-weight: 700;
}

.worry-item::before {
  position: absolute;
  top: 21px;
  left: 22px;
  width: 18px;
  height: 18px;
  content: "✓";
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}

.card-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.plan-card {
  min-height: 220px;
  padding: 28px;
  background: var(--white);
  border: 1px solid #e2f3ed;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 8px;
  font-size: 19px;
  font-weight: 700;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.plan-card {
  position: relative;
  padding: 34px 30px;
}

.plan-card.recommended {
  background: #f4fffb;
  border-color: var(--green);
}

.plan-card.support {
  background: var(--pink);
  border-color: #f8d8e2;
}

.badge {
  position: absolute;
  top: 27px;
  right: 24px;
  padding: 4px 12px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.plan-name {
  margin: 0 0 18px;
  color: #a0aaa6;
  font-size: 12px;
  font-weight: 800;
}

.price {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  color: #41504b;
}

.price span,
.plan-note {
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
}

.plan-note {
  margin: 0 0 24px;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #5d6d68;
  font-size: 14px;
}

.plan-card li::before {
  content: "+";
  margin-right: 8px;
  color: var(--green);
  font-weight: 800;
}

.support li::before {
  color: #e89aad;
}

.flow-section {
  background: linear-gradient(180deg, #edfdf8 0%, #fff5f7 100%);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.flow-list li {
  position: relative;
  min-width: 0;
}

.flow-list li:not(:last-child)::after {
  position: absolute;
  top: 26px;
  right: -17px;
  content: "→";
  color: var(--green);
  font-weight: 700;
}

.flow-list span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 800;
}

.flow-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.flow-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.contact {
  background: var(--cream);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #6d7b76;
  font-size: 14px;
  font-weight: 700;
}

.contact-form span {
  color: #ef8fa4;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--ink);
  background: #fffffb;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(88, 199, 165, 0.14);
}

.submit-button {
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: transform 0.2s ease, background 0.2s ease;
}

.submit-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

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

.form-message {
  min-height: 22px;
  color: var(--green-dark);
  font-weight: 700;
}

.form-message.error {
  color: #d35d7d;
}
.hidden-iframe {
  display: none;
}

.thanks-main {
  display: grid;
  min-height: calc(100vh - 258px);
  place-items: center;
  padding: 80px 24px;
  background: linear-gradient(180deg, #f4fffb 0%, #fff8fa 100%);
}

.thanks-panel {
  width: min(100%, 720px);
  padding: clamp(38px, 8vw, 72px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 32px;
  font-weight: 800;
}

.thanks-panel h1 {
  margin: 0;
  color: #42514c;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.55;
}

.thanks-panel p {
  margin: 18px 0 0;
  color: var(--muted);
}

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

.thanks-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 12px 24px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-weight: 700;
}

.thanks-button:hover {
  background: var(--green-dark);
}
.footer {
  display: grid;
  place-items: center;
  gap: 18px;
  min-height: 190px;
  padding: 40px 24px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--green-dark);
}

.footer-logo {
  color: var(--white);
}

.footer p {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 860px) {
  .site-header {
    height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 60px 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 20px 24px;
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.24s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

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

  .nav-cta {
    margin-top: 8px;
    padding: 11px 18px;
    text-align: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 38px 24px 0;
  }

  .hero-image {
    width: calc(100% + 48px);
    min-height: 260px;
    margin: 38px -24px 0;
  }

  .hero-image img {
    min-height: 260px;
  }

  .feature-strip,
  .worry-grid,
  .card-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    display: flex;
    gap: 16px;
    margin: 0 -20px;
    padding: 0 20px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .card-grid::-webkit-scrollbar {
    display: none;
  }

  .card-grid .service-card {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }

  .feature-strip {
    gap: 0;
    padding: 16px 24px;
  }

  .feature-item {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid #dbe9dc;
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 70px 20px;
  }

  .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    gap: 40px 10px;
  }

  .flow-list li:not(:last-child)::after {
    top: 24px;
    right: -9px;
    bottom: auto;
    transform: none;
  }

  .flow-list li:nth-child(3n)::after {
    display: none;
  }
}

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

  .logo {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .lead {
    font-size: 14px;
  }

  .hero-image {
    min-height: 230px;
  }

  .hero-image img {
    min-height: 230px;
  }

  .service-card,
  .plan-card {
    padding: 24px;
  }
}
