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

/* ==================================================
  スロッターの道具箱 共通デザイン
================================================== */

:root {
  --slot-main: #1E3A5F;
  --slot-accent: #D6A84F;
  --slot-bg: #F7F8FA;
  --slot-text: #222222;
  --slot-border: #DDE3EA;
  --slot-notice-bg: #FFF7E6;
  --slot-notice-accent: #E0A12B;
  --slot-white: #FFFFFF;
  --slot-muted: #667085;
}

/* 全体 */
body {
  background: var(--slot-bg);
  color: var(--slot-text);
}

/* リンク */
a {
  color: var(--slot-main);
}

a:hover {
  color: var(--slot-accent);
}

/* ==================================================
  ヘッダー・グローバルナビ
================================================== */

/* ヘッダー背景 */
.header-container,
#header {
  background: var(--slot-white);
}

/* ロゴ周辺 */
.logo-header {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ヘッダーロゴ画像 */
.logo-image {
  max-height: 58px;
  width: auto;
}

/* グローバルナビ */
.navi,
#navi,
.navi-in {
  background: var(--slot-white);
}

.navi-in > ul > li > a {
  color: var(--slot-main);
  font-weight: 700;
}

.navi-in > ul > li > a:hover {
  color: var(--slot-accent);
  background: transparent;
}

/* ==================================================
  フッター
================================================== */

.footer,
.footer-container {
  background: var(--slot-main);
  color: var(--slot-white);
}

.footer a,
.footer-container a {
  color: var(--slot-white);
}

.footer a:hover,
.footer-container a:hover {
  color: var(--slot-accent);
}

/* フッターロゴを少し控えめに */
.footer .logo-image {
  max-height: 48px;
  width: auto;
}

/* ==================================================
  記事本文 共通
================================================== */

.article {
  color: var(--slot-text);
}

/* H2 */
.article h2 {
  border-left: 6px solid var(--slot-accent);
  border-bottom: 1px solid var(--slot-border);
  background: var(--slot-white);
  color: var(--slot-main);
  padding: 14px 16px;
  border-radius: 6px;
}

/* H3 */
.article h3 {
  border-left: 4px solid var(--slot-main);
  color: var(--slot-main);
  padding-left: 10px;
}

/* H4 */
.article h4 {
  color: var(--slot-main);
}

/* 表 */
.article table {
  width: 100%;
  border-collapse: collapse;
  background: var(--slot-white);
  border: 1px solid var(--slot-border);
}

.article th {
  background: var(--slot-main);
  color: var(--slot-white);
  border: 1px solid var(--slot-border);
  font-weight: 700;
}

.article td {
  border: 1px solid var(--slot-border);
  color: var(--slot-text);
}

.article th,
.article td {
  padding: 10px 12px;
}

/* 表の横スクロール対策 */
.wp-block-table,
.table-scroll {
  overflow-x: auto;
}

/* ==================================================
  機種記事テンプレ用ボックス
================================================== */

.slot-machine-article {
  color: var(--slot-text);
}

/* 冒頭の要点ボックス */
.machine-summary-box {
  background: var(--slot-white);
  border: 1px solid var(--slot-border);
  border-top: 5px solid var(--slot-main);
  border-radius: 12px;
  padding: 16px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.06);
}

.machine-summary-box > p:first-child {
  margin-top: 0;
  color: var(--slot-main);
  font-size: 1.1em;
}

/* ポイントボックス */
.point-box {
  background: var(--slot-white);
  border: 1px solid var(--slot-border);
  border-left: 5px solid var(--slot-accent);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0;
}

/* 注意事項ボックス */
.notice-box {
  background: var(--slot-notice-bg);
  border: 1px solid var(--slot-notice-accent);
  border-left: 5px solid var(--slot-notice-accent);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0;
}

.notice-box p:last-child,
.point-box p:last-child {
  margin-bottom: 0;
}

/* ツール設置エリア */
.tool-placeholder {
  background: var(--slot-white);
  border: 2px dashed var(--slot-border);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.tool-placeholder strong {
  color: var(--slot-main);
}

/* ==================================================
  FAQ
================================================== */

.rank-math-faq.faq-container {
  margin: 24px 0;
}

.faq-item {
  background: var(--slot-white);
  border: 1px solid var(--slot-border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  background: var(--slot-main);
  color: var(--slot-white);
  font-weight: 700;
  padding: 12px 14px;
}

.faq-answer {
  padding: 14px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==================================================
  ボタン・CTA
================================================== */

.slot-button,
.article .slot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--slot-main);
  color: var(--slot-white) !important;
  border-radius: 999px;
  padding: 10px 18px;
  margin: 8px 0 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(30, 58, 95, 0.16);
}

.slot-button:hover,
.article .slot-button:hover {
  background: var(--slot-accent);
  color: var(--slot-white) !important;
  text-decoration: none !important;
}

/* スマホでは少し余裕を持たせる */
@media screen and (max-width: 834px) {
  .slot-button,
  .article .slot-button {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    font-size: 0.95em;
    text-align: center;
  }
}

/* ==================================================
  カード系
================================================== */

.entry-card-wrap,
.related-entry-card-wrap {
  border-radius: 12px;
}

.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.12);
}

/* ==================================================
  スマホ調整
================================================== */

@media screen and (max-width: 834px) {
  .logo-image {
    max-height: 44px;
    width: auto;
  }

  .article h2 {
    padding: 12px 14px;
    font-size: 1.15em;
  }

  .article th,
  .article td {
    padding: 8px 10px;
    font-size: 0.92em;
  }

  .machine-summary-box,
  .notice-box,
  .point-box {
    padding: 12px;
    border-radius: 10px;
  }
}

/* ==================================================
  設定差チェックツール一覧
================================================== */

.tool-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.tool-list-card {
  background: var(--slot-white);
  border: 1px solid var(--slot-border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.06);
}

.tool-list-card h3 {
  margin-top: 8px;
}

