/* ==============================
   インタビュー詳細ページ
============================== */

/* 親テーマの .page-wrap スタイルを無効化
   （padding・overflow-x が全幅レイアウトに干渉するため）
------------------------------ */
.page-wrap:has(#interview-detail-page) {
  padding: 0;
  overflow-x: visible;
}
.content-wrapper:has(#interview-detail-page) {
  padding: 0;
  width: 100%;
}

/* ① ヘッダー：背景写真 + Interview ボックス
------------------------------ */
.idetail-header {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center bottom;
  display: flex;
  align-items: center;
  justify-content: center;
}
.idetail-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.idetail-header__box {
  position: relative;
  z-index: 1;
  border: 2px solid #fff;
  padding: 20px 60px;
  text-align: center;
  color: #fff;
}
.idetail-header__title {
  font-size: 3.2rem;
  font-weight: 700;
  font-family: "Montserrat", serif;
  letter-spacing: 4px;
  margin: 0 0 8px;
  color: #fff;
}
.idetail-header__sub {
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin: 0;
  color: #fff;
}

/* ② ヒーロー：青背景 + 会社名 + キャッチコピー + 写真
------------------------------ */
.idetail-hero {
  background: #0090d4;
  overflow: visible;
  position: relative;
}
.idetail-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.idetail-hero__text {
  flex: 1;
}
.idetail-hero__company {
  display: inline-block;
  background: #0c3b75;
  color: #fff;
  font-weight: bold;
  padding: 6px 14px;
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.idetail-hero__catchcopy {
  font-size: 3rem;
  color: #fff;
  font-weight: bold;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}
.idetail-hero__image {
  flex: 1.2;
  position: relative;
  margin-bottom: -120px;
  z-index: 1;
}
.idetail-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ③ 本文（WP エディタ）
------------------------------ */
.idetail-body {
  padding: 160px 40px 80px;
  background: #fff;
}
.idetail-body__inner {
  max-width: 900px;
  margin: 0 auto;
}

/* 会社プロフィールカード
------------------------------ */
.idetail-profile {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 28px 32px;
  margin-bottom: 48px;
  background: #fff;
}
.idetail-profile__logo {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #eee;
  padding-right: 32px;
  min-height: 120px;
}
.idetail-profile__logo img {
  max-width: 100%;
  height: auto;
}
.idetail-profile__info {
  flex: 1;
}
.idetail-profile__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
}
.idetail-profile__table th,
.idetail-profile__table td {
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
  border: none;
}
.idetail-profile__table th {
  color: #555;
  white-space: nowrap;
  font-weight: normal;
  width: 8em;
}
.idetail-profile__table td {
  color: #222;
}
.idetail-profile__table td a {
  color: #0090d4;
  word-break: break-all;
}

/* Q&A
------------------------------ */
.idetail-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 40px 0;
}
.idetail-qa {
  margin-bottom: 8px;
}
.idetail-qa__label {
  font-size: 1.4rem;
  color: #0090d4;
  font-weight: normal;
  margin: 0 0 12px;
}
.idetail-qa__heading {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  margin: 0 0 16px;
}
.idetail-qa__text {
  font-size: 1.5rem;
  color: #333;
  line-height: 1.9;
  margin: 0;
}

/* 本文最下部の画像（スライダー直前）
------------------------------ */
.idetail-bottom-image {
  width: 100%;
  background: #fff;
  text-align: center;
  padding: 0 0 60px;
}
.idetail-bottom-image img {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ④ 他インタビュースライダー
------------------------------ */
.idetail-others {
  background: #f2f2f2;
  padding: 60px 80px;
}
.idetail-others__swiper {
  max-width: 900px;
  margin: 0 auto 40px;
  position: relative;
}
.idetail-others .swiper-button-prev,
.idetail-others .swiper-button-next {
  color: #0090d4;
}
.idetail-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  overflow: hidden;
  height: 100%;
}
.idetail-card:hover {
  opacity: 0.85;
  transition: opacity 0.2s;
}
.idetail-card__image {
  position: relative;
  overflow: hidden;
}
.idetail-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.idetail-card__company {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #0090d4;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 5px 12px;
}
.idetail-card__body {
  padding: 20px;
}
.idetail-card__title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #222;
  margin: 0 0 12px;
  line-height: 1.5;
}
.idetail-card__text {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ボタン共通
------------------------------ */
.idetail-others__btns {
  text-align: center;
  margin-top: 40px;
}

/* インタビュー一覧ボタン（トップページと同スタイル） */
.idetail-others .more-link {
  font-size: 14px;
  padding: 2em;
  text-align: center;
}
.idetail-others .more-link .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1em 4em;
  border: 1px solid #0090d4;
  border-radius: 4px;
  background: #fff;
  color: #0090d4;
  text-decoration: none;
  font-size: 1em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.idetail-others .more-link .btn:hover,
.idetail-others .more-link .btn:focus-visible {
  background: #0090d4;
  color: #fff;
}
.idetail-others .more-link .btn .text {
  white-space: nowrap;
}
.idetail-others .more-link .btn .arrow-wrap {
  display: inline-flex;
  align-items: center;
  height: 1em;
  transform-origin: left center;
  transform: scale(1, 1);
  transition: transform 0.4s ease;
}
.idetail-others .more-link .btn:hover .arrow-wrap {
  transform: scale(1.4, 1);
}
.idetail-others .more-link .btn .arrow-wrap svg {
  height: 1em;
  width: auto;
  vertical-align: middle;
}
.idetail-others .more-link .btn .arrow-wrap svg > polyline {
  stroke: currentColor;
}
.idetail-others .more-link .btn:hover .arrow-wrap svg > polyline {
  stroke-width: 2px;
}


/* モバイル
------------------------------ */
@media (max-width: 768px) {
  .idetail-header {
    height: 180px;
  }
  .idetail-header__box {
    padding: 16px 32px;
  }
  .idetail-header__title {
    font-size: 2.4rem;
  }

  .idetail-hero__inner {
    flex-direction: column;
    padding: 40px 20px 40px;
    gap: 24px;
  }
  .idetail-hero__image {
    margin-bottom: -40px;
    width: 100%;
  }
  .idetail-hero__catchcopy {
    font-size: 2.2rem;
  }

  .idetail-body {
    padding: 60px 20px 60px;
  }

  .idetail-others {
    padding: 40px 20px;
  }

}
