/* common.css */
@charset "utf-8";

/* Google Fontsの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Cinzel&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');



/* html, bodyタグ
----------------------------------------------------------*/
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
font-family: "Yu Mincho", "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  -webkit-text-size-adjust: none;
  color: #FFF;
  background-color: black; /* 必要に応じて背景画像やスタイルを追加 */
}








/*hrスタイル
----------------------------------------------------------*/
.hr1 {
  border: none;
  border-top: 1px solid white;
}



/* フォントタグ 
----------------------------------------------------------*/
.red{
  color: red;
  font-weight: 900;
  display: inline;
}

.pink{
  color: hotpink;
  font-weight: 900;
  display: inline;
}

.skyblue{
  color: skyblue;
  font-weight: 900;
  display: inline;
}



.s {
  font-family: "sans-serif";
  display: block; /* 適応フォント全体をブロックとして認識する */
  line-height: 150%;
  font-size: 0.8em;
}

.m{
  font-family: "sans-serif";
  display: block; /* 適応フォント全体をブロックとして認識する */
  line-height: 150%;
  font-size: 1.4em;
}

.ml{
  display: block; /* 適応フォント全体をブロックとして認識する */
  line-height: 150%;
  font-size: 1.4em;
}


.l {
  font-size: 2em;
  font-weight: bold;
  display: block; /* 適応フォント全体をブロックとして認識する */
}


/* 「詳細」スタイル 
----------------------------------------------------------*/
details > summary {
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 2px;
    color: #b3a369;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    cursor: pointer;
    line-height: 1.5em;
    outline: none;
    text-decoration: none;
}

details > summary:hover {
    color: #a6c8e0;
}

/* 内容 */
details > p {
    font-family: "sans-serif";
    font-size: 0.8em;
    line-height: 1.5em;
    margin: 10px 0 5px 20px;
}





/* 表示切り替え全体のスタイル 
----------------------------------------------------------*/
.for-pc { display: none; } /* 初期状態をnoneに設定 */
.for-tab { display: none; } /* 初期状態をnoneに設定 */
.for-taby { display: none; } /* 初期状態をnoneに設定 */
.for-sma { display: none; } /* 初期状態をnoneに設定 */
.for-tabbig { display: none; } /* 初期状態をnoneに設定 */

/* PC表示 */
@media only screen and (min-width: 1025px) {
  .for-pc { display: block; } /* PC表示時に表示 */
  .for-tab { display: none; }
  .for-taby { display: none; }
  .for-sma { display: none; }
  .for-tabbig { display: none; }
}

/* 横タブレット表示 */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .for-pc { display: none; !important; }
  .for-tab { display: block; !important; } /* 横タブレット表示時に表示 */
  .for-taby { display: none; !important; }
  .for-sma { display: none; !important; }
  .for-tabbig { display: none; !important; }
}

/* 縦タブレット表示 */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .for-pc     { display: none !important; }
  .for-taby   { display: block !important; }
  .for-tab    { display: none !important; }
  .for-sma    { display: none !important; }
  .for-tabbig { display: none !important; }
}

/* スマホ表示 */
@media only screen and (max-width: 767.98px) {
  .for-pc         { display: none !important; }
  .for-taby       { display: none !important; }
  .for-tab        { display: none !important; }
  .for-tabbig     { display: none !important; }

  .for-sma        { display: block !important; }     /* 通常のスマホ表示用 */
  .for-smainline {
    display: block !important;
    text-indent: 2em;
    height: 1.5em; /* 高さを強制的に確保する（1行） */
    white-space: pre;
  }

}




/* 大ピクセルタブレット表示 
----------------------------------------------------------*/
@media only screen and (min-width: 1200px) and (max-width: 1920px) and (orientation: portrait) {
  .for-pc { display: none; }
  .for-tab { display: none; }
  .for-taby { display: none; }
  .for-sma { display: none; }
  .for-tabbig { display: block; } /* 大ピクセルタブレット表示時に表示 */
}




/* PC時だけ改行する */
@media screen and (min-width: 1025px) { 
  /* PC時 */
  .paso {
    display: inline;
  }
  .tab {
    display: none;
  }
  .taby {
    display: none;
  }
  .sma {
    display: none;
  }
}

/* 横タブレット時だけ改行する */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  /* 横タブレット時 */
  .paso {
    display: none;
  }
  .tab {
    display: inline;
  }
  .taby {
    display: none;
  }
  .sma {
    display: none;
  }
}

/* 縦タブレット時だけ改行する */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  /* 縦タブレット時 */
  .paso {
    display: none;
  }
  .tab {
    display: none;
  }
  .taby {
    display: inline;
  }
  .sma {
    display: none;
  }
}



/* スマホ時だけ改行する */
@media screen and (max-width: 767px) {
  /* スマホ時 */
  .paso {
    display: none;
  }
  .tab {
    display: none;
  }
  .taby {
    display: none;
  }
  .sma {
    display: inline;
  }
}





