@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap');
/* ---------------------------------------------------------
common
----------------------------------------------------------*/
*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;/* 10px */
  height: -webkit-fill-available;
  scroll-behavior: smooth;      /* 任意：スムーススクロール */
  /* scroll-padding-top: 80px; 削除 */
}
body {
  background-color: #fff;
  color: #030303;
  font-size: 1.4rem;/* 14px */
  line-height: 1.5;
  font-family: "Noto Serif JP", serif;
/*  word-break : break-all;*/
  min-height: 100vh;
  min-height: -webkit-fill-available;
}
a {
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
  transition: 0.3s;
}
.wrapper {
  width: 100%;
  min-width: 28rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background-image:url(../img/bg.jpg);
  background-attachment: fixed;
  background-size: cover; /* 100% autoからcoverに変更 */
  background-position: center;
}
/* 雲レイヤー */
.clouds {
  position: fixed; /* absoluteからfixedに変更 */
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background-image: url('../img/cloud.png');
  background-repeat: repeat-y;
  background-size: 100% auto;

  z-index: -1; /* 背景として最背面に配置 */
  pointer-events: none; /* クリックイベントを透過 */
}

/* 雲のアニメーション（下→上） */
@keyframes moveClouds {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* コンテンツレイヤー */
.wrapper-contents {
  position: relative;
  z-index: 10; /* 雲より上 */
  background: transparent; /* 背景を透明に */
  isolation: isolate; /* レイヤーの独立性を確保 */
}

.header-inner {
  max-width: 134rem;
  margin: 0 auto;
  padding: 1rem 2rem;
}
.inner {
  width: 90%;
  margin: 0 auto 2rem;
}
img {
  width: 100%;
}
/* ---------------------------------------------------------
header
----------------------------------------------------------*/
header {
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  padding-top: 15px;
}
h1 {
  font-weight: normal;
  word-break: keep-all;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

/*header*/
.header-sp {
  position: fixed;
  width: 100%;
  z-index:50;
  padding: 5px;
}
.header-main {
  display: flex;
  justify-content: right;
  align-items: center;
}
.header-left img {
  width: 125px;
}

/* ボタン設定 */
.openbtn {
  position: relative;
  z-index: 9999;
  cursor: pointer;
  width: 30px;
  height: 45px;
  margin: 0 auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

/* ハンバーガーボタンの状態 */
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background-color: #fff;
  width: 100%;
}
.openbtn span:nth-of-type(1) { top: 1.2rem; }
.openbtn span:nth-of-type(2) { top: 2rem; }
.openbtn span:nth-of-type(3) { top: 2.8rem; }

/* アクティブ状態の変化 */
.openbtn.active span:nth-of-type(1) {
  top: 1.8rem;
  transform: translateY(6px) rotate(-45deg);
  background-color: #fff;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 3rem;
  transform: translateY(-6px) rotate(45deg);
  background-color: #fff;
}

/* メニューナビ設定 */
.menu-nav {
  position: fixed;
  z-index: 9000;
  top: 0;
  right: -120%; /* 初期状態で右外に隠す */
  width: 100%;
  height: 100vh;
  background-color: #000;
  transition: all 0.8s ease;
  overflow-y: auto;              /* 新規追加 */
  -webkit-overflow-scrolling: touch;  /* 新規追加 */
}

/* ソートされた状態のクラス */
.menu-nav.panelactive {
  right: 0; /* メニューが表示される */
}

.menu-nav-list {
  height: 100%;              /* 新規追加 */
  overflow-y: auto;          /* 新規追加 */
  padding: 20px 0;          /* 新規追加 */
}

/* スマホ用メニューリスト設定 */
@media screen and (max-width: 769px) {
  .menu-nav {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .menu-nav-list {
    padding: 20px 0;
    margin-top: 10px;
  }

  .menu-nav-list > ul {
    width: 80%;
    margin: 100px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 150px;
  }
}


/* メニューリストの共通スタイル */
.menu-nav-list li {
  text-align: center;
}

.menu-nav-list a {
  color: #c9e5f8;
  padding: 7.5px 0;
  display: block;
  font-size: 1.25em;
}


/*fv*/
.fv {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px;
}
.fv-img {
  width: 80%;
  margin: 20px auto;
}
.fv-p {
  background-color: rgba(0,0,0,0.5);
  padding: 15px;
  text-align: center;
  color: #fff;
}
.fv-p p {
  font-size: 1.25em;
}
.fv-p span {
  font-size: 1.5em;
}

.neon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;   /* 四角のサイズ */
  height: 60px;
  background-color: rgba(0,0,0,0.4);
  border: 2px solid #70b1e3; /* ネオン色の枠 */
  box-shadow: 0 0 5px #70b1e3, 0 0 5px #70b1e3, 0 0 5px #70b1e3; /* ネオン発光 */
  text-decoration: none; /* リンク下線を消す */
  border-radius: 4px; /* 角を少し丸めたい場合 */
}

.neon-box i {
  font-size: 2.5em; /* アイコンの大きさ */
  color: #fff; /* アイコンの色 */
}

/*article*/
section {
  background-color: rgba(0,0,0,0.8);
  color: #c9e5f8;
  margin-bottom: 70px;
}
section .contents {
  width: 95%;
  margin: 0 auto;
  padding: 25px 0;
}
.contents h2 {
  color: #ffffff; /* 文字色を白に */
  text-shadow:
    0 0 2px #70b1e3,  /* 輪郭に近い光を細く */
    0 0 4px #70b1e3,  /* 少しだけ外にぼかし */
    0 0 8px #70b1e3;  /* 最外側は弱め */
  font-weight: normal;
  text-align: center;
  font-size: 2em;
  margin-bottom: 10px;
}
.contents-p {
  margin-top: 30px;
  background-color: rgba(0,0,0,0.8);
  padding: 15px;
  line-height: 1.8;
  font-size: 1.1em;
}
.story-p {
  margin-bottom: 15px;
}

/*chara*/
/* 画像サイズ調整 */
.myswiper-wrapper {
  margin-inline: auto;
  position: relative;
}
/* 前への矢印 */
.swiper-button-prev {
  left: -30px;
}
/* 次への矢印 */
.swiper-button-next {
  right: -30px;
}
/* ページネーション */
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -25px;
}
.mySwiper .card img{
  height: auto;
  max-width: 300px;
  margin: 0 auto;
}
.mySwiper .card > div:nth-of-type(2) {
  text-align: center;
}

/* テキスト領域 */
#characters .en {
  margin-bottom: 25px;
}
.swiper-button-next, .swiper-button-prev {
  color: #fff
}
.swiper-button-next:hover ,.swiper-button-prev:hover {
  opacity: 0.7;
  transition: 0.3s;
}
/*gameplay*/
#gameplay h3 {
  font-size: 1.25em;
  color: #c9e5f8;
  text-align: center;
  margin-bottom: 30px;
}
#gameplay h4 {
  font-size: 1.5em;
  color: #ffffff;
  border: 2px solid #70b1e3; /* ネオン色の枠 */
  box-shadow: 0 0 5px #70b1e3, 0 0 5px #70b1e3, 0 0 5px #70b1e3; /* ネオン発光 */
  text-decoration: none; /* リンク下線を消す */
  border-radius: 4px; /* 角を少し丸めたい場合 */
  text-align: center;
  font-weight: normal;
  margin: 0 auto 30px;
  width: 80%;
}
.game-section {
  margin-bottom: 70px;
}
.game-p {
  text-align: center;
}
.game-p .en {
  margin-bottom: 30px;
}

