.page-inner {
  margin: 0 auto;
  padding: 80px 120px;
}

.page-inner2 {
  margin: 0 auto;
  padding: 80px 0px 200px 120px;
}

.page-inner3 {
  margin: 0 auto;
  padding: 64px 0 64px 0;
}

.examinee-top-heading {
  font-size: 160px;
  font-weight: 600;
  color: #0B318F;
  line-height: 180px;
  padding-left: 80px;
}

/* ========================================================================== */
/* examinee-top */
/* ========================================================================== */

.examinee-top {
  background: #F3F7F9;
  padding-bottom: 100px;
}

.examinee-top-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.examinee-hero-image-link {
  display: block;
  border-radius: 32px;
  overflow: hidden;
}

.examinee-hero-image-link img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ========================================================================== */
/* Education section */
/* ========================================================================== */

.examinee-education {
  position: relative;
  --image-h: 260px;
  --split: 420px;

  background: linear-gradient(to bottom,
      #fff 0,
      #fff var(--split),
      #F3F7F9 var(--split),
      #F3F7F9 100%);
}

.examinee-education .examinee-section-title {
  position: absolute;
  top: -110px;
  z-index: 3;
  font-size: 160px;
  font-weight: 600;
  color: #0B318F;
  line-height: 180px;
}

/* ========================================================================== */
/* Education cards (text / button) */
/* ========================================================================== */

.examinee-education .education-main-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  margin-top: 80px;
}

.examinee-education .education-card {
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.08);
}

.examinee-education .education-card-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.examinee-education .education-card-body {
  padding: 80px 60px 60px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.examinee-education .education-card-title {
  margin: 0 0 16px;
  color: var(--title-text-dark-blue);
  text-align: center;
}

.examinee-education .education-card-title__main {
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: 1.28px;
}

.examinee-education .education-card-title__sub {
  font-size: 20px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: 0.8px;
}

.examinee-education .education-card-desc {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.examinee-education .education-card-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  height: auto;
  padding: 16px;
  border-radius: 999px;

  background: #0B318F;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  align-self: center;
}

.examinee-education .education-card-button__icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.examinee-education .education-card-button__icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ========================================================================== */
/* examinee-education-sub */
/* ========================================================================== */

.examinee-education-sub {
  width: 100%;
  background: #F3F7F9;
  padding: 0;
}

.examinee-education-sub .education-sub-viewport {
  overflow: hidden;
  width: 100%;
}

.examinee-education-sub .education-sub-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.examinee-education-sub .education-sub-track img {
  flex: 0 0 auto;
  display: block;
  height: auto;
  border-radius: 24px;
}

/* ========================================================================== */
/* 在校生の研究紹介 (examinee-student-research) */
/* ========================================================================== */

.examinee-student-research {
  background: #F3F7F9;
}

.examinee-student-research .student-research-row {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
}

.examinee-student-research .student-research-left {
  position: relative;
  z-index: 2;
  justify-self: end;
}

.examinee-student-research .student-research-card {
  background: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 32px;
  padding: 40px 56px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.10);
  text-align: center;
  transform: translateX(40px) translatey(150px);
}

.examinee-student-research .student-research-title {
  color: var(--title-text-light-blue);
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: 1.6px;
}

.examinee-student-research .student-research-text {
  text-align: left;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.64px;
  margin-bottom: 32px;
}

.examinee-student-research .student-research-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 60%;
  height: auto;
  padding: 16px 16px;
  border-radius: 40px;
  background: #009CE2;
  color: #fff !important;
  text-decoration: none;
}

.examinee-student-research .student-research-button .student-research-cta__icon {
  position: absolute;
  right: 18px;
  /* 右の位置（Figmaに合わせて調整） */
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* クリック判定はボタン全体に */
}

.examinee-student-research .student-research-button .student-research-cta__icon img {
  display: block;
  width: 28px;
  height: 28px;
}

.examinee-student-research .student-research-image {
  overflow: hidden;
  border-radius: 40px 0 0 40px;
}

.examinee-student-research .student-research-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================================================== */
/* examinee-top-section--career */
/* ========================================================================== */

