@charset "UTF-8" ;
@media screen and (max-width: 767px) {

*{
  box-sizing: border-box;
}
.pc-navi{
	display: none;
}
.sp-navi{
  position: fixed;
  top:0;
  left: 0;
  width: 100%;
	display: block;
  z-index: 100;
}

body{
  padding-top: 60px;
}

.sp-navi-header{
  padding: 10px 0 0 4%;
  height: 60px;
  background-color: #fff;
  box-sizing: border-box;
}

.sp-navi-header__title{
  max-width: 255px;
  width: 70%;
}

.sp-navi-header__title a{
  display: block;
}

.sp-navi-header__title img{
  width: 100%;
  height: auto;
}

.sp-nav-list{
  position: fixed;
  top: 60px;
  right: 0;
  color: #fff;
  width: 100%;
  height: calc(100vh - 60px);
  transition: 0.3s ease-out 0s;
  transition-property: opacity, visibility;
  z-index: 100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  background-color: #286840;
}

.is-drawerActive .sp-nav-list{
  opacity: 1;
  visibility: visible;
}

.sp-nav-list > *:last-child{
  padding-bottom: 50px;
}

.sp-nav-list .sp-gnav{
  
}

.sp-gnav .has-menu p{
  position: relative;
  padding: 1em 3em 1em 4%;
  font-size: 14px;
  pointer-events: none;
}
.sp-gnav .has-menu p::after{
  position: absolute;
  right: 4%;
  top: 14px;
  content: '';
  width: 1.5em;
  height: 1.5em;
  display: block;
  background: url(../img/icon_sp_open.png) no-repeat center /contain;
}
.sp-gnav .has-menu .sp-gnav__child{
  display: none;
}

.sp-gnav .has-menu.is-active .sp-gnav__child{
  display: block;
}

.sp-gnav .has-menu.is-active p::after{
  background: url(../img/icon_sp_close.png) no-repeat center /contain;
}

.sp-nav-list .sp-gnav>li{
  border-bottom: 1px solid #608F71;
}
.sp-nav-list .sp-gnav__child > li{
  border-top: 1px solid #608F71;
}
.sp-nav-list .sp-gnav li a{
  padding: 1em;
  color: #fff;
  text-decoration: none;
}

.sp-nav-list .sp-gnav li:not(.has-menu) > a{
  position: relative;
  display: block;
  padding: 1em 4% 1em calc(4% + 2.25em);
  color: #fff;
  font-size: 14px;
}

.sp-nav-list .sp-gnav li:not(.has-menu) > a::before{
  position: absolute;
  left: 4%;
  top:50%;
  transform: translateY(-50%);
  content: '';
  display: block;
  width: 1.5em;
  height: 1.5em;
  background: url(../img/icon_nav_link_sp.png) no-repeat center / contain;
}

.sp-gnav02{
  margin: 40px auto 0;
  width: 92%;
  box-sizing: border-box;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #fff;
}

.sp-gnav02 th{
  padding: 1em;
  text-align: center;
  color: #fff;
  background-color: #2B957A;
  font-size: 13px;
}
.sp-gnav02 td{
  border-top: 1px solid #fff;
  width: 50%;
}
.sp-gnav02 td:nth-child(even){
  border-left: 1px solid #fff;
}
.sp-gnav02 td > a{
  position: relative;
  padding: 0.75em 4% 0.75em calc(4% + 2.25em);
  display: block;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}
.sp-gnav02 td > a::before{
  position: absolute;
  left: 4%;
  top:50%;
  transform: translateY(-50%);
  content: '';
  display: block;
  width: 1.5em;
  height: 1.5em;
  background: url(../img/icon_nav_link_sp.png) no-repeat center / contain;
}

.sp-gnav03{
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 92%;
  box-sizing: border-box;
}

.sp-gnav03 li{
  width: calc(164 / 335 * 100%);
}

.sp-gnav03 li:nth-child(n + 3){
  margin-top: 8px;
}
.sp-gnav03 li a{
  position: relative;
  padding: 0.75em;
  display: block;
  height: 100%;
  background-color: rgba(255,255,255,0.8);
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}
.sp-gnav03 li a::before{
  content: '>';
  display: inline-block;
  margin-right: 1em;
  padding-bottom: 0.35em;
  line-height: 1;
  vertical-align: middle;
  box-sizing: border-box;
}

.sp-gnav04{
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 92%;
  box-sizing: border-box;
}

.sp-gnav04 li{
  width: calc(164 / 335 * 100%);
}

.sp-gnav04 li:nth-child(n + 3){
  margin-top: 8px;
}
.sp-gnav04 li a{
  position: relative;
  padding: 0.75em;
  display: block;
  color: #fff;
  background: #9f9f9f;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}

.sp-gnav04 li a:hover{
  text-decoration: none;
	background: #838383;
}

.sp-gnav04 li a::before{
  content: '>';
  display: inline-block;
  margin-right: 1em;
  padding-bottom: 0.35em;
  line-height: 1;
  vertical-align: middle;
  box-sizing: border-box;
}

/* ハンバーガー*/

.p-hamburger {
  position: relative;
  position: fixed;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  display: block;
  z-index: 101;
  outline: 0;
  border: 0;
  background-color: #fff;
  width: 60px;
  height: 60px;
  transition: background-color 0.3s cubic-bezier(0.23, 1, 0.58, 1);
}
.p-hamburger__line {
  display: block;
  position: absolute;
  top: -10px;
  right: 0;
  bottom: 0;
  left: 0;
  transition: background 0.2s cubic-bezier(0.23, 1, 0.58, 1);
  margin: auto;
  border-radius: 0.25em;
  background-color: #000;
  width: 48%;
  height: 2px;
}
.p-hamburger__line:after,
.p-hamburger__line:before {
  display: block;
  position: absolute;
  content: "";
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.58, 1), top 0.2s cubic-bezier(0.23, 1, 0.58, 1) 0.2s;
  border-radius: inherit;
  background-color: inherit;
  width: 100%;
  height: 100%;
}
.p-hamburger__line:before {
  top: -8px;
}
.p-hamburger__line:after {
  top: 8px;
}
.is-drawerActive .p-hamburger{
  background-color: #276b42;
}
.is-drawerActive .p-hamburger__line {
  background-color: transparent;
}
.is-drawerActive .p-hamburger__line:after,
.is-drawerActive .p-hamburger__line:before {
  top: 0;
  background-color: #fff;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.58, 1) 0.2s, top 0.2s cubic-bezier(0.23, 1, 0.58, 1);
}
.is-drawerActive .p-hamburger__line:before {
  transform: rotate(-45deg);
}
.is-drawerActive .p-hamburger__line:after {
  transform: rotate(45deg);
}


.p-hamburger::after {
  position: absolute;
  left: 50%;
  bottom: 8px;
  content: 'OPEN';
  font-size: 10px;
  transform: translateX(-50%) scale(0.8);
  color: #000;
}

.is-drawerActive .p-hamburger::after {
  content: 'CLOSE';
  color: #fff;
}

  /* コンテンツ*/
  .inner{
    width: 92%;
    margin: 0 auto;
  }

  #side{
    display: none;
  }


  #main{
    float: none;
    width: 100%;
    padding: 30px 4%;
  }

  /* top
  ------------------------------------------*/
  #top #main {
    float: none;
    width: 100%;
    padding: 30px 4%;
  }
  #mv{
    margin-bottom: 0;
  }

  #mv img{
    width: 100%;
    height: auto;
  }


  .mv-prev, .mv-next {
    width: 20px;
    height: 20px;
  }
  #top .news_list{
    margin: 10px 10px;
  }
  .news_list li{
    flex-wrap: wrap;
  }
  .news_list li span.label{
    font-size: 10px;
    width: 96px;
  }
  .news_list li a{
    margin: 0.5em 0 0;
    width: 100%;
  }
  .blog_list{
    margin-top: 40px;
    display: flex;
    flex-direction: column;
  }
  
  .blog_item{
    width: 100%;
  }

  .blog_item:nth-child(n+2){
    margin-top: 30px;
  }
  
  .blog_item:not(:nth-child(3n + 1)){
    margin-left: auto;
  }
  .katei .box{
    width: 100%;
  }
  .katei .box.fl_r,
  .katei .box.fl_l{
   float: none;
  }

  .katei .box.fl_r img, .katei .box.fl_l img{
    width: 100%;
    height: auto;
  }

  .katei .box.fl_r{
    margin-top: 25px;
  }

  /**
  * 下層ページ
  ***********/

  .page p img{
    width: 100%;
    height: auto;
  }

  .post_text img{
    margin: 10px auto;
    width: 100%;
    max-width: 90%;
    height: auto;
  }

  .tb_s.w100p .tt{
    white-space: wrap;
  }
  .examinfo{
    margin: 10px 0;
  }
  
  .examinfo_list{
    margin: 10px 0;
  }

  .examinfo li{
    flex-wrap: wrap;
  }
  .examinfo li span.label{
    font-size: 10px;
    width: 96px;
  }
  .examinfo li a{
    margin: 0.5em 0 0;
    width: 100%;
  }
  .chart_master,
  .chart_doctoral{
    background-size: contain;
  }

  .chart_master .top {
    width: 100%;
    margin-top: calc(690 / 650 * 100%);
  }
  .chart_doctoral .top {
    width: 100%;
    margin-top: calc(774 / 690 * 100%);
  }

  #students .link_list .fl_l{
    float: none;
  }
  #students .link_list .fl_r{
    float: none;
  }

  #students #main p img{
    width: 100%;
    height: auto;
  }
/**
* blog
***********/
.blog_archive_pagination .navigation.pagination .nav-links .page-numbers {
  display: inline-block;
  margin: 0 2px;
}

.blog_archive_item a{
	display: flex;
  flex-direction: column;
}

.blog_archive_thumb{
	position: relative;
	width: 100%;
}

.blog_archive_body{
  margin-top: 12px;
	margin-left: 0;
	width: 100%;
}

.blog_archive_title{
  margin-top: 0;
}

.blog_archive_info{
  display: flex;
  flex-direction: column;
}
.blog_archive_category{
  margin-top: 10px;
  margin-left: 0;
}

#main .blog_detail_title::before{
	position: absolute;
	bottom: -15px;
	content: '';
	display: block;
	width: 100%;
	max-width: 751px;
	padding-top: calc(74 / 751 * 100%);
	background: url(../img/blog/bg_single_blog_title_sp.png) no-repeat center bottom / contain;
}

.top_blog_title_link_wrap{
  margin-top: 1em;
  position: static;
  text-align: right;
}

  /* フッター
  ------------------------------------------*/
  #footer{
    margin-top: 30px;
  }
  #footer dl.ml0,
  #footer dl{
    width: 100%;
    float: none;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 26px;
  }
}


