/* ============================================================
   株式会社アポトプル - EC Intelligence Engine LP
   Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Noto+Serif+JP:wght@400;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8D5A3;
  --gold-dark:   #9A7A2E;
  --navy:        #0B1628;
  --navy-mid:    #132040;
  --navy-light:  #1C2E55;
  --white:       #FFFFFF;
  --off-white:   #F8F6F0;
  --gray-100:    #F4F4F4;
  --gray-300:    #C8C8C8;
  --gray-600:    #666666;
  --gray-800:    #333333;
  --text-main:   #1A1A1A;
  --text-sub:    #555555;
  --accent:      #C9A84C;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.18);
  --transition:  all .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ── */
.serif { font-family: 'Noto Serif JP', serif; }

h1, h2, h3 { line-height: 1.35; }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title.white { color: var(--white); }

.section-desc {
  font-size: 1rem;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-desc.white { color: rgba(255,255,255,.75); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding { padding: 100px 0; }

.center { text-align: center; }

/* ── Gold Divider ── */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  margin: 1.2rem auto 2rem;
}

.gold-divider.left { margin-left: 0; }

/* ── Button ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 2.4rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,168,76,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,.45);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.15rem 3rem; font-size: 1.05rem; }

/* ── Header / Navigation ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

#header.transparent {
  background: transparent;
}

#header.scrolled {
  background: rgba(11,22,40,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201,168,76,.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}

.logo-sub {
  font-size: .62rem;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.82);
  transition: color .25s;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  padding: .55rem 1.4rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  font-size: .82rem !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,168,76,.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(28,46,85,.8) 0%, transparent 60%),
    linear-gradient(145deg, #0B1628 0%, #132040 50%, #0D1E3A 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
  background: rgba(201,168,76,.07);
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.6rem;
}

.hero-title .accent { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.72);
  line-height: 1.9;
  max-width: 600px;
  margin-bottom: 2.8rem;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item { }

.stat-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-top: .25rem;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44%;
  max-width: 580px;
  pointer-events: none;
}

/* ── Features ── */
#features {
  background: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,168,76,.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  opacity: 0;
  transition: opacity .3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,.25);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.5rem;
}

.feature-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}

.feature-desc {
  font-size: .88rem;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ── How it works ── */
#how-it-works {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(201,168,76,.06) 0%, transparent 70%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.4), transparent);
}

.step-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(201,168,76,.35);
  transform: translateY(-4px);
}

.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 1.2rem;
  font-family: 'Noto Serif JP', serif;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .6rem;
}

.step-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
}

/* ── Plans ── */
#plans {
  background: var(--white);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 3.5rem auto 0;
}

.plan-card {
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.plan-card.normal {
  background: var(--white);
  border: 1.5px solid var(--gray-300);
}

.plan-card.executive {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1.5px solid rgba(201,168,76,.4);
  box-shadow: 0 20px 60px rgba(11,22,40,.3);
}

.plan-card.executive::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
}

.plan-badge {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  padding: .3rem .8rem;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.plan-badge.popular {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white);
}

.plan-name {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.plan-card.normal .plan-name { color: var(--gold-dark); }
.plan-card.executive .plan-name { color: var(--gold-light); }

.plan-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.plan-card.normal .plan-title  { color: var(--navy); }
.plan-card.executive .plan-title { color: var(--white); }

.plan-price {
  margin-bottom: 1.8rem;
}

.price-amount {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

.plan-card.normal .price-amount { color: var(--navy); }
.plan-card.executive .price-amount { color: var(--gold); }

.price-unit {
  font-size: .9rem;
  font-weight: 400;
}

.plan-card.normal .price-unit { color: var(--text-sub); }
.plan-card.executive .price-unit { color: rgba(255,255,255,.6); }

.price-note {
  font-size: .78rem;
  margin-top: .4rem;
}

.plan-card.normal .price-note { color: var(--gray-600); }
.plan-card.executive .price-note { color: rgba(255,255,255,.5); }

.plan-support {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.plan-card.normal .plan-support {
  background: rgba(201,168,76,.1);
  color: var(--gold-dark);
}

.plan-card.executive .plan-support {
  background: rgba(201,168,76,.15);
  color: var(--gold-light);
}

.plan-features {
  margin-bottom: 2rem;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.plan-card.executive .plan-feature-item {
  border-bottom-color: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
}

.plan-check {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: .1rem;
}

/* ── Extension options ── */
.extension-section {
  margin-top: 3rem;
  padding: 2.4rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,76,.15);
}

.extension-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.4rem;
  text-align: center;
}

.extension-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.extension-item {
  background: var(--white);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
}

.ext-period {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: .08em;
  margin-bottom: .3rem;
}

.ext-price {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.ext-unit { font-size: .75rem; font-weight: 400; }

/* ── Cooling-off notice ── */
.cooling-off-box {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #FFF8E8, #FFF3D4);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}

.cooling-off-box .co-icon { font-size: 1.8rem; margin-bottom: .8rem; }

.cooling-off-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .8rem;
}

.cooling-off-text {
  font-size: .88rem;
  color: var(--gray-800);
  line-height: 1.9;
}

.cooling-off-text strong { color: var(--navy); }

/* ── Testimonials / Trust ── */
#trust {
  background: var(--navy);
  position: relative;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3.5rem;
}

.trust-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.trust-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(201,168,76,.25);
  transform: translateY(-4px);
}

.trust-stars { color: var(--gold); font-size: 1rem; margin-bottom: .8rem; }

.trust-text {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.trust-author {
  display: flex; align-items: center; gap: .8rem;
}

.trust-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: .9rem;
  flex-shrink: 0;
}

.trust-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
}