.examinee-top-section--career {
  background-color: #0B318F;
}

.examinee-career-model__heading {
  background-color: #0B318F;
  padding: 120px 80px 0 80px;
  color: #fff;
  font-size: 128px;
  font-weight: 600;
  line-height: 140px;
  letter-spacing: 0;
  text-align: left;
}

/* ========================================================================== */
/* Interview rail（横並びレール） */
/* ========================================================================== */

/* 表示窓（クリップ） */
.examinee-top-section--interview .voice-viewport {
  overflow-x: auto; /* 手動スクロールを許可 */
  overflow-y: hidden;
  width: 100%;
  position: relative;
  /* スクロールバー非表示 */
  -ms-overflow-style: none; /* IE, Edge */
  scrollbar-width: none; /* Firefox */
}

.examinee-top-section--interview .voice-viewport::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* 動くレール（トラック） */
.examinee-top-section--interview .voice-box {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  width: max-content;
  will-change: transform;
  margin: 64px 0;
  cursor: grab; /* 掴めるカーソル */
}

.examinee-top-section--interview .voice-box:active {
  cursor: grabbing;
}

/* カード幅固定（Figma幅） */
.examinee-top-section--interview .voice-group-light-blue-parts,
.examinee-top-section--interview .voice-group-dark-blue-parts {
  flex: 0 0 347px;
  width: 347px;
}

.examinee-top-section--interview .interview-cta-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  width: 24%;
  padding: 16px;
  border-radius: 40px;

  background: #0B318F;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

/* テキストは常に中央 */
.examinee-top-section--interview .interview-cta-button__text {
  text-align: center;
  pointer-events: none;
}

/* 矢印は右固定・縦中央 */
.examinee-top-section--interview .interview-cta-button__icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.examinee-top-section--interview .interview-cta-button__icon img {
  display: block;
  width: 28px;
  height: 28px;
}

/* ========================================================================== */
/* Image Links */
/* ========================================================================== */

.examinee-top-section--imglinks .imglinks-bg {
  width: 100%;
  background: #F3F7F9;
}

.examinee-top-section--imglinks .imglinks-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.examinee-top-section--imglinks .imglinks-card {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
}

.examinee-top-section--imglinks .imglinks-card:hover {
  opacity: 0.92;
}

.examinee-top-section--imglinks .imglinks-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.examinee-top-section--imglinks .imglinks-bottom {
  padding: 80px;
}

.examinee-top-section--imglinks .imglinks-card--wide {
  border-radius: 0;
  overflow: hidden;
}

/* ========================================================================== */
/* News */
/* ========================================================================== */

.examinee-top-section--news .examinee-news__tabs {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin: 42px 0 32px 0;
  padding: 0;
}

.examinee-top-section--news .examinee-news__tab {
  appearance: none;
  background: none;
  border: none;
  padding: 4px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
  letter-spacing: 0.8px;
  color: #333;
  position: relative;
}

/*
.news__tab::after{
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
}
*/

/* 下線（非アクティブ） */
.examinee-top-section--news .examinee-news__tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 1px;
  background: transparent;
  transform: translateX(-50%);
}

.examinee-top-section--news .examinee-news__tab.active {
  color: var(--title-text-dark-blue);
}

.examinee-top-section--news .examinee-news__tab.active::after {
  background: #0B318F;
}

.examinee-top-section--news .examinee-news__panel {
  display: none;
}

.examinee-top-section--news .examinee-news__panel.active {
  display: block;
}

.examinee-top-section--news .examinee-news__footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.examinee-top-section--news .examinee-news__more {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  padding: 14px 32px;
  border-radius: 999px;
  background: #0B318F;
  color: #fff;
  text-decoration: none;
}

.examinee-top-section--news .examinee-news__more-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.examinee-top-section--news .examinee-news__more-icon img {
  display: block;
  width: 28px;
  height: 28px;
}

/* ========================================================================== */
/* @media */
/* ========================================================================== */

