@charset "utf-8";
/* すべてのWebページに適応される　*/
@import url('https://fonts.googleapis.com/css?family=Cinzel');
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol&family=Kiwi+Maru:wght@500&display=swap');
body{
    margin: 0;
    padding: 0;
    background-color:#5B0045;
        background-image: url('../images/parts-deco-pattern.png'); /* 絶対パスで確認 */
    background-size: 128px 145px;
    background-repeat: repeat;
    background-size: 100px;
}

* {
    margin: 0;
    padding: 0;
}
*, *:before, *:after {
    box-sizing: border-box;
}
* {
  box-sizing: border-box;
}

html, body {
    height: 100%;
}
body {
    
    

    -webkit-text-size-adjust: 100%;
}

a {font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    
    color: #D7D1D3;/* リンクの色*/
    font-weight: bold;
}

@media screen and (max-width: 767px) {
  br {
    display: none;
  }
}
.laymic_root {
  /* 上に覆いかぶさる要素より
    z-index数値を大きくすることが重要 */
  z-index: 600;
}
/* laymic 縮小表示型雛形cssコードここから */
/* 固定幅で描画してからscaleをかける */
.laymic_page_wrapper {
  width: var(--page-max-width);
  height: var(--page-max-height);
  transform: scale(var(--page-scale-ratio));
  flex: 0 0 auto;
}
/* こちらが実質的なpage wrapper */
.laymic_page_inner_wrapper {
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  height: 100%;
  color: #fafafa;
}
.laymic_isVertView .laymic_page_wrapper
.laymic_isSingleSlide .laymic_page_wrapper {
  --slide-width: calc(100% - var(--viewer-padding) * 2);
}
/* リンクカラー変更 */
.laymic_page_wrapper a {
  color: #fafafa;
}
.laymic_page_wrapper br {
  display: none;
}
.laymic_page_wrapper span {
  margin: .5rem 0;
}
/* 白背景とするやつ */
.bg_white {
  background: #fff;
  color: #333;
}
.bg_white a {
  color: #333;
}
/* 横長要素複数を想定したラッパー */
.laymic_page_landscapes,
/* 縦長要素複数を想定したラッパー */
.laymic_page_portraits {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  /* 入れ子要素ごとの区切り余白 */
  margin: 1rem 0;
}
.laymic_page_landscapes {
  flex-flow: column nowrap;
}
.laymic_page_landscapes:first-of-type {
  justify-content: flex-end;
}
.laymic_page_landscapes:last-of-type {
  justify-content: flex-start;
}
.laymic_page_landscapes:only-of-type {
  justify-content: center;
}
.laymic_page_portraits:first-of-type {
  align-items: flex-end;
}
.laymic_page_portraits:last-of-type {
  align-items: flex-start;
}
.laymic_page_portraits:only-of-type {
  align-items: center;
}
/* laymic 縮小表示型雛形cssコードここまで */

#main {
    background: #5B0045;
}
#main-in {
    padding-left: 260px;
}





@media(max-width:750px){
    .main-p {
    font-size: 18px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 1em;
    line-height: 1.0;
        margin-bottom: 1em;
    margin-left: 0px;
}

.novel-p {
    font-size: 18px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 2.0px;
    margin-left: 0px;
}



.text-bold{  
  font-family: 'Kiwi Maru';
  position: relative;
    font-size: 20px;
    color: #360229;
    
  }

.text-caption{  
  font-family: 'Kiwi Maru';
  position: relative;
    text-align: center;
    font-size: 14px;
    color: #360229;
  }


  .priceless-caption{  
  font-family: 'Kiwi Maru';
  position: relative;
    text-align: center;
    font-size: 12px;
    color: #D7D1D3;
  }

  .priceless-line{  
  font-family: 'Kiwi Maru';
  position: relative;
    font-size: 12px;
    color: #a83264;/* メインカラー濃いピンク#a83264 */
    
  }
.priceless-line:hover{
color: #69213f;/* メインカラー濃いピンク#a83264 */
}



.text-line{  
  font-family: 'Kiwi Maru';
  position: relative;
    font-size: 17px;
    
    color: #a83264;/* メインカラー濃いピンク#a83264 */
    font-weight: bold;
    
  }


}
@media(min-width:751px){
    .main-p {
    font-size: 20px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 1em;
    line-height: 1.0;
        margin-bottom: 1em;
    margin-left: 40px;
}

.novel-p {
    font-size: 18px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 2.0px;
    margin-left: 0px;
}


.text-bold{  
  font-family: 'Kiwi Maru';
  position: relative;
    font-size: 22px;
    color: #360229;
    
  }


.text-caption{  
  font-family: 'Kiwi Maru';
  position: relative;
    text-align: center;
    font-size: 16px;
    color: #360229;
  }

  .priceless-caption{  
  font-family: 'Kiwi Maru';
  position: relative;
    text-align: center;
    font-size: 16px;
    color: #D7D1D3;
  }

  .priceless-line{  
  font-family: 'Kiwi Maru';
  position: relative;
    font-size: 16px;
    color: #a83264;/* メインカラー濃いピンク#a83264 */
    
  }
.priceless-line:hover{
color: #69213f;/* メインカラー濃いピンク#a83264 */
}

.text-line{  
  font-family: 'Kiwi Maru';
  position: relative;
    font-size: 18px;
    color: #a83264;/* メインカラー濃いピンク#a83264 */
    font-weight: bold;
    
  }
.text-line:hover{
color: #69213f;/* メインカラー濃いピンク#a83264 */
}


}






@media(max-width:750px){
    #main .inner {
      padding: 40px 8%;
  }
}
@media(min-width:751px){
    #main .inner {
      padding: 40px;
  }
}


#main-visual {
    display: flex;
    justify-content: center;
    align-items: center;  
}
#main-visual img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    margin-bottom: -30px;
}

#main-visual h2 {
    font-size: 180%;
    color: #D7D1D3;
}




#main-pixel-visual {
    display: flex;
    justify-content: center;
    align-items: center;  
}



@media(max-width:750px){
    #main-pixel-visual img {
    object-fit: cover;
    object-position: center;
    width: 80%;
    height: 80%;

    margin-top: 20px;
    margin-bottom: 10px;
}

}
@media(min-width:751px){
    #main-pixel-visual img {
    object-fit: cover;
    object-position: center;
    width: 20%;
    height: 20%;

    margin-top: 20px;
    margin-bottom: 6px;
}

}







h1 {
    text-align: center;
    font-size: 300%;
    color: #D7D1D3;
    font-family: 'Kaisei Decol';
    font-weight: bold;
}



h2 {margin-top: -10px;
    font-size: 180%;
    color: #D7D1D3;
    font-family: 'Kaisei Decol';
    font-weight: bold;
}




