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

body {
  padding-top: 80px;
}

/* ヘッダーがハンバーガー（高さ64px）になる幅 */
@media (max-width: 1028px) {
  body {
    padding-top: 64px;
  }
}

/* ── パンくず〜ヒーロー背景 ── */
.interview-top-bg {
  position: relative;
  overflow: hidden;
  background-color: #eaf5fb;
  background-image: url("../image/interview/01-hero-bg.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

/* ── パンくずリスト ── */
.interview-breadcrumb {
  position: relative;
  z-index: 1;
  max-width: 1366px;
  margin: 0 auto;
  padding: 24px 80px 0;
  box-sizing: border-box;
}
.interview-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.interview-breadcrumb__item {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #2c4257;
  letter-spacing: 0.03em;
}
.interview-breadcrumb__item a {
  color: #2c4257;
  text-decoration: none;
  transition: opacity 0.2s;
}
.interview-breadcrumb__item a:hover {
  opacity: 0.7;
}
.interview-breadcrumb__separator {
  color: #8ea3b8;
  font-size: 12px;
}

/* ── ヒーローセクション ── */
.interview-hero {
  position: relative;
  /* z-index を付けない：イラスト(写真の下)とプロフィールカード(写真の上)を、
     写真バナーと同じ階層で重ね順を決めるため（Figma） */
  max-width: 1366px;
  margin: 0 auto;
  padding: 56px 80px 90px;
  box-sizing: border-box;
}
.interview-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: 131px;
}
.interview-hero__left {
  flex: 1;
  min-width: 0;
  max-width: 722px;
  padding-top: 36px;
  padding-left: 122px;
}
.interview-hero__number {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #4783c1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.interview-hero__dept-tag {
  display: inline-block;
  padding: 6px 18px;
  border: 1.5px solid #0e212f;
  border-radius: 4px;
  background-color: #ffffff;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  color: #0e212f;
  text-align: center;
  line-height: 160%;
  letter-spacing: 0.54px;
  margin-bottom: 22px;
}
.interview-hero__catchcopy {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  color: #0e212f;
  line-height: 150%;
  letter-spacing: 1.2px;
  margin: 0;
}

.interview-hero__right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* イラスト＋カードをまとめて18px上へ（見た目だけ。写真バナーは動かさない）。
     Figma：写真の上端がカード下端の約22pxだけ上に来て、腕の肌色が写真の上に見える */
  top: -18px;
  padding-top: 60px;
}
.interview-hero__illustration {
  position: relative;
  z-index: 1; /* 写真バナー(z-index:2)より下。下端は写真に隠れる */
  /* イラストは人ごとに書き出しサイズが違う。PHPが画像の実寸の半分を --iw / --ih に入れる
     （例：450×698で書き出し → 225×349で表示）。取得できないときは下の225×349。
     枠の下の約77pxはプロフィールカードの裏に隠れる（Figma） */
  display: flex;
  justify-content: center;
}
.interview-hero__illustration img {
  display: block;
  flex: none;
  max-width: none;
  /* --iw/--ih が無いとき（サイズが取得できない場合）も縦横比を崩さない。JSが実寸の半分を入れ直す */
  width: var(--iw, 225px);
  height: var(--ih, auto);
}
.interview-hero__profile {
  /* イラスト枠の下端 = このカードの下端（カードの高さ90pxぶん重ねる）。左右はイラストの中央 */
  align-self: center;
  margin-top: -90px;
  margin-right: 0;
  position: relative;
  z-index: 3; /* 写真バナー(z-index:2)より上 */
  /* 文字の量で枠が伸び縮みする（Figmaの大きさ 234×90 を最小サイズにする） */
  width: auto;
  min-width: 234px;
  max-width: 100%;
  height: auto;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid #0e212f;
  background: #ffffff;
  padding: 10px 20px;
  box-sizing: border-box;
}
.interview-hero__profile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #5b7086;
  margin: 0 0 4px;
}
.interview-hero__profile-sep {
  color: #c3d0dc;
}
.interview-hero__profile-year {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: #0e212f;
  line-height: 150%;
  letter-spacing: 0.48px;
}
.interview-hero__profile-name {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  color: #0e212f;
  line-height: 150%;
  letter-spacing: 0.72px;
  margin: 0;
}
.interview-hero__profile-name span {
  font-size: 14px;
  font-weight: 500;
  margin-left: 2px;
}

