@charset "utf-8";
/*
Theme Name: 2024_東海大学山形高等学校
Description: This is our original theme.
Version: 1.0
*/
/*---------------------------*/
/* スクロールバー削除 */
/* ::-webkit-scrollbar {
  width: 0;
  height: 0;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
} */
/*---------------------*/
body *{
  font-family: "Noto Sans JP", sans-serif;
	    font-size: 1.2rem;
}
.wpcf7-form label{font-size: 1rem;}
a,.sl_btn,.openbtn2{
	transition: all .5s;
}
a:hover{
 opacity: .7;
 transition: all .2s;
}
h1{
	font-weight: bold;
}
img{
  vertical-align:bottom;
}
.openbtn2:hover {
 opacity:.7;
}
.sl_btn:hover{
  opacity:.7; 
 transition: all .2s;
}
span.new-txt {
    color: red;
    display: block;
    border: 2px solid red;
    padding: 0px 5px;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 0.625em;
}
span.no-txt {
  visibility: collapse;
}
.tokushin #toku_bg h2 {
	display: grid;
	justify-items: center;
	color: #1b4a96;
	font-size: 2em;
	font-weight: bold;
	margin-left: 5em;
	padding-top: 19em;
	background: linear-gradient(90deg, #184a9a 10%, #00a0e9 70%);
  background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
h2{
	display: block;
	justify-items: center;
	color: #1b4a96;
	font-size: 1.5em;
	font-weight: bold;
}

.more-btn p {
  display: flex;
  width: 216px;
  font-size: 1.2em;
  background-color: #FFF;
  color: #ee6b00;
  border-radius: 100vh;
  padding: 8px 7px 8px 17px;
  align-items: center;
  justify-content: space-between;
}

.more-btn p::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: url(./img/button01.png) no-repeat center center;
  background-size: contain;
}

/*========= XボタンのためのCSS ===============*/ 
/*ボタン内側*/


.openbtn2 span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
  left: 26.5%;
  height: 4px;
  background-color: #fff;
  }

/* .openbtn2 span:nth-of-type(1) {
  top:30%; 
  width: 47%;
} */
.openbtn2 span:nth-of-type(1) {
  top: 17%;
  width: 47%;
}

/* .openbtn2 span:nth-of-type(2) {
  top: 44.62%;
  width: 47%;
} */
.openbtn2 span:nth-of-type(2) {
  top: 32.62%;
  width: 47%;
}

/* .openbtn2 span:nth-of-type(3) {
  top:60%;
  width: 47%;
} */
.openbtn2 span:nth-of-type(3) {
  top: 48%;
  width: 47%;
}

/* .openbtn2 .hme_m{
  background-color: transparent;
  height: auto;
  font-size: 12px;
  top: 67%;
  width: fit-content;
  right: 0;
  left: 0;
  margin: 0 auto;
  color: #fff;
  font-weight: 600;
} */
.openbtn2 .hme_m {
  background-color: transparent;
  height: auto;
  font-size: 12px;
  top: 60%;
  width: fit-content;
  right: 0;
  left: 0;
  margin: 0 auto;
  color: #fff;
  font-weight: 600;
}


/*activeクラスが付与されると線が回転して×に*/
/* .openbtn2.active span{
  background-color: #fff;
  top: 44.62%;
  left: 26.5%;
  width: 47%;
} */
.openbtn2.active span {
  background-color: #fff;
  top: 32.62%;
  left: 26.5%;
  width: 47%;
}


.openbtn2.active span:nth-of-type(1){
  transform:rotate(-45deg);
}

.openbtn2.active span:nth-of-type(2){
  background-color: rgba(255, 255, 255, 0);
}

