/* =========================================================
   6確 TOP v8 "cool"
   目的:
   - ネイビー基調のヒーローで「クール・品」の第一印象を作る
   - セクションは白＋細罫線で色数を絞り、情報の見通しを上げる
   - 構造・導線は v7 と同一。home-compact.css から派生した別スキンで、
     front-page.php の読み込み先を戻せば即 v7 に復帰できる
========================================================= */

:root {
  --k6-home-ink: #0e1626;
  --k6-home-muted: #5b6b7d;
  --k6-home-line: #e3e9f0;
  --k6-home-bg: #f6f7f9;
  --k6-home-teal: #0e9384;
  --k6-home-teal-dark: #0a7266;
  --k6-home-teal-soft: #ecf8f5;
  --k6-home-blue: #3a5da8;
  --k6-home-blue-soft: #eff3fa;
  --k6-home-purple: #6d5bb8;
  --k6-home-purple-soft: #f2f1fa;
  --k6-home-amber: #a3742a;
  --k6-home-amber-soft: #faf5ea;
  --k6-home-navy: #0c1526;
}

.mm-home-compact {
  background: var(--k6-home-bg);
}

.k6-home-compact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 44px;
}

/* =========================================================
   ブランドヒーロー
   v5: 白ベース + ティールで「6確」らしさを前面に
========================================================= */

.k6-home-brand-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 26px;
  align-items: center;
  overflow: hidden;
  padding: 30px 32px;
  border: 1px solid #16233c;
  border-radius: 18px;
  color: #eef2f7;
  background:
    radial-gradient(700px 320px at 88% -25%, rgba(20,184,166,.17), transparent 62%),
    radial-gradient(540px 280px at -12% 115%, rgba(59,130,246,.10), transparent 62%),
    linear-gradient(140deg, #0c1526 0%, #101d33 55%, #0d1a2e 100%);
  box-shadow: 0 14px 34px rgba(9,16,30,.22);
}

.k6-home-brand-hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6 0%, #2dd4bf 42%, rgba(45,212,191,0) 92%);
  content: "";
}

.k6-home-brand-hero::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.k6-home-brand-hero__copy,
.k6-home-brand-hero__search-box {
  position: relative;
  z-index: 1;
}

.k6-home-brand-hero__copy {
  min-width: 0;
}

.k6-home-brand-hero__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #5eead4;
  font-family: "Fjalla One", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.k6-home-brand-hero__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(135deg, #0ea5a0 0%, #0d9488 100%);
  box-shadow: 0 4px 12px rgba(13,148,136,.35);
}

.k6-home-brand-hero__title {
  max-width: 640px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 3.35vw, 43px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.035em;
}

.k6-home-brand-hero__description {
  max-width: 690px;
  margin: 12px 0 0;
  color: #b3c0d1;
  font-size: 13px;
  line-height: 1.8;
}

.k6-home-brand-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.k6-home-brand-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 41px;
  padding: 8px 15px;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 9px;
  color: #dbe4ee;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  background: rgba(255,255,255,.04);
  transition:
    border-color .18s ease,
    color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.k6-home-brand-hero__action:hover {
  border-color: rgba(94,234,212,.55);
  color: #5eead4;
  background: rgba(20,184,166,.08);
  transform: translateY(-1px);
}

.k6-home-brand-hero__action--primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #10a89b 0%, #0d9488 100%);
  box-shadow: 0 6px 16px rgba(13,148,136,.35);
}

.k6-home-brand-hero__action--primary:hover {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #0d9488 0%, #0a7266 100%);
}