.tool-status {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.82em;
  font-weight: 700;
}

.status-ready {
  background: var(--slot-notice-bg);
  color: var(--slot-notice-accent);
  border: 1px solid var(--slot-notice-accent);
}

.status-planned {
  background: #EEF2F6;
  color: var(--slot-main);
  border: 1px solid var(--slot-border);
}

@media screen and (max-width: 834px) {
  .tool-list-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tool-list-card {
    padding: 14px;
  }
}

/* ==================================================
  固定ページ：ページタイトル・日付を非表示
================================================== */

body.page .article-header,
body.page .entry-header,
body.page .entry-title,
body.page .date-tags,
body.page .post-date,
body.page .post-update {
  display: none !important;
}

/* ==================================================
  ヘッダーメニュー：カテゴリー説明文を非表示
================================================== */

#navi .item-description,
#navi .caption-wrap .item-description,
.header-container .item-description {
  display: none !important;
}

/* ==================================================
  ヘッダーメニュー：PC表示を1行に整える
================================================== */

@media screen and (min-width: 1024px) {
  #navi .navi-in > ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
  }

  #navi .navi-in > ul > li {
    width: auto !important;
    flex: 0 0 auto;
  }

  #navi .navi-in > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    white-space: nowrap;
    min-width: auto;
  }

  #navi .item-label {
    white-space: nowrap;
    font-size: 0.95em;
    font-weight: 700;
  }
}

/* ==================================================
  記事・固定ページ：H2見出しの余白調整
================================================== */

.article h2 {
  margin-top: 30px;
  margin-bottom: 14px;
}

/* H2直後の要素との間隔を少し自然に */
.article h2 + p,
.article h2 + div,
.article h2 + table,
.article h2 + ul {
  margin-top: 0;
}

/* スマホではさらに少しだけ詰める */
@media screen and (max-width: 834px) {
  .article h2 {
    margin-top: 26px;
    margin-bottom: 12px;
  }
}


/* ==================================================
  トップページ：セクション・H2余白を少しコンパクトに
================================================== */

.slot-home-page .home-section {
  margin: 26px 0 !important;
}

.slot-home-page .home-section > h2 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

/* H2直後のボックス・グリッドとの余白を詰める */
.slot-home-page .home-section > h2 + .home-profile-box,
.slot-home-page .home-section > h2 + .home-card-grid,
.slot-home-page .home-section > h2 + .home-tool-area,
.slot-home-page .home-section > h2 + .home-new-list {
  margin-top: 0 !important;
}

/* スマホではさらに少しだけ詰める */
@media screen and (max-width: 834px) {
  .slot-home-page .home-section {
    margin: 22px 0 !important;
  }

  .slot-home-page .home-section > h2 {
    margin-bottom: 8px !important;
  }
}


/* ==================================================
  共通：注意・免責メッセージボックス
================================================== */

.slot-common-notice {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  background: #fffaf0;
  border: 1px solid var(--slot-notice-accent);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 28px 0;
  box-shadow: none;
}

.slot-common-notice-icon {
  display: flex;
  justify-content: center;
  color: var(--slot-notice-accent);
  font-size: 28px;
  line-height: 1;
  padding-top: 4px;
}

/* タイトルは現状維持 */
.slot-common-notice-title {
  margin: 0 0 4px;
  color: var(--slot-main);
  font-size: 1.08em;
  font-weight: 700;
  line-height: 1.4;
}


/* 共通注意ボックスの本文 */
.slot-common-notice-text p {
  margin: 0 0 4px;
  font-size: 0.88em;
  line-height: 1.7;
}

.slot-common-notice-text p:last-child {
  margin-bottom: 0;
}

.slot-common-notice-text strong {
  color: #b7791f;
}

/* トップページや固定ページで少し横長に見せる場合 */
.site-about-notice {
  margin-top: 30px;
}

/* スマホ */
@media screen and (max-width: 834px) {
  .slot-common-notice {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 12px 13px;
    margin: 24px 0;
  }

  .slot-common-notice-icon {
    font-size: 23px;
    padding-top: 3px;
  }

  .slot-common-notice-title {
    font-size: 1.02em;
  }

  .slot-common-notice-text p {
    font-size: 0.86em;
    line-height: 1.65;
  }
}


/* ==================================================
  画像引用元表記
================================================== */

.image-source {
  margin: 6px 0 18px;
  color: var(--slot-muted);
  font-size: 0.82em;
  line-height: 1.5;
}

