header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.logo-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  display: block;
  height: 42px;
  width: auto;
  flex-shrink: 0;
}

.logo-tagline {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-item {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: .2s;
}

.nav-item:hover { background: #eef4fc; color: var(--primary-dark); }

.nav-cta {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: linear-gradient(135deg, var(--primary), #1c7de0);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 110, 199, 0.25);
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border: 0;
  transition: .2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 9px 18px rgba(15, 110, 199, 0.25);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid #bdd3ee;
}

.btn-secondary:hover { background: #f0f7ff; }

a.btn-primary,
a.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.section-heading { text-align: center; margin-bottom: 38px; }

.section-heading .label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e8f4ff;
  color: #0a5caf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.4;
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
  font-size: 15px;
  max-width: 760px;
  margin: 0 auto;
  font-weight: 600;
}

footer {
  background: #0f1d2e;
  color: #d7e4f5;
  margin-bottom: 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #f2f7ff;
}

.footer-link {
  display: block;
  font-size: 13px;
  color: #e3edfb;
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-link:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 12px;
  color: #95abc5;
  padding: 15px 24px 20px;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 98;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid #d6e3f4;
  backdrop-filter: blur(8px);
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.28s ease, opacity 0.22s ease, visibility 0.28s step-end;
}

.sticky-cta.is-concealed {
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.22s ease, visibility 0.28s step-start;
}

.sticky-cta .btn-primary,
.sticky-cta .btn-secondary {
  padding: 11px 16px;
  font-size: 13px;
}

.sticky-cta .sticky-cta-solo {
  width: min(100%, 440px);
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

/* 明朗会計・サービス範囲の明確化（トップ／特設ページなどで共用） */
.brand-pillars {
  background: #f6f9fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.brand-pillars .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.brand-pillars-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
  color: var(--primary-dark);
}
.brand-pillars-lead {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.75;
}
.brand-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.brand-pillar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 6px 16px rgba(16, 55, 96, 0.04);
}
.brand-pillar-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--primary-dark);
}
.brand-pillar-card p {
  font-size: 14px;
  color: #334155;
  line-height: 1.75;
  font-weight: 600;
}

/* 野球応援ティーザー（ヒーロー直下など） */
.baseball-teaser {
  background: linear-gradient(135deg, #0f1d2e 0%, #1a3a5c 55%, #0d2840 100%);
  color: #dbe8f7;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.baseball-teaser .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.baseball-teaser-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #8ec8ff;
  margin-bottom: 10px;
}
.baseball-teaser h2 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 14px;
  color: #fff;
}
.baseball-teaser p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 720px;
  font-weight: 600;
  margin-bottom: 14px;
}
.baseball-teaser p:last-of-type {
  margin-bottom: 18px;
}
.baseball-teaser a.baseball-teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
}
.baseball-teaser a.baseball-teaser-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sp-only { display: none; }

.hamburger { display: none; }

@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .header-inner { min-height: 64px; padding: 0 16px; }
  .logo-img { height: 34px; }
  .logo-tagline {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.01em;
  }
  .nav-items { display: none; }
  .nav-items.is-open {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(16, 55, 96, 0.12);
    padding: 10px;
    gap: 6px;
    z-index: 150;
  }
  .nav-items.is-open .nav-item,
  .nav-items.is-open .nav-cta {
    width: 100%;
    text-align: center;
  }
  .nav-items.is-open .nav-cta {
    margin-top: 4px;
  }
  .sp-only { display: block; }
  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 12px;
    color: var(--primary-dark);
    border: 1px solid #c8dcf3;
    background: #f4f9ff;
    border-radius: 999px;
    padding: 8px 12px;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .sticky-cta { padding: 8px 10px; }
  .brand-pillars-grid { grid-template-columns: 1fr; }
}