/* リンクタグ 
----------------------------------------------------------*/

a {
color: #cf97ab;
text-decoration: underline;
font-weight: 900;
}
a:link, a:visited {
color: #cf97ab;
text-decoration: underline;
}
a:hover {
text-decoration: underline;
color: #a6c8e0;
position: relative;
top: 1px;
left: 1px;
}



.timeline-right {
  display: inline-block;
  text-decoration: none !important;
  color: inherit !important;
}

.timeline-left {
  display: inline-block;
  text-decoration: none !important;
  color: inherit !important;
}

/* ナビバーリンク
----------------------------------------------------------*/
.navbar ul li a {
  color: #b3a369;
}
.navbar ul li a:hover {
  color: #a6c8e0;
}


/* sslistリンク
----------------------------------------------------------*/
.sslist, 
.sslist:link, 
.sslist:visited, 
.sslist:hover, 
.sslist:focus, 
.sslist:active {
    color: #b3a369;
    text-decoration: none !important;
}

.sslist:hover {
    color: #a6c8e0; /* ホバー時のリンク色 */
    text-decoration: none !important;
}

.p-sslist{
    line-height: 1.5em;
}





/* サイドバーリンク
----------------------------------------------------------*/

.sidebar h2 {
  color: #b3a369;
}

.sidebar ul li a {
  color: #fff;
}
.sidebar ul li a:hover {
  color: #a6c8e0;
}




/* スクロールバー 
----------------------------------------------------------*/
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track {
  background: #2a2d40;
}

body::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #a67683;
}

.panel {
  display: block;
  background: black;
  text-align: center;
  font-size: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}


/*更新履歴スクロールバー*/
.updates::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.updates::-webkit-scrollbar-track {
  background: #2a2d40;
}

.updates::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #a67683;
}

.updates::-webkit-scrollbar-thumb:hover {
  background: #555;
}




/*問い合わせスクロールバー*/
.contact::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.contact::-webkit-scrollbar-track {
  background: #2a2d40;
}

.contact::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #a67683;
}

.contact::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*メニューバーのスクロールバー*/
.menu-box::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.menu-box::-webkit-scrollbar-track {
  background: #2a2d40;
}

.menu-box::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #a67683;
}




/* プロットサイドバースクロールバー */
.sidebar::-webkit-scrollbar,
.sidebar2::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.sidebar::-webkit-scrollbar-track,
.sidebar2::-webkit-scrollbar-track {
  background: #000;
}

.sidebar::-webkit-scrollbar-thumb,
.sidebar2::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #555;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.sidebar2::-webkit-scrollbar-thumb:hover {
  background: gray;
}





/* ハンバーガーメニュー内リンク 
----------------------------------------------------------*/
.menu-box a {
  color: #a84952;
  text-decoration: underline;
  font-weight: 900;
}

.menu-box a:link, .menu-box a:visited {
  color: #a84952;
  text-decoration: underline;
}

.menu-box a:hover {
  text-decoration: underline;
  color: gold;
  position: relative;
  top: 1px;
  left: 1px;
}







/* 画像全般の設定 
----------------------------------------------------------*/
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}







/*divスペース（行間的な）
----------------------------------------------------------*/
  .space {
  margin-top: 50px;
  }

  .space2 {
  margin-top: 300px;
  }

  .space3 {
  margin-top: 100vh;
  }





/*フッター
----------------------------------------------------------*/
.footerbg {
  width: 100%;
  background: rgba(0,0,0,.7);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


.footer {
  padding: 30px;
}

.footer p{
  font-size: 0.7em;
  line-height: 1.3em;
}




/* 戻るボタンのスタイル
----------------------------------------------------------*/
#backButton {
    background-color: rgba(0, 0, 0, 0.5);
    color: #b3a369; /* 文字の色 */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px; /* 角を丸く */
    transition: background-color 0.3s ease; /* ホバー時のアニメーション */
}

/* ホバー時の色変更 */
#backButton:hover {
    background-color: #a6c8e0; /* ホバー時の色 */
}




/*挿絵のアニメーション
----------------------------------------------------------*/
.img-dramatic {
  opacity: 0; /* 最初は透明に */
  transform: scale(0.8); /* 少し小さく表示 */
  filter: brightness(1); /* 最初は通常の明るさ */
  transition: opacity 1.5s ease, transform 1.5s ease, filter 0.3s ease; /* フェードインとスケールアップのアニメーション */
  border-radius: 15px; /* 角を丸くする */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 画像にシャドウを追加 */

}

.img-dramatic.show {
  opacity: 1; /* 徐々に表示 */
  transform: scale(1); /* スケールを1に戻す */
}

/* ブライトエフェクト */
.img-dramatic.bright {
  filter: brightness(1.5); /* 一瞬明るくなる効果 */
}



/*テキストフェードイン
----------------------------------------------------------*/

.fade-in {
  opacity: 0;
  transform: translateY(30px); /* 下に30pxスライド */
  transition: opacity 2.0s ease-in-out, transform 1s ease-in-out;
}