.image-source a {
  color: var(--slot-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.image-source a:hover {
  color: var(--slot-accent);
}

/* ==================================================
  アイキャッチ画像：キャプションを画像下に表示
================================================== */

.article .eye-catch-wrap figcaption,
.article .eye-catch-wrap .wp-caption-text,
.eye-catch-wrap .eye-catch-caption {
  position: static !important;
  display: block !important;
  background: transparent !important;
  color: var(--slot-muted) !important;
  text-shadow: none !important;
  font-size: 0.82em;
  line-height: 1.5;
  padding: 6px 0 0 !important;
  margin: 0 0 16px !important;
  text-align: left;
}

/* キャプション付きでも画像自体は通常表示 */
.article .eye-catch-wrap {
  overflow: visible !important;
}


/* ==================================================
  期待値表
================================================== */

.ev-table th,
.ev-table td {
  white-space: nowrap;
  text-align: right;
}

.ev-table th:first-child,
.ev-table td:first-child {
  text-align: center;
  font-weight: 700;
}

.ev-table .ev-negative {
  color: #d93025;
  font-weight: 700;
}

.ev-table .ev-hourly-good {
  color: #1e5bb8;
  font-weight: 700;
}

.ev-table-note {
  margin: 8px 0 18px;
  color: var(--slot-muted);
  font-size: 0.86em;
  line-height: 1.6;
}

/* ==================================================
  期待値表：文字サイズ調整
================================================== */

.ev-table {
  font-size: 0.92em;
}

.ev-table th,
.ev-table td {
  padding: 8px 10px;
  white-space: nowrap;
  text-align: right;
}

.ev-table th:first-child,
.ev-table td:first-child {
  text-align: center;
  font-weight: 700;
}

@media screen and (max-width: 834px) {
  .ev-table {
    font-size: 0.86em;
  }

  .ev-table th,
  .ev-table td {
    padding: 7px 8px;
  }
}

/* ==================================================
  FAQ：下段開閉式アコーディオン
================================================== */

.faq-container {
  margin: 22px 0;
}

.faq-container .faq-item {
  display: block !important;
  width: 100% !important;
  border: 1px solid var(--slot-border);
  border-radius: 10px;
  background: var(--slot-white);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-container .faq-question {
  display: block !important;
  width: 100% !important;
  position: relative;
  box-sizing: border-box;
  padding: 13px 44px 13px 44px;
  color: var(--slot-main);
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  background: #f8fafc;
}

.faq-container .faq-question::before {
  content: "Q";
  position: absolute;
  top: 13px;
  left: 16px;
  color: var(--slot-accent);
  font-weight: 700;
}

.faq-container .faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--slot-accent);
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1;
}

.faq-container .faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-container .faq-answer {
  display: none !important;
  width: 100% !important;
  box-sizing: border-box;
  padding: 14px 16px 16px 44px;
  border-top: 1px solid var(--slot-border);
  background: #fff;
  position: relative;
}

.faq-container .faq-item.is-open .faq-answer {
  display: block !important;
}

.faq-container .faq-answer::before {
  content: "A";
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--slot-main);
  font-weight: 700;
}

.faq-container .faq-answer p {
  margin: 0;
  line-height: 1.75;
}

@media screen and (max-width: 834px) {
  .faq-container .faq-question {
    padding: 12px 40px 12px 40px;
    font-size: 0.95em;
  }

  .faq-container .faq-question::before {
    top: 12px;
    left: 14px;
  }

  .faq-container .faq-answer {
    padding: 12px 13px 14px 40px;
    font-size: 0.92em;
  }

  .faq-container .faq-answer::before {
    top: 12px;
    left: 14px;
  }
}

/* ==================================================
  記事内の軽い装飾パーツ
================================================== */

.section-guide-box {
  margin: 16px 0 22px;
  padding: 13px 15px;
  border: 1px solid var(--slot-border);
  border-left: 5px solid var(--slot-accent);
  border-radius: 10px;
  background: #f8fafc;
}

.section-guide-title {
  margin: 0 0 7px;
  color: var(--slot-main);
  font-weight: 700;
  line-height: 1.5;
}

.section-guide-title i {
  color: var(--slot-accent);
  margin-right: 5px;
}

.section-guide-box ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.9em;
  line-height: 1.7;
}

.section-guide-box li {
  margin-bottom: 3px;
}

.section-guide-box li:last-child {
  margin-bottom: 0;
}

.ev-condition-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 12px;
}

.ev-condition-badges span {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid var(--slot-border);
  border-radius: 999px;
  background: #fff;
  color: var(--slot-main);
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1.4;
}

.official-data-box {
  margin: 16px 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(214, 168, 79, 0.45);
  border-radius: 10px;
  background: #fffaf0;
}

.official-data-title {
  margin: 0 0 6px;
  color: var(--slot-main);
  font-weight: 700;
  line-height: 1.5;
}

.official-data-title i {
  color: var(--slot-accent);
  margin-right: 5px;
}

.official-data-box p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.75;
}

@media screen and (max-width: 834px) {
  .section-guide-box,
  .official-data-box {
    padding: 12px 13px;
  }

  .section-guide-box ul,
  .official-data-box p {
    font-size: 0.86em;
  }

  .ev-condition-badges span {
    font-size: 0.76em;
  }
}

/* ==================================================
  筐体画像：50％表示
================================================== */

.slot-machine-cabinet {
  text-align: center;
}

.slot-machine-cabinet img {
  display: block;
  width: 50%;
  max-width: 280px;
  min-width: 170px;
  height: auto;
  margin: 0 auto;
}

.slot-machine-cabinet .image-source {
  max-width: 280px;
  margin: 6px auto 0;
  text-align: left;
}

@media screen and (max-width: 834px) {
  .slot-machine-cabinet img {
    width: 50%;
    max-width: 220px;
    min-width: 160px;
  }

  .slot-machine-cabinet .image-source {
    max-width: 220px;
  }
}

/* ==================================================
  設定差チェックツール
================================================== */

.slot-setting-checker {
  margin: 24px 0 32px;
}

