* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    sans-serif;
  color: #111;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f2f6ff 45%,
    #fff4e8 75%,
    #fffaf3 100%
  );
}

.hero-kv {
  position: relative;
  padding: 160px 0 140px;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f2f6ff 55%,
    #f7f9ff 70%,
    rgba(247,249,255,0) 100%
  );
}

.hero-kv-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5px;
  align-items: start;
}

@media (min-width: 769px) {
  .hero-kv-inner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
  }

  .hero-kv-info { order: 1; text-align: left; padding-top: 80px; }
  .hero-kv-date { order: 2; text-align: left; margin-top: 80px; }
}

@media (max-width: 768px) {
  .hero-kv { padding: 100px 0 80px; }

  .hero-kv-inner {
    grid-template-columns: 1fr;
    row-gap: 44px;
    padding: 0 20px;
    margin-top: 10px;
  }
}

.hero-kv > .mascot {
  position: absolute;
  top: 460px;
  right: 6%;
  width: 150px;
  z-index: 5;
  pointer-events: none;
}

.hero-note .note-deadline {
  margin-top: 4px;
  font-weight: 700;
  color: #d60000;
  font-size: 0.9em;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hero-kv > .mascot {
    top: 250px;
    right: 18px;
    width: 120px;
  }
}

.hero-kv-date {
  position: relative;
  z-index: 2;
  color: #002499;
  font-weight: 900;
}

.hero-kv-date .md {
  font-size: 120px;
  line-height: 1;
}

.hero-kv-date .jp-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #002499;
  color: #fff;
  margin-left: 14px;
}

.hero-kv-date .time {
  font-size: 80px;
  margin-top: 8px;
  line-height: 1.1;
}

.hero-kv-date .start {
  font-size: 96px;
  letter-spacing: .06em;
  margin-top: 10px;
  margin-bottom: 40px;
}

.hero-kv .num {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .hero-kv-date .md { font-size: 64px; }
  .hero-kv-date .time { font-size: 36px; }
  .hero-kv-date .start { font-size: 48px; }
}

.hero-kv-info {
  position: relative;
  z-index: 1;
}

.hero-kv-info .group {
  font-size: 30px;
  letter-spacing: .34em;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero-kv-info h1 {
  font-size: 72px;
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 16px;
}

.hero-kv-info .note {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}

.hero-kv-info-inner {
  position: relative;
  z-index: 2;
}

.hero-kv-info-inner::before {
  content: "";
  position: absolute;
  inset: -16px -20px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  z-index: -1;
}

.hero-note { margin-top: 18px; }

.note-logo {
  height: 65px;
  margin-bottom: 6px;
  display: block;
}

@media (max-width: 768px) {
  .hero-kv-info h1 { font-size: 44px; }
}

.hero-kv-btn {
  display: inline-block;
  margin-top: 26px;
  padding: 16px 44px;
  background: #1a3cff;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(26,60,255,.35);
}

.hero-kv-btn--center {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 4;
}

@media (max-width: 768px) {
  .hero-kv-btn--center {
    width: min(320px, calc(100vw - 40px));
    text-align: center;
    white-space: nowrap;
    padding: 14px 22px;
    bottom: 32px;
  }
}

.hero-kv-info .hero-bloom--left {
  position: absolute;
  inset: -40% -30% -40% -45%;
  width: 160%;
  height: 180%;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.08) blur(0.2px);
}

.hero-kv-info .hero-bloom--left .b {
  position: absolute;
  border-radius: 999px;
  opacity: .55;
  mix-blend-mode: screen;
  transform: translate3d(-50%, -50%, 0) scale(1);
  will-change: transform;
  animation: bloomMoveInfo 14s ease-in-out infinite;
}

@keyframes bloomMoveInfo {
  0%,100% { transform: translate3d(-50%, -50%, 0) scale(.92); }
  25%     { transform: translate3d(calc(-50% + 10px), calc(-50% - 8px), 0) scale(1.05); }
  50%     { transform: translate3d(calc(-50% + 18px), calc(-50% - 14px), 0) scale(1.10); }
  75%     { transform: translate3d(calc(-50% + 6px),  calc(-50% - 4px), 0) scale(1.02); }
}