/*media*/
#media h3 {
  font-size: 1em;
  color: #c9e5f8;
  margin-bottom: 5px;
}
.media-title {
  margin-bottom: 15px;
}
.media-p {
  width: 90%;
  margin: 0 auto 0 0;
  padding: 1em;
  font-size: 0.9em;
}
.media-p .en {
  margin-bottom: 20px;
}
/*news*/
#news h3 {
  font-size: 1.25em;
  color: #c9e5f8;
  margin-bottom: 5px;
}
/* ニュースの非表示 */
.news-item.is-hidden {
  display: none;
}

/* 三角ボタンのラッパー（中央配置） */
.news-more-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 40px;
}

/* ボタン本体（見た目はお好みで） */
.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff; /* 文字色を白に */
  text-shadow:
    0 0 2px #70b1e3,  /* 輪郭に近い光を細く */
    0 0 4px #70b1e3,  /* 少しだけ外にぼかし */
    0 0 8px #70b1e3;  /* 最外側は弱め */
  cursor: pointer;
  font-size: 40px;
}

/* ボタンの土台 */
.more-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* ＞ の下向きバージョン（三角形） */
.more-btn .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #fff; /* 白い下向き三角 */
  transition: transform 0.3s ease;
}

/*news*/

/*contact*/
.to-contact {
  width: 40%;
  min-width: 250px;
  margin: 50px auto;
  text-align: center;
}
.to-contact a {
  background-color: #c9e5f8;
  color: #000;
  width: 100%;
  padding: 15px 20px;
  text-align: center;
  font-weight: bold;
  border-radius: 9999px;
}
/* ---------------------------------------------------------
footer
----------------------------------------------------------*/
footer {
  color: #fff;
}
.footer-nav a {
  color: #fff;
  text-align: center;
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.footer-nav li {
  position: relative;
  text-align: center;
  font-size: 1.2em;
  padding: 5px 10px;
}
.footer-copyright {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.footer-copyright img {
  margin-top: 5px;
}

/* ---------------------------------------------------------
PC用固定ヘッダー - 洗練されたスタイル
----------------------------------------------------------*/
@media not screen and (max-width:769px) {
  /* 固定ヘッダー基本設定 - 初期状態は通常配置 */
  .menu-nav-pc {
    background-color: rgba(0,0,0,0.8);
    transition: all 0.3s ease;
    z-index: 100;
  }
  
  /* スクロール時に固定ヘッダー化 */
  .menu-nav-pc.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari対応 */
    background-color: rgba(0,0,0,0.9) !important; /* 半透明効果 */
    box-shadow: 0 2px 20px rgba(112, 177, 227, 0.3); /* ネオン風の影 */
  }
  
  /* 固定ヘッダー用のスペーサー */
  .menu-nav-spacer {
    display: none;
  }
  
  .menu-nav-spacer.active {
    display: block;
    height: 85px; /* menu-nav-pcの高さと同じ */
  }
  
  /* ホバーエフェクトの強化 */
  .menu-nav-pc .mn-list > li {
    transition: all 0.3s ease;
  }
  
  .menu-nav-pc .mn-list > li:hover {
    transform: translateY(-2px);
  }
  
  .menu-nav-pc .mn-list a {
    position: relative;
    transition: all 0.3s ease;
  }
  
  /* ホバー時のネオンエフェクト */
  .menu-nav-pc .mn-list a:hover {
    text-shadow: 
      0 0 5px #70b1e3,
      0 0 10px #70b1e3,
      0 0 15px #70b1e3;
  }
  
  /* Xボタンのネオンエフェクト強化 */
  .menu-nav-pc .neon-box {
    transition: all 0.3s ease;
  }
  
  .menu-nav-pc .neon-box:hover {
    transform: scale(1.1);
    box-shadow: 
      0 0 10px #70b1e3, 
      0 0 20px #70b1e3, 
      0 0 30px #70b1e3;
  }
}

/* ---------------------------------------------------------
既存のPC用スタイル（変更なし）
----------------------------------------------------------*/
@media not screen and (max-width:769px) {
  .only-sp {
    display: none;
  }
  a[href^="tel:"]{
    pointer-events: none;
  }
  .header-inner {
    padding: 0 3rem;
  }
  .inner {
    width: min(90vw, 100rem);
  }
  section .contents {
    width: 80%;
  }
  .menu-nav-pc {
    /* background-color: rgba(0,0,0,0.8); ← 上で設定済み */
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 15px 25px;
    margin-bottom: 40px;
  }
  .mn-list {
    display: flex;
  }
  .mn-list a {
    color: #fff;
    text-align: center;
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }
  .mn-list > li {
    font-size: 1.2em;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
  }
  .mn-list > li::before {
    content: "";
    width: 1px;
    height: 15px;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .mn-list > li:first-of-type::before {
    content: none;
  }

  /* スライドの中身をカード風に横並び */
  .mySwiper .card{
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: rgba(0,0,0,0.8);
    padding: 15px;
  }
  .mySwiper .card div {
    flex: 1;
  }
/* 前への矢印 */
.swiper-button-prev {
  left: -50px;
}
/* 次への矢印 */
.swiper-button-next {
  right: -50px;
}
#gameplay h3 {
  font-size: 1.75em;
}
/*media*/
  .mySwiper2 .card{
    display: flex;
    align-items: center;
    gap: 2.5%;
    background-color: rgba(0,0,0,0.8);
    padding: 15px;
  }
  .media-image {
    width: 40%;
  }
  .mySwiper2 .text {
    width: 57.5%;
  }

  /*news*/
  .ns-flex {
    display: flex;
    align-items: center;
    gap: 2.5%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
  }
  .ns-flex > div:nth-of-type(1) {
    width: 45%;
  }
  .ns-flex > div:nth-of-type(2)  {
    width: 52.5%;
  }
}
@media screen and (max-width:769px) {
  .only-pc {
    display: none;
  }

  /*chara*/
  .text {
    margin-bottom: 20px;
  }
}

@media not screen and (max-width:1200px) {
  .only-sp1200 {
    display: none;
  }
  /*footer*/
  .footer-nav ul {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }
  .footer-nav li::before {
    content: "";
    width: 1px;
    height: 15px;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .footer-nav li:first-of-type::before {
    content: none;
  }
  .footer-nav a {
    padding: 20px 0;
  }
}
@media screen and (max-width:1200px) {
  .only-pc1200 {
    display: none;
  }
  /*footer*/
  .footer-nav li {
    margin-bottom: 10px;
  }
}

/*lower*/
.lower-main {
  padding-top: 75px;
}
.lower-main h3 {
  font-size: 1.25em;
  color: #c9e5f8;
  text-align: center;
  margin-bottom: 30px;
}
.lower-main p {
  margin-bottom: 30px;
}
@media not screen and (max-width:769px) { 
  .lower-main {
    padding-top: 150px;
  }
}

/*pp*/
#privacypolicy {
  font-size: 12px;
}
@media not screen and (max-width:769px) {
  #privacypolicy {
    font-size: 14px;
  }
}
.pp-dl dt{
  font-weight: bold;
  font-size: 1.25em;
  margin-bottom: 10px;
}
.pp-dl dd {
  margin-bottom: 30px;
}
.pp-dl ul {
  margin: 15px 0;
}
.pp-dl li {
  position: relative;
  padding-left: 1em;
  list-style: none;
}
.pp-dl li::before {
  content: '・';
  position: absolute;
  left: 0;
}
.pp-dl li.list-style-none {
  padding-left: 0;
}
.pp-dl li.list-style-none::before {
  content: none;
}
.pp-dl a {
  color: #c9e5f8;
}
.dl-footer {
  display: flex;
  justify-content: end;
}