.setting-checker-box {
  padding: 18px;
  border: 1px solid var(--slot-border);
  border-radius: 14px;
  background: var(--slot-white, #fff);
  box-shadow: 0 6px 18px rgba(30, 58, 95, 0.06);
}

.setting-checker-head {
  margin-bottom: 14px;
}

.setting-checker-kicker {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(214, 168, 79, 0.14);
  color: var(--slot-main);
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.4;
}

.setting-checker-title {
  margin: 0 0 6px;
  color: var(--slot-main);
  font-size: 1.18em;
  font-weight: 800;
  line-height: 1.45;
}

.setting-checker-lead {
  margin: 0;
  color: var(--slot-text, #222);
  font-size: 0.93em;
  line-height: 1.75;
}

.setting-checker-notice {
  margin: 14px 0 16px;
  padding: 11px 13px;
  border-left: 4px solid var(--slot-accent);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--slot-text, #222);
  font-size: 0.88em;
  line-height: 1.7;
}

.setting-checker-notice p {
  margin: 0;
}

.setting-checker-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.setting-checker-input-box {
  padding: 12px;
  border: 1px solid var(--slot-border);
  border-radius: 12px;
  background: #f8fafc;
}

.setting-checker-input-box label {
  display: block;
  margin-bottom: 6px;
  color: var(--slot-main);
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.4;
}

.setting-checker-input-box input,
.setting-checker-input-box select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  font-size: 16px;
  line-height: 1.4;
}

.setting-checker-help {
  margin: 6px 0 0;
  color: var(--slot-muted);
  font-size: 0.78em;
  line-height: 1.5;
}

.setting-checker-button-row {
  display: flex;
  gap: 10px;
  margin: 16px 0 0;
}

.setting-checker-button,
.setting-checker-reset {
  flex: 1;
  padding: 11px 14px;
  border: none;
  border-radius: 999px;
  font-size: 0.95em;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.setting-checker-button {
  background: var(--slot-main);
  color: #fff;
}

.setting-checker-reset {
  background: #e8edf3;
  color: var(--slot-main);
}

.setting-checker-button:hover,
.setting-checker-reset:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.setting-checker-error {
  display: none;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid #fecdd3;
  border-radius: 10px;
  background: #fff1f2;
  color: #b42318;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.6;
}

.setting-checker-result {
  display: none;
  margin-top: 18px;
}

.setting-checker-result-box {
  padding-top: 2px;
}

.setting-checker-judgement {
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid rgba(214, 168, 79, 0.45);
  border-radius: 12px;
  background: #fffaf0;
}

.setting-checker-judgement-label {
  margin: 0 0 5px;
  color: var(--slot-muted);
  font-size: 0.82em;
  font-weight: 700;
}

.setting-checker-judgement-title {
  margin: 0 0 6px;
  color: var(--slot-main);
  font-size: 1.25em;
  font-weight: 800;
  line-height: 1.4;
}

.setting-checker-judgement-text {
  margin: 0;
  color: var(--slot-text, #222);
  font-size: 0.92em;
  line-height: 1.75;
}

.setting-checker-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 0 0 14px;
}

.setting-checker-summary div,
.setting-checker-plate-summary div {
  padding: 10px 11px;
  border: 1px solid var(--slot-border);
  border-radius: 10px;
  background: #f8fafc;
}

.setting-checker-summary span,
.setting-checker-plate-summary span {
  display: block;
  margin-bottom: 4px;
  color: var(--slot-muted);
  font-size: 0.78em;
  line-height: 1.4;
}

.setting-checker-summary strong,
.setting-checker-plate-summary strong {
  display: block;
  color: var(--slot-main);
  font-size: 1em;
  line-height: 1.45;
}

.setting-checker-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--slot-border);
  border-radius: 12px;
  background: #fff;
}

.setting-checker-card-title {
  margin: 0 0 10px;
  color: var(--slot-main);
  font-size: 1em;
  font-weight: 800;
  line-height: 1.5;
}

.setting-checker-dist-head {
  display: grid;
  grid-template-columns: 52px 80px 1fr 58px;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  color: var(--slot-muted);
  font-size: 0.76em;
  font-weight: 700;
}

.setting-checker-dist-row {
  display: grid;
  grid-template-columns: 52px 80px 1fr 58px;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid #eef2f7;
}

.setting-checker-dist-row:first-child {
  border-top: none;
}

.setting-checker-dist-label {
  color: var(--slot-main);
  font-weight: 700;
  line-height: 1.4;
}

.setting-checker-dist-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--slot-muted);
  font-size: 0.78em;
  line-height: 1.3;
}

.setting-checker-bar-wrap {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf3;
}

.setting-checker-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--slot-accent);
  transition: width 0.25s ease;
}

.setting-checker-dist-value {
  text-align: right;
  color: var(--slot-main);
  font-size: 0.86em;
  font-weight: 700;
  line-height: 1.4;
}

.setting-checker-dist-row.is-excluded {
  opacity: 0.52;
}

.setting-checker-dist-row.is-excluded .setting-checker-bar {
  width: 0 !important;
}

.setting-checker-plate-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.setting-checker-comments {
  margin: 0;
  padding-left: 1.2em;
  color: var(--slot-text, #222);
  font-size: 0.9em;
  line-height: 1.75;
}

.setting-checker-comments li {
  margin-bottom: 4px;
}

.setting-checker-comments li:last-child {
  margin-bottom: 0;
}

.setting-checker-disclaimer,
.setting-checker-footnote {
  margin: 12px 0 0;
  color: var(--slot-muted);
  font-size: 0.84em;
  line-height: 1.75;
}

.setting-checker-footnote {
  padding-top: 12px;
  border-top: 1px dashed var(--slot-border);
}

.setting-checker-footnote p {
  margin: 0;
}

@media screen and (max-width: 834px) {
  .setting-checker-box {
    padding: 14px;
    border-radius: 12px;
  }

  .setting-checker-title {
    font-size: 1.08em;
  }

  .setting-checker-lead,
  .setting-checker-notice {
    font-size: 0.86em;
  }

  .setting-checker-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .setting-checker-button-row {
    flex-direction: column;
  }

  .setting-checker-summary {
    grid-template-columns: 1fr 1fr;
  }

  .setting-checker-summary div:first-child {
    grid-column: 1 / -1;
  }

  .setting-checker-card {
    padding: 12px;
  }

  .setting-checker-dist-head,
  .setting-checker-dist-row {
    grid-template-columns: 46px 68px minmax(90px, 1fr) 54px;
    gap: 6px;
  }

  .setting-checker-dist-head {
    font-size: 0.7em;
  }

  .setting-checker-dist-label {
    font-size: 0.84em;
  }

  .setting-checker-dist-meta {
    font-size: 0.7em;
  }

  .setting-checker-dist-value {
    font-size: 0.78em;
  }

  .setting-checker-plate-summary {
    grid-template-columns: 1fr;
  }

  .setting-checker-comments {
    font-size: 0.84em;
  }
}


/* ==================================================
  機種記事：H3を表タイトル風に調整
================================================== */

.slot-machine-article h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  padding: 0 0 7px;
  border: none !important;
  border-bottom: 1px solid var(--slot-border) !important;
  background: transparent !important;
  color: var(--slot-main);
  font-size: 1.04em;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: none !important;
}

