@charset "UTF-8";

html{
    overflow-x: hidden;
}

header, #top_img,#top_about .d_fl,.wrap{
	min-width:initial;
}
header{
    padding: 50px 0 0 4%;
}
header.under{
    padding: 20px 0 20px 4%;
}
header #logo,
header.under #logo{
	width:70%;
}


/*-----------------------------------------------
__Global Navi
-----------------------------------------------*/

  #drawer-icon {
    cursor: pointer;
    display: inline-block;
    height: 50px;
    position: absolute;
    width: 50px;
    right: 6%;
    top: 54px;
    z-index: 50;
  }
  .under #drawer-icon {
	top: 30px;
	right: 40px;
  }


  #drawer-icon span {
    background:  #fff;
    display: block;
    height: 10%;
    left: 50%;
    margin: -8% 0 0 -42%;
    position: absolute;
    top: 50%;
    transition: all 0.3s ease-in-out;
    width: 100%;
  }
  #drawer-icon span::before,
  #drawer-icon span::after {
    -webkit-transform: rotate(0);
    background: #fff;
    content: "";
    display: block;
    height: 100%;
    left: 50%;
    margin: -8% 0 0 -50%;
    position: absolute;
    top: 50%;
    transform: rotate(0);
    transition: all 0.3s ease-in-out;
    width: 100%;
  }
  #drawer-icon span,
  #drawer-icon span::before,
  #drawer-icon span::after{
      background: #de1819;
  }

  #drawer-icon span::before {
    margin-top: -38%;
  }
  #drawer-icon span::after {
    margin-top: 30%;
  }
  #drawer-checkbox:checked ~ #drawer-icon span {
    background: rgba(255, 255, 255, 0);
  }
  #drawer-checkbox:checked ~ #drawer-icon span::before,
  #drawer-checkbox:checked ~ #drawer-icon span::after {
    content: "";
    display: block;
    height: 100%;
    left: 50%;
    margin: -8% 0 0 -42%;
    position: absolute;
    top: 50%;
    width: 100%;
    background: #333;
  }
  #drawer-checkbox:checked ~ #drawer-icon span::before {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  #drawer-checkbox:checked ~ #drawer-icon span::after {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
.toggleWrap {
    overflow: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 40;
    width: 50%;
    max-width: 90%;
    height: 100%;
    background: url(../images/bg_pattern.gif) repeat;
    transition: all 0.3s ease-in-out 0s;
    transform: translateX(100%);

    padding:100px 40px 40px 40px;
  }
  #drawer-checkbox:checked ~ .toggleWrap {
    transform: translateX(0);
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.16);
  }
  
  #drawer-close {
    display: none;
    position: fixed;
    z-index: 39;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/bg_visual.png) right repeat rgba(117, 5, 3, 0.377);
    opacity: 0;
    transition: all 0.3s ease-in-out 0s;
  }
  #drawer-checkbox:checked ~ #drawer-close {
    display: block;
    opacity: 1;
  }

  .toggleWrap nav{
      align-items: flex-end;
  }
  .toggleWrap nav a{
    color: #333;
    }
 .toggleWrap nav,#gl_nv{
      flex-direction: column;
  }
  #gl_nv, #gl_nv > li{
      width: 100%;
      text-align: right;
      margin-bottom: 20px;
  }
  #gl_nv > li a{
      font-size: 2.2em;
  }
  .under .toggleWrap nav a,
  .toggleWrap .language a.current{
	color: #333;
}

.page_overview ul{
    justify-content:space-between
}
.page_overview ul > li{
    width: 48%;
    margin-bottom: 20px;
}
.page_overview ul > li:not(:first-of-type){
	padding-left: 0;
}
.page_overview ul > li a{
    display: block;
    border: 2px solid #fff;
    padding: 10px;
}
.page_overview ul > li a::before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    background:#fff;
    vertical-align: middle;
    margin-right: 10px;
}

