@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Hina+Mincho&display=swap");
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

全ページ共通

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Hina Mincho", YuMincho, "Yu Mincho", "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "serif";
  font-size: 1.6rem;
  color: #333;
  letter-spacing: 2px;
  line-height: 1.8;
}
@media screen and (max-width: 520px) {
  body {
    font-size: 1.4rem;
  }
}

*:hover,
*::before,
*::after {
  transition: 0.2s;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

文字

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
p {
  margin: 20px 0;
  letter-spacing: 1px;
  text-align: justify;
}

a {
  color: inherit;
}

/*－－－－－－－－－－ 見出し －－－－－－－－－－*/
h1,
h2,
h3,
h4,
h5 {
  font-family: "Hina Mincho", YuMincho, "Yu Mincho", "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "serif";
  font-weight: normal;
  letter-spacing: 4px;
  line-height: 1.2;
  text-transform: uppercase;
  word-break: break-all;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

アイコン等

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.la,
.las {
  font-size: 1.2em;
  color: #90cdcc;
  position: relative;
  top: 2px;
}

/* 矢印 */
.arrow {
  width: 20px;
  height: 20px;
  border: 2px solid #90cdcc;
  border-bottom: 0;
  border-left: 0;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

枠組み

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.box {
  padding: 40px;
  border: 1px solid #90cdcc;
  border-left: none;
  border-right: none;
}
.box > :first-child {
  margin-top: 0;
}
.box > :last-child {
  margin-bottom: 0;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

レイアウト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/*－－－－－－－－－－ 横並び －－－－－－－－－－*/
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* 表示サイズを変えたい場合は200pxの部分を変更 */
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

全体のレイアウト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/*－－－－－－－－－－ コンテンツ全体の横幅、余白 －－－－－－－－－－*/
.mainwrapper {
  padding: 20px;
}
.mainwrapper > :first-child {
  margin-top: 0;
}

/* PC */
@media screen and (min-width: 1025px), print {
  .mainwrapper {
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 20px;
  }
}
/*－－－－－－－－－－ セクション －－－－－－－－－－*/
section:first-of-type {
  padding-top: 0;
}

section {
  padding: 30px 0;
}
section > :first-child {
  margin-top: 0;
}
section > :last-child {
  margin-bottom: 0;
}
section section:first-of-type {
  padding-top: 0;
}
section section:last-of-type {
  padding-bottom: 0;
}

/* PC */
@media screen and (min-width: 1025px), print {
  section {
    padding: 40px 0;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

フッター

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
footer {
  font-size: 1rem;
  text-align: center;
  padding: 10px;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

小説ページ

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/*－－－－－－－－－－ ページレイアウト －－－－－－－－－－*/
.novelpage__inner {
  max-width: 800px;
  margin: 100px auto;
}
.novelpage__inner .novelvisual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 800px;
  height: 480px;
  z-index: 0;
}
.novelpage__inner .novelvisual .novelvisual__img {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 80px;
  /* 画像サイズを調整 */
  z-index: -1;
  opacity: 0.6;
}
.novelpage__inner .novelvisual .novelpage__title {
  font-family: "Hina Mincho", YuMincho, "Yu Mincho", "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "serif";
  font-size: 4rem;
  letter-spacing: 12px;
  line-height: 1.8;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: vertical-rl;
  text-shadow: 0 0 6px #fff;
}
.novelpage__inner .novelvisual .caption {
  position: absolute;
  top: 350px;
  left: 140px;
  display: flex;
  flex-direction: row-reverse;
  text-shadow: 0 0 2px #fff;
}
.novelpage__inner .novelvisual .caption .caption1,
.novelpage__inner .novelvisual .caption .caption2 {
  font-family: "Hina Mincho", YuMincho, "Yu Mincho", "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "serif";
  font-size: clamp(1.8rem, 1.582rem + 1.09vw, 2.4rem);
  letter-spacing: 10px;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: vertical-rl;
  margin: 0;
}
.novelpage__inner .novelvisual .caption .caption2 {
  margin-top: 150px;
}
.novelpage__inner .novelpage__main {
  margin: 400px 0 200px;
}

/* タブレット */
@media screen and (max-width: 768px) {
  .novelpage__inner .novelvisual {
    width: 100%;
  }
  .novelpage__inner .novelvisual .novelvisual__img img {
    height: 480px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .novelpage__inner .novelvisual .caption {
    top: 90%;
  }
}
/* スマホ */
@media screen and (max-width: 520px) {
  .novelpage__inner .novelvisual .novelvisual__img {
    padding: 0;
  }
}
/*－－－－－－－－－－ 前後ページへのナビ －－－－－－－－－－*/
.pagenav {
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 200px 0;
}

.pagenav__item a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.pagenav__item a i {
  opacity: 0;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.pagenav__item a:hover i {
  opacity: 1;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
}
.pagenav__item.--prev a i {
  margin-right: 10px;
}
.pagenav__item.--prev a:hover i {
  transform: translateX(-6px);
  -webkit-transform: translateX(-6px);
  -moz-transform: translateX(-6px);
  -ms-transform: translateX(-6px);
  -o-transform: translateX(-6px);
}
.pagenav__item.--next a i {
  margin-left: 10px;
}
.pagenav__item.--next a:hover i {
  transform: translateX(6px);
  -webkit-transform: translateX(6px);
  -moz-transform: translateX(6px);
  -ms-transform: translateX(6px);
  -o-transform: translateX(6px);
}