.site-header,
.site-header *,
.site-footer,
.site-footer *,
.lp-author-footer,
.lp-author-footer * {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  max-width: 100%;
  padding-top: var(--site-header-height, 70px);
}

@supports not (overflow: clip) {
  html {
    overflow-x: hidden;
  }
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9990;
  width: 100%;
  color: #e8f4ff;
  background:
    linear-gradient(90deg, rgba(255, 107, 0, 0.13), transparent 24%, transparent 76%, rgba(0, 212, 255, 0.14)),
    rgba(5, 8, 20, 0.9);
  border-bottom: 1px solid rgba(0, 212, 255, 0.32);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.36), 0 0 24px rgba(0, 212, 255, 0.12);
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #ff6b00, #00d4ff, #ff6b00, transparent);
  opacity: 0.68;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 1180px);
  min-height: 70px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-brand {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.site-brand:hover {
  color: #fff;
}

.site-brand__kicker {
  overflow: hidden;
  font-family: "Orbitron", "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.22em;
  color: #00d4ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-brand__name {
  overflow: hidden;
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-size: clamp(15px, 1.55vw, 20px);
  font-weight: 900;
  line-height: 1.28;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 107, 0, 0.38);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  color: #c5d0e0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  background: rgba(0, 212, 255, 0);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.09);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.site-nav__cta {
  color: #050814 !important;
  border-color: rgba(255, 217, 61, 0.88) !important;
  background: linear-gradient(135deg, #ffd93d, #ff6b00) !important;
  box-shadow: 0 0 22px rgba(255, 107, 0, 0.24);
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible {
  color: #050814 !important;
  box-shadow: 0 0 28px rgba(255, 107, 0, 0.42);
}

.site-nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  color: #e8f4ff;
  border: 1px solid rgba(0, 212, 255, 0.42);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.12);
  cursor: pointer;
}

.site-nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

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

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

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

.lp-author-footer {
  position: relative;
  overflow: hidden;
  padding: 50px 0 30px;
  color: #889;
  font-size: 12px;
  text-align: center;
  background: #050814;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.lp-author-footer::after {
  display: none !important;
}

.lp-author-footer a {
  color: #00d4ff;
  text-decoration: none;
}

.lp-author-footer a:hover {
  color: #ff6b00;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 38px 0 34px;
  color: #8fa0b8;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 107, 0, 0.12), transparent 25%, transparent 75%, rgba(0, 212, 255, 0.12)),
    #040711;
  border-top: 1px solid rgba(0, 212, 255, 0.28);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer__brand {
  margin-bottom: 16px;
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 107, 0, 0.35);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin: 0 auto;
}

.site-footer__nav a {
  color: #00d4ff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: #ffd93d;
  outline: none;
}

.site-footer__copy {
  margin: 20px 0 0;
  color: #667286;
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 820px) {
  body {
    padding-top: var(--site-header-height-mobile, 62px);
  }

  .site-header__inner {
    min-height: 62px;
    padding: 0 14px;
  }

  .site-brand {
    max-width: calc(100% - 60px);
  }

  .site-brand__kicker {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .site-brand__name {
    font-size: 14px;
  }

  .site-nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 0;
    padding: 0 12px;
    overflow: hidden;
    opacity: 0;
    border: 1px solid rgba(0, 212, 255, 0);
    background:
      linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(0, 212, 255, 0.08)),
      rgba(5, 8, 20, 0.97);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.46), 0 0 26px rgba(0, 212, 255, 0.14);
    backdrop-filter: blur(18px);
    transition: max-height 0.28s ease, padding 0.28s ease, opacity 0.2s ease, border-color 0.2s ease;
  }

  .site-header.is-open .site-nav {
    max-height: 430px;
    padding: 12px;
    opacity: 1;
    border-color: rgba(0, 212, 255, 0.32);
  }

  .site-nav a {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border-color: rgba(0, 212, 255, 0.18);
    background: rgba(0, 212, 255, 0.06);
    white-space: normal;
  }

  .site-footer {
    padding: 34px 0 30px;
  }

  .site-footer__inner {
    padding: 0 18px;
  }

  .site-footer__nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .site-footer__nav a {
    padding: 9px 10px;
    border: 1px solid rgba(0, 212, 255, 0.18);
    background: rgba(0, 212, 255, 0.05);
  }
}

.order-button-link,
.site-nav a.order-button-link,
.site-footer__nav a.order-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: transparent;
  line-height: 0;
  text-decoration: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.order-button-link img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.order-button-link:hover,
.order-button-link:focus-visible,
.site-nav a.order-button-link:hover,
.site-nav a.order-button-link:focus-visible,
.site-footer__nav a.order-button-link:hover,
.site-footer__nav a.order-button-link:focus-visible {
  color: transparent;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  filter: brightness(1.08) saturate(1.08);
  outline: none;
  transform: translateY(-2px);
}

.order-button-link--large {
  width: min(100%, 800px);
  margin: 24px auto;
}

.order-button-link--compact {
  width: min(100%, 420px);
  margin: 0 auto;
}

.site-nav a.order-button-link--nav {
  flex: 0 0 auto;
  width: 184px;
  min-height: 0;
  margin: 0 0 0 4px;
  white-space: normal;
}

.site-footer__nav a.order-button-link--footer {
  width: 220px;
  margin: 0;
}

@media (max-width: 820px) {
  .site-nav a.order-button-link--nav {
    width: min(100%, 300px);
    min-height: 0;
    margin: 4px auto;
  }

  .site-footer__nav a.order-button-link--footer {
    width: min(100%, 300px);
    margin: 8px auto 0;
  }
}

@media (max-width: 640px) {
  .order-button-link--large {
    width: 100%;
    max-width: 560px;
    margin: 16px auto;
  }

  .order-button-link--compact {
    width: min(100%, 360px);
  }
}
