/* ==========================================================
   6確 解析機種ページ専用CSS
========================================================== */

:root{
  --k6-text:#0f172a;
  --k6-muted:#64748b;
  --k6-border:#e5e7eb;
  --k6-surface:#fff;
}

.mm-main{
  padding-top:24px;
  padding-bottom:40px;
}

.mm-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
  align-items:start;
}

.mm-content,
.mm-article{
  min-width:0;
}

.mm-article__h1{
  margin:0 0 12px;
  color:var(--k6-text);
  font-size:clamp(24px,3vw,34px);
  line-height:1.4;
  font-weight:900;
  overflow-wrap:anywhere;
}

.mm-article__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  margin:0 0 20px;
  color:var(--k6-muted);
  font-size:13px;
}

.mm-article__meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.mm-hero__icon{
  overflow:hidden;
}

.mm-hero__icon img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.mm-visual{
  width:100%;
  margin:16px 0 22px;
  overflow:hidden;
  border-radius:10px;
  background:#f1f5f9;
}

.mm-visual__img{
  display:block;
  width:100%;
  height:auto;
}

.mm-machine-icon--ph{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  opacity:.75;
}

.mm-note{
  text-align:left;
  line-height:1.7;
  overflow-wrap:anywhere;
  word-break:normal;
}

.mm-faq__a:not(.hidden){
  display:block;
}

.mm-share-panel{
  margin-top:28px;
  padding:16px;
  border:1px solid var(--k6-border);
  border-radius:12px;
  background:var(--k6-surface);
  box-shadow:0 1px 2px rgba(15,23,42,.05);
}

.mm-share-buttons{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.mm-share-button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  padding:10px 14px;
  border-radius:8px;
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1.2;
  text-decoration:none;
}

.mm-share-button:hover,
.mm-share-button:focus-visible{
  color:#fff;
  opacity:.88;
}

.mm-share-button--x{
  background:#111;
}

.mm-share-button--line{
  background:#06c755;
}

.mm-share-button--hatena{
  background:#00a4de;
}

.mm-share-button__hatena{
  font-family:Arial,sans-serif;
  font-weight:900;
}

/* ==========================================================
   投稿本文共通
========================================================== */

.mm-content-machine-image{
  display:block;
  max-width:100%;
  height:auto;
  margin:0 auto;
}

/* スロットは横200px */
.mm-body--slot .mm-content-machine-image{
  width:200px;
}

/* パチンコは横160px */
.mm-body--pachinko .mm-content-machine-image{
  width:160px;
}

.mm-image-research{
  display:flex;
  width:200px;
  max-width:100%;
  min-height:280px;
  align-items:center;
  justify-content:center;
  margin:0 auto;
  padding:16px;
  border:1px dashed #cbd5e1;
  border-radius:10px;
  background:#f8fafc;
  color:#64748b;
  font-weight:700;
  text-align:center;
  box-sizing:border-box;
}

.mm-image-research--wide{
  width:100%;
  min-height:180px;
}

.mm-panel--spaced{
  margin-top:14px;
}

.mm-howcard{
  text-decoration:none;
}

.mm-color--bronze{
  background:#d6a46c;
  color:#fff;
}

.mm-color--silver{
  background:#cbd5e1;
  color:#334155;
}

.mm-color--kirin{
  background:#f5c542;
  color:#111;
}

.mm-faq__item{
  border:0;
}

.mm-faq__q{
  list-style:none;
  cursor:pointer;
}

.mm-faq__q::-webkit-details-marker{
  display:none;
}

.mm-faq__q::marker{
  content:"";
}

.mm-faq__q i{
  transition:transform .2s ease;
}

.mm-faq__item[open] .mm-faq__q i{
  transform:rotate(180deg);
}

.mm-faq__a{
  display:none;
}

.mm-faq__item[open] .mm-faq__a{
  display:block;
}

.mm-copyright{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin:28px 0 20px;
  padding:0 16px;
  color:#64748b;
  font-size:12px;
  line-height:1.8;
  letter-spacing:.01em;
  text-align:center;
  box-sizing:border-box;
}

/* ==========================================================
   設定判別ツール
========================================================== */

.mm-setting-tool-intro{
  margin-bottom:20px;
}

.mm-setting-tool-intro .mm-tip{
  margin-top:16px;
}

.mm-setting-tool-wrap{
  width:100%;
  min-width:0;
}