/*contact*/
#contact-page {
  font-size: 12px;
}
@media not screen and (max-width:769px) {
  #contact-page {
    font-size: 14px;
  }
}
#contact-page dt {
  color: #fff;
  margin-bottom: 15px;
  position: relative;
  padding-left: 1em;
}
#contact-page dt::before {
  content: '';
  width: 5px;
  height: 100%;
  background: #70b1e3;
  position: absolute;
  top: 0;
  left: 0;
}
#contact-page dd {
  margin-bottom: 30px;
}
/* ラベル全体を縦並び */
.radioItem {
  display: block;
  position: relative;
  padding-left: 32px; /* カスタム丸分の余白 */
  margin-bottom: 0.75em;
  cursor: pointer;
  user-select: none;
}
/* デフォルトのラジオは隠す */
.radioItem input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* 外側の丸 */
.customRadio {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  border: 2px solid #70b1e3;  /* 枠線 */
  border-radius: 50%;
  box-sizing: border-box;
}

/* 内側の小さい丸（チェック状態で出現） */
.customRadio::after {
  content: "";
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  width: 10px;   /* 内側の丸サイズ */
  height: 10px;
  border-radius: 50%;
  background: #70b1e3;
  transform: translate(-50%, -50%);
}

/* チェック時に内側の丸を表示 */
.radioItem input[type="radio"]:checked ~ .customRadio::after {
  display: block;
}

