@charset "UTF-8";
/**
 * Stylesheet for Top Page
 * 
 */

/* ==========================================================================
   Module
   ページを構成するスタイルを定義
 ========================================================================== */
/*------------------------------------------
  コンテンツエリア
--------------------------------------------*/
main {
  padding: 0;
}
.common_wrap, .common-wrap {
  width: 100%;
}

.content-wrap {
  margin: 0 auto;
}
@media only screen and (max-width: 767px) {
  .content-wrap {
    width: 100%;
  }
}

.area-box {
  padding: 80px 0;
  text-align: center;
  background-repeat: no-repeat;
  background-position: bottom;
  margin: 0 auto;
}
.area-box h2,
.area-box p {
  margin-bottom: 18px;
}
.area-box h2 {
  font-size: 40px;
  line-height: 1;
}
.area-box p {
  font-size: 16px;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .area-box {
    padding: 40px 10px;
  }

  .box-teacher,
  .box-movie,
  .box-voice {
    height: auto;
    background-image: none;
  }

  .area-box p {
    line-height: 1.4;
    margin-left: 0;
  }

  .area-box h2 {
    font-size: 28px;
  }
}


/* ニュースバナー */
.news-banner a{
  display: block;
  border:1px solid #ccc;
  color: #333;
}
.news_banner-text{padding: 15px;}
.news_banner-text p{margin: 10px 0 15px;}
.news_banner-text span{
  width: 100%;
  display: block;
  text-align: right;
}

@media only screen and (max-width: 767px) {
  .news-banner a{min-height: 180px; position: relative;}
  .news-banner ul li{
    width: 50%;
    padding: 5px;
  }

  .news-banner ul li figure img{width: 100%;}
  .news-banner ul{margin:0; padding: 5px;}
  .news_banner-text{padding: 10px;}
  .news_banner-text span{position: absolute; right: 10px; bottom: 10px; font-size: 12px;}
}

/*------------------------------------------
  トップスライド
--------------------------------------------*/
ol.flex-control-nav {
  bottom: -40px;
  line-height: 11px;
  z-index: 999;
}
.metaslider .flexslider {
  margin-bottom: 0 !important;
}

.metaslider > div{
  /* margin: 0 0 80px 0; */
  margin: 0 0 120px 0;
}


.flex-viewport {
  overflow: visible !important;
}

.theme-default .nivo-controlNav a{background: url('../images/bullets.png') no-repeat !important; }

/* ipadはみ出し対策 */
@media only screen and (max-width: 1366px) {
  .metaslider{overflow: hidden; overflow-x: hidden;}
}

@media only screen and (max-width: 736px) {
  .metaslider > div{margin: 0 0 40px 0;}

}

.top_slide .flex-active-slide {
  overflow: hidden;
}

.top_slide .flex-active-slide img {
  animation: zoomDown 4s linear 0s 1 normal both;
}

.metaslider .flexslider {
  position: relative;
}

.metaslider .flex-pauseplay {
  position: absolute;
  bottom: -40px;
}

.metaslider .flexslider .flex-pauseplay .flex-play,
.metaslider .flexslider .flex-pauseplay .flex-pause {
  background: #8f8f8f !important;
}

/* WPプラグインのカルーセルスライダー部分 */
.metaslider.newstopic_slider {
  overflow: hidden;
}

.metaslider.newstopic_slider .flex-viewport ul li {
  position: relative;
}

.metaslider.newstopic_slider .flex-viewport ul li a {
  position: relative;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 100px;
  cursor: pointer;
  z-index: 1000;
}

.metaslider.newstopic_slider .caption-wrap {
  /* position: static; */
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  padding: 15px;
  height: 100px;
}

.metaslider.newstopic_slider .caption-wrap::after {
  position: absolute;
  content: "▶ 詳しくはこちら";
  bottom: 10px;
  right: 10px;
}

/* 停止/開始ボタン */
.metaslider .flex-pauseplay {
  bottom: -90px !important;
  left: 46% !important;
  transform: translateX(-50%) !important;
}
.metaslider .flexslider .flex-pauseplay .flex-play,
.metaslider .flexslider .flex-pauseplay .flex-pause {
  width: 80px !important;
  height: 40px !important;
  border-radius: 7px !important;
  font-size: 30px !important;
  color: rgba(0,0,0,.9) !important;
  background-color: #fff !important;
  border: 2px solid !important;
}

