@charset "UTF-8";

@import url("root.css");









/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



サイト全体共通



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

html {

font-size: 15px;

scroll-behavior: smooth;

}



body {

margin: 0;

font-family: var(--font-base);
background-color: #ffffff;



color: var(--color-text);

letter-spacing: 1px;

}



*:hover,

*::before,

*::after {

transition: 0.2s;

}



/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



文字



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

p {

margin: 20px 0;

letter-spacing: 1px;

text-align: justify;

line-height: 1.8

}



a {font-weight: 700;

color: inherit;

}



/*－－－－－－－－－－ リンクホバー時の設定 －－－－－－－－－－*/
.linklist__item a,
.toc a,
.series a,
.novellist a,
.text-link {
 color: #A379C5;
 text-decoration: none;
}

@media (hover: hover) {
 .linklist__item a:hover,
 .toc a:hover,
 .series a:hover,
 .novellist a:hover,
 .text-link:hover {
  background-color: #A379C5;
color: #ffffff;　


 }
}






/*－－－－－－－－－－ 見出し －－－－－－－－－－*/

h1,

h2,

h3,

h4,

h5,

h6 {

font-family: var(--font-title);

font-weight: 600;

letter-spacing: 2px;

margin: 0 0 1em 0;

overflow-wrap: break-word;

}





/*－－－－－－－－－－ 大見出し －－－－－－－－－－*/
.headingL {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem); /* スマホ約18px〜PC20px */
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: clamp(1.6rem, 1.5rem + 0.3vw, 2rem) 0;
  padding: 7px 12px;
  background-color: #f5f3ff;

  border-left: 5px solid #A379C5; border-top: 1px solid #D8CDEA; border-bottom: 1px solid #D8CDEA; border-right: 1px solid #D8CDEA;



  border-radius: 0 4px 4px 0;
}

/* すべての .headingL の上に基本の余白を入れる（PC基準） */
.headingL.headingL {
  margin-top: 10rem;
}

/* スマホ表示（767px以下）のときは上余白を少し詰めて読みやすくする */
@media (max-width: 767px) {
  .headingL.headingL {
    margin-top: 5.5rem;
  }
}

/* 一番最初の .headingL だけ控えめな余白にする */
.headingL.headingL:first-of-type {
  margin-top: 0rem;
}








/*－－－－－－－－－－ 中見出し －－－－－－－－－－*/
.headingM {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 1.25rem;
font-size-adjust: 0.4;
  font-weight: 700;
  margin: clamp(1.2rem, 1.1rem + 0.2vw, 1.5rem) 0;
  padding-bottom: 6px;
  background-image: repeating-linear-gradient(
    to right,
    currentColor 0 8px,
    transparent 8px 14px
  );
  background-position: left bottom;
  background-size: 100% 1px;
  background-repeat: no-repeat;
}


/*－－－－－－－－－－ 小見出し －－－－－－－－－－*/
.headingS {
  font-size: 1.20rem;
  margin: 16px 0;
}

/*－－－－－－－－－－ 最小見出し －－－－－－－－－－*/
.headingSS {
  font-size: 0.9rem;
  margin: 16px 0;
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



アイコン等



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

.la,

.las {

font-size: 1.2em;

color: var(--color-main);

position: relative;

top: 2px;

}



/* 矢印 */

.arrow {

display: inline-block;

width: 20px;

height: 20px;

border: 1px solid var(--color-main);

border-bottom: 0;

border-left: 0;



&.right {

transform: rotate(45deg);

}



&.left {

transform: rotate(-135deg);

}

}



/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



リスト



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/



.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: var(--color-accent);

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;

}


/*－－－－－－－－－－ 文字装飾 －－－－－－－－－－*/
.marker {
 background: linear-gradient(transparent 50%, rgb(from var(--color-accent) r g b / 0.2) 50%);
}

