/* Genre shared layer: 企業系 */
:root {
  --genre-page-max: 1180px;
  --genre-section-gap: clamp(56px, 7vw, 112px);
  --genre-card-radius: 8px;
}

body[data-lp-genre="company"] {
  scroll-behavior: smooth;
}

body[data-lp-genre="company"] [data-genre-only] {
  display: revert;
}

.genre-index {
  min-height: 100vh;
  background: #f7f6f2;
  color: #1d1d1f;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.genre-index__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.genre-index__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #777;
}

.genre-index h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.genre-index__lead {
  max-width: 720px;
  margin: 0 0 32px;
  line-height: 1.8;
  color: #555;
}

.genre-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.genre-index__card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(20,20,20,.12);
  border-radius: var(--genre-card-radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.genre-index__card strong {
  font-size: 18px;
  line-height: 1.35;
}

.genre-index__card span {
  color: #666;
  line-height: 1.6;
}

.genre-index__back {
  display: inline-flex;
  margin-top: 28px;
  color: inherit;
  font-weight: 700;
}
