@charset "UTF-8";
/* Interview Page Styles - はたらく人を知る */
/* ====================================
   Variables - 変数
   ==================================== */
:root {
  --interview-color-primary-blue: #24A4DB;
  --interview-color-cn-blue: #165EA3;
  --interview-color-accent-yellow: #EEFF00;
  --interview-color-text-dark: #000000;
  --interview-color-text-body: #000000;
  --interview-color-border-yellow: #F3FE01;
  --interview-color-info-bg: rgba(29, 142, 223, 0.65);
}

/* ====================================
   Main Section - メインセクション
   ==================================== */
.interview-main {
  position: relative;
  padding: 60px 20px 120px;
  overflow: hidden;
}

.interview-main__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 背景装飾（曲線） */
.interview-main__decoration {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* ====================================
   Header - ヘッダー部分
   ==================================== */
.interview-main__header {
  text-align: left;
  margin-bottom: 40px;
}

.interview-main__title {
  font-family: var(--font-family-en);
  font-size: 106px;
  font-weight: 400;
  font-style: italic;
  color: var(--interview-color-text-dark);
  line-height: 1;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ====================================
   Filter Section - フィルターセクション
   ==================================== */
.interview-filter {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.interview-filter__group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.interview-filter__label {
  font-family: var(--font-family-base);
  font-size: 20px;
  font-weight: 700;
  color: var(--interview-color-text-dark);
  margin: 0;
  min-width: 60px;
  line-height: 40px;
  position: relative;
}
.interview-filter__label::after {
  content: "";
  position: absolute;
  right: -42px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 25px;
  height: 2px;
  background-color: var(--interview-color-accent-yellow);
}

.interview-filter__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-left: 60px;
}

.interview-filter__button {
  font-family: var(--font-family-base);
  font-size: 18px;
  font-weight: 500;
  padding: 0 30px;
  height: 40px;
  line-height: 40px;
  border: none;
  background-color: var(--interview-color-cn-blue);
  color: var(--color-white);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.interview-filter__button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.interview-filter__button.is-active {
  background-color: var(--interview-color-cn-blue);
}

/* ====================================
   Interview Grid - インタビューグリッド
   ==================================== */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
}

/* ====================================
   Interview Card - インタビューカード
   ==================================== */
.interview-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  cursor: pointer;
  /* フィルターアニメーション用のトランジション（滑らかなcubic-bezier） */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
  /* ホバーエフェクト（フィルターアニメーション中は無効） */
}
.interview-card:hover:not(.is-hiding):not(.is-showing) {
  transform: translateY(-8px);
}
.interview-card:hover:not(.is-hiding):not(.is-showing) .interview-card__photo-inner img {
  transform: scale(1.05);
}

.interview-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.interview-card__photo-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.interview-card__photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.interview-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--interview-color-info-bg);
  padding: 13px 21px;
  z-index: 2;
}

.interview-card__department {
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 32px;
  margin: 0;
}

.interview-card__year {
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 32px;
  margin: 0;
}

/* Filter Animation - フィルターアニメーション */
.interview-card.is-hiding {
  opacity: 0 !important;
  transform: scale(0.92) translateY(10px) !important;
  pointer-events: none;
}

.interview-card.is-hidden {
  display: none !important;
}

.interview-card.is-showing {
  opacity: 0 !important;
  transform: scale(0.95) translateY(15px) !important;
}

.interview-card.is-fade-in {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* ====================================
   No Results - 該当なし
   ==================================== */
.interview-no-results {
  text-align: center;
  padding: 80px 20px;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}
.interview-no-results.is-showing {
  opacity: 0;
  transform: translateY(20px);
}
.interview-no-results p {
  font-family: var(--font-family-base);
  font-size: 18px;
  color: var(--interview-color-text-dark);
  line-height: 1.8;
  margin: 0 0 10px 0;
}
.interview-no-results p:last-child {
  margin-bottom: 0;
}

/* ====================================
   Modal - モーダル（Figmaデザイン準拠）
   ==================================== */
.interview-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.interview-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.interview-modal.is-open .interview-modal__container {
  transform: translateY(0);
}

.interview-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.interview-modal__container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 96vh;
  z-index: 1;
  transform: translateY(30px);
  transition: transform 0.4s ease;
  overflow: hidden;
  background-color: #FFFFFF;
}