.slot-machine-article h3::before {
  content: "";
  display: inline-block !important;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--slot-accent);
  vertical-align: 0.08em;
}

.slot-machine-article h3::after {
  display: none !important;
}

/* ==================================================
  更新情報：ログ風コンパクト表示
================================================== */

.article-update-table-box {
  background: #fff;
  border: 1px solid var(--slot-border);
  border-left: 5px solid var(--slot-accent);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 18px 0 24px;
}

.article-update-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  color: var(--slot-main);
  font-size: 0.92em;
  font-weight: 700;
  line-height: 1.4;
}

.article-update-log {
  display: grid;
  grid-template-columns: 130px 1fr 80px;
  gap: 10px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--slot-border);
  font-size: 0.9em;
  line-height: 1.6;
}

.article-update-date {
  color: var(--slot-main);
  font-weight: 700;
  white-space: nowrap;
}

.article-update-text {
  color: var(--slot-text);
}

.article-update-status {
  color: var(--slot-muted);
  text-align: right;
  white-space: nowrap;
}

@media screen and (max-width: 834px) {
  .article-update-table-box {
    padding: 9px 10px;
    margin: 16px 0 22px;
  }

  .article-update-log {
    display: block;
    font-size: 0.86em;
  }

  .article-update-date,
  .article-update-text,
  .article-update-status {
    display: block;
  }

  .article-update-text {
    margin-top: 3px;
  }

  .article-update-status {
    margin-top: 3px;
    text-align: left;
  }
}

.article-update-details {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--slot-border);
}

.article-update-details summary {
  color: var(--slot-main);
  font-size: 0.86em;
  font-weight: 700;
  cursor: pointer;
}

.article-update-log.old {
  margin-top: 8px;
  color: var(--slot-muted);
  font-size: 0.86em;
}

/* ==================================================
  設定差チェックツール：設定推定分布の表示調整
================================================== */

.setting-checker-dist-row {
  display: grid !important;
  grid-template-columns: 48px minmax(90px, 1fr) 58px;
  column-gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--slot-border);
}

.setting-checker-dist-row:last-child {
  border-bottom: none;
}

.setting-checker-dist-head {
  display: contents !important;
}

.setting-checker-dist-head span {
  grid-column: 1;
  color: var(--slot-muted);
  font-size: 0.9em;
  white-space: nowrap;
}

.setting-checker-dist-head strong {
  grid-column: 3;
  position: static !important;
  display: block !important;
  min-width: 54px;
  color: var(--slot-main);
  font-size: 0.9em;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
  background: transparent !important;
  z-index: auto !important;
}

.setting-checker-bar-wrap {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  height: 12px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.setting-checker-bar {
  height: 100%;
  border-radius: 999px;
  background: var(--slot-accent);
}

@media screen and (max-width: 834px) {
  .setting-checker-dist-row {
    grid-template-columns: 44px minmax(80px, 1fr) 54px;
    column-gap: 8px;
    padding: 8px 0;
  }

  .setting-checker-dist-head span,
  .setting-checker-dist-head strong {
    font-size: 0.86em;
  }
}

/* ==================================================
  期待値表：打ち出しライン早見表
================================================== */

.ev-line-table th,
.ev-line-table td {
  text-align: center;
  vertical-align: middle;
}

.ev-line-table td:first-child {
  color: var(--slot-main);
  font-weight: 700;
}

.ev-line-table td:nth-child(2) {
  background: #fffaf0;
  font-weight: 700;
}

.ev-line-table td:nth-child(4) {
  font-weight: 700;
}

@media screen and (max-width: 834px) {
  .ev-line-table {
    font-size: 0.84em;
  }

  .ev-line-table th,
  .ev-line-table td {
    padding: 7px 8px;
  }
}

/* ==================================================
  スマホで収める表：2列・短文用
================================================== */

.slot-fit-table {
  width: 100%;
  table-layout: fixed;
  font-size: 0.9em;
}

.slot-fit-table th,
.slot-fit-table td {
  padding: 7px 6px;
  line-height: 1.45;
  vertical-align: middle;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: break-word;
}

.slot-fit-table th {
  text-align: center;
}

/* 打ち出しライン表 */
.ev-line-table.slot-fit-table th,
.ev-line-table.slot-fit-table td {
  text-align: center;
}

.ev-line-table.slot-fit-table th:first-child,
.ev-line-table.slot-fit-table td:first-child {
  width: 32%;
}

.ev-line-table.slot-fit-table th:not(:first-child),
.ev-line-table.slot-fit-table td:not(:first-child) {
  width: 22.6%;
}

/* 周期確認表 */
.cycle-fit-table th:first-child,
.cycle-fit-table td:first-child {
  width: 26%;
  text-align: center;
  white-space: nowrap !important;
}

.cycle-fit-table th:nth-child(2),
.cycle-fit-table td:nth-child(2) {
  width: 74%;
}

/* 皮膜・背景・黒煙などの2列表 */
.two-col-fit-table th:first-child,
.two-col-fit-table td:first-child {
  width: 32%;
  text-align: center;
}

.two-col-fit-table th:nth-child(2),
.two-col-fit-table td:nth-child(2) {
  width: 68%;
}

@media screen and (max-width: 834px) {
  .slot-fit-table {
    font-size: 0.82em;
  }

  .slot-fit-table th,
  .slot-fit-table td {
    padding: 6px 5px;
    line-height: 1.42;
  }
}

/* ==================================================
  トップページ：新着記事タイトルを少しコンパクトに
================================================== */

.home-new-compact .new-entry-card-title,
.home-new-compact-list .new-entry-card-title,
.home-new-list .new-entry-card-title {
  font-size: 0.92em;
  line-height: 1.45;
  font-weight: 700;
  color: #1E3A5F;
}

@media screen and (max-width: 480px) {
  .home-new-compact .new-entry-card-title,
  .home-new-compact-list .new-entry-card-title,
  .home-new-list .new-entry-card-title {
    font-size: 0.86em;
    line-height: 1.42;
  }
}

/* 新着記事の余白を少しだけ詰める */
.home-new-compact .new-entry-card,
.home-new-compact-list .new-entry-card,
.home-new-list .new-entry-card {
  padding: 8px;
}

.home-new-compact .new-entry-card-content,
.home-new-compact-list .new-entry-card-content,
.home-new-list .new-entry-card-content {
  padding-left: 8px;
}

/* ==================================================
  トップページ：バッジ付き新着記事
================================================== */

.slot-new-badge-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.slot-new-badge-card {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid #DDE3EA;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.slot-new-badge-card:hover {
  opacity: 0.92;
}

.slot-new-badge-thumb {
  overflow: hidden;
  border-radius: 4px;
  background: #f2f4f7;
}

.slot-new-badge-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.slot-new-badge-body {
  min-width: 0;
}

.slot-new-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

.slot-new-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.68em;
  font-weight: 700;
  line-height: 1.4;
}

