@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.3
*/
/*******************************************************************************************
** 子テーマ用のスタイルを書く
*******************************************************************************************/
/*******************************************************************************************
** 共通スタイル（ガチャ001と002で共有）
*******************************************************************************************/
/* ボタン共通スタイル（緑系に統一） */
.gacha-common-button,
.gacha001-gacha-button,
.gacha002-gacha-button,
.gacha001-convert-button,
.gacha002-convert-button {
  font-size: 24px !important;
  padding: 12px 40px !important;
  border-radius: 12px;
  background-color: #228B22;
  color: white;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s;
  min-height: 56px;
  min-width: 240px;
}
.gacha-common-button:hover:enabled,
.gacha001-gacha-button:hover:enabled,
.gacha002-gacha-button:hover:enabled,
.gacha001-convert-button:hover:enabled,
.gacha002-convert-button:hover:enabled {
  background-color: #006400;
}
.gacha-common-button:disabled,
.gacha001-gacha-button:disabled,
.gacha002-gacha-button:disabled,
.gacha001-convert-button:disabled,
.gacha002-convert-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}
/* リプレイボタン共通（演出リプレイボタン） */
.gacha-replay,
#gacha001-replay-button,
#gacha002-replay-button {
  font-size: 24px !important;
  padding: 12px 40px !important;
  min-height: 56px !important;
  min-width: 240px !important;
  border-radius: 12px !important;
  background-color: #ff69b4 !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s !important;
  white-space: nowrap;
}
.gacha-replay:hover,
#gacha001-replay-button:hover,
#gacha002-replay-button:hover {
  background-color: #ff1493 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}
/* スキップボタン共通 */
.gacha001-skip-button,
.gacha002-skip-button {
  padding: 10px 20px;
  background-color: #228B22;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  pointer-events: auto !important;
  z-index: 9999 !important;
}
.gacha001-skip-button:hover,
.gacha002-skip-button:hover {
  background-color: #006400;
}
/* ボタンラッパー共通 */
.gacha001-button-wrapper,
.gacha002-button-wrapper {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 15px 0;
}
/* 口数リセットボタン & ポイントリセットボタンを完全に同じ大きさ・見た目に統一 */
#gacha001-resetPacksBtn,
#gacha002-resetPacksBtn,
#gacha001-resetPointsBtn,
#gacha002-resetPointsBtn {
  font-size: 14px !important;
  font-weight: bold !important;
  padding: 8px 16px !important;
  min-width: 120px !important;
  min-height: 36px !important;
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  box-sizing: border-box;
  background-color: #fff;
  color: #228B22;
  border: 1px solid #228B22;
}
#gacha001-resetPacksBtn:hover,
#gacha002-resetPacksBtn:hover,
#gacha001-resetPointsBtn:hover,
#gacha002-resetPointsBtn:hover {
  background-color: #E8F5E9;
  transform: translateY(-1px);
}
/* ポイント表示エリア全体の高さ・位置揃え */
.gacha001-points-wrapper,
.gacha002-points-wrapper {
  position: absolute;
  top: -10px;
  right: 0;
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  font-size: 14px;
  z-index: 10;
  height: 40px !important;
}
/* 所有ポイントバッジ（高さ揃え） */
.gacha001-points-badge,
.gacha002-points-badge {
  padding: 6px 12px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
  font-weight: bold;
}
/*******************************************************************************************
** 共通：チェックボックスとカード名の横並び（20文字以内は全部表示）
*******************************************************************************************/
.gacha001-card-info,
.gacha002-card-info {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 12px 0 8px;
  justify-content: flex-start;
}
.gacha001-card-checkbox,
.gacha002-card-checkbox {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  accent-color: #228B22;
}
.gacha001-card-name,
.gacha002-card-name {
  font-size: 26px !important;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}