.label {
 display: inline-block;
 margin: 8px 0;
 padding: 2px 6px;
 border-radius: 4px;
 font-size: 13px;
 line-height: 1.4;
 color: #ffffff;
 background-color: #745c8a;
 text-decoration: none;
 width: fit-content;
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－











/*－－－－－－－－－－ 表リスト －－－－－－－－－－*/

.gridlist {

display: grid;

grid-template-columns: auto 1fr;

gap: 0px;

margin-bottom: 80px;

}



.gridlist .gridlist__label,

.gridlist .gridlist__text {

padding: 10px 20px;

border-bottom: 1px solid var(--color-sub);

}



.gridlist .gridlist__label {

display: flex;

align-items: center;

color: var(--color-accent);

}



/* スマホ */

@media screen and (max-width: px) {

.gridlist {

grid-template-columns: 1fr;

}

}



/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



入力フォーム、ボタン



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

/* 入力フォーム */

input,

textarea {

-webkit-appearance: none;

-moz-appearance: none;

appearance: none;

padding: 6px 10px;

border: 1px solid var(--color-sub);

margin: 10px 0;

width: 650px;

max-width: 100%;

}



/* ボタン */

.btn {

display: block;

-webkit-appearance: none;

-moz-appearance: none;

appearance: none;

background-color: var(--color-main);

color: var(--color-white);

text-align: center;

text-decoration: none;

padding: 4px 12px;

border: none;

transition: 0.2s;



.arrow {

display: inline-block;

margin-left: 10px;

width: 10px;

height: 10px;

border-color: var(--color-white);

}

}



.btn:hover {

cursor: pointer;

background-color: var(--color-accent);



.arrow {

border-color: var(--color-text);

}

}



.tags.flex {
 display: flex;
 flex-wrap: wrap;
 gap: 6px 8px;
 margin: 8px 0;
 padding: 0;
 list-style: none;
}

.tags.flex li {
 padding: 2px 6px;
 border-radius: 4px;
 border: none;
 box-shadow: none;
 font-size: 10px; !important;
line-height: 1.35 !important;
 color: #333333; !important;
 background-color: #E9EBED; !important;
 text-decoration: none;
}




.tag {
 padding: 2px 6px;
 border-radius: 4px;
 border: none;
 box-shadow: none;
 font-size: 10px !important;
 line-height: 1.35 !important;
 color: #787979 !important;
 background-color: #E9EBED !important;

text-decoration: none;
}





/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



レイアウト



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

/*－－－－－－－－－－ 横並び －－－－－－－－－－*/

.flex {

display: flex;

flex-wrap: wrap;

gap: 20px;

align-items: center;

}







ul.flex.yoko {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 0 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
ul.flex.yoko li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  width: auto !important;
}
/* 項目と項目の間に細い縦線を入れる */
ul.flex.yoko li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  background-color: currentColor;
  opacity: 0.3;
  margin: 0 12px;
}
ul.flex.yoko li a {
  font-size: 14px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  border: none !important;
  padding: 2px 0 !important;
  transition: opacity 0.2s !important;
}





/* 上の段に出した「登場人物」のデザイン */
p.chara-link {
  margin: 0 0 10px 0 !important; /* 下のリストとの隙間 */
  padding: 0 !important;
}

p.chara-link a {
  display: inline-block !important;
  font-size: 13px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  padding: 4px 12px !important;
  border: 1px solid currentColor !important;
  border-radius: 4px !important;
  transition: opacity 0.2s !important;
}

p.chara-link a:hover {
  opacity: 0.6 !important;
}
















.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;

}

}



/*－－－－－－－－－－ 枠囲みボックス －－－－－－－－－－*/

.box {

padding: 40px;

border: 1px solid var(--color-accent);

}



.box> :first-child {

margin-top: 0;

}



.box> :last-child {

margin-bottom: 0;

}



/*－－－－－－－－－－ セクション －－－－－－－－－－*/

section:first-of-type {

padding-top: 0;

}



section {

padding: 30px 0 100px 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 100px 0;
}

}



/*－－－－－－－－－－ スペーサー －－－－－－－－－－*/

.spacer {

height: 30px;

}



/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



ヘッダー



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

.header {

position: fixed;

top: 0;

width: 100%;
  

background: #f5f3ff;

border-bottom: 1px solid #D8CDEA;

padding: 1em;

z-index: 1000;

}

.header-inner {

max-width: 1000px;

margin: 0 auto;

display: flex;

align-items: center;

justify-content: space-between;}



.sitename {
 font-size: 26px;font-weight: 700;
 margin: 0;
 --font-base: "Noto Serif JP", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
 --font-title: "EB Garamond", "Noto Serif JP", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";



}



/*－－－－－－－－－－ メニュー －－－－－－－－－－*/



.globalnav {
 align-items: center;
}

.globalnav__main {
 display: flex;
 gap: 6px;
 list-style: none;
 margin: 0;
 padding: 0;
}