h3 {
  font-family: 'Kaisei Decol';
    color: #D7D1D3;
    font-size: 120%;
    margin-bottom: .7em;

}

h4 {
    text-align: center;
    font-size: 120%;
    color: #360229;
    font-family: 'Kaisei Decol';
    font-weight: bold;
    margin-bottom: 10px;
}



h5 {
    text-align: center;
    font-size: 120%;
    color: #D7D1D3;
    font-family: 'Kaisei Decol';
    font-weight: bold;
}



   .clock-container {padding: 10px; display: flex; justify-content: center; align-items: center; font-weight: bold; color: #D7D1D3; font-family: 'Kaisei Decol', cursive;}
  .time {color: #D7D1D3; font-size: 25px; font-weight: bold; font-family: 'Kaisei Decol', cursive;}



/* about背景用*/

#main-about {
    background: #D7D1D3;

    background-image: url('../images/wallpaper-black300.png');  /*絶対パスで確認 */
    
}
#main-about-in {
    padding-left: 260px;
}

@media(max-width:750px){
    .about-p {
    font-size: 18px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 0px;
}

}
@media(min-width:751px){
    .about-p {
    font-size: 18px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 40px;
}

}


@media(max-width:750px){
    .timeline-p {
    font-size: 16px;
    color:rgba(0,0,0,.4); /*文字を透過色に*/
text-shadow: 1px 1px 2px #eee, 0 0 #000; /*にじみ文字表現*/

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #360229;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 0px;
}
}

@media(min-width:751px){
    .timeline-p {
    font-size: 18px;
    color:rgba(0,0,0,.4); /*文字を透過色に*/
text-shadow: 1px 1px 2px #eee, 0 0 #000; /*にじみ文字表現*/

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #360229;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 40px;
}
}

@media(max-width:750px){
    #main-about .inner {
      padding: 40px 8%;
  }
}
@media(min-width:751px){
    #main-about .inner {
      padding: 40px;
  }
}



.container {
  padding: 1em;
}

.timeline {
  position: relative;
  overflow: auto;
}
.timeline:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 5px;
  background: #dddddd;
  left: 0;
}
.timeline h2 {
  color: #360229;
    font-family: 'Kaisei Decol';
  background: #dddddd;
  background-image: url('../images/wallpaper-white.png'); /* 絶対パスで確認 */
  max-width: 6em;
  margin: 0 auto 1em;
  padding: 0.5em;
  text-align: center;
  position: relative;
  clear: both;
}
.timeline ul {
  list-style: none;
  padding: 0 0 0 1em;
  z-index: 1;
}
.timeline li {
  background: #dddddd;
  background-image: url('../images/wallpaper-white.png'); /* 絶対パスで確認 */
  padding: 1em;
  margin-bottom: 1em;
  position: relative;
}
.timeline li:before {
  content: '';
  width: 0;
  height: 0;
  border-top: 1em solid #dddddd;
  border-left: 1em solid transparent;
  position: absolute;
  left: -1em;
  top: 0;
}
.timeline h3 {
  color: #360229;
  margin-top: 0;
}
.timeline time {
  font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  color: #360229;
}


  .container {
    max-width: 1000px;
    margin: 0 auto;
  }

  .timeline:before {
    left: 50%;
  }
  .timeline ul {
    padding-left: 0;
    max-width: 700px;
    margin: 0 auto;
  }
  .timeline li {
    width: 42%;
  }
  .timeline li:nth-child(even) {
    float: right;
    margin-top: 2em;
  }
  .timeline li:nth-child(odd) {
    float: left;
  }
  .timeline li:nth-child(odd):before {
    border-top: 1em solid #dddddd;
    border-right: 1em solid transparent;
    right: -1em;
    left: auto;
  }
  .timeline li:nth-of-type(2n+1) {
    clear: both;
  }






.filter-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* 改行を可能にする */
  width: 100%;
  background: white;
  border-bottom: 1px solid #E4D7D7;
}

.filter-links li {
  margin: 0 10px;
  text-align: center;

}

.filter-links li a {
  text-align: center;
  white-space: normal; /* 自然な改行を許可 */
  overflow-wrap: break-word; /* 長い単語があれば次の行に送る */
  word-wrap: break-word; /* レガシーブラウザ対応 */
  line-height: 1.5; /* 行間を調整 */
  color:  #360229;
}




.filter-links li a:hover {
  color: #97A435;
}

.filter-sections div {
}

.filter-sections {
  overflow: hidden;
}




.view {



  transform: scale(1) rotate(0deg);
  border-radius:4px;
  animation: selected 300ms 1 ease-in-out;
}

@keyframes selected {
  0% {
    border-radius:100%;
    transform: scale(0) rotate(-180deg);
  }
}



.link-text{
    font-size: 18px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 0px;
        background-color: rgba(0,0,0,0.6);
        border-radius: 10px;
}


@media(max-width:750px){
    .main-space-p {
    font-size: 18px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 0px;
        background-color: rgba(0,0,0,0.6);
        border-radius: 10px;
}

}
@media(min-width:751px){
    .main-space-p {
    font-size: 18px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 40px;
        background-color: rgba(0,0,0,0.6);
        border-radius: 10px;
}

}




@media(max-width:750px){
    #main-space .inner {
      padding: 40px 8%;
  }
}
@media(min-width:751px){
    #main-space .inner {
      padding: 40px;
  }
}


#main-space-visual {
    display: flex;
    justify-content: center;
    align-items: center;  
}
#main-space-visual img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    margin-bottom: -30px;
}
}











/*ドラッグで文字を表示*/

@media(max-width:750px){
    .hide-text-chara{
  font-size: 18px;
   font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  margin-bottom: 1em;
    line-height: 1.5;
margin-left: 0px;
  color: #360229;

  background-color: #360229;
}

.hide-text-blog{

   font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;


  color: #360229;

  background-color: #360229;
}



}
@media(min-width:751px){
   .hide-text-chara{
  font-size: 20px;
   font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  margin-bottom: 1em;
    line-height: 1.5;
margin-left: 40px;
  color: #360229;

  background-color: #360229;
}

.hide-text-blog{

   font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;

  color: #360229;

  background-color: #360229;
}

}

.hide-text-chara::selection {
  background: #677116;
  color:#fff;
}

.hide-text-blog::selection {
  background: #677116;
  color:#fff;
}

@media(max-width:750px){
    #main-chara .inner {
      padding: 40px 8%;
  }
}
@media(min-width:751px){
    #main-chara .inner {
      padding: 40px;
  }
}


#main-chara-visual {
    display: flex;
    justify-content: center;
    align-items: center;  
}
#main-chara-visual img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    margin-bottom: -30px;
}
}