/* ── ヒーロー下の大型写真バナー ── */
.interview-hero-banner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 460px;
  box-sizing: border-box;
  border-radius: 30px;
  overflow: hidden;
  margin-top: -130px;
}
.interview-hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Q&A セクション ── */
.interview-qa {
  position: relative;
  z-index: 1;
  background: rgba(229, 248, 255, 0.7);
  /* 写真バナーの角丸(30px)の下に、このセクションの背景が見えるよう30px食い込ませる */
  margin-top: -30px;
  padding: 130px 0 40px;
  overflow: hidden;
}
.interview-qa__inner {
  width: 100%;
}
.interview-qa__item {
  display: flex;
  align-items: center;
  gap: 90px;
  width: 100%;
  margin-bottom: 100px;
}
.interview-qa__item:last-child {
  margin-bottom: 0;
}
.interview-qa__item--reverse {
  flex-direction: row-reverse;
}
.interview-qa__text {
  flex: 0 0 auto;
  width: 600px;
  max-width: calc(100% - 120px);
  margin-left: max(80px, calc((100vw / var(--z) - 1366px) / 2 + 80px));
  box-sizing: border-box;
}
.interview-qa__item--reverse .interview-qa__text {
  margin-left: 0;
  margin-right: max(80px, calc((100vw / var(--z) - 1366px) / 2 + 80px));
}

/* PC：文章カラムを左右同じ幅にして、Q1とQ2で「文章の端」と「写真の端」の縦ラインを揃える
   （左右の余白 + 文章 + 90px + 写真 = 画面幅。互い違いに並べても境目が一直線になる） */
@media (min-width: 901px) {
  .interview-qa__text,
  .interview-qa__item--reverse .interview-qa__text {
    width: calc((100% - 2 * max(80px, calc((100vw / var(--z) - 1366px) / 2 + 80px)) - 90px) / 2);
    max-width: none;
  }
  /* 写真を外側（画面端の方向）へ35pxずらす。はみ出した分はセクションで隠れる */
  .interview-qa__photo {
    transform: translateX(35px);
  }
  .interview-qa__item--reverse .interview-qa__photo {
    transform: translateX(-35px);
  }
}
.interview-qa__num {
  margin: 0 0 14px;
  line-height: 0;
}
.interview-qa__num img {
  display: block;
  width: 112px;
  height: auto;
}
.interview-qa__question {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 27px;
  font-style: normal;
  font-weight: 700;
  color: #0e212f;
  line-height: 160%;
  letter-spacing: 0.81px;
  margin: 0 0 20px;
}
.interview-qa__question-break--sp {
  display: none;
}
.interview-qa__divider {
  width: 40px;
  height: 2px;
  background-color: #4783c1;
  border: none;
  margin: 0 0 20px;
}
.interview-qa__headline {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  color: #0169b9;
  line-height: 160%;
  letter-spacing: 0.6px;
  margin: 0 0 18px;
}
.interview-qa__body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  color: #1d2e45;
  line-height: 180%;
  letter-spacing: 0.48px;
  margin: 0;
}
.interview-qa__photo {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
  border-radius: 30px 0 0 30px;
  overflow: hidden;
}
.interview-qa__item--reverse .interview-qa__photo {
  border-radius: 0 30px 30px 0;
}
.interview-qa__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .interview-qa__item,
  .interview-qa__item--reverse {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
  }
  .interview-qa__text,
  .interview-qa__item--reverse .interview-qa__text {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .interview-qa__photo img {
    min-height: 240px;
  }
}

