/* =====================================================
   10_misc.css
   その他コンポーネント
   - シェアボタン「URLコピー」パオプ仕様 (.sns-share-buttons .copy-button)
   - Contact Form 7 KH style (.khblog-cf)
   - 通常投稿テンプレート (.khpost-*)
   - アンケート結果スナップショット (.khpoll-result-static)
   - フッター tropical sea テーマ (#footer, .footer)
   - HD 4パック横スクロール (.khpacks)
   - 投票記事コメント誘導 (.khpoll-reason-box)
   - シリーズナビ (.khpoll-series-nav)
===================================================== */
/* =========================================================
         シェアボタン「リンク (URLコピー)」を パオプ仕様に置き換え
         - 既存のCocoonアイコン/テキストノードは確実に消す
         - ::before にパオプ、::after に「リンクをコピーする」を出す
         ========================================================= */

/* (1) ボタン本体 - クラス名の候補を複数指定 */
html body .sns-share-buttons .copy-button,
html body .sns-share-buttons .copy,
html body .sns-share-buttons .url-copy-button,
html body .sns-share-buttons .link-button,
html body .sns-share-buttons .copy-link-button,
html body .sns-share-button.copy,
html body .sns-share-button-copy,
html body a.copy-button {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 12px 18px 12px 46px !important;
  min-height: 44px !important;
  background: linear-gradient(135deg, #f4a93b 0%, #e58e1a 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 0 !important; /* 元のテキストノードを消す */
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(229, 142, 26, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15) !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
html body .sns-share-buttons .copy-button:hover,
html body .sns-share-buttons .copy:hover,
html body .sns-share-buttons .url-copy-button:hover,
html body .sns-share-buttons .link-button:hover,
html body .sns-share-buttons .copy-link-button:hover,
html body .sns-share-button.copy:hover,
html body .sns-share-button-copy:hover,
html body a.copy-button:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.08) !important;
  box-shadow: 0 8px 18px rgba(229, 142, 26, 0.5),
    0 0 16px rgba(244, 169, 59, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
}

/* (2) ボタン内部の既存中身 (i / svg / span / img / すべての子要素) を強制的に消す */
html body .sns-share-buttons .copy-button > *,
html body .sns-share-buttons .copy > *,
html body .sns-share-buttons .url-copy-button > *,
html body .sns-share-buttons .link-button > *,
html body .sns-share-buttons .copy-link-button > *,
html body .sns-share-button.copy > *,
html body .sns-share-button-copy > *,
html body a.copy-button > * {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  font-size: 0 !important;
  opacity: 0 !important;
}

/* (3) パオプの実アイコン (::before) — 左に配置 */
html body .sns-share-buttons .copy-button::before,
html body .sns-share-buttons .copy::before,
html body .sns-share-buttons .url-copy-button::before,
html body .sns-share-buttons .link-button::before,
html body .sns-share-buttons .copy-link-button::before,
html body .sns-share-button.copy::before,
html body .sns-share-button-copy::before,
html body a.copy-button::before {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 24px !important;
  height: 24px !important;
  background-color: #fff !important;
  background-image: none !important; /* Cocoonの背景アイコンを潰す */
  -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAzMiAzMic+PHBhdGggZD0nTTE3IDMgUTIxIDEgMjEgNSBRMTggNyAxNiA2IFonIGZpbGw9J2JsYWNrJy8+PHBhdGggZD0nTTE2IDYgTDE5IDE1IEwyOSAxNSBMMjEgMjEgTDI0IDMwIEwxNiAyNSBMOCAzMCBMMTEgMjEgTDMgMTUgTDEzIDE1IFonIGZpbGw9J2JsYWNrJy8+PC9zdmc+")
    no-repeat center / contain !important;
  mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAzMiAzMic+PHBhdGggZD0nTTE3IDMgUTIxIDEgMjEgNSBRMTggNyAxNiA2IFonIGZpbGw9J2JsYWNrJy8+PHBhdGggZD0nTTE2IDYgTDE5IDE1IEwyOSAxNSBMMjEgMjEgTDI0IDMwIEwxNiAyNSBMOCAzMCBMMTEgMjEgTDMgMTUgTDEzIDE1IFonIGZpbGw9J2JsYWNrJy8+PC9zdmc+")
    no-repeat center / contain !important;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.45)) !important;
  transition: transform 0.25s ease !important;
  font-size: 0 !important;
  line-height: 0 !important;
  pointer-events: none !important;
}
html body .sns-share-buttons .copy-button:hover::before,
html body .sns-share-buttons .copy:hover::before,
html body .sns-share-buttons .url-copy-button:hover::before,
html body .sns-share-buttons .link-button:hover::before,
html body .sns-share-buttons .copy-link-button:hover::before,
html body .sns-share-button.copy:hover::before,
html body .sns-share-button-copy:hover::before,
html body a.copy-button:hover::before {
  transform: translateY(-50%) rotate(8deg) scale(1.08) !important;
}