#main-chara-visual h2 {
    font-size: 180%;
    color: #360229;
}

#main-chara h1 {
    font-size: 200%;
    color: #360229;
}
#main-chara h2 {
    font-size: 180%;
    color: #360229;
}










#main-chara h3 {
        margin-top: -20px;
    margin-bottom: 0px;
    text-align: center;

    font-size: 120%;
    color: #360229;
    font-family: 'Kaisei Decol';

}





#main-chara h4 {
    margin-top: -20px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 120%;
    color: #360229;
    font-family: 'Kaisei Decol';
    font-weight: bold;
}



#main-chara h5 {
    margin-top: 25px;
    margin-bottom: -10px;
    text-align: center;

    font-size: 80%;
    color: #360229;
    font-family: 'Kaisei Decol';
    font-weight: bold;
}


#main-chara h6 {

    font-size: 100%;
    margin-left: -20px;
    margin-top: -10px;
    margin-bottom: 30px;
    color: #360229;
    font-family: 'Kaisei Decol';
    font-weight: bold;
}




.link-text-chara{
    color: #360229;

    font-weight: bold;
}

.new-text-chara{
  color: #360229;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 40px;
    font-size: 20px;
}

.new-text-chara li{
    list-style: none;
}

.BGM{
    text-align: center;
    margin-bottom: -30px;
    
}





#main-chara.site-guide ul{
    display: flex;
}



#main-chara.site-guide li{

    list-style: none;
    margin-left: 80px;
    padding-bottom  : 20px;
}


.chara-visual{display: block;
    /* 上下 | 左右 */margin: -10px -20px 0px;
     text-align: center;
position: relative;
     width: 100%;
  height: 100%;
  /*filter: drop-shadow(左右の位置px 上下の位置px ぼかし具合px 色);*/
  filter: drop-shadow(3px 3px 8px #333);
}

/*----------設定用-----------*/
.chara-section{
    
    width: 50%;
  height: 50%;
display: flex;
  flex-wrap: wrap;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */

  
position: relative;


}



.chara-section nav {
  width: auto;
  height: auto;
    text-align: center;
    line-height: 0;/*白い余白を消すための記述*/
}
.chara-section nav li {
  list-style: none;/*追加*/
  margin: 40px 20px 20px;/*追加。これはサムネイル群全体の余白設定。*/
  
    display: inline-block;/*サムネを横並びにするための記述*/
    }


.chara-section nav a {
    display: block;
    background: #D7D1D3;
    background-image: url('../images/wallpaper-white.png'); /* 絶対パスで確認 */
    
}


.chara-section nav a img {

    object-fit: cover;/*アスペクト比維持のための記述*/
margin: 0;/*白い余白を消すための記述*/
padding: 0;/*白い余白を消すための記述*/



}








#nav-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 48px;
    height: 48px;
    background: #5B0045;/*ボタンの色*/
    border-radius: 50%;/*ボタンを丸型にする*/
    justify-content: center;
    align-items: center;
    z-index: 500;
}

#nav-toggle > div {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#nav-toggle span {
    width: 100%;
    height: 4px;
    background: white;
    filter: drop-shadow(3px 3px 8px #333);
    transition: .35s ease-in-out;
}

/* nav open */
.open #nav-toggle span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.open #nav-toggle span:nth-child(2) {
    opacity: 0;
}
.open #nav-toggle span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ここからその他のCSS */
#global-head {
    font-family: 'Fredoka One', cursive;
    font-size: 30px;
    position: fixed;
    color: #fff;
    width: 260px;
    text-align: center;
    padding-top: 0px;
    z-index: 100;
}

#sidebar img {
    margin-top: -10px;
    margin-bottom: -10px;


}

#sidebar {
    font-family: 'Kaisei Decol';
    font-weight: bold;
    font-size: 22px;
    width: 330px;
    height: 100%;
    position: fixed;
    color: #033560;

    background-image: url('../images/parts-deco-saido.png'); /* 絶対パスで確認 */
    background-size: cover;
    background-position: right center; /* 右端・上下中央 */
    background-position: bottom 220px right -30px;
    background-repeat: no-repeat;
    text-align: center;
    z-index: 10;
}


/* 追加 */
@media(min-width:751px){
    #menu-visual {
    text-align: center;
    width:80%;
    margin-left: 15px;
}
}


#global-nav ul {
    list-style: none;
    margin-left: 0;
    
}
#global-nav > ul > li {
    position: relative;
}

#global-nav a {
    color: #D7D1D3;/* メインカラーピンクホワイト#D7D1D3 */
    text-decoration: none;
    display: block;
    padding: 12px 0;
    transition: background-color .3s linear;
}

#global-nav .sub-menu.is-active > a,
#global-nav a:hover {
    color: #fff;
    background: #677116;/* メインカラー濃い緑#677116 */
}

#global-nav .sub-menu-nav a,
#global-nav .sub-menu:hover .sub-menu-nav {
    width: 260px;
}

/* sub-menu icon */
#global-nav .sub-menu-head {
    position: relative;
}
#global-nav .sub-menu-head:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 18px;
    margin: auto;
    vertical-align: middle;
    width: 8px;
    height: 8px;
    border-top: 1px solid #677116;
    border-right: 1px solid #677116;
    transform: rotate(45deg);
}

/* sub-menu */
#global-nav .sub-menu-nav {
    position: fixed;
    background: #97A435;/* メインカラー黄緑#97A435 */
    color: #fff;
    top: 0;
    padding-top: 70px;
    left: 260px;
    width: 0;
    height: 100%;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: width .2s ease-out;
    z-index: 90;
}
#global-nav .sub-menu.is-active > a:after,
#global-nav .sub-menu-head:hover:after {
    border-color: #fff;
}
#global-nav .sub-menu-nav a {
    color: #fff;
}

#global-nav .sub-menu-nav a:hover {
    color: #677116;
    background: #fff;
}

#overlay {
    display: none;
    position: fixed;
    background: rgba(0,0,0,.6);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@media screen and (max-width: 900px) {

  /* 設定資料の文章画像回り込みレスポンシブ化 */
  .text,img{
    float:none;
    text-align: center;
  }
  .text{
    width:100%;
  }
  img.right,
  img.left{
    display:block;
    margin:0 auto;
  }
   /* 設定資料の文章画像回り込みレスポンシブ化 */



    #main-in {
        padding-left: 0;
    }


    #global-head {
        width: 100%;
        padding: 10px;
        background: rgba(255,255,255,.0);
        display: flex;
    }

    #sidebar {
        position: fixed;
        right: -300px;
        top: 0;
        height: 100%;
        width: 300px;
        color: #333;


            background-image: url('../images/parts-deco-saido.png'); /* 絶対パスで確認 */
    background-size: 140%;
    background-position: right center; /* 右端・上下中央 */
    background-position: bottom 140px right -50px;
    background-repeat: no-repeat;
        transition: .35s ease-in-out;
    }

    /* 追加 */

    #menu-visual {
    text-align: center;
    width:80%;
    margin-left: 40px;
}


    #global-nav .sub-menu-head:after,
    #global-nav .sub-menu-nav {
        display: none;
    }
    #nav-toggle {
        display: flex;
    }

    .open {
        overflow: hidden;
    }
    .open #overlay {
        display: block;
    }
    .open #sidebar {
        transform: translate3d(-300px,0,0);
        height: 100%;
    }

    #overlay {
        z-index: 200;
    }
    #sidebar {
        z-index: 300;
    }
    #nav-toggle {
        z-index: 400;
    }

}








