/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*ーーーーーーーーーートップ＆コンテンツ共通ーーーーーーーーーー*/

/* header 要素 */
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 200px;
  /*background-color: rgb(148, 53, 53);*/
}

header.top{
  height: 50px;
}

/* footer 要素 */
footer {
  height: 100px;
}

/*動く背景*/
.parallax-bg {
  position: relative;
  min-height: 100dvh;
  overflow: hidden; /* はみ出し隠し（内側スクロール化はしない） */
}

/* 画面全体に固定される背景レイヤー */
.parallax-bg::before {
  content: "";
  position: fixed; /* ← これが“固定背景”の代替 */
  inset: 0;
  background: url('img/bg.jpg') center bottom / cover no-repeat;
  z-index: -1; /* コンテンツの背面へ */
}
/*
.parallax-bg {
  background-color: black;
  background-image: url('img/bg.jpg'); /* 背景画像を指定 
  background-size: cover; /* 背景画像をコンテナに合わせて拡大 
  background-attachment: fixed; /* 背景画像を固定 
  background-position: center bottom;
  height: 100dvh; /* ビューポートの高さに合わせる 
  overflow-y: scroll; /* 縦方向のスクロールを有効にする 
}*/

/* 基本要素 */
body {
    width: 100%;/*99%だと動かない*/
    font-family: Arial, sans-serif;
    line-height: 1.6;
    /*background-color: #111111;*/
    color: #ffffff;
    /*align: center; */
    /*box-sizing : border-box;*/
}

a {
  color:#00c8e2
}

.textbox li{
  margin: 10px;
}

.icon {
  padding: 10px;
  max-width: 50px;
  /*background-color: aqua;*/
}

.icon a{
 text-decoration: none;
}

.spbr{
  display: none;
}

/* フェードインアウト */
.fade-in{
  opacity:1;
  -webkit-transition:all 1s;
  -moz-transition:all 1s;
  -o-transition:all 1s;
  -ms-transition:all 1s;
  transition:all 1s;
}

.fade-out{
  opacity:0;
}

/*ーーーーーーーーーートップ用ーーーーーーーーーー*/

/*タイトルロゴ*/
.logo{
  max-height: 200px;
  margin: 0 auto;
}

/* メイン周り */
.mainbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 350px;/*180px*/
  height: 30px;
 /*background-color: red;*/
  margin: 0 auto;
  margin-bottom: 50px;
}

/* メニュー周り */
.menubox {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 220px;/*180px*/
  height: 70px;
  /*background-color: red;*/
  margin: 0 auto;
  margin-bottom: 50px;
}

/* Image 要素 (div内に収まる様に)*/
img {
    display: block;
    height: auto;
    max-width: 100%;
}

/* swiper */
.main{
  width: 100%;
  max-width: 700px;
  margin-bottom: 20px;
}
.WebTop{
  width: 100%;
  max-width: 700px;
}

.characters{
  width: 100%;
  max-width: 500px;
  margin-bottom: 90px;
}

.characters_box{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 90px;
}

.characters_person{
  width: 100%;
  max-width: 500px;
}