/* (4) 「リンクをコピーする」テキスト (::after) */
html body .sns-share-buttons .copy-button::after,
html body .sns-share-buttons .copy::after,
html body .sns-share-buttons .url-copy-button::after,
html body .sns-share-buttons .link-button::after,
html body .sns-share-buttons .copy-link-button::after,
html body .sns-share-button.copy::after,
html body .sns-share-button-copy::after,
html body a.copy-button::after {
  content: "リンクをコピーする" !important;
  display: inline-block !important;
  visibility: visible !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18) !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}

/* (5) スマホで折り返さないように最小幅・サイズ調整 */
@media (max-width: 480px) {
  html body .sns-share-buttons .copy-button,
  html body .sns-share-buttons .copy,
  html body .sns-share-buttons .url-copy-button,
  html body .sns-share-buttons .link-button,
  html body .sns-share-buttons .copy-link-button,
  html body .sns-share-button.copy,
  html body .sns-share-button-copy,
  html body a.copy-button {
    padding: 10px 14px 10px 42px !important;
  }
  html body .sns-share-buttons .copy-button::after,
  html body .sns-share-buttons .copy::after,
  html body .sns-share-buttons .url-copy-button::after,
  html body .sns-share-buttons .link-button::after,
  html body .sns-share-buttons .copy-link-button::after,
  html body .sns-share-button.copy::after,
  html body .sns-share-button-copy::after,
  html body a.copy-button::after {
    font-size: 13px !important;
  }
  html body .sns-share-buttons .copy-button::before,
  html body .sns-share-buttons .copy::before,
  html body .sns-share-buttons .url-copy-button::before,
  html body .sns-share-buttons .link-button::before,
  html body .sns-share-buttons .copy-link-button::before,
  html body .sns-share-button.copy::before,
  html body .sns-share-button-copy::before,
  html body a.copy-button::before {
    width: 20px !important;
    height: 20px !important;
    left: 10px !important;
  }
}

/* ============================
         40_ Contact Form 7 KH style
         ============================ */

.khblog-cf {
  max-width: 720px;
  margin: 2.4em auto;
  padding: 28px 26px 24px;
  background: linear-gradient(180deg, #0c1838 0%, #142455 100%);
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.12) inset,
    0 18px 40px rgba(0, 0, 0, 0.35);
  color: #f3f5ff;
  position: relative;
}

/* 上端の金グロー */
.khblog-cf::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #ffd166 50%,
    transparent 100%
  );
  border-radius: 14px 14px 0 0;
  opacity: 0.85;
  pointer-events: none;
}

.khblog-cf-row {
  margin: 0 0 18px;
}

.khblog-cf-label {
  display: block;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: #ffd166;
  margin: 0 0 8px;
  font-weight: 600;
}

.khblog-cf-req {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  padding: 3px 7px;
  margin-left: 8px;
  background: rgba(255, 209, 102, 0.18);
  border: 1px solid rgba(255, 209, 102, 0.55);
  color: #ffd166;
  border-radius: 999px;
  vertical-align: 1px;
}

.khblog-cf-input,
.khblog-cf-textarea,
.khblog-cf-select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #f3f5ff;
  background: rgba(8, 16, 38, 0.72);
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}

.khblog-cf-textarea {
  min-height: 180px;
  resize: vertical;
}

.khblog-cf-input::placeholder,
.khblog-cf-textarea::placeholder {
  color: rgba(243, 245, 255, 0.42);
}

.khblog-cf-input:focus,
.khblog-cf-textarea:focus,
.khblog-cf-select:focus {
  border-color: #ffd166;
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.22);
  background: rgba(8, 16, 38, 0.88);
}