.trust-role { font-size: .75rem; color: rgba(255,255,255,.45); margin-top: .1rem; }

/* ── FAQ ── */
#faq { background: var(--off-white); }

.faq-list {
  max-width: 780px;
  margin: 3.5rem auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,168,76,.12);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { border-color: rgba(201,168,76,.3); }

.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 1.8rem;
  cursor: pointer;
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  transition: background .25s;
  gap: 1rem;
}

.faq-q:hover { background: rgba(201,168,76,.04); }

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(201,168,76,.12);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
  color: var(--gold-dark);
}

.faq-item.open .faq-icon { background: var(--gold); color: var(--white); transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: .9rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.faq-item.open .faq-a { max-height: 600px; padding: 0 1.8rem 1.4rem; }

/* ── Contact ── */
#contact {
  background: linear-gradient(145deg, var(--navy) 0%, #0E1E3B 100%);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201,168,76,.07) 0%, transparent 70%);
}

.contact-box {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  max-width: 780px;
  margin: 3.5rem auto 0;
  text-align: center;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-info-item {
  padding: 1.4rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
}

.contact-info-icon { font-size: 1.4rem; margin-bottom: .5rem; }

.contact-info-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold-light);
  margin-bottom: .4rem;
}

.contact-info-value {
  font-size: .9rem;
  color: var(--white);
  word-break: break-all;
}

.contact-note {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-top: 1.5rem;
}

/* ── Footer ── */
#footer {
  background: #070F1C;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(201,168,76,.15);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}

.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .6rem;
}

.footer-brand-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.42);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.footer-col-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: .5rem; }

.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  transition: color .25s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

.footer-legal-links {
  display: flex; gap: 1.5rem;
}

.footer-legal-links a {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  transition: color .25s;
}

.footer-legal-links a:hover { color: var(--gold-light); }

/* ── Floating CTA ── */
.floating-cta {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 900;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: .6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}

.floating-cta.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.4rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.floating-btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white);
}

.floating-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,168,76,.4); }

/* ── Sub pages common ── */
.sub-header {
  background: var(--navy);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.sub-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0B1628 0%, #132040 100%);
}

.sub-header-content { position: relative; z-index: 1; }

.sub-header-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold-light);
  margin-bottom: .6rem;
}

.sub-header-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .8rem;
}

.sub-header-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.55);
}

/* ── Legal / Document Content ── */
.doc-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.doc-section {
  margin-bottom: 3.5rem;
}

.doc-section:first-child { margin-top: 0; }

.doc-h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  padding: .6rem 0 .6rem 1.2rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 1.2rem;
}

.doc-h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-mid);
  margin: 1.4rem 0 .6rem;
}

.doc-p {
  font-size: .92rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: .9rem;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: .88rem;
}

.doc-table th {
  background: var(--navy);
  color: var(--white);
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: .04em;
}

.doc-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,.07);
  color: var(--text-main);
  vertical-align: top;
}

.doc-table tr:nth-child(even) td { background: var(--off-white); }

.doc-list {
  font-size: .92rem;
  color: var(--text-sub);
  line-height: 2;
  padding-left: 1.4rem;
  margin-bottom: .9rem;
}

.doc-list li { margin-bottom: .35rem; list-style: disc; }

.doc-list.num li { list-style: decimal; }

.important-box {
  background: #FFF8E8;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  margin: 1.5rem 0;
}

.important-box p {
  font-size: .9rem;
  color: var(--gray-800);
  line-height: 1.9;
  margin: 0;
}

.important-box strong { color: var(--navy); }

.doc-updated {
  font-size: .8rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-300);
}

/* ── Sub nav ── */
.doc-sub-nav {
  background: var(--off-white);
  border-bottom: 1px solid rgba(201,168,76,.12);
  padding: .8rem 0;
  position: sticky;
  top: 72px;
  z-index: 100;
}

.doc-sub-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0 2rem;
  max-width: 1160px;
  margin: 0 auto;
}

.doc-sub-nav a {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-600);
  padding: .3rem .8rem;
  border-radius: 100px;
  transition: var(--transition);
}

.doc-sub-nav a:hover {
  background: rgba(201,168,76,.12);
  color: var(--gold-dark);
}

/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .trust-grid    { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(11,22,40,.98);
    backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    font-size: 1.1rem;
    z-index: 999;
  }

  .nav-links.mobile-open .nav-cta { padding: .8rem 2rem; font-size: 1rem !important; }

  .features-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .plans-grid    { grid-template-columns: 1fr; }
  .trust-grid    { grid-template-columns: 1fr; }
  .extension-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
  .section-padding { padding: 70px 0; }
  .hero-stats { gap: 1.5rem; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; max-width: 360px; justify-content: center; }
  .contact-box { padding: 2rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-cta  { bottom: 1.2rem; right: 1.2rem; }
}