@media screen and (max-width: 400px) {
    #sidebar {
        right: -200px;
        width: 200px;
        padding-top: 60px;
    }
    .open #sidebar {
        transform: translate3d(-200px,0,0);
    }

}





.chara-icon{
                    
    position: relative;
  top: 0px;
  margin: 0 10px 0 0;
  /*filter: drop-shadow(左右の位置px 上下の位置px ぼかし具合px 色);*/
  filter: drop-shadow(1px 1px 2px #333);
        /* ドット絵表示 */
      image-rendering: pixelated;
  image-rendering: -webkit-crisp-edges;
  image-rendering: -moz-crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

.chara-icon-menu{
    height: 34px;/*リストからはみ出てしまうので画像サイズを縮小*/
    width: 34px;/*リストからはみ出てしまうので画像サイズを縮小*/
    position: relative;
  top: 0px;
  margin: 0 10px 0 0;

        /* ドット絵表示 */
      image-rendering: pixelated;
  image-rendering: -webkit-crisp-edges;
  image-rendering: -moz-crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;

  /*filter: drop-shadow(左右の位置px 上下の位置px ぼかし具合px 色);*/
  filter: drop-shadow(1px 1px 2px #333);
}
/* メニュー記述終わり */










/* モーダルCSS */
.modalArea {
  display: none;
  position: fixed;
  z-index: 10; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #360229;
    font-size: 18px;
}


.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 70%;
  max-width: 500px;
  padding: 10px 30px;
  background-image: url('../images/wallpaper-white.png'); /* 絶対パスで確認 */
}

.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}










}







/*トップコンテンツの画像*/


.content-img{
  display: flex;
  flex-wrap: wrap;






}

.content-img ul {
    display: flex;/*サムネを横並びにするための記述*/
flex-wrap: wrap;
align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
  

}

.content-img li {
  list-style: none;/*追加*/
  margin: auto;/*追加。これはサムネイル群全体の余白設定。*/
position: relative;

}



@media(max-width:750px){
    .content-img li img{

    object-fit: cover;/*アスペクト比維持のための記述*/
  object-position: center;
   width: 100%; /* bodyの幅に対する割合 */
   transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1.5); /* カスタムイージング */
 }
}

@media(min-width:751px){
    .content-img li img{

    object-fit: cover;/*アスペクト比維持のための記述*/
  object-position: center;
   width: 300px; /* bodyの幅に対する割合 */
   transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1.5); /* カスタムイージング */
 }
}




.content-img li:hover img,
.content-img li:active img {
  transform: translateY(-6px); /* 跳ねる効果 */
}





.content-img h4{
  position: absolute;
    display: flex;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
   top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  color: white;
  font-family: 'Kaisei Decol', cursive;
  font-size: 30px;
text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}





.player {
    background-image: url('../images/wallpaper-black.png'); 
  position:relative;
  align-items: center;

  

  border-radius: 12px;
      padding: 12px;

/* 背景色 */

      background-image: url('../images/wallpaper-black.png'); 
      box-shadow: 0 0 8px rgba(0,0,0,0.2);
      z-index: 0;
      margin-bottom: 18px;
    }



@media(max-width:750px){

    .player {
  width: auto-fit;
  height: 200px;
  margin-top: 20px;
    }

    .controls{

      border-radius: 12px;
      padding-top: 12px;
      padding-bottom: 12px;
      padding-left: 32px;
      padding-right: 32px;

 }
}

@media(min-width:751px){
        .player {
  width: 400px;
  height: auto-fit;
    }


    .controls{

      border-radius: 12px;
      padding-top: 12px;
      padding-bottom: 12px;
      padding-left: 32px;
      padding-right: 32px;

 }
}







    .controls, .options {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 8px;
    }
    .controls img, .options img {
      width: 32px;
      height: 32px;

      /* ドット絵表示 */
      image-rendering: pixelated;
  image-rendering: -webkit-crisp-edges;
  image-rendering: -moz-crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;

      cursor: pointer;
    }
    .title {
      font-family: 'Kaisei Decol';
      font-weight: bold;
background-color: #677116;/* メインカラー濃い緑#677116 */
color: #D7D1D3;/* メインカラーピンクホワイト#D7D1D3 */
      text-align: center;

      border-radius: 8px;
      padding: 12px;
    }
    #seekBar {
      width: 80%;
      margin: 6px auto 0;
      display: block;
      -webkit-appearance: none;
      height: 6px;
      border-radius: 3px;
      background: #c1c1c1;
      outline: none;
    }
    /* Chrome, Safari 用 */
    #seekBar::-webkit-slider-runnable-track {
      height: 6px;
      background: #c1c1c1;
      border-radius: 3px;
    }
    #seekBar::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #97A435;/* メインカラー黄緑#97A435 */
      cursor: pointer;
    }
    /* Firefox 用 */
    #seekBar::-moz-range-track {
      height: 6px;
      background: #c1c1c1;
      border-radius: 3px;
    }
    #seekBar::-moz-range-thumb {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #97A435;/* メインカラー黄緑#97A435 */
      cursor: pointer;
    }
    /* Edge 用 */
    #seekBar::-ms-track {
      height: 6px;
      background: #c1c1c1;
      border-radius: 3px;
      border: none;
      color: transparent;
    }
    #ytPlayer {
      display: none;
    }

    }






.banner {
  background-color: #000;
  margin-bottom: 15px;


}





/* Marquee styles */
.marquee {
  --gap: 1rem;
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
}

.marquee__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

/* Pause animation when reduced-motion is set */
@media (prefers-reduced-motion: reduce) {
  .marquee__content {
    animation-play-state: paused !important;
  }
}

/* Enable animation */
.enable-animation .marquee__content {
  animation: scroll 10s linear infinite;
}

/* Pause on hover マウスオーバーでストップする
.marquee--hover-pause:hover .marquee__content {
  animation-play-state: paused;
}

@keyframes scroll-abs {
  from {
    transform: translateX(calc(100% + var(--gap)));
  }
  to {
    transform: translateX(0);
  }
}

*/