/* ── ある1日のスケジュール ── */
.interview-schedule {
  background: rgba(229, 248, 255, 0.7);
  padding: 0 0 100px;
}
.interview-schedule__inner {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 80px;
  box-sizing: border-box;
}
.interview-schedule__card {
  background: #ffffff;
  border-radius: 30px;
  padding: 70px 130px;
  box-sizing: border-box;
}
.interview-schedule__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 27px;
  font-style: normal;
  font-weight: 700;
  color: #0e212f;
  line-height: 160%;
  letter-spacing: 0.81px;
  margin: 0 0 40px;
}
.interview-schedule__title-bar {
  display: block;
  flex-shrink: 0;
  width: 4px;
  height: 28px;
  background-color: #0169b9;
  border-radius: 2px;
}
.interview-schedule__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
}
.interview-schedule__col {
  position: relative;
}
.interview-schedule__item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 32px;
}
.interview-schedule__item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 0;
  width: 2px;
  background-color: #0169b9;
}
.interview-schedule__item--last {
  padding-bottom: 0;
}
.interview-schedule__item--last::before {
  content: none;
}
.interview-schedule__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #0169b9;
  box-shadow: 0 0 0 6px #bfd9f2;
}
.interview-schedule__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}
.interview-schedule__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 58px;
  height: 21px;
  border-radius: 999px;
  background-color: #0169b9;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.42px;
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
}
.interview-schedule__label {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  color: #0169b9;
  line-height: 160%;
  letter-spacing: 0.51px;
}
.interview-schedule__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  color: #1d2e45;
  line-height: 130%;
  letter-spacing: 0.42px;
  margin: 0;
}

@media (max-width: 900px) {
  .interview-schedule__card {
    padding: 40px 24px;
  }
  .interview-schedule__columns {
    grid-template-columns: 1fr;
    gap: 32px 0;
  }
}

/* ── 就職活動をしている方へ ── */
.interview-message {
  background: rgba(229, 248, 255, 0.7);
  padding: 0 0 140px;
}
.interview-message__inner {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 80px;
  box-sizing: border-box;
}
.interview-message__box {
  background-color: #4783c1;
  border-radius: 30px;
  padding: 56px 64px;
  box-sizing: border-box;
}
.interview-message__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 27px;
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
  line-height: 160%;
  letter-spacing: 0.81px;
  margin: 0 0 28px;
}
.interview-message__title-bar {
  display: block;
  flex-shrink: 0;
  width: 4px;
  height: 28px;
  background-color: #ffffff;
  border-radius: 2px;
}
.interview-message__body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
  line-height: 180%;
  letter-spacing: 0.48px;
  margin: 0;
}
.interview-section-connector {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 120px;
  background-color: #0169b9;
  z-index: 1;
}

@media (max-width: 900px) {
  .interview-message__box {
    padding: 32px 24px;
  }
}

/* ── 他の先輩のインタビュー ── */
.interview-others {
  position: relative;
  background: #ffffff;
  padding: 0 0 100px;
}
.interview-others__inner {
  max-width: 1366px;
  margin: 0 auto;
  padding: 120px 80px 0;
  box-sizing: border-box;
}
.interview-others__head {
  position: relative;
  margin-bottom: 40px;
}
.interview-others__title {
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  color: #0e212f;
  line-height: 160%;
  letter-spacing: 0.96px;
  margin: 0;
}
.interview-others__nav {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 12px;
}
.interview-others__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  border: 1px solid #0e212f;
  background: #ffffff;
  cursor: pointer;
  transition: opacity 0.2s;
}
.interview-others__nav-btn:hover {
  opacity: 0.7;
}