/* select の矢印を金色に差し替え（base64 SVG で Cocoon検知回避） */
.khblog-cf-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI2ZmZDE2NiIgZD0iTTggMTBMNCA1aDhMOCAxMHoiLz48L3N2Zz4=");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 14px;
  padding-right: 38px;
}

.khblog-cf-note {
  margin: 4px 0 22px;
  padding: 12px 14px;
  background: rgba(255, 209, 102, 0.07);
  border-left: 3px solid rgba(255, 209, 102, 0.5);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(243, 245, 255, 0.82);
}

/* 送信ボタン（CF7 の input[type="submit"] にも勝つ詳細度） */
.khblog-cf-submit {
  text-align: center;
  margin-top: 10px;
}

.khblog-cf .khblog-cf-btn,
.khblog-cf input[type="submit"].khblog-cf-btn {
  display: inline-block;
  min-width: 240px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0c1838;
  background: linear-gradient(180deg, #ffd166 0%, #f0a500 100%);
  border: 1px solid #ffd166;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 10px 24px rgba(240, 165, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  font-family: inherit;
}

.khblog-cf .khblog-cf-btn:hover,
.khblog-cf input[type="submit"].khblog-cf-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 14px 28px rgba(240, 165, 0, 0.45);
}

.khblog-cf .khblog-cf-btn:active,
.khblog-cf input[type="submit"].khblog-cf-btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

/* CF7 の送信中スピナー位置を整える */
.khblog-cf .wpcf7-spinner {
  margin-left: 10px;
  vertical-align: middle;
}

/* CF7 のエラー／成功表示 */
.khblog-cf .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  background: rgba(8, 16, 38, 0.65);
  border: 1px solid rgba(255, 209, 102, 0.35);
  color: #f3f5ff;
}

.khblog-cf .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #ff9aa2;
  font-size: 13px;
}

.khblog-cf .wpcf7-not-valid {
  border-color: #ff9aa2 !important;
  box-shadow: 0 0 0 3px rgba(255, 154, 162, 0.18) !important;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .khblog-cf {
    padding: 22px 18px 20px;
    border-radius: 12px;
  }
  .khblog-cf .khblog-cf-btn,
  .khblog-cf input[type="submit"].khblog-cf-btn {
    width: 100%;
    min-width: 0;
  }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .khblog-cf .khblog-cf-btn,
  .khblog-cf input[type="submit"].khblog-cf-btn {
    transition: none;
  }
}

/* ============================
         42_ Post template (post type "post")
         ============================ */

/* --- イントロボックス --- */
.khpost-intro {
  margin: 0 0 28px;
  padding: 22px 24px;
  background: linear-gradient(180deg, #0c1838 0%, #142455 100%);
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 12px;
  color: #f3f5ff;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.12) inset,
    0 12px 28px rgba(0, 0, 0, 0.28);
}
.khpost-intro::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #ffd166 50%,
    transparent 100%
  );
  border-radius: 12px 12px 0 0;
  opacity: 0.85;
}
.khpost-summary {
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 14px;
  color: #ffd166;
  font-weight: 600;
}
.khpost-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.khpost-tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid rgba(255, 209, 102, 0.55);
  color: #ffd166;
}
.khpost-tag--kh4 {
  background: rgba(95, 152, 232, 0.18);
  border-color: rgba(95, 152, 232, 0.6);
  color: #9ec8ff;
}
.khpost-tag--news {
  background: rgba(255, 154, 162, 0.15);
  border-color: rgba(255, 154, 162, 0.55);
  color: #ff9aa2;
}
.khpost-tag--theory {
  background: rgba(191, 162, 219, 0.18);
  border-color: rgba(191, 162, 219, 0.55);
  color: #d4b8ff;
}
.khpost-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(243, 245, 255, 0.82);
}
.khpost-meta-item {
  display: inline-flex;
  align-items: center;
}

/* --- 囲みボックス（3種） --- */
.khpost-callout {
  margin: 24px 0;
  padding: 16px 18px 14px;
  border-radius: 10px;
  border-left: 4px solid #ffd166;
  background: rgba(255, 209, 102, 0.06);
  color: inherit;
  position: relative;
}
.khpost-callout p {
  margin: 0 0 6px;
  line-height: 1.85;
}
.khpost-callout p:last-child {
  margin: 0;
}
.khpost-callout-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #c8861f;
  margin: 0 0 8px;
}