/* Other page demo styles */
.marquee__content > * {
  flex: 0 0 auto;


  margin: 1px;

  border-radius: 0.25rem;
  padding: 2rem 2rem;
  text-align: center;
}






.marquee ul{
list-style: none;

}
.marquee img{
  width: 96px;
  height: 96px;
}


.marquee li:hover img,
.marquee li:active img {
  animation: chara-content 1.0s linear 0s 1;/* 跳ねる効果 */
}



.grid {
  position: relative;
}
.item {
  position: absolute;
  width: auto-fit;
  height: auto-fit;
  line-height: auto-fit;
  margin: 5px;
  z-index: 1;
}
.item.muuri-item-hidden {
  z-index: 0;
}
.item.muuri-item-releasing {
  z-index: 2;
}
.item.muuri-item-dragging {
  z-index: 3;
}
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  background: #5B0045;

  color: white;
  cursor: pointer;
}
.item.muuri-item-dragging .item-content {
  background: #5B0045;
}
.item.muuri-item-releasing .item-content {
  background: #69213f;
}








  .memo1 {
   position: relative; 
   width: auto; 
   height: 350px;

   padding: 2.5em 1.5em 1.5em; 
   filter: drop-shadow(3px 3px 8px #333); 
   background: #D7D1D3;
   background-image: url('../images/wallpaper-white.png'); /* 絶対パスで確認 */ 
   font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; 
   color: #360229; } 

   .memo1 span { 
    /* box-shadow: 横方向 縦方向 ぼかし 広がり 影色 */ /* 広がりをマイナスにすると、浮いた感じになる */ box-shadow: 0 10px 6px -6px #777; 
    position: absolute; 
    top: 0px; 
    transform: translateX(-.3em) rotate(-5deg); 
    padding: .5em 2em; 
    border-right: 2px dotted rgb(0 0 0 / 10%); 
    border-left: 2px dotted rgb(0 0 0 / 10%); 
    box-shadow: 0 0 5px rgb(0 0 0 / 20%); background-color: rgb(255 255 255 / 40%); 
    font-weight: 600; font-family: 'Kaisei Decol'; font-weight: bold; color: #360229; 
} 
.memo1 p { 
    margin-top: 25px; 
    text-shadow: 1px 1px 2px #eee, 0 0 #000; /*にじみ文字表現*/ 
    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; 
    color: #360229; text-align: center; font-size: 16px; margin-bottom: 1em; line-height: 1.0; } 



.memo2 { 
        position: relative; 
        width: auto; 
        height: auto;

        padding: 2.5em 1.5em 1.5em; 
        filter: drop-shadow(3px 3px 8px #333); 
        background: #D7D1D3; 
        background-image: url('../images/wallpaper-white.png'); /* 絶対パスで確認 */ 
        font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; 
        color: #360229;

         } 
        .memo2 p { 
            margin-top: 15px; 
            text-shadow: 1px 1px 2px #eee, 0 0 #000; /*にじみ文字表現*/ 
            font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; 
            color: #360229; text-align: center; font-size: 16px; margin-bottom: 1em; line-height: 1.0; 
        } 
        @media(max-width:750px){ 
            .memo2 img{ 
                object-fit: cover;/*アスペクト比維持のための記述*/ 
                object-position: center; width: 100%; /* bodyの幅に対する割合 */ 
            }
             } 
             @media(min-width:751px){
              .memo2 img{ 
                object-fit: cover;/*アスペクト比維持のための記述*/ 
                object-position: center; width: 300px; 
                /* bodyの幅に対する割合 */
                 } 














.player {
    background-image: url('../images/wallpaper-black.png'); 
  position:relative;
  align-items: center;


  border-radius: 12px;
      padding: 12px;

/* 背景色 */

      background-image: url('../images/wallpaper-black.png'); 
      box-shadow: 0 0 8px rgba(0,0,0,0.2);
      z-index: 0;
      margin-bottom: 18px;
    }



@media(max-width:750px){
    .controls{

      border-radius: 12px;
      padding-top: 12px;
      padding-bottom: 12px;
      padding-left: 32px;
      padding-right: 32px;

 }
}

@media(min-width:751px){

    .controls{

      border-radius: 12px;
      padding-top: 12px;
      padding-bottom: 12px;

 }
}







    .controls, .options {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 8px;
    }
    .controls img, .options img {
      width: 32px;
      height: 32px;

      /* ドット絵表示 */
      image-rendering: pixelated;
  image-rendering: -webkit-crisp-edges;
  image-rendering: -moz-crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;

      cursor: pointer;
    }
    .title {
      font-family: 'Kaisei Decol';
      font-weight: bold;
background-color: #677116;/* メインカラー濃い緑#677116 */
color: #D7D1D3;/* メインカラーピンクホワイト#D7D1D3 */
      text-align: center;

      border-radius: 8px;
      padding: 12px;
    }
    #seekBar {
      width: 80%;
      margin: 6px auto 0;
      display: block;
      -webkit-appearance: none;
      height: 6px;
      border-radius: 3px;
      background: #c1c1c1;
      outline: none;
    }
    /* Chrome, Safari 用 */
    #seekBar::-webkit-slider-runnable-track {
      height: 6px;
      background: #c1c1c1;
      border-radius: 3px;
    }
    #seekBar::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #97A435;/* メインカラー黄緑#97A435 */
      cursor: pointer;
    }
    /* Firefox 用 */
    #seekBar::-moz-range-track {
      height: 6px;
      background: #c1c1c1;
      border-radius: 3px;
    }
    #seekBar::-moz-range-thumb {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #97A435;/* メインカラー黄緑#97A435 */
      cursor: pointer;
    }
    /* Edge 用 */
    #seekBar::-ms-track {
      height: 6px;
      background: #c1c1c1;
      border-radius: 3px;
      border: none;
      color: transparent;
    }
    #ytPlayer {
      display: none;
    }

    }






.banner {
  background-color: #000;
  margin-bottom: 15px;


}



@media(max-width:750px){
    #table01 {
  width: 100%;
  border-collapse: separate; /* ←ここが重要 */
  border-spacing: 0;
}

#table01 tr {
  border-bottom: 1px solid #888;
}

#table01 td, .banner-img {
  padding: 16px 10px;
  background-color: #000; /* .banner と同じにすることで "行全体" が黒くなる */
}
}


/* PC用：ボーダー */
@media(min-width:751px){
#table01 {
  width: 100%;
  border-collapse: collapse;
}
#table01 td, .banner-img {
  width: 50%; /* 例えば */
  border-bottom: 1px solid #888;
}