/* フェードイン＋スライドアップ時のスタイル */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/*点線hr
----------------------------------------------------------*/
.hr-new2 {
  border: none;
  border-top: 1px dashed rgba(211, 211, 211, 0.3);
  margin: 0;
  width: 95%; 
  margin-left: auto;
  margin-right: auto;
}











/*個別イベントページ　キャラ別背景
----------------------------------------------------------*/

/* html,bodyタグ （ss）
----------------------------------------------------------*/
.charabg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('-.png');
  background-repeat: no-repeat;
  background-position: top right;
  z-index: -1;
  transform: translateZ(0);
}


.plot01 {
  background-image: url("../../plot/img/plot01.png");
  background-attachment: fixed;
  text-align: center;
}
.bg01 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b01.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}


.plot02 {
  background-image: url("../../plot/img/plot02.png");
  background-attachment: fixed;
  text-align: center;
}

.bg02 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b02.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}



.plot03 {
  background-image: url("../../plot/img/plot03.png");
  background-attachment: fixed;
  text-align: center;
}
.bg03 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b03.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}



.plot04 {
  background-image: url("../../plot/img/plot04.png");
  background-attachment: fixed;
  text-align: center;
}
.bg04 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b04.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}



.plot05 {
  background-image: url("../../plot/img/plot05.png");
  background-attachment: fixed;
  text-align: center;
}
.bg05 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b05.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}




.plot06 {
  background-image: url("../../plot/img/plot06.png");
  background-attachment: fixed;
  text-align: center;
}
.bg06 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b06.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}



.plot07 {
  background-image: url("../../plot/img/plot07.png");
  background-attachment: fixed;
  text-align: center;
}
.bg07 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b07.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}




.plot08 {
  background-image: url("../../plot/img/plot08.png");
  background-attachment: fixed;
  text-align: center;
}
.bg08 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b08.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}



.plot09 {
  background-image: url("../../plot/img/plot09.png");
  background-attachment: fixed;
  text-align: center;
}
.bg09 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b09.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}




.plot10 {
  background-image: url("../../plot/img/plot10.png");
  background-attachment: fixed;
  text-align: center;
}
.bg10 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b10.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}



.plot11 {
  background-image: url("../../plot/img/plot11.png");
  background-attachment: fixed;
  text-align: center;
}
.bg11 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b11.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}



.plot12 {
  background-image: url("../../plot/img/plot12.png");
  background-attachment: fixed;
  text-align: center;
}
.bg12 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: url("../../plot/img/b12.png");
  background-attachment: fixed;
  background-position: top right;
  width: 95%;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 30px;
}



.if {
  background-color: white;
  text-align: center;
}



/* hrスタイル 
----------------------------------------------------------*/
hr.animated-hr {
  border: none;
  height: 2px;
  background-color: white;
  width: 0;
  margin: 0 auto;
  transform-origin: center; 
  animation: expand 2s ease-out forwards;
}

@keyframes expand {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}



.charatitle {
  padding-top: 80px;
}





.plot-box00{
  justify-content: center;
  flex-direction: column;
  display: flex;
  padding-top: 50px; /* ナビバー配慮 */
  width: 100%;  /* 通常は100% */
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
}

.plot-box00 hr.hr1{
  margin-bottom: 0px;
}

.plot-box00 a.top-link {
  display: block;
  text-align: right;
  margin-top: 1px;
  text-decoration: none;
  font-weight: normal;
  font-family: inherit;
  color: #b3a369;
}

.plot-box00 a.top-link:hover {
  color: #a6c8e0;
}


.plot-title00{
  text-align: center;
  padding: 20px 0 0 0;
}


.plot-title00 h1{
  font-size: 2.5em;
  margin-bottom: 5px;
}


.plot-box00-in{
  padding-left: 50px; /* レイアウト変更 */
  font-size: 1em;
  line-height: 1.3em;
  text-align: left;
}

.plot-box00-in h3{
  font-size: 1.2em;
  line-height: 1.5em;
  display: inline;
  color: gray;
}


/* 名前変換フォームのスタイル
----------------------------------------------------------*/
.name-form {
    margin-bottom: 50px;
    line-height: 50px;
}

label {
    margin-right: 10px;
}


/* 入力フィールド */
input {
    margin-right: 20px;
    width: 70px;
}


/* 登録削除ボタン */
button {
    padding: 2px 10px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


button:first-of-type , button:last-of-type {
    background-color: #b3a369;
    color: white;
    margin-right: 10px;
    margin-left:10px;
}

button:first-of-type:hover {
    background-color: #cf97ab;
    transform: scale(1.05);
}


/* CSS */
.back-to-top {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  z-index: 1000;
  opacity: 0.8;
}

.back-to-top:hover {
  opacity: 1;
}



/* IF外伝
----------------------------------------------------------*/
.ifbox {
    width: 500px;
    margin: 30px auto;
    text-align: center;
}