.k6-home-brand-hero__search-box {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.k6-home-brand-hero__search-label {
  display: block;
  margin-bottom: 9px;
  color: #9fb0c3;
  font-size: 12px;
  font-weight: 900;
}

.k6-home-search {
  display: grid;
  grid-template-columns: 21px minmax(0,1fr) auto;
  min-height: 50px;
  align-items: center;
  gap: 7px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(4,10,22,.35);
}

.k6-home-search:focus-within {
  border-color: #2dd4bf;
  box-shadow:
    0 0 0 3px rgba(45,212,191,.22),
    0 8px 22px rgba(4,10,22,.35);
}

.k6-home-search > i {
  margin-left: 6px;
  color: #7b8a9b;
  font-size: 13px;
}

.k6-home-search input {
  width: 100%;
  min-width: 0;
  height: 41px;
  padding: 0 5px;
  border: 0;
  outline: 0;
  color: var(--k6-home-ink);
  font-size: 13px;
  background: transparent;
}

.k6-home-search input::placeholder {
  color: #a0adbb;
}

.k6-home-search button {
  min-width: 68px;
  height: 39px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  background: #0d9488;
  cursor: pointer;
}

.k6-home-search button:hover {
  background: #08756d;
}

.k6-home-popular-search {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 7px;
  align-items: start;
  margin-top: 9px;
}

.k6-home-popular-search > span {
  padding-top: 3px;
  color: #8b9cb0;
  font-size: 10px;
  font-weight: 900;
}

.k6-home-popular-search__items {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.k6-home-popular-search a {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  max-width: 180px;
  overflow: hidden;
  padding: 3px 9px;
  border: 1px solid rgba(148,163,184,.30);
  border-radius: 999px;
  color: #c3cedd;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent;
}

.k6-home-popular-search a:hover {
  border-color: rgba(94,234,212,.6);
  color: #5eead4;
  background: rgba(20,184,166,.10);
}

/* =========================================================
   目的から探す
========================================================= */

.k6-home-purpose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}

.k6-home-purpose {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--k6-home-line);
  border-radius: 13px;
  color: var(--k6-home-ink);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.k6-home-purpose:hover {
  border-color: #a7d8d2;
  box-shadow: 0 7px 18px rgba(15,23,42,.065);
  transform: translateY(-1px);
}

.k6-home-purpose__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 16px;
}

.k6-home-purpose--new .k6-home-purpose__icon {
  color: var(--k6-home-teal-dark);
  background: var(--k6-home-teal-soft);
}

.k6-home-purpose--slot .k6-home-purpose__icon {
  color: var(--k6-home-amber);
  background: var(--k6-home-amber-soft);
}

.k6-home-purpose--judge .k6-home-purpose__icon {
  color: var(--k6-home-purple);
  background: var(--k6-home-purple-soft);
}

.k6-home-purpose--hall .k6-home-purpose__icon {
  color: var(--k6-home-blue);
  background: var(--k6-home-blue-soft);
}

.k6-home-purpose__body {
  min-width: 0;
}

.k6-home-purpose__body strong,
.k6-home-purpose__body small {
  display: block;
}

.k6-home-purpose__body strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6-home-purpose__body small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--k6-home-muted);
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6-home-purpose > .fa-angle-right {
  color: #a1adba;
  font-size: 10px;
}

/* =========================================================
   共通セクション
========================================================= */

.k6-home-section {
  --k6-section-accent: var(--k6-home-teal);
  --k6-section-soft: #fff;

  overflow: hidden;
  padding: 21px 20px;
  border: 1px solid var(--k6-home-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15,23,42,.035);
  scroll-margin-top: 84px;
}

.k6-home-section--new {
  --k6-section-accent: #0e9384;
}

.k6-home-section--analysis {
  --k6-section-accent: #3a5da8;
}

.k6-home-section--tools {
  --k6-section-accent: #6d5bb8;
}

.k6-home-section--ranking {
  --k6-section-accent: #a3742a;
}

.k6-home-section--explore {
  --k6-section-accent: #64748b;
}

.k6-home-section--beginner {
  --k6-section-accent: #0f766e;
}

.k6-home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e5ebef;
}

.k6-home-section__head > div {
  min-width: 0;
}

.k6-home-section__head span {
  display: block;
  color: var(--k6-section-accent);
  font-family: "Fjalla One", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
}

.k6-home-section__head h2 {
  margin: 5px 0 0;
  padding-left: 11px;
  border-left: 3px solid var(--k6-section-accent);
  color: var(--k6-home-ink);
  font-size: clamp(20px,2.4vw,27px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -.015em;
}

.k6-home-section__head p {
  margin: 6px 0 0 15px;
  color: var(--k6-home-muted);
  font-size: 12px;
  line-height: 1.65;
}

.k6-home-section__head > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #cfd9df;
  border-radius: 8px;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  background: #fff;
}