/* 画像セルを左寄せ＆固定幅に */
.banner-img {
  width: 100px;
  text-align: left;
  vertical-align: middle;
text-indent: 5em;/* 画像セルを少し右に */
}
}



/* 画像セルを左寄せ＆固定幅に */
.banner-img {
  width: 100px;

  vertical-align: middle;
  }
/* テーブル内の文字も中央揃え（縦）に */
#table01 td {
  padding: 16px 10px; /* 上下余白を少し減らして整える */
  vertical-align: middle;
}

/* スマホ用レイアウト：縦並びにする */
@media only screen and (max-width: 480px) {
  #table01 tr {
    display: block;
    margin-bottom: 20px;
  }

  #table01 td {
    width: 100%;
    display: block;
    text-align: center;
  }

  .banner-img {
    margin-bottom: 0px;
    text-align: center;
  }
}




.gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */

}
.gallery a {
    margin: 20px 10px 10px;/*追加。これはサムネイル群全体の余白設定。*/
  display: block;   
}

@media(max-width:750px){
    .gallery a {
  margin: 20px 5px 10px;/*追加。これはサムネイル群全体の余白設定。*/
  display: block;
}
}





.gallery a img {
    box-shadow: 0 0 10px rgba(00,00,00,.5);
    background-color: #ffffff;
  width: 200px;/*追加*/
  height: 200px;/*追加*/
  object-fit: cover;/*サムネのアス比維持*/
  margin: 0;/*白い余白を消すための記述*/
  padding: 0;/*白い余白を消すための記述*/

}



@media(max-width:750px){
    .gallery a img{
  box-shadow: 0 0 10px rgba(00,00,00,.5);
    background-color: #ffffff;
  width: 80px;/*追加*/
  height: 80px;/*追加*/
  object-fit: cover;/*サムネのアス比維持*/
  margin: 0;/*白い余白を消すための記述*/
  padding: 0;/*白い余白を消すための記述*/
}
}










/* リセットCSS */
hr {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

/* 切り取り線 */


hr {margin-top: 40px;/* 上下余白 */
  padding: 20px 0;/* 線をハサミの中心に */
  overflow: visible;
}
.kiritori {
  border-top: 1px dashed #D7D1D3;
}

.kiritori::after {
  content: '\002702';
  display: inline-block;
  position: relative;
  top: -38px;
  left: 40px;
  padding: 0 3px;
  background: #5B0045;
  color: #D7D1D3;
  font-size: 25px;
}

/* 切り取り線 */


.kiritori-chara hr {
  margin-top: 40px;/* 上下余白 */
  padding: 20px 0;/* 線をハサミの中心に */
  overflow: visible;
}

.kiritori-chara {
  border-top: 1px dashed #360229;
}

.kiritori-chara::after {
  content: '\002702';
  display: inline-block;
  position: relative;
  top: -38px;
  left: 40px;
  padding: 0 3px;
  background-image: url('../images/wallpaper-white.png'); /* 絶対パスで確認 */
  color: #360229;
  font-size: 25px;
}




/* 切り取り線 */


.kiritori-space hr {
  margin-top: 40px;/* 上下余白 */
  padding: 20px 0;/* 線をハサミの中心に */
  overflow: visible;
}

.kiritori-space {
  border-top: 1px dashed #D7D1D3;
}

.kiritori-space::after {
  content: '\002702';
  display: inline-block;
  position: relative;
  top: -38px;
  left: 40px;
  padding: 0 3px;

    background: #000 ; 


  color: #D7D1D3;
  font-size: 25px;
}












.site-guide {
    display: flex;
  flex-wrap: wrap;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
 padding-top: 26px;
}

.site-guide ul{
    display: flex;
  flex-wrap: wrap;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
}



.site-guide li{

    list-style: none;
    margin-left: 0px;
    padding-bottom  : -60px;
    margin: 10px;
    align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
}











.link-text-chara{
    color: #360229;

    font-weight: bold;
}

.new-text-chara{color: #360229;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 40px;
    font-size: 20px;
}

.new-text-chara li{
    list-style: none;
}

.BGM{
    text-align: center;
    margin-bottom: -30px;
}





#footer {
    bottom: 0; /* 下に固定 */
    background-image: url('../images/parts-deco-pattern.png'); /* 絶対パスで確認 */
    background-size: 128px 145px;
    background-repeat: repeat;
    text-align: center;
    height: 100px;
     position: sticky;
     top: 100vh;
  width: 100%;


    background-size: 100px;


}










/* キャラクターコンテンツの画像 */
.chara-content {
  display: flex;
  flex-wrap: wrap;
}

.chara-content ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
}

.chara-content li {
  list-style: none; /* 追加 */
  margin: 40px 20px 0px; /* 追加。これはサムネイル群全体の余白設定。 */
  position: relative;
}

@media(max-width:750px){
    .chara-content li {
  list-style: none; /* 追加 */
  margin: 40px 0px 0px; /* 追加。これはサムネイル群全体の余白設定。 */
  position: relative;}

}



.chara-content li img {
  object-fit: cover; /* アスペクト比維持のための記述 */
  object-position: center;
  filter: drop-shadow(3px 3px 8px #333);
  
}

.chara-content li:hover img,
.chara-content li:active img {
  animation: chara-content 1.0s linear 0s 1;/* 跳ねる効果 */
}

@keyframes chara-content {/* カスタムイージング */
  0%   { transform: scale(0.9, 1.2) translate(0%, -20%); }
  10%  { transform: scale(0.9, 1.2) translate(0%, -15%); }
  20%  { transform: scale(1.2, 0.8) translate(0%, 20%); }
  30%  { transform: scale(0.9, 1.1) translate(0%, -10%); }
  40%  { transform: scale(0.95, 1.2) translate(0%, -20%); }
  50%  { transform: scale(0.95, 1.2) translate(0%, -10%); }
  60%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
  70%  { transform: scale(1.0, 1.0) translate(0%, 0%); }
  100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}

.chara-content h4 {
  position: absolute;
  display: flex;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
  top: 104%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  color: white;
  font-family: 'Kaisei Decol', cursive;
  font-size: 13px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap; /* 追加: 改行しないように設定 */
    overflow: hidden; /* 追加: 溢れた部分を隠す */
    text-overflow: ellipsis; /* 追加: 溢れた部分に省略記号を付ける */
}



img.side_image {
  float: left;
  margin-right: 10px;
}


#page-link {
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */

  display: flex;
  flex-wrap: wrap;
}

#page-link ul {
  display: flex;
  flex-wrap: wrap;

  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
}

#page-link li {
  list-style: none; /* 追加 */
  margin: 20px 20px -20px; /* 追加。これはサムネイル群全体の余白設定。 */
  position: relative;
}


#page-link a {
  font-size: 18px;
color: #360229;



}