.interview-others__swiper {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.interview-others__swiper .swiper-slide {
  width: 470px;
  height: auto;
}
.interview-others__card {
  position: relative;
  display: block;
  width: 470px;
  box-sizing: border-box;
  text-decoration: none;
}
.interview-others__card-top {
  position: relative;
  padding: 20px 20px 0;
  height: 520px;
  box-sizing: border-box;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect x='0' y='4' width='8' height='2' rx='1' fill='currentColor'/%3E%3Crect x='10' y='14' width='8' height='2' rx='1' fill='currentColor'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 20px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 30px;
  border: 2px solid #000000;
  overflow: hidden;
}
.interview-others__card--green .interview-others__card-top {
  background-image: url("../image/interview/midorihaikei.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.interview-others__card--blue .interview-others__card-top {
  background-image: url("../image/interview/aohaikei.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.interview-others__card--orange .interview-others__card-top {
  background-image: url("../image/interview/orangehaikei.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.interview-others__card--teal .interview-others__card-top {
  background-image: url("../image/interview/tealhaikei.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.interview-others__card-tag {
  position: absolute;
  top: 0;
  left: 0;
  /* Figma：262×69 固定、文字は中央（部署名の長さによらず同じ大きさ） */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 262px;
  height: 69px;
  padding: 0;
  border-radius: 30px 0 20px 0;
  background: #ffffff;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: 150%;
  letter-spacing: 0.72px;
  text-align: center;
  color: #2f4a66;
  white-space: nowrap;
  box-sizing: border-box;
}
.interview-others__card-avatar {
  display: block;
  width: 410px;
  height: 424px;
}
.interview-others__card-body {
  position: relative;
  width: 424px;
  margin: -55px auto 0;
  padding: 20px 24px 16px;
  border-radius: 20px;
  border: 2px solid #0e212f;
  background: #ffffff;
  box-sizing: border-box;
  z-index: 1;
}
.interview-others__card-copy {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 27px;
  font-style: normal;
  font-weight: 700;
  color: #2f4a66;
  line-height: 150%;
  letter-spacing: 0.9px;
  margin: 0;
}
.interview-others__card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.interview-others__card-meta {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}
.interview-others__card-meta-year {
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.48px;
  color: #2f4a66;
}
.interview-others__card-meta-sep {
  font-size: 16px;
  font-weight: 700;
  color: #2f4a66;
}
.interview-others__card-meta-initial {
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.6px;
  color: #2f4a66;
}
.interview-others__card-arrow {
  display: block;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}
.interview-others__card-arrow img {
  display: block;
  width: 100%;
  height: 100%;
}

/* 一覧カード用イラスト（470×520の枠いっぱいに、人物の位置込みで書き出した画像） */
.interview-others__card .interview-others__card-avatar--full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}

/* マウスオンで、イラストからふわっと写真に切り替える */
.interview-others__card-tag {
  z-index: 2;
}
.interview-others__card-avatar {
  transition: opacity 0.5s ease;
}
.interview-others__card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .interview-others__card:hover .interview-others__card-photo {
    opacity: 1;
  }
  .interview-others__card:hover .interview-others__card-avatar {
    opacity: 0;
  }
}
.interview-others__card:focus-visible .interview-others__card-photo {
  opacity: 1;
}
.interview-others__card:focus-visible .interview-others__card-avatar {
  opacity: 0;
}

@media (max-width: 900px) {
  .interview-others__inner {
    padding: 60px 20px 0;
  }
  .interview-others__title {
    font-size: 22px;
  }
}

/* ==============================
   海と未来をつなぐ仲間へ (CTA)
   ============================== */
.interview-cta {
  position: relative;
  z-index: 1;
  min-height: 856px;
}
.interview-cta__photo {
  position: relative;
  width: 100%;
  height: 604px;
  overflow: hidden;
}
.interview-cta__photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: url(#ctaWaveClip);
}
.interview-cta__text {
  position: absolute;
  top: 242px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}
.interview-cta__title {
  margin: 0;
  display: flex;
  justify-content: center;
}
.interview-cta__title img {
  display: block;
  height: auto;
}
.interview-cta__subtitle {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.48px;
  color: #ffffff;
  text-align: center;
  margin: 24px 0 0;
}
.interview-cta__cards {
  position: absolute;
  top: 538px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 60px;
}
.interview-cta__card {
  flex: 0 0 460px;
  width: 460px;
  height: 286px;
  background: #0169b9;
  border-radius: 20px;
  padding: 32px 40px;
  box-sizing: border-box;
  display: block;
  text-decoration: none;
}
.interview-cta__card {
  transition: background-color 0.3s ease;
}
.interview-cta__card:hover,
.interview-cta__card:focus-visible {
  background: #6f97c6;
}

.interview-cta__card-label {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 8px;
}
.interview-cta__card-title {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  color: #ffffff;
  margin: 0 0 12px;
}
.interview-cta__card-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.45px;
  color: #ffffff;
  margin: 0 0 20px;
}
.interview-cta__card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  letter-spacing: 0.48px;
  color: #ffffff;
  text-decoration: none;
}
.interview-cta__card-arrow {
  display: block;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}
.interview-cta__card-arrow img {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .interview-cta__cards {
    flex-direction: column;
  }
}

/* ------------------------------------------------------------
   レスポンシブ（スマートフォン 〜560px）
   Figma: SP_16_人について
   ------------------------------------------------------------ */
@media (max-width: 560px) {
  body {
    padding-top: 64px;
  }

  /* パンくず〜ヒーロー背景 */
  .interview-top-bg {
    background-position: top center;
  }

  .interview-breadcrumb {
    padding: 20px 22px 0;
  }
  .interview-breadcrumb__list {
    gap: 6px;
  }
  .interview-breadcrumb__item {
    font-size: 12px;
  }
  .interview-breadcrumb__separator {
    font-size: 11px;
  }

  /* ヒーローセクション */
  .interview-hero {
    padding: 43px 22px 0;
  }
  .interview-hero__inner {
    gap: 8px;
    align-items: flex-start;
  }
  .interview-hero__left {
    flex: none;
    max-width: 192px;
    padding-top: 0;
    padding-left: 0;
  }
  .interview-hero__number {
    font-size: 13px;
    letter-spacing: 0.65px;
    margin: 0 0 8px;
  }
  .interview-hero__dept-tag {
    padding: 4px 12px;
    font-size: 14px;
    letter-spacing: 0.42px;
    margin-bottom: 12px;
  }
  .interview-hero__catchcopy {
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 0.66px;
  }

  .interview-hero__right {
    top: 0; /* SPは上へずらさない */
    padding-top: 0;
    /* イラストが横に広い人でも、見出しの右に収まるよう縮める（はみ出し防止） */
    flex-shrink: 1;
    min-width: 0;
  }
  .interview-hero__illustration {
    max-width: 100%;
  }
  .interview-hero__illustration img {
    /* SPはPCの約半分の大きさ。右の列に収まらないときは、縦横比のまま縮む */
    width: calc(var(--iw, 225px) * 0.5);
    max-width: 100%;
    height: auto;
  }
  .interview-hero__profile {
    align-self: flex-end;
    /* 文字の量で枠が伸び縮みする（Figmaの大きさ 127×97 を最小サイズにする） */
    width: auto;
    min-width: 127px;
    max-width: 100%;
    height: auto;
    min-height: 97px;
    margin-top: -12px;
    margin-right: 0;
    justify-content: flex-start;
    padding: 13px 15px 13px; /* 枠線1px＋余白 → カード上端から14px・左端から16px（Figma） */
    border-radius: 10px;
  }
  .interview-hero__profile-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 160%; /* 20.8px */
    letter-spacing: 0.39px;
    color: #0e212f;
    margin-bottom: 3px;
  }
  .interview-hero__profile-sep {
    display: none;
  }
  .interview-hero__profile-year {
    font-size: 14px;
    line-height: 150%; /* 21px */
    letter-spacing: 0.42px;
  }
  .interview-hero__profile-name {
    font-size: 16px;
    letter-spacing: 0.48px;
    white-space: nowrap; /* 「さん」が次の行に落ちないように */
  }
  .interview-hero__profile-name span {
    font-size: 12px;
    font-weight: 700;
    line-height: 150%; /* 18px */
    letter-spacing: 0.36px;
    margin-left: -5px; /* 名前との間の半角スペース分を詰める（Figma: 名前と「さん」は密着） */
  }

  /* ヒーロー下の大型写真バナー */
  .interview-hero-banner {
    height: 260px;
    border-radius: 16px;
    margin-top: -18px;
  }
}

