/* ---------- culture.html 専用最小スタイル ---------- */

/* 制度・待遇カード */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.benefit-card {
  background: var(--white); border-radius: 6px;
  padding: clamp(24px, 3vw, 34px) clamp(20px, 2.6vw, 30px);
  box-shadow: 0 2px 14px rgba(22, 40, 31, .06);
  position: relative; overflow: hidden;
}
.benefit-card::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--grad); transform: skewX(var(--slash)); }
.benefit-icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 135, 60, .09); color: var(--green); margin-bottom: 16px;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card h3 { font-size: 17px; color: var(--deep); margin-bottom: 8px; }
.benefit-card p { font-size: 13.5px; color: var(--ink-soft); }

/* 働き方データ（4項目） */
#data .num-grid { grid-template-columns: repeat(4, 1fr); }
.sec-deep .note-soft { color: rgba(255, 255, 255, .72); }

/* オフの日 記事（交互レイアウト） */
.off-article {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px); align-items: start;
}
.off-article + .off-article { margin-top: clamp(64px, 9vw, 110px); }
.off-article.is-flip .off-media { order: 2; }
.off-media { display: grid; gap: 14px; }
.off-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.off-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.off-sub .off-photo img { aspect-ratio: 1 / 1; }
.off-no {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-weight: 600; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.off-no::before { content: ""; width: 28px; height: 2px; background: var(--grad); transform: skewX(var(--slash)); }
.off-title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.7; color: var(--deep); }
.off-meta { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.qa { margin-top: clamp(20px, 3vw, 30px); }
.qa-item { margin-bottom: 22px; }
.qa-item:last-child { margin-bottom: 0; }
.qa-q { display: flex; gap: 10px; font-weight: 700; font-size: 15.5px; color: var(--deep); line-height: 1.7; }
.qa-q::before { content: "Q."; font-family: var(--font-en); font-weight: 600; color: var(--green); flex-shrink: 0; }
.qa-a { margin-top: 6px; padding-left: 30px; font-size: 14.5px; color: var(--ink-soft); }

/* 社員旅行ギャラリー */
.trip-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trip-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.trip-caption { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .off-article { grid-template-columns: 1fr; }
  .off-article.is-flip .off-media { order: 0; }
  .trip-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #data .num-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .off-sub { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
