:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #60707f;
  --line: #dce7df;
  --cream: #fff9f0;
  --leaf: #2f7d61;
  --leaf-dark: #1d5d48;
  --coral: #d86f5a;
  --navy: #20334d;
  --sky: #eaf5f7;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.82;
  background: var(--cream);
  font-feature-settings: "palt";
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 249, 240, 0.86);
  border-bottom: 1px solid rgba(220, 231, 223, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--navy);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--white);
  font-size: 15px;
  border-radius: 50%;
  background: var(--leaf);
}

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

.nav-cta {
  padding: 9px 16px;
  color: var(--white);
  border-radius: 999px;
  background: var(--leaf);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 122px clamp(18px, 5vw, 72px) 56px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 249, 240, 0.98) 0%, rgba(255, 249, 240, 0.88) 36%, rgba(255, 249, 240, 0.24) 70%),
    linear-gradient(0deg, rgba(32, 51, 77, 0.12), rgba(32, 51, 77, 0.02));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.28;
  letter-spacing: 0;
  font-weight: 600;
}

h2 {
  color: var(--navy);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.38;
  letter-spacing: 0;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
}

h4 {
  margin: 0 0 10px;
  color: var(--leaf-dark);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: #334355;
  font-size: clamp(16px, 1.55vw, 18px);
  font-weight: 400;
  line-height: 1.95;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 21px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--leaf);
  box-shadow: 0 12px 26px rgba(47, 125, 97, 0.2);
}

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

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(32, 51, 77, 0.18);
}

.desktop-break {
  display: inline;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(640px, 100%);
  margin: 0;
}

.hero-stats div {
  padding: 15px;
  border: 1px solid rgba(220, 231, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(23, 33, 43, 0.05);
}

.hero-stats dt {
  color: var(--leaf-dark);
  font-weight: 600;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.intro-copy p,
.profile-copy p,
.contact-inner > div p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.intro-copy p {
  margin-bottom: 12px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--white);
}

.difference {
  background: linear-gradient(180deg, var(--cream) 0%, #f0f8f5 100%);
}

.difference-box {
  max-width: 960px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-left: 5px solid var(--leaf);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.06);
}

.difference-box p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.difference-box p:last-child {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 700;
}

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

.problem-grid article,
.price-card,
.service-panel,
.profile-box,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.06);
}

.problem-grid article {
  padding: 24px;
}

.problem-grid p,
.timeline p,
.flow-list p,
.price-card p,
.profile-box li,
.faq p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--leaf-dark);
  font-weight: 700;
  border-radius: 50%;
  background: var(--sky);
}

.service-band {
  background: linear-gradient(180deg, #f0f8f5 0%, #fff9f0 100%);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.85fr) minmax(260px, 0.85fr);
  gap: 18px;
}

.service-panel {
  padding: clamp(24px, 4vw, 38px);
}

.service-panel.accent {
  background: var(--navy);
}

.service-panel.accent h3,
.service-panel.accent li {
  color: var(--white);
}

.tag-list,
.check-list,
.price-card ul,
.profile-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.tag-list li {
  padding: 9px 13px;
  color: var(--leaf-dark);
  font-weight: 700;
  border-radius: 999px;
  background: #edf7f1;
}

.check-list li,
.price-card li,
.profile-box li {
  position: relative;
  padding-left: 22px;
  margin-top: 12px;
}

.check-list li::before,
.price-card li::before,
.profile-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

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

.timeline article {
  padding: 28px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--coral);
  font-weight: 700;
}

.pricing {
  background: var(--white);
}

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

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

.price-card h3 {
  font-size: 18px;
}

.plan-price {
  margin-bottom: 14px;
  color: var(--navy) !important;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
}

.price-card.featured {
  border-color: rgba(47, 125, 97, 0.5);
  box-shadow: var(--shadow);
}

.label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  background: var(--coral);
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  background: linear-gradient(135deg, #fff9f0 0%, #eaf5f7 100%);
}

.profile-box {
  padding: 32px;
}

.profile-group + .profile-group {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

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

.flow-list li {
  display: flex;
  gap: 14px;
  padding: 22px;
  border-top: 4px solid var(--leaf);
  background: var(--white);
}

.flow-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--white);
  font-weight: 700;
  border-radius: 50%;
  background: var(--navy);
}

.flow-note {
  margin: 22px 0 0;
  padding: 16px 20px;
  color: var(--leaf-dark);
  font-weight: 700;
  border-left: 4px solid var(--leaf);
  background: rgba(234, 245, 247, 0.72);
}

.faq {
  background: var(--white);
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

summary {
  padding: 20px 24px;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
}

.contact {
  padding: 86px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact h2,
.contact p {
  color: var(--white);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.contact-card .button {
  width: 100%;
}

.contact-note {
  margin: 6px 0 0;
  color: var(--muted) !important;
  font-size: 14px;
  line-height: 1.8;
}

.privacy-link {
  display: inline-flex;
  width: fit-content;
  color: var(--leaf-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #142236;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-page {
  padding-top: 78px;
  background: var(--cream);
}

.policy-content {
  max-width: 880px;
  margin: 0 auto;
}

.policy-content h1 {
  margin-bottom: 28px;
  font-size: clamp(30px, 4vw, 44px);
}

.policy-content h2 {
  margin: 42px 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
}

.policy-content p {
  color: var(--muted);
}

.policy-content ul {
  margin: 8px 0 22px;
  padding-left: 1.3em;
  color: var(--muted);
}

.policy-content li {
  margin-top: 6px;
}

.policy-content a {
  color: var(--leaf-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-date {
  margin-top: 38px;
}

.policy-back {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .problem-grid,
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .service-layout,
  .profile,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 249, 240, 0.98) 0%, rgba(255, 249, 240, 0.9) 55%, rgba(255, 249, 240, 0.45) 100%),
      linear-gradient(0deg, rgba(32, 51, 77, 0.1), rgba(32, 51, 77, 0.02));
  }
}

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

  .brand {
    font-size: 14px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
    background: var(--navy);
  }

  .site-nav {
    position: absolute;
    top: 67px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .privacy-nav {
    position: static;
    display: flex;
    width: auto;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 12px;
  }

  .desktop-break {
    display: none;
  }

  .hero {
    padding-top: 108px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-stats,
  .timeline,
  .price-grid {
    grid-template-columns: 1fr;
  }

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

  .section,
  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 29px;
    line-height: 1.32;
  }

  h2 {
    font-size: 24px;
  }

  .hero-content {
    padding-top: 14px;
  }
}