@media (max-width: 560px) {
  /* Q&A セクション */
  .interview-qa {
    margin-top: -16px; /* バナーの角丸16px分 */
    padding: 56px 0 50px;
  }
  .interview-qa__item,
  .interview-qa__item--reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: auto;
    margin: 0 0 40px;
  }
  .interview-qa__text,
  .interview-qa__item--reverse .interview-qa__text {
    width: auto;
    max-width: none;
    margin: 0 22px;
    padding: 0;
  }
  .interview-qa__num img {
    width: 56px;
  }
  .interview-qa__question {
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.6px;
    margin: 0 0 16px;
  }
  .interview-qa__question-break--sp {
    display: inline;
  }
  .interview-qa__divider {
    margin: 0 0 16px;
  }
  .interview-qa__headline {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.54px;
    margin: 0 0 16px;
  }
  .interview-qa__body {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.45px;
  }
  .interview-qa__photo,
  .interview-qa__item--reverse .interview-qa__photo {
    flex: none;
    align-self: auto;
    width: auto;
    margin: 20px 22px 0;
    border-radius: 16px;
  }
  .interview-qa__photo img {
    height: 230px;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  /* ある1日のスケジュール */
  .interview-schedule {
    background: transparent;
    padding: 0;
  }
  .interview-schedule__inner {
    max-width: none;
    padding: 0;
  }
  .interview-schedule {
    padding-bottom: 50px;
  }
  .interview-schedule__card {
    background: #ffffff;
    border-radius: 30px;
    padding: 60px 22px;
  }
  .interview-schedule__title {
    gap: 12px;
    margin: 0 0 25px;
  }
  .interview-schedule__title-bar {
    height: 35px;
  }
  .interview-schedule__columns {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .interview-schedule__item {
    padding-left: 24px;
    padding-bottom: 24px;
  }
  /* 縦線は項目の上端から下端まで。次の項目の線とすき間なくつながる（点の後ろを通る） */
  .interview-schedule__item::before {
    left: 4px;
    top: 0;
  }
  /* 一番上の項目だけは、点の下から線を始める（点より上に線が出ないように） */
  .interview-schedule__col:first-child .interview-schedule__item:first-child::before {
    top: 14px;
  }
  .interview-schedule__item--last {
    padding-bottom: 24px;
  }
  .interview-schedule__item--last::before {
    content: "";
  }
  .interview-schedule__col:last-child .interview-schedule__item--last {
    padding-bottom: 0;
  }
  /* 一番下の項目：前の項目からの線を、この項目の点の中心まで届かせる（点より下には出さない） */
  .interview-schedule__col:last-child .interview-schedule__item--last::before {
    content: "";
    top: 0;
    bottom: auto;
    height: 14px;
  }
  .interview-schedule__dot {
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    box-shadow: 0 0 0 4px #bfd9f2;
  }
  .interview-schedule__row {
    gap: 15px;
    margin-bottom: 2px;
  }
}

@media (max-width: 560px) {
  /* 就職活動をしている方へ */
  .interview-message {
    background: transparent;
    padding: 0;
  }
  .interview-message__inner {
    max-width: none;
    padding: 0;
  }
  .interview-message__box {
    border-radius: 30px;
    padding: 50px 22px;
  }
  .interview-message__title {
    gap: 12px;
    margin: 0 0 25px;
  }
  .interview-message__title-bar {
    height: 35px;
  }

  /* 他の先輩のインタビュー */
  .interview-section-connector {
    top: 30px;
    height: 60px;
  }
  .interview-others {
    padding: 0 0 60px;
  }
  .interview-others__inner {
    max-width: none;
    padding: 115px 22px 0;
  }
  .interview-others__head {
    margin-bottom: 30px;
  }
  .interview-others__title {
    font-size: 27px;
    letter-spacing: 0.81px;
  }
  .interview-others__nav {
    position: absolute;
    right: auto;
    top: 213px; /* 矢印の中心＝写真カードの上から164px（Figma） */
    left: 0;
    width: 100%;
    transform: none;
    justify-content: space-between;
    padding: 0 17px 0 15px; /* 矢印がカードの左右へ約26px / 23pxはみ出す（Figma） */
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none;
  }
  .interview-others__nav-btn {
    pointer-events: auto;
  }

  .interview-others__nav-btn svg {
    width: 11px;
    height: 17px;
  }
  .interview-others__swiper {
    padding: 0 22px;
    box-sizing: border-box;
  }
  .interview-others__swiper .swiper-slide {
    width: 331px;
  }
  .interview-others__card {
    width: 250px;
    margin: 0 auto;
  }
  .interview-others__card-top {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 250px;
    height: 280px;
    padding: 0;
  }
  .interview-others__card-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 56px;
    padding: 0;
    font-size: 16px;
    letter-spacing: 0.48px;
    white-space: normal;
    text-align: center;
  }
  .interview-others__card-avatar {
    /* デザイン：イラストは全体が見える大きさ（幅221px）で、カード下端に合わせる */
    width: 221px;
    height: auto;
    max-width: none;
    object-fit: contain;
  }
  .interview-others__card-body {
    width: 250px;
    margin: -32px auto 0;
    padding: 18px 12px 17px 28px;
  }
  .interview-others__card-copy {
    font-size: 20px;
    line-height: 130%; /* 26px */
    letter-spacing: 0.6px;
  }
  .interview-others__card-meta-row {
    margin-top: 4px;
  }

  /* 海と未来をつなぐ仲間へ (CTA) */
  .interview-cta {
    min-height: 773px;
  }
  .interview-cta__photo {
    height: 331px;
  }
  .interview-cta__text {
    top: 117px;
  }
  .interview-cta__title img {
    width: 174px;
  }
  .interview-cta__subtitle {
    font-size: 14px;
    letter-spacing: 0.42px;
    margin: 8px 0 0;
  }
  .interview-cta__cards {
    top: 299px;
    left: 22px;
    transform: none;
    flex-direction: column;
    gap: 20px;
    width: 331px;
  }
  .interview-cta__card {
    flex: none;
    width: 331px;
    height: 197px;
    border-radius: 15px;
    padding: 24px 38px 24px 40px;
  }
  .interview-cta__card-label {
    font-size: 13px;
    letter-spacing: 0.39px;
    margin: 0 0 4px;
  }
  .interview-cta__card-title {
    font-size: 28px;
    margin: 0 0 8px;
  }
  .interview-cta__card-desc {
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.39px;
    margin: 0 0 10px;
  }
  .interview-cta__card-link {
    font-size: 14px;
    letter-spacing: 0.42px;
  }
  .interview-cta__card-arrow {
    width: 19px;
    height: 19px;
  }
}