/* 注目ポイント（金グロー） */
.khpost-callout--focus {
  border-left-color: #ffd166;
  background: linear-gradient(
    180deg,
    rgba(255, 209, 102, 0.12),
    rgba(255, 209, 102, 0.04)
  );
  box-shadow: 0 0 14px rgba(255, 209, 102, 0.15);
}
.khpost-callout--focus .khpost-callout-title {
  color: #b7791f;
}

/* 豆知識（紫系） */
.khpost-callout--trivia {
  border-left-color: #b48cd9;
  background: linear-gradient(
    180deg,
    rgba(180, 140, 217, 0.12),
    rgba(180, 140, 217, 0.04)
  );
}
.khpost-callout--trivia .khpost-callout-title {
  color: #7b4fb5;
}

/* ネタバレ注意（赤系） */
.khpost-callout--spoiler {
  border-left-color: #e0738a;
  background: linear-gradient(
    180deg,
    rgba(224, 115, 138, 0.12),
    rgba(224, 115, 138, 0.04)
  );
}
.khpost-callout--spoiler .khpost-callout-title {
  color: #c0455f;
}

/* --- 画像＋キャプション --- */
.khpost-figure {
  margin: 24px 0;
  text-align: center;
}
.khpost-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}
.khpost-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #7d7d7d;
}

/* --- まとめセクション --- */
.khpost-summary-box {
  margin: 32px 0 24px;
  padding: 22px 24px;
  background: linear-gradient(
    180deg,
    rgba(12, 24, 56, 0.04) 0%,
    rgba(12, 24, 56, 0.08) 100%
  );
  border: 1px solid rgba(12, 24, 56, 0.18);
  border-left: 5px solid #ffd166;
  border-radius: 10px;
}
.khpost-summary-title {
  margin: 0 0 12px;
  font-size: 17px;
  color: #0c1838;
  font-weight: 700;
}
.khpost-summary-box ul {
  margin: 0;
  padding-left: 1.4em;
}
.khpost-summary-box li {
  line-height: 1.95;
  margin-bottom: 6px;
}

/* --- 更新履歴 --- */
.khpost-history {
  margin-top: 36px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  font-size: 13px;
}
.khpost-history-title {
  margin: 0 0 8px;
  font-weight: 600;
  color: #555;
}
.khpost-history ul {
  margin: 0;
  padding-left: 1.4em;
}
.khpost-history li {
  line-height: 1.7;
  color: #666;
}

/* --- レスポンシブ --- */
@media (max-width: 600px) {
  .khpost-intro {
    padding: 18px 16px;
  }
  .khpost-summary {
    font-size: 15px;
  }
  .khpost-summary-box {
    padding: 18px 16px;
  }
  .khpost-summary-title {
    font-size: 16px;
  }
}

/* ============================
         43-extra_ Poll result snapshot (static, with 1st place crown)
         ============================ */

.khpoll-result-static {
  margin: 24px 0;
  padding: 22px 24px;
  background: linear-gradient(180deg, #0c1838 0%, #142455 100%);
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 14px;
  color: #f3f5ff;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.12) inset,
    0 18px 38px rgba(0, 0, 0, 0.35);
}
.khpoll-result-static::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #ffd166 50%,
    transparent 100%
  );
  border-radius: 14px 14px 0 0;
}

.khpoll-result-row {
  margin: 0 0 16px;
}
.khpoll-result-row:last-of-type {
  margin-bottom: 0;
}

.khpoll-result-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.khpoll-result-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 209, 102, 0.18);
  border: 1px solid rgba(255, 209, 102, 0.55);
  color: #ffd166;
  flex-shrink: 0;
}

.khpoll-result-name {
  flex: 1 1 auto;
  font-weight: 600;
  color: #f3f5ff;
}

