/* ===========================
   _page.css — 下位ページ共通レイアウト
   全カテゴリ（ABOUT/BUSINESS/PEOPLE/ENVIRONMENT/INFORMATION/INTERNSHIP）で使用
   =========================== */

/* ============ Page Hero (各下層ページの上部ヒーロー) ============ */
.page-hero {
  position: relative;
  width: 100%;
  height: clamp(280px, 28vw, 360px);
  overflow: hidden;
  background-color: #c5dff0;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(0, 44, 106, 0.55) 0%,
    rgba(0, 44, 106, 0.30) 30%,
    rgba(0, 44, 106, 0.05) 60%,
    transparent 80%);
  z-index: 2;
}

.page-hero__tag {
  position: absolute;
  inset-block-end: clamp(40px, 6vw, 80px);
  inset-inline-start: clamp(20px, 4vw, 60px);
  z-index: 3;
  color: var(--color-white);
}

.page-hero__tag-en {
  font-family: var(--ff-en-body); /* Poppins */
  font-size: clamp(40px, 5vw, 64px);
  font-weight: var(--fw-regular);
  letter-spacing: 0.05em;
  line-height: 1;
}

.page-hero__tag-jp {
  margin-top: 8px;
  font-family: var(--ff-jp);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
}

.page-hero__accent {
  position: absolute;
  inset-block-end: 56px;
  inset-inline-end: 56px;
  width: 100px;
  height: 3px;
  background-color: #e71a10;
  z-index: 3;
}

@media (max-width: 767px) {
  .page-hero { height: 200px; }
  .page-hero__accent { width: 64px; right: 24px; }
}

/* ============ Page Content ============ */
.page-content {
  padding: 80px 0;
  background-color: var(--color-white);
}

.page-content--blue {
  background: linear-gradient(180deg, #eaf4fb 0%, #d6ecf9 100%);
}

.page-section {
  margin-bottom: 80px;
}

.page-section:last-child { margin-bottom: 0; }

.page-section__heading {
  text-align: center;
  margin-bottom: 32px;
}

.page-section__en {
  font-family: var(--ff-en-body);
  font-size: 32px;
  font-weight: var(--fw-regular);
  color: var(--color-blue);
  letter-spacing: 0.06em;
  line-height: 1;
}

.page-section__jp {
  margin-top: 8px;
  font-family: var(--ff-jp);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--color-blue-dark);
  letter-spacing: 0.06em;
}

.page-section__text {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--ff-jp);
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.page-section__text--center { text-align: center; }

/* ============ Page Hero Lead (ヒーロー直後の紹介文) ============ */
.page-lead {
  padding: 64px 0;
  text-align: center;
}

.page-lead__text {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--ff-jp);
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

/* ============ Placeholder Image ============ */
.placeholder-img {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #d3eaf6 0%, #a8c8e2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 44, 106, 0.35);
  font-family: var(--ff-en-body);
  font-size: 18px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.15em;
  text-align: center;
  overflow: hidden;
}

.placeholder-img::before {
  content: "PLACEHOLDER";
  position: relative;
  z-index: 2;
}

.placeholder-img--16x10 { aspect-ratio: 16 / 10; }
.placeholder-img--16x9  { aspect-ratio: 16 / 9; }
.placeholder-img--4x3   { aspect-ratio: 4 / 3; }
.placeholder-img--3x4   { aspect-ratio: 3 / 4; }

/* ============ NEXT セクション ============ */
.page-next {
  background-color: #155c99;
  color: var(--color-white);
  padding: 4.667vw 0 5.333vw;               /* 56 / 64 @1200 */
  text-align: center;
}

.page-next__title {
  font-family: var(--ff-en-body);
  font-size: max(28px, 3.75vw);             /* 45 @1200 / 最低28 */
  font-weight: 500;                         /* Medium */
  color: var(--color-white);
  letter-spacing: 0.11em;                   /* 5px / 45px */
  line-height: 1;
  margin-bottom: 2.667vw;                   /* 32 @1200 */
}

.page-next__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, 18.167vw);  /* 218 @1200 */
  justify-content: center;
  gap: 6.167vw;                             /* 74 @1200 */
  margin: 0 auto;
  padding-inline: 2vw;                      /* 24 @1200 */
}

.page-next__card {
  display: block;
  color: var(--color-white);
  text-align: center;
  transition: opacity var(--transition-base);
}

.page-next__card:hover { opacity: 0.85; }

.page-next__card-image {
  width: 18.167vw;                          /* 218 @1200 */
  height: 13vw;                             /* 156 @1200 */
  background-color: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 0.667vw;                   /* 8 @1200 */
}

.page-next__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-next__card-label {
  display: block;
  font-family: var(--ff-jp);                /* Noto Sans JP Medium 15px */
  font-size: max(13px, 1.25vw);             /* 15 @1200 / 最低13 */
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: 0;
}

.page-next__card-en {
  display: block;
  margin-top: 0.5vw;                        /* 6 @1200 */
  font-family: var(--ff-en-body);           /* Poppins Regular 10px */
  font-size: max(10px, 0.833vw);            /* 10 @1200 / 最低10 */
  font-weight: 400;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: 0;
}

/* タブレット以下: vw だとカード画像が極小になるため固定px に戻す */
@media (max-width: 1199px) {
  .page-next__cards {
    grid-template-columns: repeat(auto-fit, 218px);
    gap: 32px;
    padding-inline: 24px;
  }
  .page-next__card-image {
    width: 218px;
    height: 156px;
    margin-bottom: 8px;
  }
}
@media (max-width: 767px) {
  .page-next { padding: 40px 0; }
  .page-next__title { font-size: 28px; }
  .page-next__cards {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    max-width: 320px;
  }
  .page-next__card {
    width: 218px;
  }
}

/* ============ Tab Navigation (INFORMATION/INTERNSHIPで使用) ============ */
.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 1080px;
  margin: 0 auto 56px;
  padding-inline: 24px;
}

.page-tabs__btn {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 16px 12px;
  background-color: rgba(0, 145, 221, 0.85);
  color: var(--color-white);
  font-family: var(--ff-jp);
  font-size: 14px;
  font-weight: var(--fw-medium);
  text-align: center;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: background-color var(--transition-base);
}

.page-tabs__btn.is-active,
.page-tabs__btn:hover {
  background-color: var(--color-blue-dark);
}

/* ============ Recruit Table (INFORMATION募集要項) ============ */
.recruit-table {
  max-width: 880px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 8px 32px;
  color: var(--color-blue-dark);
}

.recruit-table__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 44, 106, 0.15);
  align-items: start;
}

.recruit-table__row:last-child { border-bottom: 0; }

.recruit-table__label {
  font-family: var(--ff-jp);
  font-size: 15px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
}

.recruit-table__value {
  font-family: var(--ff-jp);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .recruit-table { padding: 0 16px; }
  .recruit-table__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
  .recruit-table__label { font-weight: var(--fw-bold); }
}

/* ============ Profile / Card Grid ============ */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 24px;
}

.profile-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background-color: var(--color-white);
  transition: opacity var(--transition-base);
}

.profile-card:hover { opacity: 0.85; }

.profile-card__img {
  width: 110px;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #d3eaf6;
}

.profile-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card__body {
  flex: 1;
}

.profile-card__title {
  font-family: var(--ff-jp);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--color-blue-dark);
  line-height: 1.5;
  margin-bottom: 6px;
}

.profile-card__meta {
  font-family: var(--ff-jp);
  font-size: 11px;
  color: var(--color-text);
  line-height: 1.7;
}