/* ==============================
   ノートPC対応：「人について」「他の先輩のインタビュー」カードを
   画面の幅・高さに合わせて縮める（561px以上。SPは変更なし）
   ※ recruit-top.css / recruit-interview.css 共通
   ============================== */
@media (min-width: 561px) {
  .interview-others__swiper,
  .recruit-top-people__swiper {
    --cw: clamp(300px, min(34vw, 62vh), 470px);
  }
}
@media (min-width: 1025px) {
  .interview-others__swiper,
  .recruit-top-people__swiper {
    --cw: 470px;
  }
}
@media (min-width: 561px) {
  .interview-others__swiper .swiper-slide,
  .recruit-top-people__swiper .swiper-slide {
    width: var(--cw);
  }
  .interview-others__card {
    width: var(--cw);
  }
  .interview-others__card-top {
    padding: calc(var(--cw) * 20 / 470) calc(var(--cw) * 20 / 470) 0;
    height: calc(var(--cw) * 520 / 470);
    border-radius: calc(var(--cw) * 30 / 470);
  }
  .interview-others__card-tag {
    width: calc(var(--cw) * 262 / 470);
    height: calc(var(--cw) * 69 / 470);
    padding: 0;
    font-size: calc(var(--cw) * 24 / 470);
    letter-spacing: calc(var(--cw) * 0.72 / 470);
    border-radius: calc(var(--cw) * 30 / 470) 0 calc(var(--cw) * 20 / 470) 0;
  }
  .interview-others__card-avatar {
    width: calc(var(--cw) * 410 / 470);
    height: calc(var(--cw) * 424 / 470);
    object-fit: contain;
  }
  .interview-others__card-body {
    width: calc(var(--cw) * 424 / 470);
    margin: calc(var(--cw) * -55 / 470) auto 0;
    padding: calc(var(--cw) * 20 / 470) calc(var(--cw) * 24 / 470) calc(var(--cw) * 16 / 470);
    border-radius: calc(var(--cw) * 20 / 470);
  }
  .interview-others__card-copy {
    font-size: calc(var(--cw) * 27 / 470);
    letter-spacing: calc(var(--cw) * 0.9 / 470);
  }
  .interview-others__card-meta-row {
    margin-top: calc(var(--cw) * 12 / 470);
  }
  .interview-others__card-meta-year,
  .interview-others__card-meta-sep {
    font-size: calc(var(--cw) * 16 / 470);
  }
  .interview-others__card-meta-initial {
    font-size: calc(var(--cw) * 20 / 470);
  }
  .interview-others__card-arrow {
    width: calc(var(--cw) * 27 / 470);
    height: calc(var(--cw) * 27 / 470);
  }
}