.slot-badge--tenjo {
  background: #FFF7E6;
  color: #9A6500;
  border: 1px solid #D6A84F;
}

.slot-badge--setting {
  background: #EAF2FF;
  color: #1E3A5F;
  border: 1px solid #8AA7D6;
}

.slot-new-badge-title {
  margin: 0;
  color: #1E3A5F;
  font-size: 0.86em;
  font-weight: 700;
  line-height: 1.42;
}

.slot-new-badge-noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  color: #999;
  font-size: 0.8em;
}

@media screen and (max-width: 480px) {
  .slot-new-badge-card {
    grid-template-columns: 38% 1fr;
    gap: 9px;
    padding: 8px;
  }

  .slot-new-badge-title {
    font-size: 0.84em;
    line-height: 1.4;
  }

  .slot-new-badge {
    font-size: 0.66em;
    padding: 2px 6px;
  }
}

/* ==================================================
  主要タグ：天井狙い・設定判別だけ色分け
================================================== */

/* 天井狙いタグ */
a[href*="/tag/tenjo-nerai/"],
a[href*="/tag/%e5%a4%a9%e4%ba%95%e7%8b%99%e3%81%84/"] {
  background: #FFF7E6 !important;
  color: #9A6500 !important;
  border: 1px solid #D6A84F !important;
  font-weight: 700;
}

/* 設定判別タグ */
a[href*="/tag/setting-hanbetsu/"],
a[href*="/tag/%e8%a8%ad%e5%ae%9a%e5%88%a4%e5%88%a5/"] {
  background: #EAF2FF !important;
  color: #1E3A5F !important;
  border: 1px solid #8AA7D6 !important;
  font-weight: 700;
}

/* ==================================================
  設定差チェックツール：PC表示調整
================================================== */

@media screen and (min-width: 835px) {

  .slot-setting-checker {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  .slot-setting-checker form,
  .setting-checker-form {
    display: block !important;
  }

  .setting-checker-inputs,
  .setting-checker-field-list,
  .setting-checker-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 10px 12px;
    align-items: start;
  }

  .setting-checker-field,
  .setting-checker-input-box {
    margin: 0 !important;
  }

  .setting-checker-actions,
  .setting-checker-button-row {
    display: flex !important;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    align-items: center !important;
  }

  .setting-checker-actions button,
  .setting-checker-button-row button,
  .slot-setting-checker button {
    width: auto !important;
    min-width: 160px;
    max-width: 220px;
    height: auto !important;
    min-height: 44px;
    padding: 10px 22px !important;
    border-radius: 999px;
    line-height: 1.4;
    align-self: center !important;
  }

  .setting-checker-result,
  .setting-checker-result-box {
    margin-top: 22px;
  }
}

/* ==================================================
  開閉式ボックス：詳細データ
================================================== */

.slot-accordion {
  margin: 18px 0 24px;
  border: 1px solid var(--slot-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.slot-accordion summary {
  cursor: pointer;
  padding: 12px 14px;
  background: #f7f8fa;
  color: var(--slot-main);
  font-weight: 700;
  line-height: 1.5;
}

.slot-accordion summary::marker {
  color: var(--slot-accent);
}

.slot-accordion-inner {
  padding: 14px 14px 16px;
}

.slot-accordion-inner h3 {
  margin-top: 22px;
}

.slot-accordion-inner h3:first-of-type {
  margin-top: 8px;
}

@media screen and (max-width: 834px) {
  .slot-accordion summary {
    padding: 11px 12px;
    font-size: 0.94em;
  }

  .slot-accordion-inner {
    padding: 12px 10px 14px;
  }

  .trophy-rate-details .ev-table {
    font-size: 0.78em;
  }

  .trophy-rate-details .ev-table th,
  .trophy-rate-details .ev-table td {
    padding: 6px 5px;
  }
}

/* ポイントボックス */
.point-box {
  background: #fffdf7;
  border: 1px solid var(--slot-border);
  border-left: 3px solid var(--slot-accent);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 14px 0 20px;
  box-shadow: none;
}

.point-box p {
  margin: 0 0 10px;
  font-size: 0.92em;
  line-height: 1.75;
}

.point-box p:last-child {
  margin-bottom: 0;
}

.point-box strong {
  color: var(--slot-main);
  font-weight: 700;
}

.point-box ul {
  margin: 8px 0 12px;
  padding-left: 1.3em;
}

.point-box li {
  margin: 0 0 5px;
  font-size: 0.9em;
  line-height: 1.65;
}

@media screen and (max-width: 834px) {
  .point-box {
    border-left-width: 3px;
    border-radius: 7px;
    padding: 11px 12px;
    margin: 12px 0 18px;
  }

  .point-box p {
    font-size: 0.9em;
    line-height: 1.7;
  }

  .point-box li {
    font-size: 0.88em;
    line-height: 1.6;
  }
}


/* H2の左帯だけ少し太くする */
.slot-machine-article h2 {
  border-left-width: 8px !important;
}


.setting-image-accordion {
  margin: 16px 0;
  border: 1px solid #DDE3EA;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.setting-image-accordion summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  color: #1E3A5F;
  background: #F7F8FA;
}

.setting-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
}

.setting-single-image {
  margin: 0;
  border: 1px solid #DDE3EA;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.setting-single-image img {
  display: block;
  width: 100%;
  height: auto;
}

.setting-single-image figcaption {
  padding: 8px 10px;
  font-size: 12px;
  color: #666;
  background: #F7F8FA;
}

.setting-single-image figcaption.caption-warning,
.setting-single-image .caption-warning {
  color: #8A5A00;
  background: #FFF7E6;
  font-weight: 700;
}

@media (max-width: 600px) {
  .setting-image-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .setting-image-accordion summary {
    padding: 12px;
  }
}


以下をCSSに追加してください。

.ai-estimate-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 10px;
  padding: 4px 10px;
  border: 1px solid #D6A84F;
  border-radius: 999px;
  background: #FFF7E6;
  color: #1E3A5F;
  font-size: 0.86em;
  font-weight: 700;
  line-height: 1.4;
}

