@charset "utf-8";

/* ============================================================================
 * File: assets/css/page-interview.css
 * Role: インタビュー一覧・詳細ページ専用スタイル
 * ========================================================================== */

/* ===== ページヒーロー (一覧用) ===== */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 120px 20px 50px;
  text-align: center;
}
.page-hero h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== インタビューヒーロー (詳細用) ===== */
.int-hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 100px 20px 80px;
  text-align: center;
  overflow: hidden;
}
.int-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.int-hero__breadcrumb {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 24px;
}
.int-hero__breadcrumb a {
  color: #fff;
  text-decoration: underline;
}
.int-hero__breadcrumb a:hover {
  color: var(--theme-accent);
}
.int-hero__profile {
  margin-bottom: 16px;
}
.int-hero__name {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  margin-right: 12px;
}
.int-hero__position {
  display: inline-block;
  font-size: 0.9rem;
  background: var(--theme-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
}
.int-hero__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ===== 一覧エリア ===== */
.interview-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}
.interview-count {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 30px;
}
.interview-count strong {
  color: var(--theme-accent);
  font-size: 1.3rem;
  font-weight: 700;
}
.interview-card {
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* 空メッセージ */
.empty-msg {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-text-light);
  font-size: 1rem;
}
.empty-msg .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
}

/* ===== 記事本文 ===== */
.int-article {
  max-width: 840px;
  margin: 0 auto 60px;
  padding: 0 24px 30px;
  position: relative;
  background: #fff;
  margin-top: -40px;
  z-index: 3;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.int-main-image {
  margin: 0 -24px 40px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.int-main-image img {
  width: 100%;
  height: auto;
  display: block;
}
.int-body {
  padding: 0 20px 40px;
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
}

/* Q&Aスタイル */
.qa-box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 28px 28px 24px;
  margin-bottom: 24px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.qa-box:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.qa-box:last-child {
  margin-bottom: 0;
}
.qa-question {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.qa-icon-q {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--theme-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-en);
  font-size: 1.2rem;
}
.qa-q-text {
  padding-top: 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--theme-accent);
  line-height: 1.6;
}
.qa-answer {
  margin-left: 56px;
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
}

/* Q&A 画像 */
.qa-image {
  margin: 4px 0 20px;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}
.qa-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* 入社年などのメタ情報 */
.int-meta-box {
  background: var(--color-bg-light);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.int-meta-item {
  font-size: 0.95rem;
}
.int-meta-label {
  font-weight: 700;
  color: var(--color-text-light);
  margin-right: 8px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 2px;
}
.int-meta-value {
  font-weight: 600;
}

/* 他のインタビュー */
.other-int {
  background: var(--color-bg-light);
  padding: 60px 0;
}
.other-int__title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 40px;
}

/* 戻るリンク */
.back-link {
  text-align: center;
  margin-top: 40px;
}
.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--theme-accent);
  transition: color var(--transition-base);
}
.back-link a:hover {
  color: var(--theme-accent-hover);
}

@media (max-width: 768px) {
  .int-hero {
    padding: 80px 20px 60px;
  }
  .int-hero__title {
    font-size: 1.4rem;
  }
  .int-article {
    margin-top: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .int-main-image {
    margin: 0 0 30px;
    border-radius: 0;
  }
  .int-body {
    padding: 0 20px 40px;
  }
  .qa-question {
    gap: 12px;
  }
  .qa-icon-q {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .qa-q-text {
    font-size: 1rem;
    padding-top: 4px;
  }
  .qa-answer {
    margin-left: 0;
    padding-left: 44px;
  }
}