.mm-setting-tool-wrap > :first-child{
  margin-top:0;
}

.mm-setting-tool-wrap > :last-child{
  margin-bottom:0;
}

/* ==========================================================
   参考情報・自動更新履歴
========================================================== */

.mm-sources-section{
  clear:both;
  margin-top:32px;
}

.mm-sources-section > .section-title{
  margin-top:0;
  margin-bottom:20px;
}

.mm-sources-section .mm-card{
  margin-top:0;
}

.mm-sources-section .mm-card__h{
  margin-top:0;
}

.mm-update-history{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid #dfe4ea;
}

.mm-update-history__title{
  margin-bottom:14px;
}

.mm-update-history__list{
  display:grid;
  gap:14px;
  margin:0;
  padding:0;
  list-style:none;
}

.mm-update-history__item{
  position:relative;
  padding-left:18px;
}

.mm-update-history__item::before{
  position:absolute;
  top:.65em;
  left:2px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#14b8a6;
  content:"";
}

.mm-update-history__date{
  display:block;
  margin-bottom:5px;
  font-weight:700;
  line-height:1.5;
}

.mm-update-history__text,
.mm-update-history__changes{
  margin:0;
}

.mm-update-history__changes{
  display:grid;
  gap:4px;
  padding-left:1.25em;
}

.mm-update-history__changes li{
  line-height:1.7;
}

.mm-update-history__empty{
  margin:0;
  color:#667085;
  line-height:1.7;
}

.mm-sources-section + .mm-share-panel{
  margin-top:28px;
}

/* ==========================================================
   パチンコ本文追加CSS
========================================================== */

.mm-video{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:10px;
  background:#000;
}

.mm-video-frame{
  display:block;
  width:100%;
  height:100%;
  border:0;
}

.mm-spec-list{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  margin:0;
}

.mm-spec-list dt,
.mm-spec-list dd{
  margin:0;
  padding:12px 14px;
  border-bottom:1px solid #e5e7eb;
}

.mm-spec-list dt{
  background:#f8fafc;
  color:#334155;
  font-weight:700;
}

.mm-spec-list dd{
  min-width:0;
  overflow-wrap:anywhere;
}

@media(min-width:768px){
  .mm-note{
    text-align:right;
  }
}

@media(max-width:980px){
  .mm-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .mm-main{
    padding-top:18px;
    padding-bottom:28px;
  }

  .mm-article__h1{
    font-size:24px;
  }

  .mm-share-panel{
    padding:12px;
  }

  .mm-share-buttons{
    grid-template-columns:1fr;
    gap:8px;
  }

  .mm-copyright{
    margin:24px 0 16px;
    padding:0 12px;
    font-size:11px;
    line-height:1.75;
  }

  .mm-setting-tool-intro{
    margin-bottom:16px;
  }

  .mm-setting-tool-intro .mm-tip{
    margin-top:14px;
  }

  .mm-setting-tool-wrap{
    overflow-x:hidden;
  }

  .mm-sources-section{
    margin-top:24px;
  }

  .mm-sources-section > .section-title{
    margin-bottom:16px;
  }

  .mm-update-history{
    margin-top:18px;
    padding-top:16px;
  }

  .mm-sources-section + .mm-share-panel{
    margin-top:22px;
  }

  .mm-spec-list{
    grid-template-columns:1fr;
  }

  .mm-spec-list dt{
    border-bottom:0;
  }
}

/* =========================================================
   記事下部の更新履歴
========================================================= */

.mm-update-summary {
  margin-top: 28px;
}

.mm-update-summary__latest {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.mm-update-summary__latest i {
  color: var(--teal);
}

.mm-update-summary__details {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.mm-update-summary__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: #fff;
  color: var(--teal-700);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}

.mm-update-summary__toggle::-webkit-details-marker {
  display: none;
}

.mm-update-summary__toggle::after {
  content: "＋";
  font-size: 14px;
  font-weight: 900;
}

.mm-update-summary__details[open] .mm-update-summary__toggle::after {
  content: "−";
}

.mm-update-summary__toggle:hover {
  background: #f0fdfa;
}

.mm-update-summary__content {
  margin-top: 16px;
}

/* 折りたたみ内で既存の更新履歴タイトルが重複する場合は非表示 */
.mm-update-summary__content > section > h2:first-child,
.mm-update-summary__content > div > h2:first-child {
  display: none;
}