/*
 * archive-interview.css — 合格者対談一覧ページ専用スタイル
 * V0デザインより変換（2026-04-11）
 * @package keikyo-theme
 */

/* ========================================
   HERO
   ======================================== */
.interview-hero {
  background: var(--navy);
  padding: 80px 0;
}

.interview-hero .shell {
  width: 100%;
}

.interview-hero__inner {
  text-align: center;
  width: 100%;
}

.interview-hero__h1 {
  font-family: var(--font-jp);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin: 16px 0;
  letter-spacing: 0.05em;
}

.interview-hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.interview-hero__badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.interview-hero__badge {
  font-size: 12px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  color: rgba(255,255,255,0.8);
}

/* ========================================
   FILTER BAR
   ======================================== */
.filter-bar {
  background: var(--cream);
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.filter-bar__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  font-size: 13px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.filter-tab:hover {
  background: rgba(0,0,0,0.04);
}

.filter-tab--active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ========================================
   CARD GRID
   ======================================== */
.card-grid-section {
  background: var(--cream);
  padding: 64px 0 100px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1023px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Story Card */
.story-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.story-card__image {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--sand);
  overflow: hidden;
}

.story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(0,0,0,0.3);
  letter-spacing: 0.1em;
}

.story-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.story-card__origin {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(26,26,46,0.85);
  color: rgba(255,255,255,0.9);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: 0.03em;
}

.story-card__profile {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26,26,46,0.9));
  padding: 48px 16px 16px;
  color: var(--white);
}

.story-card__name {
  font-size: 16px;
  font-weight: 600;
}

.story-card__school {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 2px;
}

.story-card__body {
  padding: 20px;
}

.story-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.story-card__tag {
  font-size: 11px;
  padding: 4px 8px;
  background: var(--sand);
  border-radius: 2px;
  color: rgba(0,0,0,0.6);
}

.story-card__comment {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0,0,0,0.7);
  margin-bottom: 16px;
}

.story-card__link {
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.story-card__link:hover {
  text-decoration: underline;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination-wrap {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-wrap .page-numbers li {
  display: inline-flex;
}

.pagination-wrap .page-numbers a,
.pagination-wrap .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination-wrap .page-numbers a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pagination-wrap .page-numbers .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ========================================
   CTA SECTION
   ======================================== */
.interview-cta {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}

.interview-cta__text {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 767px) {
  .interview-hero {
    padding: 64px 0 48px;
  }

  .interview-hero__h1 {
    font-size: 28px;
  }

  .card-grid-section {
    padding: 40px 0 64px;
  }

  .interview-cta {
    padding: 56px 0;
  }

  .interview-cta__text {
    font-size: 16px;
  }
}

/* ========================================
   フッター余白リセット・カード修正
   ======================================== */
body.post-type-archive-interview .keikyo-interview-site-footer,
body.archive .keikyo-interview-site-footer {
  margin-top: 0 !important;
}

/* 記事が少ない時もカードを適切なサイズに */
.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* interview_tag link badge */
.interview-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}
.interview-card__tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 2px;
  text-decoration: none;
  background: rgba(26,26,46,0.7);
  color: #fff;
  position: relative;
  z-index: 3;
}
.interview-card__tag:hover { opacity: 0.8; }
.interview-card__tag--light {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
a.story-card__origin {
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 3;
}
a.story-card__origin:hover { opacity: 0.8; }