/* hover時の外側枠の色変化 */
.radioItem:hover .customRadio {
  border-color: #4097d8;
}
#contact-page  input[type="text"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 230px;
  width: 100%;
  display: block;
  height: 2.8em;
  padding: .4em 3.6em .4em .8em;
  border: 1px solid #A2A4A5;
  border-radius: 3px;
  color: #000000;
}
#contact-page textarea {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 230px;
  width: 100%;
  display: block;
  height: 15em;
  padding: 15px;
  border: 1px solid #A2A4A5;
  border-radius: 3px;
  color: #000000;
  font-weight: 500;
}
#contact-page a {
  color: #c9e5f8;
  border-bottom: solid 1px #c9e5f8;
}
.submit-button {
  width: 40%;
  min-width: 250px;
  margin: 30px auto;
  text-align: center;
  background-color: #c9e5f8;
  color: #000;
  padding: 15px 20px;
  text-align: center;
  font-weight: bold;
  border-radius: 9999px;
  display: block;
  font-family: "Noto Serif JP", serif;
}
.contact-error > div {
  text-align: center;
}
.contact-error dd {
  text-align: left;
  color: #ff85b1;
}
.contact-error .radio-wrapper {
  width: 100%;
}
.contact-confirm > div {
  text-align: center;
}
.contact-confirm dd {
  text-align: left;
}
.contact-confirm .radio-wrapper {
  width: 100%;
}
.sb-flex {
  display: flex;
}
.contact-thanks {
  font-weight: bold;
  text-align: center;
  font-size: 1.1em;
}
@media not screen and (max-width:769px) { 
  #contact-page form {
    width: 80%;
    margin: 0 auto;
  }
  .radio-wrapper {
    width: 90%;
    display: block;      /* ブロック化して margin が効くように */
    margin-left: auto;   /* 左マージンを自動で広げる */
    margin-right: 0;     /* 右端にくっつける */
  }
  #contact-page  input[type="text"] {
    min-width: 230px;
    width: 90%;
    margin-left: auto;   /* 左マージンを自動で広げる */
    margin-right: 0;     /* 右端にくっつける */
  }
  #contact-page  textarea {
    width: 90%;
    margin-left: auto;   /* 左マージンを自動で広げる */
    margin-right: 0;     /* 右端にくっつける */
  }
  .check-wrapper {
    text-align: center;
  }
}
/* ================================================
   背景固定とPNG透明問題の完全修正
   style.cssの最後に追加してください
================================================ */