.interview-modal__deco {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 180px;
  height: 120px;
  background-image: url("../images/interview/modal-deco.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  pointer-events: none;
}

.interview-modal__content {
  max-height: 90vh;
  overflow-y: auto;
}

/* ヘッダー: 写真 + プロフィール情報 */
.interview-modal__header {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 40px;
  padding: 50px 50px 30px;
}

.interview-modal__photo {
  flex-shrink: 0;
  width: 350px;
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
}
.interview-modal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* プロフィール情報 */
.interview-modal__profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
}

.interview-modal__department {
  font-family: var(--font-family-base);
  font-size: 24px;
  font-weight: 700;
  color: var(--interview-color-text-dark);
  line-height: 1.5;
  margin: 0 0 8px 0;
}

.interview-modal__year {
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 700;
  color: var(--interview-color-text-dark);
  line-height: 1.5;
  margin: 0;
}

/* Q&Aセクション */
.interview-modal__body {
  padding: 0 50px 50px;
}

.interview-modal__qa {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.interview-modal__qa-question {
  font-family: var(--font-family-base);
  font-size: 24px;
  font-weight: 700;
  color: var(--interview-color-primary-blue);
  line-height: 40px;
  margin: 0 0 16px 0;
  padding-bottom: 0;
  border-bottom: none;
}

.interview-modal__qa-answer {
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 400;
  color: var(--interview-color-text-dark);
  line-height: 34px;
  margin: 0;
}

/* Life Outside of Work セクション */
.interview-modal__life {
  background-color: #24A4DB;
  margin: 0 -50px;
  padding: 40px 50px;
}

.interview-modal__life-title {
  font-family: var(--font-family-en);
  font-size: 40px;
  font-weight: 400;
  color: var(--color-white);
  margin: 0 0 24px 0;
  letter-spacing: 0;
}

.interview-modal__life-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.interview-modal__life-photo {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  overflow: hidden;
}
.interview-modal__life-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interview-modal__life-text {
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 34px;
  margin: 0;
}

/* フッター: CLOSEボタン */
.interview-modal__footer {
  padding: 30px 50px;
  text-align: center;
}

.interview-modal__close-btn {
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: 400;
  color: var(--interview-color-text-dark);
  background: none;
  border: 1px solid var(--interview-color-text-dark);
  width: 100%;
  max-width: 980px;
  height: 80px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0;
}
.interview-modal__close-btn:hover {
  background-color: var(--interview-color-text-dark);
  color: var(--color-white);
}

/* ====================================
   Utility Classes
   ==================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ====================================
   Responsive Design
   ==================================== */
@media (min-width: 1201px) {
  .interview-grid {
    gap: 75px;
  }
}
@media (max-width: 1200px) {
  .interview-main__title {
    font-size: 80px;
  }
}
@media (max-width: 1024px) {
  .interview-filter__label {
    font-size: 20px;
    min-width: 50px;
  }
  .interview-filter__label::after {
    width: 40px;
  }
  .interview-filter__buttons {
    gap: 15px;
    margin-left: 40px;
  }
  .interview-filter__button {
    font-size: 16px;
    padding: 0 20px;
    height: 36px;
    line-height: 36px;
  }
}
@media (max-width: 768px) {
  .interview-main {
    padding: 40px 20px 80px;
  }
  .interview-main__title {
    font-size: 56px;
  }
  .interview-filter {
    gap: 20px;
    margin-bottom: 40px;
  }
  .interview-filter__group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .interview-filter__label {
    font-size: 18px;
  }
  .interview-filter__label::after {
    display: none;
  }
  .interview-filter__buttons {
    margin-left: 0;
    gap: 10px;
  }
  .interview-filter__button {
    font-size: 14px;
    padding: 0 16px;
    height: 32px;
    line-height: 32px;
  }
  .interview-modal__container {
    width: 95%;
    max-height: 95vh;
  }
  .interview-modal__container::before {
    width: 120px;
  }
  .interview-modal__header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 20px 20px;
  }
  .interview-modal__photo {
    width: 280px;
  }
  .interview-modal__profile {
    padding-top: 0;
    text-align: center;
  }
  .interview-modal__body {
    padding: 0 20px 30px;
  }
  .interview-modal__department {
    font-size: 20px;
    line-height: 34px;
  }
  .interview-modal__year {
    font-size: 14px;
    line-height: 30px;
  }
  .interview-modal__qa {
    gap: 30px;
    margin-bottom: 40px;
  }
  .interview-modal__qa-question {
    font-size: 18px;
    line-height: 32px;
  }
  .interview-modal__qa-answer {
    font-size: 15px;
    line-height: 28px;
  }
  .interview-modal__life {
    margin: 0 -20px;
    padding: 30px 20px;
  }
  .interview-modal__life-title {
    font-size: 28px;
  }
  .interview-modal__life-content {
    flex-direction: column;
    gap: 20px;
  }
  .interview-modal__life-photo {
    width: 100%;
    height: 200px;
  }
  .interview-modal__life-text {
    font-size: 15px;
    line-height: 28px;
  }
  .interview-modal__footer {
    padding: 20px;
  }
  .interview-modal__close-btn {
    height: 60px;
    font-size: 14px;
  }
}
@media (max-width: 840px) {
  .interview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6vw 3vw;
  }
  .interview-card__photo {
    max-width: 100%;
  }
  .interview-card__info {
    max-width: 100%;
    padding: 10px 15px;
  }
  .interview-card__department,
  .interview-card__year {
    font-size: 14px;
    line-height: 26px;
  }
}
@media (max-width: 480px) {
  .interview-main__title {
    font-size: 42px;
  }
  .interview-grid {
    gap: 4vw 2vw;
  }
  .interview-card {
    width: 100%;
    height: auto;
  }
  .interview-card__photo {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .interview-card__info {
    max-width: 100%;
    padding: 8px 10px;
  }
  .interview-card__department,
  .interview-card__year {
    font-size: 2.5vw;
    line-height: 1.6;
  }
  .interview-filter__button {
    font-size: 13px;
    padding: 0 14px;
    height: 30px;
    line-height: 30px;
    border-radius: 8px;
  }
  .interview-modal__container::before {
    width: 80px;
  }
  .interview-modal__header {
    padding: 20px 15px 15px;
    gap: 15px;
  }
  .interview-modal__photo {
    width: 200px;
  }
  .interview-modal__department {
    font-size: 16px;
    line-height: 28px;
  }
  .interview-modal__year {
    font-size: 13px;
    line-height: 24px;
  }
  .interview-modal__body {
    padding: 0 15px 20px;
  }
  .interview-modal__qa {
    gap: 24px;
    margin-bottom: 30px;
  }
  .interview-modal__qa-question {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 10px;
  }
  .interview-modal__qa-answer {
    font-size: 14px;
    line-height: 26px;
  }
  .interview-modal__life {
    margin: 0 -15px;
    padding: 25px 15px;
  }
  .interview-modal__life-title {
    font-size: 22px;
    margin-bottom: 16px;
  }
  .interview-modal__life-photo {
    height: 160px;
  }
  .interview-modal__life-text {
    font-size: 14px;
    line-height: 26px;
  }
  .interview-modal__footer {
    padding: 15px;
  }
  .interview-modal__close-btn {
    height: 50px;
    font-size: 13px;
  }
}
/* ====================================
   GSAP Animation Classes
   ==================================== */
.interview-card.is-animated {
  opacity: 0;
  transform: translateY(30px);
}
.interview-card.is-animated.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.interview-filter__button.is-animated {
  opacity: 0;
  transform: translateY(10px);
}
.interview-filter__button.is-animated.is-visible {
  opacity: 1;
  transform: translateY(0);
}