.globalnav__item {
 position: relative;

 a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #333333;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 4px;
  overflow-wrap: break-word;

  transition: 0.2s;

  &:hover {
   color: #333333;
   background-color: #D8CDEA;
  }
 }
}


/* タブレット、スマホでの表示 */
@media screen and (max-width: 900px) {
 .globalnav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f5f3ff;
  opacity: 0;
  transform: translateX(100%);
  transition: 0.4s;

  &._active {
   opacity: 1;
   transform: translateX(0);
   transition: 0.4s;
  }
 }

 .globalnav__main {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 80%;
  max-width: 280px;

  .globalnav__item {
   width: 100%;

   a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #A379C5;
    background-color: #ffffff;
    border: 1px solid rgba(163, 121, 197, 0.35);
    border-radius: 6px;
    padding: 12px 20px;
   }

   .globalnav__child {
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    margin: 10px;
    background-color: var(--color-white);
    padding: 10px;
    z-index: 1;
    visibility: visible;
    opacity: 1;
    display: none;

    &.active {
     display: block;
    }

    li {
     a {
      color: var(--color-main);
      padding: 10px;
     }

     &:not(:last-child) {
      border-bottom: 1px solid var(--color-sub);
     }
    }
   }
  }
 }

 .globalnav .social-icons {
  margin-top: 30px;
  margin-bottom: 100px;
 }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



メニューボタン



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

.hamburger {

position: fixed;

top: 0;

right: 0;

display: flex;

justify-content: center;

align-items: center;

width: 50px;

height: 50px;

background-color: transparent;

border: none;

cursor: pointer;

z-index: 999;

}



.hamburger .hamburger__line {

position: absolute;

width: 25px;

height: 2px;

background-color: var(--color-black);

}



.hamburger .hamburger__line::before,

.hamburger .hamburger__line::after {

position: absolute;

content: "";

display: block;

width: 25px;

height: 2px;

background-color: var(--color-black);

}



.hamburger .hamburger__line::before {

top: -6px;

}



.hamburger .hamburger__line::after {

bottom: -6px;

}



/*閉じる*/

.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);

}



/* PCで非表示 */

@media screen and (min-width: 1025px),

print {

.hamburger {

display: none;

}

}


/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



メインコンテンツ　共通設定



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

.mainwrapper {font-size: 1.1em;
  line-height: 2.3;

padding: 100px 20px 50px;

max-width: 900px;

margin: 0 auto;

}



/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



ページUP



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

.pageup {

position: fixed;

right: 2vw;

bottom: 2vw;

display: flex;

justify-content: center;

align-items: center;

width: 50px;

height: 50px;

background-color: transparent;

border-radius: 50%;

transition: 0.2s;

opacity: 0;

visibility: hidden;

}



.pageup .arrow {

border-color: var(--color-main);

margin-top: 10px;

transform: rotate(-45deg);

}



.pageup._active {

opacity: 1;

visibility: visible;

}



@media (hover: hover) {

.pageup:hover {

background-color: var(--color-accent);



.arrow {

border-color: var(--color-white);

}

}

}



/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－



フッター



－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

footer {

text-align: center;

padding: 20px;

font-size: 0.8rem;

line-height: 1;

}





/* フッター内のリンク：下線なし、ホバー変化なし */

footer a,

footer a:hover,

footer a:link,

footer a:visited {

text-decoration: none !important;

background-color: transparent !important;

color: inherit !important;

}



/* ジェミニ追加ロールオーバー画像リンク */

.push:hover img {
  position: relative;
  top: 2px;
  left: 2px;
}

/*－－－－－－－－－－ 拡大表示（2枚縦並び・原寸スクロール） －－－－－－－－－－*/
#detail-view.hidden {
  display: none;
}

#detail-view {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: auto;
  background: rgba(0, 0, 0, 0.85);
  padding: 24px;
  box-sizing: border-box;
}

.detail-inner {
  display: block; /* flexの中央寄せによる上切れを防ぐ */
  width: fit-content;
  min-width: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

#detail-view img {
  display: block;
  margin: 0 auto 24px; /* 横中央にしつつ、画像の下に24pxの余白を作る */
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
}

#detail-view img:last-of-type {
  margin-bottom: 0; /* 一番下の画像の下余白は不要なら消す */
}







/* 登場人物ページ画像などに影を付ける */


.shadow-target {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  max-width: 100%;
  object-fit: contain;
  padding: 2px;
  background-color: var(--color-white);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}