#menu-visual {
    display: flex;
    justify-content: center;
    align-items: center;  
}
#menu-visual img {
    object-fit: cover;
    object-position: center;
    width: 80%;
    height: 80%;

}


.topics {

  margin-left: 20px;/* 全体の左右余白。 */
  margin-right: 20px;/* 全体の左右余白。 */
  max-height: 300px;   /* 既にあるならそのまま */
  overflow-y: auto;
  width: auto;
  padding-right: 4px;  /* スクロールバーとの最低距離 */

}

.topics-inner {
  padding-right: 20px; /* ←ここで中身だけ右に余白 */
  padding-left: 0;     /* 左はそのまま or 微調整 */
}






.topics::-webkit-scrollbar {
  background: #000;
}
.topics::-webkit-scrollbar-thumb {
  background-color: #97A435;/* メインカラー黄緑#97A435 */
  border: 2px solid #677116;/* メインカラー濃い緑#677116 */;
}
.topics::-webkit-scrollbar-thumb:hover {
  background-color: #677116;/* メインカラー濃い緑#677116 */
}







.topics dl {

  font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #360229;
    font-size: 18px;
padding: 5px 0;

}

.topics dt {
padding-bottom: 5px;
margin-bottom: -2%;/* 日付と更新内容の上下距離。 */
}

@media screen and (min-width: 768px) {
.topics dt {
clear: left;
float: left;
width: 10%;
}
.topics dd {
margin-left: 120px;/* 日付と更新内容の左右距離。 */
}
}


.chara-topics dl {
  font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color: #360229;
    font-size: 18px;
padding: 2px 0;
margin-left: 4%;/* 追加。更新情報全体を少し右へ。 */
}

.chara-topics dt {
padding-bottom: 0px;
margin-bottom: -2%;/* 日付と更新内容の上下距離。 */
}

@media screen and (min-width: 768px) {
.chara-topics dt {
clear: left;
float: left;
width: 10%;
}
.chara-topics dd {
margin-left: 16%;/* 日付と更新内容の左右距離。 */

}
}
/*漫画サムネ*/


.comic-top {
  position: relative;/*相対配置*/
      }
.laymic_template
{
  position: absolute;
  z-index: 1;
      }


.comic-mask{
    display: block;
      text-align: center;
    line-height: -10;/*行の高さを0にする*/
    overflow: hidden;/*拡大してはみ出る要素を隠す*/
}

.comic-mask img{
  box-shadow: 0 0 10px rgba(00,00,00,.5);
  transition:0.3s;
  width: 141px;/*サムネイルサイズ変更540px;*/
  height: 200px;/*サムネイルサイズ変更*/
    object-fit: cover;/*アスペクト比維持のための記述*/
transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1.5); /* カスタムイージング */
}



.comic-mask img:hover{
  transform: translateY(-6px); /* 跳ねる効果 */
}

.hide-text {
    display: none;

}





/*動画リスト*/

.content-movie{ 
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
  position: relative;


text-align: center;

background: #5B0045;/*余白の背景色*/
}



}

.content-movie ul {
    display: flex;/*サムネを横並びにするための記述*/
flex-wrap: wrap;
align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
}

.content-movie li {
  list-style: none;/*追加*/
  margin: 30px 0px 0px; /* 追加。これはサムネイル群全体の余白設定。 */


}

.content-movie li iframe {
  position: relative;
  width: 100%;
max-width: 520px;/*PC版での最大幅*/

    object-fit: cover;/*アスペクト比維持のための記述*/
  object-position: center;
}
.content-movie li video{
  position: relative;
  width: 70%;


    object-fit: cover;/*アスペクト比維持のための記述*/
  object-position: center;
 
}


@media(max-width:751px){
   

.content-movie li img{

    object-fit: cover;/*アスペクト比維持のための記述*/
  object-position: center;    
}

}








/*YouTube動画リスト*/

.content-YouTube{ 
  display: flex;/*サムネを横並びにするための記述*/
flex-wrap: wrap;
align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */



background: #5B0045;/*余白の背景色*/
}



}

.content-YouTube ul {
    display: flex;/*サムネを横並びにするための記述*/
flex-wrap: wrap;
align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
  position: absolute;
  width: auto;
  height: auto;
}

.content-YouTube li {
  list-style: none;/*追加*/
  margin: 30px 30px 0px; /* 追加。これはサムネイル群全体の余白設定。 */


}


@media(max-width:751px){
  .content-YouTube li iframe{
    width: 100%;
    max-width: 320px;/*スマホ版での最大幅*/
} 
}

@media(min-width:751px){
  .content-YouTube li iframe{
    width: 100%;
    max-width: 520px;/*PC版での最大幅*/
} 
}

  

.content-YouTube li video{align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
  position: relative;


text-align: center;
  position: relative;
  


    object-fit: cover;/*アスペクト比維持のための記述*/
  object-position: center;
 
}
@media(max-width:751px){
   

.content-YouTube li img{

    object-fit: cover;/*アスペクト比維持のための記述*/
  object-position: center;    
  
}

}



/*ブログ記述始まり*/



#blog-date a {
  
color: #360229;
}




#meta{
font-family: 'Kiwi Maru';
color: #360229;
}


.wrapper{
font-family: 'Kiwi Maru';
color: #360229;
}

.wrapper p{
  font-family: 'Kaisei Decol', cursive;
  position: absolute;
    text-align: center;

    color: #360229;


  
}

.wrapper li {
  list-style: none;
}

.author img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: 30px;
}

.wrapper li {
  list-style: none;
}

/*
コンテンツ幅を設定するための共通クラス
*/
.wrapper {
  max-width: 1200px;
  
  margin: 0 auto;
}
.readmore {
  font-size: 0.875rem;
  text-align: center;
}
/*
疑似要素で下線を設定するために、「position: relative;」を設定
*/
button.readmore a {
  padding-bottom: 1px;
  color: #360229;
  position: relative;
}
/*
「position: absolute;」を設定し、left、bottomで下線の位置を調整
widthとheightで線の長さと高さを設定
疑似要素で線を表示させるためには、「content: '';」を設定すること
「transition: all 200ms ease;」でホバー時の速度などを設定
*/
button.readmore a::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 100%;
  left: 0;
  bottom: 0;
  background: #360229;
  transition: all 200ms ease;
}
/*
ホバー時の下線の設定
「opacity: 0;」下線を非表示
「transform: translateY(3px);」下に3px移動
→下に3px移動しながら下線を非表示にする
*/
button.readmore a:hover::after {
  opacity: 0;
  transform: translateY(3px);
}

