:root {
  --ink: #102630;
  --muted: #5b6c72;
  --teal: #087f82;
  --teal-dark: #07575c;
  --teal-pale: #e4f5f4;
  --gold: #e6a83c;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --line: #d8e4e2;
  --shadow: 0 22px 58px rgba(13, 55, 63, .12);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); line-height: 1.7; }
a { color: var(--teal-dark); text-underline-offset: 4px; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(7, 87, 92, .12);
  background: rgba(247, 244, 236, .92);
  backdrop-filter: blur(16px);
}

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

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 8px 22px rgba(13, 55, 63, .15); }
.brand span small { display: block; color: var(--muted); font-size: .65rem; letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .88rem; font-weight: 700; }
.nav-links a { color: var(--ink); text-decoration: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--teal-dark);
  color: white;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(7, 87, 92, .22);
}
.button.secondary { background: white; color: var(--teal-dark); border: 1px solid var(--line); box-shadow: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
  background:
    radial-gradient(circle at 78% 24%, rgba(8, 127, 130, .16), transparent 34%),
    linear-gradient(155deg, #fff 0%, #f7f4ec 50%, #e8f5f4 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 70px solid rgba(230, 168, 60, .08);
  border-radius: 50%;
  right: -140px;
  bottom: -190px;
}
.hero-inner { width: min(1120px, calc(100% - 36px)); margin: auto; display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font-size: .82rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); margin: 0 0 20px; }
h1 em { color: var(--teal); font-style: normal; }
.hero-lead { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { margin-top: 22px; color: var(--muted); font-size: .82rem; }

.phone-stage { position: relative; min-height: 530px; display: grid; place-items: center; }
.phone {
  width: min(380px, 88%);
  padding: 12px;
  border: 8px solid var(--ink);
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 38px 90px rgba(16, 38, 48, .28);
  transform: rotate(2deg);
}
.phone img { width: 100%; aspect-ratio: 1.3/1; object-fit: cover; border-radius: 28px; }
.phone-copy { padding: 22px 18px 18px; border-radius: 0 0 26px 26px; background: white; }
.phone-copy strong { display: block; font-size: 1.25rem; }
.phone-copy span { color: var(--muted); font-size: .85rem; }
.icon-float { position: absolute; left: 2%; bottom: 8%; width: 116px; border-radius: 30px; box-shadow: var(--shadow); transform: rotate(-7deg); }
.score-float { position: absolute; right: 0; top: 12%; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); font-weight: 900; }
.score-float small { display: block; color: var(--muted); font-weight: 600; }

.stats { width: min(1120px, calc(100% - 36px)); margin: -24px auto 0; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.stat { padding: 25px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; color: var(--teal-dark); font-size: 1.75rem; }
.stat span { color: var(--muted); font-size: .8rem; font-weight: 700; }

.section { padding: 92px 0; }
.section.alt { background: white; }
.wrap { width: min(1120px, calc(100% - 36px)); margin: auto; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.section-head p { margin: 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 12px 35px rgba(13, 55, 63, .07); }
.feature .mark { width: 46px; height: 46px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 14px; background: var(--teal-pale); color: var(--teal-dark); font-size: 1.35rem; font-weight: 900; }
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .9rem; }

.level-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.level { padding: 18px 10px; border-radius: 18px; color: white; text-align: center; font-weight: 900; }
.level small { display: block; margin-top: 2px; opacity: .82; font-size: .68rem; }
.level:nth-child(1) { background:#35a995; } .level:nth-child(2) { background:#3c94c9; } .level:nth-child(3) { background:#4e6ec4; }
.level:nth-child(4) { background:#7c5cb2; } .level:nth-child(5) { background:#d57c42; } .level:nth-child(6) { background:#b94355; }

.characters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.character { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: white; }
.character img { width: 100%; height: 330px; object-fit: cover; object-position: top center; background: #edf4f4; }
.character div { padding: 20px; }
.character h3 { margin: 0 0 4px; }
.character p { margin: 0; color: var(--muted); font-size: .86rem; }

.premium { padding: 46px; display: grid; grid-template-columns: 1fr .9fr; gap: 42px; align-items: center; border-radius: 34px; color: white; background: linear-gradient(145deg, var(--teal-dark), #102f3b); box-shadow: 0 30px 80px rgba(7, 87, 92, .25); }
.premium h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 4vw, 3.2rem); }
.premium p { color: rgba(255,255,255,.78); }
.premium-list { display: grid; gap: 12px; }
.premium-list div { padding: 15px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.08); font-weight: 700; }
.price-card { padding: 28px; border-radius: 24px; background: white; color: var(--ink); }
.price-card .price { font-size: 2.7rem; font-weight: 900; }
.price-card .price small { font-size: .95rem; color: var(--muted); }
.price-card p { color: var(--muted); font-size: .8rem; }

.faq { display: grid; gap: 12px; }
details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
summary { cursor: pointer; font-weight: 800; }
details p { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }

.site-footer { padding: 46px 0; border-top: 1px solid var(--line); background: #eef3f1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { margin: 0 0 10px; font-size: 1rem; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: .82rem; }
.footer-links { display: grid; gap: 7px; }
.copyright { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }

.legal-hero { padding: 62px 0 34px; background: linear-gradient(150deg, #fff, var(--teal-pale)); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.legal-layout { width: min(980px, calc(100% - 36px)); margin: 0 auto; padding: 54px 0 90px; }
.legal-note { padding: 18px; margin-bottom: 24px; border-left: 5px solid var(--gold); border-radius: 0 14px 14px 0; background: #fff8e8; color: #61471b; }
.legal-card { padding: 30px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.legal-card h2 { margin: 0 0 12px; font-size: 1.3rem; }
.legal-card h3 { margin: 20px 0 8px; font-size: 1rem; }
.legal-card p, .legal-card li { color: #344b54; font-size: .92rem; }
.legal-card ul { padding-left: 22px; }
.en { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); }
.meta-line { color: var(--muted); font-size: .82rem; }
.contact-table { width: 100%; border-collapse: collapse; }
.contact-table th, .contact-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .88rem; }
.contact-table th { width: 28%; color: var(--muted); }

@media (max-width: 850px) {
  .nav-links a:not(.button) { display: none; }
  .hero { padding-top: 56px; }
  .hero-inner, .premium { grid-template-columns: 1fr; }
  .phone-stage { min-height: 470px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-3, .characters { grid-template-columns: 1fr 1fr; }
  .level-track { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .brand span { font-size: .84rem; }
  .nav-links .button { min-height: 42px; padding: 0 16px; font-size: .76rem; }
  .hero-actions { display: grid; }
  .phone-stage { min-height: 390px; }
  .score-float { right: -4px; top: 2%; font-size: .8rem; }
  .icon-float { width: 84px; }
  .grid-3, .characters, .footer-grid { grid-template-columns: 1fr; }
  .character img { height: 390px; }
  .premium { padding: 28px 20px; }
  .legal-card { padding: 22px 18px; }
  .contact-table th, .contact-table td { display: block; width: 100%; }
  .contact-table th { padding-bottom: 0; border-bottom: 0; }
}