.k6-home-section__head > a:hover {
  border-color: var(--k6-section-accent);
  color: var(--k6-section-accent);
}

.k6-home-empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: var(--k6-home-muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  background: rgba(248,250,252,.85);
}

/* =========================================================
   新台：今月・来月
========================================================= */

.k6-home-month-preview-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}

.k6-home-month-preview {
  min-width: 0;
  padding: 15px;
  border: 1px solid #dfe8e7;
  border-radius: 13px;
  background: rgba(255,255,255,.9);
}

.k6-home-month-preview--next {
  border-color: #dce5f4;
}

.k6-home-month-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.k6-home-month-preview__head span {
  display: block;
  color: #0b8c79;
  font-family: "Fjalla One", sans-serif;
  font-size: 10px;
  letter-spacing: .12em;
}

.k6-home-month-preview--next .k6-home-month-preview__head span {
  color: #2563eb;
}

.k6-home-month-preview__head h3 {
  margin: 2px 0 0;
  color: #1e293b;
  font-size: 17px;
  line-height: 1.4;
}

.k6-home-month-preview__head > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #0b8c79;
  font-size: 11px;
  background: #e9f7f4;
}

.k6-home-month-preview--next .k6-home-month-preview__head > strong {
  color: #2563eb;
  background: #eef4ff;
}

.k6-home-schedule {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.k6-home-schedule-day + .k6-home-schedule-day {
  padding-top: 9px;
  border-top: 1px solid #edf1f4;
}

.k6-home-schedule-day__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 6px;
}

.k6-home-schedule-day__head time {
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.k6-home-schedule-day__head > span {
  color: #7b8796;
  font-size: 10px;
  font-weight: 800;
}

.k6-home-schedule-day__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.k6-home-schedule-machine {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  padding: 7px 8px;
  border: 1px solid #e8edf1;
  border-radius: 9px;
  color: var(--k6-home-ink);
  text-decoration: none;
  background: #fbfcfd;
}

.k6-home-schedule-machine:hover {
  border-color: #acd8d2;
  background: #f5fbf9;
}

.k6-home-schedule-machine__image {
  display: flex;
  width: 42px;
  height: 42px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.k6-home-schedule-machine__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.k6-home-schedule-machine__body {
  min-width: 0;
}

.k6-home-schedule-machine__body strong,
.k6-home-schedule-machine__body small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6-home-schedule-machine__body strong {
  color: var(--k6-home-ink);
  font-size: 12px;
  line-height: 1.45;
}

.k6-home-schedule-machine__body small {
  margin-top: 3px;
  color: #5f6f80;
  font-size: 10px;
}

.k6-home-schedule-machine > i {
  color: #a1adba;
  font-size: 9px;
}

.k6-home-month-preview__more {
  display: block;
  margin-top: 9px;
  color: #0b8c79;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
  text-decoration: none;
}

/* =========================================================
   最新解析
========================================================= */

.k6-home-latest-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}

.k6-home-latest-card {
  min-width: 0;
}

.k6-home-latest-card__link {
  display: grid;
  grid-template-columns: 78px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 104px;
  padding: 10px;
  border: 1px solid #dfe6ee;
  border-radius: 11px;
  color: var(--k6-home-ink);
  text-decoration: none;
  background: #fff;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.k6-home-latest-card__link:hover {
  border-color: #9ebdf8;
  box-shadow: 0 8px 18px rgba(37,99,235,.08);
  transform: translateY(-1px);
}

.k6-home-latest-card__image {
  display: flex;
  width: 78px;
  height: 82px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e9ee;
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 18%, #fff, #f0f3f6);
}

.k6-home-latest-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.k6-home-latest-card__body {
  min-width: 0;
}

.k6-home-latest-card__body small,
.k6-home-latest-card__body strong,
.k6-home-latest-card__body span {
  display: block;
}

.k6-home-latest-card__body small {
  margin-bottom: 4px;
  color: #5f6f80;
  font-size: 10px;
}

.k6-home-latest-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--k6-home-ink);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.k6-home-latest-card__body span {
  margin-top: 6px;
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
}

.k6-home-latest-card__link > i {
  color: #9aa7b5;
  font-size: 9px;
}

