/* 社員インタビュー */
/* リード文、セクション */
.interview-read-section {
  background-size: contain;
  background-position: 4px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.interview-read-section::after {
  content: "";
  background: linear-gradient(90deg, #2067a7 30%,#2488cc 40%, #23A7EE 60%, #2488cc 80%,#2067A7 100%);
  position: absolute;
  bottom: -12px;
  height: 72px;
  width: 100%;
  z-index: 0;
}

.interview-read-section .section-container {
  padding: 58px 24px 0;
}

.interview-read-section p {
  margin: 0 auto 16px;
  max-width: 500px;
}

.interview-read-section .blue-hr {
  background: var(--primary-color);
  border: none;
  height: 2px;
  margin: 0 auto 24px;
  width: 87%;
  max-width: 500px;
}

/* 動画のスタイル */
.interview-embed-wrap {
  position: relative;
  background: var(--back-color);
  width: 96%;
  height: 220px;
  margin: 0 auto;
  overflow: hidden;
  z-index: 10;
  max-width: 440px;
}

.interview-embed-wrap iframe {
  position: absolute;
  background: var(--back-color);
  border-radius: 4px;
  box-shadow: 0px 0px 2px 0px #000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: cover;
  z-index: 10;
}

/* メインインタビューセクション */
.main-interview-section .section-container {
  padding-top: 72px;
  padding-bottom: 2px;
}

.main-interview-wrap {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.staff-about-wrap {
  background: linear-gradient(77deg, #2067a7 20%, #2488cc 86%);
  color: #fff;
  padding: 24px 34px;
  display: flex;
  height: 128px;
  width: 96%;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.staff-dept h3 {
  font-family: var(--text-font-roboto);
  font-size: 20px;
  font-weight: bold;
}

.staff-divider {
  width: 1px;
  height: 80px;
  background: #fff;
  margin: auto;
}

.staff-info p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
}

.staff-name {
  font-family: var(--text-font-roboto);
  font-weight: bold;
  font-size: 24px;
  margin: 0 4px 0 0;
}

.staff-suffix {
  align-self: flex-end;
  padding: 0 0 4px;
}

.staff-year {
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 2px 8px;
  margin: 0 0 0 8px;
}

.staff-role {
  font-size: 15px;
  font-weight: 500;
}

/* 会話エリア */
.staff-interview-wrap {
  padding: 20px 15px 36px;
}

.staff-interview-wrap .staff-image { display: none; }

.staff-interview-wrap .qa-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.staff-interview-wrap .qa-group {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  width: 100%;
}

.staff-interview-wrap .interview-question,
.staff-interview-wrap .interview-answer {
  align-self: center;
  background-color: #fcfcfc;
  border: 1px solid #2078bd;
  font-size: 16px;
  letter-spacing: 1px;
  max-width: 400px;
  width: fit-content;
}

.staff-interview-wrap .interview-question {
  font-weight: bold;
  color: #2078bd;
  padding: 10px 16px;
  border-radius: 16px;
  border-bottom-right-radius: 0px;
  text-align: center;
  margin: 0 0 16px auto;
}

.staff-interview-wrap .interview-answer {
  box-shadow: 0 2px 8px 0 #0000003a;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
  padding: 8px 16px;
  border-radius: 24px;
  border-bottom-left-radius: 0px;
  margin: 0 auto 24px 0;
}

/* 社員インタビュー：カード下部 背景帯（PCのみ・画面右端追随） */
@media screen and (min-width: 1024px) {
  .interview-card {
    position: relative;
    background-color: #fff;
  }

  .interview-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -93px;
    transform: translateX(-50%);
    width: 100vw;
    height: 279px;
    background-image: url("/images/3_interview/kazari.webp");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 1232px 279px;
    pointer-events: none;
    z-index: -1;
  }

  .interview-card > * {
    position: relative;
    z-index: 1;
  }
}

/* 横スクロール防止（必須） */
.page-staff { overflow-x: clip; }

/* 加藤追記：PCレイアウト定義（768px〜） */
@media screen and (min-width: 768px) {
  .staff-interview-wrap {
    display: flex;
    gap: 32px;
    align-items: flex-start;
  }

  .staff-image-wrap { flex: 0 0 360px; }
  .staff-content-wrap { flex: 1; }
}

/* PC（インタビュー詳細の大きめレイアウト） */
@media screen and (min-width: 1024px) {
  .interview-read-section .section-container {
    padding: 120px 80px 10px;
  }

  .interview-read-section p {
    color: #51565a;
    font-size: 24px;
    font-weight: 600;
    max-width: none;
  }

  .interview-read-section .blue-hr {
    height: 1px;
    width: 720px;
    margin: 0 auto 56px 0;
    max-width: none;
  }

  .interview-read-section::after {
    bottom: -80px;
    height: 299px;
  }

  .interview-embed-wrap {
    width: 710px;
    height: 439px;
    margin: 0 auto;
    max-width: none;
  }

  .interview-read-section .interview-embed-wrap {
    margin: 0 auto 100px;
  }

  .main-interview-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 30px;
  }

  .page-staff .main-interview-section .h2-type5-wrap h2 {
    letter-spacing: 2px;
  }

  .page-staff .main-interview-section .h2-type5-wrap h2::after {
    margin: 19px auto 24px 0;
    width: 327px;
  }

  .main-interview-section .interview-desc {
    font-size: 20px;
    margin: 0 0 80px;
  }

  .interview-card {
    padding: 48px 64px 24px;
    margin: 0 auto 196px;
    width: 838px;
    box-shadow: 0 2px 4px 0 #00000044;
  }

  .staff-about-wrap {
    background: linear-gradient(106deg, #2067a7 30%, #2488cc 100%);
    display: block;
    padding: 24px 0 26px;
    height: 135px;
    width: 100%;
  }

  .staff-dept h3 { font-size: 28px; margin: 0 0 12px; }

  .staff-divider {
    width: 544px;
    height: 0.5px;
    margin: 0 auto 16px;
  }

  .staff-info p {
    font-size: 16px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .staff-name { font-size: 32px; margin: 0 4px 0 0; }

  .staff-year {
    font-size: 14px;
    font-weight: 500;
    padding: 8px;
    margin: 0 16px 0;
  }

  .staff-role { font-weight: 500; }

  .staff-interview-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0 0;
  }

  .staff-interview-conversation {
    max-width: 460px;
    width: 100%;
  }

  .staff-interview-wrap .staff-image {
    display: block;
    width: 208px;
    margin: 0 0 40px;
  }

  .staff-interview-wrap .qa-group {
    max-width: 600px;
  }

  .staff-interview-wrap .interview-question,
  .staff-interview-wrap .interview-answer {
    max-width: 700px;
  }

  .staff-interview-wrap .interview-question {
    font-weight: 600;
    padding: 8px 24px;
    margin: 0 0 8px auto;
  }

  .staff-interview-wrap .interview-answer {
    padding: 8px 24px;
  }
}
