/* =========================================================
   ▼ オリジナルのblog-app.CSS（デザイン維持のため全て記述）
   ========================================================= */
*,*::before,*::after{box-sizing:border-box}
html,body{height:100%}
body{margin:0}
img,svg,video,canvas{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
button{-webkit-tap-highlight-color:transparent}
a{color:inherit}
html{scrollbar-gutter:stable}
body{overflow-y:scroll}

:root{
  --bg:#f3f4f6;--text:#333;--white:#fff;--muted:#6b7280;
  --border:#e5e7eb;--border2:#e2e8f0;
  --teal:#14b8a6;--teal-700:#0f766e;--green:#16a34a;--red:#ef4444;
  --blue:#2563eb;--yellow:#eab308;--purple:#7c3aed;--pink:#ec4899;
  --shadow-sm:0 1px 2px rgba(0,0,0,.06);
  --shadow:0 6px 18px rgba(0,0,0,.08);
}

.mm-body{
  font-family:"Noto Sans JP",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji";
  background:var(--bg);color:var(--text);
}
.mm-app{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}
.font-num{font-family:"Roboto",system-ui,sans-serif}
.hidden{display:none!important}
.rotate-180{transform:rotate(180deg)}
.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-fw-700{font-weight:700}
.mm-right{text-align:right}
.mm-center{text-align:center}
.mm-muted{color:var(--muted)}
.mm-txt-red{color:var(--red)}
.mm-txt-blue{color:var(--blue)}
.mm-txt-green{color:var(--green)}
.mm-txt-purple{color:var(--purple)}
.mm-txt-yellow{color:var(--yellow)}
.mm-txt-gray{color:#9ca3af}

.mm-container{width:100%;max-width:1200px;margin:0 auto;padding:0 16px}
.mm-main{padding:4px 0 24px;flex:1}
.mm-layout{padding:0 8px;display:flex;flex-direction:column;gap:16px}
.mm-content,.mm-sidebar{min-width:0}
@media(min-width:768px){.mm-main{padding-top:24px}.mm-layout{padding:0;gap:24px}}
@media(min-width:1024px){.mm-layout{flex-direction:row;align-items:flex-start}.mm-content{width:72%}.mm-sidebar{width:28%}}

.mm-card{
  background:var(--white);border:1px solid #d1d5db;border-radius:10px;
  padding:12px;box-shadow:var(--shadow-sm);margin-bottom:16px;
}
.mm-card__h{
  margin:0 0 12px;padding:0 0 8px;border-bottom:1px solid var(--border);
  font-weight:700;font-size:14px;color:#374151;
}
.mm-card--center{text-align:center}
.mm-pad-lg{padding:16px}
.mm-note{margin:8px 0 0;font-size:12px;color:var(--muted);text-align:right}
.mm-small{font-size:12px;color:#4b5563;line-height:1.6}
.mm-micro{font-size:10px;color:#9ca3af}
.mm-block{margin-bottom:24px}
.mm-block:last-child{margin-bottom:0}

.analysis-table{width:100%;border-collapse:collapse;background:#fff;font-size:.8rem;min-width:100%}
.analysis-table th{
  background:#f8fafc;color:#334155;font-weight:700;border:1px solid var(--border2);
  padding:8px 4px;white-space:nowrap;text-align:center;
}
.analysis-table td{border:1px solid var(--border2);padding:8px 4px;color:#334155}
.analysis-table tr:nth-child(even){background:#f8fafc}
.table-scroll{
  overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 12px;
  border:1px solid var(--border);border-radius:6px;max-width:100%;
}
.no-scrollbar::-webkit-scrollbar{display:none}
.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}

.section-title{
  margin:0 0 18px;padding-left:10px;border-left:5px solid #0d9488;
  font-size:1.1rem;font-weight:800;color:#1f2937;
}
.mm-section{margin-bottom:48px;scroll-margin-top:128px}

/* アコーディオン：JSでmax-heightを動的に入れる方式 */
.accordion-content{
  max-height:0;
  overflow:hidden;
  opacity:0;
  visibility:hidden;
  transition:max-height .35s ease, opacity .2s ease;
}

.accordion-content.open{
  opacity:1;
  visibility:visible;
}

/* 開いたときに中身が詰まって見える用（必要なら） */
.accordion-content .mm-small,
.accordion-content p,
.accordion-content ul,
.accordion-content ol{
  margin-top:0;
}

.accordion-toggle i{transition:transform .3s}
.accordion-toggle.active i{transform:rotate(180deg)}
.mm-acc-btn.active{background:#ecfeff}
.mm-acc-btn--purple.active{background:#f5f3ff}
.mm-acc-btn--pink.active{background:#fdf2f8}
.mm-acc-btn--green.active{background:#f0fdf4}
.toc-popup{max-height:0;opacity:0;overflow:hidden;transition:all .3s ease}
.toc-popup.active{max-height:400px;opacity:1;overflow-y:auto}

.mm-grid-2{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:16px}
@media(min-width:768px){.mm-grid-2{grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}}
.mm-grid-3{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:768px){.mm-grid-3{grid-template-columns:repeat(3,1fr);gap:16px}}
.mm-grid-5{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:768px){.mm-grid-5{grid-template-columns:repeat(5,1fr);gap:16px}}

.mm-ph{background:#f3f4f6;border:1px solid #d1d5db;border-radius:10px}
.mm-ph--tall{aspect-ratio:1/2;max-width:200px;margin:0 auto}
.mm-ph--reel{aspect-ratio:3/4;max-width:250px;margin:0 auto}
.mm-ph--payout{aspect-ratio:4/1;border-radius:8px}

.mm-header-mobile{background:#fff;box-shadow:var(--shadow-sm);z-index:50}
.mm-header-mobile__logo{
  padding:12px 0;border-bottom:1px solid var(--border);
  display:flex;justify-content:center;
}
.mm-logo{height:32px;width:auto;display:block}
.mm-logo-link{display:inline-block;text-decoration:none;transition:opacity .2s}
.mm-logo-link:hover{opacity:.85}


.mm-header-mobile__search{padding:10px 12px;border-bottom:1px solid #f3f4f6}
.mm-search{position:relative}
.mm-search__icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9ca3af;font-size:14px}
.mm-search__input{
  width:100%;padding:10px 12px 10px 34px;border-radius:999px;
  border:1px solid #d1d5db;background:#f3f4f6;outline:none;font-size:14px;
}
.mm-search__input:focus{border-color:var(--teal);background:#fff}

.mm-header-mobile__navgrid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:1px;background:#e5e7eb;border-bottom:1px solid #e5e7eb;
}
.mm-navgrid__item{
  background:#fff;padding:12px 8px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:6px;
  text-decoration:none;color:#4b5563;font-weight:900;font-size:10px;
}
.mm-navgrid__item:hover{background:#f9fafb}
.mm-navgrid__item i{font-size:18px}
.mm-navgrid__item:nth-child(1) i{color:var(--teal)}
.mm-navgrid__item:nth-child(2) i{color:var(--purple)}
.mm-navgrid__item:nth-child(3) i{color:#f97316}
.mm-navgrid__item:nth-child(4) i{color:var(--pink)}
.mm-navgrid__item:nth-child(5) i{color:var(--green)}
.mm-navgrid__item:nth-child(6) i{color:var(--blue)}

.mm-header-top{
    background:#222;
    border-top:2px solid #14b8a6;
    border-bottom:1px solid #333;
}

.mm-header-top__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 16px;
}

.mm-header-top__links{
  display:flex;
  gap:24px;
  font-size:12px;
  font-weight:900;
  color:#fff;
}

.mm-header-top__link{
  text-decoration:none;
  color:#fff;
}

.mm-header-top__link:hover{
  color:var(--teal);
}
.mm-header-top__link i{margin-right:6px}

.mm-hero{
  display:block;
  position:relative;
  padding:12px;
  overflow:hidden;
  background:#111827;
  color:#fff;
  box-shadow:var(--shadow-sm);
  z-index:40;
}

.mm-hero__bg{
  position:absolute;
  inset:0;
  z-index:0;
}

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

.mm-hero__overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:rgba(0,0,0,.5);
}

.mm-hero__inner{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  padding:0;
}

.mm-hero__left{
  display:contents;
}

.mm-hero__icon{
  display:flex;
  width:56px;
  height:56px;
  flex:0 0 56px;
  align-items:center;
  justify-content:center;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:14px;
  background:transparent;
  box-shadow:none;
}

.mm-hero__icon i{
  color:#9ca3af;
  font-size:20px;
}

.mm-machine-icon{
  display:block;
  width:100%;
  height:100%;
  padding:2px;
  overflow:hidden;
  border:2px solid rgba(255,255,255,.92);
  border-radius:14px;
  background:rgba(255,255,255,.92);
  box-shadow:
    0 2px 8px rgba(0,0,0,.32),
    0 0 0 1px rgba(0,0,0,.16);
}

.mm-machine-icon__img{
  display:block;
  width:100%;
  height:100%;
  border-radius:10px;
  background:transparent;
  object-fit:cover;
  object-position:center;
  transform:scale(1.025);
}

.mm-hero__text{
  min-width:0;
}

.mm-hero__title{
  margin:0;
  overflow:hidden;
  font-size:13px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.mm-hero__sub{
  display:block;
  margin:6px 0 0;
  color:#d1d5db;
  font-size:10px;
}

@media(min-width:768px){
  .mm-hero{
    padding:0;
  }

  .mm-hero__inner{
    justify-content:space-between;
    gap:16px;
    padding:16px;
  }

  .mm-hero__left{
    display:flex;
    min-width:0;
    align-items:center;
    gap:16px;
  }

  .mm-hero__icon{
    width:48px;
    height:48px;
    flex-basis:48px;
    border-radius:12px;
  }

  .mm-machine-icon{
    border-radius:12px;
  }

  .mm-machine-icon__img{
    border-radius:8px;
  }

  .mm-hero__title{
    font-size:18px;
    font-weight:900;
  }

  .mm-hero__sub{
    margin:0;
    font-size:12px;
  }
}

.mm-subnav{
  display:none;background:#fff;border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:30;box-shadow:var(--shadow-sm);
}
.mm-subnav__inner{display:flex;justify-content:space-between;align-items:center;gap:12px}
.mm-subnav__nav{display:flex;overflow-x:auto;white-space:nowrap;font-weight:900;color:#4b5563}
.mm-subnav__item{
  display:inline-flex;align-items:center;gap:6px;padding:12px 16px;
  text-decoration:none;color:#4b5563;border-bottom:2px solid transparent;
}
.mm-subnav__item:hover{color:var(--teal);background:#f9fafb}
.mm-subnav__search{flex:0 0 auto;padding:0 8px}
.mm-search--small .mm-search__input{padding:7px 10px 7px 30px;font-size:12px;width:190px;background:#f3f4f6}
@media(min-width:768px){
  .mm-header-mobile,
  .mm-header-mobile__logo,
  .mm-header-mobile__search,
  .mm-header-mobile__navgrid{
    display:none !important;
  }

  .mm-header-top,
  .mm-hero,
  .mm-subnav{
    display:block !important;
  }
}

.mm-breadcrumb{background:#f8f9fa;border-bottom:1px solid var(--border);font-size:12px;color:var(--muted)}
.mm-breadcrumb__inner{padding:8px 16px;overflow-x:auto;white-space:nowrap}
.mm-breadcrumb__list{display:flex;align-items:center;gap:8px;list-style:none;padding:0;margin:0}
.mm-breadcrumb__link{text-decoration:none;color:var(--teal-700)}
.mm-breadcrumb__link:hover{text-decoration:underline}
.mm-breadcrumb__sep i{font-size:10px;color:#9ca3af}
.mm-breadcrumb__current{font-weight:700}

.mm-article{
  background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-sm);
  padding:12px;
}
@media(max-width:767px){
  .mm-article{border-radius:0;border-left:none;border-right:none;border-top:none}
}
@media(min-width:768px){.mm-article{padding:24px}}

.mm-article__title-pc{display:none}
.mm-article__title-sp{display:block;margin:0 0 12px;padding:0 4px}
@media(min-width:768px){.mm-article__title-pc{display:block}.mm-article__title-sp{display:none}}

.mm-article__h1{margin:0 0 10px;font-size:30px;font-weight:900;color:#111827;line-height:1.25}
.mm-article__meta{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;font-size:12px;color:var(--muted);margin-bottom:16px}
.mm-article__h1--sp{margin:0 0 8px;font-size:18px;font-weight:900;color:#111827;line-height:1.35}
.mm-article__meta-sp{
  display:flex;justify-content:space-between;align-items:center;
  border-bottom:1px solid #f3f4f6;padding-bottom:8px;font-size:12px;color:var(--muted);
}
.mm-meta-link{
  color:var(--teal-700);text-decoration:none;font-weight:900;
  background:#ecfeff;border:1px solid #99f6e4;padding:2px 10px;border-radius:999px;
}

.mm-pill{
  display:inline-flex;align-items:center;gap:8px;
  background:#ecfeff;border:1px solid #99f6e4;color:var(--teal-700);
  font-weight:900;padding:6px 12px;border-radius:999px;text-decoration:none;
}
.mm-pill:hover{background:#d9f99d1f}
.mm-pill__sep{border-left:1px solid #5eead4;padding-left:8px}

.mm-visual{
  border:1px solid var(--border);border-radius:10px;
  background:linear-gradient(135deg,#111827,#374151);
  aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;
  overflow:hidden;box-shadow:var(--shadow-sm);margin:12px 0 18px;
}
@media(min-width:768px){.mm-visual{aspect-ratio:2.35/1;box-shadow:var(--shadow)}}
.mm-visual__center{text-align:center;color:#9ca3af}
.mm-visual__center i{font-size:56px;opacity:.5;display:block;margin-bottom:6px}
.mm-visual__center span{font-size:14px;font-weight:900;color:#d1d5db}

.mm-points{
  background:#fef2f2;border-left:4px solid var(--red);
  border-radius:0 10px 10px 0;padding:12px;box-shadow:var(--shadow-sm);
  margin:0 4px 18px;
}
@media(min-width:768px){.mm-points{margin:0 0 18px;padding:16px}}
.mm-points__title{
  margin:0 0 10px;color:#b91c1c;font-weight:900;font-size:14px;
  display:flex;align-items:center;gap:8px;
}
.mm-points__list{margin:0;padding-left:18px;font-size:13px;color:#111827;line-height:1.7}
.mm-points__list li::marker{color:#fca5a5}

.mm-toc{
  border:1px solid #d1d5db;border-radius:10px;padding:16px;box-shadow:var(--shadow-sm);
  margin:0 4px 20px;
}
@media(min-width:768px){.mm-toc{margin:0 0 24px;padding:20px}}
.mm-toc__label{
  margin:0 0 12px;text-align:center;font-weight:900;font-size:13px;color:#1f2937;
  background:#f3f4f6;border:1px solid var(--border);border-radius:8px;padding:6px 8px;
}
.mm-toc__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:10px 18px}
@media(min-width:768px){.mm-toc__grid{grid-template-columns:1fr 1fr}}
.mm-toc__grid a{
  display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--teal-700);
  font-weight:900;padding:6px 0;border-bottom:1px solid #f3f4f6;
}
@media(min-width:768px){.mm-toc__grid a{border-bottom:none}}
.mm-toc__grid a:hover{color:var(--teal);text-decoration:underline}
.mm-toc__grid a span{width:22px;text-align:center;color:#9ca3af;font-weight:900}

.game-flow{display:flex;flex-direction:column;align-items:center;padding:16px;background:#fff;border:1px solid var(--border2);border-radius:10px}
.mm-flowimg{
  width:100%;max-width:720px;aspect-ratio:4/3;background:#f3f4f6;border:2px dashed #d1d5db;border-radius:12px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9ca3af;gap:6px;
}
.mm-flowimg i{font-size:32px}
.mm-flowimg__title{font-weight:900;color:var(--muted)}
.mm-flowimg__sub{font-size:12px}

/* =========================================================
   公式PV・YouTube埋め込み
   ========================================================= */

.mm-video{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  margin:0 0 18px;
  overflow:hidden;
  border:2px solid #1f2937;
  border-radius:12px;
  background:#000;
  box-shadow:var(--shadow-sm);
}

/* YouTubeを枠いっぱいに表示 */
.mm-video iframe{
  position:absolute;
  inset:0;
  display:block;
  width:100% !important;
  height:100% !important;
  margin:0;
  padding:0;
  border:0;
}

/* 旧サムネイル表示にも対応 */
.mm-video img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.6;
  transition:opacity .25s;
}

.mm-video:hover img{
  opacity:.7;
}

.mm-video__yt{
  position:absolute;
  top:50%;
  left:50%;
  color:#dc2626;
  background:#fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:64px;
  box-shadow:var(--shadow);
  transform:translate(-50%,-50%);
}

.mm-video__cap{
  position:absolute;
  right:12px;
  bottom:10px;
  color:#d1d5db;
  font-size:12px;
  font-weight:900;
}

.mm-subhead{
  margin:0 0 12px;font-weight:900;color:#111827;font-size:16px;
  padding-left:12px;border-left:4px solid var(--teal);
}
.mm-subhead--red{border-left-color:var(--red)}
.mm-subhead--yellow{border-left-color:var(--yellow)}
.mm-subhead--green{border-left-color:#22c55e}

.mm-ddt{
  display:flex;flex-direction:column;gap:12px;background:#f9fafb;border:1px solid #f3f4f6;border-radius:12px;
  padding:16px;margin:0 0 16px;
}
@media(min-width:768px){.mm-ddt{flex-direction:row;align-items:center;gap:18px}}
.mm-ddt__img{width:150px;max-width:150px;aspect-ratio:1/1;background:#fff;border:1px solid #d1d5db;border-radius:10px;box-shadow:var(--shadow-sm)}
@media(max-width:767px){.mm-ddt__img{width:100%;max-width:150px;margin:0 auto}}
.mm-ddt__txt{min-width:0;flex:1}
.mm-ddt__lead{margin:0 0 8px;font-weight:900;font-size:18px;display:flex;align-items:center;gap:10px}
@media(max-width:767px){.mm-ddt__lead{font-size:16px}}
.mm-ddt__desc{margin:0;font-size:13px;color:#4b5563;line-height:1.7}

.mm-badge{display:inline-block;background:#111827;color:#fff;font-weight:900;font-size:12px;padding:4px 10px;border-radius:8px}
.mm-badge--red{background:var(--red)}

.mm-stepcard{
  background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px;box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;min-height:100%;transition:box-shadow .2s;
}
.mm-stepcard:hover{box-shadow:var(--shadow)}
.mm-stepcard__ph{aspect-ratio:1/1;border-radius:10px;background:#f3f4f6;border:1px solid var(--border);margin:0 0 10px}
.mm-stepcard__h{margin:0 0 8px;font-size:13px;font-weight:900;color:#111827;border-bottom:1px solid #f3f4f6;padding:0 0 8px}
.mm-stepcard__p{margin:0 0 10px;font-size:12px;color:#4b5563;line-height:1.6}
.mm-chip{
  display:block;font-size:10px;font-weight:900;color:var(--muted);background:#f3f4f6;border-radius:8px;padding:6px 10px;
  text-align:center;margin-top:auto;
}
.mm-chip--red{background:#fee2e2;color:#dc2626}
.mm-chip--green{background:#dcfce7;color:#16a34a}

.mm-howcard{
  position:relative;background:#fff;border:2px solid var(--border);border-radius:12px;padding:14px;box-shadow:var(--shadow-sm);text-align:center;
}
.mm-howcard--important{border-color:#fee2e2}
.mm-important{
  position:absolute;top:-10px;left:50%;transform:translateX(-50%);
  background:var(--red);color:#fff;font-size:10px;font-weight:900;padding:4px 10px;border-radius:999px;box-shadow:var(--shadow-sm);
}
.mm-howcard__top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 10px}
.mm-howcard__top p{margin:0;font-weight:900;color:#111827;font-size:13px}
.mm-pillstep{font-size:12px;font-weight:900;color:#fff;padding:6px 12px;border-radius:999px}
.mm-pillstep--dark{background:#111827}
.mm-pillstep--red{background:#dc2626}
.mm-pillstep--blue{background:#2563eb}
.mm-pillstep--green{background:#16a34a}
.mm-howcard__ph{background:#f3f4f6;border:1px solid #d1d5db;border-radius:10px;aspect-ratio:16/9;margin:0 0 10px}
.mm-howcard__txt{
  margin:0;text-align:left;font-size:13px;color:#374151;line-height:1.6;
  background:#f9fafb;border-radius:10px;padding:10px;
}
.mm-howcard--important .mm-howcard__txt{background:#fef2f2}

.mm-acc-head{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #f3f4f6;padding:0 0 10px;margin:0 0 10px}
.mm-acc-title{margin:0;font-size:13px;font-weight:900;color:#111827;padding-left:10px;border-left:4px solid var(--teal)}
.mm-acc-title--purple{border-left-color:var(--purple)}
.mm-acc-title--pink{border-left-color:var(--pink)}
.mm-acc-title--green{border-left-color:#22c55e}
.mm-acc-btn{
  font-size:12px;font-weight:900;border:1px solid var(--teal);background:#fff;
  color:var(--teal-700);padding:6px 12px;border-radius:999px;cursor:pointer;
}
.mm-acc-btn:hover{background:#ecfeff}
.mm-acc-btn--purple{color:var(--purple);border-color:var(--purple)}
.mm-acc-btn--purple:hover{background:#f5f3ff}
.mm-acc-btn--pink{color:var(--pink);border-color:var(--pink)}
.mm-acc-btn--pink:hover{background:#fdf2f8}
.mm-acc-btn--green{color:var(--green);border-color:var(--green)}
.mm-acc-btn--green:hover{background:#f0fdf4}

.mm-tip{background:#fefce8;border:1px solid #fde68a;border-radius:10px;padding:10px 12px;font-size:12px;color:#92400e;margin:10px 0 8px}
.mm-tip i{margin-right:6px}

.mm-panel{background:#f9fafb;border:1px solid #f3f4f6;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:14px}
.mm-panel__h{margin:0 0 8px;font-weight:900;color:#6d28d9;border-bottom:1px solid #ede9fe;padding:0 0 6px}
.mm-stage{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;color:#374151;font-size:12px}
.mm-tag{display:inline-block;font-size:10px;font-weight:900;background:#e5e7eb;color:#374151;padding:2px 8px;border-radius:6px;margin-right:8px}
.mm-tag--y{background:#fef9c3;color:#92400e}
.mm-tag--r{background:#fee2e2;color:#dc2626}

.mm-info{background:#f9fafb;border:1px solid var(--border);border-radius:12px;padding:14px}
.mm-info__h{margin:0 0 8px;font-weight:900;font-size:13px;color:#4b5563;border-bottom:1px solid #d1d5db;padding:0 0 6px}
.mm-info__big{margin:10px 0 0;font-size:26px;font-weight:900;color:#111827}
.mm-info__big span{font-size:14px;font-weight:400;color:var(--muted)}
.mm-info__row{display:flex;align-items:center;gap:10px;margin-top:10px}
.mm-info__row p{margin:0;font-size:12px;font-weight:900;color:#374151}
.mm-info__mid{margin:10px 0 6px;font-size:18px;font-weight:900}

.mm-tool{border-radius:12px;overflow:hidden;box-shadow:var(--shadow);background:#111827;color:#fff}
.mm-tool__head{background:#0b1220;padding:16px;border-bottom:1px solid #374151;display:flex;justify-content:space-between;align-items:center}
.mm-tool__head h3{margin:0;font-size:16px;font-weight:900}
.mm-tool__head span{font-size:12px;color:#9ca3af;font-weight:900}
.mm-tool__body{padding:16px}
.mm-tool__row{display:flex;gap:16px;margin:0 0 14px}
@media(max-width:767px){.mm-tool__row{flex-direction:column}}
.mm-field{flex:1}
.mm-field label{display:block;font-size:12px;font-weight:900;color:#d1d5db;margin:0 0 8px}
.mm-field input{
  width:100%;padding:12px;border-radius:10px;border:none;outline:none;
  font-weight:900;color:#111827;background:#f3f4f6;
}
.mm-field input:focus{box-shadow:0 0 0 3px rgba(20,184,166,.35);background:#fff}
.mm-btn{
  width:100%;border:none;cursor:pointer;border-radius:12px;padding:14px 16px;background:var(--teal);color:#fff;
  font-weight:900;box-shadow:var(--shadow);transition:transform .12s,background .12s;
}
.mm-btn:hover{background:#2dd4bf;transform:scale(1.01)}
.mm-result{margin-top:14px;background:#374151;border:1px solid #4b5563;border-radius:12px;padding:14px;text-align:center}
.mm-result__cap{margin:0 0 6px;color:#d1d5db;font-size:12px;font-weight:900}
.mm-result__big{margin:0;font-size:28px;font-weight:900}
.mm-result__verdict{margin:0;font-size:16px;font-weight:900;color:#fde047}
.mm-divider{height:1px;background:#4b5563;margin:10px 0}

.mm-colorcard{text-align:center}
.mm-color{
  border-radius:12px;border:2px solid var(--border);aspect-ratio:16/9;
  display:flex;align-items:center;justify-content:center;font-weight:900;font-size:12px;margin:0 0 8px;
}
.mm-color--blue{background:#dbeafe;border-color:#bfdbfe;color:#1e40af}
.mm-color--yellow{background:#fef9c3;border-color:#fde68a;color:#92400e}
.mm-color--green{background:#dcfce7;border-color:#bbf7d0;color:#166534}
.mm-color--purple{background:#ede9fe;border-color:#ddd6fe;color:#5b21b6}
.mm-color--rainbow{background:linear-gradient(90deg,#fecaca,#fde68a,#bfdbfe);border-color:#d1d5db;color:#111827;box-shadow:var(--shadow-sm)}

.mm-hr{border-top:1px solid var(--border);margin:18px 0}

.mm-trophy{list-style:none;padding:0;margin:10px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:12px;color:#374151}
@media(min-width:768px){.mm-trophy{grid-template-columns:repeat(4,1fr)}}
.mm-trophy li{background:#f9fafb;border-radius:10px;padding:8px 10px;border:1px solid #f3f4f6}

.mm-freeze{
  position:relative;border-radius:12px;padding:18px;background:linear-gradient(135deg,#1f2937,#000);
  color:#fff;border:1px solid #374151;box-shadow:var(--shadow);overflow:hidden;
}
.mm-freeze__glow{position:absolute;right:-20px;top:-20px;width:140px;height:140px;background:#a855f7;border-radius:999px;filter:blur(60px);opacity:.2}
.mm-freeze__top{position:relative;z-index:1;display:flex;gap:14px;align-items:flex-start;margin:0 0 14px}
.mm-freeze__top i{font-size:34px;color:#fde047;margin-top:2px;animation:pulse 1.6s infinite}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
.mm-freeze__name{margin:0 0 4px;font-size:20px;font-weight:900;color:#fde047}
.mm-freeze__box{
  position:relative;z-index:1;background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:14px;margin:0 0 10px;
}
.mm-freeze__h{margin:0 0 10px;font-weight:900;color:#67e8f9;border-bottom:1px solid rgba(255,255,255,.2);padding:0 0 6px}
.mm-freeze__list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.mm-freeze__list i{color:#fde047;font-size:11px;margin-right:8px}

.mm-faq{background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-sm);overflow:hidden}
.mm-faq__item{border-bottom:1px solid #f3f4f6}
.mm-faq__item:last-child{border-bottom:none}
.mm-faq__q{
  width:100%;text-align:left;border:none;background:#fff;padding:14px;
  font-weight:900;font-size:13px;color:#111827;
  display:flex;justify-content:space-between;align-items:center;cursor:pointer;
}
.mm-faq__q:hover{background:#f9fafb}
.mm-faq__q i{color:#9ca3af;font-size:12px;transition:transform .2s}
.mm-faq__a{padding:0 14px 14px 34px;font-size:12px;color:#4b5563;line-height:1.7}
.mm-q{color:var(--teal);font-weight:900;margin-right:8px}
.mm-a{color:var(--red);font-weight:900;margin-right:8px}

.mm-review-top{display:flex;gap:16px;align-items:stretch;border-bottom:1px solid #f3f4f6;padding-bottom:16px;margin-bottom:16px}
@media(max-width:767px){.mm-review-top{flex-direction:column}}
.mm-rating{flex:1;text-align:center;border-right:1px solid #f3f4f6;padding-right:16px}
@media(max-width:767px){.mm-rating{border-right:none;padding-right:0}}
.mm-rating__num{margin:6px 0;font-size:52px;font-weight:900;color:var(--yellow)}
.mm-rating__stars{color:#facc15;font-weight:900}
.mm-review-desc{flex:2;color:#4b5563;font-size:13px;display:flex;align-items:center}
.mm-review-desc p{margin:0;line-height:1.7}
.mm-review-list{display:flex;flex-direction:column;gap:12px;margin-bottom:14px}
.mm-review{background:#f9fafb;border:1px solid #f3f4f6;border-radius:12px;padding:14px}
.mm-review__head{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:8px}
.mm-review__head span{white-space:nowrap}
.mm-review__user{width:24px;height:24px;border-radius:999px;background:#d1d5db;color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;flex:0 0 auto}
.mm-review__stars{color:#facc15;font-weight:900;font-size:12px;margin-bottom:8px}
.mm-more{width:100%;border:none;background:#f3f4f6;color:var(--teal-700);font-weight:900;font-size:12px;border-radius:12px;padding:12px;cursor:pointer}
.mm-more:hover{background:#e5e7eb}

.mm-sidebar{display:flex;flex-direction:column;gap:18px;overflow-x:hidden}
.mm-sidecard{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow-sm)}
.mm-sidecard__head{
  padding:12px 14px;font-weight:900;color:#fff;font-size:14px;display:flex;align-items:center;gap:8px;
  border-left:4px solid var(--teal);
}
.mm-sidecard__head--dark{background:#222}
.mm-sidecard__head--dark i{color:var(--yellow)}
.mm-sidecard__head--slate{background:#3b4252}
.mm-sidecard__head--slate i{color:var(--yellow)}

.mm-tabs{display:flex;border-bottom:1px solid var(--border)}
.mm-tab{flex:1;padding:10px 8px;font-weight:900;font-size:12px;border:none;background:#fff;color:#6b7280;cursor:pointer;border-bottom:2px solid transparent}
.mm-tab:hover{background:#f9fafb}
.mm-tab.is-active{color:var(--teal-700);background:#f9fafb;border-bottom-color:var(--teal)}

.mm-rank__list{list-style:none;margin:0;padding:0}
.mm-rank__item{display:flex;gap:12px;padding:12px;align-items:flex-start;cursor:pointer;border-bottom:1px solid #f3f4f6}
.mm-rank__item:last-child{border-bottom:none}
.mm-rank__item:hover{background:#f9fafb}
.mm-thumb{position:relative;width:64px;height:40px;border-radius:8px;overflow:hidden;background:#e5e7eb;flex:0 0 auto}
.mm-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mm-thumb--plain{border-radius:8px}
.mm-badge-rank{
  position:absolute;left:0;top:0;width:18px;height:18px;display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:900;font-size:10px;border-radius:0 0 8px 0;z-index:2;
}
.mm-badge-rank--gold{background:var(--yellow)}
.mm-badge-rank--silver{background:#94a3b8}
.mm-badge-rank--bronze{background:#b45309}
.mm-rank__txt{min-width:0}
.mm-rank__title{margin:0;font-size:12px;font-weight:900;color:var(--teal-700)}
.mm-rank__item:hover .mm-rank__title{text-decoration:underline}

.mm-cal__date{background:#f0fdfa;border-bottom:1px solid var(--border);padding:10px 12px;font-size:12px;font-weight:900;color:#374151}
.mm-cal__list{list-style:none;margin:0;padding:0}
.mm-cal__item{display:flex;gap:12px;padding:12px;border-bottom:1px solid #f3f4f6;cursor:pointer}
.mm-cal__item:hover{background:#f9fafb}
.mm-cal__item:last-child{border-bottom:none}

.mm-ad{
  background:#e5e7eb;height:256px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;font-size:12px;color:#9ca3af;
}

.mm-related{background:#fff;border-top:1px solid var(--border);padding:40px 0}
.mm-related__h{margin:0 0 18px;font-size:18px;font-weight:900;color:#111827;border-left:4px solid var(--teal);padding-left:12px}
.mm-related__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media(min-width:768px){.mm-related__grid{grid-template-columns:repeat(4,1fr);gap:18px}}
.mm-related__item{text-decoration:none;color:#111827}
.mm-related__ph{background:#e5e7eb;border-radius:12px;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;font-size:12px;color:#9ca3af;margin:0 0 8px}
.mm-related__item p{margin:0;font-weight:900;font-size:14px}
.mm-related__item:hover p{color:var(--teal-700)}

.mm-footer{
  background:#222;
  border-top:1px solid #333;
  padding:36px 0;
  color:#d1d5db;
  font-size:13px;
}
.mm-footer__top{display:flex;flex-direction:column;gap:18px;margin-bottom:18px}
@media(min-width:768px){.mm-footer__top{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:24px}}
.mm-footer__brand p{
  margin:8px 0 0;
  font-size:12px;
  color:#d1d5db;
  line-height:1.7;
}
.mm-footer__links{display:flex;flex-wrap:wrap;gap:10px 18px;font-weight:900;font-size:12px;color:var(--muted)}
.mm-footer__links a{
  color:#e5e7eb;
  text-decoration:none;
}

.mm-footer__links a:hover{
  color:var(--teal);
}
.mm-footer__bottom{
  border-top:1px solid #333;
  padding-top:16px;
  text-align:center;
  font-size:12px;
  color:#9ca3af;
}

.mm-float{
  position:fixed;right:16px;bottom:96px;z-index:50;
  display:flex;flex-direction:column;align-items:flex-end;gap:10px;
}
.mm-float__toc{width:256px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}
.mm-float__toc-head{background:#f3f4f6;border-bottom:1px solid var(--border);padding:10px 12px;font-weight:900;font-size:12px;color:#374151}
.mm-float__toc-list{list-style:none;margin:0;padding:10px;display:flex;flex-direction:column;gap:6px;max-height:240px;overflow:auto}
.mm-float__toc-link{display:block;text-decoration:none;color:#4b5563;font-size:12px;padding:6px 8px;border-radius:8px}
.mm-float__toc-link:hover{background:#f9fafb;color:var(--teal)}
.mm-float__btns{display:flex;gap:10px}
.mm-fbtn{
  width:48px;height:48px;border-radius:999px;border:none;cursor:pointer;
  background:var(--teal);color:#fff;box-shadow:var(--shadow);
  transition:transform .12s,background .12s;
}
.mm-fbtn:hover{transform:scale(1.05);background:#0ea5a8}
.mm-fbtn--dark{background:#374151}
.mm-fbtn--dark:hover{background:#111827}

#app-wrapper,.mm-container,.mm-layout,.mm-content,.mm-sidebar{min-width:0}
.mm-sidebar *{min-width:0}
.mm-sidebar img,.mm-sidebar video,.mm-sidebar iframe,.mm-sidebar svg{max-width:100%;height:auto}

@media(max-width:767px){
  .mm-container{padding-left:8px;padding-right:8px}
  .mm-layout{padding-left:0;padding-right:0}
  .mm-article{padding:10px}
  .mm-article__title-sp{padding-left:0;padding-right:0}
  .mm-points,.mm-toc{margin-left:0;margin-right:0}
}


/* =========================================================
   SP：ロゴ・検索エリアの表示調整
   ========================================================= */

@media (max-width: 767px){

  .mm-header-top{
    display:none !important;
  }

  .mm-header-mobile{
    background:#222 !important;
    border:none !important;
  }

  .mm-header-mobile__logo{
    display:flex !important;
    justify-content:center;
    align-items:center;
    padding:7px 0;
    background:#222 !important;
    border-top:2px solid var(--teal) !important;
    border-bottom:1px solid #333 !important;
  }

  .mm-header-mobile__logo .mm-logo{
    height:30px;
    width:auto;
  }

  /* 検索帯は白のまま */
  .mm-header-mobile__search{
    background:#fff !important;
  }

  /* ロゴ画像 */
  .mm-logo{
    filter:brightness(1);
  }

  /* 検索フォーム周り（必要なら） */
  .mm-search{
    background:transparent !important;
  }

  /* 入力欄を白に（元は #f3f4f6 なので上書き） */
  .mm-search__input{
    background:#fff !important;
    border:1px solid #d1d5db !important;
  }

  /* フォーカス時も白のまま */
  .mm-search__input:focus{
    background:#fff !important;
  }


} /* @media (max-width: 767px) をここで終了 */


.mm-related__ph{
  overflow:hidden;
}

.mm-related__ph img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#fff;
}

.mm-related__maker{
  display:block;
  margin-top:4px;
  font-size:11px;
  color:var(--muted);
}

/* =========================================================
   6確 トップページ
   機種ページの既存デザインに統一
========================================================= */

.mm-home{
  background:var(--bg);
  color:var(--text);
  padding-bottom:32px;
}

.mm-home .mm-container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding-left:16px;
  padding-right:16px;
}

/* ファーストビュー：機種ページの黒基調ヘッダーに寄せる */
.mm-home-hero{
  position:relative;
  overflow:hidden;
  background:#222;
  color:#fff;
  border-top:2px solid var(--teal);
  border-bottom:1px solid #333;
  box-shadow:var(--shadow-sm);
}

.mm-home-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(20,184,166,.12),transparent 42%),
    linear-gradient(180deg,rgba(255,255,255,.03),rgba(0,0,0,.08));
  pointer-events:none;
}

.mm-home-hero__inner{
  position:relative;
  z-index:1;
  max-width:920px;
  margin:0 auto;
  padding:38px 0 32px;
  text-align:left;
}

.mm-home-hero__eyebrow{
  margin:0 0 8px;
  color:#5eead4;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
}

.mm-home-hero__title{
  margin:0;
  color:#fff;
  font-size:clamp(28px,4vw,44px);
  font-weight:900;
  line-height:1.3;
  letter-spacing:-.025em;
}

.mm-home-hero__lead{
  margin:12px 0 0;
  color:#d1d5db;
  font-size:14px;
  line-height:1.8;
}

/* 検索：既存検索フォームの雰囲気に合わせる */
.mm-home-search{
  max-width:720px;
  margin:24px 0 0;
}

.mm-home-search__box{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px;
  border:1px solid #4b5563;
  border-radius:10px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.mm-home-search__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  margin-left:8px;
  color:#9ca3af;
}

.mm-home-search__input{
  flex:1 1 auto;
  min-width:0;
  height:44px;
  padding:0 6px;
  border:0;
  outline:0;
  background:#fff;
  color:#111827;
  font-size:14px;
}

.mm-home-search__input::placeholder{
  color:#9ca3af;
}

.mm-home-search__button{
  flex:0 0 auto;
  min-width:92px;
  height:44px;
  border:0;
  border-radius:8px;
  background:var(--teal);
  color:#fff;
  cursor:pointer;
  font-size:13px;
  font-weight:900;
}

.mm-home-search__button:hover{
  background:#0d9488;
}

/* 各セクション */
.mm-home-section{
  padding:32px 0 0;
}

.mm-home-section--muted{
  background:transparent;
}

.mm-home-section--updates{
  padding-top:24px;
}

.mm-home-section--quick{
  padding-top:20px;
}

.mm-home-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
}

.mm-home-heading--compact{
  margin-bottom:12px;
}

.mm-home-heading__sub{
  margin:0 0 4px;
  color:var(--teal-700);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.mm-home-heading__title{
  margin:0;
  padding-left:10px;
  border-left:5px solid var(--teal);
  color:#1f2937;
  font-size:21px;
  font-weight:900;
  line-height:1.4;
}

.mm-home-heading__link{
  flex:0 0 auto;
  color:var(--teal-700);
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}

.mm-home-heading__link:hover{
  text-decoration:underline;
}

/* 更新情報：機種ページのサイドカード・一覧に合わせる */
.mm-update-list{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.mm-update-list__item{
  display:grid;
  grid-template-columns:92px 62px 68px minmax(0,1fr) 18px;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:10px 14px;
  border-bottom:1px solid #f3f4f6;
  color:#374151;
  text-decoration:none;
}

.mm-update-list__item:last-child{
  border-bottom:0;
}

.mm-update-list__item:hover{
  background:#f9fafb;
}

.mm-update-list__date{
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.mm-update-list__badge,
.mm-update-list__type{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:3px 7px;
  border-radius:6px;
  font-size:9px;
  font-weight:900;
}

.mm-update-list__badge--new{
  background:#dcfce7;
  color:#15803d;
}

.mm-update-list__badge--update{
  background:#fef3c7;
  color:#92400e;
}

.mm-update-list__type--slot{
  background:#e0f2fe;
  color:#0369a1;
}

.mm-update-list__type--pachinko{
  background:#fce7f3;
  color:#be185d;
}

.mm-update-list__title{
  overflow:hidden;
  color:#111827;
  font-size:13px;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.mm-update-list__arrow{
  color:var(--teal);
  font-size:21px;
  line-height:1;
}

/* 主要メニュー：機種ページのカードに統一 */
.mm-home-quick{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.mm-home-quick__item{
  position:relative;
  min-height:126px;
  padding:18px 38px 18px 18px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  color:#111827;
  text-decoration:none;
  box-shadow:var(--shadow-sm);
}

.mm-home-quick__item--slot,
.mm-home-quick__item--pachinko{
  background:#fff;
}

.mm-home-quick__item::after{
  position:absolute;
  top:50%;
  right:15px;
  color:#9ca3af;
  content:"›";
  font-size:26px;
  transform:translateY(-50%);
}

.mm-home-quick__item:hover{
  border-color:#99f6e4;
  background:#f0fdfa;
}

.mm-home-quick__label{
  display:block;
  margin-bottom:10px;
  color:var(--teal-700);
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}

.mm-home-quick__title{
  display:block;
  margin-bottom:7px;
  font-size:16px;
  font-weight:900;
}

.mm-home-quick__text{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  line-height:1.6;
}

/* 最新機種：既存の関連機種・記事カードに寄せる */
.mm-machine-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.mm-machine-card{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.mm-machine-card:hover{
  box-shadow:var(--shadow);
}

.mm-machine-card__link{
  display:block;
  height:100%;
  color:inherit;
  text-decoration:none;
}

.mm-machine-card__image{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:16/9;
  overflow:hidden;
  border-bottom:1px solid var(--border);
  background:#f3f4f6;
}

.mm-machine-card__image img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}

.mm-machine-card__placeholder{
  color:#9ca3af;
  font-size:11px;
  font-weight:900;
}

.mm-machine-card__type,
.mm-machine-card__status{
  position:absolute;
  top:9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:23px;
  padding:3px 8px;
  border-radius:6px;
  color:#fff;
  font-size:9px;
  font-weight:900;
}

.mm-machine-card__type{
  left:9px;
}

.mm-machine-card__status{
  right:9px;
  background:var(--teal);
}

.mm-machine-card__type--slot{
  background:#2563eb;
}

.mm-machine-card__type--pachinko{
  background:#db2777;
}

.mm-machine-card__body{
  padding:14px;
}

.mm-machine-card__maker{
  margin:0 0 5px;
  color:var(--muted);
  font-size:10px;
  font-weight:700;
}

.mm-machine-card__title{
  margin:0;
  color:#111827;
  font-size:14px;
  font-weight:900;
  line-height:1.55;
}

.mm-machine-card__meta{
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid #f3f4f6;
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}

/* 新台導入スケジュール */
.mm-schedule-list{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.mm-schedule-list__item{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) 18px;
  align-items:center;
  gap:14px;
  min-height:78px;
  padding:10px 14px;
  border-bottom:1px solid #f3f4f6;
  color:inherit;
  text-decoration:none;
}

.mm-schedule-list__item:last-child{
  border-bottom:0;
}

.mm-schedule-list__item:hover{
  background:#f9fafb;
}

.mm-schedule-list__date{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:58px;
  border:1px solid #ccfbf1;
  border-radius:8px;
  background:#f0fdfa;
}

.mm-schedule-list__month{
  color:var(--teal-700);
  font-size:9px;
  font-weight:900;
}

.mm-schedule-list__day{
  color:#111827;
  font-size:21px;
  line-height:1.05;
}

.mm-schedule-list__weekday{
  color:var(--muted);
  font-size:8px;
  font-weight:900;
}

.mm-schedule-list__labels{
  display:flex;
  align-items:center;
  gap:7px;
  margin-bottom:5px;
}

.mm-schedule-list__type{
  display:inline-flex;
  padding:3px 7px;
  border-radius:5px;
  font-size:9px;
  font-weight:900;
}

.mm-schedule-list__type--slot{
  background:#e0f2fe;
  color:#0369a1;
}

.mm-schedule-list__type--pachinko{
  background:#fce7f3;
  color:#be185d;
}

.mm-schedule-list__maker{
  color:var(--muted);
  font-size:10px;
  font-weight:700;
}

.mm-schedule-list__title{
  margin:0;
  color:#111827;
  font-size:14px;
  font-weight:900;
  line-height:1.5;
}

.mm-schedule-list__arrow{
  color:var(--teal);
  font-size:22px;
}

/* 解析メニュー */
.mm-link-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.mm-link-card{
  position:relative;
  min-height:96px;
  padding:16px 36px 16px 16px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  color:#111827;
  text-decoration:none;
  box-shadow:var(--shadow-sm);
}

.mm-link-card::after{
  position:absolute;
  top:50%;
  right:14px;
  color:#9ca3af;
  content:"›";
  font-size:23px;
  transform:translateY(-50%);
}

.mm-link-card:hover{
  border-color:#99f6e4;
  background:#f0fdfa;
}

.mm-link-card strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
  font-weight:900;
}

.mm-link-card span{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}

/* 初心者ガイド */
.mm-guide-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.mm-guide-card{
  min-height:150px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  color:inherit;
  text-decoration:none;
  box-shadow:var(--shadow-sm);
}

.mm-guide-card:hover{
  border-color:#99f6e4;
  background:#f0fdfa;
}

.mm-guide-card__number{
  display:block;
  margin-bottom:13px;
  color:var(--teal);
  font-size:10px;
  font-weight:900;
}

.mm-guide-card strong{
  display:block;
  margin-bottom:8px;
  color:#111827;
  font-size:16px;
  font-weight:900;
}

.mm-guide-card p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
  line-height:1.7;
}

/* サイト説明：フッターと同じ黒基調 */
.mm-home-about{
  margin-top:32px;
  padding:34px 0;
  border-top:1px solid #333;
  background:#222;
  color:#fff;
}

.mm-home-about__inner{
  max-width:860px;
}

.mm-home-about__label{
  margin:0 0 7px;
  color:#5eead4;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.mm-home-about__title{
  margin:0;
  font-size:23px;
  font-weight:900;
  line-height:1.45;
}

.mm-home-about__text{
  margin:14px 0 0;
  color:#d1d5db;
  font-size:13px;
  line-height:1.9;
}

/* 空表示 */
.mm-empty{
  padding:22px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  color:var(--muted);
  text-align:center;
  box-shadow:var(--shadow-sm);
}

.mm-empty p{
  margin:0;
  font-size:12px;
  font-weight:700;
}

@media(max-width:960px){
  .mm-home-quick{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .mm-machine-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .mm-link-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:767px){
  .mm-home .mm-container{
    padding-left:8px;
    padding-right:8px;
  }

  .mm-home-hero__inner{
    padding:28px 4px 24px;
  }

  .mm-home-hero__title{
    font-size:27px;
  }

  .mm-home-hero__lead{
    font-size:12px;
  }

  .mm-home-search{
    margin-top:18px;
  }

  .mm-home-search__box{
    border-radius:9px;
  }

  .mm-home-search__icon{
    display:none;
  }

  .mm-home-search__input{
    height:42px;
    padding:0 8px;
    font-size:13px;
  }

  .mm-home-search__button{
    min-width:72px;
    height:42px;
    font-size:12px;
  }

  .mm-home-section{
    padding-top:24px;
  }

  .mm-home-heading{
    align-items:flex-start;
    margin-bottom:11px;
  }

  .mm-home-heading__title{
    font-size:18px;
  }

  .mm-home-heading__link{
    margin-top:5px;
    font-size:10px;
  }

  .mm-update-list__item{
    grid-template-columns:76px 52px minmax(0,1fr) 14px;
    gap:6px;
    padding:9px 10px;
  }

  .mm-update-list__date{
    font-size:10px;
  }

  .mm-update-list__type{
    display:none;
  }

  .mm-update-list__title{
    font-size:11px;
  }

  .mm-home-quick{
    gap:8px;
  }

  .mm-home-quick__item{
    min-height:112px;
    padding:15px 30px 15px 14px;
  }

  .mm-home-quick__title{
    font-size:14px;
  }

  .mm-home-quick__text{
    font-size:10px;
  }

  .mm-machine-grid{
    gap:10px;
  }

  .mm-machine-card__body{
    padding:11px;
  }

  .mm-machine-card__title{
    font-size:12px;
  }

  .mm-schedule-list__item{
    grid-template-columns:55px minmax(0,1fr) 14px;
    gap:10px;
    padding:8px 10px;
  }

  .mm-schedule-list__date{
    min-height:53px;
  }

  .mm-schedule-list__title{
    font-size:12px;
  }

  .mm-link-grid{
    gap:8px;
  }

  .mm-link-card{
    min-height:88px;
    padding:14px 30px 14px 13px;
  }

  .mm-link-card strong{
    font-size:13px;
  }

  .mm-link-card span{
    font-size:10px;
  }

  .mm-guide-grid{
    grid-template-columns:1fr;
    gap:9px;
  }

  .mm-guide-card{
    min-height:auto;
    padding:15px;
  }

  .mm-home-about{
    padding:28px 0;
  }

  .mm-home-about__title{
    font-size:19px;
  }

  .mm-pc-only{
    display:none;
  }
}

@media(max-width:420px){
  .mm-home-quick,
  .mm-machine-grid,
  .mm-link-grid{
    grid-template-columns:1fr;
  }

  .mm-home-heading{
    display:block;
  }

  .mm-home-heading__link{
    display:inline-block;
    margin-top:7px;
  }
}


/* =========================================================
   新台導入日一覧ページ
   Template: page-new-machine.php
========================================================= */

.mm-new-machine-page {
  padding-bottom: 64px;
}

.mm-new-machine-page *,
.mm-new-machine-page *::before,
.mm-new-machine-page *::after {
  box-sizing: border-box;
}

/* パンくず */
.mm-new-machine-page .mm-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  color: #6b7280;
  font-size: 13px;
}

.mm-new-machine-page .mm-breadcrumb a {
  color: #374151;
  text-decoration: none;
}

.mm-new-machine-page .mm-breadcrumb a:hover {
  text-decoration: underline;
}

/* ページヒーロー */
.mm-new-machine-page .mm-page-hero {
  margin-bottom: 28px;
  background: linear-gradient(
    135deg,
    #1f2937 0%,
    #374151 100%
  );
  color: #fff;
}

.mm-new-machine-page .mm-page-hero__inner {
  padding: 34px 32px;
}

.mm-new-machine-page .mm-page-hero__eyebrow {
  margin: 0 0 8px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.mm-new-machine-page .mm-page-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.35;
}

.mm-new-machine-page .mm-page-hero__description {
  max-width: 760px;
  margin: 14px 0 0;
  color: #e5e7eb;
  font-size: 15px;
  line-height: 1.9;
}

/* メイン＋サイドバー */
.mm-new-machine-page .mm-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.mm-new-machine-page .mm-content-layout__main,
.mm-new-machine-page .mm-content-layout__sidebar {
  min-width: 0;
}

/* 月別ナビ */
.mm-new-machine-page .mm-new-month-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.mm-new-machine-page .mm-new-month-nav a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.mm-new-machine-page .mm-new-month-nav a:hover {
  border-color: #2563eb;
  background: #eff6ff;
  transform: translateY(-1px);
}

/* 共通見出し */
.mm-new-machine-page .mm-section-title {
  margin: 40px 0 22px;
  padding-left: 12px;
  border-left: 5px solid #374151;
  color: #111827;
  font-size: 21px;
  line-height: 1.5;
}

.mm-new-machine-page .mm-section-heading {
  margin: 0;
  padding: 12px 14px;
  font-size: 18px;
  line-height: 1.5;
}

.mm-new-machine-page .mm-section-heading--dark {
  border-radius: 8px 8px 0 0;
  background: #374151;
  color: #fff;
}

.mm-new-machine-page .mm-section-heading__icon {
  margin-right: 5px;
}

/* 今月注目の新台 */
.mm-new-machine-page .mm-featured-new {
  overflow: hidden;
  margin-bottom: 34px;
  border: 1px solid #d9dee7;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.mm-new-machine-page .mm-featured-new__body {
  padding: 20px 18px;
  background: repeating-linear-gradient(
    0deg,
    #fff,
    #fff 3px,
    #fbfbfb 3px,
    #fbfbfb 6px
  );
}

.mm-new-machine-page .mm-featured-new__body p {
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
}

.mm-new-machine-page .mm-featured-new__body p + p {
  margin-top: 14px;
}

.mm-new-machine-page .mm-featured-new__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mm-new-machine-page .mm-featured-new__links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* 月ごとの新台セクション */
.mm-new-machine-page .mm-new-machine-section {
  scroll-margin-top: 100px;
  margin-top: 42px;
}

.mm-new-machine-page .mm-new-machine-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid #374151;
}

.mm-new-machine-page .mm-new-machine-section__label {
  display: block;
  margin-bottom: 4px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.mm-new-machine-page .mm-new-machine-section__heading h2 {
  margin: 0;
  color: #111827;
  font-size: 23px;
  line-height: 1.5;
}

.mm-new-machine-page .mm-new-machine-section__count {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
}

/* 導入日ごとのグループ */
.mm-new-machine-page .mm-new-date-group + .mm-new-date-group {
  margin-top: 30px;
}

.mm-new-machine-page .mm-new-date-group__title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: #374151;
  font-size: 16px;
  line-height: 1.5;
}

.mm-new-machine-page .mm-new-date-group__title span {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 6px;
  background: #374151;
  color: #fff;
}

/* 新台カード一覧 */


.mm-new-machine-page .mm-new-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dfe4ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.04);
}

.mm-new-machine-page .mm-new-card__image {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #f4f6f9;
  text-decoration: none;
}

.mm-new-machine-page .mm-new-card__image img {
  display: block;
  width: 100%;
  max-width: 96px;
  height: auto;
  max-height: 170px;
  object-fit: contain;
}

.mm-new-machine-page .mm-new-card__no-image {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}





.mm-new-machine-page .mm-new-card__badge {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}



.mm-new-machine-page .mm-new-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}



.mm-new-machine-page .mm-new-card__title a:hover {
  color: #2563eb;
}







.mm-new-machine-page .mm-new-card__info dt {
  color: #6b7280;
  font-weight: 700;
}

.mm-new-machine-page .mm-new-card__info dd {
  margin: 0;
  color: #111827;
  font-weight: 700;
}

.mm-new-machine-page .mm-new-card__button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 8px 10px;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.mm-new-machine-page .mm-new-card__button:hover {
  background: #1d4ed8;
  color: #fff;
}

/* 情報なし表示 */




/* アンケート */
.mm-new-machine-page .mm-new-poll {
  scroll-margin-top: 100px;
}



.mm-new-machine-page .mm-poll-box__header {
  padding: 13px 15px;
  background: #2563eb;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}













.mm-new-machine-page .mm-poll-item__button {
  flex: 0 0 auto;
  min-width: 54px;
  min-height: 37px;
  padding: 7px 12px;
  border: 0;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.mm-new-machine-page .mm-poll-item__button:hover {
  background: #1d4ed8;
}

.mm-new-machine-page .mm-poll-item__button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}





.mm-new-machine-page .mm-poll-item__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2563eb;
  transition: width 0.35s ease;
}





.mm-new-machine-page .mm-poll-message {
  min-height: 24px;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
}





/* タブレット */
@media (max-width: 1100px) {
  .mm-new-machine-page .mm-content-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 20px;
  }

  .mm-new-machine-page .mm-new-card-grid {
    grid-template-columns: 1fr;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .mm-new-machine-page {
    padding-bottom: 40px;
  }

  .mm-new-machine-page .mm-page-hero {
    margin-bottom: 20px;
  }

  .mm-new-machine-page .mm-page-hero__inner {
    padding: 25px 18px;
  }

  .mm-new-machine-page .mm-page-hero__description {
    font-size: 14px;
    line-height: 1.8;
  }

  .mm-new-machine-page .mm-content-layout {
    display: block;
  }

  .mm-new-machine-page .mm-content-layout__sidebar {
    margin-top: 36px;
  }

  .mm-new-machine-page .mm-new-month-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-new-machine-page .mm-featured-new__body {
    padding: 17px 15px;
  }

  .mm-new-machine-page .mm-featured-new__body p {
    font-size: 14px;
    line-height: 1.9;
  }

  .mm-new-machine-page .mm-new-machine-section {
    margin-top: 34px;
  }

  .mm-new-machine-page .mm-new-machine-section__heading {
    align-items: flex-start;
  }

  .mm-new-machine-page .mm-new-machine-section__heading h2 {
    font-size: 20px;
  }

  .mm-new-machine-page .mm-new-card-grid {
    grid-template-columns: 1fr;
  }

  .mm-new-machine-page .mm-new-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .mm-new-machine-page .mm-new-card__image {
    min-height: 178px;
    padding: 8px;
  }

  .mm-new-machine-page .mm-new-card__image img {
    max-width: 84px;
    max-height: 155px;
  }

  .mm-new-machine-page .mm-new-card__body {
    padding: 12px;
  }

  .mm-new-machine-page .mm-new-card__title {
    font-size: 15px;
  }

  .mm-new-machine-page .mm-poll-box__body {
    padding: 15px;
  }

  .mm-new-machine-page .mm-poll-item {
    padding: 11px 12px;
  }

  .mm-new-machine-page .mm-poll-item__top strong {
    font-size: 13px;
  }
}


/* =========================================================
   新台導入日一覧：最終統合版
   shindai.php は既存ヘッダー／mm-layout／get_sidebar()を使用
========================================================= */

.mm-new-machine-page {
  padding-bottom: 8px;
}

.mm-new-page-header {
  margin-bottom: 24px;
}

.mm-new-page-header__en {
  margin: 0 0 7px;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.mm-new-page-header__description {
  margin: 14px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.9;
}

/* 旧独自レイアウトを完全に無効化 */
.mm-new-machine-page .mm-content-layout,
.mm-new-machine-page .mm-content-layout__main,
.mm-new-machine-page .mm-content-layout__sidebar,
.mm-new-machine-page .mm-page-hero,
.mm-new-machine-page .mm-page-hero__inner,
.mm-new-machine-page .mm-page-hero__eyebrow,
.mm-new-machine-page .mm-page-hero__title,
.mm-new-machine-page .mm-page-hero__description {
  all: unset;
}

/* 月ナビ */
.mm-new-machine-page .mm-new-month-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px;
}

.mm-new-machine-page .mm-new-month-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.mm-new-machine-page .mm-new-month-nav a:hover {
  border-color: var(--teal);
  background: #f0fdfa;
  color: var(--teal-700);
}

/* 今月注目 */
.mm-new-machine-page .mm-featured-new {
  overflow: hidden;
  margin: 0 0 34px;
  border: 1px solid #d9dee7;
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mm-new-machine-page .mm-section-heading {
  margin: 0;
  padding: 12px 14px;
  font-size: 17px;
  line-height: 1.5;
}

.mm-new-machine-page .mm-section-heading--dark {
  background: #3b4252;
  color: #fff;
}

.mm-new-machine-page .mm-featured-new__body {
  padding: 18px;
  background: repeating-linear-gradient(0deg,#fff,#fff 3px,#fbfbfb 3px,#fbfbfb 6px);
}

.mm-new-machine-page .mm-featured-new__body p {
  margin: 0;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.mm-new-machine-page .mm-featured-new__body p + p {
  margin-top: 12px;
}

.mm-new-machine-page .mm-featured-new__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mm-new-machine-page .mm-featured-new__links a {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfeff;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

/* 月セクション */
.mm-new-machine-page .mm-new-machine-section {
  margin-top: 40px;
  scroll-margin-top: 100px;
}

.mm-new-machine-page .mm-new-machine-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 11px;
  border-bottom: 3px solid #374151;
}

.mm-new-machine-page .mm-new-machine-section__label {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-700);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.mm-new-machine-page .mm-new-machine-section__heading h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.45;
}

.mm-new-machine-page .mm-new-machine-section__count {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #374151;
  font-size: 12px;
  font-weight: 900;
}

.mm-new-machine-page .mm-new-date-group + .mm-new-date-group {
  margin-top: 28px;
}

.mm-new-machine-page .mm-new-date-group__title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: #374151;
  font-size: 15px;
  line-height: 1.5;
}

.mm-new-machine-page .mm-new-date-group__title span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 6px;
  background: #374151;
  color: #fff;
}

/* 新台カード */
.mm-new-machine-page .mm-new-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mm-new-machine-page .mm-new-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dfe4ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mm-new-machine-page .mm-new-card__image {
  display: flex;
  min-height: 188px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #f4f6f9;
  text-decoration: none;
}

.mm-new-machine-page .mm-new-card__image img {
  display: block;
  width: 100%;
  max-width: 96px;
  height: auto;
  max-height: 168px;
  object-fit: contain;
}

.mm-new-machine-page .mm-new-card__no-image {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.mm-new-machine-page .mm-new-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 14px;
}

.mm-new-machine-page .mm-new-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.mm-new-machine-page .mm-new-card__badge {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.mm-new-machine-page .mm-new-card__badge--type {
  background: #374151;
}

.mm-new-machine-page .mm-new-card__title {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.mm-new-machine-page .mm-new-card__title a {
  color: #111827;
  text-decoration: none;
}

.mm-new-machine-page .mm-new-card__title a:hover {
  color: var(--teal-700);
}

.mm-new-machine-page .mm-new-card__maker {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 12px;
}

.mm-new-machine-page .mm-new-card__info {
  margin: 12px 0 0;
}

.mm-new-machine-page .mm-new-card__info div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #edf0f4;
  font-size: 12px;
}

.mm-new-machine-page .mm-new-card__info dt {
  color: #6b7280;
  font-weight: 900;
}

.mm-new-machine-page .mm-new-card__info dd {
  margin: 0;
  color: #111827;
  font-weight: 900;
}

.mm-new-machine-page .mm-new-card__button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.mm-new-machine-page .mm-new-card__button:hover {
  background: var(--teal-700);
  color: #fff;
}

.mm-new-machine-page .mm-empty-box {
  padding: 22px;
  border: 1px solid #dfe4ec;
  border-radius: 9px;
  background: #f8fafc;
  color: #374151;
  text-align: center;
}

.mm-new-machine-page .mm-empty-box p {
  margin: 7px 0 0;
  color: #6b7280;
  font-size: 13px;
}

/* アンケート */
.mm-new-machine-page .mm-new-poll {
  margin-top: 38px;
  scroll-margin-top: 100px;
}

.mm-new-machine-page .mm-section-title {
  margin: 0 0 20px;
  padding-left: 10px;
  border-left: 5px solid #374151;
  color: #111827;
  font-size: 20px;
  line-height: 1.5;
}

.mm-new-machine-page .mm-poll-box {
  overflow: hidden;
  border: 1px solid #d9dee7;
  border-radius: 9px;
  background: #fff;
}

.mm-new-machine-page .mm-poll-box__header {
  padding: 13px 15px;
  background: var(--teal);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.mm-new-machine-page .mm-poll-box__body {
  padding: 20px;
}

.mm-new-machine-page .mm-poll-box__body h3 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 17px;
  line-height: 1.6;
}

.mm-new-machine-page .mm-poll-list {
  display: grid;
  gap: 11px;
}

.mm-new-machine-page .mm-poll-item {
  padding: 12px 15px;
  border: 1px solid #dfe4ec;
  border-radius: 9px;
  background: #f8fafc;
}

.mm-new-machine-page .mm-poll-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mm-new-machine-page .mm-poll-item__top strong {
  color: #172033;
  font-size: 14px;
  line-height: 1.5;
}

.mm-new-machine-page .mm-poll-item__button {
  flex: 0 0 auto;
  min-width: 54px;
  min-height: 37px;
  padding: 7px 12px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.mm-new-machine-page .mm-poll-item__button:hover {
  background: var(--teal-700);
}

.mm-new-machine-page .mm-poll-item__button:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.mm-new-machine-page .mm-poll-item__result {
  margin-top: 9px;
}

.mm-new-machine-page .mm-poll-item__bar {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
}

.mm-new-machine-page .mm-poll-item__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width .35s ease;
}

.mm-new-machine-page .mm-poll-item__numbers {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 5px;
  color: #6b7280;
  font-size: 11px;
}

.mm-new-machine-page .mm-poll-total {
  margin: 16px 0 0;
  color: #6b7280;
  font-size: 12px;
  text-align: right;
}

.mm-new-machine-page .mm-poll-message {
  min-height: 24px;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 900;
}

.mm-new-machine-page .mm-poll-message.is-success { color: #15803d; }
.mm-new-machine-page .mm-poll-message.is-error { color: #dc2626; }

@media (max-width: 1100px) {
  .mm-new-machine-page .mm-new-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .mm-new-page-header {
    margin-bottom: 20px;
  }

  .mm-new-page-header__description {
    font-size: 13px;
    line-height: 1.8;
  }

  .mm-new-machine-page .mm-new-month-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-new-machine-page .mm-featured-new__body {
    padding: 16px 14px;
  }

  .mm-new-machine-page .mm-new-machine-section {
    margin-top: 34px;
  }

  .mm-new-machine-page .mm-new-machine-section__heading {
    align-items: flex-start;
  }

  .mm-new-machine-page .mm-new-machine-section__heading h2 {
    font-size: 19px;
  }

  .mm-new-machine-page .mm-new-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .mm-new-machine-page .mm-new-card__image {
    min-height: 176px;
    padding: 8px;
  }

  .mm-new-machine-page .mm-new-card__image img {
    max-width: 84px;
    max-height: 154px;
  }

  .mm-new-machine-page .mm-new-card__body {
    padding: 12px;
  }

  .mm-new-machine-page .mm-poll-box__body {
    padding: 15px;
  }
}


/* =========================================================
   新台導入日一覧：メイン画像と概要の表示調整
========================================================= */

.mm-new-machine-page .mm-new-page-visual {
  aspect-ratio: auto;
  min-height: 0;
  margin: 14px 0 18px;
  background: #111827;
  border-radius: 10px;
}

.mm-new-machine-page .mm-new-page-visual .mm-visual__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.mm-new-machine-page .mm-new-page-summary {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: #f8fafc;
}

.mm-new-machine-page .mm-new-page-summary p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 767px) {
  .mm-new-machine-page .mm-new-page-visual {
    margin: 12px 0 14px;
    border-radius: 8px;
  }

  .mm-new-machine-page .mm-new-page-summary {
    margin-bottom: 18px;
    padding: 12px 13px;
  }

  .mm-new-machine-page .mm-new-page-summary p {
    font-size: 13px;
    line-height: 1.8;
  }
}


/* =========================================================
   トップページ・スマホ：ランキングタブと筐体画像の調整
========================================================= */

@media (max-width: 767px) {

  /* タブ外枠を過度な丸型から、内側ボタンと合う角丸に変更 */
  .mm-home .mm-sidebar .mm-tabs {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
    border: 1px solid #dbe3ef;
    border-radius: 11px;
    background: #f8fafc;
    overflow: hidden;
  }

  .mm-home .mm-sidebar .mm-tab {
    flex: 0 0 auto;
    min-width: 78px;
    padding: 9px 14px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    line-height: 1;
  }

  .mm-home .mm-sidebar .mm-tab:hover {
    background: #eef2f7;
  }

  .mm-home .mm-sidebar .mm-tab.is-active {
    border-bottom-color: transparent;
    border-radius: 7px;
    background: var(--teal);
    color: #fff;
    box-shadow: 0 3px 8px rgba(20,184,166,.22);
  }

  /* ランキングカード内の筐体画像と枠の間に余白を確保 */
  .mm-home .mm-sidebar .mm-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 92px;
    flex: 0 0 76px;
    padding: 7px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
  }

  .mm-home .mm-sidebar .mm-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
  }

  .mm-home .mm-sidebar .mm-rank__item {
    gap: 12px;
    padding: 12px;
    align-items: center;
  }
}


/* =========================================================
   スマホ：サイドバーランキングの最終上書き
   ※ .mm-home 配下に限定しない。固定ページ・一覧ページでも適用。
========================================================= */

@media (max-width: 767px) {

  /* タブ全体 */
  .mm-sidebar .mm-tabs {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    gap: 4px !important;
    padding: 4px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    overflow: visible !important;
  }

  /* 各タブ */
  .mm-sidebar .mm-tab {
    flex: 0 0 auto !important;
    min-width: 78px !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #64748b !important;
    line-height: 1 !important;
  }

  .mm-sidebar .mm-tab.is-active {
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 6px !important;
    background: var(--teal) !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(20,184,166,.22) !important;
  }

  /* ランキング1件の余白 */
  .mm-sidebar .mm-rank__item {
    gap: 12px !important;
    padding: 12px !important;
    align-items: center !important;
  }

  /* 筐体画像の外枠 */
  .mm-sidebar .mm-thumb {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 82px !important;
    height: 104px !important;
    flex: 0 0 82px !important;
    padding: 10px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 9px !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  /* 筐体画像本体 */
  .mm-sidebar .mm-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 62px !important;
    max-height: 84px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
  }

  /* 順位バッジが画像余白を潰さないよう少し内側へ */
  .mm-sidebar .mm-badge-rank {
    left: 4px !important;
    top: 4px !important;
    border-radius: 999px !important;
  }
}


/* =========================================================
   スマホ：人気機種ランキング最終修正
   トップページ本体・サイドバーの両方に適用
========================================================= */

@media (max-width: 767px) {

  /* タブ外枠：カプセル型をやめる */
  .mm-tabs,
  .mm-sidecard .mm-tabs,
  .mm-home .mm-tabs {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    gap: 4px !important;
    padding: 4px !important;
    margin: 0 !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
  }

  /* タブ本体 */
  .mm-tab,
  .mm-sidecard .mm-tab,
  .mm-home .mm-tab {
    flex: 0 0 auto !important;
    min-width: 78px !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: #64748b !important;
    line-height: 1 !important;
  }

  .mm-tab.is-active,
  .mm-sidecard .mm-tab.is-active,
  .mm-home .mm-tab.is-active {
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 5px !important;
    background: var(--teal) !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(20,184,166,.22) !important;
  }

  /* ランキング項目 */
  .mm-rank__item,
  .mm-sidecard .mm-rank__item,
  .mm-home .mm-rank__item {
    box-sizing: border-box !important;
  }

  /* 筐体画像エリア：枠と画像の間に余白を作る */
  .mm-thumb,
  .mm-sidecard .mm-thumb,
  .mm-home .mm-thumb {
    box-sizing: border-box !important;
    padding: 10px !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .mm-thumb img,
  .mm-sidecard .mm-thumb img,
  .mm-home .mm-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
  }

  /* 横型リストで使われる場合 */
  .mm-rank__item:not([style*="display: block"]) .mm-thumb {
    min-width: 76px !important;
    min-height: 94px !important;
  }

  /* カード型ランキングで使われる場合 */
  .mm-rank__item .mm-thumb[style],
  .mm-rank__item > .mm-thumb:first-child {
    border-bottom-color: #e5e7eb !important;
  }

  /* 順位バッジを画像に密着させない */
  .mm-badge-rank {
    left: 7px !important;
    top: 7px !important;
  }
}


/* =========================================================
   トップページ本文：人気機種ランキング最終修正
   対象クラス：
   .mm-home-tabs / .mm-home-tab
   .mm-home-rank__image
========================================================= */

@media (max-width: 767px) {

  /* 外枠を内側タブに合わせた角丸へ変更 */
  .mm-home-tabs {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    gap: 4px !important;
    padding: 4px !important;
    margin: 0 0 16px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
  }

  .mm-home-tab {
    flex: 0 0 auto !important;
    min-width: 78px !important;
    min-height: 38px !important;
    padding: 9px 14px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .mm-home-tab.is-active {
    border-radius: 6px !important;
    background: var(--teal) !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(20,184,166,.22) !important;
  }

  /* ランキングカードの筐体画像表示領域 */
  .mm-home-rank__image {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 116px !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid var(--border) !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .mm-home-rank__image img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
    background: transparent !important;
  }
}

/* PCでも筐体画像が枠へ密着しないようにする */
@media (min-width: 768px) {
  .mm-home-rank__image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: #fff;
  }

  .mm-home-rank__image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    object-position: center;
  }
}


/* =========================================================
   トップページ：最新の解析機種の筐体画像余白
========================================================= */

.mm-machine-card__image {
  padding: 14px !important;
  background: #fff !important;
}

.mm-machine-card__image img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

@media (max-width: 767px) {
  .mm-machine-card__image {
    padding: 10px 12px !important;
  }

  .mm-machine-card__image img {
    max-width: calc(100% - 4px) !important;
    max-height: calc(100% - 4px) !important;
  }
}


/* =========================================================
   トップページ：最新の解析機種
   実際の使用クラス .mm-home-machine-card__image に適用
========================================================= */

.mm-home-machine-card__image {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 170px !important;
  padding: 14px !important;
  border-bottom: 1px solid var(--border) !important;
  background: #fff !important;
  overflow: hidden !important;
}

.mm-home-machine-card__image img {
  display: block !important;
  width: auto !important;
  max-width: calc(100% - 8px) !important;
  height: auto !important;
  max-height: 142px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

@media (max-width: 767px) {
  .mm-home-machine-card__image {
    min-height: 118px !important;
    padding: 10px 12px !important;
  }

  .mm-home-machine-card__image img {
    max-width: calc(100% - 6px) !important;
    max-height: 96px !important;
  }
}


/* =========================================================
   トップページ：人気機種ランキング画像エリアの余白を適正化
   以前追加した min-height / aspect-ratio の影響をリセット
========================================================= */

@media (max-width: 767px) {
  .mm-home-rank__image {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 166px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .mm-home-rank__image img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100% - 12px) !important;
    max-height: 146px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}


/* =========================================================
   トップページ：人気機種ランキングのタブ形状をPC/SPで統一
   PC表示をスマホ表示と同じ角丸ボックス型にする
========================================================= */

@media (min-width: 768px) {
  .mm-home-tabs {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    gap: 4px !important;
    padding: 4px !important;
    margin: 0 0 16px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
  }

  .mm-home-tab {
    flex: 0 0 auto !important;
    min-width: 78px !important;
    min-height: 38px !important;
    padding: 9px 14px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .mm-home-tab.is-active {
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 6px !important;
    background: var(--teal) !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(20,184,166,.22) !important;
  }
}


/* =========================================================
   トップページ：人気機種ランキング PC画像余白をスマホに近づける
========================================================= */

@media (min-width: 768px) {
  .mm-home-rank__image {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 180px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .mm-home-rank__image img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100% - 12px) !important;
    max-height: 160px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}


/* =========================================================
   サイドバー：ランキング／新台カレンダーの筐体画像調整
   デザインは維持し、画像だけ大きく・全体表示
========================================================= */

.mm-sidebar .mm-rank__item,
.mm-sidebar .mm-cal__item{
  align-items:center;
}

.mm-sidebar .mm-thumb{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:82px;
  height:104px;
  flex:0 0 82px;
  padding:8px;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}

.mm-sidebar .mm-thumb img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  background:transparent;
}

.mm-sidebar .mm-thumb--plain{
  width:72px;
  height:92px;
  flex-basis:72px;
  padding:7px;
  background:#fff;
}

.mm-sidebar .mm-badge-rank{
  left:4px;
  top:4px;
  border-radius:999px;
}

@media(max-width:767px){
  .mm-sidebar .mm-thumb{
    width:76px;
    height:96px;
    flex-basis:76px;
    padding:7px;
  }

  .mm-sidebar .mm-thumb--plain{
    width:68px;
    height:86px;
    flex-basis:68px;
    padding:6px;
  }
}


/* =========================================================
   サイドバー：スマホのランキングタブをPC表示と統一
========================================================= */

@media (max-width: 767px) {
  .mm-sidebar .mm-tabs {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .mm-sidebar .mm-tab {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    min-height: auto !important;
    padding: 10px 8px !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #6b7280 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: normal !important;
  }

  .mm-sidebar .mm-tab:hover {
    background: #f9fafb !important;
  }

  .mm-sidebar .mm-tab.is-active {
    border: 0 !important;
    border-bottom: 2px solid var(--teal) !important;
    border-radius: 0 !important;
    background: #f9fafb !important;
    color: var(--teal-700) !important;
    box-shadow: none !important;
  }
}


/* =========================================================
   噂・リーク情報一覧ページ
   Template: reak.php
========================================================= */

.mm-reak-page{
  padding-bottom:10px;
}

.mm-reak-header{
  margin-bottom:24px;
}

.mm-reak-header__en,
.mm-reak-list-head__en{
  display:block;
  margin:0 0 6px;
  color:var(--teal-700);
  font-size:11px;
  font-weight:900;
  letter-spacing:.1em;
}

.mm-reak-visual{
  aspect-ratio:auto;
  min-height:0;
  margin:14px 0 18px;
  background:#111827;
}

.mm-reak-visual .mm-visual__img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
}

.mm-reak-summary{
  margin:0;
  padding:15px 17px;
  border:1px solid var(--border);
  border-left:4px solid var(--teal);
  border-radius:0 9px 9px 0;
  background:#f8fafc;
}

.mm-reak-summary p{
  margin:0;
  color:#475569;
  font-size:14px;
  line-height:1.9;
}

.mm-reak-section-title{
  margin:0;
  color:#111827;
  font-size:20px;
  font-weight:900;
  line-height:1.45;
}

.mm-reak-guide{
  margin:0 0 24px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
}

.mm-reak-guide .mm-reak-section-title{
  margin-bottom:16px;
  padding-left:10px;
  border-left:5px solid var(--teal);
}

.mm-reak-steps{
  display:flex;
  align-items:center;
  gap:8px;
}

.mm-reak-steps > i{
  flex:0 0 auto;
  color:#cbd5e1;
}

.mm-reak-step{
  display:flex;
  min-width:0;
  flex:1 1 0;
  min-height:92px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:10px 7px;
  border:1px solid #e5e7eb;
  border-radius:9px;
  background:#f8fafc;
  text-align:center;
}

.mm-reak-step__number{
  display:flex;
  width:24px;
  height:24px;
  align-items:center;
  justify-content:center;
  margin-bottom:6px;
  border-radius:999px;
  background:#374151;
  color:#fff;
  font-size:10px;
  font-weight:900;
}

.mm-reak-step strong{
  color:#111827;
  font-size:12px;
}

.mm-reak-step small{
  margin-top:3px;
  color:#64748b;
  font-size:9px;
  line-height:1.35;
}

.mm-reak-filters{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:26px;
  padding:10px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#f8fafc;
}

.mm-reak-filter{
  min-height:36px;
  padding:7px 13px;
  border:1px solid #dbe3ef;
  border-radius:7px;
  background:#fff;
  color:#475569;
  cursor:pointer;
  font-size:11px;
  font-weight:900;
}

.mm-reak-filter:hover{
  border-color:#99f6e4;
  color:var(--teal-700);
}

.mm-reak-filter.is-active{
  border-color:var(--teal);
  background:var(--teal);
  color:#fff;
}

.mm-reak-list-section{
  margin-top:4px;
}

.mm-reak-list-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
  padding-bottom:11px;
  border-bottom:3px solid #374151;
}

.mm-reak-count{
  flex:0 0 auto;
  padding:5px 10px;
  border-radius:999px;
  background:#eef2f7;
  color:#475569;
  font-size:11px;
  font-weight:900;
}

.mm-reak-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.mm-reak-card{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.mm-reak-card:hover{
  border-color:#99f6e4;
  box-shadow:var(--shadow);
}

.mm-reak-card__link{
  display:flex;
  height:100%;
  flex-direction:column;
  color:inherit;
  text-decoration:none;
}

.mm-reak-card__image{
  position:relative;
  display:flex;
  aspect-ratio:16/9;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-bottom:1px solid var(--border);
  background:#111827;
}

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

.mm-reak-card__placeholder{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:#94a3b8;
  font-size:10px;
  font-weight:900;
}

.mm-reak-card__placeholder i{
  font-size:28px;
}

.mm-reak-card__stage,
.mm-reak-card__new{
  position:absolute;
  top:9px;
  z-index:2;
  padding:4px 9px;
  border-radius:999px;
  color:#fff;
  font-size:9px;
  font-weight:900;
}

.mm-reak-card__stage{
  left:9px;
  background:#7c3aed;
}

.mm-reak-card__new{
  right:9px;
  background:#ef4444;
}

.mm-reak-card__body{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  padding:14px;
}

.mm-reak-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
  color:#64748b;
  font-size:10px;
}

.mm-reak-card__type{
  display:inline-flex;
  padding:3px 7px;
  border-radius:5px;
  font-size:9px;
  font-weight:900;
}

.mm-reak-card__type--slot{
  background:#e0f2fe;
  color:#0369a1;
}

.mm-reak-card__type--pachinko{
  background:#fce7f3;
  color:#be185d;
}

.mm-reak-card__type--common{
  background:#f3f4f6;
  color:#475569;
}

.mm-reak-card__title{
  margin:0;
  color:#111827;
  font-size:16px;
  font-weight:900;
  line-height:1.55;
}

.mm-reak-card__excerpt{
  margin:9px 0 0;
  color:#64748b;
  font-size:12px;
  line-height:1.7;
}

.mm-reak-card__info{
  margin:12px 0 0;
  border-top:1px solid #f1f5f9;
}

.mm-reak-card__info div{
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  gap:8px;
  padding:7px 0;
  border-bottom:1px solid #f1f5f9;
  font-size:11px;
}

.mm-reak-card__info dt{
  color:#64748b;
  font-weight:700;
}

.mm-reak-card__info dd{
  margin:0;
  color:#111827;
  font-weight:900;
}

.mm-reak-card__more{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  margin-top:auto;
  padding-top:13px;
  color:var(--teal-700);
  font-size:11px;
  font-weight:900;
}

.mm-reak-empty{
  padding:34px 20px;
  border:1px dashed #cbd5e1;
  border-radius:10px;
  background:#f8fafc;
  color:#64748b;
  text-align:center;
}

.mm-reak-empty i{
  display:block;
  margin-bottom:10px;
  color:#94a3b8;
  font-size:34px;
}

.mm-reak-empty strong{
  display:block;
  color:#334155;
  font-size:15px;
}

.mm-reak-empty p{
  margin:8px 0 0;
  font-size:11px;
  line-height:1.7;
}

.mm-reak-no-result{
  padding:20px;
  border:1px dashed #cbd5e1;
  border-radius:10px;
  color:#64748b;
  text-align:center;
  font-size:12px;
}

.mm-reak-notice{
  margin-top:34px;
  padding:18px;
  border:1px solid #fde68a;
  border-radius:10px;
  background:#fffbeb;
}

.mm-reak-notice .mm-reak-section-title{
  margin-bottom:12px;
  color:#92400e;
  font-size:17px;
}

.mm-reak-notice ul{
  margin:0;
  padding-left:20px;
  color:#78350f;
  font-size:12px;
  line-height:1.8;
}

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

  .mm-reak-steps{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
  }

  .mm-reak-steps > i{
    display:none;
  }
}

@media(max-width:767px){
  .mm-reak-header{
    margin-bottom:20px;
  }

  .mm-reak-summary{
    padding:12px 13px;
  }

  .mm-reak-summary p{
    font-size:13px;
    line-height:1.8;
  }

  .mm-reak-guide{
    padding:14px;
  }

  .mm-reak-steps{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }

  .mm-reak-step{
    min-height:78px;
  }

  .mm-reak-filters{
    gap:5px;
    padding:7px;
  }

  .mm-reak-filter{
    min-height:34px;
    padding:6px 10px;
    font-size:10px;
  }

  .mm-reak-section-title{
    font-size:18px;
  }

  .mm-reak-card__title{
    font-size:14px;
  }

  .mm-reak-card__body{
    padding:12px;
  }
}


/* =========================================================
   ホール攻略トップ
   Template: hall.php
========================================================= */

.mm-hall-page{
  padding-bottom:10px;
}

.mm-hall-header{
  margin-bottom:26px;
}

.mm-hall-header__en,
.mm-hall-section-head__en{
  display:block;
  margin:0 0 6px;
  color:var(--teal-700);
  font-size:11px;
  font-weight:900;
  letter-spacing:.1em;
}

.mm-hall-visual{
  aspect-ratio:auto;
  min-height:0;
  margin:14px 0 18px;
  background:#111827;
}

.mm-hall-visual .mm-visual__img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
}

.mm-hall-summary{
  padding:15px 17px;
  border:1px solid var(--border);
  border-left:4px solid var(--teal);
  border-radius:0 9px 9px 0;
  background:#f8fafc;
}

.mm-hall-summary p{
  margin:0;
  color:#475569;
  font-size:14px;
  line-height:1.9;
}

.mm-hall-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
  padding-bottom:11px;
  border-bottom:3px solid #374151;
}

.mm-hall-section-title{
  margin:0;
  color:#111827;
  font-size:20px;
  font-weight:900;
  line-height:1.45;
}

.mm-hall-upcoming,
.mm-hall-region-search,
.mm-hall-featured-section{
  margin-top:36px;
  scroll-margin-top:90px;
}

.mm-hall-upcoming-list{
  display:grid;
  gap:10px;
}

.mm-hall-upcoming-card{
  display:grid;
  grid-template-columns:68px minmax(0,1fr) 18px;
  align-items:center;
  gap:12px;
  min-height:92px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  color:inherit;
  text-decoration:none;
  box-shadow:var(--shadow-sm);
}

.mm-hall-upcoming-card:hover{
  border-color:#99f6e4;
  background:#f0fdfa;
}

.mm-hall-upcoming-card__date{
  display:flex;
  min-height:66px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid #ccfbf1;
  border-radius:8px;
  background:#f0fdfa;
}

.mm-hall-upcoming-card__date strong{
  color:var(--teal-700);
  font-size:18px;
}

.mm-hall-upcoming-card__date span{
  color:#64748b;
  font-size:9px;
  font-weight:900;
}

.mm-hall-upcoming-card__body{
  min-width:0;
}

.mm-hall-upcoming-card__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin-bottom:5px;
  color:#64748b;
  font-size:10px;
}

.mm-hall-upcoming-card__type{
  padding:3px 7px;
  border-radius:5px;
  background:#ede9fe;
  color:#6d28d9;
  font-weight:900;
}

.mm-hall-upcoming-card h3{
  margin:0;
  color:#111827;
  font-size:14px;
  font-weight:900;
  line-height:1.5;
}

.mm-hall-upcoming-card p{
  margin:5px 0 0;
  color:#475569;
  font-size:12px;
  font-weight:700;
}

.mm-hall-upcoming-card small{
  display:block;
  margin-top:5px;
  color:#64748b;
  font-size:10px;
  line-height:1.5;
}

.mm-hall-upcoming-card > i{
  color:var(--teal);
}

.mm-hall-map{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
}

.mm-hall-map__regions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  padding:16px;
  background:#f8fafc;
}

.mm-hall-map__region{
  display:flex;
  min-height:72px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid #dbe3ef;
  border-radius:9px;
  background:#fff;
  color:#475569;
  cursor:pointer;
  font-size:12px;
  font-weight:900;
}

.mm-hall-map__region i{
  color:var(--teal);
  font-size:18px;
}

.mm-hall-map__region:hover,
.mm-hall-map__region.is-active{
  border-color:var(--teal);
  background:#ecfeff;
  color:var(--teal-700);
}

.mm-hall-prefectures{
  padding:16px;
  border-top:1px solid var(--border);
}

.mm-hall-prefectures__guide{
  margin:0;
  color:#64748b;
  font-size:11px;
}

.mm-hall-prefecture-group strong{
  display:block;
  margin-bottom:10px;
  color:#111827;
  font-size:14px;
}

.mm-hall-prefecture-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.mm-hall-prefecture-button{
  min-height:34px;
  padding:6px 11px;
  border:1px solid #dbe3ef;
  border-radius:7px;
  background:#fff;
  color:#475569;
  cursor:pointer;
  font-size:10px;
  font-weight:900;
}

.mm-hall-prefecture-button:hover,
.mm-hall-prefecture-button.is-active{
  border-color:var(--teal);
  background:var(--teal);
  color:#fff;
}

.mm-hall-result-count{
  flex:0 0 auto;
  padding:5px 10px;
  border-radius:999px;
  background:#eef2f7;
  color:#475569;
  font-size:11px;
  font-weight:900;
}

.mm-hall-filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:18px;
  padding:9px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#f8fafc;
}

.mm-hall-filter{
  min-height:35px;
  padding:7px 12px;
  border:1px solid #dbe3ef;
  border-radius:7px;
  background:#fff;
  color:#475569;
  cursor:pointer;
  font-size:10px;
  font-weight:900;
}

.mm-hall-filter:hover{
  border-color:#99f6e4;
  color:var(--teal-700);
}

.mm-hall-filter.is-active{
  border-color:var(--teal);
  background:var(--teal);
  color:#fff;
}

.mm-hall-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.mm-hall-card{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.mm-hall-card:hover{
  border-color:#99f6e4;
  box-shadow:var(--shadow);
}

.mm-hall-card__link{
  display:flex;
  height:100%;
  flex-direction:column;
  color:inherit;
  text-decoration:none;
}

.mm-hall-card__image{
  position:relative;
  display:flex;
  aspect-ratio:16/9;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-bottom:1px solid var(--border);
  background:#f3f4f6;
}

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

.mm-hall-card__placeholder{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:#94a3b8;
  font-size:10px;
  font-weight:900;
}

.mm-hall-card__placeholder i{
  font-size:28px;
}

.mm-hall-card__attention{
  position:absolute;
  top:9px;
  right:9px;
  padding:4px 9px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:9px;
  font-weight:900;
}

.mm-hall-card__body{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  padding:14px;
}

.mm-hall-card__area{
  margin-bottom:6px;
  color:var(--teal-700);
  font-size:10px;
  font-weight:900;
}

.mm-hall-card__area i{
  margin-right:4px;
}

.mm-hall-card__title{
  margin:0;
  color:#111827;
  font-size:16px;
  font-weight:900;
  line-height:1.5;
}

.mm-hall-card__upcoming{
  margin-top:11px;
  padding:10px;
  border:1px solid #ede9fe;
  border-radius:8px;
  background:#f5f3ff;
}

.mm-hall-card__upcoming span{
  display:inline-flex;
  margin-bottom:5px;
  padding:2px 6px;
  border-radius:5px;
  background:#7c3aed;
  color:#fff;
  font-size:9px;
  font-weight:900;
}

.mm-hall-card__upcoming strong{
  display:block;
  color:#4c1d95;
  font-size:11px;
  line-height:1.5;
}

.mm-hall-card__trend{
  margin-top:10px;
  padding:10px;
  border-left:4px solid var(--teal);
  background:#f0fdfa;
}

.mm-hall-card__trend span{
  display:block;
  margin-bottom:4px;
  color:var(--teal-700);
  font-size:9px;
  font-weight:900;
}

.mm-hall-card__trend p{
  margin:0;
  color:#334155;
  font-size:11px;
  line-height:1.6;
}

.mm-hall-card__old-event{
  margin:9px 0 0;
  color:#64748b;
  font-size:10px;
}

.mm-hall-card__more{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  margin-top:auto;
  padding-top:13px;
  color:var(--teal-700);
  font-size:11px;
  font-weight:900;
}

.mm-hall-empty,
.mm-hall-no-result{
  padding:26px 18px;
  border:1px dashed #cbd5e1;
  border-radius:10px;
  background:#f8fafc;
  color:#64748b;
  text-align:center;
  font-size:11px;
}

.mm-hall-empty i{
  display:block;
  margin-bottom:9px;
  color:#94a3b8;
  font-size:30px;
}

.mm-hall-empty strong{
  display:block;
  color:#334155;
  font-size:15px;
}

.mm-hall-empty p{
  margin:7px 0 0;
}

.mm-hall-about{
  margin-top:34px;
  padding:18px;
  border:1px solid #fde68a;
  border-radius:10px;
  background:#fffbeb;
}

.mm-hall-about .mm-hall-section-title{
  margin-bottom:12px;
  color:#92400e;
  font-size:17px;
}

.mm-hall-about ul{
  margin:0;
  padding-left:20px;
  color:#78350f;
  font-size:12px;
  line-height:1.8;
}

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

@media(max-width:767px){
  .mm-hall-header{
    margin-bottom:20px;
  }

  .mm-hall-summary{
    padding:12px 13px;
  }

  .mm-hall-summary p{
    font-size:13px;
    line-height:1.8;
  }

  .mm-hall-section-title{
    font-size:18px;
  }

  .mm-hall-upcoming,
  .mm-hall-region-search,
  .mm-hall-featured-section{
    margin-top:30px;
  }

  .mm-hall-upcoming-card{
    grid-template-columns:58px minmax(0,1fr) 14px;
    gap:9px;
    padding:9px;
  }

  .mm-hall-upcoming-card__date{
    min-height:58px;
  }

  .mm-hall-map__regions{
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:12px;
  }

  .mm-hall-map__region{
    min-height:62px;
  }

  .mm-hall-prefectures{
    padding:12px;
  }

  .mm-hall-filter-bar{
    gap:5px;
    padding:7px;
  }

  .mm-hall-filter{
    min-height:33px;
    padding:6px 9px;
  }

  .mm-hall-card__body{
    padding:12px;
  }

  .mm-hall-card__title{
    font-size:14px;
  }
}


/* ========================================
   通常記事・運営者情報
======================================== */
.mm-article .k6-operator{
  color:#1f2937;
  font-size:15px;
  line-height:1.9;
}

.mm-article .k6-operator__section{
  margin:0 0 36px;
}

.mm-article .k6-operator__section:last-child{
  margin-bottom:0;
}

.mm-article .k6-operator h2{
  position:relative;
  margin:0 0 18px;
  padding:10px 14px 10px 18px;
  border:0;
  border-left:5px solid #14b8a6;
  border-radius:0 8px 8px 0;
  background:#f8fafc;
  color:#111827;
  font-size:22px;
  font-weight:900;
  line-height:1.5;
}

.mm-article .k6-operator p{
  margin:0 0 16px;
}

.mm-article .k6-operator a{
  color:#0f766e;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}

.mm-article .k6-operator a:hover{
  color:#14b8a6;
}

/* テーブル */
.mm-article .k6-operator__table-wrap{
  width:100%;
  overflow-x:auto;
  border:1px solid #dbe3ea;
  border-radius:10px;
  background:#fff;
  -webkit-overflow-scrolling:touch;
}

.mm-article .k6-operator__table{
  width:100%;
  min-width:560px;
  margin:0;
  border:0;
  border-collapse:collapse;
  border-spacing:0;
  background:#fff;
}

.mm-article .k6-operator__table th,
.mm-article .k6-operator__table td{
  padding:14px 16px;
  border:0;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
  vertical-align:top;
  line-height:1.7;
}

.mm-article .k6-operator__table tr:last-child th,
.mm-article .k6-operator__table tr:last-child td{
  border-bottom:0;
}

.mm-article .k6-operator__table th{
  width:190px;
  background:#f1f5f9;
  color:#111827;
  font-weight:900;
  white-space:nowrap;
}

.mm-article .k6-operator__table td{
  background:#fff;
  color:#334155;
}

/* リスト */
.mm-article .k6-operator__list{
  margin:0;
  padding:0;
  list-style:none;
}

.mm-article .k6-operator__list li{
  position:relative;
  margin:0 0 10px;
  padding:12px 14px 12px 40px;
  border:1px solid #e5e7eb;
  border-radius:8px;
  background:#fff;
  line-height:1.75;
}

.mm-article .k6-operator__list li:last-child{
  margin-bottom:0;
}

.mm-article .k6-operator__list li::before{
  position:absolute;
  top:15px;
  left:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:17px;
  height:17px;
  border-radius:50%;
  background:#14b8a6;
  color:#fff;
  content:"✓";
  font-size:10px;
  font-weight:900;
  line-height:1;
}

@media(max-width:767px){
  .mm-article .k6-operator{
    font-size:14px;
  }

  .mm-article .k6-operator__section{
    margin-bottom:28px;
  }

  .mm-article .k6-operator h2{
    margin-bottom:14px;
    padding:9px 11px 9px 14px;
    font-size:19px;
  }

  .mm-article .k6-operator__table{
    min-width:0;
  }

  .mm-article .k6-operator__table,
  .mm-article .k6-operator__table tbody,
  .mm-article .k6-operator__table tr,
  .mm-article .k6-operator__table th,
  .mm-article .k6-operator__table td{
    display:block;
    width:100%;
  }

  .mm-article .k6-operator__table tr{
    border-bottom:1px solid #dbe3ea;
  }

  .mm-article .k6-operator__table tr:last-child{
    border-bottom:0;
  }

  .mm-article .k6-operator__table th{
    padding:10px 13px 5px;
    border-bottom:0;
    background:#f1f5f9;
    white-space:normal;
  }

  .mm-article .k6-operator__table td{
    padding:7px 13px 12px;
    border-bottom:0;
  }

  .mm-article .k6-operator__list li{
    padding:11px 12px 11px 36px;
  }

  .mm-article .k6-operator__list li::before{
    top:14px;
    left:12px;
  }
}

/* =========================================================
   SPレイアウト最終補正
   サイドバーをコンテンツ幅いっぱいに統一
========================================================= */
@media (max-width: 767px) {
  .mm-main,
  .mm-layout,
  .mm-content,
  .mm-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .mm-layout {
    display: flex;
    flex-direction: column;
  }

  .mm-content,
  .mm-sidebar {
    flex: 0 0 auto !important;
  }

  .mm-sidebar {
    margin: 0 !important;
    overflow-x: clip;
  }

  .mm-sidebar > *,
  .mm-sidecard,
  .mm-ad {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
}

/* =========================================================
   SP：表下の注釈文を左寄せ
========================================================= */
@media (max-width: 767px) {
  .mm-note {
    text-align: left;
  }
}

/* ========================================
   参考情報・編集方針・更新履歴
======================================== */

.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-sources-section .mm-sources-section__history-title {
  margin-top: 18px;
}

.mm-sources-section .mm-points__list {
  margin-bottom: 0;
}

/* シェアボタン直後の参考情報に確実に余白を作る */
.mm-share-panel + .mm-sources-section {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .mm-sources-section,
  .mm-share-panel + .mm-sources-section {
    margin-top: 24px;
  }

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

  .mm-sources-section .mm-sources-section__history-title {
    margin-top: 16px;
  }
}

/* ==================================================
   打ち方セクション
================================================== */

.mm-hitikata {
  --howto-green: #23a574;
  --howto-green-dark: #17865d;
  --howto-border: #dce3e8;
  --howto-bg: #ffffff;
  --howto-soft: #f7f9fa;
  --howto-text: #18202a;
  --howto-subtext: #53606d;
}

/* 打ち方内のカード */
.mm-hitikata > .mm-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--howto-border);
  border-radius: 14px;
  background: var(--howto-bg);
  box-shadow: 0 5px 18px rgba(22, 34, 45, 0.04);
}

/* カード上部 */
.mm-hitikata .mm-acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

/* 見出し：左線は疑似要素の1本だけ */
.mm-hitikata .mm-acc-title {
  position: relative;
  margin: 0;
  padding-left: 13px;
  border-left: 0;
  background-image: none;
  box-shadow: none;
  color: var(--howto-text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}

.mm-hitikata .mm-acc-title::before {
  position: absolute;
  top: 0.2em;
  bottom: 0.2em;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: var(--howto-green);
  content: "";
}

/* 開閉ボタン */
.mm-hitikata .mm-acc-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--howto-green);
  border-radius: 999px;
  background: #fff;
  color: var(--howto-green-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.mm-hitikata .mm-acc-btn:hover {
  background: #effbf6;
}

/* 導入文 */
.mm-hitikata > .mm-card > .mm-small {
  margin: 0 0 16px;
  color: var(--howto-subtext);
  font-size: 14px;
  line-height: 1.85;
}

/* 最初の狙い位置ブロック */
.mm-hitikata .mm-ddt {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #e3e8ec;
  border-radius: 14px;
  background: var(--howto-soft);
}

/* 最初の画像枠 */
.mm-hitikata .mm-ddt__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  max-width: 100%;
  aspect-ratio: 365 / 215;
  margin-inline: auto;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #d9e0e5;
  border-radius: 12px;
  background: #fff;
}

/* 打ち方画像共通 */
.mm-hitikata .mm-ddt__img img,
.mm-hitikata .mm-stepcard__ph img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

/* 最初の手順テキスト */
.mm-hitikata .mm-ddt__txt {
  min-width: 0;
}

.mm-hitikata .mm-ddt__lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 9px;
  color: var(--howto-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.mm-hitikata .mm-ddt__desc {
  margin: 0;
  color: var(--howto-subtext);
  font-size: 14px;
  line-height: 1.85;
}

/* ラベル */
.mm-hitikata .mm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #172033;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

/* 停止形カード一覧 */
.mm-hitikata .mm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.mm-hitikata .mm-grid-3 > .mm-stepcard:nth-child(4) {
  grid-column: 1 / span 1;
}

/* 個別カード */
.mm-hitikata .mm-stepcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 13px;
  overflow: hidden;
  border: 1px solid var(--howto-border);
  border-radius: 14px;
  background: #fff;
}

/* 停止形画像枠 */
.mm-hitikata .mm-stepcard__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  max-width: 100%;
  aspect-ratio: 365 / 215;
  margin: 0 auto 12px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #e0e5e9;
  border-radius: 11px;
  background: var(--howto-soft);
}

/* 停止形カード本文 */
.mm-hitikata .mm-stepcard__h {
  margin: 0 0 8px;
  padding: 0 0 8px;
  border-bottom: 1px solid #f3f4f6;
  color: var(--howto-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

.mm-hitikata .mm-stepcard__p {
  flex: 1;
  margin: 0 0 12px;
  color: var(--howto-subtext);
  font-size: 14px;
  line-height: 1.8;
}

/* カード下部ラベル */
.mm-hitikata .mm-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 27px;
  margin-top: auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef2f5;
  color: #45515d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.mm-hitikata .mm-chip--red {
  background: #fff0f0;
  color: #cc3131;
}

.mm-hitikata .mm-chip--green {
  background: #eaf9f2;
  color: #17865d;
}

/* 注意書き */
.mm-hitikata .mm-tip {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--howto-green);
  border-radius: 8px;
  background: #f1faf6;
  color: #34424d;
  font-size: 14px;
  line-height: 1.75;
}

.mm-hitikata .table-scroll {
  margin-top: 16px;
}

/* タブレット */
@media (max-width: 900px) and (min-width: 768px) {
  .mm-hitikata .mm-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-hitikata .mm-grid-3 > .mm-stepcard:nth-child(4) {
    grid-column: auto;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .mm-hitikata > .mm-card {
    padding: 14px;
    border-radius: 12px;
  }

  .mm-hitikata .mm-acc-head {
    align-items: flex-start;
    gap: 10px;
  }

  .mm-hitikata .mm-acc-title {
    font-size: 15px;
  }

  .mm-hitikata .mm-acc-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  .mm-hitikata .mm-ddt {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 13px;
  }

  .mm-hitikata .mm-ddt__img,
  .mm-hitikata .mm-stepcard__ph {
    width: 220px;
    max-width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 365 / 215;
    margin-inline: auto;
    padding: 10px;
  }

  .mm-hitikata .mm-ddt__lead {
    font-size: 16px;
  }

  .mm-hitikata .mm-ddt__desc {
    font-size: 13px;
  }

  .mm-hitikata .mm-grid-3 {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .mm-hitikata .mm-stepcard {
    padding: 12px;
  }

  .mm-hitikata .mm-stepcard__h {
    font-size: 15px;
  }

  .mm-hitikata .mm-stepcard__p {
    font-size: 13px;
  }
}

/* =========================================================
   機種ページ本文内のページ内リンク
========================================================= */

.mm-inline-link {
  display: inline;
  padding: 1px 5px 2px;
  border-bottom: 2px solid var(--teal);
  border-radius: 4px;
  background: #f0fdfa;
  color: var(--teal-700);
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.mm-inline-link::after {
  content: " ›";
  font-weight: 900;
}

.mm-inline-link:hover {
  border-bottom-color: #0f766e;
  background: #ccfbf1;
  color: #115e59;
  text-decoration: none;
}

.mm-inline-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* =========================================================
   関連機種
   single.php: .mm-related
   ========================================================= */

.mm-related {
  margin-top: 40px;
  padding: 28px 0 32px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.mm-related .mm-container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.mm-related__h {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 4px solid #14b8a6;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: #111827;
}

.mm-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 180px));
  justify-content: start;
  gap: 16px;
}

.mm-related__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.mm-related__item:hover {
  border-color: #94a3b8;
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.mm-related__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  padding: 10px 12px 6px;
  background: #f8fafc;
}

.mm-related__image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 194px;
  object-fit: contain;
}

.mm-related__body {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px 12px;
}

.mm-related__title {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  color: #1f2937;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mm-related__item:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.35);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .mm-related {
    margin-top: 30px;
    padding: 22px 0 26px;
  }

  .mm-related .mm-container {
    width: min(100% - 24px, 1200px);
  }

  .mm-related__h {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .mm-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mm-related__image {
    height: 180px;
    padding: 8px 8px 5px;
  }

  .mm-related__image img {
    max-height: 167px;
  }

  .mm-related__body {
    min-height: 54px;
    padding: 9px 10px 11px;
  }

  .mm-related__title {
    font-size: 13px;
  }
}

@media (max-width: 374px) {
  .mm-related__image {
    height: 160px;
  }

  .mm-related__image img {
    max-height: 148px;
  }
}

/* ==========================================================
   設定示唆カードと解析テーブルの間隔・修正版
   app.css の末尾へ追加
========================================================== */

/*
 * 前回の「>」指定では、.mm-grid-3 が
 * .accordion-content などの内側にある場合に一致しない。
 * 子孫セレクタへ変更して確実に適用する。
 */
.mm-card .mm-grid-3 + .table-scroll,
.mm-card .mm-grid-2 + .table-scroll {
  margin-top: 20px !important;
}

/* グリッドと表の間に説明文・注釈が1要素入る場合にも対応 */
.mm-card .mm-grid-3 + p + .table-scroll,
.mm-card .mm-grid-3 + .mm-small + .table-scroll,
.mm-card .mm-grid-3 + .mm-note + .table-scroll,
.mm-card .mm-grid-2 + p + .table-scroll,
.mm-card .mm-grid-2 + .mm-small + .table-scroll,
.mm-card .mm-grid-2 + .mm-note + .table-scroll {
  margin-top: 20px !important;
}

/*
 * 色示唆カードのグリッド自体にも下余白を設定。
 * 表が直接隣接していないHTMLでも間隔を確保する。
 */
.mm-card .mm-grid-3:has(.mm-colorcard),
.mm-card .mm-grid-2:has(.mm-colorcard) {
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .mm-card .mm-grid-3 + .table-scroll,
  .mm-card .mm-grid-2 + .table-scroll,
  .mm-card .mm-grid-3 + p + .table-scroll,
  .mm-card .mm-grid-3 + .mm-small + .table-scroll,
  .mm-card .mm-grid-3 + .mm-note + .table-scroll,
  .mm-card .mm-grid-2 + p + .table-scroll,
  .mm-card .mm-grid-2 + .mm-small + .table-scroll,
  .mm-card .mm-grid-2 + .mm-note + .table-scroll {
    margin-top: 16px !important;
  }

  .mm-card .mm-grid-3:has(.mm-colorcard),
  .mm-card .mm-grid-2:has(.mm-colorcard) {
    margin-bottom: 16px;
  }
}

/* =========================================================
   解析表：横スクロール共通処理（最終統合版）
========================================================= */

/*
 * JavaScriptが動かない場合のフォールバック。
 * 本文側は次の構造だけでよい。
 *
 * <div class="table-scroll">
 *   <table class="analysis-table">...</table>
 * </div>
 */
.table-scroll {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 0 12px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

/* JS適用後は、内側のviewportだけをスクロールさせる */
.table-scroll.mm-table-ready {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* 横スクロール案内 */
.table-scroll__guide {
  display: none;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  margin: 0 auto 8px;
  padding: 4px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

/* 実際に横スクロールする領域 */
.table-scroll__viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

.table-scroll__viewport:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.25);
  outline-offset: 3px;
}

/*
 * JSが列数・文章量から設定した最小幅。
 * PCでも本文幅が足りない場合だけ横スクロールになる。
 */
.table-scroll.mm-table-wide .analysis-table {
  width: 100%;
  min-width: var(--mm-table-min-width, 720px);
}

/* 実際にスクロール可能な表だけ案内を表示 */
.table-scroll.is-scrollable .table-scroll__guide {
  display: flex;
}

/* 一度操作した後は案内を少し控えめにする */
.table-scroll.is-touched .table-scroll__guide {
  opacity: 0.58;
  transform: translateY(-1px);
}

/* 左右端のフェード */
.table-scroll.mm-table-ready::before,
.table-scroll.mm-table-ready::after {
  position: absolute;
  z-index: 5;
  top: 36px;
  bottom: 0;
  width: 34px;
  content: "";
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.table-scroll.mm-table-ready::before {
  left: 0;
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0)
    );
}

.table-scroll.mm-table-ready::after {
  right: 0;
  background:
    linear-gradient(
      to left,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0)
    );
}

/* 左へ戻れる状態 */
.table-scroll.is-scrollable:not(.is-at-start)::before {
  opacity: 1;
}

/* 右に続きがある状態 */
.table-scroll.is-scrollable:not(.is-at-end)::after {
  opacity: 1;
}

/* 任意の短いセルだけ改行を止めたい場合の既存ユーティリティ */
.mm-nowrap {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .table-scroll__viewport .analysis-table th,
  .table-scroll__viewport .analysis-table td {
    padding: 10px 12px;
    vertical-align: middle;
  }

  /* 見出しは細切れ改行を防止 */
  .table-scroll.mm-table-wide
    .table-scroll__viewport
    .analysis-table
    thead
    th {
    white-space: nowrap;
  }

  /* 左端の項目名は最低幅を確保 */
  .table-scroll.mm-table-wide
    .table-scroll__viewport
    .analysis-table
    tr > :first-child {
    min-width: 120px;
    white-space: nowrap;
  }
}

/* =========================================================
   打ち方：停止形カードと次の解説枠の間隔
========================================================= */

.mm-hitikata .mm-grid-3 + .mm-card {
  margin-top: 22px;
}

@media (max-width: 767px) {
  .mm-hitikata .mm-grid-3 + .mm-card {
    margin-top: 18px;
  }
}

/* =========================================================
   v35 最終統合：解析テーブルの視認性・横スクロール・判断パネル
   ※ blog-app.css / main-app.css 共通
========================================================= */

/* ---------------------------------------------------------
   テーブル外枠
   - table-scroll と viewport の二重枠を廃止
   - 右端に残る空白枠を防止
   - 実際の外枠は analysis-table の1本だけ
--------------------------------------------------------- */
.table-scroll,
.table-scroll.mm-table-ready {
  width: 100%;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.table-scroll__viewport {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  scrollbar-gutter: auto !important;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

/* JS未適用時は外側ラッパーをスクロール領域として使用 */
.table-scroll:not(.mm-table-ready) {
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  scrollbar-gutter: auto !important;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

/* ---------------------------------------------------------
   左右端の白い靄・フェードを完全廃止
   数値や文字の上へ疑似要素を重ねない
--------------------------------------------------------- */
.table-scroll.mm-table-ready::before,
.table-scroll.mm-table-ready::after,
.table-scroll.is-scrollable:not(.is-at-start)::before,
.table-scroll.is-scrollable:not(.is-at-end)::after {
  display: none !important;
  width: 0 !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 横スクロール案内は表の外側上部に表示 */
.table-scroll__guide {
  min-height: 26px;
  margin: 0 0 7px auto;
  padding: 3px 10px;
  border: 1px solid #b9d9d5;
  border-radius: 999px;
  background: #f0fdfa;
  color: #0f766e;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.table-scroll.is-touched .table-scroll__guide {
  opacity: .72;
  transform: none;
}

/* ---------------------------------------------------------
   スクロールバー
--------------------------------------------------------- */
.table-scroll,
.table-scroll__viewport {
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #eef2f6;
}

.table-scroll::-webkit-scrollbar,
.table-scroll__viewport::-webkit-scrollbar {
  height: 8px;
}

.table-scroll::-webkit-scrollbar-track,
.table-scroll__viewport::-webkit-scrollbar-track {
  background: #eef2f6;
  border-radius: 999px;
}

.table-scroll::-webkit-scrollbar-thumb,
.table-scroll__viewport::-webkit-scrollbar-thumb {
  border: 2px solid #eef2f6;
  border-radius: 999px;
  background: #94a3b8;
}

.table-scroll::-webkit-scrollbar-thumb:hover,
.table-scroll__viewport::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* ---------------------------------------------------------
   解析テーブル本体
--------------------------------------------------------- */
.analysis-table {
  width: 100%;
  min-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d8e1ea;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  color: #243447;
  font-size: .82rem;
  line-height: 1.55;
}

.analysis-table th,
.analysis-table td {
  padding: 10px 12px;
  border: 0;
  border-right: 1px solid #dfe7ef;
  border-bottom: 1px solid #dfe7ef;
  vertical-align: middle;
}

.analysis-table tr > :last-child {
  border-right: 0;
}

.analysis-table tbody tr:last-child > * {
  border-bottom: 0;
}

/* 見出し行 */
.analysis-table thead th {
  background: #eaf7f5;
  color: #174c49;
  font-weight: 900;
  text-align: center;
  box-shadow: inset 0 -2px 0 #83c9c2;
}

/* 左側の項目列 */
.analysis-table tbody th {
  background: #f4f7fa;
  color: #243b53;
  font-weight: 900;
  text-align: center;
}

/* 数値・説明セル */
.analysis-table tbody td {
  background: #fff;
  color: #334155;
}

/* ゼブラ表示 */
.analysis-table tbody tr:nth-child(even) td {
  background: #f8fbfd;
}

.analysis-table tbody tr:nth-child(even) th {
  background: #eef3f7;
}

@media (hover: hover) {
  .analysis-table tbody tr:hover > th,
  .analysis-table tbody tr:hover > td {
    background: #f0fdfa;
  }
}

.analysis-table caption {
  padding: 0 0 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

/* 高設定域・最高設定はゼブラ表示より優先 */
.analysis-table .mm-setting-high {
  background: #f3efff !important;
  color: #5b21b6 !important;
  font-weight: 900;
}

.analysis-table .mm-setting-max {
  background: #fff0f1 !important;
  color: #b4232e !important;
  font-weight: 900;
}

.analysis-table thead .mm-setting-high {
  box-shadow: inset 0 -2px 0 #9b87df;
}

.analysis-table thead .mm-setting-max {
  box-shadow: inset 0 -2px 0 #e56b75;
}

@media (max-width: 900px) {
  .table-scroll__viewport .analysis-table th,
  .table-scroll__viewport .analysis-table td,
  .table-scroll:not(.mm-table-ready) .analysis-table th,
  .table-scroll:not(.mm-table-ready) .analysis-table td {
    padding: 9px 10px;
  }
}

/* ---------------------------------------------------------
   続行・終了判断
   「続行」「ヤメ」を各条件で繰り返さず、
   パネル見出し1回＋根拠カテゴリで整理する
--------------------------------------------------------- */
.mm-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.mm-decision-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  background: #fff;
}

.mm-decision-panel__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 11px 12px;
  border-bottom: 1px solid #dbe3ec;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}

.mm-decision-panel__mark {
  display: inline-grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.mm-decision-panel--continue {
  border-color: #a7ded6;
}

.mm-decision-panel--continue .mm-decision-panel__title {
  border-bottom-color: #b8e7df;
  background: #ecfdf8;
  color: #0f6159;
}

.mm-decision-panel--continue .mm-decision-panel__mark {
  background: #0f766e;
}

.mm-decision-panel--stop {
  border-color: #f2c2c6;
}

.mm-decision-panel--stop .mm-decision-panel__title {
  border-bottom-color: #f3cdd0;
  background: #fff5f5;
  color: #9f2731;
}

.mm-decision-panel--stop .mm-decision-panel__mark {
  background: #d83b48;
}

.mm-decision-list {
  margin: 0;
  padding: 4px 12px 8px;
  list-style: none;
}

.mm-decision-list li {
  display: grid;
  grid-template-columns: minmax(74px, auto) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px dashed #dbe3ec;
}

.mm-decision-list li:last-child {
  border-bottom: 0;
}

.mm-decision-list strong {
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.55;
}

.mm-decision-list span {
  color: #334155;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .mm-decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .mm-decision-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* =========================================================
   v36.1 最終上書き：解析テーブル COOL
   ※ 必ずCSSの最終行側に置く
========================================================= */

/* 外枠は表の1本だけ */
.table-scroll,
.table-scroll.mm-table-ready,
.table-scroll__viewport {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  scrollbar-gutter: auto !important;
}

.table-scroll.mm-table-ready::before,
.table-scroll.mm-table-ready::after,
.table-scroll.is-scrollable:not(.is-at-start)::before,
.table-scroll.is-scrollable:not(.is-at-end)::after {
  display: none !important;
  width: 0 !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

/* 明確に変化が分かる、シンプルなダークヘッダー */
.analysis-table {
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #cbd5e1 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .06) !important;
  color: #1e293b !important;
  font-size: .82rem !important;
  line-height: 1.55 !important;
}

.analysis-table th,
.analysis-table td {
  padding: 10px 12px !important;
  border: 0 !important;
  border-right: 1px solid #dbe3ec !important;
  border-bottom: 1px solid #dbe3ec !important;
  vertical-align: middle !important;
}

.analysis-table tr > :last-child {
  border-right: 0 !important;
}

.analysis-table tbody tr:last-child > * {
  border-bottom: 0 !important;
}

.analysis-table thead th {
  background: #1e293b !important;
  color: #f8fafc !important;
  font-weight: 900 !important;
  text-align: center !important;
  box-shadow: inset 0 -3px 0 #14b8a6 !important;
}

.analysis-table tbody th {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 850 !important;
  text-align: center !important;
}

.analysis-table tbody td {
  background: #fff !important;
  color: #334155 !important;
}

.analysis-table tbody tr:nth-child(even) > th {
  background: #e9eff5 !important;
}

.analysis-table tbody tr:nth-child(even) > td {
  background: #f8fafc !important;
}

.analysis-table td,
.analysis-table .font-num {
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) {
  .analysis-table tbody tr:not(.mm-setting-high):not(.mm-setting-max):not(.mm-setting-over6):not(.mm-setting-top):hover > th,
  .analysis-table tbody tr:not(.mm-setting-high):not(.mm-setting-max):not(.mm-setting-over6):not(.mm-setting-top):hover > td {
    background: #ecfeff !important;
  }
}

/* 高設定域 */
.analysis-table .mm-setting-high,
.analysis-table tr.mm-setting-high > th,
.analysis-table tr.mm-setting-high > td {
  background: #eef2ff !important;
  color: #4338ca !important;
  font-weight: 900 !important;
}

/* 設定6 */
.analysis-table .mm-setting-max,
.analysis-table tr.mm-setting-max > th,
.analysis-table tr.mm-setting-max > td {
  background: #fff1f2 !important;
  color: #be123c !important;
  font-weight: 900 !important;
}

/* 設定6を超える設定。例：設定H、設定7、EX */
.analysis-table .mm-setting-over6,
.analysis-table .mm-setting-h,
.analysis-table .mm-setting-ultimate,
.analysis-table tr.mm-setting-over6 > th,
.analysis-table tr.mm-setting-over6 > td,
.analysis-table tr.mm-setting-h > th,
.analysis-table tr.mm-setting-h > td,
.analysis-table tr.mm-setting-ultimate > th,
.analysis-table tr.mm-setting-ultimate > td {
  background: #ecfeff !important;
  color: #0f766e !important;
  font-weight: 900 !important;
}

/* その機種で最上位の設定。設定Hなど */
.analysis-table .mm-setting-top,
.analysis-table tr.mm-setting-top > th,
.analysis-table tr.mm-setting-top > td {
  background: #0f172a !important;
  color: #fff !important;
  font-weight: 900 !important;
}

.analysis-table tr.mm-setting-top > th:first-child,
.analysis-table th.mm-setting-top:first-child {
  box-shadow: inset 4px 0 0 #22d3ee !important;
}

.analysis-table thead .mm-setting-high,
.analysis-table thead .mm-setting-max,
.analysis-table thead .mm-setting-over6,
.analysis-table thead .mm-setting-top {
  color: #fff !important;
}

/* スクロールバー */
.table-scroll,
.table-scroll__viewport {
  scrollbar-width: thin;
  scrollbar-color: #64748b #e2e8f0;
}

.table-scroll::-webkit-scrollbar,
.table-scroll__viewport::-webkit-scrollbar {
  height: 8px;
}

.table-scroll::-webkit-scrollbar-track,
.table-scroll__viewport::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 999px;
}

.table-scroll::-webkit-scrollbar-thumb,
.table-scroll__viewport::-webkit-scrollbar-thumb {
  border: 2px solid #e2e8f0;
  border-radius: 999px;
  background: #64748b;
}

@media (max-width: 900px) {
  .analysis-table th,
  .analysis-table td {
    padding: 9px 10px !important;
  }
}

/* =========================================================
   v37 最終上書き
   1. ここがポイント（短文1行の見え方に統一）
   2. ホール実戦メニュー（スマホでも2列・説明文なし）
   3. 表セル内の箇条書き（点が枠外へ出るのを修正）
   4. 続行・終了パネル（文章が枠外で切れるのを修正）
   5. よくある質問（details/summaryへデザインを適用）

   ※ blog-app.css と main-app.css の両方の一番最後へ追記する。
     既存の「v36.1 最終上書き」ブロックより後ろに置くこと。
========================================================= */

/* ---------------------------------------------------------
   1. ここがポイント
--------------------------------------------------------- */
.mm-points__list{
  margin:0;
  padding-left:20px;
  list-style:disc outside;
}

.mm-points__list li{
  margin:0 0 8px;
  color:#111827;
  font-size:13px;
  font-weight:600;
  line-height:1.75;
  overflow-wrap:anywhere;
}

.mm-points__list li:last-child{
  margin-bottom:0;
}

.mm-points__list li::marker{
  color:#fca5a5;
}

@media (max-width:767px){
  .mm-points__list{
    padding-left:18px;
  }

  .mm-points__list li{
    font-size:12.5px;
    line-height:1.7;
  }
}

/* ---------------------------------------------------------
   2. ホール実戦メニュー
   ラベルだけを2列で並べ、スマホでも1タップで飛べるようにする
--------------------------------------------------------- */
.mm-hall-menu{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0;
}

.mm-hall-menu .mm-info{
  display:flex;
  min-width:0;
  min-height:52px;
  align-items:center;
  padding:10px 12px;
  border:1px solid #dbe3ef;
  border-radius:9px;
  background:#f8fafc;
  transition:
    border-color .2s ease,
    background-color .2s ease;
}

.mm-hall-menu .mm-info:hover{
  border-color:var(--teal);
  background:#f0fdfa;
}

.mm-hall-menu .mm-info__h{
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  color:inherit;
  font-size:13px;
  font-weight:900;
  line-height:1.45;
}

.mm-hall-menu .mm-info__h a{
  display:block;
  color:var(--teal-700);
  text-decoration:none;
  overflow-wrap:anywhere;
}

.mm-hall-menu .mm-info__h a::after{
  content:" ›";
  font-weight:900;
}

.mm-hall-menu .mm-info__h a:hover{
  text-decoration:underline;
}

@media (max-width:767px){
  .mm-hall-menu{
    gap:7px;
  }

  .mm-hall-menu .mm-info{
    min-height:46px;
    padding:9px 10px;
  }

  .mm-hall-menu .mm-info__h{
    font-size:12px;
  }
}

@media (max-width:360px){
  .mm-hall-menu .mm-info__h{
    font-size:11px;
  }
}

/* ---------------------------------------------------------
   3. 表セル内の箇条書き
   ulのpadding依存をやめ、点が必ずセル内側に入るようにする
--------------------------------------------------------- */
.analysis-table td ul,
.analysis-table th ul,
.analysis-table td ol,
.analysis-table th ol{
  margin:0;
  padding:0 0 0 1.35em;
  list-style-position:outside;
}

.analysis-table td ul,
.analysis-table th ul{
  list-style-type:disc;
}

.analysis-table td li,
.analysis-table th li{
  margin:0 0 6px;
  color:#334155;
  font-weight:600;
  line-height:1.7;
  text-align:left;
  overflow-wrap:anywhere;
}

.analysis-table td li:last-child,
.analysis-table th li:last-child{
  margin-bottom:0;
}

.analysis-table td li::marker,
.analysis-table th li::marker{
  color:#94a3b8;
}

/* 箇条書きを含むセルは左右余白を少し広く取り、点と枠線を離す */
.analysis-table td:has(> ul),
.analysis-table td:has(> ol),
.analysis-table th:has(> ul){
  padding-left:14px !important;
  padding-right:14px !important;
  text-align:left !important;
}

.analysis-table td li strong,
.analysis-table th li strong{
  color:#0f172a;
  font-weight:900;
}

@media (max-width:767px){
  .analysis-table td ul,
  .analysis-table th ul,
  .analysis-table td ol,
  .analysis-table th ol{
    padding-left:1.25em;
  }

  .analysis-table td:has(> ul),
  .analysis-table td:has(> ol),
  .analysis-table th:has(> ul){
    padding-left:12px !important;
    padding-right:12px !important;
  }
}

/* ---------------------------------------------------------
   4. 続行・終了を判断する材料
   liを2カラムgridで固定すると3要素目が枠外に出るため、
   インラインで折り返す形へ変更する
--------------------------------------------------------- */
.mm-decision-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:12px;
}

.mm-decision-panel{
  min-width:0;
  overflow:hidden;
}

.mm-decision-list{
  margin:0;
  padding:2px 12px 8px;
  list-style:none;
}

.mm-decision-list li{
  display:block;
  grid-template-columns:none;
  gap:0;
  min-width:0;
  max-width:100%;
  padding:10px 0;
  border-bottom:1px dashed #dbe3ec;
  color:#334155;
  font-size:12px;
  font-weight:650;
  line-height:1.8;
  overflow-wrap:anywhere;
  word-break:normal;
}

.mm-decision-list li:last-child{
  border-bottom:0;
}

.mm-decision-list li > strong,
.mm-decision-list li > span,
.mm-decision-list li > em,
.mm-decision-list li .font-num{
  display:inline;
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
}

.mm-decision-list li > strong{
  margin-right:2px;
  color:#0f172a;
  font-weight:900;
}

@media (min-width:768px){
  .mm-decision-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:420px){
  .mm-decision-list li{
    display:block;
    grid-template-columns:none;
    gap:0;
  }
}

/* ---------------------------------------------------------
   5. よくある質問
   details / summary へ既存デザインを適用する
--------------------------------------------------------- */
.mm-faq{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.mm-faq__item{
  border-bottom:1px solid #eef2f6;
  background:#fff;
}

.mm-faq__item:last-child{
  border-bottom:0;
}

details.mm-faq__item > summary.mm-faq__q{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  margin:0;
  padding:14px;
  border:0;
  background:#fff;
  color:#111827;
  cursor:pointer;
  font-size:14px;
  font-weight:800;
  line-height:1.6;
  text-align:left;
  list-style:none;
  overflow-wrap:anywhere;
}

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

details.mm-faq__item > summary.mm-faq__q::marker{
  content:"";
}

details.mm-faq__item > summary.mm-faq__q:hover{
  background:#f9fafb;
}

details.mm-faq__item[open] > summary.mm-faq__q{
  background:#f5fbfa;
  color:#0f172a;
}

.mm-faq__q .mm-q{
  display:inline-grid;
  flex:0 0 24px;
  width:24px;
  height:24px;
  margin:0;
  place-items:center;
  border-radius:50%;
  background:var(--teal);
  color:#fff;
  font-size:12px;
  font-weight:900;
  line-height:1;
}

.mm-faq__q i{
  flex:0 0 auto;
  margin-left:auto;
  color:#9ca3af;
  font-size:12px;
  transition:transform .2s ease;
}

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

.mm-faq__a{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:0 14px 15px;
  color:#4b5563;
  font-size:13px;
  line-height:1.85;
  overflow-wrap:anywhere;
}

.mm-faq__a .mm-a{
  display:inline-grid;
  flex:0 0 24px;
  width:24px;
  height:24px;
  margin:0;
  place-items:center;
  border-radius:50%;
  background:#fff0f1;
  color:var(--red);
  font-size:12px;
  font-weight:900;
  line-height:1;
}

.mm-faq__a .table-scroll,
.mm-faq__a p{
  margin-top:0;
}

@media (max-width:767px){
  details.mm-faq__item > summary.mm-faq__q{
    padding:12px;
    font-size:13px;
  }

  .mm-faq__a{
    padding:0 12px 13px;
    font-size:12px;
  }
}

/* =========================================================
   v37 最終上書き
   1. ここがポイント（短文1行の見え方に統一）
   2. ホール実戦メニュー（スマホでも2列・説明文なし）
   3. 表セル内の箇条書き（点が枠外へ出るのを修正）
   4. 続行・終了パネル（文章が枠外で切れるのを修正）
   5. よくある質問（details/summaryへデザインを適用）

   ※ blog-app.css と main-app.css の両方の一番最後へ追記する。
     既存の「v36.1 最終上書き」ブロックより後ろに置くこと。
========================================================= */

/* ---------------------------------------------------------
   1. ここがポイント
--------------------------------------------------------- */
.mm-points__list{
  margin:0;
  padding-left:20px;
  list-style:disc outside;
}

.mm-points__list li{
  margin:0 0 8px;
  color:#111827;
  font-size:13px;
  font-weight:600;
  line-height:1.75;
  overflow-wrap:anywhere;
}

.mm-points__list li:last-child{
  margin-bottom:0;
}

.mm-points__list li::marker{
  color:#fca5a5;
}

@media (max-width:767px){
  .mm-points__list{
    padding-left:18px;
  }

  .mm-points__list li{
    font-size:12.5px;
    line-height:1.7;
  }
}

/* ---------------------------------------------------------
   2. ホール実戦メニュー
   ラベルだけを2列で並べ、スマホでも1タップで飛べるようにする
--------------------------------------------------------- */
.mm-hall-menu{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0;
}

.mm-hall-menu .mm-info{
  display:flex;
  min-width:0;
  min-height:52px;
  align-items:center;
  padding:10px 12px;
  border:1px solid #dbe3ef;
  border-radius:9px;
  background:#f8fafc;
  transition:
    border-color .2s ease,
    background-color .2s ease;
}

.mm-hall-menu .mm-info:hover{
  border-color:var(--teal);
  background:#f0fdfa;
}

.mm-hall-menu .mm-info__h{
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  color:inherit;
  font-size:13px;
  font-weight:900;
  line-height:1.45;
}

.mm-hall-menu .mm-info__h a{
  display:block;
  color:var(--teal-700);
  text-decoration:none;
  overflow-wrap:anywhere;
}

.mm-hall-menu .mm-info__h a::after{
  content:" ›";
  font-weight:900;
}

.mm-hall-menu .mm-info__h a:hover{
  text-decoration:underline;
}

@media (max-width:767px){
  .mm-hall-menu{
    gap:7px;
  }

  .mm-hall-menu .mm-info{
    min-height:46px;
    padding:9px 10px;
  }

  .mm-hall-menu .mm-info__h{
    font-size:12px;
  }
}

@media (max-width:360px){
  .mm-hall-menu .mm-info__h{
    font-size:11px;
  }
}

/* ---------------------------------------------------------
   3. 表セル内の箇条書き
   ulのpadding依存をやめ、点が必ずセル内側に入るようにする
--------------------------------------------------------- */
.analysis-table td ul,
.analysis-table th ul,
.analysis-table td ol,
.analysis-table th ol{
  margin:0;
  padding:0 0 0 1.35em;
  list-style-position:outside;
}

.analysis-table td ul,
.analysis-table th ul{
  list-style-type:disc;
}

.analysis-table td li,
.analysis-table th li{
  margin:0 0 6px;
  color:#334155;
  font-weight:600;
  line-height:1.7;
  text-align:left;
  overflow-wrap:anywhere;
}

.analysis-table td li:last-child,
.analysis-table th li:last-child{
  margin-bottom:0;
}

.analysis-table td li::marker,
.analysis-table th li::marker{
  color:#94a3b8;
}

/* 箇条書きを含むセルは左右余白を少し広く取り、点と枠線を離す */
.analysis-table td:has(> ul),
.analysis-table td:has(> ol),
.analysis-table th:has(> ul){
  padding-left:14px !important;
  padding-right:14px !important;
  text-align:left !important;
}

.analysis-table td li strong,
.analysis-table th li strong{
  color:#0f172a;
  font-weight:900;
}

@media (max-width:767px){
  .analysis-table td ul,
  .analysis-table th ul,
  .analysis-table td ol,
  .analysis-table th ol{
    padding-left:1.25em;
  }

  .analysis-table td:has(> ul),
  .analysis-table td:has(> ol),
  .analysis-table th:has(> ul){
    padding-left:12px !important;
    padding-right:12px !important;
  }
}

/* ---------------------------------------------------------
   4. 続行・終了を判断する材料
   liを2カラムgridで固定すると3要素目が枠外に出るため、
   インラインで折り返す形へ変更する
--------------------------------------------------------- */
.mm-decision-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:12px;
}

.mm-decision-panel{
  min-width:0;
  overflow:hidden;
}

.mm-decision-list{
  margin:0;
  padding:2px 12px 8px;
  list-style:none;
}

.mm-decision-list li{
  display:block;
  grid-template-columns:none;
  gap:0;
  min-width:0;
  max-width:100%;
  padding:10px 0;
  border-bottom:1px dashed #dbe3ec;
  color:#334155;
  font-size:12px;
  font-weight:650;
  line-height:1.8;
  overflow-wrap:anywhere;
  word-break:normal;
}

.mm-decision-list li:last-child{
  border-bottom:0;
}

.mm-decision-list li > strong,
.mm-decision-list li > span,
.mm-decision-list li > em,
.mm-decision-list li .font-num{
  display:inline;
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
}

.mm-decision-list li > strong{
  margin-right:2px;
  color:#0f172a;
  font-weight:900;
}

@media (min-width:768px){
  .mm-decision-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:420px){
  .mm-decision-list li{
    display:block;
    grid-template-columns:none;
    gap:0;
  }
}

/* ---------------------------------------------------------
   5. よくある質問
   details / summary へ既存デザインを適用する
--------------------------------------------------------- */
.mm-faq{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.mm-faq__item{
  border-bottom:1px solid #eef2f6;
  background:#fff;
}

.mm-faq__item:last-child{
  border-bottom:0;
}

details.mm-faq__item > summary.mm-faq__q{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  margin:0;
  padding:14px;
  border:0;
  background:#fff;
  color:#111827;
  cursor:pointer;
  font-size:14px;
  font-weight:800;
  line-height:1.6;
  text-align:left;
  list-style:none;
  overflow-wrap:anywhere;
}

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

details.mm-faq__item > summary.mm-faq__q::marker{
  content:"";
}

details.mm-faq__item > summary.mm-faq__q:hover{
  background:#f9fafb;
}

details.mm-faq__item[open] > summary.mm-faq__q{
  background:#f5fbfa;
  color:#0f172a;
}

.mm-faq__q .mm-q{
  display:inline-grid;
  flex:0 0 24px;
  width:24px;
  height:24px;
  margin:0;
  place-items:center;
  border-radius:50%;
  background:var(--teal);
  color:#fff;
  font-size:12px;
  font-weight:900;
  line-height:1;
}

.mm-faq__q i{
  flex:0 0 auto;
  margin-left:auto;
  color:#9ca3af;
  font-size:12px;
  transition:transform .2s ease;
}

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

.mm-faq__a{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:0 14px 15px;
  color:#4b5563;
  font-size:13px;
  line-height:1.85;
  overflow-wrap:anywhere;
}

.mm-faq__a .mm-a{
  display:inline-grid;
  flex:0 0 24px;
  width:24px;
  height:24px;
  margin:0;
  place-items:center;
  border-radius:50%;
  background:#fff0f1;
  color:var(--red);
  font-size:12px;
  font-weight:900;
  line-height:1;
}

.mm-faq__a .table-scroll,
.mm-faq__a p{
  margin-top:0;
}

@media (max-width:767px){
  details.mm-faq__item > summary.mm-faq__q{
    padding:12px;
    font-size:13px;
  }

  .mm-faq__a{
    padding:0 12px 13px;
    font-size:12px;
  }
}

/* ---------------------------------------------------------
   6. 結論カードの大きい数値（mm-info__big）
   既存の「.mm-info__big span を小さくする」指定が
   font-num にも当たり、範囲表記の「〜」だけが大きく残るため、
   class付きspanは親のサイズ・太さを継承させる。
   単位（枚・G など）はclassを付けないspanで書くと従来どおり小さくなる。
--------------------------------------------------------- */
.mm-info__big span[class]{
  font-family:inherit;
  font-size:inherit;
  font-weight:inherit;
  color:inherit;
  letter-spacing:inherit;
}

/*
 * font-num は Roboto 指定だが、読み込まれている Roboto に900が無いため
 * font-weight:900 を指定しても細く描画される。
 * mm-info__big の中だけは本文フォント（Noto Sans JP）を継承させ、
 * 隣のカードの見出しと同じ太さ・濃さに揃える。
 * 表の中の font-num は従来どおり Roboto のまま。
 */
.mm-info__big .font-num,
.mm-info__mid .font-num{
  font-family:inherit;
  font-weight:inherit;
  font-variant-numeric:tabular-nums;
}

/* 範囲表記が途中で折り返さないようにする */
.mm-info__big{
  overflow-wrap:anywhere;
}

/* 色の指定だけは各ユーティリティを優先させる */
.mm-info__big .mm-txt-red{color:var(--red)}
.mm-info__big .mm-txt-blue{color:var(--blue)}
.mm-info__big .mm-txt-green{color:var(--green)}
.mm-info__big .mm-txt-purple{color:var(--purple)}
.mm-info__big .mm-txt-yellow{color:var(--yellow)}
.mm-info__big .mm-txt-gray{color:#9ca3af}

/* mm-info__mid も同じ扱いに揃える */
.mm-info__mid span[class]{
  font-family:inherit;
  font-size:inherit;
  font-weight:inherit;
  color:inherit;
}

/* ---------------------------------------------------------
   7. スマホの2列テーブル（条件｜理由 など長文×長文）
   縦見出し列が広がりすぎて本文列が1文字ずつ潰れるのを防ぐ。
   ・thは上寄せ・折り返し可・最大45%
   ・tdは残り幅をすべて使う
--------------------------------------------------------- */
.analysis-table th,
.analysis-table td{
  vertical-align:top;
  white-space:normal;
  overflow-wrap:anywhere;
}

/* 行見出し（tbody内の左端th）は幅を取りすぎない */
.analysis-table tbody th:first-child{
  width:38%;
  max-width:45%;
  min-width:96px;
  text-align:left;
  font-weight:800;
  line-height:1.65;
}

@media (max-width:767px){
  .analysis-table tbody th:first-child{
    width:36%;
    min-width:84px;
    padding:10px 8px;
    font-size:11.5px;
  }

  .analysis-table td{
    padding:10px 10px;
    font-size:12px;
    line-height:1.75;
  }
}

/* 長文×長文の2列表はスマホでは縦積みに切り替える。
   HTML側で table-scroll に mm-table--stack を併記した表だけが対象。 */
@media (max-width:767px){
  .mm-table--stack table,
  .mm-table--stack thead,
  .mm-table--stack tbody,
  .mm-table--stack tr,
  .mm-table--stack th,
  .mm-table--stack td{
    display:block;
    width:100% !important;
    max-width:100% !important;
  }

  .mm-table--stack thead{
    display:none;
  }

  .mm-table--stack tr{
    margin:0 0 10px;
    border:1px solid #dbe3ef;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
  }

  .mm-table--stack tr:last-child{
    margin-bottom:0;
  }

  .mm-table--stack tbody th:first-child{
    padding:10px 12px;
    background:#f1f5f9;
    border-bottom:1px solid #e2e8f0;
    font-size:12.5px;
    font-weight:900;
    color:#0f172a;
  }

  .mm-table--stack tbody td{
    padding:10px 12px;
    border:0;
    font-size:12px;
    line-height:1.8;
    color:#475569;
  }

  /* 縦積み時はスクロール表示・案内チップを無効化 */
  .mm-table--stack{
    overflow:visible;
  }

  .mm-table--stack::before,
  .mm-table--stack::after{
    display:none !important;
    content:none !important;
  }
}

/* ---------------------------------------------------------
   8. 設定判別ポイント（重要度バッジ＋長文）の可読性
   バッジと本文が一体で「文字の壁」になるのを、
   カード型（バッジ行＋見出し＋本文）に整える。
--------------------------------------------------------- */
.mm-points__list li .mm-badge,
.mm-points__list li .mm-badge--red{
  display:inline-block;
  margin:0 6px 4px 0;
  vertical-align:middle;
}

/* 設定判別ポイント専用リスト。
   HTML側で ul.mm-points__list に mm-points__list--rank を併記して使う。 */
.mm-points__list--rank{
  padding-left:0;
  list-style:none;
}

.mm-points__list--rank li{
  position:relative;
  margin:0 0 10px;
  padding:12px 12px 12px 14px;
  border:1px solid #e2e8f0;
  border-left:4px solid #cbd5e1;
  border-radius:10px;
  background:#fff;
  font-size:12.5px;
  font-weight:500;
  line-height:1.85;
  color:#475569;
}

.mm-points__list--rank li:last-child{
  margin-bottom:0;
}

.mm-points__list--rank li::marker{
  content:"";
}

/* 重要度で左帯の色を変える（li側に併記するclass） */
.mm-points__list--rank li.mm-rank-s{border-left-color:var(--red)}
.mm-points__list--rank li.mm-rank-a{border-left-color:#f59e0b}
.mm-points__list--rank li.mm-rank-b{border-left-color:#3b82f6}
.mm-points__list--rank li.mm-rank-c{border-left-color:#94a3b8}

/* 1行目：バッジ＋項目名（strong） */
.mm-points__list--rank li > strong{
  display:block;
  margin:0 0 4px;
  font-size:13.5px;
  font-weight:900;
  color:#0f172a;
  line-height:1.5;
}

.mm-points__list--rank .mm-badge,
.mm-points__list--rank .mm-badge--red{
  margin-right:6px;
  vertical-align:1px;
}

/* 本文の中の数値・サンプル条件を拾いやすくする */
.mm-points__list--rank .font-num{
  font-weight:800;
  color:#0f172a;
}

.mm-points__list--rank .mm-point-sample{
  display:inline-block;
  margin-top:6px;
  padding:2px 8px;
  border-radius:999px;
  background:#f1f5f9;
  color:#334155;
  font-size:11px;
  font-weight:700;
}

@media (max-width:767px){
  .mm-points__list--rank li{
    padding:11px 10px 11px 12px;
    font-size:12px;
    line-height:1.8;
  }

  .mm-points__list--rank li > strong{
    font-size:13px;
  }
}

/* ---------------------------------------------------------
   9. 2列テーブルの自動最適化（HTML変更なしで効く）
   JSが付ける最小幅（--mm-table-min-width 既定720px）のせいで、
   2列表でも横スクロールになり、720pxの内側で比率を分け合うため
   右の本文が狭く見える。列数を :has() で判定して切り替える。

   ・430px以下 … 2列表は縦積みカードにする（見出し帯＋本文）
   ・431〜767px … 最小幅を解除して画面幅に収め、本文側を6割強にする
   ・3列以上 … 従来どおり横スクロール（最小幅だけ少し詰める）
   縦積みにしたくない表は table-scroll に mm-table--keep を併記する。
--------------------------------------------------------- */

/* 2列表＝tbodyの行の2番目のセルが最後のセル */
@media (max-width:767px){
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table{
    min-width:0 !important;
    width:100% !important;
    table-layout:fixed;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody th:first-child{
    width:37%;
  }

  /* 収まるので横スクロール案内は出さない */
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .table-scroll__guide{
    display:none !important;
  }

  /* 3列以上は最小幅を詰めてセル余白も圧縮 */
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(3)) .analysis-table{
    min-width:min(var(--mm-table-min-width,720px),560px);
  }
}

/* 430px以下は2列表を縦積みカードへ */
@media (max-width:430px){
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep){
    overflow:visible;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table,
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody,
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tr,
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table th,
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table td{
    display:block;
    width:100% !important;
    max-width:100% !important;
    border-right:0 !important;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table{
    border:0 !important;
    box-shadow:none !important;
    table-layout:auto;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table thead{
    display:none;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr{
    margin:0 0 10px;
    border:1px solid #dbe3ef !important;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr:last-child{
    margin-bottom:0;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody th:first-child{
    padding:10px 12px !important;
    border-bottom:1px solid #e2e8f0 !important;
    background:#f1f5f9 !important;
    color:#0f172a !important;
    font-size:12.5px;
    font-weight:900;
    text-align:left !important;
    line-height:1.7;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody td{
    padding:11px 12px !important;
    border-bottom:0 !important;
    background:#fff !important;
    color:#475569 !important;
    font-size:12px;
    line-height:1.85;
  }
}

/* :has() 非対応ブラウザ向けの保険。
   HTML側で mm-table--stack を併記した表は従来指定で縦積みになる。 */
@supports not selector(:has(*)){
  @media (max-width:767px){
    .analysis-table tbody th:first-child{
      width:34%;
      min-width:80px;
    }
  }
}

/* ---------------------------------------------------------
   10. 左端セルのはみ出し修正（優先度の競合解消）
   既存CSSの
     @media(max-width:900px){ .table-scroll.mm-table-wide ...
       .analysis-table tr > :first-child{ min-width:120px; white-space:nowrap } }
   が効いていて、幅を絞ったセルの中で折り返せず枠外へ出る。
   同じ条件で明示的に解除する。
--------------------------------------------------------- */
@media (max-width:900px){
  .analysis-table tr > :first-child,
  .table-scroll .analysis-table tr > :first-child,
  .table-scroll.mm-table-wide .analysis-table tr > :first-child,
  .table-scroll.mm-table-wide .table-scroll__viewport .analysis-table tr > :first-child,
  .table-scroll:not(.mm-table-ready) .analysis-table tr > :first-child{
    min-width:0 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:normal;
  }

  /* 見出し行だけは短いので折り返さない方が読みやすい */
  .analysis-table thead th{
    white-space:nowrap;
  }
}

/* 数値セルは途中で改行させない（1/1598.4 が割れるのを防ぐ） */
.analysis-table .font-num{
  white-space:nowrap;
}

/* 縦積みへ切り替える画面幅を480pxまで広げる（360/390/430の実機を確実に含める） */
@media (max-width:480px){
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep){
    overflow:visible;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table,
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody,
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tr,
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table th,
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table td{
    display:block;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    border-right:0 !important;
    white-space:normal !important;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table{
    border:0 !important;
    box-shadow:none !important;
    table-layout:auto !important;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table thead{
    display:none !important;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr{
    margin:0 0 10px;
    border:1px solid #dbe3ef !important;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr:last-child{
    margin-bottom:0;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > *:first-child{
    padding:10px 12px !important;
    border-bottom:1px solid #e2e8f0 !important;
    background:#f1f5f9 !important;
    color:#0f172a !important;
    font-size:12.5px !important;
    font-weight:900 !important;
    text-align:left !important;
    line-height:1.7;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > *:last-child{
    padding:11px 12px !important;
    border-bottom:0 !important;
    background:#fff !important;
    color:#475569 !important;
    font-size:12px !important;
    line-height:1.85;
    text-align:left !important;
  }

  /* 縦積みでは高設定の強調色を帯だけに残す */
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > .mm-setting-max:first-child{
    background:#fff1f2 !important;
    color:#be123c !important;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > .mm-setting-high:first-child{
    background:#eef2ff !important;
    color:#4338ca !important;
  }
}

/* ---------------------------------------------------------
   11. 縦積みカードの見た目をサイトのデザインに馴染ませる
   ・サイト共通の「左に細い帯」モチーフ（section-title / mm-subhead /
     mm-acc-title と同じ言語）を見出しへ適用
   ・親のmm-card枠と二重に見えないよう、枠線と影を軽くする
   ・ゼブラを止めて縦のリズムを揃える
--------------------------------------------------------- */
@media (max-width:480px){
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep){
    margin:0 0 4px;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr{
    margin:0 0 8px;
    border:1px solid #e6ebf1 !important;
    border-radius:9px;
    background:#fff;
    box-shadow:none !important;
  }

  /* 見出し帯：左に teal の細い線、背景はごく薄いグレー */
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > *:first-child{
    padding:9px 12px 9px 14px !important;
    border-bottom:1px solid #eef2f6 !important;
    background:#f8fafc !important;
    box-shadow:inset 3px 0 0 var(--teal) !important;
    color:#111827 !important;
    font-size:12.5px !important;
    font-weight:800 !important;
    line-height:1.65;
  }

  /* 本文：本文用の文字色・行間に合わせる */
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > *:last-child{
    padding:10px 14px 12px !important;
    background:#fff !important;
    color:#4b5563 !important;
    font-size:12px !important;
    line-height:1.85;
  }

  /* ゼブラ無効化（縦積みでは色が飛んで見える） */
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr:nth-child(even) > *:first-child{
    background:#f8fafc !important;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr:nth-child(even) > *:last-child{
    background:#fff !important;
  }

  /* 高設定・最高設定の行は帯の色だけ変える（背景は白のまま） */
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > .mm-setting-max:first-child{
    background:#fff5f6 !important;
    box-shadow:inset 3px 0 0 #be123c !important;
    color:#9f1239 !important;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > .mm-setting-high:first-child{
    background:#f5f6ff !important;
    box-shadow:inset 3px 0 0 #4338ca !important;
    color:#3730a3 !important;
  }

  /* 「即ヤメ」「確認してから」などの小見出しと表の間隔を詰める */
  .mm-card .mm-subhead{
    margin-bottom:10px;
  }

  .mm-card .mm-subhead + .table-scroll{
    margin-top:0;
  }

  /* 表が続く場合の間隔 */
  .table-scroll + .mm-subhead{
    margin-top:18px;
  }
}

/* ---------------------------------------------------------
   12. 縦積みカードの見出し（第11節の上書き・最終版）
   ・tealの左帯は削除。小見出し側の帯と重なってくどく見えるため
   ・見出し帯の色はサイトのカード見出し（mm-card__h）寄りに寄せて、
     本文との段差を弱める
--------------------------------------------------------- */
@media (max-width:480px){
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr{
    margin:0 0 10px;
    border:1px solid #dbe3ef !important;
    border-radius:10px;
    background:#fff;
    box-shadow:none !important;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > *:first-child,
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr:nth-child(even) > *:first-child{
    padding:10px 13px !important;
    border-bottom:1px solid #e8edf3 !important;
    background:#f6f8fb !important;
    box-shadow:none !important;
    color:#374151 !important;
    font-size:12.5px !important;
    font-weight:800 !important;
    line-height:1.7;
  }

  /* 高設定・最高設定の行は文字色だけで示す（帯は付けない） */
  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > .mm-setting-max:first-child{
    background:#fdf6f7 !important;
    box-shadow:none !important;
    color:#9f1239 !important;
  }

  .table-scroll:has(.analysis-table tbody tr > *:nth-child(2):last-child):not(.mm-table--keep)
    .analysis-table tbody tr > .mm-setting-high:first-child{
    background:#f7f8fd !important;
    box-shadow:none !important;
    color:#3730a3 !important;
  }
}

/* ---------------------------------------------------------
   13. 表の縦横の使い分け（まとめ・仕様メモ）

   ● 縦積みカードにする（スマホ480px以下・自動）
     2列で、値が長い文章の表。
     例：条件｜理由／確認すること｜理由／項目｜内容／突入契機｜内容
     → HTML側の指定は不要。:has() で列数を判定して自動適用。

   ● 横型のまま維持する
     (a) 3列以上の表。設定別の数値比較・期待値表・小役確率など。
         縦積みにすると列の対応が読めなくなるため絶対に縦にしない。
     (b) 2列でも値が短い表（最長16文字以下）。
         例：成立役｜確率／ランプ色｜契機役／パターン｜示唆内容
         → table-scroll に mm-table--keep を併記する。
         付けないと縦に伸びて逆に読みにくくなる（quickcheckが検出）。

   ● 迷ったときの基準
     「セルの中身が1行で収まるか」。収まるなら横型、文章なら縦積み。
--------------------------------------------------------- */

/* 横型維持の表はスマホでも比率と余白を最適化する */
@media (max-width:480px){
  .table-scroll.mm-table--keep .analysis-table{
    min-width:0 !important;
    width:100% !important;
    table-layout:auto;
  }

  .table-scroll.mm-table--keep .analysis-table tbody th:first-child{
    width:auto;
    max-width:56%;
    padding:9px 10px;
    font-size:11.5px;
    line-height:1.6;
  }

  .table-scroll.mm-table--keep .analysis-table tbody td{
    padding:9px 10px;
    font-size:12px;
    text-align:right;
    white-space:nowrap;
  }

  /* 値が数値でない場合（示唆内容など）は右寄せをやめる */
  .table-scroll.mm-table--keep .analysis-table tbody td:not(:has(.font-num)){
    text-align:left;
    white-space:normal;
  }

  .table-scroll.mm-table--keep .table-scroll__guide{
    display:none !important;
  }
}

/* ---------------------------------------------------------
   14. 設定判別ポイントの羅列感をさらに抑える
   ・バッジを小さくして項目名を主役にする
   ・本文とサンプルチップの間に余白を入れて塊を分ける
--------------------------------------------------------- */
.mm-points__list--rank .mm-badge,
.mm-points__list--rank .mm-badge--red{
  min-width:0;
  min-height:0;
  margin:0 7px 0 0;
  padding:2px 7px;
  border-radius:5px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.02em;
  vertical-align:2px;
}

.mm-points__list--rank li > strong{
  display:block;
  margin:0 0 6px;
  padding:0 0 6px;
  border-bottom:1px dashed #e8edf3;
  font-size:13px;
  font-weight:900;
  color:#111827;
  line-height:1.55;
}

.mm-points__list--rank li{
  padding:12px 13px;
  border:1px solid #e6ebf1;
  border-radius:10px;
  background:#fff;
  box-shadow:none;
}

.mm-points__list--rank .mm-point-sample{
  margin-top:8px;
  padding:3px 9px;
  background:#f4f7fa;
  color:#475569;
  font-size:10.5px;
  font-weight:800;
}

@media (max-width:480px){
  .mm-points__list--rank li{
    padding:11px 11px;
    font-size:12px;
    line-height:1.85;
  }

  .mm-points__list--rank li > strong{
    font-size:12.5px;
  }
}

/* ---------------------------------------------------------
   15. フッターの関連機種（.mm-related）
   4カラム（1枠約285px）に筐体画像が素置きされており、
   縦長の筐体がそのまま巨大に表示されるのを抑える。
   画像ラッパー（__ph / __image）が有る場合と、
   .mm-related__item 直下にimgがある場合の両方に対応。
--------------------------------------------------------- */
.mm-related{
  padding:32px 0;
}

.mm-related__h{
  margin:0 0 16px;
  padding-left:12px;
  border-left:4px solid var(--teal);
  color:#111827;
  font-size:18px;
  font-weight:900;
  line-height:1.4;
}

.mm-related__grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(132px,160px));
  justify-content:start;
  gap:14px;
}

.mm-related__item,
.mm-related__grid > a{
  display:flex;
  min-width:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  color:inherit;
  text-decoration:none;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.mm-related__item:hover,
.mm-related__grid > a:hover{
  border-color:#99f6e4;
  box-shadow:var(--shadow-sm);
}

/* 画像ラッパーがある場合 */
.mm-related__ph,
.mm-related__image{
  display:flex;
  width:100%;
  height:150px;
  min-height:0;
  align-items:center;
  justify-content:center;
  aspect-ratio:auto;
  margin:0;
  padding:8px;
  overflow:hidden;
  border:0;
  border-bottom:1px solid var(--border);
  border-radius:0;
  background:#f8fafc;
  box-sizing:border-box;
}

.mm-related__ph img,
.mm-related__image img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:134px;
  margin:0 auto;
  object-fit:contain;
  background:transparent;
}

/* ラッパーが無く .mm-related__item 直下にimgがある場合 */
.mm-related__item > img,
.mm-related__grid > a > img{
  display:block;
  width:100%;
  height:150px;
  padding:8px;
  border-bottom:1px solid var(--border);
  background:#f8fafc;
  object-fit:contain;
  box-sizing:border-box;
}

/* 機種名 */
.mm-related__item p,
.mm-related__title,
.mm-related__grid > a p{
  display:-webkit-box;
  overflow:hidden;
  margin:0;
  padding:9px 10px 11px;
  color:#1f2937;
  font-size:12.5px;
  font-weight:700;
  line-height:1.5;
  overflow-wrap:anywhere;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.mm-related__item:hover p,
.mm-related__grid > a:hover p{
  color:var(--teal-700);
}

.mm-related__maker{
  display:block;
  padding:0 10px 10px;
  margin:0;
  color:var(--muted);
  font-size:10.5px;
  font-weight:700;
}

@media (max-width:767px){
  .mm-related{
    padding:24px 0;
  }

  .mm-related__h{
    margin-bottom:13px;
    font-size:16px;
  }

  .mm-related__grid{
    grid-template-columns:repeat(auto-fill,minmax(118px,1fr));
    gap:10px;
  }

  .mm-related__ph,
  .mm-related__image,
  .mm-related__item > img,
  .mm-related__grid > a > img{
    height:128px;
  }

  .mm-related__ph img,
  .mm-related__image img{
    max-height:112px;
  }

  .mm-related__item p,
  .mm-related__title,
  .mm-related__grid > a p{
    padding:8px 9px 10px;
    font-size:11.5px;
  }
}

/* 1件しかない場合に枠が横いっぱいへ伸びないようにする */
.mm-related__grid:has(> :only-child){
  grid-template-columns:minmax(132px,160px);
}

/* =========================================================
   トップページ：新台導入スケジュールを導入日ごとに分割
   例：8月3日（月） / 8月17日（月）
========================================================= */

.mm-home-new-day-list {
  display: grid;
  gap: 26px;
}

.mm-home-new-day {
  min-width: 0;
}

.mm-home-new-day__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 9px 12px;
  border-left: 4px solid var(--teal);
  border-bottom: 1px solid #dbe3ec;
  border-radius: 0 8px 8px 0;
  background: #f8fafc;
  color: #1f2937;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

.mm-home-new-day__date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mm-home-new-day__date i {
  color: var(--teal-700);
}

.mm-home-new-day__count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 767px) {
  .mm-home-new-day-list {
    gap: 22px;
  }

  .mm-home-new-day__title {
    margin-bottom: 11px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .mm-home-new-day__count {
    min-width: 48px;
    padding: 3px 8px;
    font-size: 10px;
  }
}

/* =========================================================
   SNSシェアボタン統一
   通常記事の旧構造と、現行の正式構造の両方に対応
========================================================= */

/* 外枠 */
.mm-share-panel,
.mm-article > .mm-share {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

/* 3列レイアウト */
.mm-share-buttons,
.mm-article > .mm-share {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* ボタン共通 */
.mm-share-button,
.mm-share__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: opacity .2s ease, transform .2s ease;
}

.mm-share-button:hover,
.mm-share__item:hover {
  color: #fff !important;
  opacity: .88;
  transform: translateY(-1px);
}

/* 各サービス */
.mm-share-button--x,
.mm-share__item--x {
  background: #111;
}

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

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

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

/* 本文末の段落やリンクの汎用装飾より優先 */
.mm-article .mm-share-button,
.mm-article .mm-share__item {
  border-bottom: 0;
  box-shadow: none;
}

/* スマートフォン */
@media (max-width: 767px) {
  .mm-share-panel,
  .mm-article > .mm-share {
    margin-top: 22px;
    padding: 12px;
  }

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

  .mm-share-button,
  .mm-share__item {
    min-height: 42px;
    font-size: 12px;
  }
}

/* =========================================================
   通常記事：読みやすさ・視認性調整
   single-editorial-readable.php 専用
   app.css の末尾へ追記
========================================================= */

/* 機種ページや固定ページには影響させない */
.mm-body--editorial .mm-article--editorial {
  padding: 28px 30px 34px;
}

/* 記事カテゴリー */
.mm-body--editorial .mm-editorial-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 6px 11px;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  background: #f0fdfa;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.mm-body--editorial .mm-editorial-category i {
  font-size: 11px;
}

/* タイトル */
.mm-body--editorial .mm-article__h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.35;
}

/* 更新日 */
.mm-body--editorial .mm-article__meta {
  display: flex;
  align-items: center;
  margin: 12px 0 18px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

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

/* アイキャッチ */
.mm-body--editorial .mm-editorial-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #f8fafc;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.mm-body--editorial .mm-editorial-visual img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: cover;
}

/* アイキャッチ後の抜粋 */
.mm-body--editorial .mm-editorial-lead {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  margin: 28px 0 34px;
  padding: 18px 20px;
  border: 1px solid #cbd5e1;
  border-left: 5px solid var(--teal, #14b8a6);
  border-radius: 10px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 100%);
}

.mm-body--editorial .mm-editorial-lead__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 17px;
}

.mm-body--editorial .mm-editorial-lead__text {
  margin: 0;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

/* 本文の基本 */
.mm-body--editorial .mm-article__body {
  color: #1e293b;
  font-size: 16px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.mm-body--editorial .mm-article__body > p {
  margin: 0 0 1.45em;
}

/* 大見出し */
.mm-body--editorial .mm-article__body > h2 {
  position: relative;
  margin: 46px 0 22px;
  padding: 15px 17px 15px 21px;
  border: 1px solid #dbe4ea;
  border-left: 6px solid var(--teal, #14b8a6);
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
}

.mm-body--editorial .mm-article__body > h2:first-child {
  margin-top: 0;
}

/* 中見出し */
.mm-body--editorial .mm-article__body > h3 {
  margin: 34px 0 16px;
  padding: 0 0 9px 13px;
  border-left: 4px solid #2dd4bf;
  border-bottom: 1px solid #dbe4ea;
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

/* 小見出し */
.mm-body--editorial .mm-article__body > h4 {
  margin: 28px 0 12px;
  color: #0f766e;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}

/* 箇条書き */
.mm-body--editorial .mm-article__body > ul,
.mm-body--editorial .mm-article__body > ol {
  margin: 22px 0 28px;
  padding: 17px 20px 17px 42px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #f8fafc;
}

.mm-body--editorial .mm-article__body li {
  margin: 7px 0;
  padding-left: 3px;
}

/* 引用 */
.mm-body--editorial .mm-article__body blockquote {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 5px solid #94a3b8;
  border-radius: 0 8px 8px 0;
  background: #f8fafc;
  color: #475569;
}

/* 本文画像 */
.mm-body--editorial .mm-article__body figure {
  margin: 30px 0;
}

.mm-body--editorial .mm-article__body figure img,
.mm-body--editorial .mm-article__body > img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.mm-body--editorial .mm-article__body figcaption {
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/* 情報ボックス */
.mm-body--editorial .mm-article__body .mm-info {
  margin: 26px 0;
  padding: 18px 20px;
  border-radius: 10px;
}

.mm-body--editorial .mm-article__body .mm-info p:last-child {
  margin-bottom: 0;
}

/* カード */
.mm-body--editorial .mm-article__body .mm-card {
  margin: 18px 0;
  padding: 18px;
  border-radius: 10px;
}

.mm-body--editorial .mm-article__body .mm-grid-2 {
  gap: 14px;
  margin: 22px 0;
}

/* 表 */
.mm-body--editorial .mm-article__body table {
  width: 100%;
  margin: 26px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #dbe4ea;
  border-radius: 9px;
  background: #fff;
}

.mm-body--editorial .mm-article__body th,
.mm-body--editorial .mm-article__body td {
  padding: 12px 13px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.mm-body--editorial .mm-article__body th {
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 900;
}

.mm-body--editorial .mm-article__body tr:last-child > * {
  border-bottom: 0;
}

.mm-body--editorial .mm-article__body tr > *:last-child {
  border-right: 0;
}

/* 本文リンク */
.mm-body--editorial .mm-article__body a {
  color: #0f766e;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* SNSとの距離 */
.mm-body--editorial .mm-share-panel {
  margin-top: 40px;
}

/* スマートフォン */
@media (max-width: 767px) {
  .mm-body--editorial .mm-article--editorial {
    padding: 20px 16px 26px;
  }

  .mm-body--editorial .mm-editorial-category {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .mm-body--editorial .mm-article__h1 {
    font-size: 25px;
    line-height: 1.42;
  }

  .mm-body--editorial .mm-article__meta {
    margin: 10px 0 15px;
    font-size: 11px;
  }

  .mm-body--editorial .mm-editorial-visual {
    border-radius: 9px;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .07);
  }

  .mm-body--editorial .mm-editorial-lead {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    margin: 22px 0 28px;
    padding: 15px 14px;
  }

  .mm-body--editorial .mm-editorial-lead__icon {
    width: 31px;
    height: 31px;
    font-size: 14px;
  }

  .mm-body--editorial .mm-editorial-lead__text {
    font-size: 14px;
    line-height: 1.85;
  }

  .mm-body--editorial .mm-article__body {
    font-size: 15px;
    line-height: 1.9;
  }

  .mm-body--editorial .mm-article__body > h2 {
    margin: 38px 0 18px;
    padding: 13px 13px 13px 16px;
    font-size: 21px;
  }

  .mm-body--editorial .mm-article__body > h3 {
    margin: 29px 0 14px;
    padding-left: 10px;
    font-size: 18px;
  }

  .mm-body--editorial .mm-article__body > ul,
  .mm-body--editorial .mm-article__body > ol {
    padding: 14px 14px 14px 34px;
  }

  .mm-body--editorial .mm-article__body .mm-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   初心者ガイド：カテゴリー別記事一覧
   app.css の末尾へ追記
========================================================= */

.k6-beginner-archive {
  padding-top: 24px;
  padding-bottom: 44px;
}

.k6-beginner-archive__intro,
.k6-beginner-archive__articles,
.k6-beginner-category-nav {
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.k6-beginner-archive__intro {
  padding: 22px;
}

.k6-beginner-archive__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 17px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.k6-beginner-archive__back:hover {
  text-decoration: underline;
}

.k6-beginner-archive__heading {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.k6-beginner-archive__heading-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 27px;
}

.k6-beginner-archive__title {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.4;
}

.k6-beginner-archive__description {
  margin: 6px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.k6-beginner-category-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
}

.k6-beginner-category-nav__item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
}

.k6-beginner-category-nav__item i {
  width: 20px;
  color: #0f766e;
  font-size: 16px;
  text-align: center;
}

.k6-beginner-category-nav__item:hover {
  border-color: #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
}

.k6-beginner-category-nav__item.is-current {
  border-color: #14b8a6;
  background: #0f766e;
  color: #fff;
}

.k6-beginner-category-nav__item.is-current i {
  color: #fff;
}

.k6-beginner-archive__articles {
  padding: 22px;
}

.k6-beginner-archive__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.k6-beginner-archive__section-head h2 {
  margin: 0;
  padding-left: 11px;
  border-left: 5px solid var(--teal);
  color: #111827;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.k6-beginner-archive__section-head > span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.k6-beginner-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.k6-beginner-archive-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.k6-beginner-archive-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 9px 24px rgba(15, 23, 42, .09);
  transform: translateY(-2px);
}

.k6-beginner-archive-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.k6-beginner-archive-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.k6-beginner-archive-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.k6-beginner-archive-card:hover .k6-beginner-archive-card__image img {
  transform: scale(1.025);
}

.k6-beginner-archive-card__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 42px;
}

.k6-beginner-archive-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 118, 110, .94);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6-beginner-archive-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px;
}

.k6-beginner-archive-card__title {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
}

.k6-beginner-archive-card__excerpt {
  margin: 9px 0 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.75;
}

.k6-beginner-archive-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.k6-beginner-archive-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.k6-beginner-archive-card__read {
  color: #0f766e;
  font-weight: 900;
}

.k6-beginner-pagination {
  margin-top: 24px;
}

.k6-beginner-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.k6-beginner-pagination .page-numbers li {
  margin: 0;
}

.k6-beginner-pagination a.page-numbers,
.k6-beginner-pagination span.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #dbe4ea;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.k6-beginner-pagination a.page-numbers:hover,
.k6-beginner-pagination span.page-numbers.current {
  border-color: #14b8a6;
  background: #0f766e;
  color: #fff;
}

.k6-beginner-archive__empty {
  padding: 44px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 9px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}

.k6-beginner-archive__empty > i {
  margin-bottom: 10px;
  font-size: 34px;
}

.k6-beginner-archive__empty p {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
}

.k6-beginner-archive__empty a {
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
}

/* 通常記事上のカテゴリーラベルをリンクとして使用 */
.mm-body--editorial .mm-editorial-category {
  color: #0f766e;
  text-decoration: none;
}

.mm-body--editorial .mm-editorial-category:hover {
  border-color: #2dd4bf;
  background: #ccfbf1;
  color: #115e59;
}

.mm-body--editorial .mm-editorial-category__arrow {
  margin-left: 1px;
  font-size: 9px !important;
}

@media (max-width: 1100px) {
  .k6-beginner-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .k6-beginner-archive {
    padding-top: 12px;
    padding-bottom: 28px;
  }

  .k6-beginner-archive__intro,
  .k6-beginner-archive__articles,
  .k6-beginner-category-nav {
    margin-bottom: 14px;
    border-radius: 9px;
  }

  .k6-beginner-archive__intro,
  .k6-beginner-archive__articles {
    padding: 14px;
  }

  .k6-beginner-archive__heading {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
  }

  .k6-beginner-archive__heading-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    font-size: 21px;
  }

  .k6-beginner-archive__title {
    font-size: 22px;
  }

  .k6-beginner-archive__description {
    font-size: 12px;
  }

  .k6-beginner-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 10px;
  }

  .k6-beginner-category-nav__item {
    min-height: 52px;
    padding: 8px 9px;
    font-size: 10px;
  }

  .k6-beginner-category-nav__item i {
    width: 17px;
    font-size: 14px;
  }

  .k6-beginner-archive__section-head h2 {
    font-size: 17px;
  }

  .k6-beginner-archive-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .k6-beginner-archive-card__body {
    padding: 13px;
  }

  .k6-beginner-archive-card__title {
    font-size: 15px;
  }

  .k6-beginner-archive-card__excerpt {
    font-size: 11px;
  }
}

/* =========================================================
   初心者ガイド本文のみ
   共通ヘッダー・ナビ・サイドバーには影響させない
========================================================= */
.k6-beginner-main{padding-top:24px;padding-bottom:44px}
.k6-beginner-panel{margin-bottom:22px;padding:22px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow-sm)}
.k6-beginner-intro{position:relative;min-height:150px;padding-right:260px}
.k6-beginner-intro__title{margin:0 0 8px;color:#111827;font-size:28px;font-weight:900;line-height:1.35}
.k6-beginner-intro__lead{max-width:670px;margin:0;color:#374151;font-size:13px;font-weight:600;line-height:1.8}
.k6-beginner-intro__image{position:absolute;right:18px;bottom:0;width:220px;max-height:150px;object-fit:contain;object-position:center bottom}
.k6-beginner-intro__visual{position:absolute;right:26px;bottom:18px;display:flex;align-items:flex-end;gap:8px;color:var(--teal);font-size:72px}
.k6-beginner-intro__visual i:last-child{font-size:60px;color:#fb7185}

.k6-beginner-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px}
.k6-beginner-quick__item{display:grid;grid-template-columns:46px minmax(0,1fr) 16px;align-items:center;gap:10px;min-height:76px;padding:11px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;color:inherit;text-decoration:none;box-shadow:var(--shadow-sm)}
.k6-beginner-quick__item:hover{border-color:#99f6e4;box-shadow:var(--shadow)}
.k6-beginner-quick__icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;font-size:24px}
.k6-beginner-quick__icon--green{background:#d1fae5;color:#059669}
.k6-beginner-quick__icon--pink{background:#fce7f3;color:#ec4899}
.k6-beginner-quick__icon--blue{background:#dbeafe;color:#0284c7}
.k6-beginner-quick__icon--orange{background:#ffedd5;color:#f97316}
.k6-beginner-quick__title{display:block;color:#0f766e;font-size:14px;font-weight:900}
.k6-beginner-quick__lead{display:block;margin-top:2px;color:#6b7280;font-size:10px;font-weight:700}
.k6-beginner-quick__arrow{color:#64748b;font-size:13px}

.k6-beginner-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.k6-beginner-section-title{margin:0;padding-left:10px;border-left:5px solid var(--teal);color:#111827;font-size:20px;font-weight:900;line-height:1.4}
.k6-beginner-more{flex:0 0 auto;color:var(--teal-700);font-size:11px;font-weight:900;text-decoration:none}
.k6-beginner-more:hover{text-decoration:underline}

.k6-beginner-featured{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.k6-beginner-featured__card{overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:var(--shadow-sm)}
.k6-beginner-featured__link{display:block;height:100%;color:inherit;text-decoration:none}
.k6-beginner-featured__image{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;overflow:hidden;background:#e5e7eb}
.k6-beginner-featured__image img{width:100%;height:100%;object-fit:cover}
.k6-beginner-featured__placeholder{color:#94a3b8;font-size:30px}
.k6-beginner-featured__badge{position:absolute;top:0;left:0;padding:5px 9px;border-radius:0 0 7px 0;background:var(--teal);color:#fff;font-size:9px;font-weight:900}
.k6-beginner-featured__body{padding:11px}
.k6-beginner-featured__title{margin:0;color:#111827;font-size:14px;font-weight:900;line-height:1.5}
.k6-beginner-featured__excerpt{margin:6px 0 0;color:#4b5563;font-size:10px;line-height:1.65}
.k6-beginner-empty{display:flex;align-items:center;justify-content:center;min-height:190px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;color:#64748b;font-size:12px;font-weight:700;text-align:center}

.k6-beginner-guides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.k6-beginner-guide{display:flex;min-height:104px;flex-direction:column;align-items:center;justify-content:center;padding:10px 7px;border:1px solid var(--border);border-radius:8px;background:#fff;color:inherit;text-align:center;text-decoration:none;box-shadow:var(--shadow-sm)}
.k6-beginner-guide:hover{border-color:#99f6e4;background:#f0fdfa}
.k6-beginner-guide__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin-bottom:7px;border-radius:10px;background:#ccfbf1;color:#0f766e;font-size:21px}
.k6-beginner-guide__title{color:#0f766e;font-size:11px;font-weight:900;line-height:1.4}
.k6-beginner-guide__lead{margin-top:4px;color:#64748b;font-size:8px;font-weight:700;line-height:1.45}

.k6-beginner-flow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.k6-beginner-flow__step{position:relative;display:flex;align-items:center;min-height:62px;padding:10px 8px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:var(--shadow-sm)}
.k6-beginner-flow__step:not(:last-child)::after{position:absolute;top:50%;right:-13px;transform:translateY(-50%);color:#64748b;font-family:"Font Awesome 6 Free";font-size:12px;font-weight:900;content:"\f054"}
.k6-beginner-flow__number{display:flex;align-items:center;justify-content:center;width:27px;height:27px;flex:0 0 27px;margin-right:7px;border-radius:50%;background:var(--teal);color:#fff;font-size:11px;font-weight:900}
.k6-beginner-flow__text{color:#111827;font-size:10px;font-weight:900;line-height:1.4}

.k6-beginner-start{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border-radius:10px;background:#ecfeff}
.k6-beginner-start__title{margin:0;color:#0f766e;font-size:18px;font-weight:900}
.k6-beginner-start__lead{margin:5px 0 0;color:#374151;font-size:11px;line-height:1.7}
.k6-beginner-start__button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 18px;border-radius:999px;background:var(--teal);color:#fff;font-size:12px;font-weight:900;text-decoration:none;white-space:nowrap}
.k6-beginner-start__button:hover{background:#0d9488}

@media(max-width:1100px){
  .k6-beginner-guides{grid-template-columns:repeat(4,minmax(0,1fr))}
  .k6-beginner-flow{grid-template-columns:repeat(3,minmax(0,1fr))}
  .k6-beginner-flow__step:nth-child(3)::after{display:none}
}
@media(max-width:767px){
  .k6-beginner-main{padding-top:12px;padding-bottom:28px}
  .k6-beginner-panel{margin-bottom:14px;padding:14px;border-radius:9px}
  .k6-beginner-intro{min-height:0;padding-right:0}
  .k6-beginner-intro__title{font-size:23px}
  .k6-beginner-intro__lead{font-size:11px}
  .k6-beginner-intro__image,.k6-beginner-intro__visual{display:none}
  .k6-beginner-quick{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
  .k6-beginner-quick__item{grid-template-columns:38px minmax(0,1fr) 12px;min-height:68px;padding:8px}
  .k6-beginner-quick__icon{width:36px;height:36px;font-size:20px}
  .k6-beginner-quick__title{font-size:12px}
  .k6-beginner-quick__lead{font-size:8px}
  .k6-beginner-section-title{font-size:17px}
  .k6-beginner-featured{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .k6-beginner-featured__title{font-size:12px}
  .k6-beginner-featured__excerpt{font-size:9px}
  .k6-beginner-guides{grid-template-columns:repeat(2,minmax(0,1fr))}
  .k6-beginner-guide{min-height:98px}
  .k6-beginner-flow{grid-template-columns:1fr;gap:8px}
  .k6-beginner-flow__step:not(:last-child)::after{display:none}
  .k6-beginner-start{display:block}
  .k6-beginner-start__button{width:100%;margin-top:12px}
}

/* =========================================================
   初心者ガイドTOP：全記事一覧・検索
========================================================= */
html {
  scroll-behavior: smooth;
}

.k6-beginner-section-head > div {
  min-width: 0;
}

.k6-beginner-section-note {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.65;
}

.k6-beginner-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  background: #f0fdfa;
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.k6-beginner-category-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.k6-beginner-category-index__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 66px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .04);
}

.k6-beginner-category-index__item:hover {
  border-color: #5eead4;
  background: #f0fdfa;
}

.k6-beginner-category-index__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 18px;
}

.k6-beginner-category-index__text {
  min-width: 0;
}

.k6-beginner-category-index__title,
.k6-beginner-category-index__lead {
  display: block;
}

.k6-beginner-category-index__title {
  color: #0f172a;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.45;
}

.k6-beginner-category-index__lead {
  margin-top: 2px;
  overflow: hidden;
  color: #64748b;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6-beginner-category-index__count {
  color: #0f766e;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.k6-beginner-search {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 20px;
}

.k6-beginner-search__field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 15px;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
}

.k6-beginner-search__field:focus-within {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, .12);
}

.k6-beginner-search__field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.k6-beginner-search__field input::placeholder {
  color: #94a3b8;
}

.k6-beginner-search__clear {
  min-width: 76px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.k6-beginner-search__clear:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.k6-beginner-no-results {
  margin: 12px 0 22px;
  padding: 28px 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}

.k6-beginner-no-results i {
  margin-bottom: 8px;
  font-size: 24px;
}

.k6-beginner-no-results p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.k6-beginner-no-results span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}

.k6-beginner-groups {
  display: grid;
  gap: 18px;
}

.k6-beginner-group {
  scroll-margin-top: 18px;
  padding: 18px;
  border: 1px solid #dbe4ea;
  border-radius: 11px;
  background: #f8fafc;
}

.k6-beginner-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.k6-beginner-group__identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.k6-beginner-group__icon {
  display: flex;
  flex: 0 0 43px;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 10px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 20px;
}

.k6-beginner-group__title {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.k6-beginner-group__lead {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.k6-beginner-group__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.k6-beginner-group__count {
  color: #475569;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.k6-beginner-group__archive {
  color: #0f766e;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.k6-beginner-group__archive:hover {
  text-decoration: underline;
}

.k6-beginner-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.k6-beginner-article-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .04);
}

.k6-beginner-article-card:hover {
  border-color: #5eead4;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
  transform: translateY(-1px);
}

.k6-beginner-article-card__link {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.k6-beginner-article-card__image {
  display: flex;
  min-height: 126px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e2e8f0;
}

.k6-beginner-article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.k6-beginner-article-card__placeholder {
  color: #94a3b8;
  font-size: 28px;
}

.k6-beginner-article-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px;
}

.k6-beginner-article-card__title {
  margin: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.55;
}

.k6-beginner-article-card__excerpt {
  margin: 6px 0 0;
  color: #475569;
  font-size: 9px;
  line-height: 1.65;
}

.k6-beginner-article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
  color: #64748b;
  font-size: 8px;
  font-weight: 700;
}

.k6-beginner-article-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.k6-beginner-article-card__read {
  color: #0f766e;
  font-weight: 900;
  white-space: nowrap;
}

.k6-beginner-group__empty {
  padding: 24px 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.k6-beginner-flow__step {
  color: inherit;
  text-decoration: none;
}

.k6-beginner-flow__step:hover {
  border-color: #5eead4;
  background: #f0fdfa;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .k6-beginner-category-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .k6-beginner-article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .k6-beginner-section-head {
    align-items: flex-start;
  }

  .k6-beginner-section-note {
    font-size: 9px;
  }

  .k6-beginner-category-index {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .k6-beginner-category-index__item {
    min-height: 58px;
  }

  .k6-beginner-category-index__lead {
    white-space: normal;
  }

  .k6-beginner-search {
    display: grid;
    grid-template-columns: 1fr auto;
    margin-bottom: 14px;
  }

  .k6-beginner-search__field {
    min-height: 44px;
    padding: 0 12px;
  }

  .k6-beginner-search__field input {
    font-size: 11px;
  }

  .k6-beginner-search__clear {
    min-width: 62px;
  }

  .k6-beginner-groups {
    gap: 13px;
  }

  .k6-beginner-group {
    scroll-margin-top: 10px;
    padding: 12px;
  }

  .k6-beginner-group__head {
    display: block;
  }

  .k6-beginner-group__actions {
    justify-content: space-between;
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
  }

  .k6-beginner-group__title {
    font-size: 15px;
  }

  .k6-beginner-article-grid {
    gap: 8px;
  }

  .k6-beginner-article-card__link {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .k6-beginner-article-card__image {
    min-height: 112px;
  }

  .k6-beginner-article-card__body {
    padding: 10px;
  }

  .k6-beginner-article-card__title {
    font-size: 11px;
  }

  .k6-beginner-article-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 8px;
  }

  .k6-beginner-article-card__meta {
    font-size: 7px;
  }