/* =========================================================
   6確データ・ツール
========================================================= */

.k6-home-shortcut-grid {
  display: grid;
  gap: 10px;
}

.k6-home-shortcut-grid--four {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.k6-home-shortcut {
  display: flex;
  min-width: 0;
  min-height: 110px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 13px 9px;
  border: 1px solid #dfd8ee;
  border-radius: 11px;
  color: var(--k6-home-ink);
  text-align: center;
  text-decoration: none;
  background: rgba(255,255,255,.9);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.k6-home-shortcut:hover {
  border-color: #b9a2e7;
  box-shadow: 0 8px 18px rgba(124,58,237,.07);
  transform: translateY(-1px);
}

.k6-home-shortcut__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border-radius: 11px;
  color: var(--k6-home-purple);
  font-size: 16px;
  background: var(--k6-home-purple-soft);
}

.k6-home-shortcut strong,
.k6-home-shortcut small {
  display: block;
  max-width: 100%;
}

.k6-home-shortcut strong {
  font-size: 12px;
  line-height: 1.4;
}

.k6-home-shortcut small {
  margin-top: 4px;
  color: var(--k6-home-muted);
  font-size: 10px;
  line-height: 1.45;
}

/* =========================================================
   ランキング
========================================================= */

.k6-home-ranking-columns {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 13px;
}

.k6-home-ranking-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6e2d8;
  border-radius: 11px;
  background: rgba(255,255,255,.9);
}

.k6-home-ranking-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid #eee9df;
  background: #fffaf0;
}

.k6-home-ranking-panel__head h3 {
  margin: 0;
  color: #334155;
  font-size: 14px;
}

.k6-home-ranking-panel__head a {
  color: var(--k6-home-amber);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.k6-home-ranking-compact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.k6-home-ranking-compact li + li {
  border-top: 1px solid #edf1f4;
}

.k6-home-ranking-compact a {
  display: grid;
  grid-template-columns: 30px 48px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 9px 10px;
  color: var(--k6-home-ink);
  text-decoration: none;
}

.k6-home-ranking-compact a:hover {
  background: #fffaf2;
}

.k6-home-ranking-compact__number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #475569;
  font-size: 10px;
  font-weight: 900;
  background: #e2e8f0;
}

.k6-home-ranking-compact li:nth-child(1)
.k6-home-ranking-compact__number {
  color: #fff;
  background: #d99a12;
}

.k6-home-ranking-compact li:nth-child(2)
.k6-home-ranking-compact__number {
  color: #fff;
  background: #94a3b8;
}

.k6-home-ranking-compact li:nth-child(3)
.k6-home-ranking-compact__number {
  color: #fff;
  background: #b66a35;
}

.k6-home-ranking-compact__image {
  display: flex;
  width: 48px;
  height: 48px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.k6-home-ranking-compact__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.k6-home-ranking-compact__body {
  min-width: 0;
}

.k6-home-ranking-compact__body strong,
.k6-home-ranking-compact__body small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6-home-ranking-compact__body strong {
  color: var(--k6-home-ink);
  font-size: 12px;
  line-height: 1.45;
}

.k6-home-ranking-compact__body small {
  margin-top: 3px;
  color: #68788a;
  font-size: 10px;
}

/* =========================================================
   シリーズ・メーカー
========================================================= */

.k6-home-hub-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}

.k6-home-hub {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 76px;
  padding: 11px;
  border: 1px solid #e1e7ec;
  border-radius: 10px;
  color: var(--k6-home-ink);
  text-decoration: none;
  background: rgba(255,255,255,.9);
}

.k6-home-hub:hover {
  border-color: #b7c2cf;
  background: #fff;
}

.k6-home-hub__visual {
  display: flex;
  width: 52px;
  height: 52px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  color: #64748b;
  font-size: 18px;
  background: #fff;
}

.k6-home-hub__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.k6-home-hub__body {
  min-width: 0;
}

.k6-home-hub__body strong,
.k6-home-hub__body small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6-home-hub__body strong {
  color: var(--k6-home-ink);
  font-size: 12px;
  line-height: 1.45;
}

.k6-home-hub__body small {
  margin-top: 3px;
  color: var(--k6-home-muted);
  font-size: 10px;
}

