/*
========================================================
ファイル      : hlab-free-tools-index.css
ページ        : ひとり商いラボ 無料ツール一覧
対象URL       : /free/
用途          : 一般公開無料ツール一覧のデザイン
バージョン    : 1.0
最終更新日    : 2026-08-06
依存CSS       : hlab-common.css / hlab-account.css
========================================================
*/

.hlab-free-index {
  scroll-behavior: smooth;
}

.hlab-free-index__breadcrumb {
  max-width: 1120px;
  margin: 14px auto 0;
}

.hlab-free-index__breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #755b47;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 750;
}

.hlab-free-index__breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hlab-free-index__breadcrumb li:not(:last-child)::after {
  content: ">";
  color: #b0967f;
}

.hlab-free-index__breadcrumb a {
  color: #6b4e38;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hlab-free-index__hero {
  grid-template-columns: minmax(0, 1fr) 230px;
  min-height: 350px;
}

.hlab-free-index__hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.25;
}

.hlab-free-index__label {
  display: inline-flex;
  min-height: 34px;
  margin: 0 0 12px;
  padding: 7px 14px;
  align-items: center;
  border: 1px solid rgba(24, 113, 74, 0.20);
  border-radius: 999px;
  color: #14633f;
  background: #e9f8ef;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 900;
}

.hlab-free-index__hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hlab-free-index__hero-points span,
.hlab-free-index__tool-points span {
  display: inline-flex;
  min-height: 32px;
  padding: 6px 11px;
  align-items: center;
  border: 1px solid rgba(121, 87, 57, 0.14);
  border-radius: 999px;
  color: #5f432f;
  background: #fffaf2;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 850;
}

.hlab-free-index__section,
.hlab-free-index__final-cta {
  box-sizing: border-box;
  max-width: 1120px;
  margin: 28px auto 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--hl-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--hl-shadow);
}

.hlab-free-index__section h2,
.hlab-free-index__final-cta h2 {
  margin: 6px 0 10px;
  color: var(--hl-brown);
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.4;
  font-weight: 900;
}

.hlab-free-index__lead,
.hlab-free-index__final-cta p {
  color: #604a39;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 700;
}

.hlab-free-index__tool-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 22px;
  border: 2px solid rgba(240, 138, 0, 0.30);
  border-radius: 22px;
  background: #fffaf2;
}

.hlab-free-index__tool-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ef7b5d, #c84f35);
  font-size: 28px;
  font-weight: 900;
}

.hlab-free-index__tool-service {
  margin: 0 0 4px;
  color: #a63f2c;
  font-size: 13px;
  font-weight: 900;
}

.hlab-free-index__tool-copy h3 {
  margin: 0;
  color: var(--hl-brown);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 900;
}

.hlab-free-index__tool-copy > p:not(.hlab-free-index__tool-service) {
  margin: 8px 0 0;
  color: #604a39;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}

.hlab-free-index__tool-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.hlab-free-index__trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hlab-free-index__trust-grid article {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(121, 87, 57, 0.14);
  border-radius: 18px;
  background: #fffaf2;
}

.hlab-free-index__trust-grid strong {
  color: var(--hl-brown);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 900;
}

.hlab-free-index__trust-grid span {
  color: #67503e;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 700;
}

.hlab-free-index__final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

@media (max-width: 900px) {
  .hlab-free-index__tool-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .hlab-free-index__tool-card .hlab-button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .hlab-free-index__breadcrumb {
    margin-top: 10px;
    padding: 0 4px;
  }

  .hlab-free-index__hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .hlab-free-index__hero h1 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .hlab-free-index__hero .hlab-account__hero-visual {
    display: none;
  }

  .hlab-free-index__section,
  .hlab-free-index__final-cta {
    margin-top: 18px;
    padding: 20px 15px;
    border-radius: 22px;
  }

  .hlab-free-index__tool-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .hlab-free-index__tool-icon {
    width: 50px;
    height: 50px;
  }

  .hlab-free-index__tool-card .hlab-button {
    width: 100%;
  }

  .hlab-free-index__trust-grid,
  .hlab-free-index__final-cta {
    grid-template-columns: 1fr;
  }
}

/* 2026-08-06 店舗イベントルーレット無料版 */
.hlab-free-index__tool-card--roulette {
  border-color: rgba(113, 104, 171, 0.30);
  background: #f8f5ff;
}

.hlab-free-index__tool-card--roulette .hlab-free-index__tool-icon {
  background: linear-gradient(145deg, #8d7dc4, #6552a0);
}

.hlab-free-index__tool-card--roulette .hlab-free-index__tool-service {
  color: #6552a0;
}