@media (min-width: 1024px) {

  /* ==================================================== */
  /* examinee-education-sub */
  /* ==================================================== */

  .examinee-education-sub .education-sub-viewport {
    width: calc((300px * 4) + (24px * 3));
    margin: 0 auto;
    background-color: #F3F7F9;
  }



  .examinee-education-sub .education-sub-track img {
    width: 300px;
  }
}

/* ========================================================================== */
/* @media：TB */
/* ========================================================================== */

@media (max-width: 1023px) {
  .page-inner {
    margin: 0 auto;
    padding: 40px 64px;
  }

  .page-inner2 {
    margin: 0 auto;
    padding: 80px 0px 200px 0px
  }

  .examinee-top-heading {
    font-size: 128px;
    font-weight: 600;
    color: #0B318F;
    font-weight: 600;
    line-height: 72px;
    padding-left: 4%;
  }

  /* ==================================================== */
  /* examinee-top */
  /* ==================================================== */

  .examinee-top-hero-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ==================================================== */
  /* Education section */
  /* ==================================================== */

  .examinee-education {
    --split: 340px;
  }

  .examinee-education .examinee-section-title {
    font-size: 128px;
  }

  /* ==================================================== */
  /* Education cards (text / button) */
  /* ==================================================== */

  .examinee-education .education-main-cards {
    gap: 24px;
    margin-top: 40px;
  }

  .examinee-education .education-card-body {
    padding: 40px 16px;
  }

  .examinee-education .education-card-title {
    text-align: center;
  }

  .examinee-education .education-card-title__main {
    font-size: 24px;
  }

  .examinee-education .education-card-title__sub {
    font-size: 16px;
    display: block;
    margin-top: -12px;
  }

  .examinee-education .education-card-desc {
    font-size: 14px;
  }

  .examinee-education .education-card-button {
    font-size: 16px;
  }

  /* ==================================================== */
  /* examinee-education-sub */
  /* ==================================================== */

  .examinee-education-sub .education-sub-viewport {
    width: 100%;
  }

  .examinee-education-sub .education-sub-track img {
    width: 220px;
  }

  /* ==================================================== */
  /* 在校生の研究紹介 (examinee-student-research) */
  /* ==================================================== */

  .examinee-student-research .student-research-card {
    padding: 40px 32px;
  }

  .examinee-student-research .student-research-title {
    color: var(--title-text-light-blue);
    font-size: 24px;
    line-height: 32px;
    /* 133.333% */
    letter-spacing: 0.96px;
  }

  .examinee-student-research .student-research-text {
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    /* 214.286% */
    letter-spacing: 0.56px;
    margin-bottom: 32px;
  }

  /* ==================================================== */
  /* examinee-top-section--career */
  /* ==================================================== */

  .examinee-career-model__heading {
    padding: 80px 80px 0 80px;
    color: #fff;
    font-size: 96px;
    font-weight: 600;
    line-height: 72px;
  }

  /* /SPH/include/parts/common/careermodel.twig */
  .career-model__inner {
    padding: 56px 64px 80px 64px;
  }

  /* ==================================================== */
  /* Interview rail（横並びレール） */
  /* ==================================================== */

  .examinee-top-section--interview .interview-cta-button {
    width: 36%;
  }

  /* ==================================================== */
  /* Image Links */
  /* ==================================================== */

  .examinee-top-section--imglinks .imglinks-top {
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 0;
  }

  .examinee-top-section--imglinks .imglinks-card {
    border-radius: 34px;
  }

  /* ==================================================== */
  /* News */
  /* ==================================================== */

  .examinee-top-section--news .examinee-news__tabs {
    margin: 80px 0 32px 0;
  }
}

/* ========================================================================== */
/* @media：SP */
/* ========================================================================== */

