:root {
  color-scheme: light;
  --ink: #34271f;
  --muted: #76665b;
  --paper: #fff9f2;
  --soft: #fff0df;
  --mint: #f4b36b;
  --mint-dark: #d87226;
  --yellow: #f5c85f;
  --coral: #e98755;
  --blue: #6d4630;
  --line: rgba(52, 39, 31, 0.14);
  --shadow: 0 18px 50px rgba(178, 94, 36, 0.16);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--mint-dark);
  border-radius: 50%;
  font-size: 1.25rem;
  font-family: Georgia, serif;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-cta {
  padding: 8px 16px;
  color: #fff;
  background: var(--mint-dark);
  border-radius: 999px;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  bottom: auto;
  z-index: -2;
  width: 100%;
  height: calc(100% + 70px);
  object-fit: cover;
  object-position: 66% center;
  transform: translateY(56px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 249, 242, 0.96) 0%, rgba(255, 249, 242, 0.84) 36%, rgba(255, 249, 242, 0.26) 62%, rgba(255, 249, 242, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 249, 242, 0.5) 0%, rgba(255, 249, 242, 0) 34%, rgba(255, 249, 242, 0.82) 100%);
}

.hero-content {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-top: 170px;
}

.eyebrow,
.section-kicker,
.plan-label {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

p,
li,
dd,
summary {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: 0;
  line-break: strict;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 2.6vw, 2.7rem);
  line-height: 1.22;
  letter-spacing: 0;
  line-break: strict;
  text-wrap: balance;
}

.heading-chunk {
  display: inline-block;
  white-space: nowrap;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 28px;
  color: #48545a;
  font-size: 1.14rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--mint-dark);
  box-shadow: 0 12px 24px rgba(216, 114, 38, 0.24);
}

.button.primary:hover {
  background: #bd5d18;
}

.button.secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.section {
  padding: clamp(64px, 9vw, 110px) 0;
}

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

.intro {
  background: var(--paper);
}

.intro-grid,
.service-grid,
.profile-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

.section-heading p,
.service-copy p,
.profile-copy p,
.contact-box > p {
  color: var(--muted);
}

.worries {
  background: var(--soft);
}

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

.worry-list article,
.price-card {
  min-height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(39, 50, 56, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(39, 50, 56, 0.08);
}

.dot {
  display: block;
  width: 42px;
  height: 8px;
  margin-bottom: 20px;
  background: var(--mint);
  border-radius: 999px;
}

.dot.yellow {
  background: var(--yellow);
}

.dot.coral {
  background: var(--coral);
}

.worry-list p,
.price-card p,
.flow-list p,
.faq-list p {
  color: var(--muted);
}

.services {
  background: linear-gradient(180deg, #fff9f2 0%, #fff3e8 100%);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px #fff4d7;
}

.service-image-frame {
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.service-image-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
}

.price {
  background: #fff;
}

.price-card.featured {
  border: 2px solid var(--mint);
  transform: translateY(-10px);
}

.price-number {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1.1;
}

.price-number span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.price-note {
  margin: 26px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.flow {
  background: var(--soft);
}

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

.flow-list li {
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
}

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

.profile {
  background: #fff9f2;
}

.profile-grid {
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.profile-tags span {
  padding: 8px 12px;
  color: var(--blue);
  background: #fff0df;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.faq {
  background: #fff3e8;
}

.faq-grid {
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
}

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

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--blue);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact {
  background: var(--mint-dark);
}

.contact-box {
  max-width: none;
  padding: clamp(32px, 5vw, 58px);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.contact-box .section-kicker,
.contact-box > p,
.contact-note {
  color: rgba(255, 255, 255, 0.82);
}

.contact-box .button.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.contact-box .button.primary {
  color: var(--mint-dark);
  background: #fff;
  box-shadow: none;
}

.contact-note {
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 48px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

  .menu-button {
    display: inline-grid;
    gap: 4px;
    place-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .menu-button span:not(.visually-hidden) {
    width: 19px;
    height: 2px;
    background: var(--ink);
  }

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

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

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

  .hero {
    min-height: 720px;
  }

  .hero-image {
    object-position: 76% center;
    height: 100%;
    transform: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 249, 242, 0.92) 0%, rgba(255, 249, 242, 0.66) 44%, rgba(255, 249, 242, 0.18) 72%, rgba(255, 249, 242, 0.03) 100%),
      linear-gradient(180deg, rgba(255, 249, 242, 0.42) 0%, rgba(255, 249, 242, 0.08) 38%, rgba(255, 249, 242, 0.14) 68%, rgba(255, 249, 242, 0.82) 100%);
  }

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

  .intro-grid,
  .service-grid,
  .profile-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .brand strong {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 820px;
  }

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

  .hero-content {
    width: min(var(--max), calc(100% - 28px));
    padding-top: 268px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.5vw, 2.25rem);
    line-height: 1.16;
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions .button {
    flex: 1 1 138px;
    padding-inline: 16px;
  }

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

  .section {
    padding: 58px 0;
  }

  .service-image-frame img {
    height: 250px;
  }

  .profile-photo {
    max-height: 520px;
  }

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