:root {
  --ink: #182127;
  --muted: #62707a;
  --line: #dfe6e8;
  --paper: #fffaf7;
  --surface: #ffffff;
  --rose: #d93f59;
  --rose-dark: #a52840;
  --teal: #1f7077;
  --gold: #d99b34;
  --plum: #53345b;
  --shadow: 0 18px 50px rgba(28, 42, 48, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Noto Sans JP", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 247, .92);
  border-bottom: 1px solid rgba(223, 230, 232, .8);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.22rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--rose);
  border-radius: 8px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #34454d;
  border-radius: 7px;
  font-weight: 650;
  font-size: .94rem;
}

.nav-links a:hover,
.nav-links a.active { background: #f5e4e4; color: var(--rose-dark); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--rose);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(217, 63, 89, .24); }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { box-shadow: 0 10px 24px rgba(24, 33, 39, .1); }
.btn.teal { background: var(--teal); }
.btn.full { width: 100%; }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #f8d7d4;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(to bottom, rgba(255,250,247,0), var(--paper));
}

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

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 128px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(38, 26, 32, .42);
}

.hero-panel {
  width: min(610px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: #ffe8cf;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: .82rem;
}

h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.55rem, 7vw, 5.5rem); max-width: 10ch; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.18rem; }
p { margin: 0; }

.hero-copy {
  max-width: 620px;
  margin: 22px 0 28px;
  font-size: clamp(1.02rem, 2.2vw, 1.26rem);
  color: #fff8f2;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; text-shadow: none; }

.stats-strip {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.stat { padding: 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--rose-dark); font-size: 1.55rem; }
.stat span { color: var(--muted); font-weight: 650; }

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(25, 39, 45, .06);
  overflow: hidden;
}

.feature { padding: 24px; }
.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #f5dddd;
  color: var(--rose-dark);
  font-weight: 900;
}

.feature p,
.profile-meta,
.price-card li,
.form-note,
.auth-side p,
.page-lead,
.safety-list p,
.contact-item p { color: var(--muted); }

.profiles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.profile-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #eee; }
.profile-body { padding: 16px; }
.profile-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e7f4f2;
  color: #145c62;
  font-weight: 800;
  font-size: .8rem;
}

.profile-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.profile-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #f4f1ee;
  color: #5d6267;
  font-size: .82rem;
  font-weight: 700;
}

.band {
  background: #103c43;
  color: #fff;
}

.band .section { padding: 68px 0; }
.band p { color: #d2e8e7; }

.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #1b2428;
  font-weight: 900;
}

.page-hero {
  background: #f5e4e4;
  border-bottom: 1px solid var(--line);
}
.page-hero .section { padding: 62px 0; }
.page-lead { max-width: 720px; margin-top: 14px; font-size: 1.08rem; }

.auth-layout {
  width: min(1050px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 80px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 24px;
  align-items: stretch;
}

.auth-side {
  padding: 32px;
  background: #103c43;
  color: #fff;
  border-radius: 8px;
}
.auth-side p { margin-top: 12px; color: #d2e8e7; }
.auth-side img { margin-top: 28px; border-radius: 8px; background: #e9c6be; }

.form-card { padding: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
label { font-weight: 800; color: #2e3b42; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cfd9dc;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(31,112,119,.18); border-color: var(--teal); }
.form-note { margin-top: 14px; font-size: .92rem; }
.message { display: none; margin: 14px 0 0; padding: 12px; border-radius: 7px; background: #e7f4f2; color: #145c62; font-weight: 750; }
.message.show { display: block; }

.filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { padding: 24px; }
.price-card.highlight { border-color: var(--rose); box-shadow: var(--shadow); }
.price { margin: 16px 0; font-size: 2.2rem; font-weight: 900; color: var(--rose-dark); }
.price small { font-size: .95rem; color: var(--muted); }
.price-card ul { margin: 18px 0 24px; padding-left: 20px; }
.price-card li { margin: 8px 0; }

.safety-list { display: grid; gap: 14px; }
.safety-list article { padding: 22px; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; }
.contact-item { padding: 20px; margin-bottom: 14px; }

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    font-size: 1.25rem;
    cursor: pointer;
  }
  .nav { flex-wrap: wrap; padding: 12px 0; }
  .nav-links {
    order: 3;
    width: 100%;
    display: none;
    padding: 8px 0 4px;
  }
  .nav-links.open { display: grid; grid-template-columns: repeat(2, 1fr); }
  .nav-actions { margin-left: auto; }
  .grid-3, .profiles-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-layout, .contact-layout { grid-template-columns: 1fr; }
  .filters { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-actions .secondary { display: none; }
  .hero { min-height: 760px; align-items: start; }
  .hero-content { padding-top: 46px; }
  .stats-strip { grid-template-columns: 1fr; position: relative; bottom: auto; transform: none; left: auto; margin: -100px auto 30px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 15px 18px; }
  .stat:last-child { border-bottom: 0; }
  .section { padding: 54px 0; }
  .grid-2, .grid-3, .profiles-grid, .pricing-grid, .form-grid, .filters { grid-template-columns: 1fr; }
  .auth-side, .form-card { padding: 22px; }
  .hero-actions .btn { width: 100%; }
}
