html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

.chapter-nav .nav-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #0A3FA8;
  display: inline-block;
  flex-shrink: 0;
}
.chapter-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: -1px;
  height: 2px;
  background: #0A3FA8;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(30, 107, 230, 0.45), transparent 55%), radial-gradient(ellipse at 80% 20%, rgba(10, 63, 168, 0.6), transparent 55%), linear-gradient(180deg, #062766 0%, #0A3FA8 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(135deg, transparent 0 32px, rgba(255, 255, 255, 0.025) 32px 33px);
}
.hero .hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 40px, rgba(255, 255, 255, 0.04) 40px 41px), repeating-linear-gradient(0deg, transparent 0 40px, rgba(255, 255, 255, 0.04) 40px 41px), radial-gradient(ellipse at 50% 30%, rgba(184, 208, 242, 0.15), transparent 70%);
}

.corner-mark:nth-child(1) {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}
.corner-mark:nth-child(2) {
  top: -1px;
  right: -1px;
  border-left: 0;
  border-bottom: 0;
}
.corner-mark:nth-child(3) {
  bottom: -1px;
  left: -1px;
  border-right: 0;
  border-top: 0;
}
.corner-mark:nth-child(4) {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, #B8D0F2, transparent);
  animation: hint 2.4s ease-in-out infinite;
}

@keyframes hint {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}
.stripe-lg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 28px, rgba(10, 63, 168, 0.05) 28px 29px);
}

.stripe-sm {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(10, 63, 168, 0.05) 22px 23px);
}

.frame-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #0A3FA8;
  align-self: center;
  display: block;
  flex-shrink: 0;
}

.story-text p:first-of-type::first-letter {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #0A3FA8;
  float: left;
  line-height: 0.9;
  margin: 6px 12px 0 0;
  letter-spacing: 0;
}

.chapter:nth-child(even) {
  background: #F7F9FC;
}

.ch-divider::before, .ch-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #E5EAF2;
  max-width: 200px;
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(30, 107, 230, 0.4), transparent 60%);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
    padding: 80px 0 60px !important;
  }
  .hero-visual {
    display: none !important;
  }
  .ch-head {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .ch-body {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .sub-grid {
    grid-template-columns: 1fr !important;
  }
  .chapter-nav .nav-label {
    padding-right: 16px !important;
  }
  .nav-link {
    padding: 0 18px !important;
    font-size: 12.5px !important;
  }
}/*# sourceMappingURL=story.css.map */