@media (max-width: 767px) {

  .page-inner {
    margin: 0 auto;
    padding: 40px 24px;
  }

  .page-inner2 {
    padding: 80px 0px 0px 0px;
  }

  .page-inner3 {
    margin: 0 auto;
    padding: 64px 24px;
  }

  .examinee-top-heading {
    font-size: 72px;
    margin: 44px 0 18px;
    padding: 0;
  }

  /* ==================================================== */
  /* examinee-top */
  /* ==================================================== */

  .examinee-top {
    padding-bottom: 60px;
  }

  .examinee-top-hero-cards {
    margin: 20px 0;
  }

  .examinee-hero-image-link {
    border-radius: 24px;
  }

  /* ==================================================== */
  /* Education section */
  /* ==================================================== */

  .examinee-education .examinee-section-title {
    font-size: 68px;
    /* font-size: 40px; */
  }

  /* ==================================================== */
  /* Education cards (text / button) */
  /* ==================================================== */

  .examinee-education .education-main-cards {
    grid-template-columns: 1fr !important;
    gap: 64px;
  }

  /* ==================================================== */
  /* 在校生の研究紹介 (examinee-student-research) */
  /* ==================================================== */

  .examinee-student-research .student-research-row {
    grid-template-columns: 1fr;
    row-gap: 24px;
    display: flex;
    flex-direction: column;
  }

  .examinee-student-research .student-research-left {
    order: 2;
  }

  .examinee-student-research .student-research-right {
    order: 1;
  }

  .examinee-student-research .student-research-card {
    max-width: 400px;
    transform: translateX(-50px) translatey(-60px);
    padding: 56px 16px;
  }

  .examinee-student-research .student-research-button {
    width: 90%;
  }

  .examinee-student-research .student-research-image {
    padding-left: 100px;
  }

  /* ==================================================== */
  /* examinee-top-section--career */
  /* ==================================================== */

  .examinee-career-model__heading {
    padding: 64px 24px 0 24px;
    color: #fff;
    font-size: 72px;
    font-weight: 600;
    line-height: 72px;
  }

  /* /SPH/include/parts/common/careermodel.twig */
  .career-model__inner {
    padding: 64px 24px;
  }

  /* ==================================================== */
  /* Interview rail（横並びレール） */
  /* ==================================================== */

  /* 動くレール（トラック） */
  .examinee-top-section--interview .voice-box {
    gap: 12px
  }

  .examinee-top-section--interview .interview-cta-button {
    width: 90%;
  }

  /* ==================================================== */
  /* Image Links */
  /* ==================================================== */

  .examinee-top-section--imglinks .imglinks-bottom {
    padding: 64px 12px 40px 12px;
  }

  .examinee-top-section--imglinks .imglinks-card {
    border-radius: 40px;
  }

  /* ==================================================== */
  /* News */
  /* ==================================================== */

  .examinee-top-section--news .examinee-top-heading {
    font-size: 72px;
    margin: 0;
  }

  .examinee-top-section--news .examinee-news__tabs {
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px !important;
    /*
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 24px;
*/
  }

  .examinee-top-section--news .examinee-news__tab {
    white-space: nowrap;
    padding-bottom: 10px;
  }

  .examinee-top-section--news .examinee-news__more {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  /* ==================================================== */
  /* 在校生の研究紹介 (examinee-student-research) */
  /* ==================================================== */

  .examinee-student-research .student-research-card {
    max-width: 278px;
    transform: translateX(-50px) translatey(-60px);
  }

  .examinee-student-research .student-research-image {
    padding-left: 50px;
  }
}

@media (max-width: 480px) {
  /* ==================================================== */
  /* 在校生の研究紹介 (examinee-student-research) */
  /* ==================================================== */

  .examinee-student-research .student-research-card {
    transform: translateX(-5px) translatey(-60px);
  }

  /* ==================================================== */
  /* News */
  /* ==================================================== */

  .examinee-top-section--news .examinee-news__tab {
    padding: 4px 10px;
  }

  .examinee-top-section--news .examinee-news__tab::after {
    width: 80px;
  }
}

@media print {
  .examinee-top-hero-cards {
    display: flex;
  }

  .examinee-top {
    margin-top: 160px;
  }

  .examinee-education .education-main-cards {
    margin-top: 200px;
  }

  .examinee-top-section--career {
    margin-top: 400px;
  }

  .page-inner3 {
    margin-top: 100px;
  }
}