.gacha001-card-points,
.gacha002-card-points {
  font-size: 40px !important;
  font-weight: 900;
  color: #ffffff;
  -webkit-text-stroke: 5px #ff0000;
  text-stroke: 5px #ff0000;
  paint-order: stroke fill;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  letter-spacing: 1px;
  text-align: center;
  width: 100%;
  margin-top: 6px;
}
.gacha001-card-image,
.gacha002-card-image {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 6px;
}
/* 「すべて選択」の文字を大きく */
.gacha001-select-all-container,
.gacha002-select-all-container {
  font-size: 24px !important;
  font-weight: bold;
  margin-bottom: 20px;
}
/* 上の方に追加する「ポイントに変換」ボタン用のスタイル */
#gacha001-convert-button-top,
#gacha002-convert-button-top {
  font-size: 24px !important;
  padding: 12px 40px !important;
  min-height: 56px !important;
  margin: 10px 0 20px 0 !important;
}
/*******************************************************************************************
** ガチャ結果カード全体のサイズ
*******************************************************************************************/
.gacha001-gacha-card,
.gacha002-gacha-card {
  width: 540px !important;
  max-width: 88vw !important;
  padding: 30px !important;
  margin: 25px auto !important;
  box-shadow: 0 16px 50px rgba(0,0,0,0.35) !important;
  border-radius: 16px !important;
  background: white;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.gacha001-gacha-card:hover,
.gacha002-gacha-card:hover {
  box-shadow: 0 25px 70px rgba(0,0,0,0.45) !important;
  transform: translateY(-5px);
}
.gacha001-card-image,
.gacha002-card-image {
  width: 100% !important;
  max-height: none !important;
  height: auto !important;
  border-radius: 12px !important;
}
/* S賞とA賞をFlexboxで3列・小さめ表示（ここは変更なし） */
.gacha001-prize-images,
.gacha002-prize-images {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 30px auto 40px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.gacha001-prize-images img,
.gacha002-prize-images img {
  flex: 1 1 calc(33.333% - 8px) !important;
  max-width: 220px !important;
  min-width: 140px !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* ────────────────────────────────────────────────
   【修正箇所】S賞・A賞の見出しを大きくし、下の画像との間隔を狭める
   ──────────────────────────────────────────────── */
.gacha001-prize-text,
.gacha002-prize-text {
  font-size: 48px !important;           /* PCではかなり大きく表示（元: 32px） */
  font-weight: bold !important;
  color: #FF0000 !important;
  text-align: center !important;
  margin-bottom: 12px !important;       /* 下の画像群との間隔を大幅に狭める（元: 30px） */
  line-height: 1.1 !important;
  letter-spacing: 1px !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
}

.gacha001-prize-images,
.gacha002-prize-images {
  margin-top: 0 !important;             /* 見出しの下側余白をゼロに */
  margin-bottom: 20px !important;       /* 次の見出しや要素までの下側余白を狭く（元: 40px前後） */
  padding: 0 !important;
  gap: 8px !important;
}

/* モバイル対応（スマホでは列数が自動で減る） */
@media screen and (max-width: 768px) {
  .gacha001-points-wrapper, .gacha002-points-wrapper {
    top: -60px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .gacha001-gacha-card, .gacha002-gacha-card {
    width: 88vw !important;
    max-width: 540px !important;
    padding: 25px !important;
    margin: 20px auto !important;
  }
  .gacha001-card-name, .gacha002-card-name {
    font-size: 24px !important;
    max-width: 420px !important;
  }
  .gacha001-card-points, .gacha002-card-points {
    font-size: 36px !important;
  }
  .gacha001-card-checkbox,
  .gacha002-card-checkbox {
    width: 30px !important;
    height: 30px !important;
  }
  .gacha001-gacha-effect-text, .gacha002-gacha-effect-text {
    font-size: 18px;
  }
  .gacha001-gacha-effect-video, .gacha002-gacha-effect-video {
    max-width: 100%;
  }
  .gacha001-skip-button, .gacha002-skip-button {
    font-size: 14px;
    padding: 8px 16px;
  }
  .gacha001-cost-text, .gacha002-cost-text {
    font-size: 16px;
  }
  .gacha001-cost-amount, .gacha002-cost-amount,
  .gacha001-prize-text, .gacha002-prize-text {
    font-size: 20px;
  }
  .gacha001-prize-images, .gacha002-prize-images {
    gap: 6px !important;
    margin-bottom: 15px;
  }
  .gacha001-prize-images img, .gacha002-prize-images img {
    flex: 1 1 calc(50% - 6px) !important;
    max-width: 180px !important;
  }
  .gacha001-button-wrapper, .gacha002-button-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  #gacha001-replay-button, #gacha001-gacha-button,
  #gacha002-replay-button, #gacha002-gacha-button {
    width: 100%;
    max-width: 250px;
    font-size: 20px;
    box-sizing: border-box;
  }
  #gacha001-replay-button, #gacha002-replay-button {
    order: -1;
  }

  /* 【修正箇所】モバイル用のS賞・A賞見出し・間隔調整 */
  .gacha001-prize-text,
  .gacha002-prize-text {
    font-size: 36px !important;         /* スマホでは少し控えめ */
    margin-bottom: 10px !important;
    line-height: 1.15 !important;
  }

  .gacha001-prize-images,
  .gacha002-prize-images {
    margin-bottom: 15px !important;
    gap: 6px !important;
  }

  .gacha001-prize-images img,
  .gacha002-prize-images img {
    min-width: 90px !important;
  }
}

@media screen and (max-width: 480px) {
  .gacha001-prize-images img,
  .gacha002-prize-images img {
    flex: 1 1 100% !important;
    max-width: 320px !important;
  }

  /* 【修正箇所】極小画面用の微調整 */
  .gacha001-prize-text,
  .gacha002-prize-text {
    font-size: 32px !important;
    margin-bottom: 8px !important;
  }

  .gacha001-prize-images,
  .gacha002-prize-images {
    margin-bottom: 12px !important;
  }
}

/* 以下は変更なしのため省略せずそのまま（完全ソース） */
.gacha002-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  position: relative;
}
#gacha002-replay-button {
  order: -1;
}
.gacha002-points-wrapper {
  position: absolute;
  top: -10px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  z-index: 10;
}
.gacha002-points-wrapper button {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #228B22;
  background-color: #fff;
  color: #228B22;
  cursor: pointer;
  font-size: 12px;
  height: 24px;
}
.gacha002-points-wrapper button:hover {
  background-color: #E8F5E9;
}
.gacha002-points-badge {
  padding: 3px 10px;
  background-color: #fff;
  color: #000;
  border: 2px solid #228B22;
  border-radius: 6px;
  font-weight: bold;
}
.gacha002-pt-text {
  font-size: 12px;
  margin-left: 2px;
}
.gacha002-gacha-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
.gacha002-gacha-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}
.gacha002-card-checkbox,
.gacha002-select-all-container input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 2px solid #228B22;
  border-radius: 4px;
  position: relative;
  transition: background-color 0.3s;
}
.gacha002-card-checkbox:hover,
.gacha002-select-all-container input:hover {
  background-color: #006400;
}
.gacha002-card-checkbox:checked,
.gacha002-select-all-container input:checked {
  background-color: #228B22;
}
.gacha002-card-checkbox:checked::after,
.gacha002-select-all-container input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.gacha002-select-all-container {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 24px !important;
  cursor: pointer;
}
.gacha002-gacha-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.gacha002-gacha-card {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}
.gacha002-gacha-card img {
  width: 260px;
  height: auto;
  margin-bottom: 8px;
}
.gacha002-card-name {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 260px;
  text-align: left;
}
.gacha002-card-points {
  font-size: 20px;
  font-weight: bold;
  margin: 5px 0 15px;
  width: 100%;
  text-align: center;
}
.gacha002-convert-button {
  font-size: 24px !important;
  padding: 12px 40px !important;
  margin: 5px 0 20px;
}
.gacha002-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.gacha002-modal {
  background-color: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  padding: 20px;
  text-align: center;
}
.gacha002-modal-text {
  font-size: 18px;
  margin-bottom: 20px;
}
.gacha002-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.gacha002-button-cancel,
.gacha002-button-confirm {
  padding: 12px 40px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  min-width: 120px;
}
.gacha002-button-cancel {
  background-color: #fff;
  color: #228B22;
  border: 1px solid #228B22;
}
.gacha002-button-cancel:hover {
  background-color: #E8F5E9;
}
.gacha002-button-confirm {
  background-color: #228B22;
  color: #fff;
  border: none;
}
.gacha002-button-confirm:hover {
  background-color: #006400;
}
.gacha002-gacha-effect-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1500;
  cursor: pointer;
  overflow: hidden;
}
.gacha002-gacha-effect-text {
  color: #fff;
  font-size: 24px;
  position: absolute;
  top: 20px;
}
.gacha002-gacha-effect-video {
  display: none;
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: contain;
}
.gacha002-cost-text {
  font-size: 18px;
  margin-bottom: 10px;
}
.gacha002-cost-amount {
  font-size: 24px;
  font-weight: bold;
  color: #FF0000;
}
.gacha002-prize-text {
  font-size: 24px;
  font-weight: bold;
  color: #FF0000;
  margin-bottom: 10px;
}
.gacha002-prize-images {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  position: relative;
}
.gacha002-prize-images img {
  width: 80px;
  height: auto;
  cursor: pointer;
  position: relative;
}
.gacha002-thunder {
  animation: thunder 0.5s infinite;
}
@keyframes thunder {
  0% { border: 2px solid #ffffff; box-shadow: 0 0 10px #ffff00; }
  50% { border: 2px solid #ffff00; box-shadow: 0 0 20px #ffffff, 0 0 30px #ffff00; }
  100% { border: 2px solid #ffffff; box-shadow: 0 0 10px #ffff00; }
}
.gacha002-cost-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
  width: 100%;
  max-width: 400px;
}
.gacha002-remaining-text {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.gacha002-progress-bar {
  width: 100%;
  height: 20px;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.gacha002-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #48DB79, #33CC66);
  border-radius: 10px;
  transition: width 0.6s ease;
}
/* 以下はガチャ001のスタイル（変更なし） */
.gacha001-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  position: relative;
}
.gacha001-button-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: center;
}
.gacha001-gacha-button, .gacha001-convert-button {
  font-size: 24px;
  padding: 12px 40px;
  border-radius: 12px;
  background-color: #228B22;
  color: white;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s;
  min-height: 56px;
}
.gacha001-gacha-button:hover:enabled, .gacha001-convert-button:hover:enabled {
  background-color: #006400;
}
.gacha001-gacha-button:disabled, .gacha001-convert-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}
.gacha001-points-wrapper {
  position: absolute;
  top: -10px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  z-index: 10;
}
.gacha001-points-wrapper button {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #228B22;
  background-color: #fff;
  color: #228B22;
  cursor: pointer;
  font-size: 12px;
  height: 24px;
}
.gacha001-points-badge {
  padding: 3px 10px;
  background-color: #fff;
  color: #000;
  border: 2px solid #228B22;
  border-radius: 6px;
  font-weight: bold;
}
.gacha001-pt-text {
  font-size: 12px;
  margin-left: 2px;
}
.gacha001-gacha-result {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gacha001-gacha-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}
.gacha001-card-checkbox, .gacha001-select-all-container input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 2px solid #228B22;
  border-radius: 4px;
  position: relative;
  transition: background-color 0.3s;
}
.gacha001-card-checkbox:hover, .gacha001-select-all-container input:hover {
  background-color: #006400;
}
.gacha001-card-checkbox:checked, .gacha001-select-all-container input:checked {
  background-color: #228B22;
}
.gacha001-card-checkbox:checked::after, .gacha001-select-all-container input:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 10px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.gacha001-select-all-container {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 24px !important;
  cursor: pointer;
}
.gacha001-gacha-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.gacha001-gacha-card {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}
.gacha001-gacha-card img {
  width: 260px;
  height: auto;
  margin-bottom: 8px;
}
.gacha001-card-name {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 260px;
  text-align: left;
}
.gacha001-card-points {
  font-size: 20px;
  font-weight: bold;
  margin: 5px 0 15px;
  width: 100%;
  text-align: center;
}
.gacha001-convert-button {
  font-size: 24px !important;
  padding: 12px 40px !important;
  margin: 5px 0 20px;
}
.gacha001-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.gacha001-modal {
  background-color: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  padding: 20px;
  text-align: center;
}
.gacha001-modal-text {
  font-size: 18px;
  margin-bottom: 20px;
}
.gacha001-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.gacha001-button-cancel, .gacha001-button-confirm {
  padding: 12px 40px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  min-width: 120px;
}
.gacha001-button-cancel {
  background-color: #fff;
  color: #228B22;
  border: 1px solid #228B22;
}
.gacha001-button-confirm {
  background-color: #228B22;
  color: #fff;
  border: none;
}
.gacha001-gacha-effect-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1500;
  cursor: pointer;
}
.gacha001-gacha-effect-text {
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
}
.gacha001-gacha-effect-video {
  display: none;
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
}
.gacha001-skip-button {
  padding: 10px 20px;
  background-color: #228B22;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 20px;
}
.gacha001-skip-button:hover {
  background-color: #006400;
}
.gacha001-cost-text {
  font-size: 18px;
  margin-bottom: 10px;
}
.gacha001-cost-amount {
  font-size: 24px;
  font-weight: bold;
  color: #FF0000;
}
.gacha001-prize-text {
  font-size: 24px;
  font-weight: bold;
  color: #FF0000;
  margin-bottom: 10px;
}
.gacha001-prize-images {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  position: relative;
}
.gacha001-prize-images img {
  width: 80px;
  height: auto;
  cursor: pointer;
  position: relative;
}
.gacha001-thunder {
  animation: thunder 0.5s infinite;
}
@keyframes thunder {
  0% { border: 2px solid #ffffff; box-shadow: 0 0 10px #ffff00; }
  50% { border: 2px solid #ffff00; box-shadow: 0 0 20px #ffffff, 0 0 30px #ffff00; }
  100% { border: 2px solid #ffffff; box-shadow: 0 0 10px #ffff00; }
}
.gacha001-cost-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
  width: 100%;
  max-width: 400px;
}
.gacha001-remaining-text {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.gacha001-progress-bar {
  width: 100%;
  height: 20px;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.gacha001-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #48DB79, #33CC66);
  border-radius: 10px;
  transition: width 0.6s ease;
}
/*******************************************************************************************
** モバイル対応（共通）
*******************************************************************************************/
@media screen and (max-width: 768px) {
  .gacha001-points-wrapper, .gacha002-points-wrapper {
    top: -60px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .gacha001-gacha-card, .gacha002-gacha-card {
    width: 88vw !important;
    max-width: 540px !important;
    padding: 25px !important;
    margin: 20px auto !important;
  }
  .gacha001-card-name, .gacha002-card-name {
    font-size: 24px !important;
    max-width: 420px !important;
  }
  .gacha001-card-points, .gacha002-card-points {
    font-size: 36px !important;
  }
  .gacha001-card-checkbox,
  .gacha002-card-checkbox {
    width: 30px !important;
    height: 30px !important;
  }
  .gacha001-gacha-effect-text, .gacha002-gacha-effect-text {
    font-size: 18px;
  }
  .gacha001-gacha-effect-video, .gacha002-gacha-effect-video {
    max-width: 100%;
  }
  .gacha001-skip-button, .gacha002-skip-button {
    font-size: 14px;
    padding: 8px 16px;
  }
  .gacha001-cost-text, .gacha002-cost-text {
    font-size: 16px;
  }
  .gacha001-cost-amount, .gacha002-cost-amount,
  .gacha001-prize-text, .gacha002-prize-text {
    font-size: 20px;
  }
  .gacha001-prize-images, .gacha002-prize-images {
    margin-bottom: 15px;
  }
  .gacha001-prize-images img, .gacha002-prize-images img {
    width: 50px;
  }
  .gacha001-button-wrapper, .gacha002-button-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  #gacha001-replay-button, #gacha001-gacha-button,
  #gacha002-replay-button, #gacha002-gacha-button {
    width: 100%;
    max-width: 250px;
    font-size: 20px;
    box-sizing: border-box;
  }
  #gacha001-replay-button, #gacha002-replay-button {
    order: -1;
  }
}
/*******************************************************************************************
** その他のスタイル（タイトル・ヘッダー・サイドバーなど）
*******************************************************************************************/
.single .entry-title {
  text-align: center;
}
.site-name-text {
  display: none;
}
@media screen and (max-width: 480px){
  .logo-menu-button.menu-button{
    background-image: url("https://towanowakaba.online/wp-content/uploads/2025/12/モバイルヘッダー①.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100px;
    height: 80px;
  }
}
.navi-in>ul li {
  height: 40px;
  line-height: 40px;
}
.navi {
  background-color: #33CC66;
}
.navi-in .menu-header .item-label{
  font-size: 15px;
  font-weight: bold;
}
.widget_categories ul li a{
  padding: 0;
  font-size: 15px;
  border-bottom: 1px dashed #CCCCCC;
}
.widget_categories ul li a::before{
  font-family: "Font Awesome 5 Free";
  content: "\f4d8";
  color: #33CC66;
  font-weight: 600;
  padding-right: 6px;
}
.widget_categories > ul > li > a:first-child{
  border-top: none;
}
.widget_categories ul li ul li a::before{
  font-family: "Font Awesome 5 Free";
  content: "\f4d8";
  color: #33CC66;
  font-weight: 600;
  padding-right: 6px;
}
.widget_categories ul li a:hover {
  background: #ADFFD6;
  color: #33CC66;
  transition: 0.5s;
}
.sidebar h3 {
  color:white;
  background: #33CC66;
  padding: 0;
  font-size: 15px;
}
.header-container,
.sidebar,
.footer {
  background-color: #fff;
}
.author-box .author-thumb img {
  height: 180px;
}
.nwa .author-box .author-thumb{
  width: 180px;
}
.nwa .author-box .author-description {
  font-size: 15px;
}
.nwa .author-box .author-name {
  font-size: 15px;
}
#slide-in-sidebar,
#slide-in-sidebar a {
  color: #33CC66;
}
.menu-close-button {
  background: #33CC66;
}
.entry-card-title {
  color: #0D0116;
  font-size: 16px !important;
  font-weight: bold !important;
  line-height: 1.3;
  margin-bottom: 8px;
}
.entry-card-wrap {
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.entry-card-wrap:hover {
  background-color: #33CC66;
}
.entry-card-wrap .cat-label {
  display: none !important;
}
.entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.entry-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}
.entry-card.category-gacha-post {
  background-color: #FFCCFF;
  padding: 12px;
}
.blogcard-snippet {
  display: none;
}
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  border: none;
  background: none;
  padding: 0;
}
.article h2 {
  position: relative;
  background: #33CC66;
  padding: 8px 30px 8px 30px;
  font-size: 18px;
  color: #474747;
  margin-right: 30px;
  left: 1.5em;
  border-radius: 0 10px 10px 0;
}
.article h2:before {
  font-family: "Font Awesome 5 Free";
  content: "\f4d8";
  display: inline-block;
  line-height: 40px;
  position: absolute;
  padding: 0em;
  color: white;
  background: #33CC66;
  font-weight: 900;
  width: 40px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  left: -1.7em;
  top: 50%;
  transform: translateY(-50%);
  border: solid 3px white;
  border-radius: 50%;
}
.archive-title .fa-folder-open:before {
  font-family: "Font Awesome 5 Free";
  content: "\f4d8";
  color: #33CC66;
}
.archive-title {
  font-size: 15px;
  font-weight: normal;
}
.archive-title .fa-tags:before {
  color: #33CC66;
}
.tagcloud .fa-tag:before {
  color: #33CC66;
}
.tagcloud {
  padding: 0px 2px 0px 2px;
}
.tagcloud a {
  text-decoration: none;
  color: #F15B5B;
  font-size: 15px;
  font-weight: bold;
  display: inline-block;
  background-color: #ABE1FA;
  padding: 2px 6px 0px 6px;
  margin-right: 2px;
  margin-bottom: 2px;
  border-radius: 9px 3px;
  border: 0px;
  word-break: break-all;
}
.tagcloud a:hover {
  background: #F15B5B;
  color: #ABE1FA;
  transition: 0.5s;
}
.mobile-menu-buttons .home-menu-button > a,
.mobile-menu-buttons .sidebar-menu-button > a,
.mobile-menu-buttons .prev-menu-button > a,
.mobile-menu-buttons .next-menu-button > a {
  color: #FFFFFB;
}
blockquote {
  background: #EFEFEF;
  border-radius: 5px;
}