/* ============================================================
   採用情報 / 社員インタビュー
   PC / Tablet / Smartphone の最終値を各ブレークポイントに集約
============================================================ */
.p-int {
  color: #061b34;
  background: linear-gradient(180deg, #dff2fb 0, #eaf7fc 23%, #fff 58%);
}

.p-int__body { padding: 28px 0 54px; }
.p-int__inner { width: min(1120px, calc(100% - 48px)); margin: auto; }
.p-int__heading { text-align: center; }
.p-int__parent { margin: 0 0 20px; color: #061b34; font-size: 18px; font-weight: 700; line-height: 1.4; }
.p-int__parent span { margin-right: 6px; color: #e60012; }
.p-int__title { width: min(620px, 70%); margin: 0 auto 18px; }
.p-int__title img { width: 100%; margin: auto; }

.p-int__nav { max-width: 1040px; margin: 0 auto 28px; }
.p-int__nav--pc {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: end;
}
.p-int__nav--pc img { width: 100%; transition: .2s; }
.p-int__nav--pc a:hover img { transform: translateY(-3px); }
.p-int__nav--sp { display: none; }

.p-int__person {
  overflow: hidden;
  margin: 0 0 26px;
  border: 1.7px solid #e60012;
  border-radius: 15px;
  background: #fff;
}
.p-int__person--navy { border-color: #062b61; }

.p-int__hero {
  position: relative;
  height: auto;
  margin: 52px 64px 0;
  overflow: visible;
}
.p-int__hero > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}
.p-int__name {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 420px;
  padding: 22px 28px 12px 8px;
  border-radius: 0 42px 0 0;
  background: #fff;
}
.p-int__name small { display: block; font-size: 17px; font-weight: 700; line-height: 1.5; }
.p-int__name strong {
  display: inline-block;
  margin-right: 10px;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .06em;
}
.p-int__name em { font-size: 14px; font-style: normal; font-weight: 700; white-space: nowrap; }

.p-int__copy { padding: 24px 64px 4px; }
.p-int__copy h2 {
  margin: 0 0 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  color: #d91e28;
  font-size: 18px;
}
.p-int__person--navy .p-int__copy h2 { color: #142243; }
.p-int__copy p { margin: 0 12px 18px; font-size: 16px; line-height: 1.75; }

.p-int__bottom {
  display: grid;
  grid-template-columns: 39% 1fr;
  gap: 34px;
  align-items: stretch;
  padding: 0 64px 54px;
}
.p-int__schedule { align-self: stretch; padding: 0 20px 18px; border-radius: 8px; background: #ffedb2; }
.p-int__schedule h3 {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 9px 16px;
  border-radius: 0 0 8px 8px;
  background: #e51f2b;
  color: #fff;
  font-size: 16px;
}
.p-int__person--navy .p-int__schedule h3 { background: #162249; }
.p-int__schedule h3 span { margin-left: 4px; font-size: 11px; }
.p-int__schedule dl { margin: 0; }
.p-int__schedule dl div {
  display: grid;
  grid-template-columns: 102px 1fr;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dotted #c8a65d;
}
.p-int__schedule dl div:last-child { border-bottom: 0; }
.p-int__schedule dt { color: #e51f2b; font-size: 14px; font-weight: 800; }
.p-int__person--navy .p-int__schedule dt { color: #162249; }
.p-int__schedule dd { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.72; }

.p-int__works { display: grid; gap: 10px; align-self: start; align-content: start; }
.p-int__works--two { grid-template-rows: none; }
.p-int__works img { width: 100%; height: auto; min-height: 0; object-fit: contain; }
.p-int__works--two img,
.p-int__works--one img { height: auto; max-height: none; }

#p-baba .p-int__name { z-index: 2; }

.p-int__breadcrumb {
  position: relative;
  z-index: 0;
  width: min(1120px, calc(100% - 48px));
  margin: auto;
  padding: 18px 0 20px;
  background: #fff;
  font-size: 15px;
}
.p-int__breadcrumb::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #fff;
}
.p-int__breadcrumb ol { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.p-int__breadcrumb li { display: flex; align-items: center; }
.p-int__breadcrumb li + li::before { content: "▶"; display: inline-flex; align-items: center; align-self: center; margin-right: 9px; font-size: 9px; line-height: 1; }

/* Tablet */
@media (max-width: 900px) {
  .p-int__inner { width: min(760px, calc(100% - 28px)); }
  .p-int__parent { font-size: 15px; }
  .p-int__title { width: min(560px, 90%); }
  .p-int__nav--pc { gap: 8px; }

  .p-int__hero { height: auto; margin: 44px 32px 0; }
  .p-int__name { min-width: 340px; padding: 16px 20px 10px 6px; }
  .p-int__name strong { font-size: 25px; }
  .p-int__copy { padding: 20px 32px 4px; }

  .p-int__bottom {
    grid-template-columns: 42% 1fr;
    gap: 20px;
    align-items: stretch;
    padding: 0 32px 48px;
  }
  .p-int__schedule dl div { grid-template-columns: 88px 1fr; }
  .p-int__works--two img,
  .p-int__works--one img { height: auto; max-height: none; }
}

/* Smartphone */
@media (max-width: 560px) {
  .p-int__body { padding-top: 15px; }
  .p-int__inner { width: calc(100% - 20px); }
  .p-int__parent { margin-bottom: 20px; font-size: 12px; }
  .p-int__title { width: 94%; margin-bottom: 10px; }
  .p-int__nav--pc { display: none; }
  .p-int__nav--sp { display: grid; gap: 5px; margin-bottom: 16px; }
  .p-int__nav--sp img { width: 100%; }

  .p-int__person { margin-bottom: 14px; border-radius: 8px; }
  .p-int__hero { height: 285px; margin: 32px 13px 0; overflow: hidden; }
  .p-int__hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
  #p-mizoguchi .p-int__hero > img { object-position: 47% center; }
  #p-naruse .p-int__hero > img { object-position: 47% center; }
  #p-nishida .p-int__hero > img { object-position: 46% center; }
  #p-baba .p-int__hero > img { object-position: 39% center; }
  #p-yanagawa .p-int__hero > img { object-position: 47% center; }
  .p-int__name { left: 0; bottom: 0; min-width: 70%; padding: 10px 12px 6px 4px; border-radius: 0 25px 0 0; }
  .p-int__name small { font-size: 10px; }
  .p-int__name strong { margin-right: 4px; font-size: 18px; }
  .p-int__name em { font-size: 9px; }

  .p-int__copy { padding: 13px 13px 2px; }
  .p-int__copy h2 { margin-bottom: 5px; padding-bottom: 4px; font-size: 15px; }
  .p-int__copy p { margin: 0 3px 16px; font-size: 16px; line-height: 1.75; }

  .p-int__bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 0 13px 33px;
  }
  .p-int__schedule { align-self: auto; padding: 0 12px 12px; border-radius: 4px; }
  .p-int__schedule h3 { margin-bottom: 7px; padding: 5px 7px; border-radius: 0 0 4px 4px; font-size: 11px; }
  .p-int__schedule h3 span { font-size: 7px; }
  .p-int__schedule dl div { display: block; padding: 3px 0; }
  .p-int__schedule dt { font-size: 10px; line-height: 1.3; }
  .p-int__schedule dd { font-size: 10px; line-height: 1.55; }

  .p-int__works { gap: 5px; }
  .p-int__works--two { grid-template-rows: none; }
  .p-int__works img,
  .p-int__works--one img,
  .p-int__works--two img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .p-int__breadcrumb { width: calc(100% - 20px); padding: 13px 0 15px; font-size: 12px; }
}


/* 2026-09-15: interview schedule composite images */
.p-int__bottom--image {
  display: block;
  padding: 0 64px 54px;
}
.p-int__schedule-image { display: block; width: 100%; }
.p-int__schedule-image img { display: block; width: 100%; height: auto; }
@media (max-width: 560px) {
  .p-int__bottom--image { padding: 0 13px 33px; }
}