.hide-text {
    display: none;
}



 button.readmore {
    position: relative;
    height: 80px;
    width: 90px;
    margin: 40px auto;
    display: block;
    background-color: transparent;
    color: #360229;
    padding-bottom: 40px;
    border: none;
    outline: 0;
    transition: .5s;
    -erbkit-transition: .5s;

}
 
button.readmore::after {
    content: " ";
    position: absolute;
    width: 30px;
    height: 30px;
    border-top: solid 3px #360229;
    border-right: solid 3px #360229;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    right: 28px;
    top: 25px;
    transition: .5s;
    -erbkit-transition: .5s;

}
 
button.readmore:hover::after {
    top: 40px;
}
 
.on-click {
    color: transparent!important;
}
 
.on-click {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
}





















.article-title{

  color: #360229;

}



@media(max-width:750px){
    #main-mygame {
    display: flex;
    justify-content: center;
    align-items: center;  
    height:180px;
    margin-bottom: 230px;
    position: relative;
    background-color: black;
}
}
@media(min-width:751px){
    #main-mygame {
    display: flex;
    justify-content: center;
    align-items: center;
      position: relative;
    background-color: black;

}
}


main-mygame{
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    margin-bottom: -30px;
}




/* 重ねるGIF */
.gif-overlay {
  position: absolute;
  inset: 0;
  background-image: url("../images/pon.gif"); /* 128×128のGIF */
  background-repeat: repeat;
  background-size: 128px 128px;
  mix-blend-mode: multiply;

  pointer-events: none;   /* ← これが最重要 */
}




/* 重ねるGIF */
.gif-overlay2 {
  position: absolute;
  inset: 0;
  background-image: url("../images/pppppp.gif"); /* 128×128のGIF */
  background-repeat: repeat;
  background-size: 128px 128px;
  mix-blend-mode: multiply;
  opacity: 0.5;

  pointer-events: none;   /* ← これが最重要 */
}


@media(max-width:750px){


}
@media(min-width:751px){
/* CRTフィルターのオーバーレイ */
.crt-filter,
.crt-filter::before,
.crt-filter::after {
  position: absolute;
  inset: 0;
  pointer-events: none; /* クリックを素通りさせる */
  z-index: 0;
}

/* スキャンライン + カラーノイズ */
.crt-filter::before {
  content: "";
  background:
    linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,0.25) 50%),
    linear-gradient(90deg, rgba(255,0,0,0.06), rgba(0,255,0,0.02), rgba(0,0,255,0.06));
  background-size: 100% 2px, 3px 100%;
}

/* フリッカー（ちらつき） */
@keyframes crt-flicker {
  0% { opacity: 0.28; }
  5% { opacity: 0.35; }
  10% { opacity: 0.24; }
  15% { opacity: 0.90; }
  20% { opacity: 0.18; }
  25% { opacity: 0.84; }
  30% { opacity: 0.65; }
  35% { opacity: 0.68; }
  40% { opacity: 0.26; }
  100% { opacity: 0.24; }
}
.crt-filter::after {
  content: "";
  background: rgba(18, 16, 16, 0.1);
  animation: crt-flicker 0.15s infinite;
}
}











.shop-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

}

.shop-item {
  border-radius: 10px;
  background: #D7D1D3;
    background-image: url('../images/wallpaper-white.png'); /* 絶対パスで確認 */
  padding: 15px;
  text-align: center;
  
}
.shop-grid img {


  max-width: 100%;
  height: auto;
}
.shop-grid p {
  text-align: center;
}

.shop-text h4{
    font-size: 18px;
    color:rgba(0,0,0,.4); /*文字を透過色に*/
text-shadow: 1px 1px 2px #eee, 0 0 #000; /*にじみ文字表現*/

    font-family: 'Kaisei Decol';
    font-weight: bold;
    color:  #360229;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 0px;

}


.shop-text p{
    font-size: 16px;
    color:rgba(0,0,0,.4); /*文字を透過色に*/
text-shadow: 1px 1px 2px #eee, 0 0 #000; /*にじみ文字表現*/

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #360229;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-left: 0px;

}



.shop-text a {
  text-decoration: none;
}

.download-btn {
  display: block;
  width: auto;
  padding: 10px;
  text-align: center;
  background: #5B0045;
  color: #fff;
  border-radius: 10px;
  transition: all 0.3s;
}
.download-btn:hover, 
.download-btn:focus {
  color: #fff;
  background: #97A435;
  
}











/*indexの画像*/


.index-img{
  display: flex;
  flex-wrap: wrap;






}

.index-img ul {

align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
  width: fit-content;
    margin: auto;
margin-top: -30px;
}

.index-img li {
  list-style: none;/*追加*/

position: relative;

}




    .index-img li img{

    object-fit: cover;/*アスペクト比維持のための記述*/
  object-position: center;
   width: 100%; /* bodyの幅に対する割合。100%から変更 */

}





.index-img h4{
  position: absolute;
    display: flex;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
   top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  color: white;
  font-family: 'Kaisei Decol', cursive;
  font-size: 30px;
text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}




@media(max-width:750px){
    .index-p {
    font-size: 18px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 1em;
    line-height: 1.0;
    margin-top: 10px;
    text-align: center;
}

}
@media(min-width:751px){
    .index-p {
    font-size: 22px;

    font-family:'Kiwi Maru','Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:  #D7D1D3;
    margin-bottom: 9px;
    line-height: 1.0;
    margin-top: 0px;
    text-align: center;
}

}


/*indexのサイド画像*/
.index-sideimg{
  display: flex;
  flex-wrap: wrap;
}

.index-sideimg img{
margin: auto;
    object-fit: cover;/*アスペクト比維持のための記述*/
  object-position: center;
  max-width: 200px;
   width: 100%; /* bodyの幅に対する割合*/
}




@media ( min-width : 751px ){
  .index-sideimg {
    display: none !important;
  }

}



/* index背景用*/

#main-index {
    background: #D7D1D3;

  background-image: url('../images/wallpaper-space.gif'); /* 絶対パスで確認 */
    image-rendering: pixelated;


}

















.displacement {
      width: 500px;/*追加*/
      height: 300px;/*追加*/
      /*中央揃え
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      */
}

@media(max-width:750px){
    .displacement {
      width: 300px;/*追加*/
      height: 100px;/*追加*/
}


.displacement-center {

      width: 800px;/*追加*/
      height: 500px;/*追加*/
     
}





.index-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 3fr 1fr;
}
.grid1 {
  order: 2;
  position: relative;

}



.grid2 {
  position: relative;
    order: 3;
}


.grid13 {
  position: relative;
  order: 1;
}



.grid1,
  .grid2,
  .grid3 {
  padding: 2%;

  
}



@media ( max-width : 400px ){
  .index-grid {
    grid-template-columns: 1fr;
  }



  .grid2,
  .grid3 {
    display: none !important;
  }

}




