:root {
  --ink: #243035;
  --muted: #667278;
  --paper: #fffaf1;
  --surface: #ffffff;
  --line: #e7ded0;
  --mint: #7bb7a5;
  --mint-dark: #2f7869;
  --coral: #ef826f;
  --sun: #f5c15d;
  --plum: #7b5574;
  --shadow: 0 18px 55px rgba(42, 48, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at 12% 12%, rgba(245, 193, 93, 0.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(123, 183, 165, 0.2), transparent 30%),
    var(--paper);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid rgba(231, 222, 208, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--coral), var(--plum));
  box-shadow: 0 8px 18px rgba(123, 85, 116, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 73px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 250, 241, 0.96) 0%, rgba(255, 250, 241, 0.86) 34%, rgba(255, 250, 241, 0.18) 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3.2vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: 0;
}

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

.lead {
  max-width: 610px;
  color: #465057;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  color: var(--mint-dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(47, 120, 105, 0.22);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.intro-grid article,
.program-list > div,
.empty-review,
.contact-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-grid article {
  padding: 26px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: var(--coral);
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.program-list {
  display: grid;
  gap: 18px;
}

.program-list > div {
  padding: 28px;
}

.program-list ul {
  margin: 0;
  padding-left: 1.2em;
}

.area-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.area-map span {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(36, 48, 53, 0.06), rgba(36, 48, 53, 0)),
    var(--plum);
}

.area-map span:nth-child(2) {
  background-color: var(--mint-dark);
}

.area-map span:nth-child(3) {
  background-color: var(--coral);
}

.price-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  color: #fff;
  background: var(--mint-dark);
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table .highlight td {
  background: #fff2bc;
  font-weight: 900;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.flow-list li {
  position: relative;
  min-height: 170px;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  counter-increment: flow;
}

.flow-list li::before {
  content: counter(flow);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: var(--sun);
}

.flow-list strong,
.flow-list span {
  display: block;
}

.flow-list span {
  margin-top: 8px;
  color: var(--muted);
}

.empty-review {
  margin-top: 28px;
  padding: 46px 28px;
  text-align: center;
  color: var(--muted);
  border-style: dashed;
  box-shadow: none;
}

.empty-review p {
  margin: 0;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--plum), #365f66);
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.86);
}

.contact h2 {
  color: #fff;
}

.contact-card {
  padding: 26px;
  text-align: center;
  color: var(--ink);
}

.domain {
  margin-bottom: 16px;
  color: var(--plum);
  font-size: 1.18rem;
  font-weight: 900;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(255, 250, 241, 0.97), rgba(255, 250, 241, 0.78));
  }

  .intro-grid,
  .split,
  .area-map,
  .flow-list,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact {
    width: min(1120px, calc(100% - 36px));
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 8px 12px;
    font-size: 0.82rem;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, 1120px);
  }
}
