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

.k6-sitemap{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.k6-sitemap__lead{
  margin:0;
  padding:17px 18px;
  border:1px solid #dce3ea;
  border-left:4px solid #14b8a6;
  border-radius:0 10px 10px 0;
  background:#f8fafc;
  color:#475569;
  line-height:1.9;
}
.k6-sitemap__section{
  padding:20px;
  border:1px solid #e5eaf1;
  border-radius:14px;
  background:#fff;
  box-shadow:0 4px 16px rgba(15,23,42,.04);
}
.k6-sitemap__section h2{
  margin:0 0 16px;
  padding-left:12px;
  border-left:5px solid #14b8a6;
  color:#0f172a;
  font-size:22px;
  line-height:1.45;
}
.k6-sitemap__section h3{
  margin:22px 0 10px;
  color:#334155;
  font-size:16px;
}
.k6-sitemap__section h3:first-of-type{margin-top:0}

.k6-sitemap__main-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.k6-sitemap__main-link{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-height:94px;
  padding:15px;
  border:1px solid #dbe3ea;
  border-radius:10px;
  background:#fff;
  color:inherit;
  text-decoration:none;
}
.k6-sitemap__main-link:hover{
  border-color:#14b8a6;
  background:#f0fdfa;
}
.k6-sitemap__main-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:9px;
  background:#ccfbf1;
  color:#0f766e;
}
.k6-sitemap__main-body strong{
  display:block;
  margin-bottom:4px;
  color:#0f172a;
  font-size:14px;
}
.k6-sitemap__main-body span{
  display:block;
  color:#64748b;
  font-size:11px;
  line-height:1.65;
}

.k6-sitemap__machine-groups{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.k6-sitemap__group{
  overflow:hidden;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#fff;
}
.k6-sitemap__group-title{
  margin:0!important;
  padding:10px 13px!important;
  border:0!important;
  border-bottom:1px solid #e2e8f0!important;
  background:#f8fafc;
  color:#0f766e!important;
  font-size:14px!important;
}
.k6-sitemap__list{
  margin:0;
  padding:0;
  list-style:none;
}
.k6-sitemap__list li{
  border-bottom:1px solid #f1f5f9;
}
.k6-sitemap__list li:last-child{border-bottom:0}
.k6-sitemap__list a{
  display:block;
  padding:10px 13px;
  color:#334155;
  font-size:12px;
  font-weight:700;
  line-height:1.55;
  text-decoration:none;
}
.k6-sitemap__list a:hover{
  background:#f0fdfa;
  color:#0f766e;
}

.mm-share-panel{
  padding:16px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.05);
}
.mm-share-buttons{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.mm-share-button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  padding:10px 14px;
  border-radius:8px;
  color:#fff;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}
.mm-share-button:hover{color:#fff;opacity:.88}
.mm-share-button--x{background:#111}
.mm-share-button--line{background:#06c755}
.mm-share-button--hatena{background:#00a4de}
.mm-share-button__hatena{font-family:Arial,sans-serif;font-weight:900}

@media(max-width:767px){
  .k6-sitemap__section{padding:14px}
  .k6-sitemap__section h2{font-size:19px}
  .k6-sitemap__main-grid,
  .k6-sitemap__machine-groups{
    grid-template-columns:1fr;
  }
  .k6-sitemap__main-link{min-height:0}
  .mm-share-panel{padding:12px}
  .mm-share-buttons{grid-template-columns:1fr;gap:8px}
  .mm-share-button{min-height:42px;font-size:12px}
}

.k6-sitemap + *{
  scroll-margin-top:20px;
}
.mm-article > .mm-article__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  margin:0 0 18px;
}

/* このページに必要な共通レイアウト */
.mm-main{
  padding-top:24px;
  padding-bottom:40px;
}
.mm-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
  align-items:start;
}
.mm-content{
  min-width:0;
}
.mm-article{
  min-width:0;
}
.mm-article__h1{
  margin:0 0 12px;
  color:#0f172a;
  font-size:clamp(24px,3vw,34px);
  line-height:1.4;
  font-weight:900;
}
.mm-article__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  margin:0 0 20px;
  color:#64748b;
  font-size:13px;
}
.mm-article__meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.mm-visual{
  width:100%;
  margin:16px 0 22px;
  overflow:hidden;
  border-radius:10px;
}
.mm-visual__img{
  display:block;
  width:100%;
  height:auto;
}
@media(max-width:980px){
  .mm-layout{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .mm-main{
    padding-top:18px;
    padding-bottom:28px;
  }
  .mm-article__h1{
    font-size:24px;
  }
}