/* スマホ用の背景設定 */
@media screen and (max-width: 769px) {
  /* 背景を固定（スクロールしても動かない） */
  .wrapper {
    background-attachment: fixed !important;
    background-size: auto 100vh;
    background-position: center center;
    background-repeat: no-repeat;
  }
  
  /* Androidの場合の対策 */
  .wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../img/bg.jpg);
    background-size: auto 100vh;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
  }
  
  /* 雲のアニメーション調整 */
  .clouds {
    position: fixed !important;
    animation-duration: 45s;
  }
}

/* iOS専用のPNG透明問題修正 */
@supports (-webkit-touch-callout: none) {
  /* メインビジュアルの黒い半透明を削除 */
  .fv-img {
    position: relative;
    z-index: 10;
    isolation: isolate;
    /* background-color: rgba(0,0,0,0.3); ← これを削除 */
    /* padding: 10px; ← これも削除 */
    /* border-radius: 10px; ← これも削除 */
  }
  
  .fv-img img {
    /* GPUアクセラレーション */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* 裏面を非表示 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Safariのレンダリング最適化 */
    image-rendering: -webkit-optimize-contrast;
    /* 背景を完全透明に */
    background-color: transparent !important;
  }
  
  /* 固定ヘッダーのbackdrop-filterを無効化 */
  .menu-nav-pc.is-fixed {
    /* backdrop-filterを完全に削除 */
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    /* 背景色だけで対応 */
    background-color: rgba(0,0,0,0.95) !important;
  }
  
  /* レイヤー順の明確化 */
  .wrapper {
    position: relative;
    z-index: 0;
  }
  
  .clouds {
    z-index: -1;
    pointer-events: none;
  }
  
  .wrapper-contents {
    position: relative;
    z-index: 1;
    background: transparent;
  }
}

/* Android用の追加修正 */
@media screen and (max-width: 769px) {
  /* Androidでも背景が動く問題の対策 */
  html, body {
    height: 100%;
    overflow-x: hidden;
  }
  
  .wrapper {
    min-height: 100vh;
    position: relative;
    /* 背景画像を削除（::beforeで対応） */
    background-image: none !important;
  }
  
  /* 背景を別レイヤーで固定 */
  .wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(../img/bg.jpg);
    background-size: auto 100vh;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
    will-change: transform;
  }
}

/* フッターのロゴも修正 */
.footer-copyright img {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  background-color: transparent !important;
}

/* ================================================
   スマホ用 fv-p サイズ調整
================================================ */
@media screen and (max-width: 769px) {
  .fv-p {
    padding: 10px;  /* 15px → 10px で枠を小さく */
    width: 80%;           /* 幅80% */
    margin: 0 auto;       /* 中央寄せ */
  }
  
  .fv-p p {
    font-size: 1.1em;  /* 1.25em → 1.1em */
    line-height: 1.4;  /* 行間も調整 */
  }
  
  .fv-p span {
    font-size: 1.25em;  /* 1.5em → 1.25em */
  }
}


/* ================================================
   スマホ用 キャラクター画像サイズ調整（おすすめ設定）
================================================ */
@media screen and (max-width: 769px) {
  /* キャラクター画像 */
  .mySwiper .card img {
    max-width: 200px;
    width: 100%;  /* 親要素に合わせて伸縮 */
  }
  
  /* カード全体のレイアウト調整 */
  .mySwiper .card {
    padding: 10px;
  }
  
  /* テキストと画像の間隔調整 */
  .mySwiper .card .text {
    margin-bottom: 15px;
    font-size: 0.95em;  /* 文字も少し小さく */
  }
}

/* より小さい画面（iPhone SE等）でさらに調整 */
@media screen and (max-width: 375px) {
  .mySwiper .card img {
    max-width: 160px;
  }
}

/* ================================================
   GAMEPLAY画像サイズ調整
================================================ */
/* スマホ用 */
@media screen and (max-width: 769px) {
  #gameplay .game-section img {
    max-width: 90%;      /* 幅を90%に制限 */
    margin: 0 auto;      /* 中央寄せ */
    display: block;
  }
}
/* PC用も調整したい場合 */
@media not screen and (max-width:769px) {
  #gameplay .game-section img {
    max-width: 600px;    /* PC では最大600px */
    margin: 0 auto;
    display: block;
  }
}


/* ================================================
   全体的な行間調整
================================================ */

/* 基本の行間を詰める */
body {
  line-height: 1.4;  /* 1.5 → 1.4 */
}

/* セクション内のテキスト行間調整 */
.contents-p {
  line-height: 1.6;  /* 1.8 → 1.6 */
}