/* <!-- 影をつける画像（中央に固定） -->
<img src="is_tou.jpg" alt="画像の説明" class="shadow-target" style="width: 100%; max-width: 650px; height: 1159px;">

<!-- 影をつけない画像 -->
<img src="other.jpg" alt="別の画像" style="display: block; margin: 0 auto; width: 100%; max-width: 650px; height: 1159px;"> */




/* 更新履歴ボタン装飾 */

.btn-right {
  text-align: right;
}

.outline-btn {
  display: inline-block;
  padding: 3px 3px;
  background-color: #f5f3ff;   /* 背景*/
  color: #A379C5;              /* 文字色は指定の紫 */
  border: 1.5px solid #D8CDEA;　 /* 枠線も指定の紫 */
  text-decoration: none;
  border-radius: 15px;
  font-weight: bold;
  font-size: 12px;
}


.outline-btn a hover {
background-color: #ffffff; /* 背景*/
color: #A379C5;  /* 文字色は指定の紫 */
}



a {
  text-decoration: none;
}

a:hover {
  background-color: #fff;
}





/* サンクスリンク装飾 */


/* リスト全体の調整（黒点を消して横並びの隙間を作る） */
.linklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap; /* スマホで画面幅を超えたら自動で折り返す */
  gap: 8px;        /* ボタン同士の隙間 */
}

/* 個々のリンクを白抜き紫ボタンにする */
.linklist__item a {
  display: inline-block;
  padding: 3px 4px;
  background-color: #f5f3ff;   /* 背景は白 */
  color: #A379C5;              /* 文字色は指定の紫 */
  border: 1.5px solid #D8CDEA;　 /* 枠線も指定の紫 */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 11px;
}

.linklist__item a:hover {
  background-color: #ffffff;
}



.clap-button {
  /* レイアウトとコンパクトなサイズ */
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: bold;
  font-family: sans-serif;
  letter-spacing: 0.05em;

  /* 白背景・紫文字・紫の枠線 */
  background-color: #f5f3ff;
  color:#A379C5;
border: 1px solid #A379C5;
border-bottom: 3px solid #A379C5;
border-radius: 4px;

  /* 押し心地 */
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}

/* マウスを乗せたとき */
.clap-button:hover {
  background-color: #ffffff;
}

/* 押したときに下に沈む動き */
.clap-button:active {
  border-bottom-width: 1px;
  transform: translateY(2px);
}

/* 中央揃え用の枠を追加 */
.clap-wrap {
  text-align: center;
}



/* indxページ末尾から一番上へ */


.back-to-top {
  text-align: center;
}

.back-to-top a {
  font-size: 9pt;
   color: #333333;
text-decoration: underline;
  padding: 6px 12px; /* 背景色が見やすいように少し余白を入れています */
  border-radius: 4px; /* 角を少し丸くしています（不要なら削除可） */
  transition: 0.3s; /* 色の変化を滑らかにします */


}

.back-to-top a:hover {
  color: #A379C5;
  background-color: #f5f3ff;
}


/* rirekiページ末尾から一番上へ */


.rireki_back {
  text-align: left;
}

.rireki_back a {
  font-size: 9pt;
   color: #333333;
text-decoration: underline;
  padding: 6px 12px; /* 背景色が見やすいように少し余白を入れています */
  border-radius: 4px; /* 角を少し丸くしています（不要なら削除可） */
  transition: 0.3s; /* 色の変化を滑らかにします */


}

.rireki_back a:hover {
  color: #A379C5;
  background-color: #f5f3ff;
}










/* 拍手とは？のデザイン*/


.haku {
  text-align: center;
}

.haku a {
   font-size: 1.1rem;
   color: #333333;
text-decoration: underline;
  padding: 6px 12px; /* 背景色が見やすいように少し余白を入れています */
  border-radius: 4px; /* 角を少し丸くしています（不要なら削除可） */
  transition: 0.3s; /* 色の変化を滑らかにします */


}

.haku a:hover {
  color: #A379C5;
  background-color: #f5f3ff;
}




/* 拡大表示（#detail-view）全体を広告より手前に出し、スクロールと下余白を確保 */
#detail-view {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important; /* 広告より確実に前面に出す */
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 140px !important; /* 下部広告と重なりにくくする余白 */
  box-sizing: border-box !important;
}

/* コメント表示部分（#detail-caption）を広告に埋もれにくくする */
#detail-caption {
  position: relative !important;
  z-index: 2147483647 !important;
  margin-bottom: 40px !important;
}