.ai-estimate-badge::before {
  content: "AI";
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #1E3A5F;
  color: #fff;
  font-size: 0.8em;
  line-height: 1.4;
}

/* ==================================================
  モバイルフッター：タグ導線の色を通常表示に戻す
================================================== */

@media screen and (max-width: 834px) {

  .mobile-menu-buttons a[href*="/tag/tenjo-nerai/"],
  .mobile-menu-buttons a[href*="/tag/setting-hanbetsu/"],
  .mobile-footer-menu-buttons a[href*="/tag/tenjo-nerai/"],
  .mobile-footer-menu-buttons a[href*="/tag/setting-hanbetsu/"],
  #footer-mobile-buttons a[href*="/tag/tenjo-nerai/"],
  #footer-mobile-buttons a[href*="/tag/setting-hanbetsu/"] {
    color: inherit !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .mobile-menu-buttons a[href*="/tag/tenjo-nerai/"] *,
  .mobile-menu-buttons a[href*="/tag/setting-hanbetsu/"] *,
  .mobile-footer-menu-buttons a[href*="/tag/tenjo-nerai/"] *,
  .mobile-footer-menu-buttons a[href*="/tag/setting-hanbetsu/"] *,
  #footer-mobile-buttons a[href*="/tag/tenjo-nerai/"] *,
  #footer-mobile-buttons a[href*="/tag/setting-hanbetsu/"] * {
    color: inherit !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
}

/* ==================================================
  メインメニュー：天井・設定判別タグリンクの色を通常表示に戻す
================================================== */

#navi a[href*="/tag/tenjo-nerai/"],
#navi a[href*="/tag/setting-hanbetsu/"],
.navi a[href*="/tag/tenjo-nerai/"],
.navi a[href*="/tag/setting-hanbetsu/"],
.navi-in a[href*="/tag/tenjo-nerai/"],
.navi-in a[href*="/tag/setting-hanbetsu/"],
.menu-header a[href*="/tag/tenjo-nerai/"],
.menu-header a[href*="/tag/setting-hanbetsu/"] {
  color: inherit !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* アイコンや子要素にも色が付いている場合のリセット */
#navi a[href*="/tag/tenjo-nerai/"] *,
#navi a[href*="/tag/setting-hanbetsu/"] *,
.navi a[href*="/tag/tenjo-nerai/"] *,
.navi a[href*="/tag/setting-hanbetsu/"] *,
.navi-in a[href*="/tag/tenjo-nerai/"] *,
.navi-in a[href*="/tag/setting-hanbetsu/"] *,
.menu-header a[href*="/tag/tenjo-nerai/"] *,
.menu-header a[href*="/tag/setting-hanbetsu/"] * {
  color: inherit !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}


/* 設定差チェックツールの開閉ボックス */
.setting-tool-accordion {
  margin: 18px 0;
  border: 2px solid #D6A84F;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(30, 58, 95, 0.08);
}

/* summary全体をボタン風に */
.setting-tool-accordion summary.setting-tool-summary {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 16px 44px 16px 16px;
  background: #1E3A5F;
  color: #fff;
  list-style: none;
}

/* Chrome系のデフォルト三角を消す */
.setting-tool-accordion summary::-webkit-details-marker {
  display: none;
}

/* Firefox系のデフォルトマーカー対策 */
.setting-tool-accordion summary::marker {
  content: "";
}

/* メイン文言 */
.setting-tool-summary-main {
  display: block;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.5;
}

/* 補足文 */
.setting-tool-summary-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.86em;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.92;
}

/* 右側の開閉アイコン */
.setting-tool-accordion summary.setting-tool-summary::after {
  content: "▼";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95em;
  font-weight: 700;
}

/* 開いた時 */
.setting-tool-accordion[open] summary.setting-tool-summary::after {
  content: "▲";
}

/* 開いた時の中身 */
.setting-tool-inner {
  padding: 16px;
  background: #fff;
}

/* 開いた時にsummary下へ境界線 */
.setting-tool-accordion[open] summary.setting-tool-summary {
  border-bottom: 2px solid #D6A84F;
}

/* ツール内の余白調整 */
.setting-tool-inner .slot-setting-checker {
  margin-top: 14px;
}

/* スマホ向け微調整 */
@media screen and (max-width: 480px) {
  .setting-tool-accordion {
    margin: 16px 0;
    border-radius: 10px;
  }

  .setting-tool-accordion summary.setting-tool-summary {
    padding: 15px 40px 15px 14px;
  }

  .setting-tool-summary-main {
    font-size: 1em;
  }

  .setting-tool-summary-sub {
    font-size: 0.84em;
  }

  .setting-tool-inner {
    padding: 14px;
  }
}