#overview > .d_fl,
.schedule dt{
    flex-direction: column;
}
.under .box_02 > article{
    width: 100%;
    margin:0 auto;
}
.under .map{
	width: 100%;
    margin:40px auto 0 auto;
}
.under .map iframe{
	width: 100%;
    height: 300px;
    margin-bottom: 30px;
}
.under .box_02 .map iframe{
    height: 300px;
    margin-bottom: 0;
}
.schedule dl{
    padding: 16px;
    margin: 20px 0 0 0;
}
.schedule dt{
    margin-top: -60px;
}
#admission  article:first-of-type{
    flex-wrap: wrap;
    margin-bottom: 40px;
}
#admission  article:first-of-type dl{
    width: 46%;
}
#admission article:first-of-type .red:last-of-type{
    margin-left: 5%;
}
#admission article:first-of-type > p{
    margin-left: 0;
    width: 100%;
}
#admission .btn_block a{
	padding-left: 60px;
	border-radius: 50px;
	position: relative;
}
#admission .btn_block a img{
	position: absolute;
	left: 26px;
	top: 50%;
	margin-right: 0;
	transform: translateY(-50%);
}
#main.under .student_life img{
	max-height: 260px;
}

#main.under #graduate h2{
	font-size: 1.8em;
}
#main.under #graduate h2 span{
	padding: 20px 0 20px 40px;
	border-left:40px solid #de1519;
}


#graduate article.d_fl{
    flex-direction: column;
}
#graduate .d_fl > dl{
	width: 100%;
}
#graduate .d_fl > dl:nth-of-type(2n){
	margin-left: 0;
}
#graduate .d_fl > dl:nth-last-of-type(2){
    margin-bottom: 60px;
}
#graduate .d_fl > dl:last-of-type{
	margin-bottom: 0;
}


/* index */
  #top_img h1{
      padding:0 30px;
      font-size: 6vw;
      text-align: left;
  }
  #top_img h1 span{
      display: block
  }
  #top_img h1 span:last-of-type{
      display: inline-block;
      padding-right: 0.25em;
  }

  #top_about::before{
	bottom: auto;
    top: -60px;
    height: 90%;
}
#top_about section::before{
    left: auto;
    right: -40px;
	top: -70px;
}
  #top_about .d_fl{
        flex-direction: column-reverse;
  }
  #top_about .d_fl > div,#top_about .d_fl section{
      width: 90%;
      max-width: 0 auto;
  }
  #top_about section{
      margin-left: 0;
  }
  #top_about svg{
	position: absolute;
	z-index: 1;
    width: 240px;
    left: auto;
	right: -100px;
	bottom: 120px;
    }
    #top_about .d_fl > div::after{
        top: auto;
        bottom: 10%;
    }
    .x-slide {
        margin: 130px auto;
    }
    .x-slide span{
        font-size: 5vw;
    }


    #president{
        display: block;
        position: relative;
    }
    #president > div{
        position: absolute;
        left: -10px;
        top: 50px;
        width: 32%;
    }
    #president .name{
        width: 100%;
        font-size: 90%;
        bottom: 2%;
        white-space: nowrap;
    }

    #president > section{
        width: 100%;
        margin: 0;
    }
    #president > section p{
        padding: 0 0 0 35%;
    }
    #president h2{
        white-space: nowrap;
        font-size: 5vw;
    }

    #top_fb{
        flex-direction: column;
    }
    #top_fb section{
        margin-right: 0;
        margin-bottom: 30px;
    }
    #top_fb .fb_box{
        width: 80%;
    }
    .fb-page,
    .fb-page iframe{
        width: 100% !important;
    }
    #top_fb section::after{
        right: -100px;
        bottom: 0;
    }
    #top_fb .pana_animation{
        left: auto;
        right: -20%;
        bottom: auto;
        top: 0;
        animation: fish2 3s infinite;
    }
    @keyframes fish2 {
        50% {
           animation-timing-function: ease-out;
           transform: translateX(-100%) rotateY(0deg);
       } 90% {
           animation-timing-function: ease-in;
           transform: translateX(0) scale(1,1) rotateY(180deg);
       } 
   }
   
   #top_graduate h2{
       padding-top: 60px;
   }
   .swiper-container-horizontal>.swiper-scrollbar{
       width: 96% !important;
   }
   
   footer address{
       flex-direction: column;
   }
   footer address article{
       margin-bottom: 30px;
   }
   footer address iframe{
       width: 100%;
   }
   footer aside .wrap{
        flex-direction: column-reverse;
        justify-content: center;
        align-items: flex-start;
        font-size: 80%;
    }
    footer aside li:last-of-type{
        margin-bottom: 1em;
    }