:root {
  --navy: #1b2f5b;
  --blue: #2c7fb8;
  --cyan: #3fb3d8;
  --red: #e0343f;
  --paper: #f5f2ea;
  --paper-2: #ece7da;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #d9d3c4;
  --grad: linear-gradient(90deg, var(--cyan), var(--blue) 45%, var(--red));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 24px;
  background: rgba(245, 242, 234, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 22px; letter-spacing: .08em; }
.nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--red); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 6px 14px; border-radius: 999px; }

/* hero */
.hero { padding: 48px 24px 24px; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hero-logo { width: 100%; }
.eyebrow { margin: 0 0 8px; color: var(--red); font-weight: 700; letter-spacing: .08em; }
.hero h1 { margin: 0 0 16px; color: var(--navy); font-size: clamp(28px, 4vw, 44px); line-height: 1.35; }
.lead { color: var(--muted); margin: 0 0 24px; }
.hero-actions, .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--navy); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-ghost { color: var(--navy); background: transparent; }
.btn-ghost:hover { background: #fff; }
.btn small { font-size: 11px; font-weight: 600; opacity: .8; }
.is-disabled { opacity: .55; pointer-events: none; }

/* points */
.points { max-width: 1100px; margin: 24px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.point { position: relative; overflow: hidden; background: #fff; border-radius: 14px; padding: 24px 20px 20px; }
.point::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.point-num { font-weight: 800; color: var(--cyan); letter-spacing: .1em; }
.point h3 { margin: 4px 0 6px; color: var(--navy); font-size: 18px; }
.point p { margin: 0; color: var(--muted); font-size: 14px; }

/* sections */
.section { max-width: 1100px; margin: 0 auto; padding: 64px 24px; }
.section-alt { max-width: none; background: var(--paper-2); padding-left: max(24px, calc((100% - 1052px) / 2)); padding-right: max(24px, calc((100% - 1052px) / 2)); }
.section-title { margin: 0 0 28px; color: var(--navy); font-size: 28px; }
.section-title span { display: block; font-size: 13px; letter-spacing: .2em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: #fff; border-radius: 14px; padding: 20px 22px; }
.card h3 { margin: 0 0 8px; color: var(--navy); }
.card ul { margin: 0; padding-left: 1.2em; }
.card li { margin: 4px 0; }

.notice { margin-top: 20px; padding: 18px 22px; border-left: 4px solid var(--red); background: #fff; border-radius: 0 12px 12px 0; }
.notice h3 { margin: 0 0 6px; color: var(--red); font-size: 16px; }
.notice p { margin: 0; font-size: 14px; }

.diag { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; align-items: start; }
.diag-photo { grid-row: span 2; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.card { overflow: hidden; }
.card-photo { display: block; max-width: none; width: calc(100% + 44px); margin: -20px -22px 16px; aspect-ratio: 3 / 2; object-fit: cover; }
.diag-text p { margin: 0 0 12px; }
.diag-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.diag-steps li { background: #fff; border-radius: 12px; padding: 14px 18px; }
.diag-steps strong { display: inline-block; min-width: 4em; color: var(--blue); }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow li { background: #fff; border-radius: 14px; padding: 20px; position: relative; }
.flow span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; }
.flow h3 { margin: 10px 0 4px; color: var(--navy); font-size: 17px; }
.flow p { margin: 0; font-size: 14px; color: var(--muted); }

.info { display: grid; grid-template-columns: 9em 1fr; margin: 0; background: #fff; border-radius: 14px; overflow: hidden; }
.info dt, .info dd { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 700; color: var(--navy); background: #faf8f3; }
.info dt:last-of-type, .info dd:last-of-type { border-bottom: 0; }
.tbd { display: inline-block; margin-left: 8px; padding: 0 8px; font-size: 12px; border-radius: 4px; background: #fde7e8; color: var(--red); }

details { background: #fff; border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details p { margin: 10px 0 0; }

.price thead th:last-child { text-align: right; }
.price { width: 100%; max-width: 760px;border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; }
.price th, .price td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.price thead th { background: var(--navy); color: #fff; font-size: 14px; }
.price tbody th { font-weight: 600; }
.price td { text-align: right; white-space: nowrap; font-weight: 700; color: var(--navy); }
.price tbody tr:last-child th, .price tbody tr:last-child td { border-bottom: 0; }
.price-note { color: var(--muted); font-size: 14px; }

.btn-line { background: #06c755; border-color: #06c755; color: #fff; font-size: 17px; padding: 14px 32px; }
.btn-line:hover { background: #05a847; border-color: #05a847; }

.contact { text-align: center; }
.contact .contact-actions { justify-content: center; margin-top: 16px; }

.site-footer { text-align: center; padding: 40px 24px; background: var(--navy); color: #fff; }
.site-footer img { background: var(--paper); border-radius: 50%; padding: 4px; }
.footer-name { margin: 8px 0 0; font-size: 22px; font-weight: 800; letter-spacing: .1em; }
.footer-tag { margin: 0; font-size: 12px; letter-spacing: .08em; opacity: .8; }
.footer-copy { margin: 16px 0 0; font-size: 12px; opacity: .6; }

@media (max-width: 820px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 24px 16px 8px; }
  .hero-inner, .diag { grid-template-columns: 1fr; gap: 16px; }
  .diag-photo { grid-row: auto; }
  .hero-logo { max-width: 420px; margin: 0 auto; display: block; }
  .points, .cards, .flow { grid-template-columns: 1fr; }
  .points { padding: 0 16px; }
  .section, .section-alt { padding: 48px 16px; }
  .info { grid-template-columns: 1fr; }
  .info dt { border-bottom: 0; padding-bottom: 4px; }
  .site-header { padding: 8px 16px; }
}