.k6-home-hub > i {
  color: #a1adba;
  font-size: 9px;
}

/* =========================================================
   初心者
========================================================= */

.k6-home-category-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 9px;
}

.k6-home-category {
  display: flex;
  min-width: 0;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11px 8px;
  border: 1px solid #dbe6e4;
  border-radius: 10px;
  color: var(--k6-home-ink);
  text-align: center;
  text-decoration: none;
  background: rgba(255,255,255,.9);
}

.k6-home-category:hover {
  border-color: #9ed4cc;
  background: #f6fcfa;
}

.k6-home-category > i {
  margin-bottom: 8px;
  color: #0f766e;
  font-size: 19px;
}

.k6-home-category strong,
.k6-home-category small {
  display: block;
  max-width: 100%;
}

.k6-home-category strong {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6-home-category small {
  margin-top: 3px;
  color: var(--k6-home-muted);
  font-size: 9px;
  line-height: 1.4;
}

/* =========================================================
   Tablet
========================================================= */

@media (max-width: 980px) {
  .k6-home-brand-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .k6-home-purpose-grid,
  .k6-home-hub-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .k6-home-latest-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .k6-home-category-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

/* =========================================================
   Smartphone
========================================================= */

@media (max-width: 760px) {
  .k6-home-compact {
    gap: 11px;
    padding-top: 9px;
    padding-bottom: 30px;
  }

  /*
   * v8.1 SPのヒーローは「ブランド＋見出し＋検索」だけに圧縮する。
   * 説明文と誘導ボタンは直下の「目的から探す」4カードと役割が重複し、
   * ファーストビューの半分をヒーローが占めていたため非表示にする。
   */
  .k6-home-brand-hero {
    gap: 8px;
    padding: 12px 11px 11px;
    border-radius: 12px;
  }

  .k6-home-brand-hero::before {
    height: 3px;
  }

  .k6-home-brand-hero::after {
    right: -72px;
    bottom: -100px;
    width: 180px;
    height: 180px;
  }

  .k6-home-brand-hero__brand {
    gap: 6px;
    margin-bottom: 4px;
    font-size: 9px;
    letter-spacing: .08em;
  }

  .k6-home-brand-hero__brand-mark {
    min-width: 33px;
    height: 21px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .k6-home-brand-hero__title {
    font-size: 19px;
    line-height: 1.22;
  }

  .k6-home-brand-hero__description {
    display: none;
  }

  .k6-home-brand-hero__actions {
    display: none;
  }

  .k6-home-brand-hero__search-box {
    padding: 7px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
  }

  .k6-home-brand-hero__search-label {
    display: none;
  }

  .k6-home-search {
    grid-template-columns: 16px minmax(0,1fr) auto;
    min-height: 42px;
    gap: 4px;
    padding: 3px;
    border-radius: 9px;
  }

  .k6-home-search > i {
    margin-left: 3px;
    font-size: 10px;
  }

  .k6-home-search input {
    height: 35px;
    padding-inline: 3px;
    font-size: 16px;
  }

  .k6-home-search button {
    min-width: 50px;
    height: 34px;
    padding-inline: 7px;
    border-radius: 7px;
    font-size: 9px;
  }

  .k6-home-popular-search {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
  }

  .k6-home-popular-search > span {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    font-size: 9px;
  }

  .k6-home-popular-search__items {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  .k6-home-popular-search__items::-webkit-scrollbar {
    display: none;
  }

  .k6-home-popular-search a {
    flex: 0 0 auto;
    min-height: 20px;
    max-width: 138px;
    padding: 2px 6px;
    font-size: 9px;
  }

  .k6-home-popular-search a:nth-child(n+4) {
    display: none;
  }

  .k6-home-purpose-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .k6-home-purpose {
    grid-template-columns: 38px minmax(0,1fr);
    gap: 8px;
    min-height: 70px;
    padding: 10px;
  }

  .k6-home-purpose__icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    font-size: 14px;
  }

  .k6-home-purpose__body strong {
    font-size: 10px;
  }

  .k6-home-purpose__body small {
    font-size: 10px;
  }

  .k6-home-purpose > .fa-angle-right {
    display: none;
  }

  .k6-home-section {
    padding: 14px;
    border-radius: 12px;
  }

  .k6-home-section__head {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .k6-home-section__head h2 {
    padding-left: 9px;
    font-size: 18px;
  }

  .k6-home-section__head p {
    margin-left: 13px;
    font-size: 10px;
  }

  .k6-home-section__head > a {
    margin-top: 9px;
    min-height: 31px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .k6-home-month-preview-grid,
  .k6-home-ranking-columns {
    grid-template-columns: 1fr;
  }

  .k6-home-month-preview {
    padding: 12px;
  }

  .k6-home-latest-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .k6-home-latest-card:nth-child(n+5) {
    display: none;
  }

  .k6-home-latest-card__link {
    grid-template-columns: 64px minmax(0,1fr) auto;
    min-height: 84px;
    padding: 8px;
  }

  .k6-home-latest-card__image {
    width: 64px;
    height: 66px;
  }

  .k6-home-latest-card__body strong {
    font-size: 11px;
  }

  .k6-home-shortcut-grid--four {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .k6-home-shortcut {
    min-height: 96px;
  }

  .k6-home-hub-grid {
    grid-template-columns: 1fr;
  }

  .k6-home-category-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .k6-home-category {
    min-height: 82px;
  }
}

@media (max-width: 390px) {
  /* v8.1: SPではヒーローのボタン自体を出さないため、縦積みルールも不要 */
  .k6-home-brand-hero__actions {
    display: none;
  }
}
/* =========================================================
   v8 新設: 今日の注目ホール
========================================================= */

.k6-hometop-hall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.k6-hometop-hall {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid #e3e9f0;
  border-radius: 13px;
  color: var(--k6-home-ink);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  transition: border-color .18s ease, transform .18s ease;
}

.k6-hometop-hall:hover {
  border-color: #9fd9d1;
  transform: translateY(-1px);
}

.k6-hometop-hall__no {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--k6-home-navy);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.k6-hometop-hall__body {
  min-width: 0;
}

.k6-hometop-hall__body strong {
  display: block;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6-hometop-hall__body small {
  display: block;
  margin-top: 1px;
  color: var(--k6-home-muted);
  font-size: 10px;
}

.k6-hometop-hall__event {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
}

.k6-hometop-hall__event em {
  font-style: normal;
  color: #8b9cb0;
  font-weight: 500;
  font-size: 10px;
}

.k6-hometop-hall__chip {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  background: #64748b;
}

.k6-hometop-hall__chip.is-s { background: #dc2626; }
.k6-hometop-hall__chip.is-a { background: #ea580c; }
.k6-hometop-hall__chip.is-b { background: #2563eb; }
.k6-hometop-hall__chip.is-c { background: #64748b; }

.k6-hometop-hall__score {
  text-align: right;
}

.k6-hometop-hall__score b {
  font-size: 19px;
}

.k6-hometop-hall__score small {
  color: #8b9cb0;
  font-size: 10px;
}

.k6-hometop-hall-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.k6-hometop-hall-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #dfe6ee;
  border-radius: 9px;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
}

.k6-hometop-hall-links a:hover {
  border-color: var(--k6-home-teal);
  color: var(--k6-home-teal);
}

/* =========================================================
   v8 新設: 新台の噂・リーク
========================================================= */

.k6-hometop-reak {
  display: grid;
  gap: 6px;
}

.k6-hometop-reak a {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  color: var(--k6-home-ink);
  text-decoration: none;
  background: #fff;
}

.k6-hometop-reak a:hover {
  border-color: #c4bfe6;
}

.k6-hometop-reak time {
  color: #8b9cb0;
  font-size: 11px;
  font-weight: 700;
}

.k6-hometop-reak strong {
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k6-hometop-reak .fa-angle-right {
  color: #a1adba;
  font-size: 10px;
}

@media (max-width: 980px) {
  .k6-hometop-hall-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .k6-hometop-hall {
    padding: 11px;
  }

  .k6-hometop-reak a {
    grid-template-columns: 34px minmax(0,1fr) auto;
    padding: 9px 10px;
  }

  .k6-hometop-reak strong {
    white-space: normal;
    font-size: 11.5px;
    line-height: 1.4;
  }
}