@charset "UTF-8";

/* ==========================================
   全体基本設定 & 切れ目のないグラデーション背景
   ========================================== */
html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #070a14;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "メイリオ", meiryo, sans-serif;
  font-weight: 200;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* 下部からのピンク紫グラデーション */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(ellipse at bottom, #071246 30%, #1a0833 60%, #070a14 100%);
  pointer-events: none;
  z-index: 0;
}

.wrapper {
  position: relative;
  z-index: 2;
  padding: 30px 0 60px 0;
  text-align: center;
}

a {
  color: inherit;
}

/* ==========================================
   4重の星空構造 (JSで星を自動生成)
   ========================================== */
#stars, #stars2, #stars3, #stars4 {
    position: fixed;
    top: 0;
    left: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

#stars::after, #stars2::after, #stars3::after, #stars4::after {
    content: '';
    position: fixed;
    top: 1780px;
    background: transparent;
}

#stars { width: 1px; height: 1px; animation: animStar 180s linear infinite; }
#stars::after { width: 1px; height: 1px; }

#stars2 { width: 2px; height: 2px; animation: animStar 150s linear infinite; }
#stars2::after { width: 2px; height: 2px; }

#stars3 { width: 2px; height: 2px; animation: animStar 120s linear infinite; }
#stars3::after { width: 2px; height: 2px; }

#stars4 { width: 3px; height: 3px; animation: animStar 90s linear infinite; }
#stars4::after { width: 3px; height: 3px; }

@keyframes animStar {
    from { transform: translateY(0px); }
    to { transform: translateY(-1780px); }
}

/* ==========================================
   透明ボックス & 更新履歴
   ========================================== */
.box {
  width: 100%;
  background: linear-gradient(to right, rgba(1, 6, 51, 0.6), rgba(0, 0, 0, 0.6));
  color: #fff;
  margin: 20px 0;
  text-align: center;
  padding: 10px 0;
  box-sizing: border-box;
  min-height: 40px;
}

.sub-text-1 {
  font-size: 17px;
  color: #ffc1ff;
  display: block;
  margin-bottom: 5px;
  font-weight: 200;
  letter-spacing: 0.12em;
}

.sub-text-2 {
  font-size: 17px;
  color: #c1c1ff;
  display: block;
  font-weight: 200;
  letter-spacing: 0.12em;
}

.box2 {
  width: 100%;
  background: linear-gradient(to right, rgba(1, 6, 51, 0.7), rgba(0, 0, 0, 0.7));
  color: #fff;
  margin: 40px 0;
  text-align: center;
  padding: 10px 0;
  box-sizing: border-box;
  line-height: 1.8;
  font-weight: 200;
  letter-spacing: 0.08em;
}

.history-title {
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
}

.history-date {
  color: #e0c1ff;
  font-weight: 200;
}

.history-highlight {
  color: #ffc1e0;
  font-weight: 200;
}

/* ==========================================
   レイアウト用グリッド
   ========================================== */
.grid-2col {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 35px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
}

/* ボタンと説明文の隙間調整 */
.btn-desc {
  font-size: 14px;
  color: #bf92fc;
  margin-top: 2px;
  font-weight: 200;
  letter-spacing: 0.1em;
}

.section-margin {
  margin-bottom: 35px;
}

.icon-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.icon-group img {
  transition: transform 0.2s;
}

.icon-group img:hover {
  transform: scale(1.05);
}