.hero-kv-info .b1 { left: 28%; top: 40%; width: 260px; height: 260px; background:#14489d; animation-duration: 16s; animation-delay:-3s; }
.hero-kv-info .b2 { left: 45%; top: 25%; width: 220px; height: 220px; background:#ea609e; animation-duration: 14s; animation-delay:-7s; }
.hero-kv-info .b3 { left: 48%; top: 58%; width: 240px; height: 240px; background:#68b82e; animation-duration: 18s; animation-delay:-5s; }
.hero-kv-info .b4 { left: 62%; top: 42%; width: 180px; height: 180px; background:#4ac1f1; animation-duration: 15s; animation-delay:-9s; }
.hero-kv-info .b5 { left: 38%; top: 52%; width: 170px; height: 170px; background:#fff100; animation-duration: 19s; animation-delay:-2s; }
.hero-kv-info .b6 { left: 20%; top: 58%; width: 160px; height: 160px; background:#e71f18; animation-duration: 17s; animation-delay:-6s; }
.hero-kv-info .b7 { left: 16%; top: 28%; width: 60px;  height: 60px;  background:#68b82e; opacity:.6;  animation-duration: 12s; animation-delay:-4s; }
.hero-kv-info .b8 { left: 58%; top: 18%; width: 56px;  height: 56px;  background:#e71f18; opacity:.6;  animation-duration: 13s; animation-delay:-8s; }
.hero-kv-info .b9 { left: 66%; top: 68%; width: 48px;  height: 48px;  background:#14489d; opacity:.55; animation-duration: 14s; animation-delay:-6s; }

.section {
  position: relative;
  padding: 48px 6%;
}

.section-title {
  margin: 48px 0 24px;
  text-align: center;
}

.section-title .jp {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #002499;
  letter-spacing: 0.06em;
}

.section-title .en {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7bb8;
  letter-spacing: 0.12em;
}

@media (max-width: 768px) {
  .section-title { margin: 72px 0 36px; }
  .section-title .jp { font-size: 22px; }
  .section-title .en { font-size: 12px; }
}

.news-list {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
}

.news-item {
  width: 100%;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #e0e4f5;
  cursor: pointer;
  text-align: left;
}

.news-item time {
  font-size: 13px;
  color: #6b7bb8;
}

.news-item span {
  font-size: 15px;
  color: #002499;
  font-weight: 500;
}

@media (hover: hover) {
  .news-item:hover span { text-decoration: underline; }
}

.company-slider {
  overflow: hidden;
  padding: 24px 0;
}

.company-track {
  display: flex;
  gap: 32px;
}

.company-card {
  flex: 0 0 320px;
  background: #f7f9ff;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    10px 10px 20px rgba(0,0,0,0.18),
    -10px -10px 20px rgba(255,255,255,0.9),
    inset 2px 2px 4px rgba(255,255,255,0.6),
    inset -2px -2px 4px rgba(0,0,0,0.06);
}

.company-card::before,
.company-card::after {
  content: none !important;
  display: none !important;
}

.company-card .company-bloom {
  position: absolute !important;
  display: block;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  opacity: .22;
  filter: saturate(1.18);
  mix-blend-mode: normal;
  animation: companyBloom 9.2s ease-in-out infinite;
  transform: translate3d(0,0,0);
}

.company-card .company-bloom.cb1 {
  width: 130px;
  height: 130px;
  right: -34px;
  bottom: -42px;
  background: var(--bloom-a, #6aa8ff);
  animation-delay: var(--phase, -2s);
}

.company-card .company-bloom.cb2 {
  width: 98px;
  height: 98px;
  right: 44px;
  bottom: -22px;
  background: var(--bloom-b, #ff8fc8);
  animation-delay: calc(var(--phase, -2s) - 2.6s);
}

.company-card .company-bloom.cb3 {
  width: 66px;
  height: 66px;
  right: 16px;
  bottom: 44px;
  background: var(--bloom-c, #9be27a);
  animation-delay: calc(var(--phase, -2s) - 5.2s);
}

@keyframes companyBloom {
  0%,100% { transform: translate3d(0,0,0) scale(.86); }
  50%     { transform: translate3d(0,0,0) scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .company-card .company-bloom { animation: none !important; }
}

@media (hover: hover) {
  .company-card:hover {
    box-shadow:
      inset 6px 6px 12px rgba(0,0,0,0.18),
      inset -6px -6px 12px rgba(255,255,255,0.85);
    transform: translateY(1px);
  }
}

.company-card > * {
  position: relative;
  z-index: 1;
}

.company-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.company-logo {
  width: 60px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: saturate(1.02);
}

.company-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.company-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef1ff, #f7f9ff);
  margin-bottom: 16px;
}

.company-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.company-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}

.company-links {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.company-links .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef1ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.company-links .icon::before {
  content: "";
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-web::before { background-image: url("/img/icon-web.svg"); }
.icon-x::before   { background-image: url("/img/icon-x.svg"); }
.icon-ig::before  { background-image: url("/img/icon-instagram.svg"); }
.icon-yt::before  { background-image: url("/img/icon-youtube.svg"); }

@media (hover: hover) {
  .company-links .icon:hover { background: #002499; }
  .company-links .icon:hover::before { filter: invert(1); }
}

@media (max-width: 768px) {
  .company-track { display: block; }
  .company-card { width: 100%; margin-bottom: 24px; }
}

@media (hover: hover) and (pointer: fine) {
  .company-slider:hover * {
    animation-play-state: paused !important;
  }
}

.company-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.company-modal.is-open { display: block; }

.company-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.company-modal-content {
  position: relative;
  max-width: 520px;
  margin: 10vh auto;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .company-modal-content { max-height: 90vh; margin: 5vh auto; }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.modal-image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #eef1ff, #f7f9ff);
  border-radius: 16px;
  margin: 16px 0;
}

.modal-desc {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.modal-section { margin-top: 22px; }

.modal-heading {
  font-size: 14px;
  font-weight: 700;
  color: #002499;
  margin: 0 0 8px;
}

.modal-list { padding-left: 18px; margin: 0; }
.modal-list li { font-size: 14px; line-height: 1.6; margin-bottom: 6px; }

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-tags li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef1ff;
  color: #002499;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.benefit-item {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.benefit-item .icon { font-size: 28px; margin-bottom: 12px; }

.benefit-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: #002499;
  margin-bottom: 8px;
}

.benefit-item p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .benefits { grid-template-columns: 1fr; gap: 16px; }
}

.agenda {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  position: relative;
}

.agenda::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d6def5;
}

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 18px 0 18px 28px;
}

.agenda-dot {
  position: absolute;
  left: 8px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #002499;
}

.agenda-item time {
  line-height: 1;
  padding-top: 2px;
}

.agenda-text {
  line-height: 1.6;
  margin-top: -2px;
}

.event-info {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.event-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.event-tags li {
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #002499;
  color: #002499;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.event-target { margin-top: 28px; text-align: center; }

.event-target .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #002499;
  margin-bottom: 8px;
}

.event-target .text {
  font-size: 14px;
  line-height: 1.7;
  color: #111;
}

.event-target .note {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}

.event-description {
  margin-top: 16px;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

.event-cta {
  margin-top: 32px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .event-cta { margin-bottom: 56px; }
}

.event-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #2f5bff;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.site-footer {
  background: #0b0f1a;
  padding: 48px 16px 32px;
  text-align: center;
}

.footer-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
}

#backToTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #002499;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#backToTop:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

@media (max-width: 768px) {
  #backToTop {
    width: 44px;
    height: 44px;
    right: 16px;
    bottom: 16px;
  }
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 32px));
  background: rgba(0,0,0,.85);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  z-index: 2147483647 !important;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-banner[hidden] { display: none !important; }

.cookie-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.cookie-banner .btn {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.cookie-banner .accept { background: #002499; color: #fff; }
.cookie-banner .reject { background: #666; color: #fff; }

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

.company-modal,
.news-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 20000;
}

.company-modal.is-open,
.news-modal.is-open {
  display: block;
}

.company-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  cursor: pointer;
}

.company-modal-content {
  position: relative;
  width: min(92vw, 520px);
  margin: 8vh auto;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  max-height: 84vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .company-modal-content {
    width: min(92vw, 520px);
    margin: 6vh auto;
    max-height: 88vh;
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #002499 0%,
    #1a3cff 100%
  );
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,36,153,0.35);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.contact-btn-icon {
  font-size: 14px;
  line-height: 1;
  opacity: .85;
  transform: translateY(-1px);
}

@media (hover: hover) {
  .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0,36,153,0.45);
    background: linear-gradient(
      135deg,
      #1a3cff 0%,
      #002499 100%
    );
  }
}

.contact-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0,36,153,0.35);
}

@media (max-width: 768px) {
  .contact-btn {
    width: min(320px, calc(100vw - 40px));
    justify-content: center;
    font-size: 14px;
    padding: 14px 24px;
  }
}

.contact-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 64px;
}

@media (max-width: 768px) {
  .contact-btn-wrap { margin-bottom: 72px; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12000;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: #002499;
  min-width: 0;
}

.brand-main {
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 13px;
  line-height: 1.1;
}

.brand-sub {
  font-weight: 700;
  font-size: 12px;
  color: #6b7bb8;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 38vw;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.site-nav a {
  text-decoration: none;
  color: #002499;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .92;
}

@media (hover:hover) {
  .site-nav a:hover { opacity: 1; text-decoration: underline; }
}

.site-nav .nav-cta {
  padding: 9px 14px;
  border-radius: 999px;
  background: #002499;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0,36,153,0.22);
}

@media (hover:hover) {
  .site-nav .nav-cta:hover {
    text-decoration: none;
    transform: translateY(-1px);
  }
}

.hero-kv { padding-top: 210px; }

@media (max-width: 768px) {
  .hero-kv { padding-top: 140px; }
}

@media (max-width: 768px) {
  .site-header-inner {
    padding: 12px 16px;
    gap: 12px;
  }

  .brand-sub { display: none; }

  .site-nav {
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 2px;
    max-width: 62vw;
  }

  .site-nav a { font-size: 12px; }
}

:target { scroll-margin-top: 96px; }

@media (max-width: 768px) {
  :target { scroll-margin-top: 84px; }
}

body { outline: none !important; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #002499;
  margin: 0;
  transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity .25s ease,
      transform .25s ease;
  }

  .site-nav a {
    padding: 14px 24px;
    font-size: 14px;
  }

  .site-nav .nav-cta {
    margin: 12px 16px 6px;
    text-align: center;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav { max-width: none; }
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) { opacity: 0; }

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-toggle {
  position: relative;
  z-index: 13000;
  pointer-events: auto;
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  background: #0b0f1a;
}

.site-footer::before {
  content:"";
  position:absolute;
  right:-80px;
  bottom:-80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(74,193,241,.75) 0%,
    rgba(26,60,255,.55) 22%,
    rgba(234,96,158,.45) 38%,
    rgba(255,241,0,.35) 52%,
    rgba(0,0,0,0) 72%
  );
  filter: blur(18px);
  mix-blend-mode: screen;
  pointer-events:none;
}

.site-footer::after {
  content:"";
  position:absolute;
  left:-160px;
  top:-180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%,
    rgba(104,184,46,.55) 0%,
    rgba(26,60,255,.45) 26%,
    rgba(0,0,0,0) 68%
  );
  filter: blur(22px);
  mix-blend-mode: screen;
  pointer-events:none;
}

.site-footer .footer-inner {
  position: relative;
  z-index: 2;
}

.hero-kv-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-kv-btn .btn-main {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-kv-btn .btn-sub {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1;
}

.hero-kv-btn--secondary {
  position: static;
  inset: auto;
  transform: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 24px auto 0;
}