.khpoll-result-stats {
  font-size: 13px;
  color: rgba(243, 245, 255, 0.82);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.khpoll-result-bar {
  position: relative;
  height: 22px;
  background: rgba(8, 16, 38, 0.55);
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.khpoll-result-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd166 0%, #f0a500 100%);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 0 10px rgba(255, 209, 102, 0.35);
  transition: width 0.8s ease-out;
}

/* --- 1位2位3位の特別装飾 --- */
.khpoll-result-row--1st .khpoll-result-rank {
  background: linear-gradient(180deg, #ffd166 0%, #f0a500 100%);
  border-color: #ffd166;
  color: #0c1838;
  box-shadow: 0 0 12px rgba(255, 209, 102, 0.55);
}
.khpoll-result-row--2nd .khpoll-result-rank {
  background: rgba(192, 192, 192, 0.25);
  border-color: rgba(192, 192, 192, 0.8);
  color: #d8d8d8;
}
.khpoll-result-row--3rd .khpoll-result-rank {
  background: rgba(205, 127, 50, 0.25);
  border-color: rgba(205, 127, 50, 0.8);
  color: #f0b486;
}

/* --- 1位の王冠（票数の右に、やや右へ傾けて配置） --- */
.khpoll-result-row--1st .khpoll-result-stats::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 22px;
  margin-left: 8px;
  vertical-align: -5px;
  background: radial-gradient(circle at 22% 16%, #fff5a3 0 3px, transparent 4px),
    radial-gradient(circle at 50% 38%, #fff5a3 0 3px, transparent 4px),
    radial-gradient(circle at 78% 16%, #fff5a3 0 3px, transparent 4px),
    linear-gradient(180deg, #f5d76e 0%, #e8c252 55%, #c89c30 100%);
  clip-path: polygon(
    0% 100%,
    0% 45%,
    18% 68%,
    26% 5%,
    50% 52%,
    74% 5%,
    82% 68%,
    100% 45%,
    100% 100%
  );
  transform: rotate(18deg);
  transform-origin: center;
  filter: drop-shadow(0 2px 3px rgba(232, 194, 82, 0.45));
  flex-shrink: 0;
}

.khpoll-result-total {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 209, 102, 0.3);
  font-size: 13px;
  color: rgba(243, 245, 255, 0.7);
  text-align: right;
}

/* スマホ調整 */
@media (max-width: 600px) {
  .khpoll-result-static {
    padding: 18px 16px;
  }
  .khpoll-result-label {
    font-size: 14px;
    gap: 8px;
  }
  .khpoll-result-stats {
    font-size: 12px;
  }
  .khpoll-result-bar {
    height: 18px;
  }
  .khpoll-result-row--1st .khpoll-result-stats::after {
    width: 24px;
    height: 18px;
    margin-left: 6px;
    vertical-align: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .khpoll-result-fill {
    transition: none;
  }
}

/* ============================
       *  46_ Footer tropical sea theme
       *  --------------------------------
       *  南国の海（運命の島）をイメージしたフッター。
       *  上端に金グロー、本体はターコイズから深海のグラデ。
       * ============================ */

/* 背景・全体 */
#footer,
.footer,
footer.footer {
  background: linear-gradient(180deg, #3bc8c0 0%, #0fa8a8 50%, #006b7e 100%);
  color: #ffffff;
  position: relative;
}

/* 上端の金グロー（他セクションと統一） */
#footer::before,
.footer::before,
footer.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #ffd166 50%,
    transparent 100%
  );
  opacity: 0.9;
  pointer-events: none;
}

/* サイトタイトル／コピーライトのリンクを白＋影に */
#footer .copyright a,
.footer .copyright a,
#footer .site-name-text a,
.footer .site-name-text a,
#footer .logo-text a,
.footer .logo-text a,
#footer h1 a,
.footer h1 a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  transition: color 0.2s ease;
}
#footer .copyright a:hover,
.footer .copyright a:hover,
#footer .site-name-text a:hover,
.footer .site-name-text a:hover {
  color: #ffd166 !important;
}

/* コピーライト・サイト名のテキスト本体 */
#footer .copyright,
.footer .copyright,
#footer .site-name-text,
.footer .site-name-text {
  color: #ffffff;
  font-weight: 500;
}

/* フッター内の通常リンク（金） */
#footer a,
.footer a {
  color: #ffd166;
  transition: color 0.2s ease;
}
#footer a:hover,
.footer a:hover {
  color: #fff5a3;
}

/* 本文（免責・Amazon商標・各種テキスト） */
#footer p,
.footer p,
#footer span,
.footer span {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.85;
}

/* ウィジェット領域 */
.footer-widgets,
.footer-widget,
.footer-bottom {
  color: rgba(255, 255, 255, 0.92);
}

.footer-widgets .widget-title,
.footer-widget .widget-title,
.footer-bottom .widget-title {
  color: #ffd166;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 8px;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-widgets a,
.footer-widget a,
.footer-bottom a {
  color: #ffd166;
}
.footer-widgets a:hover,
.footer-widget a:hover,
.footer-bottom a:hover {
  color: #fff5a3;
}

/* セパレータ（hr等が入っていたら） */
#footer hr,
.footer hr {
  border-color: rgba(255, 255, 255, 0.25);
}

/* アフィリエイト免責のボックスがあれば */
#footer .affiliate-disclosure,
.footer .affiliate-disclosure,
.affiliate-disclosure-footer {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

/* レスポンシブ */
@media (max-width: 600px) {
  #footer,
  .footer {
    padding: 22px 16px;
  }
  .footer-widgets .widget-title,
  .footer-widget .widget-title {
    font-size: 15px;
  }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  #footer a,
  .footer a,
  #footer .copyright a,
  .footer .copyright a {
    transition: none;
  }
}

/* ============================
       *  47_ HD collection 4-pack horizontal scroll
       * ============================ */

.khpacks {
  margin: 2.4em 0 2.6em;
}

.khpacks-title {
  font-size: 22px;
  margin: 0 0 0.6em;
  color: #0c1838;
  border-bottom: 2px solid #ffd166;
  padding-bottom: 8px;
}

.khpacks-lead {
  margin: 0 0 1.2em;
  font-size: 15px;
  line-height: 1.9;
  color: #ffffff;
}
.khpacks-lead em {
  font-style: normal;
  color: #b7791f;
  font-weight: 600;
}

/* 横スクロール領域 */
.khpacks-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 209, 102, 0.55) rgba(12, 24, 56, 0.1);
  padding: 14px 4px 18px;
  margin: 0 -4px;
  position: relative;
}

/* スクロールバー（WebKit） */
.khpacks-scroll::-webkit-scrollbar {
  height: 10px;
}
.khpacks-scroll::-webkit-scrollbar-track {
  background: rgba(12, 24, 56, 0.08);
  border-radius: 999px;
}
.khpacks-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ffd166 0%, #f0a500 100%);
  border-radius: 999px;
}

/* 横並びトラック */
.khpacks-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 0 4px;
}

/* 各カード */
.khpacks-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, #0c1838 0%, #142455 100%);
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 14px;
  color: #f3f5ff;
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.12) inset,
    0 10px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}