.header-banner {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* ==========================================
   二重ボタン (ここがポイントです！)
   ========================================== */
/* BUTTON GLOW */
.btn-glow {
    color: #fff !important;
    display: inline-block;
    background: rgb(138,97,248);
    background: -moz-linear-gradient(left, rgba(112,12,255,1) 0%, rgba(112,252,255,1) 100%);
    background: -webkit-linear-gradient(left, rgba(112,12,255,1) 0%,rgba(112,252,255,1) 100%);
    background: linear-gradient(to right, rgba(112,12,255,1) 0%,rgba(112,252,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8a61f8', endColorstr='#ec5fe7',GradientType=1 );
    border: none;
    text-align: center;
    font-weight: 300;
    font-size: 22px;
    line-height: 56px;
    letter-spacing: 0.07em;
    text-decoration: none !important;
    text-transform: uppercase;
    padding: 0 30px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    box-shadow: none;
    animation: glow 3s infinite;
    animation-timing-function: ease-out;
    position: relative;
    border-radius: 50px;
    }
.btn-glow:hover {
    box-shadow: 0 0 0 10px #3daaa200;
    transition: .20s;
    -webkit-transition: .20s;    background: -moz-linear-gradient(left, rgba(112,252,255,1) 0%, rgba(112,12,255,1) 100%);
    background: -webkit-linear-gradient(left, rgba(112,252,255,1) 0%,rgba(112,12,255,1) 100%);
    background: linear-gradient(to right, rgba(112,252,255,1) 0%,rgba(112,12,255,1) 100%);
    }
@keyframes glow{
      0% { box-shadow: 0 0 20px #8b61f844; text-shadow:  0 0 0px #fff; }
      40% { box-shadow: 0 0 100px #8b61f8ee; text-shadow:  0 0 20px #fff;}
      100% { box-shadow: 0 0 20px #8b61f844; text-shadow:  0 0 1px #fff; }
    }
.btn-hover-shine {
    position: relative;
    }
.btn-hover-shine:after {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    height: 100%;
    right: 80%;
    width: 1px;
    background-color: #ffffff00;
    box-shadow: 0 0 20px #ffd2fe00, 0 0 10px #ffd2fe00, 0 0 5px #ffd2fe00, 0 0 2px #ffd2fe00;
    opacity: 1;
    }
.btn-hover-shine:hover:after {
    right: 2%;
    background-color: #ffffffff;
    box-shadow: 0 0 30px #ffd2feff, 0 0 15px #ffd2feff, 0 0 7px #ffd2feff, 0 0 3px #ffd2feff;
    opacity: 0;
    transition: 0.6s;
    -webkit-transition: 0.6s;
    }





/* BUTTON GLOW２ */
.btn-glow2 {
    color: #fff !important;
    display: inline-block;
    background: rgb(117,68,246);
    background: -moz-linear-gradient(left, rgba(117,68,246,1) 0%, rgba(113,240,240,1) 100%);
    background: -webkit-linear-gradient(left, rgba(117,68,246,1) 0%,rgba(113,240,240,1) 100%);
    background: linear-gradient(to right, rgba(117,68,246,1) 0%,rgba(113,240,240,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8a61f8', endColorstr='#ec5fe7',GradientType=1 );
    border: none;
    text-align: center;
    font-size: 22px;
    line-height: 50px;
    letter-spacing: 0.07em;
    text-decoration: none !important;
    text-transform: uppercase;
    padding: 0 20px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    box-shadow: none;
    animation: glow 3s infinite;
    animation-timing-function: ease-out;
    position: relative;
    border-radius: 50px;
    }
.btn-glow2:hover {
    box-shadow: 0 0 0 10px #3daaa200;
    transition: .20s;
    -webkit-transition: .20s;    background: -moz-linear-gradient(left, rgba(113,240,240,1) 0%, rgba(117,68,246,1) 100%);
    background: -webkit-linear-gradient(left, rgba(113,240,240,1) 0%,rgba(117,68,246,1) 100%);
    background: linear-gradient(to right, rgba(113,240,240,1) 0%,rgba(117,68,246,1) 100%);
    }
@keyframes glow{
      0% { box-shadow: 0 0 20px #8b61f844; text-shadow:  0 0 0px #fff; }
      50% { box-shadow: 0 0 50px #8b61f8ee; text-shadow:  0 0 30px #fff;}
      100% { box-shadow: 0 0 20px #8b61f844; text-shadow:  0 0 1px #fff; }
    }
.btn-hover-shine {
    position: relative;
    }
.btn-hover-shine:after {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    height: 100%;
    right: 80%;
    width: 1px;
    background-color: #ffffff00;
    box-shadow: 0 0 20px #ffd2fe00, 0 0 10px #ffd2fe00, 0 0 5px #ffd2fe00, 0 0 2px #ffd2fe00;
    opacity: 1;
    }
.btn-hover-shine:hover:after {
    right: 2%;
    background-color: #ffffffff;
    box-shadow: 0 0 30px #ffd2feff, 0 0 15px #ffd2feff, 0 0 7px #ffd2feff, 0 0 3px #ffd2feff;
    opacity: 0;
    transition: 0.6s;
    -webkit-transition: 0.6s;
    }

/* ==========================================
   スマホ用レスポンシブ設定
   ========================================== */
@media screen and (max-width: 600px) {
  .grid-2col {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
  }

  .btn-desc {
    margin-top: 2px;
  }

  .icon-group {
    gap: 15px;
  }

  .icon-group img {
    width: 100px;
    height: 100px;
  }

  .sub-text-1, .sub-text-2 {
    font-size: 15px;
    padding: 0 10px;
  }

  .box2 {
    padding: 15px 10px;
    font-size: 14px;
  }

  .history-title {
    font-size: 16px;
  }
}

/* ゲーム一覧ボタンの共通サイズ調整 */
.game-btn {
  width: 350px !important;                   /* パソコンなどでは350px */
  max-width: 100% !important;                /* スマホなどでは画面幅を超えないように自動縮小！ */
  letter-spacing: 0px !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  display: inline-block !important;
}


/* ==========================================
   「ほちゃっと！天使ちゃん」ページ専用パーツ
   ========================================== */

/* 破線ボックス（タイトル用） */
.box1-3 {
    width: 450px;
    border-radius: 3em;
    margin: 0 auto 1.3em;
    padding: 1.1em;
    background: #01064d;
    border: dotted 5px #3702b3;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.32);
}
.box1-3 p {
    margin: 0;
}

/* ==========================================
   「ほちゃっと！天使ちゃん」ページ専用パーツ
   ========================================== */

/* 破線ボックス（タイトル用） */
.box1-3 {
    width: 450px;
    max-width: 100%; /* スマホではみ出さないように */
    border-radius: 3em;
    margin: 0 auto 1.3em;
    padding: 1.1em;
    background: #01064d;
    border: dotted 5px #3702b3;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.32);
    box-sizing: border-box;
}
.box1-3 p {
    margin: 0;
}

/* 天使ちゃんページ用の説明用ボックス */
.tenshi-box2 {
    width: 874px;
    max-width: 100%; /* スマホなどの狭い画面でも絶対にはみ出さない！ */
    margin: auto;
    padding: 0.5em;
    color: #00BCD4;
    background: #271866;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.32);
    box-sizing: border-box;
}
.tenshi-box2 p {
    margin: 0;
    padding: 0;
}

/* 改行した部分の行間を詰めるクラス */
.btn-tight-line {
    line-height: 1.8 !important; /* 数字を小さくすると行間が狭くなります */
}

/* 2行以上に改行するボタン専用の調整クラス */
.btn-multiline {
    line-height: 1.5 !important;      /* 文字の行間を狭くする */
    padding-top: 10px !important;     /* 上下の余白を調整 */
    padding-bottom: 10px !important;
    height: auto !important;          /* 高さが崩れないように自動調整にする */
}