/* フォーカスがあたった(flex-activeとなった)スライドのoutlineを設定 */
.metaslider a {
  outline: revert !important;
}
/*------------------------------------------
  NEW TOPICS
--------------------------------------------*/
/* .topics_body ul li:first-child {
  border-top: 1px dashed #bbb;
  padding-top: 12px;
} */

/*------------------------------------------
  コンテンツ
--------------------------------------------*/
/* 医学部医学科へ導く講師陣 */
/* .box-teacher h2{color: #00316c;} */

/* 授業風景 */
.box-movie h2, .box-movie p{color: #fff;}

.youtube-wrap{max-width: 370px; margin:0 auto 20px;}

.box-movie .youtube-resp{max-width: 370px;}

/* コースのご案内・寮について */

.system-box a{display: block;}
.col4.system-box li{padding: 0;}

.system-box li:nth-of-type(1) .system-text{background-color: #568bdd;}
.system-box li:nth-of-type(2) .system-text{background-color: #3aaade;}
.system-box li:nth-of-type(3) .system-text{background-color: #27c0dc;}
.system-box li:nth-of-type(4) .system-text{background-color: #02a59a;}

.system-box li:nth-of-type(1) .system-text p{color: #568bdd;}
.system-box li:nth-of-type(2) .system-text p{color: #3aaade;}
.system-box li:nth-of-type(3) .system-text p{color: #27c0dc;}
.system-box li:nth-of-type(4) .system-text p{color: #02a59a;}


/* 校舎案内 */
.col3.school-link > li{
  padding: 0;
  display: block;
  max-width: 350px;
  height: 350px;
  float: left;
  border-style: solid;
  border-color: #fff;
  border-width: 0 10px;
}

.col3.school-link > li:first-child{border-width: 0 10px 0 0;}
.col3.school-link > li:last-child{border-width: 0 0 0 10px;}

.school-link > li > a{
  color: #fff;
  display: block;
  padding: 40px 20px;
  background-color: #2068c8;
}

/* .school-link > li > a > h3{font-size: 20px; margin-bottom: 30px;}
.school-link > li > a > h3 > span{font-size: 40px; display: block; padding-top: 12px;}
.school-link > li > a > p{border:1px solid #fff; padding: 10px; margin-bottom: 12px;}
.school-link > li > a > ul{font-size: 13px; text-align: left; margin-bottom: 18px; line-height: 1.4;}
.school-link > li > a > p.tel-text{
  border:none;
  font-size: 26px;
  margin-bottom: 0;
  padding:0;
  letter-spacing: 2px;
  } */

.school-link > li > a > h3{font-size: 2rem; margin-bottom: 30px;}
.school-link > li > a > h3 > span{font-size: 3rem; display: block; padding-top: 12px;}
.school-link > li > a > p{border:1px solid #fff; padding: 10px; margin-bottom: 12px;}
.school-link > li > a > ul{font-size: 1rem; text-align: left; margin-bottom: 18px; line-height: 1.4;}
.school-link > li > a > p.tel-text{
  border:none;
  font-size: 2rem;
  margin-bottom: 0;
  padding:0;
  letter-spacing: 2px;
}

/* CONTENTS */

.course-link a{
  display: block;
  width: 33.33% ;
  height: 230px;
  float: left;
  background-color: #c3c0a8;
  border: 2px solid #fff;
  position: relative;
}

.course-link a figure{
  display: inline-block;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate( -50%, -50%);
  display: inline-block;
}

.course-link a figure.cl-ph{top: 35%;}
.course-link a figure.cl-ph2 img{max-width: 300px;}

.course-link a span{
  font-size: 23px;
  color: #fff;
  position: absolute;
  top: 160px;
  left: 0;
  right: 0;
  margin: auto;
}

/* マップエリア */


.map-box .col2{border:none;}

.access-box {
  color: #fff;
  display: block;
  background-color: #014099;
  height: 430px;
  position: relative;
}

.access-box > div{display: inline-block; position: absolute; top: 50px; right: 50px;}

.access-box h3{font-size: 30px; margin-bottom: 30px; color: #fff799;}
.access-box h3 > span{font-size: 20px; display: block; padding-top: 12px; color: #fff;}
.add-text{margin-bottom: 35px;}
.add-text li{line-height: 1.4;}
.add-text li:first-child{margin-bottom: 16px;}

.tel-text{margin-bottom: 30px;}
.tel-text li{
  border:none;
  font-size: 2rem;
  margin-bottom: 0;
  padding:0;
  letter-spacing: 2px;
}

.tel-text li a{color: #fff;}

a.map-formlink{
  max-width: 400px;
  display: block;
  border:1px solid #fff;
  padding: 10px;
  margin-bottom: 12px;
  text-align: center;
  font-size: 20px;
  color: #fff;
}

a.map-formlink::before{
  display: inline-block;
  content: url('../images/icon-mail.png');
  width: 28px;
  height: 18px;
  margin-right: 10px;
  position: relative;
  top: 2px;
}


/* −−−−−−−−−−−−−−−−−−−−−−コンテンツエリア SP−−−−−−−−−−−−−−−−−−−−−− */
@media only screen and (max-width: 767px) {

  .content-wrap{
    width: 100%;
  }

  /* 各コンテンツの背景色、高さ、画像設定 */
  .area-box{padding: 40px 10px;}
  .box-teacher,.box-movie,.box-voice,.box-system{
    height: auto;
    background-image: none;
  }

  .area-box h2{font-size: 22px; font-weight: bold;}
  .area-box p{line-height: 1.4; margin-left: 0;}

  /* 医学部医学科へ導く講師陣 */

  /* 授業風景 */

  /* コースのご案内・寮について */
  .system-box li:nth-of-type(odd){padding:5px 5px 5px 0;}
  .system-box li:nth-of-type(even){padding:5px 0 5px 5px;}

  .system-text{height: 60px;}

  .system-text p{
    width: 100%;
    height: 50px;
    top: -30px;
    left: 0;
  }

  .system-text p span{top: 5px; left: 5px; font-size: 12px;}
  .system-text p i{font-style: normal; display: block; font-size: 10px;}

  .arrowlink-front{position: absolute; bottom: 10px; left: 10px; color: #fff;}
  .arrowlink-front::before{
    content: "\00ff1e"; /* ＞ の文字　*/
    margin-right: 5px;
  }

  /* 校舎案内 */
  .col3.school-link > li{height: auto; float: none; margin:0 auto;}
  .col3.school-link > li,
  .col3.school-link > li:first-child,
  .col3.school-link > li:last-child{
    border-width: 0 0 10px 0;
  }


  .school-link > li > a{ padding: 20px;}

  /* CONTENTS */

  .course-link a{width: 50%; height: 150px; border-width: 5px;}
  .course-link a:nth-of-type(odd){border-width: 5px 5px 5px 0;}
  .course-link a:nth-of-type(even){border-width: 5px 0 5px 5px;}
  .course-link a figure{padding:10px;}
  .course-link a figure.cl-ph2 img{max-width: 120px;}
  .course-link a span{font-size: 16px; top: 90px;}


  /* マップエリア */

  .access-box{height: 100%;}

  .access-box > div{
    display: block;
    position: static;
    text-align: center;
    padding: 16px;
  }

  .map-box .col{margin-bottom: 0;}

  .access-box h3{font-size: 25px; margin-bottom: 15px;}
  .access-box h3 > span{font-size: 18px;}
  .add-text{margin-bottom: 15px;}
  .add-text li:first-child{font-size: 35px;}

  .tel-text{margin-bottom: 15px;}
  .tel-text li{
    border:none;
    font-size: 1.8rem;
    margin-bottom: 0;
    padding:0;
    letter-spacing: 2px;
  }

  .footer a.map-formlink{
    width: calc(100% - 20px);
    padding: 10px;
    margin: 0 auto;
  }

  .map-formlink::before{
    margin-right: 10px;
  }

}
