/* =========================================================
   6確 メーカー・シリーズ自動ハブ v3
========================================================= */

.k6mh-page {
  --k6mh-ink: #10253d;
  --k6mh-muted: #64748b;
  --k6mh-line: #dce6eb;
  --k6mh-soft: #f5f8fa;
  --k6mh-teal: #0f8f83;
  --k6mh-teal-2: #14b8a6;
  --k6mh-teal-soft: #ecfdf7;
  --k6mh-blue: #2463eb;
  --k6mh-red: #e84f67;
  --k6mh-white: #fff;
  background: #f4f7f9;
  color: var(--k6mh-ink);
}

.k6mh-page *,
.k6mh-page *::before,
.k6mh-page *::after {
  box-sizing: border-box;
}

.k6mh-main {
  padding: 0 0 72px;
}

.k6mh-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.k6mh-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #7a8795;
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
}

.k6mh-breadcrumb a {
  color: #4d647c;
  text-decoration: none;
}

.k6mh-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.k6mh-eyebrow,
.k6mh-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 7px;
  color: var(--k6mh-teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.3;
}

.k6mh-index-hero,
.k6mh-detail-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #d5e2e8;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 8%, rgba(20, 184, 166, .13), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f7fbfc 58%, #ecfaf7 100%);
  box-shadow: 0 12px 28px rgba(15, 35, 55, .07);
}

.k6mh-index-hero::after,
.k6mh-detail-hero::after {
  position: absolute;
  right: -78px;
  bottom: -108px;
  width: 260px;
  height: 260px;
  border: 40px solid rgba(20, 184, 166, .055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.k6mh-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  min-height: 210px;
  padding: 30px 32px;
}

.k6mh-index-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.k6mh-index-hero h1,
.k6mh-detail-hero h1 {
  margin: 0;
  color: var(--k6mh-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 900;
  letter-spacing: -.045em;
}

.k6mh-index-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.k6mh-index-hero__copy > p:last-child {
  max-width: 640px;
  margin: 13px 0 0;
  color: #526579;
  font-size: 14px;
  line-height: 1.9;
}

.k6mh-index-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 118px);
  gap: 10px;
  margin: 0;
}

.k6mh-index-stats > div,
.k6mh-detail-stats > div {
  border: 1px solid #dbe7eb;
  border-radius: 13px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 12px rgba(15, 35, 55, .045);
}

.k6mh-index-stats > div {
  padding: 13px 12px;
  text-align: center;
}

.k6mh-index-stats dt,
.k6mh-detail-stats dt {
  color: #6e7e8f;
  font-size: 10px;
  font-weight: 800;
}

.k6mh-index-stats dd,
.k6mh-detail-stats dd {
  margin: 4px 0 0;
  color: var(--k6mh-teal);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.k6mh-index-stats small,
.k6mh-detail-stats small {
  margin-left: 2px;
  color: #718095;
  font-size: 9px;
}

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

.k6mh-content {
  min-width: 0;
}

.k6mh-section {
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid var(--k6mh-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 35, 55, .045);
  scroll-margin-top: 82px;
}

.k6mh-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf0;
}

.k6mh-section-head--stack {
  align-items: flex-start;
}

.k6mh-section-head h2 {
  margin: 0;
  color: var(--k6mh-ink);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.k6mh-section-head > p {
  max-width: 420px;
  margin: 0;
  color: var(--k6mh-muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

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

.k6mh-featured-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 98px;
  padding: 12px 15px 12px 12px;
  border: 1px solid #dce7eb;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.k6mh-featured-card:hover {
  border-color: #9edbd2;
  box-shadow: 0 9px 20px rgba(15, 143, 131, .11);
  transform: translateY(-2px);
}

.k6mh-featured-card__rank {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--k6mh-ink);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.k6mh-featured-card__image,
.k6mh-directory-card__image,
.k6mh-ranking-list__image,
.k6mh-related-list__image {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e4ebee;
  border-radius: 11px;
  background: #f7fafb;
}

.k6mh-featured-card__image {
  width: 70px;
  height: 70px;
}

.k6mh-featured-card__image img,
.k6mh-directory-card__image img,
.k6mh-ranking-list__image img,
.k6mh-related-list__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.k6mh-featured-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.k6mh-featured-card__body strong {
  overflow: hidden;
  color: var(--k6mh-ink);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6mh-featured-card__body small {
  margin-top: 5px;
  color: #64748b;
  font-size: 11px;
}

.k6mh-featured-card__body > span {
  margin-top: 4px;
  color: var(--k6mh-teal);
  font-size: 10px;
  font-weight: 800;
}

.k6mh-featured-card__body b {
  margin: 0 5px;
  color: #a5b2bd;
}

.k6mh-featured-card > i {
  color: var(--k6mh-teal);
  font-size: 22px;
  font-style: normal;
}

.k6mh-directory-tools {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.k6mh-search-box {
  display: flex;
  gap: 9px;
  align-items: center;
  width: min(360px, 100%);
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #cfdde3;
  border-radius: 11px;
  background: #fff;
}

.k6mh-search-box:focus-within {
  border-color: #63cabb;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, .11);
}

.k6mh-search-box svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #6f7f91;
}

.k6mh-search-box input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--k6mh-ink);
  font-size: 13px;
  box-shadow: none !important;
}

.k6mh-filter-buttons,
.k6mh-machine-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.k6mh-filter-buttons button,
.k6mh-machine-filter button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #cfdae0;
  border-radius: 999px;
  background: #fff;
  color: #526579;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.k6mh-filter-buttons button:hover,
.k6mh-filter-buttons button.is-active,
.k6mh-machine-filter button:hover,
.k6mh-machine-filter button.is-active {
  border-color: var(--k6mh-teal);
  background: var(--k6mh-teal);
  color: #fff;
}

.k6mh-machine-filter button span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(15, 37, 61, .08);
  font-size: 9px;
}