.openbtn2.active span:nth-of-type(3) {
  transform:rotate(45deg);
}
/* .openbtn2.active span.hme_m {
  background-color: transparent;
  top: 67%;
  left: 0%;
  width: fit-content;
} */
.openbtn2.active span.hme_m {
  background-color: transparent;
  top: 60%;
  left: 0%;
  width: fit-content;
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  width:100%;
  height: 100vh;/*ナビの高さ*/
  /*ナビのスタート位置と形状*/
  top:0;
  left:-120%;
  background:rgba(18,56,118,0.90);
  /*動き*/
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
  left: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  /* overflow: hidden; */
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/

.menu_move{
	margin-bottom: 120px;
}
.menu_innar{
  max-width: 1200px;
  margin: 0 auto;
}
.twcal_menu {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
#g-nav .f_box,#g-nav .r_box{
	width: 40%;
}
.menu_logo_img {
  width: 40%;
  margin: 0 auto 7%;
}
.menu_logo_img a{
  display: block;
}
.menu_logo_img img {
  width: 100%;
}
#g-nav .menu_move{
  position: absolute;
  z-index: 999;
	width: 100%;
  left: -100%; /* 初期位置を左に設定 */
  top:0;
  transition: left 0.5s ease; /* アニメーションの追加 */
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive .menu_move{
  left: 0;
  top: 85px;
}

/*-----ヘッダーレイアウト-------*/
.head-space{
	height: 85px;
	width:100%;
}
header{
	position: fixed;
	z-index: 9999;
	right: 0;
	top:0;
	height: 85px;
	width: 100%;
	background-color: rgba(255,255,255,0.67);
}
header h1{
  display: grid;
  align-items: center;
  margin-left: 65px;
} 

header h1 img{
  width: 100%;
}

header .h_btn{
  width: fit-content;
  display: flex;
  column-gap: 9px;
	margin-top: 7px;
}
.m-menu{
	width: 100%;
	 display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
}
header .h_contact{
  width: 70px;
  height:70px;
  background-color: #1b4a96;
}
.h_menu_btn{
  width: fit-content;
  height: fit-content;
}
header .openbtn2{
	background-color: #dab059;
	z-index: 9999;
	width: 70px;
	height:70px;
	position: relative;/*ボタン内側の基点となるためrelativeを指定*/		
	cursor: pointer;
}
.m-menu {
  padding-right: 2%;
}
/*-----------トップビュー----*/
.sp_top{
	display: none;
}
.top_vw {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: 622px;
}

.top_vw .top_title {
    display: flex;
    justify-content: flex-end;
	margin-right: 118px;
}

.top_vw .top_title img{
  height: 77%;
	    margin-top: 10%;
}

.top_vw .top_image{
  display: grid;
  align-items: end;
  justify-items: start;
}

.top_vw .top_image .logo_le{
  width: fit-content;
}

.top_vw .top_image img {
  padding: 0 2% 1% 7%;
  width: 96%;
}
.logo_le{
	width: 100vw;
	height: 100%;
}
.min_logo_le{
	margin-top: -38px;
}
.min_logo_le img{
	display: block;
    margin: 0 auto;
	width:30%;
}
.top_vw .top_image {
  background: url(./img/top_img.png) center center no-repeat;
  background-size: cover;
	background-position: top center;
}
/*------お知らせ-------*/
.important{
	margin:5% 0;
}
.important h3 {
	background-color: #F05A24;
    color: #fff;
    padding: 5px 10px;
    border: none;
}
.important h3 a {
	color:#fff;
    right: 10px;
}
.important .box_news {
    border: 2px solid #F05A24;
    padding: 5px;
    background-color: #FFFFDB;
}
.important .news_tl a .cf{
  display: flex;
  align-items: center;
  column-gap: 30px;
  padding: 2%;
  border-bottom: 3px dashed #1b4a96;
  width: 100%;
	font-size:1rem;
}
.news .con_news{
  padding-bottom: 110px;
	max-width:65%!important;
	margin: 0 auto;
	margin-top:10%;
}
.news_tl a{font-size:1rem;}
.news news_tl{
  margin-bottom:50px;
}

.news dl a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 30px;
  padding: 3% 0;
  border-bottom: 2px dashed #1b4a96;
  width: 100%;
}

.news dt{
	font-size: 1.2em;
	margin-right: 15px;
}

