:root {
  --text: #222;
  --muted: #666;
  --line: #e5e5e5;
  --bg: #fff;
  --bg-soft: #f6f7f9;
  --accent: #e0457b;
  --accent-2: #1f9aa8;
  --max: 920px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.9;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); }
a:hover { opacity: .8; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  max-width: 1200px;
}
.logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .02em;
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }

@media (max-width: 800px) {
  .site-header { position: static; }
  .site-header .container { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 10px; padding-bottom: 10px; }
  .nav { gap: 2px 14px; font-size: 12px; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  background: #333 url("/images/hero.jpg") center / cover no-repeat;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05) 60%);
}
.hero .container { position: relative; padding-bottom: 56px; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.2; margin: 0 0 8px; }
.hero p { margin: 0; font-size: clamp(15px, 2.2vw, 20px); }

/* Sections */
main { padding-bottom: 64px; }
.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.section h2 {
  font-size: 24px;
  margin: 0 0 24px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.section h3 { font-size: 19px; margin: 32px 0 8px; }
.section h4 { font-size: 16px; margin: 20px 0 4px; }
.lead { font-size: 20px; font-weight: 700; margin: 0 0 16px; }

.page-title { padding: 48px 0 8px; }
.page-title h1 { font-size: 28px; margin: 0; }

.card {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0;
}
.card p { margin: .2em 0; }

ol.plain, ul.plain { padding-left: 1.4em; }
ol.plain li, ul.plain li { margin: .3em 0; }

dl.info { display: grid; grid-template-columns: 11em 1fr; gap: 8px 16px; margin: 0; }
dl.info dt { font-weight: 700; }
dl.info dd { margin: 0; }
@media (max-width: 600px) {
  dl.info { grid-template-columns: 1fr; }
  dl.info dd { margin-bottom: 12px; }
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  margin: 8px 0;
}
.btn:hover { opacity: .85; }
.btn.secondary { background: var(--accent-2); }

.price-table { border-collapse: collapse; margin: 8px 0; }
.price-table td { padding: 4px 24px 4px 0; border-bottom: 1px solid var(--line); }

.figure { margin: 24px 0; }

.legal h2 { font-size: 18px; margin: 32px 0 8px; border: 0; padding: 0; display: block; }
.legal { padding-top: 16px; }

/* Footer */
.site-footer {
  background: var(--bg-soft);
  padding: 32px 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 12px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.figure-top { padding-top: 32px; }
