/* =========================================================
   6確 機種解析一覧：解析ページ統一ヘッダー／専用ヒーロー
========================================================= */

.mm-body--machine-index {
  background: #f4f6f8;
}

/* 解析ページと同じ並びに統一
   上部ヘッダー → メニュー → パンくず → ヒーロー */
.mm-body--machine-index .mm-breadcrumb {
  position: relative;
  z-index: 4;
}

/* =========================================================
   一覧専用ヒーロー
   大きなサイトアイコンは使用せず、情報ページらしい構成にする
========================================================= */
.k6-index-hero {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: #0a1020;
  color: #fff;
}

.k6-index-hero__bg,
.k6-index-hero__overlay {
  position: absolute;
  inset: 0;
}

.k6-index-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter:
    saturate(.86)
    contrast(1.05)
    brightness(.82);
}

.k6-index-hero__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(3, 7, 18, .96) 0%,
      rgba(8, 15, 32, .9) 44%,
      rgba(5, 34, 46, .63) 74%,
      rgba(4, 22, 34, .48) 100%
    ),
    linear-gradient(
      180deg,
      rgba(13, 148, 136, .08),
      rgba(2, 6, 23, .2)
    );
}

.k6-index-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(290px, 420px);
  gap: 44px;
  min-height: 230px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.k6-index-hero__content {
  min-width: 0;
}

.k6-index-hero__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #5eead4;
  font-family: "Lato", sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.k6-index-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 900;
  line-height: 1.3;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .34);
}

.k6-index-hero__description {
  max-width: 720px;
  margin: 12px 0 0;
  color: #dbe7ef;
  font-size: 14px;
  line-height: 1.8;
}

.k6-index-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.k6-index-hero__meta > span {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(148, 163, 184, .38);
  border-radius: 8px;
  background: rgba(15, 23, 42, .62);
  color: #f8fafc;
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(6px);
}

.k6-index-hero__meta i {
  color: #2dd4bf;
}

/* 右側は一覧ページ専用の五十音モチーフ。
   サイトアイコンを大きく置かず、用途を視覚化する。 */
.k6-index-hero__visual {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(153, 246, 228, .2);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      rgba(15, 23, 42, .68),
      rgba(6, 78, 85, .42)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 18px 40px rgba(2, 6, 23, .2);
  backdrop-filter: blur(8px);
}

.k6-index-hero__visual::before,
.k6-index-hero__visual::after {
  position: absolute;
  border-radius: 999px;
  background: #2dd4bf;
  content: "";
  opacity: .6;
}

.k6-index-hero__visual::before {
  top: -1px;
  right: 22px;
  left: 22px;
  height: 1px;
}

.k6-index-hero__visual::after {
  right: -1px;
  bottom: 22px;
  width: 1px;
  height: 48px;
}

.k6-index-hero__visual-label {
  display: block;
  margin-bottom: 13px;
  color: #99f6e4;
  font-family: "Lato", sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}

.k6-index-hero__kana {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.k6-index-hero__kana span {
  display: flex;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(203, 213, 225, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: #f8fafc;
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.k6-index-hero__kana span:nth-child(1),
.k6-index-hero__kana span:nth-child(6) {
  border-color: rgba(45, 212, 191, .42);
  background: rgba(13, 148, 136, .2);
  color: #ccfbf1;
}

/* =========================================================
   本文導入
========================================================= */
.mm-body--machine-index .mm-main {
  padding-top: 24px;
}

.k6-index-content-head {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.k6-index-content-head__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #0f766e;
  font-family: "Lato", sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.k6-index-content-head__title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.4;
}

.k6-index-content-head .k6-index-lead {
  margin: 9px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  line-height: 1.8;
}

/* =========================================================
   レスポンシブ
========================================================= */
@media (max-width: 980px) {
  .k6-index-hero__inner {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
  }

  .k6-index-hero__visual {
    padding: 16px;
  }

  .k6-index-hero__kana span {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .k6-index-hero {
    min-height: 188px;
  }

  .k6-index-hero__inner {
    display: flex;
    min-height: 188px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .k6-index-hero__visual {
    display: none;
  }

  .k6-index-hero__eyebrow {
    margin-bottom: 6px;
    font-size: 8px;
  }

  .k6-index-hero__title {
    font-size: 27px;
  }

  .k6-index-hero__description {
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.7;
  }

  .k6-index-hero__meta {
    gap: 6px;
    margin-top: 13px;
  }

  .k6-index-hero__meta > span {
    min-height: 28px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .mm-body--machine-index .mm-main {
    padding-top: 16px;
  }

  .k6-index-content-head {
    margin-bottom: 14px;
    padding-bottom: 13px;
  }

  .k6-index-content-head__title {
    font-size: 23px;
  }
}

@media (max-width: 390px) {
  .k6-index-hero__meta > span:last-child {
    display: none;
  }
}