.news dd{
  width: 65%;
  font-size: 1.3em;
  letter-spacing: 0.05em;
	margin-right: 15px;
}
.news .new-txt{
	    margin-top: 14px;
}

.news .news_l{
  margin-top:30px;
  display: flex;
  justify-content: flex-end;
  
}
.news_tl dl dt{
		color: #000!important;
	}

.news .news_l a{
  font-size: 1em;
  width: 200px;
  font-weight: 600;
  color: #1b4a96;
  display: flex;
  align-items: center;
  column-gap: 10px;
  justify-content: flex-end;
}

.news .news_l a::after{
  content: "";
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  background: url(./img/button02.png) no-repeat center center;
  background-size: contain;
}
.ne_text{
	display:flex;
	gap: 0 2%;
	  align-items: center;
}
/*----メインスライダー-------------*/
/* .main_slider{
  display: grid;
  justify-items: center;
} */

/* .main_slider::before {
  content: '';
  display: block;
  width: 50%;
  height: 7px;
  border-bottom: 7px solid #1b4a96;
} */

/* .main_slider .innar {
  height: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
} */

/* .main_slider .sl_layout {
  display: block;
  grid-template-columns: min-content minmax(auto,1000px) min-content;
  column-gap: 0.4vw;
  height: fit-content;
  width: fit-content;
  justify-items: center;
  justify-content: center;
  aspect-ratio:3.79/1;
} */

/* .main_slider .m_slider_bg{
  margin: 120px 0 150px;
  width: 100%;
  max-width: 100%;
  height: 400px;
  background: url(./img/back.png)center center no-repeat;
  background-size: cover;
} */
 .m_slider_bg {
    display: flex;
    align-items: center;
}
.main_slider .m_slider_bg {
    margin: 120px 0 150px;
    width: 100%;
    max-width: 100%;
    background: url(./img/back.png)center center no-repeat;
    background-size: cover;
    padding: 2% 0;
    box-sizing: content-box;
}
.sl_layout {
    width: 43%;
    margin: 0 auto;
}
.main_slider .slider {
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 3;
  overflow: hidden;
}

.main_slider .slider li.slider-item{
  height: 100%;
  width: 100%;
}

.main_slider .slider a{
  display: inline-block;
  width: 100%;
  height: auto;
}

.main_slider .slider img{
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 3;
} 
/*進む、戻るボタン*/
.main_slider .sl_btn{
  display: none;
  aspect-ratio:1/6.38;
}

.main_slider .sl_btn img{
  display: block;
  max-width: 100%;
  min-width: auto;
}

/*----------コース紹介------------*/
.pc_course{
		display: inline-block;
	}.sp_course{
		display: none;
	}
