@charset "UTF-8";
/*
    Theme Name: seiryo
*/
/*------------------------------------*\
        COMMON
\*------------------------------------*/

html,
body {
  font-family: hiragino-kaku-gothic-pron, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Hiragino Sans, -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif, "davis";
  color: #595757;
  /* height: 100%; */
  /* overscroll-behavior: none; */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

:root {
  --font_en: "Roboto", sans-serif;
  --font_ja: "hiragino-kaku-gothic-pron", sans-serif;;
  --color_blue: #003990;
  --color_red: #E5565A;
  --color_yellow: #FFE262;
}

.link_range {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
}

img {
  width: 100%;
  height: auto;
  /* vertical-align:top; */
}

.hidden {
  display: none;
}

.c-tablet {
  display: block;
}
.c-tablet__block {
  display: none;
}

.c-sp {
  display: block;
}
.c-sp__block {
  display: none;
}

@media only screen and (max-width: 1280px) {
  .c-small-pc {
    display: none;
  }
  .c-small-pc__block {
    display: block;
  }
}
@media only screen and (max-width: 768px) {
  .c-tablet {
    display: none;
  }
  .c-tablet__block {
    display: block;
  }
}
@media only screen and (max-width: 420px) {
  .c-sp {
    display: none;
  }
  .c-sp__block {
    display: block;
  }
  .c-small-pc__block {
    display: none;
  }
}
.c-loop {
  display: flex;
}
@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
.c-loop__text {
  flex: 0 0 auto;
  box-sizing: border-box;
  white-space: nowrap;
  font-family: var(--font_marquee);
  color: #fff;
}
.c-loop__text:nth-child(odd) {
  animation: loop 70s -35s linear infinite;
}
.c-loop__text:nth-child(even) {
  animation: loop2 70s linear infinite;
}
.c-loop__year {
  position: relative;
  bottom: 11px;
}
.c-loop__image__wrap {
  display: flex;
  animation: loop-list 50s linear infinite;
}
@keyframes loop-list {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.c-loop__image {
  width: 33.33%;
  height: auto;
  min-height: 220px;
  max-height: 340px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .c-loop__image {
    min-height: 150px;
  }
}
@media screen and (max-width: 420px) {
  .c-loop__image {
    min-height: 100px;
  }
}

@keyframes draw_line {
  0%, 10%, 100%, 90% {
    transform: translateX(0);
  }
  25%, 85% {
    opacity: 1;
  }
  40%, 50% {
    transform: translateX(100%);
    opacity: 0;
  }
  51%, 60% {
    transform: translateX(-100%);
    opacity: 0;
  }
}


.expand {
  animation: expand 0.8s ease;
}


/* @media screen and (max-width: 768px) {
  .expand {
    height: 100%; 
  }
} */


/* =========================================
   1. アニメーションの定義（レシピ）
   ========================================= */

/* PC用レシピ：横（width）が伸び縮みする */
@keyframes expand {
  0% { width: 50%; }
  100% { width: 100%; }
}
@keyframes non-expand {
  0% { width: 50%; }
  100% { width: 0%; }
}

/* スマホ用レシピ：縦（height）が伸び縮みする */
@keyframes expand_mobile {
  0% { height: 50%; }
  100% { height: 100%; }
}
@keyframes non-expand_mobile {
  0% { height: 50%; opacity: 1; }
  100% { height: 0%; opacity: 0; }
}

/* ーーーーーーーーー */
.p-top-kv__university__wrap.expanded, 
.p-top-kv__women__wrap.expanded {
  /* animation: expand 1s ease; */
  animation: expand 0.8s ease-in-out forwards;
  width: 100%;
  height: 100%;
}
.p-top-kv__university__wrap.expanded .p-top-kv__university__img,
.p-top-kv__university__wrap.expanded .p-top-kv__women__img, 
.p-top-kv__university__wrap.expanded .p-top-kv__women__img-sp, 
.p-top-kv__women__wrap.expanded .p-top-kv__university__img,
.p-top-kv__women__wrap.expanded .p-top-kv__women__img, 
.p-top-kv__women__wrap.expanded .p-top-kv__women__img-sp {
  filter: brightness(1);
  transform: translateX(-50%) scale(1.1);
}
@media screen and (max-width: 768px) {
  .p-top-kv__university__wrap.expanded, 
  .p-top-kv__women__wrap.expanded {
    height: 100%;
    width: 100%;
    animation-name: expand_mobile;
    animation: expand_mobile 0.8s ease-in-out forwards;
  }
}
.p-top-kv__university__wrap.expanded:hover .p-top-kv__university__img,
.p-top-kv__university__wrap.expanded:hover .p-top-kv__women__img, 
.p-top-kv__university__wrap.expanded:hover .p-top-kv__women__img-sp, 
.p-top-kv__women__wrap.expanded:hover .p-top-kv__university__img,
.p-top-kv__women__wrap.expanded:hover .p-top-kv__women__img,
.p-top-kv__women__wrap.expanded:hover .p-top-kv__women__img-sp {
  filter: brightness(1);
}
.p-top-kv__university__wrap .p-top-kv__title {
  color: #FFE262;
}
.p-top-kv__women__wrap .p-top-kv__title {
  color: #FFE572;
}
.p-top-kv__university__wrap.expanded .p-top-kv__title {
  opacity: 0;
  color: var(--color_blue);
}
.p-top-kv__university__wrap.expanded .p-top-kv__arrow-box{
  opacity: 0;
  color: var(--color_blue);
}

.p-top-kv__women__wrap.expanded .p-top-kv__title {
  opacity: 0;
  color: var(--color_red);
}
.p-top-kv__women__wrap.expanded .p-top-kv__arrow-box-woman{
  opacity: 0;
  color: var(--color_red);
}


@keyframes non-expand {
  0% {
    width: 50%;
  }
  100% {
    width: 0%;
  }
}
@keyframes non-expand_mobile {
  0% {
    height: 50%;
  }
  100% {
    height: 0%;
  }
}
.p-top-kv__university__wrap.non-expanded, 
.p-top-kv__women__wrap.non-expanded {
  /* animation: non-expand 1s ease; */
  animation: non-expand 0.8s ease-in-out forwards;
  width: 0%;
}
@media screen and (max-width: 768px) {
  .p-top-kv__university__wrap.non-expanded, 
  .p-top-kv__women__wrap.non-expanded {
    /* animation-name: non-expand_mobile; */
    animation: non-expand_mobile 0.8s ease-in-out forwards;
    width: 100%;
    height: 0%;
  }
}


/* ーーーーーーーーー */

/* .university_women {
  margin-top: -2px;
} */

/*------------------------------------*\
        共通
\*------------------------------------*/
/* inview用 */
/* .inview,
.inview2 {
  transition: all 800ms ease-in-out;
  opacity: 0;
}

.inview_up,
.inview_up2,
.inview_up3,
.inview_up4 {
  transition: all 500ms ease-in-out;
  opacity: 0;
  transform: translate(0, 10px);
}
.inview_up.is-animated,
.inview_up2.is-animated,
.inview_up3.is-animated,
.inview_up4.is-animated {
  opacity: 1;
  transform: translate(0, 0);
}


.inview_right,
.inview_right2,
.inview_right3 {
  transition: all 500ms ease-in-out;
  opacity: 0;
  transform: translate(30px, 0);
}

.inview_left,
.inview_left2,
.inview_left3 {
  transition: all 500ms ease-in-out;
  opacity: 0;
  transform: translate(-30px, 0);
}

.inview_action {
  opacity: 1;
}

.inview_up_action,
.inview_right_action,
.inview_left_action {
  opacity: 1;
  transform: translate(0, 0);
} */

.js_anime_svg path {
  display: inline-block;
  opacity: 0;
  transform: translate3d(5em, 3em, 0);
}

@media only screen and (max-width: 768px) {
  .js_anime_svg path {
    transform: translate3d(5em, 1em, 0);
  }
}
.js_anime_svg.js_animated path {
  opacity: 1;
  transform: translate3d(0, 0.11em, 0);
  transition: opacity 350ms, transform 550ms cubic-bezier(0.2, 2.06, 0.5, 0.79);
}

.js_anime_svg.js_animated path:nth-of-type(1) {
  transition-delay: 393ms;
}

.js_anime_svg.js_animated path:nth-of-type(2) {
  transition-delay: 479ms;
}

.js_anime_svg.js_animated path:nth-of-type(3) {
  transition-delay: 522ms;
}

.js_anime_svg.js_animated path:nth-of-type(4) {
  transition-delay: 565ms;
}

.js_anime_svg.js_animated path:nth-of-type(5) {
  transition-delay: 608ms;
}

.js_anime_svg.js_animated path:nth-of-type(6) {
  transition-delay: 651ms;
}

.js_anime_svg.js_animated path:nth-of-type(7) {
  transition-delay: 694ms;
}

.js_anime_svg.js_animated path:nth-of-type(8) {
  transition-delay: 737ms;
}

.js_anime_svg.js_animated path:nth-of-type(9) {
  transition-delay: 780ms;
}

.js_anime_svg.js_animated path:nth-of-type(10) {
  transition-delay: 823ms;
}

.js_anime_svg.js_animated path:nth-of-type(11) {
  transition-delay: 866ms;
}

.js_anime_svg.js_animated path:nth-of-type(12) {
  transition-delay: 909ms;
}

.js_anime_svg.js_animated path:nth-of-type(13) {
  transition-delay: 995ms;
}

.js_anime_svg.js_animated path:nth-of-type(14) {
  transition-delay: 1081ms;
}

/*------------------------------------*\
    header
\*------------------------------------*/
.l-header_logo_wrap {
  position: fixed;
  top: 3%;
  left: 2%;
  z-index: 10;
  transition: all 500ms ease-in-out;
}

.l-header_logo {
  width: 10vw;
  max-width: 120px;
  min-width: 84px;
}

@media only screen and (max-width: 768px) {
  .l-header_logo_wrap {
    top: 20px;
    left: 4%;
  }
  .l-header_logo {
    width: 84px;
    min-width: auto;
  }
}
@media (max-width: 320px) {
  .l-header_logo {
    width: 64px;
    min-width: auto;
  }
}
/*------------------------------------*\
    header (navigation button)
\*------------------------------------*/
.l-header__title {
  position: fixed;
  top: calc(4% + 8px);
  right: calc(4% + 100px);
  z-index: 10;
  width: 349px;
}
@media (max-width: 1440px) {
  .l-header__title {
    right: calc(2% + 100px);
  }
  .l-header__title img {
    width: 90%;
  }
}
@media (max-width: 1380px) {
  .l-header__title {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .l-header__title {
    width: 200px;
    top: 22px;
    right: calc(4% + 65px);
  }
}
@media screen and (max-width: 420px) {
  .l-header__title {
    display: none;
  }
}
/*------------------------------------*\
    header (navigation button)
\*------------------------------------*/
.l-header_nav_button_wrap {
  position: fixed;
  top: 4%;
  right: 4%;
  z-index: 931;
  cursor: pointer;
}

@media only screen and (max-width: 768px) {
  .l-header_nav_button_wrap {
    top: 10px;
    right: 4%;
  }
}
.l-header_nav_button_wrap.scroll_top {
  mix-blend-mode: normal;
}

.l-header_nav_button_inner {
  position: relative;
  width: 78px;
  height: 50px;
}

.l-header_nav_button_line {
  height: 2px;
  background-color: #fff;
  border: none;
  border-radius: 4px;
  width: 70px;
  font-size: 0;
  position: absolute;
  left: 4px;
  transition: all 500ms ease-in-out;
}

.l-header_nav_button_line.line_1 {
  top: 17px;
}

.l-header_nav_button_line.line_2 {
  top: 27px;
}

@media only screen and (max-width: 768px) {
  .l-header_nav_button_inner {
    width: 50px;
    height: 50px;
  }
  .l-header_nav_button_line {
    height: 2px;
    width: 40px;
    left: 5px;
  }
  .l-header_nav_button_line.line_1 {
    top: 19px;
  }
  .l-header_nav_button_line.line_2 {
    top: 25px;
  }
}
.l-header_nav_button_wrap.nav_open .l-header_nav_button_line.line_1 {
  width: 45px;
  top: 22px;
  left: 18px;
  /* transform: rotate(45deg); */
  transform: rotate(225deg);
  background-color: #000;
}

.l-header_nav_button_wrap.nav_open .l-header_nav_button_line.line_2 {
  width: 45px;
  top: 22px;
  left: 18px;
  /* transform: rotate(-45deg); */
  transform: rotate(135deg);
  background-color: #000;
}

@media only screen and (max-width: 768px) {
  .l-header_nav_button_wrap.nav_open .l-header_nav_button_line.line_1 {
    width: 40px;
    top: 20px;
    left: 5px;
  }
  .l-header_nav_button_wrap.nav_open .l-header_nav_button_line.line_2 {
    width: 40px;
    top: 20px;
    left: 5px;
  }
}
/*------------------------------------*\
    header (navigation)
\*------------------------------------*/
.l-header_background_wrap {
  display: block;
  width: 100vw;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 500ms ease-in-out;
  z-index: 928;
  display: none;
}

.l-header_background_wrap.nav_open {
  opacity: 0.3;
  visibility: visible;
}

.l-header_open_wrap {
  width: 0;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  background-color: rgba(255, 226, 98, 0.85);
  visibility: hidden;
  opacity: 0;
  transition: all 500ms ease-in-out;
  z-index: 930;
}

.l-header_open_wrap.nav_open {
  width: 800px;
  visibility: visible;
  opacity: 1;
}

@media only screen and (max-width: 768px) {
  .l-header_open_wrap.nav_open {
    width: 100%;
  }
}
.l-header_open_inner {
  width: 800px;
  height: calc(100% - 90px);
  position: fixed;
  top: 0;
  right: 0;
  overflow: hidden;
  padding-top: 90px;
}
@media (max-width: 1440px) {
  .l-header_open_inner {
    height: calc(100% - 30px);
    padding-top: 0;
}
}

@media only screen and (max-width: 768px) {
  .l-header_open_inner {
    padding-top: 55px;
    height: calc(100% - 55px);
    width: 100%;
  }
}
@media only screen and (max-width: 425px) {
  .l-header_open_inner {
    padding-top: 0;
    height: 100%;
    width: 100%;
  }
}
.l-header_open_scroll_wrap {
  width: 100%;
  height: 100%;
  overflow: auto;
  position: relative;
}

.l-header_open_logo_wrap {
  margin-top: 60px;
  margin-left: 110px;
}

.l-header_open_logo {
  width: 317px;
}

@media only screen and (max-width: 768px) {
  .l-header_open_logo_wrap {
    margin-top: 80px;
    margin-left: 0;
    text-align: center;
  }
  .l-header_open_logo {
    width: 260px;
    max-width: 90%;
  }
}

@media (max-width: 425px) {
      .l-header_open_logo_wrap {
        margin-top: 70px;
    }
}
.l-header_open_nav_wrap {
  margin-top: 70px;
  margin-left: 110px;
}

@media only screen and (max-width: 768px) {
  .l-header_open_nav_wrap {
    width: 260px;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 45px;
  }
}
@media only screen and (max-width: 425px) {
    .l-header_open_nav_wrap {
        margin-top: 30px;
    }
  }
.l-header_open_nav li {
  padding-bottom: 24px;
}

.l-header_open_nav li .l-header_open_nav_text {
  font-family: var(--font_ja);
  font-size: 20px;
  font-weight: 600;
  color: #595757;
  white-space: nowrap;
  position: relative;
  transition: all 300ms ease-in-out;
  cursor: pointer;
}

@media only screen and (max-width: 768px) {
  .l-header_open_nav li {
    padding-bottom: 19px;
  }
  .l-header_open_nav li .l-header_open_nav_text {
    font-size: 15px;
    line-height: 15px;
    white-space: normal;
  }
}
.l-header_open_nav li .l-header_open_nav_text:hover {
  opacity: 0.5;
  padding-left: 5px;
}

.l-header_open_university_nav {
  margin-top: 215px;
  padding-top: 3px;
}
@media (max-width: 1440px) {
  .l-header_open_university_nav {
    margin-top: 100px;
}
}

.l-header_open_university_nav ul {
  display: flex;
}

.l-header_open_university_nav li {
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
}

.l-header_open_university_nav li:first-child:before {
  content: "";
  width: 2px;
  height: calc(100% + 6px);
  background-color: #595757;
  position: absolute;
  top: -3px;
  left: 0;
}

.l-header_open_university_nav li::after {
  content: "";
  width: 2px;
  height: calc(100% + 6px);
  background-color: #595757;
  position: absolute;
  top: -3px;
  right: 0;
}

.l-header_open_university_nav li .l-header_open_university_nav_text {
  font-family: var(--fontjp);
  font-size: 16px;
  font-weight: 600;
  color: #595757;
  white-space: nowrap;
  position: relative;
  transition: all 300ms ease-in-out;
}

@media only screen and (max-width: 768px) {
  .l-header_open_university_nav li .l-header_open_university_nav_text {
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }
}
.l-header_open_university_nav li .l-header_open_university_nav_text::after {
  content: "";
  width: 0;
  height: 1px;
  background-color: #000;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: all 300ms ease-in-out;
}

.l-header_open_university_nav li .l-header_open_university_nav_text:hover {
  opacity: 0.7;
}

.l-header_open_university_nav li .l-header_open_university_nav_text:hover::after {
  width: 100%;
}

.l-header_open_sns_wrap {
  margin-top: 36px;
  margin-left: 110px;
  display: flex;
  align-items: center; 
  justify-content: flex-start; 
  box-sizing: border-box;
}
.p-top-university-nav__sns-list {
  display: flex;
  gap: 16px;
}
.p-top-university-nav__sns-list li {
  width: 26px;
}
.p-top-university-nav__sns-list li:last-child {
  width: 22px;
}


@media only screen and (max-width: 768px) {
  .l-header_open_sns_wrap {
    display: block;
    width: 260px;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
    margin-top: 45px;
    position: relative;
    left: -1px;
  }
  .l-header__sns__text {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  .l-header_open_icon_instagram {
    width: 22px;
  }
}
@media only screen and (max-width: 425px) {
    .l-header_open_sns_wrap {
        margin-top: 30px;

    }
}

/*------------------------------------*\
    header (arrow)
\*------------------------------------*/
.l-header_side_arrow_wrap {
  position: fixed;
  bottom: 20px;
  right: 35px;
  z-index: 940;
  transition: all 300ms ease-in-out;
  opacity: 0;
  visibility: hidden;
}

@media only screen and (max-width: 768px) {
  .l-header_side_arrow_wrap {
    bottom: 5px;
    right: 5%;
  }
}
.l-header_side_arrow_wrap.scroll_top {
  opacity: 0;
  visibility: hidden;
}

.l-header_side_arrow_wrap.visible {
  opacity: 1;
  visibility: visible;
}

.l-header_side_arrow_wrap.nav_open {
  opacity: 0;
  visibility: hidden;
}

.l-header_side_arrow_icon {
  width: 54px;
  transition: all 300ms ease-in-out;
  position: relative;
  top: 0;
  fill: #595757;
}


@media only screen and (max-width: 768px) {
  .l-header_side_arrow_icon {
    width: 30px;
  }
}
.l-header_side_arrow_icon:hover {
  opacity: 0.7;
  top: -5px;
}

.l-header_side_arrow_icon .cls-1 {
  fill: none;
  stroke: #595757;
  stroke-miterlimit: 10;
  transition: all 300ms ease-in-out;
}

.l-header_side_arrow_icon.reversal .cls-1 {
  fill: #FFF;
}

/*------------------------------------*\
    top kv
\*------------------------------------*/

/* フェードインアニメーションの定義 */
@keyframes kvFadeIn {
  0% {
    opacity: 0;
    margin-top: 20px;
    /* transform: translateY(20px);  */
  }
  100% {
    opacity: 1;
    margin-top: 20;
    /* transform: translateY(0); */
  }
}
/* --- 1番目：男の子側（左） --- */
.p-top-kv__university__wrap {
  opacity: 0; /* 最初は隠す */
  
  /* アニメーション設定：名前 時間 イージング 遅延時間 完了後の状態 */
  animation: kvFadeIn 1.0s ease-out 0s forwards;
}

/* --- 2番目：女の子側（右） --- */
.p-top-kv__women__wrap {
  opacity: 0; /* 最初は隠す */
  
  /* 男の子の0.4秒後に開始 */
  animation: kvFadeIn 1.0s ease-out 0.4s forwards;
}

/* --- 3番目：真ん中の文字（SEIRYO OPEN CAMPUS...） --- */
.p-top-kv__head {
  opacity: 0; /* 最初は隠す */
  /* 女の子のさらに0.4秒後（合計0.8秒後）に開始 */
  animation: kvFadeIn 1.0s ease-out 0.8s forwards;
}
.p-top-kv__inner {
  display: flex;
  height: 100dvh;
  position: relative;
  /* overflow: hidden; */
}
.p-top-kv__university__wrap, .p-top-kv__women__wrap {
  position: relative;
  width: 50%;
  height: 100%;
  margin: 0 auto;
  cursor: pointer;
  mix-blend-mode: multiply;
  transition: 0.8s ease-in-out
  /* transition: 0.5s ease; */
  /* overflow: hidden; */
}
.p-top-kv__university__wrap:hover .p-top-kv__women__img,
.p-top-kv__university__wrap:hover .p-top-kv__university__img, 
.p-top-kv__university__wrap:hover .p-top-kv__women__img-sp,
.p-top-kv__women__wrap:hover .p-top-kv__women__img,
.p-top-kv__women__wrap:hover .p-top-kv__university__img,
.p-top-kv__women__wrap:hover .p-top-kv__women__img-sp {
  filter: brightness(0.7);
}
.p-top-kv__university__wrap:hover::after, 
.p-top-kv__women__wrap:hover::after {
  opacity: 0;
}
.p-top-kv__university__wrap:hover .p-top-kv__title, .p-top-kv__university__wrap:hover .p-top-kv__title__ja, .p-top-kv__women__wrap:hover .p-top-kv__title {
  color: #ffffff;
}
/* 大学側 hover時：矢印＋テキストを白に */
.p-top-kv__university__wrap:hover .p-top-kv__arrow-box p {
  color: #fff;
  transition: 0.5s ease;

}
.p-top-kv__university__wrap:hover .p-top-kv__arrow-box img {
  filter: brightness(0) invert(1);
  /* transition: 0.5s ease; */
}
/* 短大側 hover時：矢印＋テキストを白に */
.p-top-kv__women__wrap:hover .p-top-kv__arrow-box-woman p {
  color: #fff;
  transition: 0.5s ease;
}
.p-top-kv__women__wrap:hover .p-top-kv__arrow-box-woman img {
  filter: brightness(0) invert(1);
}

.p-top-kv__university__wrap {
  overflow: hidden;
  background-color: var(--color_blue);
}
.p-top-kv__university__wrap .p-top-kv__university__img {
  bottom: 0%;
  height: 100%;
}
.p-top-kv__women__wrap {
  overflow: hidden;
  background-color: var(--color_red);
}
.p-top-kv__women__wrap .p-top-kv__women__img, 
.p-top-kv__women__wrap .p-top-kv__women__img-sp {
  bottom: 0%;
  height: 100%;
}
.p-top-kv__university__img, 
.p-top-kv__women__img {
  display: block;
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  pointer-events: none;
  /* transition: 0.5s ease; */
  transition: 0.8s ease-in-out
}
.p-top-kv__women__img-sp {
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  pointer-events: none;
  /* transition: 0.5s ease; */
  transition: 0.8s ease-in-out
}

.p-top-kv__women__img {
  left: 50%;
}
.p-top-kv__women__img-sp {
  display: none;
}

/* 枠と、画像の両方に追加するのがベスト */
.p-top-kv__university__wrap, 
.p-top-kv__women__wrap,
.p-top-kv__university__img,
.p-top-kv__women__img,
.p-top-kv__women__img-sp {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* transform: translateZ(0);  */
}

/* 大学側・短大側の枠 */
.p-top-kv__university__wrap, 
.p-top-kv__women__wrap {
  will-change: width, height;
}

/* 画像（PC・スマホ両方） */
.p-top-kv__university__img, 
.p-top-kv__women__img,
.p-top-kv__women__img-sp { /* ← スマホ画像も忘れずに */
  will-change: transform;
}

/* --- 共通：新しい箱のスタイル --- */
.p-top-kv__bottom-box {
  position: absolute;
  bottom: 40px; /* 下から40pxの位置で固定（画面高さが変わっても維持される） */
  z-index: 10;
  display: flex;
  flex-direction: column; /* 縦並びにする */
  gap: 3px; /* 文字とボタンの間隔を一定に保つ */
}

/* --- 大学（左）の設定 --- */
.p-top-kv__bottom-box.--left {
  left: 40px; /* 左から40px */
  align-items: flex-start; /* 左揃え */
}

/* --- 短大（右）の設定 --- */
.p-top-kv__bottom-box.--right {
  right: 40px; /* 右から40px */
  align-items: flex-end; /* 右揃え */
  text-align: right;
}

/* --- 既存スタイルの上書き・リセット（重要！） --- */
/* 元々バラバラに指定していた absolute を無効化して、箱の並び順に従わせます */

/* タイトル英語 */
.p-top-kv__title {
  position: static; /* absolute解除 */
  transform: none;  /* 位置調整解除 */
  padding-bottom: 0;
  margin-bottom: 0;
  color: #FFE572;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  font-family: 'Roboto';
  font-weight: 800;
  white-space: nowrap;
  transition: opacity 0.4s ease;
  overflow: hidden;
  padding-bottom: 7px;
  z-index: 5;
}

/* タイトル日本語 */
.uni_name-ja, 
.uni_name-ja-woman {
  position: static; /* absolute解除 */
  transform: none;
  font-size: 16px;
  margin-top: -5px; /* 英語との距離を微調整 */
}

/* 矢印ボックス */
.p-top-kv__arrow-box, 
.p-top-kv__arrow-box-woman {
  position: static; /* absolute解除 */
  transform: none;
  margin-top: 5px; /* 上との距離 */
  display: flex;
}

/* 短大側の調整 */
.p-top-kv__title-women {
  position: static;
  transform: none;
  right: auto;
  bottom: auto;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  font-family: 'Roboto';
  font-weight: 800;
  white-space: nowrap;
  transition: opacity 0.4s ease;
  overflow: hidden;
  padding-bottom: 7px;
  z-index: 5;
  text-align: right;
}
.p-top-kv__women-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 右揃え */
}

/* 大学 */
.p-top-kv__title-arrow {
  width: 40px;
  height: auto;
}
.p-top-kv__arrow-box p {
  color: #FFE572;
  font-size: 20px;
  font-weight: 600;
  line-height: 4rem;
  margin-left: 10px;
}


/* 短期大学 */
.p-top-kv__title-arrow-woman {
  width: 40px;
  height: auto;
}
.p-top-kv__arrow-box-woman p {
  color: #FFE572;
  font-size: 20px;
  font-weight: 600;
  line-height: 4rem;
  margin-right: 10px;
}



/* FV メインタイトル */
.p-top-kv__head {
  position: absolute;
  inset: 0; /* 上下左右0px = 親(inner)いっぱいに広がる */
  margin: 0;
  pointer-events: none; /* 下にあるリンクなどを邪魔しない */
  z-index: 10;
}

/* 文字の共通スタイル */
.p-top-kv__head-line {
  position: absolute;
  display: block;
  color: #fff;
  font-family: var(--font_ja);
  font-weight: bold;
  font-size: 7.5vw;
  letter-spacing: 0.04em; /* 4% の文字間 */
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%); /* 中央配置のための起点調整 */
}

/* --- 各要素の個別配置 --- */

/* SEIRYO: 上端から一定の余白 */
.--seiryo {
  top: 2%;
  left: 50.3%;
}

/* 2026: 下端からSEIRYOと同じ余白 */
.--year {
  bottom: 2%;
  left: 50%;
  font-size: 8vw;
}

/* OPEN: 画面中央より少し上 */
.--open {
  top: 43.5%;
  left: 38%;
}

/* CAMPUS: OPENのすぐ下 */
.--campus {
  top: 58%;
  left: 55.8%;
}

/* 手書き文字（SVG） */
.p-top-kv__head-handwriting {
  position: absolute;
  z-index: 15;
  top: 40%;
  left: 50%;
  width: 38vw;
  max-width: 530px;
  transform: translate(-50%, -50%);
}

.p-top-kv__handwriting-img {
  width: 100%;
  height: auto;
}


@media (max-width: 1440px) {
  .p-top-kv__title {
    font-size: 14px;
  }
  .p-top-kv__title-women {
    font-size: 14px;
    /* bottom: 4%; */
  }
  
}

@media (max-width: 1080px) {
  .--campus {
    top: 53.5%;
  }
  .p-top-kv__title,
  .p-top-kv__title-women {
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .p-top-kv__arrow-box p,
  .p-top-kv__arrow-box-woman p {
    font-size: 16px;
  }
  /* .p-top-kv__title-women {
      left: 8%;
      bottom: 5.5%;
  } */
  .--open {
    top: 45%;
  }
  .--campus {
    top: 55%; 
    left: 55.8%; 
  }
}

@media (max-width: 840px) {
  .p-top-kv__head-line {
    font-size: 12.5vw;
  }
  .uni_name-ja-woman {
    bottom: 8.5%;
  }
}
@media (max-width: 810px) {
      .--open {
        top: 40.5%;
    }
        .--campus {
        top: 50.5%;
    }
}

@media screen and (max-width: 768px) {
  .p-top-kv__inner {
    flex-direction: column;
    /* height: 100vh; */
  }
  .p-top-kv__university__wrap, .p-top-kv__women__wrap {
    width: 100%;
    height: 50%;
    -webkit-tap-highlight-color: transparent;
  }
/* トップページにあるPC画像だけ消す */
  .page-fv .p-top-kv__women__img {
    display: none;
  }
  .p-top-kv__women__img-sp {
  display: block;

}
.p-top-kv__university__img, 
.p-top-kv__women__img {
  height: 100dvh;
}
  
.uni_name-ja {
  left: 9%;
}
.p-top-kv__title-arrow,
.p-top-kv__title-arrow-woman {
  width: 30px;
  height: auto;
}
.p-top-kv__arrow-box p {
  color: #FFE572;
  font-size: 14px;
  line-height: 4rem;
  margin-left: 10px;
}
  .uni_name-ja-woman {
    bottom: -67.5%;
  }

.p-top-kv__arrow-box-woman p {
  font-size: 14px;
}
  .p-top-kv__subtitle {
    bottom: 53vh;
    width: 40vw;
  }

}

@media (max-width: 768px) {
  .p-top-kv__bottom-box.--left {
    left: 4%;
    bottom: 38%;
}
  .p-top-kv__bottom-box.--right {
    right: 4%;
    bottom: 30%;
    /* top: 20px; */
}
  .sp-none {
    display: none;
  }
}

@media (max-width: 600px) {
  .p-top-kv__title, .p-top-kv__title-women {
    display: none;
  }
  .p-top-kv__university__wrap,
  .p-top-kv__women__wrap {
    height: 50dvh;
  }
  .p-top-kv__bottom-box.--left,
  .p-top-kv__bottom-box.--right {
    position: relative;   /* ←基準を作る */
    height: 100%;         /* ←women__wrap(=50dvh)いっぱい */
    top: auto;
    bottom: auto;
    transform: none;
  }
    .p-top-kv__arrow-box {
    position: absolute;
    top: 50%;
    transform: translateY(-56%);
  }
    .p-top-kv__arrow-box-woman {
    position: absolute;
    top: 50%;
    transform: translateY(-56%);
  }

}

@media (max-width: 440px) {
  .l-header_open_university_nav {
    margin-top: 47px;
    padding-top: 3px;
}
  .p-top-kv__bottom-box {
    gap: 3px;
  }
  /* .p-top-kv__arrow-box,
  .p-top-kv__arrow-box-woman {
    margin-top: -5px;
} */
    .p-top-kv__bottom-box.--right {
    right: 20px;
    /* bottom: 0; */
    /* top: 16px; */
}
  .p-top-kv__title,
  .p-top-kv__title-women {
    line-height: 14px;
    padding-bottom: 5px;
    }
  .uni_name-ja,
  .uni_name-ja-woman {
    font-size: 14px;
    line-height: 16px;
  }
  .p-top-kv__arrow-box p {
    font-size: 16px;
    line-height: 4rem;
    margin-left: 5px;
    font-weight: 600;
  }

.p-top-kv__title-arrow-woman {
  width: 30px;
  height: auto;
}
.p-top-kv__arrow-box-woman p {
  font-size: 16px;
  line-height: 4rem;
  font-weight: 600;
}
}


@media screen and (max-width: 768px) {
  
  /* --- 1. 大枠（h1）を画面ど真ん中に固定 --- */
  .p-top-kv__head {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%); /* 完全な上下左右中央配置 */
    width: 100%;
    height: auto;
    margin: 0;
    padding-left: 18%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column; /* 縦積み */
    justify-content: center; /* 縦方向の中央 */
    align-items: flex-start; /* 横方向の左揃え */
    box-sizing: border-box;
  }
  .p-top-kv__head-line .--campus {
    letter-spacing: 0;
  }

  /* --- 1. 手書き文字（順序を入れ替えて一番上にする） --- */
  .p-top-kv__head-handwriting {
    position: relative; /* absolute解除！ */
    top: auto;
    left: auto;
    transform: none;
    order: 1; 
    width: 60vw;
    max-width: none;
    margin: 0;
    margin-bottom: -8px;
    margin-left: 10px;
  }
  /* --- 2. SEIRYO（2番目にする） --- */
  .p-top-kv__head-line.--seiryo {
    position: relative;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    order: 2; 
    /* font-size: 13vw; */
    line-height: 1;
  }

  /* --- 2. 子要素（テキストたち）の絶対配置をリセット --- */
  /* これでFlexの並び順に従うようになります */
  .p-top-kv__head-line {
    position: relative;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    right: auto !important;
    transform: none !important;
    width: auto;
    font-size: 13vw;
    line-height: 1;
    text-align: left;
  }

  /* --- 3. OPEN / CAMPUS のグループ --- */
  .p-top-kv__head-group {
    order: 3;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px; /* OPENとCAMPUSの間隔 */
  }
  
  /* --- 5. 不要な要素を消す --- */
  .--year {
    display: none;
  }

  /* --- 6. ページごとの位置ズレを無効化（重要！） --- */
  /* 遷移後も同じ位置にしたいので、遷移後のクラス指定があれば無効化または同じスタイルを適用 */
  .page-daigaku .p-top-kv__head,
  .page-seitan .p-top-kv__head {
    margin: 0; /* 余計なマージンを消す */
    top: 50%;  /* 位置を維持 */
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* 個別の位置調整（.--seiryoなど）も全部リセット */
  .page-daigaku .--seiryo, .page-seitan .--seiryo,
  .page-daigaku .--open, .page-seitan .--open,
  .page-daigaku .--campus, .page-seitan .--campus {
    top: auto;
    left: auto;
    bottom: auto;
  }
}

@media (max-width: 440px) {
  .l-header_logo {
    width: 75px;
    min-width: auto;
  }
  .p-top-kv__head {
    padding-left: 12%;
  }
  .p-top-kv__head-line {
    font-size: 15.5vw;
  }
  .p-top-kv__bottom-box.--left {
        left: 4%;
        /* bottom: 43%; */
    }
  /* .p-top-kv__bottom-box.--right {
    bottom: 43%;
  } */
  .p-top-kv__head-handwriting {
    width: 76vw;
    margin-bottom: -5px;
    margin-left: 5px;
  }

}

@media (max-width: 390px) {
  /* .p-top-kv__bottom-box.--left {
    bottom: 40.5%;
  }
  .p-top-kv__bottom-box.--right {
    bottom: 40.5%;
  } */
  .p-top-kv__head {
    padding-left: 17%;
  }
  .p-top-kv__head-line {
    font-size: 13.5vw;
  }
  .p-top-kv__head-line.--seiryo {
    margin-bottom: -8px;
  }
    .p-top-kv__head-handwriting {
        width: 67vw;
    }
    .p-top-kv__head-group {
        gap: 4px;
    }
}
@media (max-width: 375px) {
    .l-header_logo {
        width: 70px;
    }
    .p-top-kv__title-arrow, .p-top-kv__title-arrow-woman {
        width: 27px;
    }
  .p-top-kv__arrow-box p {
        font-size: 14px;
        margin-left: 3px;
    }
  .p-top-kv__arrow-box-woman p {
    font-size: 14px;
    margin-right: 3px;
  }
      .p-top-kv__head {
        padding-left: 19%;
    }
      .p-top-kv__head-line {
        font-size: 12.5vw;
    }
      .p-top-kv__head-handwriting {
        width: 61vw;
    }

}

/* ---------------------------------
各ページ遷移後のFV
------------------------------------ */
.p-top-kv__university__wrap-full,
.p-top-kv__women__wrap-full {
  width: 100%;
}

/*------------------------------------*\
    top university intro
\*------------------------------------*/
/* 初期状態 */
.js-fade {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示状態 */
.js-fade.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* FV下セクション専用のフェードイン設定 */
.js-university-content {
  opacity: 0;
  transform: translateY(20px); /* 少し下からふわっと */
  transition: opacity 1.0s ease, transform 1.0s ease; /* 少しゆっくりめに */
}

/* クラスがついたら表示 */
.js-university-content.is-show {
  opacity: 1;
  transform: translateY(0);
}


.p-top-university-intro {
  width: 100%;
  height: 100dvh;
  background: url(../img/univercity_top-back01.jpg) no-repeat  center/cover;
  background-position: 67% 100%;
  position: relative;
}
.p-top-university-intro_women {
  width: 100%;
  height: 100dvh;
  background: url(../img/juni_top-back01.jpg) no-repeat center/cover;
  background-position: 57% 100%;
  position: relative;
}

.p-top-university-intro__inner {
  height: 100vh;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

/* FV下Lineアニメーション */
/* 親セクション：基準位置とする */
.p-top-university-intro,
.p-top-university-intro_women {
  position: relative;
  width: 100%;
  overflow: hidden; /* はみ出した波を隠す */
  background-color: #6B9EFF; /* カンプの背景色に近い色（仮定） */
  padding: 100px 0; /* 余白調整 */
}

/* テキストなどのコンテンツ（波の上に表示させる） */
.p-top-university-intro__wrap,
.p-top-university-intro__wrap-red {
  position: relative;
  z-index: 2; /* 波より手前 */
  max-width: 1000px; /* 任意のコンテンツ幅 */
  margin: 0 auto;
  padding: 0 17px;
  color: #fff;
}

/* 波のアニメーションコンテナ */
.p-top-university-wave {
  position: absolute;
  top: 20%;
  left: -12%;
  /* transform: translate(-50%, -50%); */
  width: 120%; 
  min-width: 1400px; 
  height: auto;
  z-index: 1; /* 背景とテキストの間 */
  pointer-events: none; /* テキスト選択の邪魔をしないように */
}

.p-top-university-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* パスの初期設定 */
.p-top-university-wave path {
  /* JSで値をセットするまでは透明にしておく（チラつき防止） */
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  /* opacity: 0;  */
  transition: opacity 0.2s;
}

/* JSで長さ計算後に付与するクラス */
.p-top-university-wave path.is-ready {
  opacity: 1;
}

/* アニメーション発火時 */
.p-top-university-wave.is-active path {
  animation: drawLine 2.2s ease-out forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}



/* .p-top-university-intro__wrap {
  display: flex;
  justify-content: center;
  width: 90%;
  height: 100vh;
  margin: 0 auto;
  position: absolute;
  left: 4vw;
  z-index: 2;
}
.p-top-university-intro__wrap-red {
  display: flex;
  justify-content: center;
  width: 90%;
  height: 100vh;
  margin: 0 auto;
  position: absolute;
  left: 4vw;
  z-index: 2;
} */
.p-top-university-intro__wrap,
.p-top-university-intro__wrap-red {
  position: absolute;
  left: 4vw;
  top: 50%;
  transform: translateY(-50%);
  width: 90%;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}


/* .p-top-university-intro__left, .p-top-university-intro__left-red {
  margin-right: auto;
  position: relative;
} */
.p-top-university-intro__left,
.p-top-university-intro__left-red {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px; /* ← 基準の間隔 */
}
.p-top-university-intro__left {
  gap: 13px;
}


.p-top-university-intro__main,
.p-top-university-intro__main-red {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
}

.p-top-university-intro__sub,
.p-top-university-intro__sub-red {
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.15rem;
  font-weight: 700;
  color: #fff;
}

.p-top-university-intro__head,
.p-top-university-intro__head-red {
  font-size: clamp(40px, 5vw, 96px);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.p-top-university-intro__text,
.p-top-university-intro__text-red {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  color: #fff;
  /* max-width: 70%; */
  width: -moz-fit-content;
  width: fit-content;
  min-width: 70%;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2);
}
.sp-only {
  display: none;
}


.p-top-kv__icon__box, .p-top-kv__icon__box_red {
    position: absolute;
    bottom: 6vh;
    right: 5vw;
    z-index: 10;
  }
  .p-top-kv__icon__box > img {
    width: 100%;
  }
  .p-top-kv__icon__box_red > img {
    width: 100%;
  }

@media (min-width: 1921px) {
  .p-top-university-intro__main, 
  .p-top-university-intro__main-red {
    font-size: 48px;
    color: #fff;
    /* position: absolute; */
    font-weight: 600;
}
/* .p-top-university-intro__main {
    top: 27vh;
} */
.p-top-university-intro__sub,
.p-top-university-intro__sub-reds {
  font-size: 18px;
}
}


@media screen and (max-width: 1440px) {
  .p-top-university-intro {
    background-position: 67% 60%;
    
  }
  .p-top-university-intro_women {
    background-position: 57% 60%;
    
  }
  .p-top-university-intro, 
  .p-top-university-intro_women {
    height: auto;
    min-height: 100dvh;
    max-height: 100dvh;
    padding-top: clamp(80px, 8vh, 120px);
    padding-bottom: clamp(60px, 5vh, 100px);
  }

  .p-top-university-intro__main,
  .p-top-university-intro__main-red {
  font-size: 1.7vw;
}
  .p-top-university-intro__sub {
    font-size: 13px;
  }
  .p-top-university-intro__sub-red {
    font-size: 12px;
  }
  .p-top-university-intro__head,
.p-top-university-intro__head-red {
  font-size: clamp(40px, 4.8vw, 96px);
}
  .p-top-university-intro__text, .p-top-university-intro__text-red {
    font-size: 15px;
  }
  /* blue */
  .p-top-kv__icon__box, .p-top-kv__icon__box_red {
    right: 1vw;
  }
  .p-top-kv__icon__box > img {
    width: 70%;
  }
  /* red */
  .p-top-kv__icon__box_red > img {
    width: 70%;
  }
  .p-top-university.color_red .p-top-university-intro__inner {
    background-position: 88% 100%;
  }
}

@media screen and (max-width: 1280px) {

  .p-top-university-intro {
  background-position: 57% 100%;
}
  .p-top-university-intro__text,  .p-top-university-intro__text-red{
  font-size: 16px;
}
  .p-top-university-intro, 
  .p-top-university-intro_women {
    height: 100dvh;
    min-height: 0;
    max-height: none;
    /* padding-top: 0; */
    /* padding-bottom: 0; */
  }
.p-top-kv__icon__box, .p-top-kv__icon__box_red {
  bottom: 12vh;
}
.p-top-kv__icon__box > img {
  width: 65%;
}
  .p-top-kv__icon__box_red > img {
    width: 65%;
  }
}

@media (max-width: 1080px) {
  .p-top-university-intro__main-red {
    color: #fff;
}
}

@media screen and (max-width: 1024px) {

  .p-top-university-intro__left, .p-top-university-intro__left-red {
    width: 100%;
  }
      .p-top-university-intro__main {
        /* top: 23vh; */
        font-size: 27px;
    }
        .p-top-university-intro__main-red {
        font-size: 2.3vw;
        /* top: 19vh; */
    }

    .p-top-university-intro__sub-red {
      line-height: 1.25rem;

    }
  .p-top-university-intro__head {
    font-size: 6.5vw;
  }
  .p-top-university-intro__head-red {
    font-size: 6.5vw;
  }
  .p-top-university-intro__text, .p-top-university-intro__text-red {
    max-width: 774px;
    width: 90%;
    font-size: 1rem;
  }
  .p-top-kv__icon__box, .p-top-kv__icon__box_red {
    bottom: 7vw;
  }
}

@media screen and (max-width: 820px) {
  .p-top-university-wave {
      top: 26%;
      left: -37%;
  }
    .p-top-university-intro {
      background-position: 51% 100%;
    }

  .p-top-university-intro__sub, .p-top-university-intro__head, .p-top-university-intro__text {
    color: #fff;
  }

  .p-top-university-intro__head, .p-top-university-intro__head-red {
    font-size: 3.8rem;
  }
  .p-top-university-intro__head {
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2);
  }
  .p-top-university-intro__text, .p-top-university-intro__text-red {
    max-width: 774px;
    width: 90%;
    font-size: 1rem;
  }
  .c-sp-top {
    display: block;
  }
  .p-top-kv__icon__box, .p-top-kv__icon__box_red {
    display: none;
  }

  .p-top-university-intro__main-red {
    font-size: 3vw;
  }

}
  
@media screen and (max-width: 768px) {
  .p-top-university-intro {
    width: 100%;
    height: 100vh;
    background-position: 51% 100%;
  }
  .p-top-university-intro_women {
    width: 100%;
    height: 100vh;
    background-position: 50% 100%;
  }

  .p-top-university-intro__wrap, .p-top-university-intro__wrap-red {
    width: 100%;
    box-sizing: border-box;
  }

  .p-top-university-intro__head, .p-top-university-intro__head-red {
    font-size: 3.5rem;
  }
  .p-top-university-intro__text, .p-top-university-intro__text-red {
    font-size: 1rem;
  }
  .p-top-university.color_red .p-top-university-intro__inner {
    background-position: 90% 100%;
  }

}

@media (max-width: 600px) {
  .p-top-university-intro__wrap-red {
        left: 6vw;
  }
    .p-top-university-intro__main-red {
      font-size: 28px;
  }
    .p-top-university-intro__head, .p-top-university-intro__head-red {
      font-size: 3.5rem;
    }
    .c-sp {
    display: none;
  }
}

@media screen and (max-width: 440px) {
    .p-top-university-wave {
        top: 26%;
        left: -105%;
    }
    .p-top-university-intro__wrap {
      left: 6vw;
  }
    .p-top-university-intro {
      background-position: 50% 100%;
    }
    .p-top-university-intro__main {
      font-size: 25px;
      /* top: 13vh; */
    }
    .p-top-university-intro__main-red {
        font-size: 22px;
        /* top: 11.5vh; */
    }
    .p-top-university-intro__sub {
      /* top: 16vh; */
      font-size: 10px;
    }
    .p-top-university-intro__sub-red {
        /* top: 15vh; */
        font-size: 10px;
        line-height: 1rem;
    }
    .p-top-university-intro__head, .p-top-university-intro__head-red {
        /* padding-top: 19vh; */
        /* font-size: 3.9rem; */
        line-height: 1.2;
    }
    .sp-only {
  display: block;
}
        .p-top-university-intro__text, .p-top-university-intro__text-red {
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
  }

  }

@media screen and (max-width:425px) {
  .p-top-university-intro, .p-top-university-intro_women {
    background-position: 50% 100%;
  }

  .p-top-university-intro__sub, .p-top-university-intro__sub-red {
    line-height: 1.2rem;
  }
  .p-top-university-intro__head, .p-top-university-intro__head-red {
    letter-spacing: -0.15rem;
  }

  .c-sp {
    display: none;
  }
}

@media screen and (max-width: 390px) {
      .p-top-university-wave {
        /* top: 26%; */
        left: -120%;
    }
      .p-top-university-intro__head, .p-top-university-intro__head-red {
        font-size: 14vw;
    }
  .p-top-university-intro__text-red {
      letter-spacing: 0.05rem;
  }
}

@media screen and (max-width: 375px) {
    .p-top-university-wave {
        left: -131%;
    }
    .p-top-university-intro__main {
      font-size: 22px;
    }
    .p-top-university-intro__main-red {
      font-size: 20px;
    }
  }

@media screen and (max-width: 320px) {
  .p-top-university-intro__main, .p-top-university-intro__main-red {
    font-size: 20px;
}
  }

  @media (max-width: 1280px) {
  .p-top-university-intro__left,
  .p-top-university-intro__left-red {
    gap: 12px;
  }

}
@media (max-width: 820px) {
  .p-top-university-intro__wrap,
  .p-top-university-intro__wrap-red {
    top: 45%;
  }
  .p-top-university-intro__text,
  .p-top-university-intro__text-red {
    font-size: 12px;
  }
}




/*------------------------------------*\
top schedule
\*------------------------------------*/

.p-top-university__schedule__container {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

/* 共通 */
.border_container {
  position: relative;
}

/* sectionのbox */
.border_inner {
  padding: 113px 0;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 156px;
}


/* title h3 */
.border_title, .border_title_red {
    font-family: var(--font_en);
    color: #fff;
    font-size: 128px;
    font-weight: 500;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 84px;
}


@media screen and (max-width: 820px) {
  .border_title, .border_title-end, .border_title_red, .border_title_red-end {
    font-size: 97px;
  }
  .border_title, .border_title_red {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 600px) {
  .border_inner {
    padding: 68px 0;
    padding-bottom: 286px;
  }
  .border_title, .border_title_red {
    font-size: 57px;
  }
}
@media screen and (max-width: 440px) {
  .border_title, .border_title_red {
    font-size: 55px;
  }
}

@media screen and (max-width: 320px) {
  .border_title, .border_title-end, .border_title_red, .border_title_red-end {
    font-size: 50px;
  }
}




/*------------------------------------*\
top program
\*------------------------------------*/
/* セクション背景 */
.p-top-university-program-blue {
  background-color: var(--color_blue);
  position: relative;
  z-index: -1;
}
.p-top-university-program-red {
  background-color: var(--color_red);
  position: relative;
  z-index: -1;
}
.p-top-university-program__wrap {
  padding-bottom: 286px;
}


/* 1section */
.p-top-university-program__box {
    width: 69.2%;
    display: flex;
    margin: 0 auto;
}

.p-top-university-program__image {
  width: 61.5%;
  margin-bottom: auto;
}

/* 1sec 右文章 */
.p-top-university-program__right {
  width: 38.5%;
  box-sizing: border-box;
}
.p-top-university-program__name,
.p-top-university-program__name_red,
.p-top-university-program__faculty__item,
.p-top-university-program__accept,
.p-top-university-program__start,
.p-top-university-program__list,
.p-top-university-program__list__desc {
  color: #fff;
}

/* 金沢星稜大学/短大　見出し */
.p-top-university-program__name,
.p-top-university-program__name_red {
  font-size: 36px;
  font-family: var(--font_ja);
  line-height: 1.3;
  font-weight: bold;
  margin: 0 auto;
  margin-bottom: 43px;
}

.p-top-university-program__name_red_sp {
  display: none;
}

.p-top-university-program__faculty {
  position: relative;
  margin-bottom: 4vh;
}
.p-top-university-program__faculty::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background-color: #fff;
}
.p-top-university-program__faculty__item {
  font-size: 38px;
  font-weight: bold;
  letter-spacing: 0.15rem;
  padding: 5px 0px 5px 63px;
  position: relative;
}
.p-top-university-program__faculty__item::before {
  content: "・";
  color: #fff;
  position: absolute;
  top: 20%;
  left: 15px;
  transform: translateY(-10px);
  font-size: 2vw;
  font-weight: bold;
}
.p-top-university-program__accept {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
}
.p-top-university-program__start {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 57px;
}

.p-top-university-program__lists {
  margin-top: 7vh;
}
.p-top-university-program__lists-red {
  margin-top: 10vh;

}
.p-top-university-program__list {
  font-size: 32px;
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px 0;
}
.p-top-university-program__list::before {
  content: "●";
  color: #fff;
  position: absolute;
  top: 9px;
  left: 0;
  font-size: 15px;
  line-height: 1;
}
.p-top-university-program__list:last-of-type {
  margin-bottom: 0;
}
.p-top-university-program__list__desc {
  font-size: 24px;
  line-height: 1.3;
}

@media screen and (max-width:1440px) {
  .p-top-university-program__box {
    width: 85%;
  }
  .p-top-university-program__image {
    width: 60%;
    margin-bottom: auto;
  }
  .p-top-university-program__right {
    padding: 0 25px;
}
  .p-top-university-program__name, 
  .p-top-university-program__name_red {
    font-size: 34px;
  }


  .p-top-university-program__desc {
    margin-bottom: 40px;
  }
  .p-top-university-program__desc-red {
    margin-bottom: 60px;
  }
  .p-top-university-program__faculty {
  margin-bottom: 2vh;
}
.p-top-university-program__faculty__item::before {
    top: 25%;
    left: 19px;
    font-size: 35px;
}
  .p-top-university-program__faculty__item {
    font-size: 28px;
  }
  .p-top-university-program__accept {
    font-size: 30px;
  }
  .p-top-university-program__start {
    font-size: 30px;
  }
  .p-top-university-program__lists-red {
    margin-top: 4vh;
  }
  .p-top-university-program__list {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .p-top-university-program__list::before {
    top: 3px;
}
  .p-top-university-program__list__desc {
    font-size: 16px;
  }

}

@media screen and (max-width: 1280px) {
  .p-top-university-program__wrap {
    padding-bottom: 220px;
}
  .p-top-university-program__faculty {
    margin-bottom: 34px;
}
  .p-top-university-program__accept {
    font-size: 26px;
}
.p-top-university-program__start {
  font-size: 26px;
  margin-bottom: 14px;
}
.p-top-university-program__lists {
  margin-top: 6vh;
}
  .p-top-university-program__inner {
    padding: 65px 50px;
  }
  .p-top-university-program__icon {
    right: -20px;
  }
  
}

@media screen and (max-width: 1024px) {
  .p-top-university-program__inner {
    padding: 65px 50px 155px;
  }
  .p-top-university-program__box {
    flex-direction: column-reverse;
    align-items: flex-start; /* ← 文字を左寄せのまま */
  }

  .p-top-university-program__right,
  .p-top-university-program__image {
    width: 100%;
  }

  .p-top-university-program__right {
    /* margin-top: 20px; */
    padding: 0;
  }
  .p-top-university-program__image {
    margin-bottom: 24px; /* 写真と文字の間隔 */
  }
  .p-top-university-program__lists-red {
    margin-top: 6vh;
  
  }
  .p-top-university-program__icon {
    top: -5px;
  }
}
@media screen and (max-width: 768px) {
  .p-top-university-program__inner {
    padding: 65px 5% 125px;
  }
  .p-top-university-program__name {
    font-size: 30px;
  }
  .p-top-university-program__name_red {
    display: none;
  }
  .p-top-university-program__name_red_sp {
    display: block;
    color: #fff;
    font-size: 30px;
    line-height: 1.3;
    font-weight: bold;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    padding: 3.8% 0;
  }
  
  .p-top-university-program__icon {
    width: 160px;
    top: -20px;
    right: -10px;
  }
  .p-top-university-program__icon__text {
    top: 80px;
    font-size: 15px;
  }
  .p-top-university-program__faculty__item {
    font-size: 26px;
  }
  /* .p-top-university-program__faculty__item::before {
    font-size: 20px;
  } */
  .p-top-university-program__accept {
    font-size: 24px;
  }
  .p-top-university-program__start {
    font-size: 24px;
  }
  .p-top-university-program__desc, .p-top-university-program__desc-red {
    font-size: 16px;
  }
  .p-top-university-program__list {
    font-size: 20px;
  }
  .p-top-university-program__list::before {
    font-size: 13px;
    top: 4.5px;
  }
  .p-top-university-program__list__desc {
    font-size: 16px;
  }
}

@media screen and (max-width:440px) {
      .p-top-university-program__wrap {
        padding-bottom: 145px;
    }
    .p-top-university-program__name {
    margin-bottom: 20px;
}
}

@media screen and (max-width:425px) {
.p-top-university-program__right {
  padding-top: 10px;
}
.p-top-university-program__desc, .p-top-university-program__desc-red {
  font-size: 14px;
}


}
@media screen and (max-width: 420px) {
  .p-top-university-program__inner {
    padding: 65px 20px 125px;
  }
  .p-top-university-program__name, .p-top-university-program__name_red_sp {
    font-size: 24px;
  }
  .p-top-university-program__title {
    margin-bottom: 30px;
  }
  .p-top-university-program__icon {
    width: 110px;
    top: -8px;
    right: -10px;
  }
  .p-top-university-program__icon__text {
    top: 57px;
    font-size: 11px;
  }
  .p-top-university-program__faculty__item {
    font-size: 22px;
  }
  .p-top-university-program__accept {
    font-size: 20px;
  }
  .p-top-university-program__start {
    font-size: 20px;
  }
  .p-top-university-program__desc, .p-top-university-program__desc-red {
    font-feature-settings: "palt";
    margin-bottom: 65px;
  }
  .p-top-university-program__list {
    font-size: 18px;
  }
  .p-top-university-program__list::before {
    font-size: 12px;
  }
  .p-top-university-program__list__desc {
    font-size: 14px;
  }
}
@media screen and (max-width: 375px) {
    .p-top-university-program__list::before {
        top: 3.5px;
    }
}

.p-top-university.color_red .p-top-university-program__inner {
  background-color: var(--color_red);
}


/*------------------------------------*\
    top date
\*------------------------------------*/
.p-top-university-date,
.p-top-university-date-red {
  position: relative;
  padding-top: 118px;   /* 上の波が被らないよう余白調整 */
  padding-bottom: 160px;/* 下の波が被らないよう余白調整 */
  z-index: 1;
}
.p-top-university-date {
  background-color: #84B3FF;
}
.p-top-university-date-red {
  background-color: #FEA3C5;

}
/* ----- 大学 ----- */
/* 上の波 */
.p-top-university-date::before {
    content: "";
    position: absolute;
    top: -214px;
    left: 0;
    width: 100%;
    height: 400px;
    background: url(../img/univercity_vector01.png) no-repeat center top;
    background-size: cover;
    z-index: 0;
}

/* 下の波 */
.p-top-university-date::after {
  content: "";
  position: absolute;
  bottom: -244px;        /* 下方向にズラす */
  left: 0;
  width: 100%;
  height: 380px;
  background: url(../img/univercity_vector02.png) no-repeat center bottom;
  background-size: cover;
  z-index: -1;
}
/* ----- 短大 ----- */
/* 上の波 */
.p-top-university-date-red::before {
    content: "";
    position: absolute;
    top: -214px;
    left: 0;
    width: 100%;
    height: 400px;
    background: url(../img/juni_vector01.png) no-repeat center top;
    background-size: cover;
    z-index: 0;
}

/* 下の波 */
.p-top-university-date-red::after {
  content: "";
  position: absolute;
  bottom: -244px;        /* 下方向にズラす */
  left: 0;
  width: 100%;
  height: 380px;
  background: url(../img/juni_vector02.png) no-repeat center bottom;
  background-size: cover;
  z-index: -1;
}

@media (min-width: 1921px) {
  .p-top-university-date::before,
  .p-top-university-date-red::before {
        top: -284px;
  }
  .p-top-university-date::after {
    bottom: -318px;
  }
  .p-top-university-date-red::after {
        bottom: -311px;
  }
}

@media (max-width: 1440px) {
  .p-top-university-date::after,
  .p-top-university-date-red::after {
  bottom: -177px;
  }
}
@media (max-width: 1080px) {
  .p-top-university-date::before,
  .p-top-university-date-red::before {
  top: -170px;
  }
}
@media (max-width: 768px) {
  .p-top-university-date::after,
  .p-top-university-date-red::after {
  bottom: -137px;
}
}
@media (max-width: 440px) {
  .p-top-university-date::before,
  .p-top-university-date-red::before {
  top: -95px;
  height: 300px;
  }
  .p-top-university-date::after, .p-top-university-date-red::after {
    bottom: -105px;
    height: 300px;
  }
}

.p-top-university-date__inner {
  padding: 0; 
}
.p-top-university-date__box-wrap {
  width: 100%;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.p-top-university-date__box {
  width: 90.6%;
  max-width: 1740px;
  margin: 0 auto;
}
.p-top-university-date__lists {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid #fff;
}

.p-top-university-date__list {
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 40px 30px;
  box-sizing: border-box;
}
/* そのすぐ上（2段目右端）の li から border-bottom を消す */
.p-top-university-date__lists:nth-last-of-type(2) .p-top-university-date__list {
  border-bottom: none;
}
/* 最終段全体（ul）に border-top を付ける */
.p-top-university-date__lists:last-of-type {
  border-top: 1px solid #fff;
}
/* 最終段の ul 内だけ border-bottom を消す */
.p-top-university-date__lists:last-of-type .p-top-university-date__list {
  border-bottom: none;
}


.p-top-university-date__list_red {
  width: 30%;
  position: relative;
  box-sizing: border-box;
  padding: 0 13px;
  margin: 0 2.6% 50px 0;
  border-left: solid 5px #e5565a;
}

.p-top-university-date__text__wrap {
  width: 100%;
  position: relative;
}
.p-top-university-date__text {
  position: relative;
  font-size: 80px;
  font-family: var(--font_en);
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  padding-bottom: 23px;
}
.p-top-university-date__text span {
  font-size: 40px;
  font-family: var(--font_ja);
  font-feature-settings: "palt";
}
.p-top-university-date__desc {
  width: 100%;
}
.p-top-university-date__time {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  width: 100%;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.p-top-university-date__note {
  color: #fff;
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.02rem;
  padding-bottom: 5%;
}
.p-top-university-date__schedule__btn__wrap {
  position: relative;
  width: 100%;
}
.p-top-university-date__schedule__btn {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  padding-bottom: 5%;
  position: relative;
  top: 0;
  z-index: 2;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}
.p-top-university-date__schedule__btn:hover {
  top: 5px;
}
.p-top-university-date__schedule__btn > img {
  width: 21px;
  display: block;
  margin-right: 10px;
}
.p-top-university-date__apply__btn__wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.p-top-university-date__btn__wrap.-preparation{
  flex-wrap: wrap;
}
.p-top-university-date__apply__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  border-radius: 31px;
  background-color: #fff;
  color: var(--color_blue);
  font-size: 18px;
  font-weight: bold;
  position: relative;
  top: 0;
  z-index: 2;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}
.p-top-university-date__apply__btn-red {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  border-radius: 31px;
  background-color: #fff;
  color: var(--color_red);
  font-size: 18px;
  font-weight: bold;
  position: relative;
  top: 0;
  z-index: 2;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}
.p-top-university-date__apply__btn.-preparation__btn{
  text-align: center;
  font-size: 14px;
  line-height: 1.2em;
  background-color: #fff;
  color: var(--color_blue);
  border: 1px solid var(--color_blue);
}
.p-top-university-date__apply__btn:hover,
.p-top-university-date__apply__btn-red:hover {
  top: 5px;
}
.p-top-university-date__apply__btn__bg,
.p-top-university-date__apply__btn__bg-red {
  border-radius: 31px;
  width: 100%;
  height: 60px;
  position: absolute;
  top: 5px;
  left: 0;
}
.p-top-university-date__apply__btn__bg {
  background-color: var(--color_blue);
}
.p-top-university-date__apply__btn__bg-red {
  background-color: var(--color_red);
}

@media screen and (max-width:1440px) {
  .p-top-university-date__list-end .p-top-university-date__apply__btn__wrap, .p-top-university-date__list_red-end .p-top-university-date__apply__btn__wrap {
    width: 100%;
    margin: 0;
  }
}
@media screen and (max-width: 1280px) {
  .p-top-university-date__box {
    box-sizing: border-box;
}
  .p-top-university-date__text__wrap {
    width: 85%;
  }
  .p-top-university-date__btn__wrap {
    flex-direction: column;
    width: 100%;
    /* gap: 15px 0; */
  }
  .p-top-university-date__schedule__btn__wrap {
    width: 100%;
  }
  .p-top-university-date__apply__btn__wrap {
    width: 100%;
  }
}
@media screen and (max-width: 1110px) {
  .p-top-university-date__box {
    width: 86.6%;
  }
  .p-top-university-date__text {
    font-size: 70px;
}
}
@media screen and (max-width: 1024px) {
  /* 1列グリッド（すでにできてる前提だけど明示） */
  .p-top-university-date__lists {
    grid-template-columns: 1fr;
  }

  .p-top-university-date__list {
    padding: 40px 30px 40px 5%;
    box-sizing: border-box;
    border-bottom: 1px solid #fff;
  }

  .p-top-university-date__lists:nth-last-of-type(2) .p-top-university-date__list {
    border-bottom: 1px solid #fff;
  }
  .p-top-university-date__lists:last-of-type .p-top-university-date__list {
    border-bottom: 1px solid #fff;
  }
  .p-top-university-date__lists:last-of-type {
    border-top: none;
}
  .p-top-university-date__lists:last-of-type .p-top-university-date__list:last-of-type {
    border-bottom: none;
  }

  .p-top-university-date__text {
    font-size: 70px;
  }
  .p-top-university-date__text > span {
    font-size: 32px;
  }
  .p-top-university-date__text__wrap {
    width: 90%;
    /* display: flex; */
  }
  .p-top-university-date__btn__wrap {
    flex-direction: row;
    gap: 20px;
    width: 100%;
  }
  .p-top-university-date__schedule__btn__wrap {
    width: 65%;
  }
  .p-top-university-date__apply__btn__wrap {
    width: 90%;
    margin-left: 0;
  }
  .p-top-university-date__list-end .p-top-university-date__apply__btn__wrap, .p-top-university-date__list_red-end .p-top-university-date__apply__btn__wrap {
    width: 90%;
    margin-left: 0;
  }
  .p-top-university-date__list-end .p-top-university-date__note, .p-top-university-date__list_red-end .p-top-university-date__note {
    width: 100%;
  }
  .p-top-university-date__schedule__btn {
    font-size: 16px;
  }
  .p-top-university-date__apply__btn {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  .p-top-university-date__time {
    font-size: 20px;
  }
  

}
@media screen and (max-width: 500px) {
  .p-top-university-date__text {
    font-size: 50px;
  }
  .p-top-university-date__text > span {
    font-size: 20px;
  }
  .p-top-university-date__btn__wrap {
    flex-direction: column;
  }
  .p-top-university-date__schedule__btn__wrap {
    width: 100%;
  }
  .p-top-university-date__apply__btn__wrap {
    width: 100%;
  }
  .p-top-university-date__btn__wrap.-preparation .p-top-university-date__schedule__btn__wrap{
    width: 100%;
  }
  .p-top-university-date__btn__wrap.-preparation .p-top-university-date__apply__btn__wrap{
    width: 100%;
  }
}

@media screen and (max-width: 420px) {
  .p-top-university-date__text__wrap {
    flex-direction: column;
    gap: 15px;
  }
  .p-top-university-date__schedule__btn {
    height: 50px;
  }
  .p-top-university-date__note {
    width: 90%;
  }
  .p-top-university-date__list-end .p-top-university-date__note, .p-top-university-date__list_red-end .p-top-university-date__note {
    width: 90%;
}
  .p-top-university-date__apply__btn {
    align-items: center;
    height: 50px;
  }
  .p-top-university-date__list.apply-end .p-top-university-date__apply__btn__end {
    height: 50px;
  }
  .p-top-university-date__apply__btn__bg {
    height: 50px;
  }
}

/* .p-top-university.color_red .p-top-university-date__text {
  color: var(--color_red);
}
.p-top-university.color_red .p-top-university-date__time {
  color: var(--color_red);
} */
.p-top-university.color_red .p-top-university-date__list.apply-end::before {
  background-color: rgba(223, 128, 126, 0.8);
}
.p-top-university.color_red .p-top-university-date__list.apply-end .p-top-university-date__apply__btn__end {
  color: var(--color_red);
  border: 1px solid var(--color_red);
}
/* .p-top-university.color_red .p-top-university-date__apply__btn {
  background-color: var(--color_red);
} */
.p-top-university.color_red .p-top-university-date__apply__btn.-preparation__btn {
  background-color: #fff;
  color: var(--color_red);
  border: 1px solid var(--color_red);
}
.p-top-university.color_red .p-top-university-date__year__text {
  color: var(--color_red);
}

/* --close-- */
.p-top-university-date__list-close {
  width: 30%;
  position: relative;
  box-sizing: border-box;
  padding: 0 13px;
  margin: 0 2.6% 50px 0;
  border-left: solid 5px #a2958e; 
}

.p-top-university-date__text-close {
  font-size: 80px;
  font-weight: bold;
  color: #a2958e; 
  display: flex;
  align-items: center;
  padding-bottom: 23px;
}

.p-top-university-date__text-close span {
  font-size: 40px;
  font-feature-settings: "palt";
}

.p-top-university-date__time-close {
  color: #a2958e; 
  font-size: 24px;
  font-weight: bold;
  width: 100%;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.p-top-university-date__note-close {
  color: #a2958e;
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.02rem;
  padding-bottom: 5%;
}

.p-top-university-date__apply__btn-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  border-radius: 31px;
  background-color: #a2958e; 
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  top: 0;
  z-index: 2;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.p-top-university-date__apply__btn-close:hover {
  top: 5px;
}

.p-top-university-date__apply__btn__bg-close {
  background-color: #dadadb;
  border-radius: 31px;
  width: 100%;
  height: 60px;
  position: absolute;
  top: 5px;
  left: 0;
}

@media screen and (max-width: 1280px) {
  .p-top-university-date__text__wrap-close {
    width: 85%;
  }
  .p-top-university-date__btn__wrap-close {
    flex-direction: column;
    width: 100%;
    /* gap: 15px 0; */
  }
  /* .p-top-university-date__schedule__btn__wrap {
    width: 100%;
  }
  .p-top-university-date__apply__btn__wrap {
    width: 100%;
  } */
}
@media screen and (max-width: 1110px) {
  .p-top-university-date__text-close {
    font-size: 70px;
}
}

@media screen and (max-width: 1024px) {
  .p-top-university-date__list-close {
    width: 100%;
    padding-left: 20px;
  }

  /* .p-top-university-date__lists > li:first-child {
    margin-bottom: 50px;
} */
  .p-top-university-date__text-close {
    font-size: 70px;
  }
  .p-top-university-date__text-close > span {
    font-size: 32px;
  }
  .p-top-university-date__text__wrap-close {
    width: 90%;
  }
  .p-top-university-date__btn__wrap-close {
    flex-direction: row;
    gap: 20px;
    width: 100%;
  }
  .p-top-university-date__schedule__btn {
    font-size: 16px;
  }
  .p-top-university-date__apply__btn-close {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .p-top-university-date__time-close {
    font-size: 20px;
  }
}

@media screen and (max-width: 500px) {
  .p-top-university-date__text-close {
    font-size: 50px;
  }
  .p-top-university-date__text-close > span {
    font-size: 20px;
  }
}

@media screen and (max-width: 420px) {
  .p-top-university-date__text__wrap-close {
    flex-direction: column;
    gap: 15px;
  }
  /* .p-top-university-date__schedule__btn {
    height: 50px;
  } */
  .p-top-university-date__note-close {
    width: 90%;
  }
  .p-top-university-date__apply__btn-close {
    align-items: center;
    height: 50px;
  }
  /* .p-top-university-date__list.apply-end .p-top-university-date__apply__btn__end {
    height: 50px;
  } */
  .p-top-university-date__apply__btn__bg-close {
    height: 50px;
  }
}


/* ============================
時刻表
============================= */
/*------------------------------------*\
    top access
\*------------------------------------*/
.p-top-university-access {
  overflow: hidden;
  background-color: #AFD3FF;
}
.p-top-university-access-woman {
  overflow: hidden;
  background-color: #F6C9DB;
}
.p-top-university-access__inner {
  padding-top: 290px;
}

@media only screen and (max-width: 1024px) {
  .p-top-university-access__title__wrap {
    gap: 20px 50px;
  }
}
@media only screen and (max-width: 768px) {
  .p-top-university-access__inner {
    padding: 185px 0;
  }
  .p-top-university-access__title__wrap {
    gap: 10px 30px;
    margin-bottom: 50px;
  }
}
@media only screen and (max-width: 440px) {
  .p-top-university-access__inner {
    padding: 140px 0;
  }
}
.p-top-university-access__time__annotation,
.p-top-university-access__time__annotation-red {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 200;
  margin-top: 7px;
  color: #000;
}

.p-top-university-access__platform__container {
  width: 100%;
}
@media only screen and (max-width: 1024px) {
  .p-top-university-access__platform__container {
    flex-direction: column;
  }
}

.p-top-university-access__platform__wrap {
  width: 100%;
}
@media only screen and (max-width: 1024px) {
  .p-top-university-access__platform__wrap {
    width: 100%;
  }
}

.p-top-university-access__platform__box,
.p-top-university-access__platform__box_red {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 30px;
}

.p-top-university-access__platform__image-wrap {
  position: relative;
  flex-shrink: 0;
}

.p-top-university-access__platform__image {
  width: 160px;
  transform: translateY(-10px);
}

.p-top-university-access__platform__text-box {
  color: var(--color_blue);
}

.p-top-university-access__sub,
.p-top-university-access__sub-red {
  font-size: 78px;
  line-height: 1;
  font-weight: bold;
  margin-bottom: 12px;
}
.p-top-university-access__sub {
  color: var(--color_blue);
}
.color-red {
  color: var(--color_red);
}
.p-top-university-access__platform__title, 
.p-top-university-access__platform__title-red { 
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 8px;
  /* color: #fff; */
}

.p-top-university-access__platform__text,
.p-top-university-access__platform__text-red {
  font-size: 16px;
  line-height: 1.5;
}
@media only screen and (max-width: 1024px) {
  .p-top-university-access__sub {
    font-size: 32px;
  }
}
@media only screen and (max-width: 768px) {
  .p-top-university-access__sub {
    font-size: 24px;
  }
}
@media screen and (max-width: 425px) {
  .p-top-university-access__sub {
    font-size: 26px;
    margin-bottom: 17px;
  }
}






@media (max-width: 1170px) {
  .p-top-university-access__sub,
  .p-top-university-access__sub-red {
    font-size: 6vw;
  }
}



@media only screen and (max-width: 1024px) {
  /* .p-top-university-access__platform__box, .p-top-university-access__platform__box_red {
    width: 90%;
  } */
}
@media only screen and (max-width: 768px) {
  .p-top-university-access__platform__image {
    width: 130px;
  }
}

@media only screen and (max-width: 820px) {
  .p-top-university-access__platform__title,
  .p-top-university-access__platform__title-red {
    font-size: 30px;
  }
}
@media only screen and (max-width: 768px) {
  .p-top-university-access__platform__title,
  .p-top-university-access__platform__title-red {
    font-size: 24px;
  }
}
@media only screen and (max-width: 500px) {
  .p-top-university-access__platform__title,
  .p-top-university-access__platform__title-red {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .p-top-university-access__bottom__text {
    font-size: 50px;
  }
}
@media screen and (max-width: 440px) {
  .p-top-university-access__platform__box,
  .p-top-university-access__platform__box_red {
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
  }
  .p-top-university-access__sub, 
  .p-top-university-access__sub-red {
        font-size: 9vw;
    }
  .p-top-university-access__platform__title, 
  .p-top-university-access__platform__title-red {
    font-size: 5vw;
  }
}


.p-top-university-access__box {
  width: 78%;
  max-width: 1500px;
  margin: 0 auto;
} 
.p-top-university-access__time__way {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 38px;
}

.p-top-university-access__time__way__left, 
.p-top-university-access__time__way__right {
  width: 49%;
} 

@media only screen and (max-width: 1170px) {
  .p-top-university-access__time__way {
    flex-direction: column;
    width: 100%;
    gap: 30px;
  }

  .p-top-university-access__time__way__left,
  .p-top-university-access__time__way__right {
    width: 100%;
  }
}

@media only screen and (max-width: 1100px) {
  .p-top-university-access__time__title__wrap {
    height: 46px;
  }
  .p-top-university-access__time__way__wrap {
    flex-direction: column;
  }
  
  
  .p-top-university-access__time__way {
    width: 100%;
    margin-bottom: 45px;
  }
  .p-top-university-access__time__way:last-of-type {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 440px)  {
  .p-top-university-access__box {
    width: 88%;
}
  .p-top-university-access__platform__box, .p-top-university-access__platform__box_red {
    width: 88%;
    margin: 0 auto;
    margin-bottom: 30px;
}

}

/* ======================
access-乗り場案内
======================= */
.p-top-university-access__time__title__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 35px 30px;
  border-top-right-radius: 35px 30px;
  border-bottom-right-radius: 35px 30px;
  border-bottom-left-radius: 35px 30px;
  height: 36px;
  padding-left: 45px;
  padding-right: 45px;
  margin-bottom: 24px;
}



.p-top-university.color_blue .p-top-university-access__time__title__wrap {
  background-color: var(--color_blue);
}

.p-top-university.color_red .p-top-university-access__time__title__wrap {
  background-color: var(--color_red);
}

.p-top-university-access__time__title {
  font-size: 20px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #FFF;
}
@media only screen and (max-width: 1100px) {
  .p-top-university-access__time__title {
    font-size: 26px;
  }
}
@media only screen and (max-width: 768px) {
  .p-top-university-access__time__title {
    font-size: 20px;
  }
}

.p-top-university-access__time__direction_wrap {
  display: flex;
  margin-bottom: 20px;
}

.p-top-university-access__time__direction_wrap:last-of-type {
  margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
  .p-top-university-access__time__direction_wrap {
    display: block;
    margin-bottom: 15px;
  }
}
.p-top-university-access__time__direction__title__wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 114px;
  height: 50px;
  background-color: #000;
  margin-right: 30px;
}

.p-top-university.color_blue .p-top-university-access__time__direction__title__wrap {
  background-color: var(--color_blue);
}

.p-top-university.color_red .p-top-university-access__time__direction__title__wrap {
  background-color: var(--color_red);
}

.p-top-university-access__time__direction__title__wrap.time_long .p-top-university-access__time__direction__title {
  transform: scale(0.8, 1);
}

@media only screen and (max-width: 1840px) {
  .p-top-university-access__time__direction__title__wrap.time_long {
    height: 74px;
  }
  .p-top-university-access__time__direction__title__wrap.time_short {
    height: 74px;
  }
}
@media only screen and (max-width: 768px) {
  .p-top-university-access__time__direction__title__wrap.time_short, .p-top-university-access__time__direction__title__wrap.time_long {
    width: calc(100% - 20px);
    max-width: 140px;
    height: 32px;
    margin-right: 0;
  }
}
.p-top-university-access__time__direction__title__wrap.deco_arrow:after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: -20px;
  border-style: solid;
  border-color: transparent transparent transparent #000;
  border-width: 25px 0 25px 20px;
}

.p-top-university.color_blue .p-top-university-access__time__direction__title__wrap.deco_arrow:after {
  border-color: transparent transparent transparent var(--color_blue);
}

.p-top-university.color_red .p-top-university-access__time__direction__title__wrap.deco_arrow:after {
  border-color: transparent transparent transparent var(--color_red);
}

@media only screen and (max-width: 1840px) {
  .p-top-university-access__time__direction__title__wrap.time_long.deco_arrow:after {
    border-width: 37px 0 37px 20px;
  }
  .p-top-university-access__time__direction__title__wrap.time_short.deco_arrow:after {
    border-width: 37px 0 37px 20px;
  }
}

@media only screen and (max-width: 768px) {
  .p-top-university-access__time__direction__title__wrap.time_short.deco_arrow:after, .p-top-university-access__time__direction__title__wrap.time_long.deco_arrow:after {
    right: -10px;
    border-width: 16px 0 16px 10px;
  }
}
.p-top-university-access__time__direction__title__wrap.deco_ribbon:after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-color: #000 transparent;
  border-width: 30px 20px 30px 0px;
}

.p-top-university.color_blue .p-top-university-access__time__direction__title__wrap.deco_ribbon:after {
  border-color: var(--color_blue) transparent;
}

.p-top-university.color_red .p-top-university-access__time__direction__title__wrap.deco_ribbon:after {
  border-color: var(--color_red) transparent;
}

@media only screen and (max-width: 1000px) {
  .p-top-university-access__time__direction__title__wrap.deco_ribbon:after {
    right: -20px;
    border-width: 25px 20px 25px 0px;
  }
}
.p-top-university-access__time__direction__title {
  font-family: var(--fontjp);
  white-space: nowrap;
  font-size: 17.6px;
  line-height: 1.25;
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #FFF;
  margin-right: -10px;
}
@media only screen and (max-width: 1100px) {
  .p-top-university-access__time__direction__title {
    font-size: 18px;
    text-align: center;
  }
}
.p-top-university-access__time__direction__title__br {
  display: none;
}
@media only screen and (max-width: 1100px) {
  .p-top-university-access__time__direction__title__br {
    display: block;
  }
}
@media only screen and (max-width: 768px) {
  .p-top-university-access__time__direction__title__br {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .p-top-university-access__time__direction__title {
    font-size: 16px;
    margin-right: -5px;
  }
}
/* ↓↓↓ 【修正箇所 A】 時刻表エリアのレイアウト調整とオーバーフロー対策 ↓↓↓ */
.p-top-university-access__time__text_wrap {
  width: calc(100% - 154px);
  display: flex;
  /* ユーザー要望通りspace-betweenを維持 */
  justify-content: space-between; 
  align-items: center;
  border-top: 1px solid #003990;
  border-bottom: 1px solid #003990;
  padding-top: 12px;
  padding-bottom: 12px;
  
  /* 必須: 折り返しを禁止 */
  flex-wrap: nowrap;
  /* gap: 2px; (space-between使用時は無視されます) */
  /* 必須: スクロールバーを削除 */
  overflow-x: hidden; 
}
.border-red {
  border-top: 1px solid #E5565A;
  border-bottom: 1px solid #E5565A;
}

.p-top-university-access__time__text_wrap:first-child {
  border-top: 1px solid #595757;
}

.p-top-university-access__time__text {
  font-family: var(--fontjp);
  /* 安全な最小サイズ (1170px未満のブレークポイントの16pxより少し小さく設定) */
  font-size: 16px; 
  line-height: 25px;
  font-weight: 600;
  color: #000;
  text-align: center;
  /* 必須: テキストの改行を禁止 */
  white-space: nowrap; 
  /* 矢印含め、要素が縮むことを許容する */
  flex-shrink: 1; 
}

/* 矢印（→）の幅調整（極限まで詰める） */
.p-top-university-access__time__text.width_arrow {
  width: auto; 
  padding: 0 2px; /* 矢印前後の余白を最小限に */
  flex-shrink: 0; /* 矢印は縮まないように固定 */
}

.time_br__short,
.time_br__long {
  display: none;
}
@media (max-width: 1840px) {
  .time_br__long {
    display: block;
  }
  .time_br__short {
    display: block;
  }
}
/* @media (max-width: 1440px) {
} */
@media (max-width: 1280px) {
  .p-top-university-access__time__text {
    font-size: 14px;
  }
}

@media only screen and (max-width: 1170px) {
  .p-top-university-access__time__text {
    font-size: 16px; 
  }
}

/* -----------------------------------------
   レスポンシブ調整
   ----------------------------------------- */

/* 1100px以下: font-sizeを大きくしないように上書き */
@media only screen and (max-width: 1100px) {
  .p-top-university-access__time__text {
    font-size: 17px; /* 20pxへの拡大を阻止し、PCサイズを維持 */
  }
}

/* 1000px以下 (SP/タブレット): 1カラムになるため、ある程度余裕を持たせる */
@media only screen and (max-width: 1000px) {
  .p-top-university-access__time__text_wrap {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    /* 1カラムになるため、横幅に収まりやすくなります。 */
    justify-content: space-between; /* 均等配置に戻すことも可能 */
    gap: 0;
  }
  .p-top-university-access__time__text.width_arrow {
    padding-left: 5px;
    padding-right: 5px;
  }
}
/* ... (既存の768px以下のCSSを維持) ... */
@media only screen and (max-width: 768px) {
  .p-top-university-access__time__text {
    letter-spacing: 0;
    font-size: 16px;
    line-height: 22px;
  }
  .p-top-university-access__time__text.width_arrow {
    width: auto; 
    padding-left: 2px;
    padding-right: 2px;
  }
}
@media (max-width: 360px) {
    .p-top-university-access__time__text {
    font-size: 14px;
  }
    .p-top-university-access__time__text.width_arrow {
    width: auto; 
    padding-left: 1px;
    padding-right: 1px;
  }
}


/* =========================================
   ACCESSセクション - 乗り場案内
   ========================================= */

/* p-top-university-access__map__list: PC（1001px以上）では2カラム、SP（1000px以下）では1カラム */
.p-top-university-access__map__list {
  display: flex;
  flex-wrap: wrap;
  /* PCの横の隙間と、項目間の縦の隙間を指定 */
  gap: 17px 40px; 
  /* リストマーカーを削除 */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* li: 項目ごとのスタイル */
.p-top-university-access__map__list li {
  /* PC時は左右の隙間40pxを考慮して50%から調整 */
  width: calc(50% - 20px); 
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #003990;
  padding-bottom: 5px; /* 下線とテキストの隙間 */
  padding-top: 0; /* 上部の不要なパディングを削除 */
}

.list-red li{
    border-bottom: 1px solid #E5565A;
}

/* -----------------------------------------
   ブレークポイント調整: SP/タブレット (1000px以下)
   ----------------------------------------- */
@media only screen and (max-width: 1000px) {
  .p-top-university-access__map__list {
    /* SPでは縦並び（1カラム）に戻す */
    flex-direction: column; 
    gap: 14px 0; /* 縦の隙間を調整 */
  }
  .p-top-university-access__map__list li {
    width: 100%; /* 幅を100%に戻す */
    padding-bottom: 5px; /* 下線とテキストの隙間 */
  }
}

/* -----------------------------------------
   リストテキストのスタイル（ご提示内容を適用）
   ----------------------------------------- */
.p-top-university-access__map__list__text {
  font-family: var(--fontjp);
  font-size: 30px;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
  position: relative;
  margin-left: 18px; /* before擬似要素のスペース */
}
.p-top-university-access__map__list__text .text_small {
  font-size: 16px;
  font-weight: 400;
}
.p-top-university-access__map__list__text:before {
  content: "";
  position: absolute;
  top: 7px;
  left: -19px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #000;
}

/* -----------------------------------------
   極小SP向け (600px以下)
   ----------------------------------------- */
@media only screen and (max-width: 600px) {
  .p-top-university-access__map__list__text {
    font-size: 14px;
    white-space: initial; /* テキストの折り返しを許可 */
  }
  .p-top-university-access__map__list__text .text_small {
    font-size: 14px;
  }
  .p-top-university-access__map__list__text:before {
    top: 2px;
    left: -15px;
    width: 9px;
    height: 9px;
  }
}


.p-top-university-access__attention__wrap {
  margin-top: 18px;
  margin-bottom: 47px;
}
.p-top-university-access__attention__wrap-note {
  font-family: var(--fontjp);
  font-size: 16px;
  line-height: 25px;
  font-weight: 600;
  color: #595757;
  width: 90%;
}
.p-top-university-access__time__head {
  font-family: var(--fontjp);
  font-size: 16px;
  line-height: 25px;
  font-weight: 600;
  color: #595757;
}

.p-top-university-access__attention__wrap-box {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #595757;
  border-bottom: 1px solid #595757;
  box-sizing: border-box;
  padding: 12px 39px 12px 0;
  margin-top: 5px;
  letter-spacing: 0.1rem;
}

.p-top-university-access__attention__wrap-going {
  display: flex;
  align-items: center;
}
.p-top-university-access__attention__wrap-text {
  box-sizing: border-box;
}
.p-top-university-access__attention__wrap-container {
  display: flex;
}
.p-top-university-access__attention__wrap-time {
  display: flex;
}

@media only screen and (max-width: 1280px) {
  .p-top-university-access__attention__wrap-box {
    width: 90%;
    display: block;
    padding: 12px 0;
  }
  .p-top-university-access__attention__wrap-going {
    display: block;
  }
  .p-top-university-access__time__head {
    text-align: start;
  }
  .p-top-university-access__attention__wrap-container {
    align-items: center;
    box-sizing: border-box;
    /* padding: 1vh 2vw; */
    /* justify-content: space-between; */
  }
  .p-top-university-access__attention__wrap-time {
    box-sizing: border-box;
    padding: 2vh 0;
    justify-content: space-between;
    width: 90%;
}
  .p-top-university-access__attention__wrap-time .time_br__long {
    display: none;
  }
}

@media only screen and (max-width: 900px) {
  .p-top-university-access__attention__wrap-time .time_br__long {
    display: block;
  }
}
@media only screen and (max-width: 768px) {
  .p-top-university-access__time__head {
    font-size: 16px;
  }
}

@media only screen and (max-width: 555px) {
  .p-top-university-access__attention__wrap p {
    font-size: 14px;
  }
  .attention__head {
    text-align: left;
  }
  .p-top-university-access__attention__wrap-container {
    display: block;
    text-align: start;
    margin-top: 2vh;
  }
  .p-top-university-access__attention__wrap-time {
    padding: 0 0 2vh 0;
    width: 100%;
}
}


/* アクセス　マップ */
.p-top-university.color_blue .p-top-university-access__map__list__text:before {
  background: var(--color_blue);
}

.p-top-university.color_red .p-top-university-access__map__list__text:before {
  background: var(--color_red);
}

.p-top-university-access__map__list__link {
  margin-left: auto;
}

.p-top-university-access__map__list__pdf {
  margin-left: 10px;
}

.p-top-university-access__map__list__link_text {
  font-family: var(--fontjp);
  font-size: 14px;
  font-weight: 400;
  color: #595757;
  white-space: nowrap;
  transition: all 200ms ease-in-out;
}

@media only screen and (max-width: 768px) {
  .p-top-university-access__map__list__link_text {
    font-size: 12px;
  }
}
.p-top-university.color_blue .p-top-university-access__map__list__link_text {
  color: var(--color_blue);
}

.p-top-university.color_red .p-top-university-access__map__list__link_text {
  color: var(--color_red);
}

.p-top-university-access__map__list__link_text:hover {
  opacity: 0.7;
}

@media only screen and (max-width: 768px) {
  .p-top-university-access__map__list__link_text:hover {
    opacity: 1;
  }
}
.p-top-university-access__time_wrap {
  display: flex;
  margin-bottom: 35px;
}

.p-top-university-access__time_wrap:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 1000px) {
  .p-top-university-access__time_wrap {
    display: block;
    margin-bottom: 15px;
  }
}
.p-top-university-access__time_title_wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 669px - 30px - 20px);
  height: 100px;
  background-color: #595757;
  margin-right: 50px;
}

.p-top-university.color_blue .p-top-university-access__time_title_wrap {
  background-color: var(--color_blue);
}

.p-top-university.color_red .p-top-university-access__time_title_wrap {
  background-color: var(--color_red);
  height: 50px;
}

@media only screen and (max-width: 1000px) {
  .p-top-university-access__time_title_wrap {
    width: calc(100% - 20px);
    height: 68px;
    margin-right: 0;
  }
  .p-top-university.color_red .p-top-university-access__time_title_wrap {
    height: 68px;
  }
}
.p-top-university-access__time_title_wrap.deco_arrow:after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: -30px;
  border-style: solid;
  border-color: transparent transparent transparent #595757;
  border-width: 50px 0 50px 30px;
}

.p-top-university.color_blue .p-top-university-access__time_title_wrap.deco_arrow:after {
  border-color: transparent transparent transparent var(--color_blue);
}

.p-top-university.color_red .p-top-university-access__time_title_wrap.deco_arrow:after {
  border-color: transparent transparent transparent var(--color_red);
  border-width: 25px 0 25px 30px;
}

@media only screen and (max-width: 1000px) {
  .p-top-university-access__time_title_wrap.deco_arrow:after {
    right: -20px;
    border-width: 34px 0 34px 20px;
  }
  .p-top-university.color_red .p-top-university-access__time_title_wrap.deco_arrow:after {
    border-width: 34px 0 34px 20px;
  }
}
.p-top-university-access__time_title_wrap.deco_ribbon:after {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-color: #000 transparent;
  border-width: 50px 30px 50px 0px;
}

.p-top-university.color_blue .p-top-university-access__time_title_wrap.deco_ribbon:after {
  border-color: var(--color_blue) transparent;
}

.p-top-university.color_red .p-top-university-access__time_title_wrap.deco_ribbon:after {
  border-color: var(--color_red) transparent;
  border-width: 25px 30px 25px 0px;
}

@media only screen and (max-width: 1000px) {
  .p-top-university-access__time_title_wrap.deco_ribbon:after {
    right: -20px;
    border-width: 34px 20px 34px 0px;
  }
  .p-top-university.color_red .p-top-university-access__time_title_wrap.deco_ribbon:after {
    border-width: 34px 20px 34px 0px;
  }
}
.p-top-university-access__time_title {
  font-family: var(--fontjp);
  font-size: 30px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #FFF;
}

@media only screen and (max-width: 1000px) {
  .p-top-university-access__time_title {
    font-size: 21px;
  }
}
.p-top-university-access__time_text_list_wrap {
  width: 669px;
}

@media only screen and (max-width: 1000px) {
  .p-top-university-access__time_text_list_wrap {
    width: 100%;
    margin-top: 15px;
  }
}
.p-top-university-access__time_text_wrap {
  display: inline-flex;
  text-align: right;
  border-bottom: 1px solid #595757;
  padding-top: 12px;
  padding-bottom: 13px;
}

.p-top-university-access__time_text_wrap:first-child {
  border-top: 1px solid #595757;
}

.p-top-university-access__time_text {
  font-family: var(--fontjp);
  font-size: 24px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #595757;
  white-space: nowrap;
}

.p-top-university-access__time_text.width_long {
  width: 384px;
}

.p-top-university-access__time_text.width_arrow {
  width: 30px;
  padding-left: 30px;
  padding-right: 30px;
}

.p-top-university-access__time_text.width_small {
  width: 194px;
}

.p-top-university-access__time_text .text_small {
  font-size: 14px;
}

@media only screen and (max-width: 1000px) {
  .p-top-university-access__time_text_wrap {
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
  .p-top-university-access__time_text {
    font-size: 16px;
  }
  .p-top-university-access__time_text.width_long {
    width: 261px;
  }
  .p-top-university-access__time_text.width_arrow {
    width: 16px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .p-top-university-access__time_text.width_small {
    width: 128px;
  }
  .p-top-university-access__time_text .text_small {
    font-size: 10px;
    font-weight: 400;
  }
}
@media only screen and (max-width: 768px) {
  .p-top-university-access__time_text {
    letter-spacing: 0;
    font-size: 14px;
    line-height: 16px;
  }
  .p-top-university-access__time_text.width_long {
    width: 210px;
  }
  .p-top-university-access__time_text.width_arrow {
    width: 14px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .p-top-university-access__time_text.width_small {
    width: 100px;
  }
}
.p-top-university-access__text_wrap {
  margin-top: 32px;
}

.p-top-university-access__text {
  font-family: var(--fontjp);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #595757;
}

@media only screen and (max-width: 768px) {
  .p-top-university-access__text_wrap {
    margin-top: 20px;
  }
  .p-top-university-access__text {
    font-size: 11px;
    line-height: 16px;
  }
}


/*------------------------------------*\
    top university pr
\*------------------------------------*/
/* ベース設定 */
.p-top-university-pr {
  background-color: #F8F8F8;
  overflow: hidden;
}

.p-top-university-pr__inner {
  width: 77.92%; /* 1496 / 1920 */
  max-width: 1496px; /* 最大幅をカンプ通りに固定 */
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 120px;
}

/* タイトル */
.p-top-university-pr__title {
  font-size: clamp(2rem, 4vw, 78px); /* カンプに合わせて調整 */
  font-weight: bold;
  color: var(--color_blue, #003B6F);
  margin-bottom: 25px;
  line-height: 1.2;
}
.p-top-university-pr__title-red {
  font-size: clamp(2rem, 7vw, 78px); /* カンプに合わせて調整 */
  font-weight: bold;
  color: var(--color_red, #E5565A);
  margin-bottom: 25px;
  line-height: 1.2;
}

/* ラッパー（左右カラム） */
.p-top-university-pr__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 垂直方向中央揃え */
}

/* --- 左カラム --- */
/* 右が68.8%なので、余白4%として残りは約27.2% */
.p-top-university-pr__left {
  width: 27.2%; 
  display: flex;
  flex-direction: column;
}

.p-top-university-pr__label {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--color_blue, #003B6F);
  margin-bottom: 20px;
}
.p-top-university-pr__label-red {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--color_red, #E5565A);
  margin-bottom: 20px;
}

.p-top-university-pr__sns-list {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}

.p-top-university-pr__sns-list li {
  width: 97px; /* アイコンサイズ */
}

.p-top-university-pr__sns-list img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s;
}

.p-top-university-pr__sns-list a:hover img {
  opacity: 0.7;
}

.p-top-university-pr__sub-label {
  font-size: 20px;
  margin-bottom: 10px;
  color: #595757;
}

.p-top-university-pr__banner {
  display: block;
  width: 100%;
  transition: opacity 0.3s;
}
.p-top-university-pr__banner:hover {
  opacity: 0.8;
}
.p-top-university-pr__banner img {
  width: 100%;
  height: auto;
  display: block;
}

.p-top-university-pr__right {
  width: 68.8%;
  position: relative;
  
  /* アスペクト比で高さを確保（1029 / 834） */
  aspect-ratio: 1029 / 834;
  /* 背景画像 */
  background-image: url(../img/u_footer-video-back-.png); 
  background-size: 100% 100%; /* ボックスいっぱいに引き伸ばす */
  background-repeat: no-repeat;
  background-position: center;
  /* 中身を中央配置 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* 雲の端にかぶらないように余白（微調整してください） */
  padding: 5%;
  box-sizing: border-box;
  margin-top: -5%;
}
.p-top-university-pr__right-woman {
  width: 68.8%; /* 1029px / 1496px */
  position: relative;
  
  /* アスペクト比で高さを確保（1029 / 834） */
  aspect-ratio: 1029 / 834;
  /* 背景画像 */
  background-image: url(../img/j_footer-video-back-.png); 
  background-size: 100% 100%; /* ボックスいっぱいに引き伸ばす */
  background-repeat: no-repeat;
  background-position: center;
  /* 中身を中央配置 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* 雲の端にかぶらないように余白（微調整してください） */
  padding: 5%;
  box-sizing: border-box;
  margin-top: -5%;
}

/* 中身をまとめるdiv（位置調整用） */
.p-top-university-pr__right-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 雲の形によっては少し上にずらした方が真ん中に見える場合があるため */
  /* transform: translateY(-20px); */ 
}

.p-top-university-pr__youtube__head {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #fff;
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
  text-align: center;
}

/* 斜め線の装飾 */
.p-top-university-pr__youtube__head::before,
.p-top-university-pr__youtube__head::after {
  content: "";
  background: #fff;
  width: 1px;
  height: 30px;
  position: absolute;
  top: 50%;
}
.p-top-university-pr__youtube__head::before {
  transform: translateY(-50%) rotate(-25deg);
  left: -25px;
}
.p-top-university-pr__youtube__head::after {
  transform: translateY(-50%) rotate(25deg);
  right: -25px;
}

/* YouTube部分 */
.p-top-university-pr__youtube__movie {
  max-width: 635px;
  width: 100%;
  /* box-shadow: 0 10px 25px rgba(0,0,0,0.15); 浮き上がり効果 */
}

.p-top-university-pr__youtube__movie iframe {
  width: 100%;
  aspect-ratio: 635 / 358;
  height: auto;
  display: block;
}

@media (max-width: 1440px) {
  .p-top-university-pr__label,
  .p-top-university-pr__label-red {
    font-size: 1.5vw;
    margin-bottom: 13px;
  }
  .p-top-university-pr__sns-list li {
    width: 77px;
}
  .p-top-university-pr__right,
  .p-top-university-pr__right-woman {
    padding: 10%;
  }
  .p-top-university-pr__sub-label {
  font-size: 16px;
}
}
@media (max-width: 1080px) {
    .p-top-university-pr__sub-label {
  font-size: 1.4vw;
}
}

@media (max-width: 1024px) {
  .p-top-university-pr__youtube__head {
    font-size: 16px;
    margin-bottom: 13px;
  }
}

@media (max-width: 960px) {
  .p-top-university-pr__label {
        font-size: 1.8vw;
        margin-bottom: 8px;
    }
  .p-top-university-pr__label-red {
        font-size: 1.7vw;
        margin-bottom: 8px;
    }
  .p-top-university-pr__youtube__head {
    font-size: 15px;
    margin-bottom: 15px;
}
.p-top-university-pr__right,
.p-top-university-pr__right-woman {
    width: 70.8%;
}

}
@media screen and (max-width: 768px) {
  .p-top-university-pr__wrap {
    flex-direction: column;
    gap: 60px;
  }
  .p-top-university-pr__left {
    width: 100%;
  }
  /* スマホの時は雲のアスペクト比を維持するか、解除してコンテンツに合わせるか */
  /* .p-top-university-pr__right {
    aspect-ratio: auto;
    background-size: cover;
  } */
  .p-top-university-pr__label, .p-top-university-pr__label-red {
        font-size: 3.2vw;
    }
  .p-top-university-pr__sub-label {
      font-size: 18px;
    }
  .p-top-university-pr__right,
  .p-top-university-pr__right-woman {
        width: 120%;
    }
    .p-top-university-pr__youtube__head {
        font-size: 20px;
    }
}
@media (max-width: 440px) {
  .p-top-university-pr__label, .p-top-university-pr__label-red {
        font-size: 18px;
    }
  .p-top-university-pr__sns-list li {
    width: 63px;
  }
  .p-top-university-pr__right,
  .p-top-university-pr__right-woman {
    padding: 11%;
  }
  .p-top-university-pr__youtube__head {
        font-size: 13px;
    }

}
@media screen and (max-width: 425px) {
  .p-top-university-pr__youtube__head::before, .p-top-university-pr__youtube__head::after {
    height: 20px;
}
.p-top-university-pr__youtube__head::before {
    left: -16px;
}
.p-top-university-pr__youtube__head::after {
    right: -16px;
}
    .p-top-university-pr__youtube__head {
        font-size: 12px;
        margin-bottom: 10px;
    }
}




/*------------------------------------*\
    top university bottom
\*------------------------------------*/
.p-top-university-bottom {
  overflow: hidden;
}
.p-top-university-bottom__wrap {
  background: url(../img/top_bottom_bg.svg) no-repeat center/cover;
  width: 100%;
  box-sizing: border-box;
  padding-top: 182px;
  position: relative;
}
.p-top-university-bottom__image {
  max-width: 1600px;
  width: 83.33%;
  display: block;
  margin: 0 auto;
}
.p-top-university-bottom__title {
  width: 37.6%;
  position: absolute;
  bottom: 50px;
  right: 17%;
}
.p-top-university-bottom__loop__image {
  width: 25%;
}
.p-top-university-bottom__head {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.p-top-university-bottom__head__text {
  padding-right: 25px;
  font-size: 115px;
  line-height: 0.74;
}
@media screen and (max-width: 1280px) {
  .p-top-university-bottom__head__text {
    font-size: 85px;
  }
  .p-top-university-bottom__head__year {
    bottom: 8px;
  }
}
@media screen and (max-width: 768px) {
  .p-top-university-bottom__head__text {
    font-size: 80px;
  }
  .p-top-university-bottom__head__year {
    bottom: 8px;
  }
  .p-top-university-bottom__title {
    width: 70%;
    min-width: 320px;
    top: 85px;
    bottom: auto;
    right: 50%;
    transform: translateX(50%);
  }
}
@media screen and (max-width: 420px) {
  .p-top-university-bottom__head__text {
    font-size: 50px;
  }
  .p-top-university-bottom__head__year {
    bottom: 5px;
  }
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/
.l-footer__wrap {
  position: relative;
  z-index: 500;
}

.l-footer__logo__and__nav__wrap {
  display: flex;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .l-footer__logo__and__nav__wrap {
    display: block;
  }
}
.l-footer__logo__wrap {
  /* background-color: var(--color_blue); */
  width: 28.07%;
  padding: 87px 20px 0 clamp(50px, 4%, 98px);
  box-sizing: border-box;
}

.l-footer__logo {
  max-width: 164px;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .l-footer__logo {
    width: 114px;
  }
}
@media only screen and (max-width: 768px) {
  .l-footer__logo__wrap {
    width: 100%;
    padding: 70px 20px 50px 50px;
  }
}
@media only screen and (max-width: 420px) {
  .l-footer__logo__wrap {
    width: 100%;
    padding: 70px 20px 40px 20px;
  }
}
.l-footer__nav__wrap {
  /* background-color: var(--color_red); */
  width: 71.93%;
  padding: 87px 50px 0 62px;
  box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
  .l-footer__nav__wrap {
    width: 100%;
    margin-left: 0;
    padding: 50px 50px 0 50px;
  }
}
@media only screen and (max-width: 420px) {
  .l-footer__nav__wrap {
    padding: 50px 20px 0 20px;
  }
}
.l-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media only screen and (max-width: 768px) {
  .l-footer__nav ul {
    display: inline-block;
  }
  .l-footer__nav li {
    padding-bottom: 13px;
  }
  .l-footer__nav li:last-child {
    padding-bottom: 0;
  }
}
.l-footer__nav li .l-footer__nav__text {
  font-family: var(--fontjp);
  font-size: 14px;
  font-weight: 600;
  color: #595757;
  white-space: nowrap;
  position: relative;
  transition: all 150ms ease-in-out;
}

.l-footer__nav li .l-footer__nav__text::after {
  content: "";
  width: 0;
  height: 1px;
  background-color: #fff;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: all 150ms ease-in-out;
}

.l-footer__nav li .l-footer__nav__text:hover {
  opacity: 0.7;
}

.l-footer__nav li .l-footer__nav__text:hover::after {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  /* .l-footer__nav li .l-footer__nav__text {
    font-size: 14px;
  } */
  .l-footer__nav li .l-footer__nav__text:hover {
    opacity: 1;
  }
  .l-footer__nav li .l-footer__nav__text:hover::after {
    width: 0;
  }
}
.l-footer__university__nav {
  margin-top: 20px;
  padding-top: 3px;
}

.l-footer__university__nav ul {
  display: flex;
  flex-wrap: wrap;
}

.l-footer__university__nav li {
  padding-left: 16px;
  padding-right: 16px;
  margin-bottom: 20px;
  position: relative;
}

@media only screen and (max-width: 768px) {
  .l-footer__university__nav {
    margin-top: 30px;
  }
  .l-footer__university__nav li {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 3px;
  }
}
.l-footer__university__nav li:first-child:before {
  content: "";
  width: 2px;
  height: 20px;
  background-color: #595757;
  position: absolute;
  top: -3px;
  left: 0;
}

.l-footer__university__nav li::after {
  content: "";
  width: 2px;
  height: 20px;
  background-color: #595757;
  position: absolute;
  top: -3px;
  right: 0;
}

@media only screen and (max-width: 768px) {
  .l-footer__university__nav li:first-child:before {
    height: 16px;
  }
  .l-footer__university__nav li::after {
    height: 16px;
  }
}
.l-footer__university__nav li .l-footer__university__nav__text {
  font-family: var(--fontjp);
  font-size: 14px;
  font-weight: 600;
  color: #595757;
  white-space: nowrap;
  position: relative;
  transition: all 300ms ease-in-out;
}

.l-footer__university__nav li .l-footer__university__nav__text::after {
  content: "";
  width: 0;
  height: 1px;
  background-color: #fff;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: all 300ms ease-in-out;
}

.l-footer__university__nav li .l-footer__university__nav__text:hover {
  opacity: 0.7;
}

.l-footer__university__nav li .l-footer__university__nav__text:hover::after {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  /* .l-footer__university__nav li .l-footer__university__nav__text {
    font-size: 10px;
  } */
  .l-footer__university__nav li .l-footer__university__nav__text:hover {
    opacity: 1;
  }
  .l-footer__university__nav li .l-footer__university__nav__text:hover::after {
    width: 0;
  }
}

.l-footer__address__text {
  font-family: var(--fontjp);
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  color: #595757;
}
@media (max-width: 820px) {
  .c-tablet__block {
    display: block;
}
}

@media only screen and (max-width: 768px) {
  .l-footer__address__wrap {
    margin-top: 30px;
  }
  /* .l-footer__address__text {
    font-size: 10px;
  } */
}
.l-footer__sns__wrap {
  display: flex; 
  align-items: center; 
  justify-content: flex-start; 
  gap: 23px; 
  padding-top: 22px; 
  box-sizing: border-box;
}

.l-footer__sns__text {
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center; /* テキストを中央寄せ */
}


.l-footer__icon__instagram {
  width: 28px;
  margin-right: 10px;
}

@media only screen and (max-width: 768px) {
  .l-footer__sns__wrap {
    margin-top: 30px;
  }
  .l-footer__sns__text {
    font-size: 0.6rem;
  }
  .l-footer__icon__instagram {
    width: 20px;
  }
}
.l-footer__copyright__wrap {
  margin-top: 130px;
  padding-bottom: 40px;
}

.l-footer__copyright {
  font-family: var(--fontjp);
  font-size: 12px;
  line-height: 16px;
  font-weight: 300;
}

@media only screen and (max-width: 768px) {
  .l-footer__copyright__wrap {
    text-align: left;
    margin-top: 50px;
    padding-bottom: 40px;
  }
  .l-footer__copyright {
    /* font-size: 10px; */
    line-height: 14px;
  }
}/*# sourceMappingURL=style.css.map */