.novel-page {
  max-width: 800px;
  margin: 40px auto;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.75);
  color: #333;
  line-height: 1.8;
  letter-spacing: 1px;
  box-sizing: border-box;
}

.novel-page h1,
.novel-page h2 {
  font-family: "Yu Mincho", serif;
  font-weight: normal;
  color: #003399;
}

.novel-page h1 {
  font-size: 30px;
  margin: 0 0 20px;
}

.novel-page h2 {
  font-size: 24px;
  margin: 45px 0 15px;
}

.novel-page p {
  font-size: 14px;
  margin: 0 0 20px;
}

@media screen and (max-width: 600px) {
  .novel-page {
    width: 100%;
    margin: 0 auto;
    padding: 35px 20px;
  }

  .novel-page h1 {
    font-size: 26px;
  }

  .novel-page h2 {
    font-size: 21px;
  }
}
.chapter-entry a {
  display: inline-flex;
  align-items: baseline;
  gap: 28px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.chapter-entry .retrace-no {
  font-size: 13px;
  color: #555;
}

.chapter-entry .episode-title {
  font-size: 14px;
}

.chapter-entry a:hover {
  color: #003399;
  transform: translateX(5px);
}

.chapter-entry a:hover .episode-title {
  text-decoration: underline;
  text-underline-offset: 5px;
}


.novel-page .chapter-index .chapter-entry a,
.novel-page .chapter-index .chapter-entry a:visited {
  color: #333 !important;
  text-decoration: none !important;
  display: inline-flex;
  gap: 28px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.novel-page .chapter-index .chapter-entry a:hover {
  color: #003399 !important;
  transform: translateX(8px);
}


/* 標準の下線を消す */
.novel-page .chapter-entry a,
.novel-page .chapter-entry a:hover {
  text-decoration: none !important;
}

/* タイトル文字 */
.novel-page .chapter-entry .episode-title {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
}

/* 下線を用意 */
.novel-page .chapter-entry .episode-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: #003399;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

/* 右から左へ下線を伸ばす */
.novel-page .chapter-entry a:hover .episode-title::after {
  transform: scaleX(1);
}

/* hover時の文字色 */
.novel-page .chapter-index .chapter-entry a:hover,
.novel-page .chapter-index .chapter-entry a:hover .retrace-no,
.novel-page .chapter-index .chapter-entry a:hover .episode-title {
  color: #526778 !important;
}

/* 伸びる下線の色 */
.novel-page .chapter-entry .episode-title::after {
  background-color: #806C5D;
}

/* リンク標準の下線を完全に消す */
.novel-page .chapter-entry a,
.novel-page .chapter-entry a:link,
.novel-page .chapter-entry a:visited,
.novel-page .chapter-entry a:hover,
.novel-page .chapter-entry a:active,
.novel-page .chapter-entry a span {
  text-decoration: none !important;
  border-bottom: none !important;
}