@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.7
*/

/*******************************************************************************************
** ガチャシステム - 共通スタイル
*******************************************************************************************/

/* メインコンテナ */

.gacha-container {
  position: relative;
  max-width: 650px;
  margin: 50px auto;
  padding: 50px 25px 35px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ヘッダー（ポイント表示・リセットボタン） */

.gacha-points-wrapper {
  position: absolute;
  top: 10px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  height: 40px;
}

.gacha-points-badge {
  background-color: #02b340;
  color: #fff;
  padding: 6px 12px;
  min-height: 36px;
  min-width: 130px;
  width: 130px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(152, 217, 142, 0.4);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  will-change: auto;
  transform: translateZ(0);
  line-height: 1;
  overflow: hidden;
}

.gacha-points-badge[data-large="true"] {
  width: 150px;
  font-size: 16px;
}

.gacha-pt-text,
[class*="-pt-text"] {
  font-size: 12px;
  margin-left: 2px;
  display: inline-block;
  vertical-align: baseline;
}

.gacha-reset-btn {
  font-size: 14px;
  font-weight: bold;
  padding: 8px 16px;
  min-width: 120px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #fff;
  color: #02b340;
  border: 1px solid #02b340;
  -webkit-tap-highlight-color: transparent;
}

.gacha-reset-btn:hover {
  background-color: #f1faf0;
  transform: translateY(-1px);
}

/* 賞品表示エリア */

.gacha-prize-text {
  font-size: 36px;
  font-weight: 900;
  color: #ff4500;
  text-align: center;
  margin: 25px 0 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.gacha-prize-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 30px auto 40px;
}

.gacha-prize-images .gacha-prize-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.gacha-prize-item {
  position: relative;
  display: inline-block;
}

.gacha-prize-item img {
  display: block;
  background-color: #ffffff;
  padding: 8px;
  border-radius: 8px;
  max-width: 260px;
  min-width: 160px;
  height: auto;
  object-fit: contain;
}

.gacha-prize-item::after {
  content: "×" attr(data-count);
  position: absolute;
  bottom: 16px;
  right: 16px;
  background-color: #02b340;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 6px;
  border: 2px solid #02b340;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 5;
  
  letter-spacing: 0.05em;
}

/* コスト・残口数表示エリア */

.gacha-cost-wrapper {
  text-align: center;
  margin: 25px 0;
  padding: 20px;
  background: #02b340;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(152, 217, 142, 0.3);
}

.gacha-cost-text {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
  display: block;
}

.gacha-cost-amount {
  font-size: 32px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: inline-block;
  min-width: 60px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.gacha-remaining-text {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
  display: block;
}

.gacha-remaining,
.gacha-total {
  font-weight: bold;
  font-size: 32px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: inline-block;
  min-width: 50px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.gacha-progress-bar {
  width: 100%;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gacha-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #33cc66, #28a650);
  border-radius: 10px;
  transition: width 0.3s;
}

/* ボタン類 */

.gacha-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 15px 0;
}

/* メインガチャボタン */
.gacha-main-button {
  font-size: 26px;
  font-weight: 900;
  padding: 16px 40px;
  min-height: 60px;
  min-width: 240px;
  border-radius: 12px;
  background-color: #02b340;
  color: white;
  border: none;
  box-shadow: 0 6px 0 #02b340, 0 8px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.2s;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
  position: relative;
  top: 0;
  -webkit-tap-highlight-color: transparent;
}

.gacha-main-button:hover:enabled {
  background-color: #02b340;
  box-shadow: 0 6px 0 #02b340, 0 10px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.gacha-main-button:active:enabled {
  top: 4px;
  box-shadow: 0 2px 0 #02b340, 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gacha-main-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: 0 4px 0 #999, 0 6px 10px rgba(0, 0, 0, 0.2);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* 変換ボタン */
.gacha-convert-button {
  font-size: 26px;
  font-weight: 900;
  padding: 16px 40px;
  min-height: 60px;
  min-width: 240px;
  border-radius: 12px;
  background-color: #02b340;
  color: white;
  border: none;
  box-shadow: 0 6px 0 #02b340, 0 8px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  margin: 14px auto 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
  position: relative;
  top: 0;
  -webkit-tap-highlight-color: transparent;
}

.gacha-convert-button:hover:enabled {
  background-color: #02b340;
  box-shadow: 0 6px 0 #02b340, 0 10px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.gacha-convert-button:active:enabled {
  top: 4px;
  box-shadow: 0 2px 0 #02b340, 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gacha-convert-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: 0 4px 0 #999, 0 6px 10px rgba(0, 0, 0, 0.2);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  transform: none;
}

/* リプレイボタン */
.gacha-replay-button {
  font-size: 26px;
  font-weight: 900;
  padding: 16px 40px;
  min-height: 60px;
  min-width: 240px;
  border-radius: 12px;
  background-color: #ff69b4;
  color: white;
  border: none;
  box-shadow: 0 6px 0 #ff69b4, 0 8px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
  cursor: pointer;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
  position: relative;
  top: 0;
  -webkit-tap-highlight-color: transparent;
}

.gacha-replay-button:hover {
  background-color: #ff69b4;
  box-shadow: 0 6px 0 #ff69b4, 0 10px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.gacha-replay-button:active {
  top: 4px;
  box-shadow: 0 2px 0 #ff69b4, 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ガチャ結果表示エリア */

.gacha-result {
  margin-top: 30px;
}

.gacha-select-all-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  padding: 0 30px;
}

.gacha-select-all-container input[type="checkbox"] {
  width: 24px;
  height: 24px;
  appearance: none;
  background-color: #fff;
  border: 2px solid #02b340;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.gacha-select-all-container input[type="checkbox"]:hover {
  border-color: #02b340;
  box-shadow: 0 0 8px rgba(152, 217, 142, 0.3);
}

.gacha-select-all-container input[type="checkbox"]:checked {
  background-color: #02b340;
  border-color: #02b340;
}

.gacha-select-all-container input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.gacha-select-all-container label {
  font-size: 26px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

/* カード表示 */

.gacha-card {
  max-width: 540px;
  padding: 30px;
  margin: 25px auto;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  background: white;
  transition: all 0.3s;
}

.gacha-card:hover {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  transform: translateY(-5px);
}

.gacha-card-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 8px;
}

.gacha-card-checkbox {
  width: 24px;
  height: 24px;
  appearance: none;
  background-color: #fff;
  border: 2px solid #02b340;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.gacha-card-checkbox:hover {
  border-color: #02b340;
  box-shadow: 0 0 8px rgba(152, 217, 142, 0.3);
}

.gacha-card-checkbox:checked {
  background-color: #02b340;
  border-color: #02b340;
}

.gacha-card-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.gacha-card-name {
  font-size: 26px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 480px;
  -webkit-tap-highlight-color: transparent;
}

.gacha-card-points {
  
  font-size: 40px;
  font-weight: 900;
  color: #ff4500;
  text-align: center;
  margin: 12px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.gacha-card img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 8px;
}

/* 交換レート表示 */

.gacha-exchange-rate {
  text-align: center;
  font-size: 18px;
  margin: 15px 0;
  padding: 12px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 8px;
  color: #92400e;
  font-weight: bold;
}

/* モーダル */

.gacha-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.gacha-modal {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  text-align: center;
  max-width: 90%;
  min-width: 300px;
}

.gacha-modal-text {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.6;
}

.gacha-modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.gacha-button-cancel,
.gacha-button-confirm {
  font-size: 18px;
  font-weight: bold;
  padding: 12px 30px;
  min-width: 120px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  -webkit-tap-highlight-color: transparent;
}

.gacha-button-cancel {
  background-color: #ccc;
  color: #333;
}

.gacha-button-cancel:hover {
  background-color: #b3b3b3;
  transform: translateY(-2px);
}

.gacha-button-confirm {
  background-color: #02b340;
  color: white;
}

.gacha-button-confirm:hover {
  background-color: #02b340;
  transform: translateY(-2px);
}

/* ガチャ演出オーバーレイ */

.gacha-effect-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  flex-direction: column;
  gap: 20px;
}

.gacha-effect-text {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  animation: pulse 1.5s infinite;
  z-index: 100001;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.gacha-skip-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 100002;
  -webkit-tap-highlight-color: transparent;
}

.gacha-skip-button:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.gacha-effect-video {
  max-width: 80%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  z-index: 100000;
}


/*******************************************************************************************
** ガチャ共通スタイル - ピンク配色（VOL.1, VOL.2共通）
*******************************************************************************************/

/* ガチャページのコスト表示エリア */
.gacha-container .gacha-cost-wrapper {
  background: #ff69b4;
  border: 4px solid #ff69b4;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

/* トップページのガチャ情報ボックス */
.gacha-home-info {
  background: #ff69b4 !important;
  border: 4px solid #ff69b4;
  box-shadow: 0 3px 10px rgba(255, 105, 180, 0.4);
}

/*******************************************************************************************
** トップページ - ガチャ情報表示
*******************************************************************************************/

.gacha-home-info {
  background: #ff69b4;
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 12px;
  box-shadow: 0 3px 10px rgba(255, 105, 180, 0.3);
}

.gacha-home-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
}

.gacha-home-header {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.gacha-home-label-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.gacha-home-category {
  font-size: 18px;
  color: #ff1493;
  padding: 2px 8px;
  background: #ffffff;
  border-radius: 4px;
  font-weight: 700;
}

.gacha-home-label {
  font-weight: 700;
  font-size: 18px;
  color: #ff1493;
  padding: 2px 8px;
  background: #ffffff;
  border-radius: 4px;
}

.gacha-home-cost {
  font-size: 18px;
  color: #fff;
  white-space: nowrap;
}

.gacha-home-cost-value {
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.gacha-home-progress-wrapper {
  margin: 8px 0;
}

.gacha-home-progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.gacha-home-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #33cc66 0%, #28a650 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
  box-shadow: 0 0 8px rgba(152, 217, 142, 0.6);
}

.gacha-home-remaining {
  font-size: 18px;
  color: #fff;
  width: 100%;
  text-align: center;
}

.gacha-home-remaining-value {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-variant-numeric: tabular-nums;
}

/*******************************************************************************************
** トップページカード装飾
*******************************************************************************************/

.home .entry-card-wrap,
.home .a-wrap,
.home .entry-card,
.home .ect-entry-card {
  border: 3px solid #33cc66 !important;
  background-color: #e8f5e9 !important;
}

.home .entry-card-wrap *,
.home .a-wrap *,
.home .entry-card *,
.home .entry-card-thumb,
.home .entry-card-thumb img,
.home .entry-card-content,
.home .gacha-home-info,
.home .gacha-home-info *,
.home .entry-card-wrap > *,
.home .a-wrap > * {
  border-color: transparent !important;
}

.home .entry-card-thumb {
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.home .entry-card-thumb img {
  border: none !important;
}

.home .entry-card-content {
  padding-top: 0 !important;
}


/*******************************************************************************************
** カテゴリーページ・アーカイブページ - カード装飾
*******************************************************************************************/

.category .entry-card-wrap,
.category .a-wrap,
.category .entry-card,
.category .ect-entry-card,
.archive .entry-card-wrap,
.archive .a-wrap,
.archive .entry-card,
.archive .ect-entry-card {
  border: 3px solid #33cc66 !important;
  background-color: #e8f5e9 !important;
}

.category .entry-card-wrap *,
.category .a-wrap *,
.category .entry-card *,
.category .entry-card-thumb,
.category .entry-card-thumb img,
.category .entry-card-content,
.category .gacha-home-info,
.category .gacha-home-info *,
.category .entry-card-wrap > *,
.category .a-wrap > *,
.archive .entry-card-wrap *,
.archive .a-wrap *,
.archive .entry-card *,
.archive .entry-card-thumb,
.archive .entry-card-thumb img,
.archive .entry-card-content,
.archive .gacha-home-info,
.archive .gacha-home-info *,
.archive .entry-card-wrap > *,
.archive .a-wrap > * {
  border-color: transparent !important;
}

.category .entry-card-thumb,
.archive .entry-card-thumb {
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.category .entry-card-thumb img,
.archive .entry-card-thumb img {
  border: none !important;
}

.category .entry-card-content,
.archive .entry-card-content {
  padding-top: 0 !important;
}
/*******************************************************************************************
** トップページ非表示要素
*******************************************************************************************/

.home .entry-card-title,
.home .entry-title,
.home .ect-entry-card-title,
.home .card-title,
.home .entry-card-wrap .entry-card-title,
.home .a-wrap .card-title,
.home .post-card .entry-title,
.home .widget-entry-cards .entry-card-title {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/*******************************************************************************************
** カテゴリーラベル非表示
*******************************************************************************************/

.eye-catch .cat-link,
.eye-catch .category-label,
.eye-catch-wrap .cat-link,
.eye-catch-wrap .category-label,
.article-header .cat-link,
.article-header .category-label,
.entry-card-thumb .cat-link,
.entry-card-thumb .category-label,
.cat-label,
.category-link,
.entry-card .cat-link,
.entry-card .category-label,
a.cat-link,
span.cat-link,
.post-card .cat-link,
.widget-entry-cards .cat-link,
.ect-vertical-card .cat-link,
.a-wrap .cat-link,
.card .cat-link {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/*******************************************************************************************
** 記事タイトル非表示（全ページ）
*******************************************************************************************/

.entry-title,
.article-title,
.single .entry-title,
.singular .entry-title,
.entry-header-in .entry-title,
.article-header .entry-title {
  display: none !important;
}

/*******************************************************************************************
** Cocoonテーマカスタマイズ
*******************************************************************************************/

.widget_categories ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.widget_categories ul li a {
  display: block !important;
  padding: 12px 16px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s !important;
  
  font-weight: 700 !important;
}

.widget_categories ul li a::before,
.sidebar .widget_categories ul li a::before {
  color: #fff !important;
}

.widget_categories ul li ul li a::before {
  
  content: "\f4d8";
  color: #02b340;
  font-weight: 600;
  padding-right: 8px;
}

.widget_categories ul li a:hover {
  background: #adffd6 !important;
  color: #02b340;
}

.sidebar h3,
.widget_categories .widget-entry-card-title {
  
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  background: linear-gradient(transparent 60%, #90ee90 60%, #90ee90 85%, transparent 85%) !important;
  display: inline-block !important;
  padding: 2px 6px !important;
}

.cat-link,
.category-label,
.entry-card-meta .cat-link {
  
  font-weight: 700 !important;
  padding: 2px 4px !important;
}

a[href*="category/"],
.category a {
  
  font-weight: 700;
}

.mobile-header-menu-buttons {
  display: none !important;
}

@media screen and (min-width: 768px) {
  .mobile-menu-buttons,
  .mobile-header-menu-buttons,
  .header-container .mobile-menu-buttons {
    display: none !important;
  }
  body {
    padding-top: 0 !important;
  }
  
  /* PCでアイキャッチ画像を中央85%で表示 */
  .eye-catch {
    max-width: 85% !important;
    width: 85% !important;
    margin: 0 auto !important;
  }
  
  .eye-catch img,
  .entry-card-thumb img,
  .article-thumbnail img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  
  .article-header .eye-catch-wrap,
  .article .eye-catch {
    width: 85% !important;
    max-width: 85% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
  
  .eye-catch-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .article-header {
    margin-bottom: 20px !important;
  }
  
  .single .eye-catch,
  .singular .eye-catch {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  .eye-catch img {
    max-height: none !important;
    height: auto !important;
  }
  
  .article-thumbnail,
  .article-thumbnail-wrap {
    width: 85% !important;
    max-width: 85% !important;
    margin: 0 auto !important;
  }
  
  .article-body-inner {
    max-width: 100% !important;
  }
}

@media screen and (min-width: 481px) and (max-width: 767px) {
  .eye-catch img {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 767px) {
  .mobile-menu-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #98d98e !important;
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 9999 !important;
  }

  .mobile-menu-buttons .home-menu-button,
  .mobile-menu-buttons .sidebar-menu-button {
    position: absolute !important;
    z-index: 10 !important;
    background-color: transparent !important;
  }

  .mobile-menu-buttons .home-menu-button {
    left: 0 !important;
  }

  .mobile-menu-buttons .sidebar-menu-button {
    right: 0 !important;
  }

  .mobile-menu-buttons .home-menu-button a,
  .mobile-menu-buttons .sidebar-menu-button a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
  }

  .mobile-menu-buttons::before {
    content: '';
    position: absolute !important;
    inset: 0 !important;
    background-image: url('https://towanowakaba.online/wp-content/uploads/2025/12/モバイルヘッダー①.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #98d98e;
    z-index: 1 !important;
  }

  .mobile-menu-buttons .prev-menu-button,
  .mobile-menu-buttons .next-menu-button {
    display: none !important;
  }

  .mobile-menu-buttons .fa,
  .mobile-menu-buttons .fas,
  .mobile-menu-buttons a {
    color: #fff !important;
  }

  .header-container {
    background-color: #98d98e !important;
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 9999 !important;
  }

  .menu-button-in,
  .menu-button a,
  .mobile-menu-buttons .menu-button,
  .mobile-menu-buttons .menu-button a,
  .menu-button .fa,
  .menu-button .fas {
    color: #fff !important;
  }
}

.sidebar,
#sidebar,
.sidebar-menu,
.sidebar-scroll,
.sidebar-menu-content,
#sidebar-menu,
.sidebar-menu-body,
.sidebar-wrapper,
#drawer-sidebar,
.drawer-sidebar,
.sidebar-container,
.widget-area,
.navi-menu,
.navi-menu-content {
  background-color: #02b340 !important;
}

.navi-menu a,
.navi-menu-content a,
.navi-menu .fa,
.navi-menu .fas,
.navi-menu-caption,
.sidebar a,
.sidebar .sidebar-menu-content a,
.sidebar .widget a,
.sidebar-menu a,
.navi-menu-content a,
.sidebar li,
.sidebar span,
.sidebar p,
.sidebar h3,
.sidebar .widget-title,
.sidebar .sidebar-menu-caption,
.sidebar h1,
.sidebar h2,
.sidebar h4,
.sidebar h5,
.sidebar h6,
.widget_categories .widget-entry-card-title,
.sidebar,
.sidebar * {
  color: #fff !important;
}

.sidebar h3,
.sidebar .widget-title,
.sidebar .sidebar-menu-caption,
.widget_categories .widget-entry-card-title {
  background: transparent !important;
}

.sidebar a:hover,
.sidebar-menu a:hover,
.navi-menu-content a:hover,
.navi-menu a:hover,
.widget_categories ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

.sidebar .widget,
.sidebar-menu-content,
.navi-menu-content,
.sidebar li,
.widget_categories ul li a {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.sidebar .ad-area,
.sidebar .ad-label,
.sidebar .ad-wrap {
  background-color: #02b340 !important;
}

/* ガチャ演出中にフッターとコピーライトを非表示 */
body.gacha-playing .footer,
body.gacha-playing footer,
body.gacha-playing .footer-bottom,
body.gacha-playing .footer-container,
body.gacha-playing .site-info,
body.gacha-playing .copyright,
body.gacha-playing .mobile-menu-buttons,
body.gacha-playing .header-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  z-index: -1 !important;
}

/*******************************************************************************************
** タップハイライト削除（ブルーフラッシュ対策）
*******************************************************************************************/

* {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
}

a,
button,
input,
select,
textarea,
label,
.gacha-card,
.gacha-card-name,
.gacha-card img {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input[type="text"],
input[type="number"],
textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/*******************************************************************************************
** レスポンシブデザイン - スマホ対応
*******************************************************************************************/

@media screen and (max-width: 767px) {
  .gacha-container {
    padding: 60px 15px 25px;
    margin: 20px auto;
  }

  .gacha-points-wrapper {
    left: 15px;
    right: 15px;
    gap: 6px;
    justify-content: space-between;
  }

  .gacha-reset-btn {
    font-size: 11px;
    padding: 7px 8px;
    min-width: 100px;
    min-height: 36px;
    flex: 0 0 100px;
    white-space: nowrap;
  }

  .gacha-points-badge {
    font-size: 16px;
    padding: 7px 12px;
    min-height: 36px;
    flex: 0 0 auto;
  }

  .gacha-pt-text {
    font-size: 11px;
  }

  .gacha-prize-text {
    font-size: 28px;
    margin: 20px 0 10px;
  }

  .gacha-prize-images {
    gap: 10px;
    margin: 20px auto 30px;
  }

  .gacha-prize-images .gacha-prize-row {
    gap: 8px;
  }

  .gacha-prize-images img {
    background-color: #ffffff;
    padding: 8px;
    border-radius: 8px;
    max-width: 47%;
    min-width: 120px;
  }

  .gacha-cost-wrapper {
    padding: 15px;
    margin: 20px 0;
  }

  .gacha-cost-text {
    font-size: 16px;
  }

  .gacha-cost-amount {
    font-size: 28px;
  }

  .gacha-remaining-text {
    font-size: 14px;
  }

  .gacha-button-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .gacha-main-button {
    font-size: 19px;
    font-weight: 900;
    padding: 12px 20px;
    min-height: 52px;
    min-width: 0;
    flex: 1;
    order: 1;
    box-shadow: 0 4px 0 #02b340, 0 6px 12px rgba(0, 0, 0, 0.3);
  }

  .gacha-replay-button {
    font-size: 19px;
    font-weight: 900;
    padding: 12px 20px;
    min-height: 52px;
    min-width: 0;
    flex: 1;
    order: 2;
    box-shadow: 0 4px 0 #ff69b4, 0 6px 12px rgba(0, 0, 0, 0.3);
  }

  .gacha-convert-button {
    font-size: 19px;
    font-weight: 900;
    padding: 12px 20px;
    min-height: 52px;
    min-width: 200px;
    box-shadow: 0 4px 0 #02b340, 0 6px 12px rgba(0, 0, 0, 0.3);
  }

  .gacha-card {
    padding: 20px;
    margin: 20px auto;
  }

  .gacha-card-name {
    font-size: 20px;
    max-width: 280px;
  }

  .gacha-card-points {
    font-size: 32px;
  }

  .gacha-modal {
    padding: 30px 20px;
    min-width: 280px;
  }

  .gacha-modal-text {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .gacha-modal-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .gacha-button-cancel,
  .gacha-button-confirm {
    font-size: 15px !important;
    padding: 12px 10px !important;
    min-width: 0 !important;
    flex: 1 !important;
    min-height: 48px !important;
    white-space: nowrap !important;
  }

  .gacha-select-all-container {
    padding: 0 20px;
    margin: 15px 0;
  }

  .gacha-select-all-container label {
    font-size: 20px;
  }

  .gacha-effect-text {
    font-size: 24px;
  }

  .gacha-effect-video {
    max-width: 98% !important;
    max-height: 90vh !important;
  }
  
  /* トップページ情報 */
  .gacha-home-info {
    padding: 12px 14px;
  }

  .gacha-home-info-row {
    font-size: 16px;
  }

  .gacha-home-label-wrapper {
    gap: 6px;
  }

  .gacha-home-category {
    font-size: 16px;
    padding: 2px 6px;
  }

  .gacha-home-label {
    font-size: 16px;
  }

  .gacha-home-cost {
    font-size: 16px;
  }

  .gacha-home-cost-value {
    font-size: 22px;
  }

  .gacha-home-progress-bar {
    height: 8px;
  }

  .gacha-home-remaining {
    font-size: 16px;
  }

  .gacha-home-remaining-value {
    font-size: 26px;
  }
}

/* 小型スマホ対応 (480px以下) */
@media screen and (max-width: 480px) {
  .gacha-points-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    height: auto;
    z-index: 10;
  }

  .gacha-reset-btn {
    font-size: 11px;
    font-weight: bold;
    padding: 6px 10px;
    min-width: 85px;
    max-width: 95px;
    min-height: 32px;
    height: 32px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .gacha-points-badge {
    font-size: 14px;
    padding: 4px 10px;
    min-width: 100px;
    width: auto;
    max-width: 120px;
    min-height: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .gacha-pt-text {
    font-size: 10px;
  }

  .gacha-container {
    padding-top: 80px;
  }

  .gacha-main-button {
    font-size: 19px !important;
    padding: 11px 24px !important;
    min-height: 48px !important;
    min-width: 170px !important;
    max-width: 85% !important;
  }

  .gacha-convert-button {
    font-size: 19px !important;
    padding: 11px 24px !important;
    min-height: 48px !important;
    min-width: 170px !important;
    max-width: 85% !important;
  }

  .gacha-replay-button {
    font-size: 19px !important;
    padding: 11px 24px !important;
    min-height: 48px !important;
    min-width: 170px !important;
    max-width: 85% !important;
  }

  .gacha-modal {
    padding: 35px 20px;
    max-width: 85%;
    min-width: 280px;
  }

  .gacha-modal-text {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: visible;
  }

  .gacha-modal-buttons {
    gap: 10px;
  }

  .gacha-button-cancel,
  .gacha-button-confirm {
    font-size: 16px;
    padding: 10px 24px;
    min-width: 100px;
  }
  
  /* 小型スマホトップページ情報 */
  .gacha-home-info {
    padding: 10px 12px;
  }

  .gacha-home-info-row {
    font-size: 15px;
  }

  .gacha-home-label-wrapper {
    gap: 4px;
  }

  .gacha-home-category {
    font-size: 15px;
    padding: 2px 5px;
  }

  .gacha-home-label {
    font-size: 15px;
  }

  .gacha-home-cost {
    font-size: 14px;
  }

  .gacha-home-cost-value {
    font-size: 20px;
  }

  .gacha-home-progress-bar {
    height: 7px;
  }

  .gacha-home-remaining {
    font-size: 14px;
  }

  .gacha-home-remaining-value {
    font-size: 24px;
  }
}

/* さらに小さい画面用 (360px以下) */
@media screen and (max-width: 360px) {
  .gacha-points-wrapper {
    gap: 4px;
    right: 8px;
    left: 8px;
  }

  .gacha-reset-btn {
    font-size: 10px;
    padding: 5px 8px;
    min-width: 75px;
    max-width: 85px;
    min-height: 30px;
    height: 30px;
  }

  .gacha-points-badge {
    font-size: 13px;
    padding: 4px 8px;
    min-width: 90px;
    max-width: 110px;
    min-height: 30px;
    height: 30px;
  }

  .gacha-pt-text {
    font-size: 9px;
  }

  .gacha-container {
    padding: 85px 15px 25px;
  }

  .gacha-main-button {
    font-size: 17px !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
    min-width: 150px !important;
  }

  .gacha-convert-button {
    font-size: 17px !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
    min-width: 150px !important;
  }

  .gacha-replay-button {
    font-size: 17px !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
    min-width: 150px !important;
  }

  .gacha-modal {
    padding: 30px 15px;
    max-width: 90%;
    min-width: 260px;
  }

  .gacha-modal-text {
    font-size: 15px;
    line-height: 1.4;
  }

  .gacha-button-cancel,
  .gacha-button-confirm {
    font-size: 15px;
    padding: 9px 20px;
    min-width: 90px;
  }
}

/* 中型スマホ用 (481px-600px) */
@media screen and (min-width: 481px) and (max-width: 600px) {
  .gacha-points-wrapper {
    right: 15px;
    gap: 8px;
  }

  .gacha-reset-btn {
    font-size: 12px;
    padding: 7px 12px;
    min-width: 100px;
  }

  .gacha-points-badge {
    font-size: 16px;
    min-width: 110px;
  }

  .gacha-main-button {
    font-size: 21px !important;
    padding: 13px 30px !important;
    min-height: 52px !important;
    min-width: 190px !important;
  }

  .gacha-convert-button {
    font-size: 21px !important;
    padding: 13px 30px !important;
    min-height: 52px !important;
    min-width: 190px !important;
  }

  .gacha-replay-button {
    font-size: 21px !important;
    padding: 13px 30px !important;
    min-height: 52px !important;
    min-width: 190px !important;
  }

  .gacha-modal-text {
    font-size: 18px;
  }
}

/* 賞画像のタブレット・スマホ対応 */
@media screen and (max-width: 768px) {
  .gacha-prize-item::after {
    font-size: 13px;
    padding: 4px 10px;
    bottom: 14px;
    right: 14px;
    border-width: 1.5px;
  }
}

@media screen and (max-width: 600px) {
  .gacha-prize-item img {
    max-width: 200px;
    min-width: 140px;
  }

  .gacha-prize-item::after {
    font-size: 12px;
    padding: 3px 8px;
    bottom: 12px;
    right: 12px;
    border-width: 1.5px;
  }
}

@media screen and (max-width: 400px) {
  .gacha-prize-item img {
    max-width: 160px;
    min-width: 120px;
  }

  .gacha-prize-item::after {
    font-size: 11px;
    padding: 2px 6px;
    bottom: 10px;
    right: 10px;
    border-width: 1px;
  }
}
/*******************************************************************************************
** カテゴリーページで投稿がない場合の表示を非表示
*******************************************************************************************/

/* NOT FOUND、投稿が見つかりませんでしたを非表示 */
.posts-not-found {
  display: none;
}

/* カテゴリータイトルを非表示 */
.archive-title {
   display: none;
}
/*******************************************************************************************
** グローバルナビゲーション - 全メニュー項目のフォントサイズ統一
*******************************************************************************************/

/* ヘッダーナビゲーションの全メニュー項目のフォントサイズを統一 */
.navi-in a,
.navi-in > ul > li > a,
.header-container .navi-in a,
.header-in .navi-in a,
#header .navi-in a,
.navi .navi-in a,
.navi-in .menu-item > a,
.navi-in .menu-item a,
.header .navi-in a {
  font-size: 14px !important;  /* すべてのメニュー項目のサイズを統一 */
  font-weight: 400 !important; /* 太さも統一 */
}

/* モバイルメニュー */
.mobile-menu-buttons a {
  font-size: 14px !important;
  font-weight: 400 !important;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1023px) {
  .navi-in a,
  .navi-in > ul > li > a,
  .mobile-menu-buttons a {
    font-size: 13px !important;
  }
}

@media screen and (max-width: 768px) {
  .navi-in a,
  .navi-in > ul > li > a,
  .mobile-menu-buttons a {
    font-size: 12px !important;
  }
}