@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Hina+Mincho&family=Princess+Sofia&display=swap");
/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

入口

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  gap: 40px;
}

.entrance {
  position: relative;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
}
.entrance .sitename {
  position: absolute;
  inset: 0;
  margin: auto;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding: 40px 40px 40px 66px;
  z-index: 1;
  color: #BF9100;
  filter: saturate(1.6);
}
.entrance:hover {
  box-shadow: 0 8px 16px -12px #58251D;
  transform: translateY(-4px);
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  -o-transform: translateY(-4px);
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

メインビジュアル

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

更新履歴

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.update {
  height: 140px;
  overflow-y: auto;
  padding-right: 20px;
}

.update__item {
  display: flex;
  gap: 20px;
  padding: 8px 0;
}
.update__item:not(:last-child) {
  border-bottom: 1px dashed #BF9100;
}

/* スマホ */
@media screen and (max-width: 520px) {
  .update__item {
    flex-direction: column;
    gap: 4px;
  }
}
/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

トピック一覧

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.topiclist__item {
  container-type: inline-size;
  margin-bottom: 40px;
}
.topiclist__item:last-child {
  margin: 0;
}
.topiclist__item .grid {
  gap: 20px;
  text-decoration: none;
  align-items: flex-start;
}
.topiclist__item .grid img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.topiclist__item .grid p {
  margin: 0;
}

@container (max-width: 640px) {
  .grid {
    gap: 10px;
    grid-template-columns: 1fr;
  }
}
/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

 ABOUT

 −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
/*−−−−−−−−−− Profile −−−−−−−−−−*/
.profile__img {
  padding: 0 40px;
}
.profile__img img {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  margin: auto;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

LINK

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.linklist__item a {
  text-decoration: none;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

 CONTACT

 −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.mailform input {
  width: max(50%, 400px);
}
.mailform textarea {
  width: 100%;
}

/* タブレット、スマホ */
@media screen and (max-width: 768px) {
  .mailform input,
  .mailform textarea {
    max-width: 100%;
  }
}
/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

 NOVEL

 −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
/*−−−−−−−−−−  小説一覧ページ −−−−−−−−−−*/
.novellist {
  margin-top: 20px;
}
.novellist.--2column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  /* スマホ */
}
.novellist.--2column .novellist__item {
  margin: 0;
}
.novellist.--2column > :last-child {
  margin-bottom: 0;
}
.novellist.--2column .novellist__text {
  margin-left: 0px;
}
@media screen and (max-width: 520px) {
  .novellist.--2column {
    grid-template-columns: 1fr;
  }
}

.novellist__item {
  margin-bottom: 40px;
}
.novellist__item .grid {
  grid-template-columns: repeat(auto-fill, minmax(20px, 1fr));
  gap: 20px;
}

/* 小説のタイトル */
.novellist__title {
  font-size: clamp(1.6rem, 1.56rem + 0.2vw, 1.8rem);
}

.short .novellist__title {
  font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
}

.novellist__title + * {
  margin-left: 20px;
}

/* 数字プラス小タイトルの数字の色 */
.novellist__number {
  color: #BF9100;
  margin-right: 10px;
}

/* 短編小説の説明文 */
.novellist__text {
  display: block;
  font-size: 0.8em;
  margin: 10px;
  margin-left: 20px;
}

/*−−−−−−−−−− 長編小説ページ −−−−−−−−−−*/
.longnovel .longnovel__title {
  font-size: clamp(3rem, 2.8rem + 1vw, 4rem);
  font-weight: normal;
  margin: 40px 0;
  text-align: center;
  padding: 16px 20px 6px;
  background-color: rgba(222, 230, 233, 0.6);
  background-image: linear-gradient(#BF9100 0% 100%), linear-gradient(#BF9100 0% 100%), linear-gradient(#BF9100 0% 100%), linear-gradient(#BF9100 0% 100%);
  background-repeat: no-repeat;
  background-size: 4px 100%, 1px 100%, 1px 100%, 4px 100%;
  background-position: left center, 6px center, calc(100% - 6px) center, right center;
  word-break: keep-all;
}
.longnovel .novellist .novellist__item {
  margin-bottom: 30px;
}
.longnovel .novellist > :last-child {
  margin-bottom: 0;
}
.longnovel .novellist.--2column .novellist__item {
  margin: 0;
}

/*−−−−−−−−−− 小説のページ −−−−−−−−−−*/
.novelpage__inner {
  max-width: 800px;
  margin: auto;
  padding: 80px 0;
}

.novelpage__title {
  margin-bottom: 80px;
}

/* 前後ページへのナビ */
.pagenav {
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 80px 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);
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

GALLERY

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.gallerylist {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.gallerylist__item {
  width: calc((100% - 80px) / 5);
  height: auto;
}
@media screen and (max-width: 1450px) {
  .gallerylist__item {
    width: calc((100% - 60px) / 4);
  }
}
@media screen and (max-width: 767px) {
  .gallerylist__item {
    width: calc((100% - 40px) / 3);
  }
}
@media screen and (max-width: 520px) {
  .gallerylist__item {
    width: calc((100% - 20px) / 2);
  }
}
.gallerylist__item a {
  position: relative;
  width: 100%;
  display: block;
}
.gallerylist__item a::before {
  content: "";
  display: block;
  padding-top: 100%;
  /*100%=親要素の横幅*/
}
.gallerylist__item a img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

COMIC

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
/*−−−−−−−−−− 漫画タイトル一覧ページ −−−−−−−−−−*/
.comiclist {
  container-type: inline-size;
}

.comiclist__item {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.comiclist__item .comiclist__img {
  position: relative;
  width: 100%;
  height: 100%;
}
.comiclist__item .comiclist__img img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* スマホ */
@container (max-width: 580px) {
  .comiclist .comiclist__item {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .comiclist .comiclist__item .comiclist__img img {
    position: relative;
    max-height: 40vh;
  }
  .comiclist .comiclist__item .comiclist__body {
    padding-top: 0;
  }
  .comiclist .comiclist__item .comiclist__body .comiclist__title {
    position: static;
    width: 100%;
    margin: 20px 0;
  }
}
/*−−−−−−−−−− 漫画表紙ページ −−−−−−−−−−*/
/* メイン画像 */
.comic__mainvisual {
  position: relative;
  margin-bottom: 40px;
}

/* タイトル */
.comic__title {
  font-size: clamp(3rem, 2.8rem + 1vw, 4rem);
  font-weight: normal;
  margin: 40px 0;
  text-align: center;
  padding: 16px 20px 6px;
  background-color: rgba(222, 230, 233, 0.6);
  background-image: linear-gradient(#BF9100 0% 100%), linear-gradient(#BF9100 0% 100%), linear-gradient(#BF9100 0% 100%), linear-gradient(#BF9100 0% 100%);
  background-repeat: no-repeat;
  background-size: 4px 100%, 1px 100%, 1px 100%, 4px 100%;
  background-position: left center, 6px center, calc(100% - 6px) center, right center;
  word-break: keep-all;
}

/*−−−−−−−−−− キャラクター紹介 −−−−−−−−−−*/
/* キャラクター名一覧 */
.charanamelist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.charanamelist .charanamelist__item {
  cursor: pointer;
}

/* キャラクタープロフィール部分 */
.charalist--3 {
  margin-bottom: 40px;
}
.charalist--3 .charalist__item {
  position: relative;
  height: 100%;
  display: none;
}
.charalist--3 .charalist__item .charalist__img {
  width: 40%;
  height: 100%;
  max-height: 60vh;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center top;
  object-position: center top;
}
.charalist--3 .charalist__item .charalist__body {
  width: calc(60% - 20px);
}
.charalist--3 .charalist__item .charalist__body > :first-child {
  margin-top: 0;
}
.charalist--3 .charalist__item .charalist__body .charalist__name {
  font-size: clamp(2rem, 1.422rem + 2.37vw, 3.2rem);
}
.charalist--3 .charalist__item.show {
  display: flex;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .charalist--3 .charalist__item {
    display: none;
  }
  .charalist--3 .charalist__item.flex .charalist__img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    -o-object-fit: contain;
    object-fit: contain;
  }
  .charalist--3 .charalist__item.flex .charalist__img img {
    width: 100%;
    height: auto;
  }
  .charalist--3 .charalist__item.flex .charalist__body {
    width: 100%;
  }
}
/*−−−−−−−−−− 連載一覧 −−−−−−−−−−*/
.cardlist {
  container-type: inline-size;
}
.cardlist a {
  text-decoration: none;
}
.cardlist .cardlist__item {
  width: calc((100% - 60px) / 4);
}
.cardlist .cardlist__item a .cardlist__img {
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

@container (max-width: 800px) {
  .cardlist .cardlist__item {
    width: calc((100% - 40px) / 3);
  }
}
@container (max-width: 600px) {
  .cardlist {
    gap: 10px;
  }
  .cardlist .cardlist__item {
    width: calc((100% - 20px) / 2);
  }
  .cardlist .cardlist__item a .cardlist__img {
    width: 100%;
    height: 140px;
  }
}
/*−−−−−−−−−− 漫画のページ −−−−−−−−−−*/
.comicpage__main img {
  margin: auto;
  margin-bottom: 20px;
}

.episodelist {
  margin: 40px 0;
  padding: 20px 40px;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

OFFLINE

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.off-list {
  gap: 40px;
  margin-bottom: 80px;
}

.storelist {
  gap: 10px;
  margin: 20px 0;
}

/* タブレット */
@media screen and (min-width: 769px) and (max-width: 1450px) {
  .off-list {
    gap: 20px;
  }
}@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Hina+Mincho&family=Princess+Sofia&display=swap");
/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

全ページ共通

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Hina Mincho", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  font-size: 1.6rem;
  color: #58251D;
  letter-spacing: 2px;
  line-height: 1.8;
}
@media screen and (max-width: 520px) {
  body {
    font-size: 1.4rem;
  }
}

/* 固定背景 */
body::before {
  position: fixed;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100dvh;
  background: url(##IMAGE_DATA_4##);
  background-size: cover;
  z-index: -1;
}

*:hover,
*::before,
*::after {
  transition: 0.2s;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

文字

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
p {
  margin: 20px 0;
  letter-spacing: 1px;
  text-align: justify;
}

a {
  color: inherit;
}

/*−−−−−−−−−− リンクホバー時の設定 −−−−−−−−−−*/
@media (hover: hover) {
  a:hover {
    background-color: rgba(222, 230, 233, 0.6);
  }
}

/* ホバー装飾の無効化 */
a:is(.globalnav *, .snslist *):hover {
  background: none;
}

/*fuwaimgでの無効化 */
/*−−−−−−−−−− 見出し −−−−−−−−−−*/
h1,
h2,
h3,
h4,
h5 {
  font-family: "Princess Sofia", "Hina Mincho", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  font-weight: normal;
  letter-spacing: 4px;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: break-word;
  text-shadow: 0 0 1px rgba(191, 145, 0, 0.8);
}
h1 .ja,
h2 .ja,
h3 .ja,
h4 .ja,
h5 .ja {
  font-size: 0.8em;
}

/*−−−−−−−−−− 大見出し −−−−−−−−−−*/
.headingL {
  font-size: clamp(3rem, 2.8rem + 1vw, 4rem);
  margin: clamp(3rem, 2.8rem + 1vw, 4rem) auto;
  display: block;
  padding: 20px 28px 12px;
  width: -moz-fit-content;
  width: fit-content;
  color: #BF9100;
  background: linear-gradient(135deg, #BF9100 8px, rgba(222, 230, 233, 0.6) 8px calc(100% - 8px), #BF9100 8px);
  outline: 1px solid #BF9100;
  outline-offset: -5px;
}

/*−−−−−−−−−− 中見出し −−−−−−−−−−*/
.headingM {
  font-size: clamp(2.4rem, 2.28rem + 0.6vw, 3rem);
  margin: clamp(2rem, 1.8rem + 1vw, 3rem) 0;
  border-bottom: 6px double rgba(191, 145, 0, 0.8);
  width: -moz-fit-content;
  width: fit-content;
}

/*−−−−−−−−−− 小見出し −−−−−−−−−−*/
.headingS {
  font-size: clamp(2rem, 1.96rem + 0.2vw, 2.2rem);
  margin: 20px 0;
  width: -moz-fit-content;
  width: fit-content;
}

/*−−−−−−−−−− 最小見出し −−−−−−−−−−*/
.headingSS {
  font-size: clamp(1.8rem, 1.76rem + 0.2vw, 2rem);
  margin: 20px 0;
}

/*−−−−−−−−−− 文字装飾 −−−−−−−−−−*/
.right {
  text-align: right;
}

.center {
  text-align: center;
}

.marker {
  background: linear-gradient(transparent 60%, rgba(222, 230, 233, 0.6) 60%);
}

.label {
  display: block;
  margin: 20px 0;
  padding: 2px 10px;
  background-color: rgba(222, 230, 233, 0.6);
  width: -moz-fit-content;
  width: fit-content;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

アイコン等

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.la,
.las {
  font-size: 1.2em;
  color: #BF9100;
  position: relative;
  top: 2px;
}

/* 矢印 */
.arrow {
  width: 20px;
  height: 20px;
  border: 2px solid #BF9100;
  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);
}

/* キラキラ飾り */
.kirakira {
  position: relative;
  height: 200px;
  width: 200px;
  background-color: #BF9100;
}
.kirakira .path::before, .kirakira .path::after {
  background-color: #fff;
  position: absolute;
  content: "";
  display: block;
  height: 100px;
  width: 100px;
}
.kirakira .path.left::before {
  top: 100px;
  left: 0px;
  border-top-right-radius: 70%;
}
.kirakira .path.left::after {
  top: 0px;
  left: 0px;
  border-top-left-radius: 70%;
}
.kirakira .path.right::before {
  top: 100px;
  left: 100px;
  border-top-left-radius: 70%;
}
.kirakira .path.right::after {
  top: 0px;
  left: 100px;
  border-bottom-left-radius: 70%;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

入力フォーム、ボタン

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
/* 入力フォーム */
input,
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 10px 20px 8px 20px;
  border: 0;
  border-bottom: 1px solid #BF9100;
  margin: 10px 0;
}

textarea {
  border: 1px solid #BF9100;
}

/* ボタン */
.btn {
  display: block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #BF9100;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #BF9100;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.btn:hover {
  cursor: pointer;
  background-color: #DEE6E9;
  color: #58251D;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

リスト

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.list,
.list-number {
  margin: 20px 0;
}

.list li {
  position: relative;
  margin-left: 16px;
}
.list li::before {
  position: absolute;
  top: calc(50% - 4px);
  left: -16px;
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-color: #BF9100;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

/*−−−−−−−−−− 数字付きリスト −−−−−−−−−−*/
.list-number {
  list-style-type: decimal-leading-zero;
  list-style-position: inside;
}
.list-number li {
  text-indent: -3.4rem;
  padding-left: 3.6rem;
}
.list-number li > :not(:first-child) {
  text-indent: 0;
}

/*−−−−−−−−−− 表リスト −−−−−−−−−−*/
.gridlist {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 0px;
}
.gridlist .gridlist__label,
.gridlist .gridlist__text {
  padding: 6px 20px;
  border-bottom: 1px dashed #BF9100;
}
.gridlist .gridlist__label {
  display: flex;
  align-items: center;
}

/* スマホ */
@media screen and (max-width: 520px) {
  .gridlist {
    grid-template-columns: 1fr;
  }
}
/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

枠組み

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.box {
  position: relative;
  padding: 20px;
  border: 1px solid #BF9100;
  border-left: none;
  border-right: none;
}
.box::after {
  position: absolute;
  top: -6px;
  left: -6px;
  content: "";
  display: block;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  background: rgba(222, 230, 233, 0.6);
  z-index: -1;
}
.box > :first-child {
  margin-top: 0;
}
.box > :last-child {
  margin-bottom: 0;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

SNSアイコンリスト

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.snslist .snslist__item a {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: #DEE6E9;
  border-radius: 50%;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.snslist .snslist__item a:hover {
  color: #fff;
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
}
.snslist .snslist__item.twitter:hover a {
  background-color: #1DA1F2;
}
.snslist .snslist__item.instagram:hover a {
  background-color: #CF2E92;
}
.snslist .snslist__item.facebook:hover a {
  background-color: #4267b2;
}
.snslist .snslist__item.youtube:hover a {
  background-color: #DA1725;
}
.snslist .snslist__item .lab {
  margin: 6px 1px 3px 3px;
  font-size: 2rem;
}
@media screen and (max-width: 520px) {
  .snslist {
    justify-content: center;
  }
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

レイアウト

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
/*−−−−−−−−−− 横並び −−−−−−−−−−*/
.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;
}

/*−−−−−−−−−− 2カラム表示 −−−−−−−−−−*/
.--2column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}

/* タブレット、スマホでは１カラム */
@media screen and (max-width: 768px) {
  .--2column {
    grid-template-columns: 1fr;
  }
}
/*−−−−−−−−−− 左右反対 −−−−−−−−−−*/
.reverse {
  flex-direction: row-reverse;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

全体のレイアウト

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
/* 見開きの本 */
.book2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 99dvh;
  background: url(##IMAGE_DATA_3##) center center no-repeat;
  background-size: contain;
  z-index: -1;
}

/* タブレット */
@media screen and (max-width: 1450px) {
  .book2 {
    width: calc(100% + 10px);
    background-position: -10px top;
    background-size: cover;
  }
}
/* タブレット */
@media screen and (max-width: 1024px) {
  .book2 {
    background-size: 196% 100%;
  }
}
/*−−−−−−−−−− ヘッダー −−−−−−−−−−*/
/*−−−−−−−−−− コンテンツ全体の横幅、余白 −−−−−−−−−−*/
.mainwrapper {
  position: fixed;
  height: 90dvh;
  width: 100vw;
  padding: 20px;
  padding-left: 40px;
  margin: 5dvh 0;
  overflow-y: scroll;
  scroll-behavior: smooth;
}
.mainwrapper > :first-child {
  margin-top: 0;
}

/* タブレット */
@media screen and (min-width: 521px) and (max-width: 1450px) {
  .mainwrapper {
    padding: 40px;
    padding-left: 100px;
  }
}
/* PC */
@media screen and (min-width: 1451px), print {
  .mainwrapper {
    position: fixed;
    right: 0;
    width: 50vw;
    height: 90dvh;
    margin: 5dvh 0;
    padding-left: 40px;
    padding-right: calc(50vw - 80vh + 76px);
    overflow-y: scroll;
  }
}
/*−−−−−−−−−− セクション −−−−−−−−−−*/
section:first-of-type {
  padding-top: 0;
}

section {
  padding: 60px 0;
  border-bottom: 1px solid #BF9100;
}
section > :first-child {
  margin-top: 0;
}
section > :last-child {
  margin-bottom: 0;
}
section section {
  padding: 20px;
  border: none;
}
section section:first-of-type {
  padding-top: 0;
}
section section:last-of-type {
  padding-bottom: 0;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

メニューボタン

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.hamburger {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  z-index: 999;
}
.hamburger .hamburger__line {
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: #BF9100;
}
.hamburger .hamburger__line::before, .hamburger .hamburger__line::after {
  position: absolute;
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: #BF9100;
}
.hamburger .hamburger__line::before {
  top: -8px;
}
.hamburger .hamburger__line::after {
  bottom: -8px;
}

/*閉じる*/
.hamburger._active .hamburger__line {
  background: transparent;
}
.hamburger._active .hamburger__line::before {
  top: 0;
  transform: rotate(45deg);
}
.hamburger._active .hamburger__line::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* タブレット */
@media screen and (min-width: 521px) and (max-width: 1180px) {
  .hamburger {
    top: 2vw;
    right: 2vw;
  }
}
/* PCで非表示 */
@media screen and (min-width: 1451px), print {
  .hamburger {
    display: none;
  }
}
/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

メニュー

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.globalnav {
  position: fixed;
  top: 6dvh;
  left: 0;
  width: calc(80vh - 136px);
  height: 83dvh;
  margin: 5dvh 0;
  margin-left: calc(50vw - 80vh + 96px);
  border: 2px solid #BF9100;
  outline: 1px solid #BF9100;
  outline-offset: -5px;
}
.globalnav::before {
  position: absolute;
  top: -80px;
  content: "";
  display: block;
  background: url(##IMAGE_DATA_2##) center no-repeat;
  background-size: contain;
  height: 80px;
  width: 100%;
}

.globalnav__title {
  font-size: clamp(2.4rem, 2.28rem + 0.6vw, 3rem);
  margin: 40px auto;
  padding-bottom: 4px;
  border-bottom: 6px double rgba(191, 145, 0, 0.8);
  width: -moz-fit-content;
  width: fit-content;
  letter-spacing: 4px;
}

.globalnav__main {
  position: relative;
  padding: 0 40px 40px;
  height: calc(100% - 130px);
  margin-right: 3px;
  overflow: auto;
}
.globalnav__main .globalnav__item {
  position: relative;
  font-family: "Princess Sofia", "Hina Mincho", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  border-bottom: 1px solid #BF9100;
  width: 100%;
}
.globalnav__main .globalnav__item a {
  position: relative;
  display: block;
  text-decoration: none;
  padding: 8px 10px 8px;
  overflow-wrap: break-word;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.globalnav__main .globalnav__item a::after {
  position: absolute;
  top: 1em;
  left: -0.6em;
  content: "";
  display: block;
  width: 100%;
  max-width: 10em;
  height: 1em;
  background-color: rgba(222, 230, 233, 0.6);
  z-index: -1;
  transform: rotate(-10deg);
  -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  -ms-transform: rotate(-10deg);
  -o-transform: rotate(-10deg);
  opacity: 0;
  visibility: hidden;
}
.globalnav__main .globalnav__item a:hover, .globalnav__main .globalnav__item a:has(+ .globalnav__child:hover) {
  background: none;
}
.globalnav__main .globalnav__item a:hover::after, .globalnav__main .globalnav__item a:has(+ .globalnav__child:hover)::after {
  opacity: 1;
  visibility: visible;
}
.globalnav__main .globalnav__item > a {
  font-size: clamp(2rem, 1.92rem + 0.4vw, 2.4rem);
}
.globalnav__main .globalnav__child {
  margin-left: 20px;
}

/*  タブレット、スマホでの表示 */
@media screen and (max-width: 1450px) {
  .header._active {
    position: fixed;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #DEE6E9;
    z-index: 1;
  }
  .globalnav {
    top: 0;
    left: 0;
    width: calc(100% - 12vw);
    height: calc(100dvh - 18vw);
    background-color: #fff;
    margin: 6vw;
    margin-top: 12vw;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -moz-transition: 0.2s;
  }
  .globalnav._active {
    opacity: 1;
    visibility: visible;
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -moz-transition: 0.2s;
    -o-transition: 0.4s;
  }
  .globalnav__main .globalnav__item .globalnav__child {
    top: 100%;
    left: 0%;
    right: auto;
    max-width: calc(100vw - 40px);
    z-index: 1;
  }
}
/* スマホ */
@media screen and (max-width: 520px) {
  .globalnav {
    height: calc(100dvh - 28vw);
    margin-top: 22vw;
  }
  .globalnav__main .globalnav__item .globalnav__child {
    display: none;
  }
  .globalnav__main .globalnav__item .globalnav__child.active {
    display: block;
  }
}
/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

サブメニュー

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.submenu {
  margin-bottom: 40px;
}

.submenu__main {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}

._has-child > a {
  text-decoration: none;
  cursor: auto;
}

/* 親メニューのスタイル */
.submenu__item {
  position: relative;
  font-size: 2rem;
}
.submenu__item > a {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr);
  align-items: baseline;
  gap: 10px;
}
.submenu__item > a::after {
  content: "";
  display: block;
  height: 1px;
  background: #BF9100;
}
.submenu__item a {
  padding: 8px 10px;
  overflow-wrap: break-word;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}

/* 子メニューの左に余白 */
.submenu__main ._has-child ul {
  margin-left: 10px;
}

/* 子メニューのスタイル */
.submenu__child {
  font-size: 1.6rem;
}
.submenu__child > li > a {
  position: relative;
  display: block;
  padding-left: 16px;
}
.submenu__child > li > a::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #DEE6E9;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

/* 孫メニューのスタイル */
.submenu__grandchild li {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.submenu__grandchild li::before {
  content: "";
  display: block;
  height: 3px;
  border-bottom: 1px dashed rgba(191, 145, 0, 0.8);
}

/* リンク無効aタグのホバー時のスタイルを削除 */
.submenu ._has-child > a {
  background: none;
  cursor: auto;
}

.submenu__child ._has-child > a:hover {
  background: none;
}

/* スマホ */
@media screen and (max-width: 520px) {
  .submenu__item a {
    padding: 4px 10px;
  }
  .submenu__child > li {
    grid-template-columns: 1fr;
  }
  .submenu__child > li > a::before {
    top: 16px;
  }
}
/* 親メニューのみの場合の設定 */
.submenu__main:not(:has(.submenu__child)) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.submenu__main:not(:has(.submenu__child)) .submenu__item {
  font-size: clamp(1.6rem, 1.56rem + 0.2vw, 1.8rem);
}
.submenu__main:not(:has(.submenu__child)) .submenu__item > a {
  grid-template-columns: auto;
}
.submenu__main:not(:has(.submenu__child)) .submenu__item > a::after {
  display: none;
}

/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

ページUP

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
.pageup {
  position: fixed;
  right: 0;
  bottom: 2vw;
  margin-right: calc(50vw - 80vh + 76px);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: rgba(191, 145, 0, 0.2);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
}
.pageup .arrow {
  border-color: #fff;
  margin-top: 10px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}
.pageup._active {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) {
  .pageup:hover {
    background-color: #BF9100;
  }
}
/* タブレット */
@media screen and (max-width: 1450px) {
  .pageup {
    margin: 0;
    right: 2vw;
  }
}
/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

フッター

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/
footer:not(:where(.index *)) {
  position: fixed;
  right: calc(50vw + 40px);
  bottom: 3vh;
  font-size: 1rem;
}

/* タブレット */
@media screen and (max-width: 1450px) {
  footer {
    right: auto;
    left: 90px;
  }
}
/* スマホ */
@media screen and (max-width: 520px) {
  footer {
    left: 50px;
    right: auto;
    bottom: 2vh;
  }
}/* Box sizing rules */
/* Box sizingの定義 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
/* デフォルトのpaddingを削除 */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
/* デフォルトのmarginを削除 */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
/* bodyのデフォルトを定義 */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
/* ul、ol要素のリストスタイルを削除 */
ul,
ol {
  list-style: none;
}

/* A elements that don't have a class get default styles */
/* classを持たない要素はデフォルトのスタイルを取得 */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
/* img要素の扱いを簡単にする */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
/* article要素内の要素に自然な流れとリズムを定義 */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
/* inputやbuttonなどのフォントは継承を定義 */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
/* 見たくない人用に、すべてのアニメーションとトランジションを削除 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}