:root {
  --ink: #151827;
  --muted: #657080;
  --line: #e3dcd5;
  --paper: #fff7ef;
  --surface: #ffffff;
  --indigo: #171b3d;
  --indigo-2: #252b58;
  --sakura: #c93458;
  --sakura-dark: #9d2444;
  --gold: #d6a348;
  --mint: #2d7f79;
  --shadow: 0 18px 54px rgba(21, 24, 39, .14);
}

* { 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, 247, 239, .92);
  border-bottom: 1px solid rgba(227, 220, 213, .85);
  backdrop-filter: blur(16px);
}
.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.2rem; font-weight: 900; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff8e9;
  background: var(--indigo);
  box-shadow: inset 0 -4px 0 rgba(214, 163, 72, .4);
}
.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;
  border-radius: 7px;
  color: #33394e;
  font-weight: 750;
  font-size: .94rem;
}
.nav-links a:hover, .nav-links a.active { background: #f1e3da; color: var(--sakura-dark); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--sakura);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(201, 52, 88, .24); }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.gold { background: var(--gold); color: #151827; }
.btn.full { width: 100%; }

.hero {
  min-height: calc(100vh - 74px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--indigo);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,247,239,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(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 138px;
  color: #fff;
  text-shadow: 0 3px 20px rgba(0,0,0,.46);
}
.hero-panel { width: min(650px, 100%); }
.eyebrow {
  margin: 0 0 10px;
  color: #ffdb91;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: 0; }
h1 { max-width: 11ch; font-size: clamp(2.55rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.17rem; }
p { margin: 0; }
.hero-copy {
  max-width: 640px;
  margin: 22px 0 28px;
  color: #fff4e5;
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; text-shadow: none; }

.stats-strip {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(940px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.stat { padding: 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--sakura-dark); font-size: 1.55rem; }
.stat span { color: var(--muted); font-weight: 700; }

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}
.section-head { max-width: 730px; margin-bottom: 28px; }
.section-head p, .page-lead, .profile-meta, .form-note, .feature p, .price-card li, .safety-list p, .contact-item p { color: var(--muted); }
.section-head p, .page-lead { margin-top: 13px; font-size: 1.06rem; }
.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(21, 24, 39, .07);
  overflow: hidden;
}
.feature { padding: 24px; }
.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #f3e2c1;
  color: #7b5520;
  font-weight: 900;
}
.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: #e8f3f0;
  color: #22665f;
  font-size: .8rem;
  font-weight: 850;
}
.profile-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.profile-tags span { padding: 5px 9px; border-radius: 999px; background: #f5eee7; color: #64606a; font-size: .82rem; font-weight: 750; }

.band { background: var(--indigo); color: #fff; }
.band .section { padding: 68px 0; }
.band p { color: #dce0f5; }
.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,.22);
  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: #171b3d;
  font-weight: 900;
}
.page-hero { background: #efe2d7; border-bottom: 1px solid var(--line); }
.page-hero .section { padding: 62px 0; }

.auth-layout {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 80px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 24px;
}
.auth-side { padding: 32px; background: var(--indigo); color: #fff; border-radius: 8px; }
.auth-side p { margin-top: 12px; color: #dce0f5; }
.auth-side img { margin-top: 28px; border-radius: 8px; background: #1f244c; }
.form-card, .price-card, .safety-list article, .contact-item { padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
label { font-weight: 850; color: #303549; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #d1c7bd;
  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(201,52,88,.18); border-color: var(--sakura); }
.message { display: none; margin-top: 14px; padding: 12px; border-radius: 7px; background: #e8f3f0; color: #22665f; font-weight: 800; }
.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.highlight { border-color: var(--gold); box-shadow: var(--shadow); }
.price { margin: 16px 0; color: var(--sakura-dark); font-size: 2.2rem; font-weight: 900; }
.price small { color: var(--muted); font-size: .95rem; }
.price-card ul { margin: 18px 0 24px; padding-left: 20px; }
.price-card li { margin: 8px 0; }
.safety-list { display: grid; gap: 14px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; }
.contact-item { margin-bottom: 14px; }
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner {
  width: min(1160px, 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; left: auto; bottom: auto; transform: none; 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%; }
}