.course{
	padding-top: 120px;
}
.bg_bl{
    background: linear-gradient(-45deg, #184a9a, #00a0e9, #184a9a, #00a0e9);
    background-size: 800% 800%;
	animation: gradient-animation 12s ease infinite;
  padding-bottom: 50px;
	padding-top: 100px
}
@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.course img{
    width: 100%;
  }

.course .innar {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 90px;
	width:70%;
	margin:0 auto;
    background: url(./img/t_logo02.png) 787px 0px no-repeat;
    background-size: 340px;
    margin-top: -137px;
}

.course h2{
    color: #FFF;
    padding-top: 86px;
    margin: 0;
    text-align: center;
}

.course .course_de{
  display: flex;
  row-gap: 35px;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 45px;
}
.course .course_de .more-btn a {
  display: flex;
  width: 216px;
  font-size: 1.2em;
  background-color: #FFF;
  color: #ee6b00;
  border-radius: 100vh;
  padding: 8px 7px 8px 17px;
  align-items: center;
  justify-content: space-between;
}
.course .course_de .more-btn a::after{
 content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: url(./img/button01.png) no-repeat center center;
  background-size: contain;
}

.course h3{
  position: relative;
  top: 4%;
  left: -21%;
  font-size: 3.2em;
  font-weight: 900;
  color: #1b4a96;
}

.course h3 .c_block{
  width: max(372px);
  height: max(97px);
  position: relative;
  z-index: 1;
  display: flex;
  background: #FFF;
  border: #1b4a96 1px solid;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 600;
}

.course h3::after{
  z-index: 0;
  display: block;
  position: absolute;
  content: '';
  bottom: 0px;
  left: 1%;
  width: 60%;
  height: 18%;
  background: #1b4a96;
  transform: rotate(-5deg);
}

.course h3 .font_bold{
  font-size: 1em;
  font-weight: 800;
}

.course p:first-of-type{
  color: #FFF;
  font-size: 1.2em;
  letter-spacing: 0.02em;
  line-height: 1.7em;
  text-align: start;
}

.course .con_cou{
  justify-content: center;
  column-gap: 20px;
}

.course .con_cou:nth-of-type(2) .course_de{
  order: 1;
  align-items: flex-end;
}

.course .con_cou:nth-of-type(2) img{
  order: 2;
}

.course .con_cou:nth-of-type(2) h3{
  top: 4%;
  left: 21%;
}

.course .con_cou:nth-of-type(2) h3::after{
  top: 0;
  right: 0;
  left: auto;
}
/*--------学校生活------------*/


.school-life {
    background: url(https://www.diversitymedia.jp/tokai/wp/wp-content/themes/tokai2024/img/course/corse_bg_02.png) no-repeat;
    background-size: cover;
    background-position: top 410px left;
}
.school-life-min {
    background: url(./img/T_logo.png) 774px 117px no-repeat;
    background-size: 340px;
    padding-top: 100px;
}

.school-life h2{
	margin-top: 90px;
	margin-bottom: 70px;
	text-align: center;
}

.sl_innar{
  margin:0 auto;
  max-width: 1200px;
}

.school-life .sl-vw{
  width: 100%;
  aspect-ratio:2.66/1;
  height: auto;
  overflow: hidden;
}
.school-life .sl-vw {
    width: 100%;
    aspect-ratio: 1.784 / 1;
    height: auto;
    overflow: hidden;
}
.school-life .school {
    margin-top: 100px;
    margin-bottom: 90px;
}
video.vid_main{
	transform: translateY(-22%);
}

.sc_contents {
    max-width: 960px;
    margin: 0 auto 38px;
}
/*--------これが東海--------*/
.kore-tou{
  position: relative;
  overflow: hidden;
	max-width: 1200px;
  margin: 0 auto 140px;
}

.kore-tou a {
    display: block;
    margin: 0 auto;
}

.kore-tou .tou-bg {
    background: url(./img/koregatokai_img.png) top left no-repeat;
    background-size: 100%;
	margin:0 auto;
    width: 70%;
    height: auto;
    aspect-ratio: 1.331 / 1;
}


/*無限スライダー*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
    to {
    transform: translateX(-100%);
  }
  }
  .img-gallery {
    display: flex;
	  overflow: hidden;
    position: absolute;
	  top:69%;
	  right: 0;
	  left: 0;
}
  .infinite-slider {
    display: flex;
    list-style: none;
    padding: 0
  }
  .infinite-slider-left {
    animation: infinity-scroll-left 50s infinite linear 0.5s both;
  }
  .scroll-infinity__item {
    width: calc(100vw / 8);
    margin-right: 0.2%;
}
  .scroll-infinity__item>img {
    width: 100%;
  }

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.kore-tou .infinite-slider .slick-slide {
  margin:0 5px;/*スライド左右の余白調整*/
}
/*------------メッセージ-----------------*/
.message {
    margin-bottom: 140px;
    margin: 0 auto 140px;
    max-width: 1200px;
}
/*---------------リンク-----------------*/

.other-links ul {
  display: flex;
  justify-content: center;
  justify-items: center;
	width: 100%;
    margin: 0 auto;
}

.other-links ul li{
  display: grid;
  justify-content: center;
  align-items: center;
	margin: 2%;
}

/*------------申込み----------------*/
.application {
  display: none;
  position: fixed;
  z-index: 5;
  bottom: 0%;
  right: 0%;
  width: 410px;
  background: rgb(16,78,156);
  background: linear-gradient(90deg, rgba(16,78,156,1) 0%, rgba(0,163,240,1) 100%);
  border: #fff solid 1.5px;
  border-bottom: none;
}
.application a:hover{
	opacity: 100%;
}

.application .app_innar {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.application p:first-of-type {
    font-size: 1.6em;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin: 12px 0 16px;
    font-weight: 700;
    color: #FFF;
}

.application .cancel {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: #5e5e5e;
  width: 23px;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

.application .cancel:hover{
  opacity: 0.7;
}

.application .cancel::after,
.application .cancel::before {
  display: block;
  position: absolute;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  content: "";
  width: 55%;
  height: 1px;
  margin: auto;
  background-color: #FFF;
  transform: rotate(-45deg);
}
.application .cancel::before{
  transform:rotate(45deg);
}

.application .more-btn {
  display: flex;
  width: 150px;
  font-size: 0.7em;
  background-color: #FFF;
  color: #104E9C;
  border-radius: 100vh;
  padding: 8px 7px 8px 17px;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
}

.application .more-btn::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: url(./img/button02.png) no-repeat center center;
  background-size: contain;
}

/*---------フッダー-----------*/
footer {
  margin-top: 130px;
  border-top: 15px solid #1b4a96;
}

footer .con_foot_01 {
  display: flex;
  margin: 40px 1%;
  align-items: center;
  justify-content: space-evenly;
}

footer .con_foot_01 img{
  max-width: 530px;
  min-width: auto;
}

footer .con_foot_01 p{
  font-size: 1em;
  letter-spacing: 0.05em;
  line-height: 1em;
}
/*----241030追加分----*/
footer .con_foot_04::before{
  content:"";
  display: block;
  width: 100%;
  aspect-ratio: 1.92/0.009;
  background-color: #dcdcdc;
  /* border-top:3px solid #dcdcdc; */
}
.sm_cal {
  display: flex;
  justify-content: space-evenly;
  width: 50%;
  min-width: 770px;
  margin: 1% auto;
}
.sm_title {
  font-weight: 700;
}
.sm_cal .sm_p:nth-of-type(2) .sm_item:nth-of-type(2) .sm_title{
  margin-top:1em;
}
.con_foot_04 .sm_arrw {
  position: relative;
  display: inline-block;
  padding: 0.3em;
}
.con_foot_04 .sm_arrw::before {
  content: "";
  width: 0.3em;
  height: 0.3em;
  border-top: solid 2px #000;
  border-right: solid 2px #000;
  position: absolute;
  transform: rotate(45deg);
  right: 0.25em;
  top: 25%;
}
.con_foot_04 a,
.con_foot_04 p{
  font-size: clamp(14.4px,0.83vw,16px);
}
/*---------------*/
footer .con_foot_02 {
  padding: 15px 0;
  background-color: #dcdcdc;
}

footer .con_foot_02 .innar {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

footer .con_foot_02 .box_foot_left ul{
  display: flex;
  column-gap: 1vw;
  align-items: center;
  justify-content: space-around;
}

footer .con_foot_02 .box_foot_right ul{
  display: flex;
  column-gap: 1vw;
  align-items: center;
  justify-content: space-around;
}

footer .con_foot_03 {
  padding: 1% 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .con_foot_03 p{
  font-size: 0.65em;
}

@media screen and (max-width: 960px){
  html{
    font-size: 12px;
  }
  .innar{
    width: 96%;
    margin: 0 auto;
  }
  .mobile_innar {
    width: 96%;
    margin:0 auto;
  }

  h2{
    display: block;
    font-size: 2em;
    font-weight: 700;
}
	
  /*ヘッダー*/

  header.mobile_innar_box{
	padding: 0 2%;
    margin-bottom:10px;
  }

  header h1 {
    margin-left: 0;
    margin-top: 0;
  }

  header .mobile_innar {
    margin: 2% auto 6%;
  }
  .openbtn2 {
    width: 70px;
    height: 70px;
	}
	header .h_contact{
		 width: 70px;
		 height: 70px;
	}

  .openbtn2 span {
    height: 4px;
  }
	.m-menu{
		padding-right: 0;
	}

  header .h_btn {
    column-gap: 2vw;
  }

  header h1 img {
    width: 350px;
  }
	.nav_flex{
		display: block;
	}
  .twcal_menu {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  #g-nav .f_box,#g-nav .r_box {
    width: 80%;
  }
	.min_menu02{
    gap:10px;
    grid-template-columns: 1fr 1fr 1fr ;
  }
.news .con_news{
		margin-top: 80px;
	    max-width: 90% !important;

	}
  /*トップビュー*/
	
  /*.top_vw{
    position: relative;
  }

  .top_vw .top_title {
    position: relative;
    height: 93%;
    top: 4%;
    left: 10%;
    margin-right: 0;
  }

  .top_vw .top_title img{
    height: 100%;
  }


  .top_vw .top_image {
    background-size: cover;
  }*/

  /*メインスライダー*/
	.sl_layout {
    width: 100%;
    margin: 0 auto;
  }
  .main_slider::before {
    width: 84%;
  }

  .main_slider .m_slider_bg {
    margin: 50px 0 100px;
    height: 300px;
  }
	
  /*コース紹介*/
	.pc_course{
		display: none;
	}.sp_course{
		display: block;
	}
  .course {
    padding-bottom: 50px;
  }
	.course .innar {
		width: 100%;
		max-width: inherit;
		row-gap: 40px;
		margin-top: -144px;
		background: url(./img/t_logo02.png) 87% 0px no-repeat;
		background-size: 65%;
	}
	.course img {
    width: 95%;
    margin-right: 5%;
	}
  .course .con_cou:nth-of-type(2) .course_de{
    order: 2;
    align-items: center;
  }
  
  .course .con_cou:nth-of-type(2) img{
    order: 1;
  }
  
  .course .con_cou:nth-of-type(2) h3{
    top: auto;
    left: auto;
  }
  
  .course .con_cou:nth-of-type(2) h3::after{
    top: 0;
    right: 0;
    left: auto;
  }

  .course .con_cou {
    display: flex;
    flex-direction: column;
    justify-content: center;
    column-gap: 0;
    align-items: center;
  }
  .course .course_de {
    position: relative;
    top: -8%;
    margin-top: 0px;
    align-items: center;
  }

  .course h3 {
    top: 0%;
    left: 0%;
  }

  .course .con_cou h3::after {
    top: 0;
    right: 0;
    left: auto;
  }

  .course p:first-of-type {
    text-align: center;
	font-size: 1.55em;
  }
	.course .course_de .more-btn a{
		width: 180px;
	}
	.bg_bl {
    border-radius: 14px;
}
	
  /*学校生活*/
	.school-life-min {
    background: url(./img/T_logo.png) 20% 117px no-repeat;
    background-size: 340px;
    padding-top: 100px;
}
	
  .school-life h2 {
    margin-top: 55px;
    margin-bottom: 40px;
  }
  .school-life .school {
    flex-direction: column;
  }
  .school-life .sl-vw {
    width: 100%;
    aspect-ratio: 2/1;
    height: auto;
    overflow: hidden;
  }
  .school-life .school img {
    width: 100%;
  }
  .school-life .school .sc_contents{
    margin-bottom: 70px;
  }
  .school-life .school .sc_contents:nth-of-type(1)  h3 {
    right: 0.8%;
  }
  .school-life .school .sc_contents:nth-of-type(2) {
    margin-bottom: 70px;
  } 
  .school-life .school .sc_contents:nth-of-type(2) img {
    order: 2;
  }
  .school-life .school .sc_contents:nth-of-type(2) h3{
    order: 1;
    left: 0;
    right: auto;
  }
	.school-life .school .more-btn p{
	  width: 180px;
	}
	#nenkan{
		margin-left: 0;
	}
	
  /*これが東海*/
	.kore-tou .tou-bg {
		background: url(./img/sp_koregatokai_img.png) top left no-repeat;
		aspect-ratio: 1 / 1.2;
		background-size: cover;
		
	}
	.kore-tou a {
    margin: 0px auto 25px;
}
  .scroll-infinity__item {
    width: calc(100vw / 4);
  }
	.kore-tou{
  margin: 0 auto 90px;

}
	

	
  /*各種リンク*/
	
  .other-links ul {
	  display:block;
    grid-template-columns: minmax(auto,400px);
    column-gap: 0;
  }
	.other-links ul li{
		margin:10% 0;
	}
  /*バナー*/
	
  .application {
    width: 410px;
  }
  .application .more-btn {
    width: 117px;
  }
	
  /*フッダー*/

  footer .con_foot_01 img {
    width: 38.80vw;
  }
  footer .con_foot_01 p {
    font-size: 2vw;
    letter-spacing: 0.05em;
    line-height: 1em;
}
  /*-----241030追加分-------*/
  footer .con_foot_04{
    display: none;
  }
  /*-------------------*/
  footer .con_foot_02 {
    padding: 1.56vw 0;
}
  footer .con_foot_02 .innar {
    padding: 0 20px;
  }

  /* footer .con_foot_02 .box_foot_left ul {
    column-gap: 10px;
  } */

  footer .con_foot_02 .box_foot_left li {
  width: 9.37vw;
  /* font-size: medium; */
  }
  /* footer .con_foot_02 .box_foot_left li a{
    font-size: medium;
  } */
  footer .con_foot_02 .box_foot_left li img{
    /* vertical-align: sub; */
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  footer .con_foot_02 .box_foot_left li:last-of-type{
    display: none;
  }
  /* footer .con_foot_02 li {
    display: flex;
    align-items: center;
  } */
  footer .con_foot_02 .box_foot_right ul {
    column-gap: 10px;
  }
  footer .con_foot_02 .box_foot_right li {
    font-size: medium;
    display: flex;
    align-items: center;
  }
  footer .con_foot_02 .box_foot_right ul a {
    font-size: 1.8vw;
  }
  footer .con_foot_03 p {
    font-size: 1.3vw;
  }
}

  /*特進コース*/

#toku_bg h2 {
	display: grid;
    justify-items: center;
    color: #1b4a96;
    font-size: 2em;
    font-weight: bold;
    margin-left: 5em;
    padding-top: 19em;
    background: linear-gradient(90deg, #184a9a 10%, #00a0e9 70%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


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

  html{
    font-size: 10px;
  }
	.pc_innar{
		display:none;
	}
	.sp_top{
		display: block;
	}
  .more-btn p,.more-btn a{
    width: 160px;
	font-size: 1.2em;
  }
	.min_logo_le {
    width: 68%;
    margin-left: 22%;
}
  /*ヘッダー*/
	.head-space {
    	height: 70px;
	}
	header {
		height: 70px;
	}
  header h1 img {
    width: 200px;
  }

  header .h_contact {
    width: 50px;
    height: 50px;
  }
	header .openbtn2 {
		width: 50px;
		height: 50px;
	}
	.menu_move{
		    font-size: 1.25em;
	}
	/* #g-nav.panelactive ul {
		left: 0;
	} */
  .menu_ac_con_l{
    margin-bottom: 20px;
  }
	.min_menu02{
	gap:10px;
	grid-template-columns: 1fr 1fr ;
	}
  header .openbtn2 span {
    height: 3px;
  }
  .openbtn2 .hme_m {
    font-size: 9px;
  }
	    .school-life-min {
        background: url(./img/T_logo.png) 20% 117px no-repeat;
        background-size: 210px;
        padding-top: 100px;
    }
	    .course .innar {
        background-size: 49%;
    }
	video.vid_main {
    transform: translate(0%, -24%);
    width: 160%;
	}
	    .school-life .sl-vw {
        width: 100%;
        aspect-ratio: 3 / 2;
        height: auto;
        overflow: hidden;
    }

  /*トップビュー*/
  /*.top_vw {
    height: 400px;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 500px;
  }

  .top_vw .top_title {
    height: 74%;
  }

  .top_vw .top_image {
    background-position: 44% 46%;
    background-size: 377%;
  }

  .top_vw .top_image img {
    width: 90%;
    padding-left: 40px;
    padding-bottom: 5px;
  }
	.school-life .sl-vw{
  width: 100%;
  aspect-ratio:2/1;
  height: auto;
  overflow: hidden;
}
.school-life .sl-vw video {
    position: relative;
    top: -55px;
    left: 0;
    width: 100%;
}*/
	.min_logo_le img{width:100%;}
  /*メインスライダー*/

  .main_slider .m_slider_bg {
    height: 140px;
  }
  /*コース紹介*/
	
  .course h3 span {
    width: auto;
    height: auto;
  }

  .course h3 .c_block {
    width: max(222px);
    height: max(54px);
    font-size: 2.8rem;
  }
	.news {
		padding-bottom:100px;
		max-width:90%!important;
	}
	.important .news_tl a .cf{
		display:block;
	}
	.news dl {
	  border-bottom: 2px dashed #1b4a96;
	}
	.news dt{
		margin-top: 7px;		
	}
	.news dd {
    width: 100%;
    margin-right: 0;
	}
	.news .new-txt {
    margin-top: 5px;
	border: 1px solid red;
		margin-left: 8px;
	}
	.news dl a {
    display: block; 
    padding-bottom: 2%;
    margin-top: 2%;
    border-bottom: none;
	}
	.news .news_l a {
		font-size: 1.3em;
	}
	
	.bg_bl {
    padding-top: 103px;
	}
	span.new-txt {
    font-size: 1em;
	}

  .course .course_de {
    row-gap: 10px;
  }

  /*学校生活*/
  .school-life .school h3 {
    font-size: 6em;
  }
  .school-life .school .more-btn p {
    width: 140px;
  }
  /*これが東海*/
  .kore-tou {
    position: relative;
    margin-bottom: 15%;
	  width: 96%
  }
 
  .scroll-infinity__item {
    width: calc(100vw / 5);
  }
  .kore-tou .more-btn {
    position: absolute;
    left: 34%;
    top: 76%;
}
	.kore-tou .more-btn p{
	  width: 140px;
		max-width: 156px;
	}

  /*メッセージ*/
  .message {
    margin-bottom: 90px;
  }
	.course .course_de .more-btn a{
		width: 140px;
	}
  /*バナー*/
  .application {
    position: fixed;
    z-index: 5;
    bottom: 0%;
    right: 0%;
    width: 100%;
   background: rgb(16,78,156);
background: linear-gradient(90deg, rgba(16,78,156,1) 0%, rgba(0,163,240,1) 100%);
	   
	 border: none;
	  border-top: #fff solid 1.5px; 
  }
  .application .app_innar {
    padding: 22px 0;
  }
  /* .application .cancel {
    width: 5.5%;
    max-width: 24PX;
  } */
  .application p:first-of-type {
    font-size: 1.35em;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    font-weight: 400;
    color: #FFF;
  }
  .application .more-btn{
    display: none;
  }
  /*フッダー*/
  footer {
    margin-top: 90px;
    border-top: 4px solid #1b4a96;
  }
  footer .con_foot_01 {
    padding: 0 5px;
    margin: 12px 0;
  }
  /* footer .con_foot_01 p{
    font-size: 0.7em;
  } */
  footer .con_foot_02 {
    padding: 3px 0;
    background-color: #dcdcdc;
  }
  footer .con_foot_02 .innar {
    padding: 0px 5px;
  }
  footer .con_foot_02 .box_foot_left li {
    width: 50px;
  }
  /* footer .con_foot_02 .box_foot_right ul a{
    font-size: 0.8em;
  } */
}