/* ===== About Hero Title ===== */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 16px 0;
}

.about-hero__bg {
  display: block;
  width: 100%;
  max-width: 1200px;   /* ← 画像も1200px幅で制御 */
  max-height: clamp(360px, 60vh, 620px);
  margin: 0 auto;      /* ← 中央寄せ */
  border-radius: 8px;  /* 任意：他と統一感出すなら角丸 */
  object-fit: cover;
}

.about-hero__text {
  position: absolute;
  top: 60%;                  /* 縦中央寄せ */
  left: 50%;                 /* 横中央寄せ */
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 20px 16px 0;            /* スマホ用に左右余白 */
}

.about-hero__title {
  font-size: clamp(22px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  white-space: nowrap;   /* ← これで1行に収まる */
}

.about-hero__sub {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  white-space: nowrap;   /* ← これで1行に収まる */
}

@media (min-width: 768px) {
  .about-hero__title {
    font-size: 32px;
  }
}

/* 布レイアウト */
.bloglist-container {
  max-width: 1200px;
  padding: 40px 20px 80px;
  margin: 0 auto;
}

.bloglist-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 24px;
}

/* セクションヘッダ */
.hlist-block + .hlist-block { margin-top: 40px; }


.hlist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hlist-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

.badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3949ab;
  border: 1px solid #d9e1ff;
}

/* 矢印（今は装飾のみ。JSを足せば動く） */
.hlist-arrows { display: flex; gap: 8px; }
.hlist-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid #e6e6e6;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: not-allowed;   /* JS未実装なので無効 */
  color: #999;
}

/* 横スクロール行 */
.cards-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 340px);
  gap: 16px;
  padding: 8px 4px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  height:260px;
}
.cards-row:focus { outline: 2px solid #e5e7eb; outline-offset: 2px; }

/* スクロールバー（モダンブラウザ） */
.cards-row::-webkit-scrollbar { height: 10px; }
.cards-row::-webkit-scrollbar-track { background: transparent; }
.cards-row::-webkit-scrollbar-thumb {
  background: #d8d8d8;
  border-radius: 8px;
}

/* カード */
.card {
  list-style: none;
  scroll-snap-align: start;
}

.card-link {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* カード内要素 */
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #667085;
  margin-bottom: 10px;
}
.card-meta .pill {
  margin-left: auto;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid;
}
.pill-admin { color: #b15b00; border-color: #ffd8a8; background: #fff3e0; }
.pill-emp   { color: #0f6b37; border-color: #b8f0d2; background: #e9fbf1; }

.card-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .01em;
  margin: 4px 0 8px;
}

.card-excerpt {
  font-size: 14px;
  color: #475467;
  line-height: 1.7;
  min-height: 3.2em; /* 2行相当の高さを確保 */
}

/* レスポンシブ微調整 */
@media (max-width: 600px) {
  .bloglist-title { font-size: 26px; }
  .hlist-heading { font-size: 18px; }
  .cards-row { grid-auto-columns: 78%; gap: 12px; }
}