.k6mh-machine-filter button.is-active span {
  background: rgba(255, 255, 255, .18);
}

.k6mh-result-count {
  margin: 0 0 12px;
  color: #748294;
  font-size: 11px;
}

.k6mh-result-count strong {
  color: var(--k6mh-teal);
  font-size: 14px;
}

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

.k6mh-directory-card {
  overflow: hidden;
  border: 1px solid #dae5e9;
  border-radius: 14px;
  background: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.k6mh-directory-card:hover {
  border-color: #9edbd2;
  box-shadow: 0 10px 24px rgba(15, 143, 131, .10);
  transform: translateY(-2px);
}

.k6mh-directory-card[hidden] {
  display: none !important;
}

.k6mh-directory-card__main {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 13px;
  min-height: 122px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
}

.k6mh-directory-card__image {
  width: 82px;
  height: 82px;
}

.k6mh-directory-card__body {
  min-width: 0;
}

.k6mh-directory-card__title-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.k6mh-directory-card h3 {
  margin: 0;
  color: var(--k6mh-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.k6mh-directory-card__title-row > span {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--k6mh-teal-soft);
  color: var(--k6mh-teal);
  font-size: 9px;
  font-weight: 900;
}

.k6mh-directory-card__body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: #5f7081;
  font-size: 11px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.k6mh-directory-card__body small {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  color: #7a8897;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6mh-directory-card__footer {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 9px 13px;
  border-top: 1px solid #e7edef;
  background: #fbfcfd;
}

.k6mh-directory-card__footer > a {
  margin-left: auto;
  color: var(--k6mh-teal);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.k6mh-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.k6mh-badge--slot {
  background: #eaf1ff;
  color: #2459c6;
}

.k6mh-badge--pachinko {
  background: #fff0f3;
  color: #cf3e58;
}

.k6mh-empty-state {
  margin: 18px 0 0;
  padding: 24px;
  border: 1px dashed #cbd8de;
  border-radius: 12px;
  background: #f8fafb;
  color: #6d7b89;
  font-size: 13px;
  text-align: center;
}

.k6mh-sidebar {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 16px;
}

.k6mh-side-card {
  padding: 18px;
  border: 1px solid var(--k6mh-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 35, 55, .04);
}

.k6mh-side-card h2 {
  margin: 0 0 12px;
  color: var(--k6mh-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

.k6mh-side-card > p,
.k6mh-side-note {
  margin: 0;
  color: #637385;
  font-size: 11px;
  line-height: 1.75;
}

.k6mh-side-card--accent {
  border-color: #bfe5dd;
  background: linear-gradient(145deg, #f4fffc, #fff);
}

.k6mh-side-list,
.k6mh-ranking-list,
.k6mh-plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.k6mh-side-list li + li,
.k6mh-plain-list li + li {
  border-top: 1px solid #edf1f3;
}

.k6mh-side-list a,
.k6mh-plain-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  color: var(--k6mh-ink);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.k6mh-side-list small,
.k6mh-plain-list small {
  flex: 0 0 auto;
  color: #82909d;
  font-size: 9px;
  font-weight: 500;
}

.k6mh-primary-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 13px;
  border-radius: 10px;
  background: var(--k6mh-teal);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.k6mh-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #edf5f5, #f8fbfb);
  color: #87a19d;
  font-size: 24px;
  font-weight: 900;
}

.k6mh-placeholder--large {
  font-size: 60px;
}

/* ---------- 詳細ページ ---------- */
.k6mh-detail-hero {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  min-height: 286px;
  padding: 28px 32px;
}

.k6mh-detail-hero__image {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 240px;
  height: 214px;
  overflow: hidden;
  border: 1px solid #dce7eb;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px rgba(15, 35, 55, .07);
}

.k6mh-detail-hero__image img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}

.k6mh-detail-hero__body {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.k6mh-detail-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
}

.k6mh-detail-hero__intro {
  max-width: 690px;
  margin: 12px 0 0;
  color: #53677a;
  font-size: 13px;
  line-height: 1.85;
}

.k6mh-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  max-width: 670px;
  margin: 18px 0 0;
}

.k6mh-detail-stats > div {
  padding: 11px 10px;
  text-align: center;
}

.k6mh-detail-stats dd {
  font-size: 23px;
}

.k6mh-detail-stats__date {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.k6mh-anchor-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #dce6eb;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15, 35, 55, .035);
}

.k6mh-anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2f6f8;
  color: #465b70;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.k6mh-anchor-nav a:hover {
  background: var(--k6mh-teal-soft);
  color: var(--k6mh-teal);
}

.k6mh-machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.k6mh-machine-card {
  overflow: hidden;
  border: 1px solid #dce6ea;
  border-radius: 14px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.k6mh-machine-card:hover {
  box-shadow: 0 10px 23px rgba(15, 35, 55, .09);
  transform: translateY(-2px);
}

.k6mh-machine-card__image {
  position: relative;
  display: grid;
  place-items: center;
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid #e5ecef;
  background: linear-gradient(145deg, #f7fafb, #eef4f5);
  text-decoration: none;
}

.k6mh-machine-card__image img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}

.k6mh-machine-card__type {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.k6mh-machine-card__type--slot {
  background: var(--k6mh-blue);
}

.k6mh-machine-card__type--pachinko {
  background: var(--k6mh-red);
}

.k6mh-machine-card__body {
  padding: 13px;
}

.k6mh-machine-card__date {
  margin: 0;
  color: var(--k6mh-teal);
  font-size: 10px;
  font-weight: 900;
}

.k6mh-machine-card h3 {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.k6mh-machine-card h3 a {
  color: var(--k6mh-ink);
  text-decoration: none;
}

.k6mh-machine-card dl {
  margin: 10px 0 0;
}

.k6mh-machine-card dl > div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 7px;
  padding: 5px 0;
  border-top: 1px solid #edf1f3;
  font-size: 9px;
}

.k6mh-machine-card dt {
  color: #7b8895;
}

.k6mh-machine-card dd {
  margin: 0;
  color: #43566a;
  font-weight: 800;
}

.k6mh-machine-card__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #e8eef0;
  color: var(--k6mh-teal);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.k6mh-machine-filter {
  margin-bottom: 16px;
}

.k6mh-year-groups {
  display: grid;
  gap: 18px;
}

.k6mh-year-group[hidden] {
  display: none !important;
}

.k6mh-year-group > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 2px;
}

.k6mh-year-group > header h3 {
  margin: 0;
  color: var(--k6mh-ink);
  font-size: 18px;
  font-weight: 900;
}

.k6mh-year-group > header span {
  color: #748394;
  font-size: 10px;
  font-weight: 800;
}

.k6mh-year-list {
  overflow: hidden;
  border: 1px solid #dce6ea;
  border-radius: 13px;
  background: #fff;
}

.k6mh-year-machine {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 32px;
  gap: 13px;
  align-items: center;
  min-height: 94px;
  padding: 11px 13px;
}

.k6mh-year-machine + .k6mh-year-machine {
  border-top: 1px solid #e8edef;
}

.k6mh-year-machine[hidden] {
  display: none !important;
}

.k6mh-year-machine__image {
  display: grid;
  place-items: center;
  width: 74px;
  height: 70px;
  overflow: hidden;
  border: 1px solid #e3eaed;
  border-radius: 9px;
  background: #f6f9fa;
}

.k6mh-year-machine__image img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

.k6mh-year-machine__body {
  min-width: 0;
}

.k6mh-year-machine__meta {
  display: flex;
  gap: 7px;
  align-items: center;
}

.k6mh-year-machine__meta time {
  color: #748294;
  font-size: 9px;
}

.k6mh-year-machine h4 {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.k6mh-year-machine h4 a {
  color: var(--k6mh-ink);
  text-decoration: none;
}

.k6mh-year-machine__body > p {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 5px 0 0;
  color: #6d7c8b;
  font-size: 9px;
}

.k6mh-year-machine__arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--k6mh-teal-soft);
  color: var(--k6mh-teal);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.k6mh-prose {
  color: #354b61;
  font-size: 14px;
  line-height: 2;
}

.k6mh-prose > :first-child {
  margin-top: 0;
}

.k6mh-prose > :last-child {
  margin-bottom: 0;
}

.k6mh-prose h3,
.k6mh-prose h4 {
  margin: 1.7em 0 .6em;
  color: var(--k6mh-ink);
  font-weight: 900;
}

.k6mh-prose h3 {
  padding-left: 12px;
  border-left: 4px solid var(--k6mh-teal-2);
  font-size: 19px;
}

.k6mh-prose p {
  margin: .8em 0;
}

.k6mh-faq {
  overflow: hidden;
  border: 1px solid #dce6ea;
  border-radius: 13px;
}

.k6mh-faq details + details {
  border-top: 1px solid #e4ebee;
}

.k6mh-faq summary {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 12px 14px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.k6mh-faq summary::-webkit-details-marker {
  display: none;
}

.k6mh-faq__q,
.k6mh-faq__a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.k6mh-faq__q {
  background: var(--k6mh-teal);
  color: #fff;
}

.k6mh-faq summary strong {
  color: var(--k6mh-ink);
  font-size: 13px;
  line-height: 1.55;
}

.k6mh-faq__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #cde6e1;
  border-radius: 50%;
  background: var(--k6mh-teal-soft);
  color: var(--k6mh-teal);
  font-size: 13px;
  transition: transform .18s ease;
}

.k6mh-faq details[open] .k6mh-faq__icon {
  transform: rotate(180deg);
}

.k6mh-faq__answer {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 15px 14px 17px;
  border-top: 1px solid #e6edef;
  background: #f8fbfb;
}

.k6mh-faq__a {
  background: #e7eef4;
  color: #40566d;
}

.k6mh-faq__answer p {
  margin: 3px 0 0;
  color: #455b70;
  font-size: 12px;
  line-height: 1.85;
}

.k6mh-ranking-list li + li {
  border-top: 1px solid #edf1f3;
}

.k6mh-ranking-list a {
  display: grid;
  grid-template-columns: 24px 52px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}

.k6mh-ranking-list__rank {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--k6mh-ink);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.k6mh-ranking-list__image {
  width: 52px;
  height: 52px;
  border-radius: 8px;
}

.k6mh-ranking-list__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.k6mh-ranking-list__body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--k6mh-ink);
  font-size: 10px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.k6mh-ranking-list__body small {
  margin-top: 3px;
  color: #778694;
  font-size: 8px;
}

.k6mh-related-list {
  display: grid;
  gap: 7px;
}

.k6mh-related-list > a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 8px;
  border: 1px solid #e4ebee;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}

.k6mh-related-list__image {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.k6mh-related-list strong {
  display: block;
  color: var(--k6mh-ink);
  font-size: 10px;
  line-height: 1.4;
}

.k6mh-related-list small {
  display: block;
  margin-top: 3px;
  color: #7b8997;
  font-size: 8px;
}

.k6mh-related-list i {
  color: var(--k6mh-teal);
  font-style: normal;
}

/* ---------- タブレット ---------- */
@media (max-width: 1020px) {
  .k6mh-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .k6mh-index-hero {
    gap: 22px;
    padding: 26px;
  }

  .k6mh-detail-hero {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
  }

  .k6mh-detail-hero__image {
    width: 200px;
    height: 190px;
  }

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

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
  .k6mh-main {
    padding-bottom: 48px;
  }

  .k6mh-container {
    width: min(100% - 20px, 720px);
  }

  .k6mh-breadcrumb {
    min-height: 38px;
    font-size: 10px;
  }

  .k6mh-index-hero,
  .k6mh-detail-hero {
    border-radius: 13px;
  }

  .k6mh-index-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 19px 16px 16px;
  }

  .k6mh-index-hero h1,
  .k6mh-detail-hero h1 {
    font-size: 28px;
    line-height: 1.22;
  }

  .k6mh-index-hero__copy > p:last-child,
  .k6mh-detail-hero__intro {
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.75;
  }

  .k6mh-index-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
  }

  .k6mh-index-stats > div {
    padding: 9px 4px;
    border-radius: 9px;
  }

  .k6mh-index-stats dt,
  .k6mh-detail-stats dt {
    font-size: 7px;
  }

  .k6mh-index-stats dd,
  .k6mh-detail-stats dd {
    font-size: 18px;
  }

  .k6mh-index-stats small,
  .k6mh-detail-stats small {
    font-size: 7px;
  }

  .k6mh-layout {
    display: block;
    margin-top: 14px;
  }

  .k6mh-section {
    margin-bottom: 14px;
    padding: 16px 13px;
    border-radius: 13px;
  }

  .k6mh-section-head,
  .k6mh-section-head--stack {
    display: block;
    margin-bottom: 13px;
    padding-bottom: 11px;
  }

  .k6mh-section-head h2 {
    font-size: 20px;
  }

  .k6mh-section-head > p {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.65;
    text-align: left;
  }

  .k6mh-featured-grid,
  .k6mh-directory-grid,
  .k6mh-machine-grid {
    grid-template-columns: 1fr;
  }

  .k6mh-featured-card {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    min-height: 82px;
    padding: 10px 12px 10px 10px;
  }

  .k6mh-featured-card__image {
    width: 60px;
    height: 60px;
  }

  .k6mh-featured-card__body strong {
    font-size: 13px;
  }

  .k6mh-directory-tools {
    display: block;
  }

  .k6mh-search-box {
    width: 100%;
  }

  .k6mh-filter-buttons {
    margin-top: 9px;
  }

  .k6mh-filter-buttons button,
  .k6mh-machine-filter button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 9px;
  }

  .k6mh-directory-card__main {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    min-height: 105px;
    padding: 11px;
  }

  .k6mh-directory-card__image {
    width: 70px;
    height: 70px;
  }

  .k6mh-directory-card h3 {
    font-size: 14px;
  }

  .k6mh-directory-card__body p {
    margin-top: 6px;
    font-size: 10px;
  }

  .k6mh-directory-card__footer {
    padding: 8px 10px;
  }

  .k6mh-sidebar {
    position: static;
    margin-top: 14px;
  }

  .k6mh-side-card {
    padding: 15px;
    border-radius: 13px;
  }

  .k6mh-detail-hero {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 13px;
    min-height: 0;
    padding: 15px 13px;
  }

  .k6mh-detail-hero__image {
    width: 88px;
    height: 96px;
    border-radius: 10px;
  }

  .k6mh-detail-hero__image img {
    padding: 6px;
  }

  .k6mh-detail-hero h1 {
    font-size: 23px;
  }

  .k6mh-detail-hero__intro {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .k6mh-detail-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-top: 11px;
  }

  .k6mh-detail-stats > div {
    padding: 8px 3px;
    border-radius: 8px;
  }

  .k6mh-detail-stats__date {
    font-size: 9px !important;
  }

  .k6mh-anchor-nav {
    gap: 5px;
    margin-top: 9px;
    padding: 8px;
    border-radius: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .k6mh-anchor-nav a {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 10px;
    font-size: 9px;
  }

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

  .k6mh-machine-card__image {
    height: 100%;
    min-height: 164px;
    border-right: 1px solid #e5ecef;
    border-bottom: 0;
  }

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

  .k6mh-machine-card h3 {
    font-size: 13px;
  }

  .k6mh-machine-card dl > div {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .k6mh-year-groups {
    gap: 14px;
  }

  .k6mh-year-group > header h3 {
    font-size: 16px;
  }

  .k6mh-year-machine {
    grid-template-columns: 61px minmax(0, 1fr) 27px;
    gap: 9px;
    min-height: 82px;
    padding: 9px;
  }

  .k6mh-year-machine__image {
    width: 61px;
    height: 61px;
  }

  .k6mh-year-machine h4 {
    font-size: 12px;
  }

  .k6mh-year-machine__body > p {
    gap: 7px;
  }

  .k6mh-year-machine__arrow {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .k6mh-prose {
    font-size: 12px;
    line-height: 1.9;
  }

  .k6mh-prose h3 {
    font-size: 16px;
  }

  .k6mh-faq summary {
    grid-template-columns: 26px minmax(0, 1fr) 25px;
    gap: 8px;
    min-height: 56px;
    padding: 10px;
  }

  .k6mh-faq__q,
  .k6mh-faq__a {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  .k6mh-faq summary strong {
    font-size: 11px;
  }

  .k6mh-faq__icon {
    width: 25px;
    height: 25px;
  }

  .k6mh-faq__answer {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    padding: 12px 10px 14px;
  }

  .k6mh-faq__answer p {
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .k6mh-container {
    width: calc(100% - 14px);
  }

  .k6mh-index-stats dt,
  .k6mh-detail-stats dt {
    letter-spacing: -.03em;
  }

  .k6mh-index-stats dd {
    font-size: 16px;
  }

  .k6mh-detail-hero {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .k6mh-detail-hero__image {
    width: 78px;
    height: 88px;
  }

  .k6mh-detail-hero h1 {
    font-size: 21px;
  }
}

/* =========================================================
   v7 最終統合：既存解析ページ共通UI・切り替えナビ
========================================================= */

/*
 * v4〜v6では修正ごとにbodyのバージョンクラスを変更したため、
 * 旧バージョン名で限定したCSSが無効になる問題がありました。
 * v7以降は不変の .k6mh-page を基準にします。
 */

/* ページ外枠・本文幅 */
.k6mh-page .k6mh-site-shell {
  min-height: 100vh;
  background: #f4f7f9;
}

.k6mh-page .k6mh-main {
  padding-top: 0;
}

.k6mh-page .k6mh-container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 16px;
  padding-left: 16px;
}

/* 既存解析ページと同じ共通ヘッダー */
.k6mh-page .mm-header-top {
  min-height: 51px;
}

.k6mh-page .mm-header-top__inner {
  min-height: 49px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.k6mh-page .mm-header-top .mm-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.k6mh-page .mm-header-top .mm-logo {
  display: block;
  width: auto;
  height: 32px;
  max-width: 180px;
  max-height: 32px;
  object-fit: contain;
}

.k6mh-page .mm-subnav {
  z-index: 1100;
}

body.admin-bar.k6mh-page .mm-subnav {
  top: 32px;
}

/* 一覧検索欄 */
.k6mh-page .k6mh-search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(390px, 100%);
  min-height: 44px;
  padding: 0 14px;
  overflow: hidden;
}

.k6mh-page .k6mh-search-box svg {
  flex: 0 0 18px;
}

.k6mh-page .k6mh-search-box input {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  line-height: 42px;
}

.k6mh-page .k6mh-search-box input::placeholder {
  color: #7b8795;
  opacity: 1;
}

/* シリーズ／メーカー切り替え */
.k6mh-page .k6mh-hub-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  min-height: 64px;
  margin: 14px 0;
  padding: 10px 12px 10px 14px;
  border: 1px solid #dbe5ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 35, 55, .04);
}

.k6mh-page .k6mh-hub-switcher__label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #334155;
}

.k6mh-page .k6mh-hub-switcher__label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ecfdf7;
  color: #0f8f83;
  font-size: 15px;
}

.k6mh-page .k6mh-hub-switcher__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.k6mh-page .k6mh-hub-switcher__copy strong {
  color: #25384d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}

.k6mh-page .k6mh-hub-switcher__copy small {
  color: #718096;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.k6mh-page .k6mh-hub-switcher__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  flex: 0 0 auto;
  gap: 5px;
  padding: 4px;
  border: 1px solid #e2e8ec;
  border-radius: 11px;
  background: #f3f6f8;
}

.k6mh-page .k6mh-hub-switcher__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 38px;
  padding: 7px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #526579;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.k6mh-page .k6mh-hub-switcher__links a::after {
  display: none;
  content: none;
}

.k6mh-page .k6mh-hub-switcher__links a:hover {
  border-color: #b9ddd7;
  background: #fff;
  color: #0f8f83;
}

.k6mh-page .k6mh-hub-switcher__links a.is-current {
  border-color: #0f8f83;
  background: #0f8f83;
  color: #fff;
  box-shadow: 0 4px 10px rgba(15, 143, 131, .18);
}

/* 既存解析ページに合わせたカード・見出し */
.k6mh-page .k6mh-index-hero,
.k6mh-page .k6mh-detail-hero {
  border-color: #dbe3e8;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f8fbfc 65%,
      #effaf7 100%
    );
  box-shadow: none;
}

.k6mh-page .k6mh-index-hero {
  min-height: 176px;
  padding: 24px;
}

.k6mh-page .k6mh-index-hero h1 {
  font-size: clamp(30px, 3vw, 38px);
}

.k6mh-page .k6mh-detail-hero {
  padding: 22px;
}

.k6mh-page .k6mh-detail-hero h1 {
  font-size: clamp(28px, 3vw, 36px);
}

.k6mh-page .k6mh-section,
.k6mh-page .k6mh-side-card {
  border-color: #dbe3e8;
  border-radius: 12px;
  box-shadow: none;
}

.k6mh-page .k6mh-section {
  padding: 22px;
}

.k6mh-page .k6mh-section-head h2 {
  color: #111827;
}

.k6mh-page .k6mh-directory-card,
.k6mh-page .k6mh-featured-card,
.k6mh-page .k6mh-machine-card,
.k6mh-page .k6mh-year-group,
.k6mh-page .k6mh-anchor-nav {
  border-radius: 10px;
  box-shadow: none;
}

.k6mh-page .k6mh-breadcrumb {
  display: none !important;
}

/* テーマ共通の上部へ戻るボタン */
.k6mh-page .mm-fbtn--dark {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #334155;
  box-shadow:
    0 12px 26px rgba(15, 23, 42, .24),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.k6mh-page .mm-fbtn--dark i {
  display: none !important;
}

.k6mh-page .mm-fbtn--dark::before {
  display: block;
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.k6mh-page .mm-fbtn--dark:hover {
  background: #0f172a;
}

@media (max-width: 782px) {
  body.admin-bar.k6mh-page .mm-subnav {
    top: 46px;
  }
}

@media (max-width: 767px) {
  .k6mh-page .k6mh-container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .k6mh-page .mm-header-mobile__logo .mm-logo {
    width: auto;
    height: 30px;
    max-width: 170px;
    max-height: 30px;
    object-fit: contain;
  }

  .k6mh-page .k6mh-hub-switcher {
    display: block;
    min-height: 0;
    margin: 8px 0 10px;
    padding: 9px;
    border-radius: 10px;
  }

  .k6mh-page .k6mh-hub-switcher__label {
    gap: 8px;
    padding: 0 2px 8px;
  }

  .k6mh-page .k6mh-hub-switcher__label-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 13px;
  }

  .k6mh-page .k6mh-hub-switcher__copy strong {
    font-size: 12px;
  }

  .k6mh-page .k6mh-hub-switcher__copy small {
    display: none;
  }

  .k6mh-page .k6mh-hub-switcher__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .k6mh-page .k6mh-hub-switcher__links a {
    min-height: 40px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .k6mh-page .k6mh-search-box {
    width: 100%;
    min-height: 46px;
  }

  .k6mh-page .k6mh-search-box input {
    height: 44px;
    line-height: 44px;
    font-size: 13px;
  }

  .k6mh-page .k6mh-index-hero,
  .k6mh-page .k6mh-detail-hero,
  .k6mh-page .k6mh-section,
  .k6mh-page .k6mh-side-card {
    border-radius: 10px;
  }

  .k6mh-page .k6mh-index-hero {
    padding: 18px 15px;
  }

  .k6mh-page .k6mh-index-hero h1 {
    font-size: 27px;
  }

  .k6mh-page .k6mh-detail-hero {
    padding: 16px 14px;
  }

  .k6mh-page .k6mh-detail-hero h1 {
    font-size: 26px;
  }

  .k6mh-page .k6mh-section {
    padding: 16px 14px;
  }

  .k6mh-page .mm-float {
    right: 12px;
    bottom: 82px;
  }

  .k6mh-page .mm-fbtn {
    width: 48px;
    height: 48px;
  }
}

/* ==========================================================
   v11 ENTITY MAGAZINE REDESIGN
   メーカー・シリーズを「機種の寄せ集め」ではなく、
   読み物として成立するブランド／作品ハブへ。
========================================================== */

.k6mh-page {
  --k6mh-v11-ink: #0f172a;
  --k6mh-v11-muted: #5f6f80;
  --k6mh-v11-line: #dbe4e8;
  --k6mh-v11-soft: #f6f8fa;
  --k6mh-v11-teal: #0d9488;
  --k6mh-v11-teal-dark: #08756d;
  --k6mh-v11-blue: #2563eb;
  --k6mh-v11-amber: #c67b0b;
  background: #f4f6f8;
}

.k6mh-page .k6mh-container {
  max-width: 1240px;
}

.k6mh-page .k6mh-hub-switcher {
  border: 1px solid #dbe4e8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15,23,42,.045);
}

.k6mh-page .k6mh-detail-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #d4e6e2;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(13,148,136,.11), transparent 35%),
    linear-gradient(135deg,#fff 0%,#fbfefe 63%,#eef9f6 100%);
  box-shadow: 0 10px 28px rgba(15,23,42,.07);
}

.k6mh-page--maker .k6mh-detail-hero {
  border-color: #d7e2ef;
  background:
    radial-gradient(circle at 0 0, rgba(37,99,235,.095), transparent 36%),
    linear-gradient(135deg,#fff 0%,#fcfdff 63%,#f0f5fc 100%);
}

.k6mh-page .k6mh-detail-hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg,#0d9488,#14b8a6,#2563eb);
  content: "";
}

.k6mh-page--maker .k6mh-detail-hero::before {
  background: linear-gradient(90deg,#2563eb,#3b82f6,#0d9488);
}

.k6mh-page .k6mh-detail-hero__image {
  border: 1px solid #e0e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15,23,42,.055);
}

.k6mh-page .k6mh-eyebrow,
.k6mh-page .k6mh-section-kicker {
  color: #0d9488;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.k6mh-page--maker .k6mh-eyebrow,
.k6mh-page--maker .k6mh-section-kicker {
  color: #2563eb;
}

.k6mh-page .k6mh-detail-hero h1 {
  color: var(--k6mh-v11-ink);
  font-size: clamp(30px,3.5vw,46px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.k6mh-page .k6mh-detail-hero__intro {
  max-width: 760px;
  color: #485b6d;
  font-size: 14px;
  line-height: 1.85;
}

.k6mh-page .k6mh-detail-stats {
  gap: 9px;
}

.k6mh-page .k6mh-detail-stats > div {
  border: 1px solid #dde6ea;
  border-radius: 10px;
  background: rgba(255,255,255,.94);
}

.k6mh-page .k6mh-detail-stats dt {
  color: #667788;
  font-size: 11px;
}

.k6mh-page .k6mh-detail-stats dd {
  color: var(--k6mh-v11-ink);
}

.k6mh-page .k6mh-anchor-nav {
  gap: 6px;
  padding: 8px;
  border: 1px solid #dbe4e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 13px rgba(15,23,42,.04);
}

.k6mh-page .k6mh-anchor-nav a {
  min-height: 37px;
  padding: 7px 11px;
  border-radius: 8px;
  color: #526172;
  font-size: 11px;
  font-weight: 900;
}

.k6mh-page .k6mh-anchor-nav a:hover {
  color: #08756d;
  background: #eef9f6;
}

.k6mh-page .k6mh-section {
  border: 1px solid var(--k6mh-v11-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 17px rgba(15,23,42,.04);
}

.k6mh-page .k6mh-section-head {
  margin-bottom: 17px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e7edf0;
}

.k6mh-page .k6mh-section-head h2 {
  color: var(--k6mh-v11-ink);
  font-size: clamp(21px,2.4vw,28px);
  letter-spacing: -.02em;
}

.k6mh-page .k6mh-section-head p {
  color: var(--k6mh-v11-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* 深掘りプロフィール */
.k6mh-profile-section {
  background:
    linear-gradient(180deg,#f7fbfa 0,#fff 180px) !important;
}

.k6mh-page--maker .k6mh-profile-section {
  background:
    linear-gradient(180deg,#f5f8fd 0,#fff 180px) !important;
}

.k6mh-profile-facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.k6mh-profile-fact {
  position: relative;
  min-width: 0;
  padding: 15px;
  border: 1px solid #dce7e4;
  border-radius: 12px;
  background: #fff;
}

.k6mh-page--maker .k6mh-profile-fact {
  border-color: #dce4ef;
}

.k6mh-profile-fact > span {
  display: block;
  margin-bottom: 6px;
  color: #0d9488;
  font-size: 10px;
  font-weight: 900;
}

.k6mh-page--maker .k6mh-profile-fact > span {
  color: #2563eb;
}

.k6mh-profile-fact > strong {
  display: block;
  color: var(--k6mh-v11-ink);
  font-size: 15px;
  line-height: 1.5;
}

.k6mh-profile-fact > a {
  display: inline-flex;
  gap: 4px;
  margin-top: 9px;
  color: #657587;
  font-size: 10px;
  font-weight: 800;
}

.k6mh-story-grid {
  display: grid;
  gap: 10px;
}

.k6mh-story-card {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  gap: 14px;
  padding: 17px;
  border: 1px solid #e1e7eb;
  border-radius: 13px;
  background: #fff;
}

.k6mh-story-card__number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #08756d;
  font-family: Lato,sans-serif;
  font-size: 15px;
  font-weight: 900;
  background: #eaf8f5;
}

.k6mh-page--maker .k6mh-story-card__number {
  color: #1d4ed8;
  background: #eef4ff;
}

.k6mh-story-card__body {
  min-width: 0;
}

.k6mh-story-card h3 {
  margin: 0;
  color: var(--k6mh-v11-ink);
  font-size: 17px;
  line-height: 1.45;
}

.k6mh-story-card p {
  margin: 7px 0 0;
  color: #526172;
  font-size: 13px;
  line-height: 1.9;
}

.k6mh-story-card__source {
  display: inline-flex;
  gap: 5px;
  margin-top: 9px;
  color: #0d9488;
  font-size: 10px;
  font-weight: 900;
}

.k6mh-page--maker .k6mh-story-card__source {
  color: #2563eb;
}

/* メーカー→シリーズ / シリーズ→メーカー */
.k6mh-related-showcase-section {
  background:
    linear-gradient(180deg,#fbfcfd 0,#fff 160px) !important;
}

.k6mh-related-showcase {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}

.k6mh-related-showcase__card {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) 22px;
  gap: 11px;
  align-items: center;
  min-width: 0;
  min-height: 78px;
  padding: 10px;
  border: 1px solid #e0e7eb;
  border-radius: 11px;
  color: inherit;
  background: #fff;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.k6mh-related-showcase__card:hover {
  border-color: #9fd5cf;
  box-shadow: 0 7px 17px rgba(15,23,42,.06);
  transform: translateY(-1px);
}

.k6mh-related-showcase__image {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid #e4e9ed;
  border-radius: 10px;
  background: #f8fafb;
}

.k6mh-related-showcase__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.k6mh-related-showcase__body {
  min-width: 0;
}

.k6mh-related-showcase__body strong,
.k6mh-related-showcase__body small {
  display: block;
}

.k6mh-related-showcase__body strong {
  overflow: hidden;
  color: var(--k6mh-v11-ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6mh-related-showcase__body small {
  margin-top: 4px;
  color: var(--k6mh-v11-muted);
  font-size: 10px;
}

.k6mh-related-showcase__arrow {
  color: #93a1ae;
  font-size: 14px;
}

/* 既存機種一覧の可読性を底上げ */
.k6mh-page .k6mh-machine-card__date,
.k6mh-page .k6mh-machine-card dl,
.k6mh-page .k6mh-year-machine__meta,
.k6mh-page .k6mh-year-machine p,
.k6mh-page .k6mh-ranking-list small,
.k6mh-page .k6mh-related-list small,
.k6mh-page .k6mh-plain-list small {
  font-size: 10px;
}

.k6mh-page .k6mh-machine-card h3,
.k6mh-page .k6mh-year-machine h4 {
  font-size: 13px;
}

.k6mh-page .k6mh-machine-card__link,
.k6mh-page .k6mh-primary-link {
  font-size: 11px;
}

.k6mh-page .k6mh-badge,
.k6mh-page .k6mh-machine-card__type {
  font-size: 10px;
}

.k6mh-page .k6mh-side-card h2 {
  font-size: 14px;
}

.k6mh-page .k6mh-side-card p,
.k6mh-page .k6mh-side-note {
  font-size: 11px;
  line-height: 1.75;
}

.k6mh-page .k6mh-faq summary strong {
  font-size: 13px;
}

.k6mh-page .k6mh-faq__answer p {
  font-size: 12px;
  line-height: 1.8;
}

/* スマホ */
@media (max-width: 767px) {
  .k6mh-page .k6mh-detail-hero {
    border-radius: 13px;
  }

  .k6mh-page .k6mh-detail-hero h1 {
    font-size: 27px;
  }

  .k6mh-page .k6mh-detail-hero__intro {
    font-size: 12px;
    line-height: 1.75;
  }

  .k6mh-page .k6mh-detail-stats dt {
    font-size: 10px;
  }

  .k6mh-page .k6mh-anchor-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .k6mh-page .k6mh-anchor-nav::-webkit-scrollbar {
    display: none;
  }

  .k6mh-page .k6mh-anchor-nav a {
    flex: 0 0 auto;
    font-size: 10px;
  }

  .k6mh-page .k6mh-section-head p {
    font-size: 11px;
  }

  .k6mh-profile-facts {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .k6mh-profile-fact {
    padding: 12px;
  }

  .k6mh-profile-fact > strong {
    font-size: 13px;
  }

  .k6mh-story-card {
    grid-template-columns: 38px minmax(0,1fr);
    gap: 10px;
    padding: 13px;
  }

  .k6mh-story-card__number {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: 12px;
  }

  .k6mh-story-card h3 {
    font-size: 15px;
  }

  .k6mh-story-card p {
    font-size: 12px;
    line-height: 1.8;
  }

  .k6mh-related-showcase {
    grid-template-columns: 1fr;
  }

  .k6mh-related-showcase__body strong {
    font-size: 12px;
  }
}

/* ==========================================================
   v11.6 SERIES FULL ARCHIVE / MAKER ALL-TIME TOP5
========================================================== */

.k6mh-machine-card--archive,
.k6mh-year-machine--archive {
  background: #fbfcfd;
}

.k6mh-machine-card--archive .k6mh-machine-card__image,
.k6mh-year-machine--archive .k6mh-year-machine__image {
  filter: saturate(.78);
}

.k6mh-machine-card__pending,
.k6mh-archive-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #d6dee4;
  border-radius: 999px;
  color: #667788;
  font-size: 10px;
  font-weight: 900;
  background: #f3f6f8;
}

.k6mh-machine-card__pending {
  margin-top: auto;
}

.k6mh-year-machine__source {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #657587;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  background: #f1f5f7;
}

.k6mh-year-machine__source:hover {
  color: #08756d;
  background: #eaf8f5;
}

.k6mh-year-machine__source--disabled {
  color: #aab4bd;
}

/* メーカー歴代販売TOP5 */
.k6mh-top-sellers-section {
  background:
    linear-gradient(180deg,#fffaf0 0,#fff 170px) !important;
}

.k6mh-top-sellers {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.k6mh-top-seller {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 14px 15px;
  border: 1px solid #e5e1d8;
  border-radius: 12px;
  background: #fff;
}

.k6mh-top-seller__rank {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  background: #172033;
}

.k6mh-top-seller:nth-child(1) .k6mh-top-seller__rank {
  color: #6d4800;
  background: #f7d46a;
}

.k6mh-top-seller:nth-child(2) .k6mh-top-seller__rank {
  color: #49535e;
  background: #dfe4e8;
}

.k6mh-top-seller:nth-child(3) .k6mh-top-seller__rank {
  color: #69401e;
  background: #ddb184;
}

.k6mh-top-seller__body {
  min-width: 0;
}

.k6mh-top-seller__meta {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  color: #758291;
  font-size: 10px;
  font-weight: 800;
}

.k6mh-top-seller h3 {
  margin: 5px 0 0;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.45;
}

.k6mh-top-seller__sales {
  display: block;
  margin-top: 4px;
  color: #b26700;
  font-size: 17px;
  line-height: 1.35;
}

.k6mh-top-seller p {
  margin: 5px 0 0;
  color: #647382;
  font-size: 11px;
  line-height: 1.7;
}

.k6mh-top-seller__source {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-height: 32px;
  padding: 5px 9px;
  border-radius: 8px;
  color: #657587;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  background: #f4f6f8;
}

.k6mh-top-seller__source:hover {
  color: #08756d;
  background: #eaf8f5;
}

@media (max-width: 767px) {
  .k6mh-top-seller {
    grid-template-columns: 38px minmax(0,1fr);
    gap: 10px;
    padding: 12px;
  }

  .k6mh-top-seller__rank {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 13px;
  }

  .k6mh-top-seller h3 {
    font-size: 13px;
  }

  .k6mh-top-seller__sales {
    font-size: 15px;
  }

  .k6mh-top-seller__source {
    grid-column: 2;
    width: fit-content;
  }
}