/* 設定差チェックツール直下の補足ボックス */
.tool-action-note {
  margin: 14px 0 18px;
  padding: 14px 16px;
  background: #EEF6FF;
  border: 1px solid #BFD7F2;
  border-left: 5px solid #3B82C4;
  border-radius: 10px;
  color: #1E3A5F;
}

.tool-action-note p {
  margin: 0;
  line-height: 1.8;
}

.tool-action-note strong {
  color: #1E3A5F;
}

.tool-action-note a {
  font-weight: 700;
  color: #1E3A5F;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* スマホ調整 */
@media screen and (max-width: 480px) {
  .tool-action-note {
    padding: 12px 13px;
    border-radius: 9px;
  }

  .tool-action-note p {
    line-height: 1.75;
  }
}


/* 設定記事バッジ */
.check-priority-badge {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 4px 10px;
  font-size: 0.84em;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 999px;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.02em;
  color: #fff;
}

/* 赤：まず見る */
.badge-red {
  background: #E74C3C;
}

/* 青：慣れてきたら */
.badge-blue {
  background: #3B82C4;
}

/* グレー：参考 */
.badge-gray {
  background: #8B95A5;
}

.info-status-badge {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 3px 9px;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 999px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

.status-pending {
  background: #FFF7E6;
  color: #9A5B00;
  border: 1px solid #E0A12B;
}

.ev-entry-line {
  margin: 10px 0 6px;
  padding: 2px 0 2px 12px;
  border-left: 4px solid #1E3A5F;
  background: transparent;
  font-size: 0.95em;
  line-height: 1.6;
}

.ev-entry-line strong {
  color: #1E3A5F;
}

.table-scroll.ev-table-compact-wrap {
  margin-top: 0;
  margin-bottom: 10px;
}

.table-scroll.ev-table-compact-wrap > table.ev-table {
  margin-bottom: 0 !important;
}

.table-scroll.ev-table-compact-wrap + .point-box.ev-assumption-box {
  margin-top: 1px;
}

/* 期待値表専用：表下の余白を詰める */
.slot-machine-article .table-scroll.ev-table-compact-wrap {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
}

.slot-machine-article .table-scroll.ev-table-compact-wrap table,
.slot-machine-article .table-scroll.ev-table-compact-wrap table.ev-table,
.slot-machine-article .table-scroll.ev-table-compact-wrap table.slot-fit-table {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.slot-machine-article .table-scroll.ev-table-compact-wrap + .point-box.ev-assumption-box {
  margin-top: 1px !important;
}

/* =======================================================
   スロッターの道具箱 投稿記事末尾テンプレ
======================================================= */

.slot-article-footer {
  margin: 48px 0 0;
  padding: 0;
}

.article-updated-date-wrap {
  margin: 32px 0 16px;
}

.article-updated-date {
  display: inline-block;
  padding: 8px 14px;
  background: #F7F8FA;
  border: 1px solid #DDE3EA;
  border-radius: 8px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.slot-author-box {
  margin: 20px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #DDE3EA;
  border-left: 5px solid #1E3A5F;
  border-radius: 12px;
}

.slot-author-box-inner {
  display: flex;
  gap: 16px;
  align-items: center;
}

.slot-author-icon img {
  display: block;
  border-radius: 50%;
  border: 1px solid #DDE3EA;
  background: #fff;
}

.slot-author-text {
  flex: 1;
}

.slot-author-name {
  margin: 0 0 6px;
  font-weight: 700;
  color: #222;
  line-height: 1.6;
}

.slot-author-name a {
  color: #1E3A5F;
  font-weight: 700;
  text-decoration: none;
}

.slot-author-name a:hover {
  text-decoration: underline;
}

.slot-author-desc {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}

.slot-author-x {
  margin: 10px 0 0;
}

.slot-author-x a {
  display: inline-block;
  padding: 7px 12px;
  background: #1E3A5F;
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.5;
}

.slot-author-x a:hover {
  opacity: 0.88;
  color: #fff;
}

.slot-common-notice-text {
  margin: 20px 0 0;
  padding: 18px;
  background: #FFF7E6;
  border: 1px solid #E0A12B;
  border-radius: 12px;
}

.slot-common-notice-title {
  margin: 0 0 8px;
  font-weight: 700;
  color: #1E3A5F;
  font-size: 16px;
  line-height: 1.6;
}

.slot-common-notice-text p {
  margin: 8px 0 0;
  color: #444;
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .slot-author-box-inner {
    align-items: flex-start;
  }

  .slot-author-icon img {
    width: 60px;
    height: 60px;
  }

  .slot-author-desc br {
    display: none;
  }
}

/* スマホ時：著者ボックスの余白を減らす */
@media screen and (max-width: 768px) {
  .slot-author-box-inner {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 10px 14px;
    align-items: center;
  }

  .slot-author-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .slot-author-icon img {
    width: 60px;
    height: 60px;
  }

  .slot-author-text {
    display: contents;
  }

  .slot-author-name {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .slot-author-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 4px;
  }

  .slot-author-x {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 8px;
  }

  .slot-author-desc br {
    display: none;
  }
}

/* 実戦時の注意事項：見出し＋アイコン */
.slot-common-notice-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.slot-common-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 22px;
  height: 22px;
  color: #E0A12B;
  font-size: 18px;
  line-height: 1;
}

.slot-common-notice-title {
  margin: 0;
  font-weight: 700;
  color: #1E3A5F;
  font-size: 16px;
  line-height: 1.6;
}

/* Xボタン周りの余白を圧縮 */
.slot-author-box .slot-author-x {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.slot-author-box .slot-author-x a {
  margin: 0 !important;
}

/* 著者ボックス全体の下余白を少し圧縮 */
.slot-author-box {
  padding-bottom: 14px;
}

/* スマホ時はさらに少し詰める */
@media screen and (max-width: 768px) {
  .slot-author-box {
    padding-bottom: 12px;
  }

  .slot-author-box-inner {
    row-gap: 6px;
  }

  .slot-author-box .slot-author-x {
    margin-top: 6px !important;
  }
}