.khpacks-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.25) inset,
    0 14px 28px rgba(0, 0, 0, 0.35);
}

.khpacks-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #ffd166 50%,
    transparent 100%
  );
  border-radius: 14px 14px 0 0;
  opacity: 0.9;
}

/* おすすめ（Integrum）カード */
.khpacks-card--featured {
  background: linear-gradient(180deg, #112255 0%, #1a2d6a 100%);
  border-color: #ffd166;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 0 26px rgba(255, 209, 102, 0.22), 0 14px 28px rgba(0, 0, 0, 0.35);
}

/* プレイ順番号 */
.khpacks-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  background: rgba(255, 209, 102, 0.18);
  border: 1px solid rgba(255, 209, 102, 0.6);
  color: #ffd166;
  flex-shrink: 0;
}
.khpacks-step--star {
  background: linear-gradient(180deg, #ffd166 0%, #f0a500 100%);
  color: #0c1838;
  border-color: #ffd166;
  box-shadow: 0 0 14px rgba(255, 209, 102, 0.55);
}

.khpacks-stepLabel {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffd166;
  text-transform: none;
}

.khpacks-name {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: #f3f5ff;
  letter-spacing: 0.01em;
  min-height: 2.9em;
}

.khpacks-tag {
  align-self: flex-start;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid rgba(255, 209, 102, 0.55);
  color: #ffd166;
  white-space: nowrap;
}
.khpacks-tag--multi {
  background: rgba(95, 152, 232, 0.18);
  border-color: rgba(95, 152, 232, 0.6);
  color: #9ec8ff;
}
.khpacks-tag--pc {
  background: rgba(180, 140, 217, 0.18);
  border-color: rgba(180, 140, 217, 0.6);
  color: #d4b8ff;
}

/* 収録内容 */
.khpacks-contents {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}
.khpacks-contents li {
  font-size: 13px;
  line-height: 1.55;
  padding: 5px 10px;
  background: rgba(8, 16, 38, 0.65);
  border: 1px solid rgba(255, 209, 102, 0.25);
  border-radius: 6px;
  color: #f3f5ff;
}
.khpacks-contents li.is-movie {
  border-style: dashed;
  border-color: rgba(255, 209, 102, 0.35);
  color: rgba(243, 245, 255, 0.78);
}

/* 購入ボタン */
.khpacks-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.khpacks-btn {
  display: block;
  text-align: center;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, filter 0.15s ease;
}
.khpacks-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.khpacks-btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.khpacks-btn--amazon {
  background: linear-gradient(180deg, #ffd166 0%, #f0a500 100%);
  color: #0c1838;
  border-color: #ffd166;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 6px 16px rgba(240, 165, 0, 0.28);
}
.khpacks-btn--rakuten {
  background: linear-gradient(180deg, #ee6e7a 0%, #c03546 100%);
  color: #ffffff;
  border-color: #ee6e7a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 6px 16px rgba(192, 53, 70, 0.28);
}
.khpacks-btn--steam {
  background: linear-gradient(180deg, #66c0f4 0%, #1b6699 100%);
  color: #ffffff;
  border-color: #66c0f4;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 6px 16px rgba(27, 102, 153, 0.28);
}
.khpacks-btn--epic {
  background: linear-gradient(180deg, #313131 0%, #0a0a0a 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 6px 16px rgba(0, 0, 0, 0.28);
}
.khpacks-btn--official {
  background: rgba(8, 16, 38, 0.6);
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.55);
}
.khpacks-btn--official:hover {
  background: rgba(8, 16, 38, 0.85);
}

/* href が空・"#"・"★" のときは自動で隠す（プレースホルダー対策） */
.khpacks-btn[href=""],
.khpacks-btn[href="#"],
.khpacks-btn[href*="★"] {
  display: none !important;
}

/* スクロールヒント */
.khpacks-hint {
  margin: -4px 0 0;
  font-size: 12px;
  color: #888;
  text-align: right;
}

/* 補足ノート */
.khpacks-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: #777;
}

/* スマホ調整 */
@media (max-width: 600px) {
  .khpacks-card {
    flex: 0 0 260px;
    padding: 16px 14px 14px;
  }
  .khpacks-name {
    font-size: 15px;
    min-height: 2.7em;
  }
  .khpacks-contents li {
    font-size: 12px;
    padding: 4px 8px;
  }
  .khpacks-btn {
    font-size: 12px;
    padding: 8px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .khpacks-card,
  .khpacks-btn {
    transition: none;
  }
}

/* =====================================================
   Xフォロー促進バナー (.khx-follow-banner)
   追加: 2025-05-27
   全ページのsns-shareボタン上に表示するフォロー促進枠
===================================================== */
.khx-follow-banner {
  margin: 0 0 16px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #0c1a3a 0%, #1b2a4e 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(5, 10, 28, 0.5);
}

.khx-follow-banner__title {
  margin: 0 0 6px;
  font-size: 1.1em;
  font-weight: 800;
  color: #f7d774;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.khx-follow-banner__desc {
  margin: 0 0 16px;
  font-size: 0.88em;
  color: #c8d1ea;
  line-height: 1.6;
}

.khx-follow-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: linear-gradient(135deg, #3a1f6e 0%, #6b35b0 100%);
  color: #fff !important;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 99px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(107, 53, 176, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.khx-follow-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 53, 176, 0.6);
  background: linear-gradient(135deg, #4a2880 0%, #7c45c4 100%);
  color: #fff !important;
}

/* X（Twitter）ロゴ SVG アイコン */
.khx-follow-banner__icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .khx-follow-banner {
    padding: 18px 16px;
  }
  .khx-follow-banner__title {
    font-size: 1em;
  }
  .khx-follow-banner__desc {
    font-size: 0.82em;
  }
  .khx-follow-banner__btn {
    padding: 10px 22px;
    font-size: 0.88em;
  }
}