/* スマホ時の行間をさらに調整 */
@media screen and (max-width: 769px) {
  body {
    line-height: 1.35;
  }
  
  .contents-p {
    line-height: 1.5;
  }
  
  /* NEWS セクションの行間 */
  #news h3 {
    line-height: 1.3;
    margin-bottom: 3px;  /* 5px → 3px */
  }
  
  #news p {
    line-height: 1.4;
  }
  
  /* CHARACTERS セクションの行間 */
  #characters .text p {
    line-height: 1.4;
    margin-bottom: 10px;  /* もし間隔が広ければ調整 */
  }
  
  /* MEDIA セクションの行間 */
  .media-p p {
    line-height: 1.45;
  }
}

/* PC時の微調整 */
@media not screen and (max-width:769px) {
  /* NEWSセクションの行間 */
  .ns-flex ul li {
    line-height: 1.5;
  }
}

/* NEWSアコーディオンのアニメーション */
.news-item {
  transition: all 0.3s ease;
  overflow: hidden;
}

.news-item.is-hidden {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
}

.news-item:not(.is-hidden) {
  max-height: 1000px; /* 十分な高さ */
  opacity: 1;
}

/* ボタンの回転アニメーション */
.more-btn i {
  transition: transform 0.3s ease;
}

.more-btn.is-open i {
  transform: rotate(180deg);
}
/* ================================================
   明るく発光する水色カーソルエフェクト
================================================ */

/* 波紋エフェクト - 明るい水色 */
.ripple {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(150, 220, 255, 0.8) 0%, 
    rgba(180, 235, 255, 0.5) 30%, 
    rgba(200, 245, 255, 0.3) 60%, 
    transparent 100%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: ripple-animation 0.8s ease-out forwards;
  z-index: 9999;
  /* 発光エフェクト */
  box-shadow: 
    0 0 20px rgba(150, 220, 255, 0.8),
    0 0 40px rgba(180, 235, 255, 0.6),
    0 0 60px rgba(200, 245, 255, 0.4);
  filter: brightness(1.3);
}

@keyframes ripple-animation {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
    filter: brightness(1.5) blur(0px);
  }
  100% {
    width: 120px;
    height: 120px;
    opacity: 0;
    filter: brightness(1) blur(2px);
  }
}

/* 残像エフェクト - 明るく発光 */
.cursor-particle {
  position: fixed;
  pointer-events: none;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, 
    rgba(200, 245, 255, 1) 0%, 
    rgba(150, 220, 255, 0.8) 50%, 
    rgba(130, 210, 255, 0.4) 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: particle-fade 1.2s ease-out forwards;
  z-index: 9998;
  /* 強い発光 */
  box-shadow: 
    0 0 10px rgba(200, 245, 255, 1),
    0 0 20px rgba(150, 220, 255, 0.8),
    0 0 30px rgba(130, 210, 255, 0.6),
    inset 0 0 5px rgba(255, 255, 255, 0.8);
  filter: brightness(1.4);
}

@keyframes particle-fade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: brightness(1.6) blur(0px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
    filter: brightness(1) blur(3px);
  }
}

/* クリック時の大きな波紋 - より明るく */
.ripple-large {
  background: radial-gradient(circle,
    rgba(180, 235, 255, 1) 0%,
    rgba(150, 220, 255, 0.7) 25%,
    rgba(200, 245, 255, 0.5) 50%,
    transparent 100%);
  animation: ripple-large-animation 1s ease-out forwards;
  /* 強烈な発光 */
  box-shadow: 
    0 0 30px rgba(180, 235, 255, 1),
    0 0 60px rgba(150, 220, 255, 0.9),
    0 0 90px rgba(200, 245, 255, 0.7),
    0 0 120px rgba(220, 250, 255, 0.5);
}

@keyframes ripple-large-animation {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
    filter: brightness(2) saturate(1.5);
  }
  50% {
    filter: brightness(1.5) saturate(1.2);
  }
  100% {
    width: 180px;
    height: 180px;
    opacity: 0;
    filter: brightness(1) saturate(1);
  }
}

/* ================================================
   マウス停止時のゆっくり波紋（明るく修正版）
================================================ */

/* 停止時の穏やかな波紋 - より明るく */
.ripple-idle {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(150, 220, 255, 0.9) 0%,      /* 0.3 → 0.9 に変更 */
    rgba(180, 235, 255, 0.7) 40%,     /* 0.2 → 0.7 に変更 */
    rgba(220, 250, 255, 0.4) 70%,     /* 0.1 → 0.4 に変更 */
    transparent 100%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: ripple-idle-animation 2s ease-out forwards;
  z-index: 9996;
  /* より強い発光 */
  box-shadow: 
    0 0 25px rgba(200, 245, 255, 0.8),   /* 15px → 25px、0.4 → 0.8 */
    0 0 50px rgba(180, 235, 255, 0.6),   /* 30px → 50px、0.2 → 0.6 */
    0 0 75px rgba(150, 220, 255, 0.4);   /* 新規追加 */
  filter: brightness(1.5);                /* 1.2 → 1.5 */
}

