@charset "UTF-8";
/* ========================================
   トップページ：採用イベント／採用ブログ（2カラム）
   ・PCは EVENT と BLOG を左右に並べ、それぞれの下に3件ずつ表示
   ・SPは従来どおり上下に積む（.blog-sp を流用）
   このCSSはトップページでのみ読み込まれる。
   ======================================== */

.top-feed {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px;
  background: #ECECEC;
}

/* NEWS・BLOGと同じ全幅コンテナに合わせる（標準の.containerだと狭くなる） */
.top-feed > .container {
  max-width: none;
  padding: 0 100px;
}

.top-feed__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
}

/* イベントが1件も無いときはブログのみ中央寄せで表示 */
.top-feed--single .top-feed__grid {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

/* ---- 見出し ---- */
.top-feed__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.top-feed__heading-area { position: relative; }

.top-feed__heading-top {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
}

.top-feed__heading-bg {
  position: absolute;
  top: 48px;
  left: 0;
  right: -12px;
  height: 38px;
  background: var(--color-yellow);
  z-index: 0;
}

.top-feed__heading-en {
  position: relative;
  z-index: 1;
  font-family: var(--font-futura);
  font-size: 80px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-black);
  text-transform: uppercase;
}

.top-feed__heading-jp {
  font-family: var(--font-zen);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  color: var(--color-black);
  margin-top: 16px;
}

.top-feed__more {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

/* ---- カード ---- */
.top-feed__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.top-feed-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: #fff;
  padding: 20px;
  transition: box-shadow .3s ease, transform .3s ease;
}
.top-feed-card:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  opacity: 1;
}

.top-feed-card__img {
  flex: 0 0 280px;
  height: 188px;
  overflow: hidden;
  background: #ddd;
}
.top-feed-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-feed-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.top-feed-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-feed-card__date {
  font-family: var(--font-futura);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.33;
  color: var(--color-black);
}

.top-feed-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  background: var(--color-yellow);
  font-family: var(--font-noto);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-black);
}

.top-feed-card__title {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-black);
}

.top-feed-card__desc {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.5px;
  color: var(--color-gray-text, #666);
  font-feature-settings: 'palt' 1;
}

/* ---- タブレット〜狭いPC ---- */
@media (max-width: 1200px) {
  .top-feed > .container { padding: 0 40px; }
  .top-feed__grid { gap: 40px; }
  .top-feed__heading-en { font-size: 54px; }
  .top-feed__heading-bg { top: 32px; height: 26px; }
  .top-feed__heading-jp { font-size: 18px; }
  .top-feed-card { gap: 18px; padding: 14px; }
  .top-feed-card__img { flex: 0 0 170px; height: 114px; }
  .top-feed-card__title { font-size: 16px; }
  .top-feed-card__desc { font-size: 13px; }
}

/* ---- SP：イベント枠の余白のみ調整（1列のまま） ---- */
@media (max-width: 768px) {
  .top-event-sp {
    padding: 100px 0 24px;
  }
}