.characters_person .swiper-wrapper{
  width: fit-content;
  padding: 10px 0px 5px 0px;
  border-bottom: solid 2px #ffffff;
  border-image: linear-gradient(to right, #0066cc5a, #ffffffd9, #ffffffd9, #0066cc5a) 1;
  /*
  background-image: url(img/DotDragon.png);
  background-size: 30px;
  background-attachment: fixed;
  background-position: center bottom;
  background-repeat: no-repeat;
  overflow-x:hidden;*/
}


.characters_place{
  width: 100%;
  max-width: 500px;
  margin-bottom: 5px;
  padding: 5px;
}

/*メインのページネーション*/

.main_pagination{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  top: 0px;
  left: 20px;
}

.main_pagination .swiper-pagination-bullet {
  height: 23px;
  width: 23px;
  border-radius: 1px;
  opacity: 0.3;
  margin: 0 7px 0 4px !important;
}

.main_pagination .swiper-pagination-bullet-active {
  background-color: #ffffff;
  opacity: 1;
}

.main_pagination .swiper-pagination-bullet:nth-of-type(1) {
  background-color: transparent;
  background-image: url(img/DotDragon.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: unset;
  padding: 10px;
}

.main_pagination .swiper-pagination-bullet:nth-of-type(2) {
  background-color: transparent;
  background-image: url(img/animation.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: unset; 
}

.main_pagination .swiper-pagination-bullet:nth-of-type(3) {
  background-color: transparent;
  background-image: url(img/blog.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: unset; 
}

.main_pagination .swiper-pagination-bullet:nth-of-type(4) {
  background-color: transparent;
  background-image: url(img/news.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: unset; 
  width: 40px;
}

.main_pagination .swiper-pagination-bullet:nth-of-type(5) {
  background-color: transparent;
  background-image: url(shop/img/shop.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: unset; 
}

.main_pagination .swiper-pagination-bullet:nth-of-type(6) {
  background-color: transparent;
  background-image: url(img/music.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: unset;
  width: 40px;
}

.main_pagination .swiper-pagination-bullet:nth-of-type(7) {
  background-color: transparent;
  background-image: url(img/chat.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: unset;
}

/*キャラクターのページネーション*/

.characters_pagination{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 15px;
  margin-bottom: 90px;
}

/*
.Doticon .swiper-slide {
  opacity: 0.4;
  width: 20px;
  height: 20px;
}

.Doticon .swiper-slide-thumb-active {
  opacity: 1;
}*/

/* ページネーションの余白を調整 */
.characters_pagination .swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 15px;
/*  padding-top: 10px;*/
}

.characters_pagination .swiper-pagination-bullet {
  height: 11px;
  width: 11px;
  border-radius: 1px;
  opacity: 0.3;
}

.characters_pagination .swiper-pagination-bullet-active {
  background-color: #ffffff;
  opacity: 1;
}

.characters_pagination .swiper-pagination-bullet:nth-of-type(1) {
  background-color: transparent; /* 背景色を透明に */
  background-image: url(img/DotDragon.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: unset; /* これがないと画像が欠ける */
  height: 20px;
  width: 20px;
}

.characters_pagination .swiper-pagination-bullet:nth-of-type(2) {
  background-color: transparent; /* 背景色を透明に */
  background-image: url(img/planet.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: unset; /* これがないと画像が欠ける */
  height: 20px;
  width: 20px;
}

.characters_pagination .swiper-pagination-bullet:nth-of-type(3) {
  background-color: transparent; /* 背景色を透明に */
  background-image: url(img/DotAnimal.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: unset; /* これがないと画像が欠ける */
  height: 20px;
  width: 20px;
}

.planets{
  width: 100%;
  margin-bottom: 100px;
}

.swiper-slide img{
  border-radius: 5px;
  /*width: 100%;
  height: 100%;*/
}

/* Swiper が afterInit で class を付けたら表示 */
.swiper.swiper-initialized,
.swiper-container.swiper-initialized {
  visibility: visible;
}

/*
.character-thumbnail  .swiper-slide {
  width: calc(100% / 3);
}

.character-thumbnail img{
  width: 100px;
}*/

/*.swiper-slide{
  background-color: aqua;
}*/

.board{
  width: 100%;
  height: 100%;
  background-image: url('img/board.jpg');
  background-size: cover;
  aspect-ratio: 5/4;
  display: flex;
  justify-content: center;
  align-items:center;
}

.board .zubolog li {
  height: calc(100% / 3);
}

.board .zubolog li img {
  border-radius: 0px;
  padding: 5px;
  filter: drop-shadow(0px 0px 1px #aaa);
}

/*ーーーーーーーーーーコンテンツ用ーーーーーーーーーー*/

/* 下地のエリア */
.area {
  width: 95%;
  max-width: 700px; 
  height: 100%;
  margin: 0 auto;
}

.logoicon{
  max-width: 48px;
  margin: auto;
}

.lanbook{
  max-width: 100px;
  border-radius: 50px;
  padding: 10px;
}

/* メニュー周り */
.snsbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 200px;
  height: 70px;
  /*background-color: red;*/
  margin: 0 auto;
}

.imgbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 200px;
  margin: 0 auto;
  padding: 20px;
}

.imgbox img{
  width: 450px;
}

.sharebox {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 175px;
  background-color: #ffffff;
  border-radius: 5px;
  margin: 0 auto;
  padding: 5px;
}

  .textbox {
    padding: 20px;
  }

  h1 {
    width: 100%;
    max-width: 450px;
    position: relative;
    border-bottom: 3px solid #ffffff;
    display: inline-block;
    /*background-color: blue;*/
   }
   
   h1 span {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1;
    padding-right: 10px;
    /*position: absolute;*/
   }

   h3{
    margin-top:  40px;
   }

   ul{
      width: 90%;
/*    list-style-type: none;
    display: flex;
    flex-wrap: wrap;*/
}
/*
  li{
    max-width: calc(100%/3);
    max-height: 200px;
    padding: 5px;
  }*/
/*
ul.zubolog img {
  display: block;
  max-width: 100%;
  max-height: 200px;
  border-radius: 5px;
  border: solid 2px #ffffffba;
}*/

/* ガイドラインの見出し（質問部分） */
.guide-heading {
  margin: 32px 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
  border-left: 4px solid #666;
  padding-left: 8px;
}

/* 作者表記ボックス全体 */
.guide-credit-box {
  margin: 24px 0;
  padding: 16px 20px;
  border-radius: 10px;
  color: #000000;
  background: #f9f9ffbb;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* 作者表記テキスト */
.guide-credit-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  word-break: break-all;
}

/* コピーボタン */
.guide-copy-button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #666;
  background: #fff55;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.05s ease,
              box-shadow 0.1s ease,
              background 0.1s ease;
}

.guide-copy-button:hover {
  background: #f0f0ff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.guide-copy-button:active {
  transform: translateY(1px);
  box-shadow: none;
}

.space {
  margin: 0 auto;
  display: flex;
  justify-content: flex-start; 
  padding: 10px;
  height: 100px;
  max-width: 700px;
}


/*
.back{
  padding: 10px;
  max-height: 50px;
  aspect-ratio: 1/1;
}

.back img{
  width: 100%;
  aspect-ratio: 1/1;
  animation: backlight 2s ease-in-out infinite alternate;
}
@keyframes backlight{
  0%{
      opacity: 20%;
  }  
  100%{
      opacity: 50%;
  }
}*/

/* 左下の戻るボタン（画像） */
.back{
  position: fixed;   /* ← absolute から fixed に変更 */
  left: 20px;
  bottom: 20px;
  z-index: 9999;     /* 他の要素より前に出したい場合は大きめに */
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.back img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: backlight 2s ease-in-out infinite alternate;
}
@keyframes backlight{
  0%{
      opacity: 20%;
  }  
  100%{
      opacity: 50%;
  }
}

.storybox{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 50px;
  max-width: 700px;
  margin: 0 auto;
  border-bottom: solid #000000;
  width: fit-content;
}

.story{
  width: fit-content;
  max-height: 50px;
  display: flex;
  align-items: flex-end;
  margin-left: 5px;
}

.story img{
  padding: 2px;
  height: 60px;
}

/* 吹き出し */
/* =========================
   CharaMessage fade-up
   ========================= */

/* 初期状態：非表示 + 下にずらしておく */
.CharaMessage {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 200px;
  margin: 10px 0;

  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(.22, .61, .36, 1);

  will-change: opacity, transform;

  /* 個別ディレイを設定する場合は JS から --delay を渡せます */
  transition-delay: var(--delay, 0s);
}

/* 画面に入ったら発火 */
.CharaMessage.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを減らす設定のユーザー向け */
@media (prefers-reduced-motion: reduce) {
  .CharaMessage {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.CharaMessage.is-inview {
  animation: fadeUpAnime 0.6s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes fadeUpAnime {
  from { 
    opacity:0; 
    transform:translateY(24px);
   }
  to   { 
    opacity:1; 
    transform:translateY(0); 
  }
}

.CharaIcon img{
    width: 50px;
    border-radius: 25px;
    margin: 0px 0px 0px 0px;
}
.MessageBallon{
    position: relative;
    display: inline-block;
    margin-left: 10px;
    padding: 16px 0 11px 0;
    border-radius: 4px;
    background-color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    min-width: 200px;
    width: 100%;
    max-width: 500px;
}
.MessageBallon:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    border-style: solid;
    border-width: 7px 15px 7px 0;
    border-color: transparent #ffffff transparent transparent;
    translate: -100% -50%;
}
.MessageBallon p {
    margin: 0 0 5px 0;
}
.MessageBallon a {
  color: #007aff;
}
/*ーーーーーーーーーー音楽用ーーーーーーーーーー*/
    ul.music{
      width: 90%;
      display: flex;
      flex-direction: column;
      align-items: center;
      list-style: none;
      color: black;
    }

    .music_box{
      width: 100%;
      max-width: 480px;
      height: 80px;
      background-color: #ddd;
      margin: 0 auto;
      margin-bottom: 10px;
      padding: 10px;
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .music_thumbnailbox{
      width: calc(100%/2);
      max-width: 60px;
      border-radius: 5px;
      float: left;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .music_thumbnail{
      width: 100%;
      max-width: 260px;
      max-height: 150px;
      object-fit: cover;
      border-radius: 3px;
    }
    .music_textbox{
      width: 80%;
      height: 100%;
      float: left;
      display: flex;
      flex-direction: column;
      align-items: center;
      color: black;
    }


/*　フキダシ　*/   
/* drop down
-----------------------------------------*/
/* link */
.mod_dropnavi ul li a{
  transition-property: border;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  transition-delay: 0s;
}
 
/* mod_dropnavi */
.mod_dropnavi>ul{
    background-color:#ddd;
    list-style: none;
}
.mod_dropnavi>ul>li{
    float:left;
    position:relative;
    text-align:center;
    list-style: none;
}
 
/* mod_dropnavi_child */
.mod_dropnavi .mod_dropnavi_child{
  display:none;
  position:absolute;
  top:0px;
  left:-160px;
  z-index:99;
  padding:30px 0 0 0!important;
  background:transparent no-repeat 150px 0px!important;
}
.mod_dropnavi .mod_dropnavi_child ul{
 padding:5px!important;
 width: fit-content;
 background-color:#ddd;
 list-style: none;
 border-radius: 5px;
}
.mod_dropnavi .mod_dropnavi_child ul li{
 font-size:90%;
 width: fit-content;
 line-height:1.3;
 text-align:left;
 margin:0 5px 0 5px!important;
 white-space:nowrap;
 list-style: none;
 color: black;
}
.mod_dropnavi .mod_dropnavi_child ul li a{
  padding:0 0 0 0!important;
  display:inline-block;
}

/*通知*/
/* 親ボックスごと中央寄せ＆横並び */
.push-actions {
  display: flex;                 /* inline-flex → flex に変更 */
  justify-content: center;       /* 子要素を中央に寄せる */
  align-items: center;           /* 高さ方向も中央 */
  gap: 12px;
  width: 100%;                   /* 親幅いっぱいにして中央寄せを効かせる */
  margin: 8px 0;
}

/* ボタン共通（サイズと見た目を完全一致） */
.push-btn {
  --size: 44px;                  /* まとめて変えたいときはここ */
  width: var(--size);
  height: var(--size);
  border: none;
  border-radius: 50%;            /* 丸ボタン（四角にしたいなら 10px に） */
  display: inline-grid;
  place-items: center;
  font-size: 20px;               /* 絵文字サイズ */
  line-height: 1;                /* 行間の差をなくすのが重要 */
  color: #fff;                   /* 絵文字の色（多くの環境で白に）*/
  background: #777;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .05s ease, box-shadow .15s ease, background-color .2s ease, opacity .2s ease;
  -webkit-appearance: none;      /* 各ブラウザのデフォルト装飾をOFF */
  appearance: none;
  padding: 0;                    /* サイズは width/height で管理 */
  margin: 0;
}

.push-btn img {
  width: 25px;
  height: 25px;
}

/* 許可（青）・解除（グレー）だけ色を切替 */
.push-allow { background: #007aff; }
.push-allow:hover  { background: #1280ff; }

.push-deny  { background: #8e8e93; }  /* iOSっぽいグレー */
.push-deny:hover   { background: #9a9aa0; }

.push-btn:active { transform: translateY(1px) scale(.98); }

/* ステータス表示（専用の見た目） */
.push-status {
  min-width: 180px;
  max-width: 250px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.35;
  color: #0a0a0a;
  background: #f3f4f6c2;          
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.03);
  margin-top: 8px;
  margin-left: auto;             /* 親が幅100%なので中央寄せ */
  margin-right: auto;
  text-align: center;
  border-style: none;
}

/* ステータスの色バリエ（任意）：JSで className 切替用 */
.push-status.is-ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.push-status.is-warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.push-status.is-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #7f1d1d;
}

/*ーーーーーーーーーー以下レスポンシブ対応ーーーーーーーーーー*/

/*　タブレット　
@media (max-width: 768px) {


    }
*/

/*　スマホ　*/
@media (max-width: 480px) {

  /* header 要素 */
header {
  height: 100px;
}
.logo{
  max-height: 100px;
  margin: 0 auto;
}

/* 下地のエリア */
.area {
  max-width: 400px; 
  height: 100%;
  margin: 0 auto;
}

.spbr{
  display: block;
}

}

/*コンテンツ
.board .zubolog li {
  height: 80px;
}*/