@keyframes ripple-idle-animation {
  0% {
    width: 10px;
    height: 10px;
    opacity: 0;
  }
  20% {
    opacity: 0.9;  /* 0.6 → 0.9 に変更 */
  }
  100% {
    width: 100px;  /* 80px → 100px に変更 */
    height: 100px;
    opacity: 0;
  }
}

/* 2つ目の波（遅延） */
.ripple-idle-delayed {
  animation-delay: 0.3s;
  animation-duration: 2.5s;
}

/* 3つ目の波（さらに遅延） */
.ripple-idle-delayed-more {
  animation-delay: 0.6s;
  animation-duration: 3s;
}

/* ================================================
   フッターロゴのサイズ修正
   10倍サイズの画像を1/10に縮小して高解像度表示
================================================ */

/* 基本設定（PC・スマホ共通） */
.footer-copyright img {
  width: 42px !important;  /* 420pxの画像を42pxで表示（元のサイズ） */
  height: auto;  /* 縦横比を維持 */
  max-width: none;  /* 制限を解除 */
  display: block;
  
  /* 高品質レンダリング設定 */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

/* ================================================
   フッターのPhase Co., Ltd.リンクの色を白に固定
================================================ */

/* Phase Co., Ltd.のリンク専用スタイル */
.footer-copyright a.phase-link {
  color: #fff !important;  /* 白色で固定 */
  text-decoration: none;    /* 下線なし */
  border: none;             /* ボーダーなし */
}

/* ホバー時も色を変えない */
.footer-copyright a.phase-link:hover {
  color: #fff !important;
  opacity: 0.8;  /* ホバー時は少し透明にして反応を示す */
}

/* 訪問済みでも色を変えない */
.footer-copyright a.phase-link:visited {
  color: #fff !important;
}

/* ================================================
   GAMEPLAY 操作方法の画像と見出しの間隔調整（修正版）
================================================ */
#gameplay .game-section h4 {
  margin-bottom: 50px !important;
}

/* 画像自体にも上部マージンを追加 */
#gameplay .game-section img {
  margin-top: 20px !important;
  display: block;
}

/* スマホでも同じ間隔を保つ */
@media screen and (max-width: 769px) {
  #gameplay .game-section h4 {
    margin-bottom: 40px !important;  /* スマホでは少し狭めに */
  }
  
  #gameplay .game-section img {
    margin-top: 15px !important;
  }
}

/* ================================================
   NEWSセクション 完全リニューアル
================================================ */

/* ニュースヘッダー */
.news-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20File;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(112, 177, 227, 0.3);
}

