/* =====================================================
   医学科LP・国際交流LP 誘導導線ボタン
   追加日: 2025-04
======================================================== */

/* --- メガメニュー内 サブテキスト --- */
.l-nav-child__list-sub {
  font-size: 1.1rem;
  line-height: 1.4;
}

/* --- 関連リンク内 サブテキスト --- */
.c-links02-btns__sub {
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin-top: 4px;
}

/* --- template-exam 内 LP ボタン（入試情報ページ） --- */
.p-exam-lp-btns {
  padding: 15px 0 60px;
  width: 100%;
}
.p-exam-lp-btns__list {
  display: flex;
  gap: 20px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.p-exam-lp-btns__item {
  width: 100%;
  max-width: 320px;
}
.p-exam-lp-btns__link {
  align-items: center;
  background-color: #fff;
  border: 2px solid #3752bd;
  border-radius: 5px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 100px;
  padding: 20px 24px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.p-exam-lp-btns__link:hover {
  background-color: #3752bd;
}
.p-exam-lp-btns__link:hover .p-exam-lp-btns__sub,
.p-exam-lp-btns__link:hover .p-exam-lp-btns__head {
  color: #fff;
}
.p-exam-lp-btns__sub {
  color: #333;
  font-size: 1.3rem;
}
.p-exam-lp-btns__head {
  color: #333;
  font-size: 1.8rem;
  font-weight: 700;
}

/* --- /med/ 4つの特徴セクションの下余白を縮小 --- */
#feature .department-feature__inner {
  padding-bottom: 24px;
}

/* --- /med/ ページ内 LP バナー --- */
.c-lp-banner {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 800px;
  padding: 15px 20px 50px;
}
.c-lp-banner__img-link {
  border: 5px solid #3752BD;
  border-radius: 5px;
  display: block;
  overflow: hidden;
}
.c-lp-banner__img-link img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.c-lp-banner__img-link:hover img {
  transform: scale(1.05);
}

/* --- /about/ ページ内 LP インラインボタン --- */
.c-lp-inline-btn {
  margin: 30px auto;
  max-width: 600px;
  text-align: center;
}
.c-lp-inline-btn__link {
  align-items: center;
  background-color: #fff;
  border: 2px solid #3752bd;
  border-radius: 5px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  padding: 20px 24px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.c-lp-inline-btn__link:hover {
  background-color: #3752bd;
}
.c-lp-inline-btn__link:hover .c-lp-inline-btn__sub,
.c-lp-inline-btn__link:hover .c-lp-inline-btn__head {
  color: #fff;
}
.c-lp-inline-btn__sub {
  color: #333;
  font-size: 1.2rem;
}
.c-lp-inline-btn__head {
  color: #333;
  font-size: 1.8rem;
  font-weight: 700;
}
.c-lp-inline-btn--img {
  margin: 20px auto;
}
.c-lp-inline-btn__img-link {
  display: block;
}
.c-lp-inline-btn__img-link img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.3s;
}
.c-lp-inline-btn__img-link:hover img {
  opacity: 0.7;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 834px) {
  .p-exam-lp-btns__list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .p-exam-lp-btns__item {
    max-width: 100%;
  }
}