.news-date {
  background: linear-gradient(45deg, #70b1e3, #96dcff);
  color: #000;
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 0.9em;
  white-space: nowrap;
}

.news-header h3 {
  color: #fff;
  font-size: 1.2em;
  flex: 1;
  margin: 0;
}

/* ニュース本文 */
.news-body {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.news-image {
  flex: 0 0 300px;
  max-width: 300px;
}

.news-image img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid rgba(112, 177, 227, 0.3);
}

.news-content {
  flex: 1;
}

/* 説明文 */
.news-description {
  margin-bottom: 20px;
}

.desc-en {
  color: #fff;
  font-size: 1.1em;
  margin-bottom: 10px;
}

.desc-jp {
  color: #c9e5f8;
  font-size: 0.95em;
}

/* 情報リスト */
.news-info {
  background: rgba(112, 177, 227, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.info-list {
  display: grid;
  grid-template-columns: 120px 1fr;  /* 140px → 120pxに縮小 */
  gap: 8px;  /* 10px → 8pxに縮小 */
  margin: 0;
  font-size: 0.9em;  /* 全体のフォントサイズを90%に */
}

.info-list dt {
  color: #70b1e3;
  font-weight: bold;
  font-size: 0.95em;  /* dtも少し小さく */
}

.info-list dd {
  color: #fff;
  margin: 0;
  font-size: 0.95em;  /* ddも少し小さく */
}

.info-list a {
  color: #96dcff !important;
  text-decoration: underline;
}

.info-list a:hover {
  color: #b8e8ff !important;
  text-shadow: 0 0 5px rgba(150, 220, 255, 0.5);
}

/* Xリンク */
.news-follow {
  text-align: center;
  margin-top: 15px;
}

.x-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #1da1f2, #70b1e3);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.x-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(112, 177, 227, 0.4);
  opacity: 1 !important;
}

/* スマホ対応 */
@media screen and (max-width: 769px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .news-body {
    flex-direction: column;
    gap: 20px;
  }
  
  .news-image {
    flex: none;
    max-width: 100%;
  }
  
  .info-list {
    grid-template-columns: 100px 1fr;
    font-size: 0.9em;
  }
  
  .news-header h3 {
    font-size: 1em;
  }
}

/* ニュースアイテム間の区切り */
.news-item {
  padding: 25px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(112, 177, 227, 0.2);
}

.news-item:hover {
  border-color: rgba(112, 177, 227, 0.4);
  background: rgba(0, 0, 0, 0.8);
}

/* PC時は特に調整 */
@media not screen and (max-width:769px) {
  .info-list {
    grid-template-columns: 110px 1fr;  /* PCではさらに狭く */
  }
}

/* スマホ時は元のサイズを維持 */
@media screen and (max-width: 769px) {
  .info-list {
    grid-template-columns: 100px 1fr;
    font-size: 0.85em;  /* スマホはさらに小さく */
  }
}



/* ================================================
   フッター スマホ時の縦積みレイアウト
================================================ */
@media screen and (max-width:769px) {
  .footer-copyright {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .footer-copyright img {
    margin-top: 0;
  }
  
  .footer-copyright > div:last-child {
    text-align: center;
  }
}

/* ================================================
   スマホ時のinfo-list 2行表示
================================================ */
@media screen and (max-width: 769px) {
  .info-list {
    display: block;  /* gridを解除 */
    font-size: 0.9em;
  }
  
  .info-list dt {
    color: #70b1e3;
    font-weight: bold;
    margin-bottom: 5px;  /* 下に余白 */
    display: block;
  }
  
  .info-list dd {
    color: #fff;
    margin: 0 0 15px 15px;  /* 左インデント + 下余白 */
    display: block;
  }
  
  /* 最後のddは下余白なし */
  .info-list dd:last-child {
    margin-bottom: 0;
  }
}

/* PC時は1行表示を維持 */
@media not screen and (max-width:769px) {
  .info-list {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    font-size: 0.9em;
  }
  
  .info-list dt,
  .info-list dd {
    font-size: 0.95em;
  }
}

/* ================================================
   スマホ時のGAMEPLAYルール説明文字サイズ調整
================================================ */
@media screen and (max-width: 769px) {
  .game-p {
    text-align: center;
  }
  
  .game-p .en {
    font-size: 0.95em;  /* 英語は少し小さめ */
    line-height: 1.5;
    margin-bottom: 25px;
  }
  
  .game-p p:not(.en) {  /* 日本語のp要素 */
    font-size: 0.9em;   /* 日本語を小さく */
    line-height: 1.6;   /* 行間を少し広く */
  }
  
  /* brタグを削除してレスポンシブに */
  .game-p br {
    display: none;  /* 改行を無効化して自然に折り返し */
  }
}

/* PC時は現状維持 */
@media not screen and (max-width:769px) {
  .game-p .en {
    margin-bottom: 30px;
  }
}

/* ================================================
   MEDIA セクション改善
================================================ */
.media-title-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
  padding-left: 15px;
  border-left: 4px solid #70b1e3;
}

.media-title-text .en {
  color: #fff;
  font-weight: bold;
  font-size: 1.15em;
}

.media-title-text .jp {
  color: #c9e5f8;
  font-size: 1em;
}

.media-body {
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(112, 177, 227, 0.2);
}

.media-body .en {
  color: #c9e5f8;
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 12px;
}

.media-body .jp {
  color: #fff;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
}

.media-body .note {
  color: #96dcff;
  font-size: 0.85em;
  opacity: 0.8;
  font-style: italic;
}

/* スマホ対応 */
@media screen and (max-width: 769px) {
  .media-title-text {
    padding-left: 10px;
  }
  
  .media-title-text .en {
    font-size: 1em;
  }
  
  .media-title-text .jp {
    font-size: 0.9em;
  }
  
  .media-body {
    padding: 15px;
  }
  
  .media-body .en,
  .media-body .jp {
    font-size: 0.9em;
  }
}

/* ================================================
   MEDIA タイトル間隔の完全修正
================================================ */
.media-title-text {
  display: flex;
  flex-direction: column;
  gap: 2px;  /* さらに縮小 */
  margin-bottom: 15px;
  padding-left: 15px;
  border-left: 4px solid #70b1e3;
}

.media-title-text .en,
.media-title-text .jp {
  display: block;
  line-height: 1.15;  /* 行高を詰める */
  margin: 0;  /* マージンをリセット */
  padding: 0;  /* パディングをリセット */
}

/* スマホ専用の調整 */
@media screen and (max-width: 769px) {
  .media-title-text {
    gap: 1px;  /* スマホではさらに詰める */
  }
  
  .media-title-text .en,
  .media-title-text .jp {
    line-height: 1.1;
  }
}