body{
  color: black;
  font-family:"Arial","Tahoma","Helvetica",sans-serif;
  overflow-x: hidden;
}
a{
  color: black;
    -webkit-transition: opacity .3s;
  -moz-transition: opacity .3s;
  transition: opacity .3s;
  display: block;
}
.no-padding {
  padding: 0;
}
.reset-right {
  padding-right: 0;
}
.reset-right > div {
  padding-right: 0;
}
.white {
  color: white;
}
a:hover{
  text-decoration: none;
  opacity: .6;
}
h2 a:hover {
  text-decoration: underline;
  color: black;
}
header a {
  display: inline;
}
.container {
  width: 950px;
  max-width: 100%;
  padding-left: 50px;
}
#top-bar{
  width: 100%;
  background-color: #000055;
  height: 40px;
}
header {
  padding-top: 40px;
  background: #ffffff;
  padding-bottom: 40px;
  text-align: center;
}
header h1{
  display: inline;
  font-size: 25px;
  padding-left: 30px;
  font-weight: bold;
}
header .container{
  margin-top: 30px;
  text-align: center;
}
header .container img{
  border-bottom: 2px solid #000055;
  padding-bottom: 30px; 
}

.slider-element{
  position: relative;
}

/*menu*/
#menu-wrapper{
  border-bottom: 1px solid #000055;
}
#menu {
  list-style: none;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
  max-width: 580px;
  align-self: center;
  padding: 0;
  padding-top: 13px;
  padding-bottom: 13px;

}
#menu li a {
  color: #000247;
  font-size: 18px;
}

/* slider */
.slider-img{
  width: 100%;
}
/* date */
.date-bg{
    background: url("../img/date-bg.png");
    width: 100%; 
    height: 251px;
  }
#date-wrapper{
  margin-top: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 40px;
}
#date-wrapper h1 {
  margin-top: 0;
  font-weight: 600;
  font-style: italic;
  padding-bottom: 30px;
  border-bottom: 1px solid white;
  margin-bottom: 30px;
  font-size: 48px;
}
#date-wrapper .col-xs-2{
  padding-left: 0;
}
#date-wrapper .col-xs-10{
  padding-left: 0;
}
#date-wrapper img{
  margin-right: 15px;
}
#date-wrapper .event{
  font-size: 26px;
  line-height: .9;
  font-weight: 400;
  padding-top: 7px;
  font-style: italic;
  font-weight: bold;
}
.grey{
  color: #666666;
}
.event .grey {
  font-size: 26px;
}
.event-small{
  font-size: 15px;
  padding-top: 5px;
  font-weight: normal;
  padding-right: 12px;
  text-align: left;
}
.event-small .grey {
  font-size: 14px;
}
.red{
  color: #ac0d00;
}

/*anker-menu*/
#anker-menu-wrapper{
  /*margin-top: 43px;*/
}
#anker-menu {
  list-style: none;
  margin: 0 auto;
  text-align: center;
  max-width: 710px;
  padding: 0;
}
#anker-menu li {
  padding-top: 13px;
  padding-bottom: 13px;
  border-right: 1px solid #cfcfcf;
}
#anker-menu li:last-child {
  border-right: none;
}
#anker-menu li a {
  color: #000;
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
  background: url(../img/ico/arrow.png) no-repeat center bottom;
  padding-bottom: 8px;
  font-style: italic;
}

h2{
  margin-top: 60px;
  margin-bottom: 60px;
  text-align: left;
  font-size: 28px;
  font-weight: bold;
  color: white;
  font-style: italic;
}
h2 a {
  text-decoration: underline;
}
.line-height-15{
  line-height: 1.5;
}
h3{
  font-size: 24px;
  color: white;
  margin-top: 50px;
  font-weight: bold;
}
h4{
  margin-top: 60px;
  margin-bottom: 60px;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}
.text{
  font-size: 15px;
  font-weight: 600;
  color: white;
  font-weight: normal;
}
/* segments */
/*.parallax {
    background-attachment: fixed;
    background-size: cover;
    padding-bottom: 70px;
}*/
.bg-1 {
    background-image: url(../img/bg/bg-1.png);
    
}
#about {
  background-image: url(../img/bg/bg-2.png) ;
}
#about .container{
  padding-top: 20px;
  padding-left: 15px;
  padding-right: 15px;
}
#intro {
  background-image: url(../img/bg/bg-3.png) ;
}
#about h2 {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 90px;
}
#study .container {
  padding-left: 0;
  padding-right: 0;
}
#study h2 {
  padding-left: 0;
}
#study_wrapper{
  display: flex;
  flex-shrink: 0;
}

.full-width-study{
  width: 100%;
  margin-top: 60px;
}
.full-width-study .container,
#intro .container {
  background: white;
}
#intro .full-width-intro .container,
#intro .aboutkeio .container{
    padding-right: 0px;
    padding-left: 0px;
    background: transparent
}
.full-width-study .container:before {
  left: 0 !important;
}
.full-width-study h3 {
  margin-left: 50px;
}
.full-width-study .container .col-sm-4{
padding: 1px;
}
.full-width-study .container:before,
#intro .container::before{
    width: 21px;
    top: 64px;
    height: 2px;
    background: #b32216;
    left: -50px;
    clear: both;
    display: table;
    content: " ";
    position: relative;
}
#introduction .container:before {
  left: 0px !important;
}
#introduction .container h4 {
  margin-left: 50px !important;
}
#intro .full-width-intro .container:before,
#intro .aboutkeio .container:before {
  background: none;
}
.full-width-study h3,
#intro h4{
  font-size: 24px;
  color: black;
  font-style: italic;
  
  margin-bottom: 60px;
  margin-top: 50px;
  text-align: left;
}
.full-width-study p {
  color: black;
  font-size: 15px;
  font-weight: 100;
  margin-top: 30px;
  margin-left: 20px;
  font-weight: bold;
  padding-bottom: 20px;
  line-height: 1.4;
}

/* about */
.box-nr {
  font-size: 91px;
  font-weight: bold;
  border-bottom: 3px solid black;
  line-height: 0.79;
  text-indent: -2px;
  position: relative;
}

.headline{
  font-size: 25px;
  font-weight: bold;
  margin-top: 20px;
  line-height: 1.3;
  color: white;
  font-style: italic;
}
.desc{
  font-size: 15px;
  font-weight: bold;
  margin-top: 20px;
  color: white;
  margin-bottom: 50px;
}
#study-img-container{
  text-align: center;
  margin-top: 70px;
  padding-bottom: 70px;
  border-bottom: 1px solid #dfdfdf;
}
#study h2 {
  max-width: 900px;
  margin-top: 60px;
  margin-bottom: 60px;
}
#study #study-fair-cont {
  max-width: 900px;
  margin: 0 auto;
}
#study-fair-cont .text {
  font-weight: bold;
}
#study-fair-cont .pull-right a {
  padding: 0;
  margin-bottom: 30px;
}
#study #study-fair-url img {
  width: 100%;
}
#study-img-container img{
  width: 100%;
}
/* intro */
#intro h2{
  margin-bottom: 20px;
  text-align: left;
}
#intro p{
  font-size: 16px;
  font-weight: bold;
  font-style: italic;

}
.full-width-intro{
  background-size: cover;
  width: 100%;
  text-align: center;
  margin-top: 60px;
  padding-bottom: 15px;
}

.intro-desc{
  background: white;
  font-size: 18px;
  padding: 30px;
  font-weight: bold;
  text-align: left;
  line-height: 1.3;
  width: 90%;
  height: 80px;
  position: absolute;
  bottom: 10px;
  font-style: italic;
}
.intro-desc:after{
  content: "";
  background: url(../img/arrow_box.png) no-repeat;
  width: 8px;
  height: 13px;
  position: absolute;
  right: 10px;
  bottom: 30px;
}
#intro .text-black {
  color: black;
  text-align: center;
  font-style: normal;
  margin-top: 30px;
  font-weight: bold;
}
.text-black img{
  margin-bottom: 2px;
}
.intro-box-image{
  padding-bottom: 33.33333%;
  position: relative;
  overflow: hidden;
}
.top5 .intro-desc {
  padding-top: 15px;
}
.full-width-intro .col-sm-4{
  margin: 0;
  background-repeat: no-repeat;
  background-size: cover;
}
.btn{
      border: 2px solid #cccccc;
    border-radius: 0;
    margin-top: 15px;
    color: black;
    /* padding-right: 30px; */
    /* padding-left: 30px; */
    font-size: 16px;
    font-weight: bold;
    margin: 0 auto;
    position: relative;
    display: block;
    width: 185px;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}
.btn:after{
  content: "";
  background: url(../img/arrow_small.png) no-repeat;
  width: 20px;
  height: 24px;
  position: absolute;
  top: 13px;
  right: 0px;
}
#intro .diagram-headline{
  font-size: 18px;
  font-weight: 100;
  padding-bottom: 15px;
  line-height: 1.1;
  font-weight: bold;
}
.student-box-image{
  margin-bottom: 30px;
  text-align: center;
}
.student-box-image img {
  width: 100%;
}
.student-desc{
  font-size: 15px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 40px;
}
.student-name{
  display: block;
  font-weight: bold;
  font-size: 12px;
  color: #999999;
  margin-top: 7px;
  text-align: left;
}
#follow-us{
  text-align: center;
  padding-bottom: 70px;

}
.full-width{
  width: 100%;
}

#intro #follow-us p{
  font-weight: normal;
  margin-bottom: 70px;
  font-weight: bold;
}
#introduction{
  background-size: cover;
}
#introduction .container {
  padding-left: 0px;
  padding-right: 0px;
}
#introduction .text {
  color: white;
  font-size: 14px;
}
#introduction .t-align-left p{
  text-align: left;
}
#introduction .text-24{
  font-size: 24px;
  padding-top: 90px;
}
#introduction .font-18{
  font-size: 18px;
  padding-top: 45px;
  padding-bottom: 24px;
}
.i-row{

}
.i-row .no-padding {
  padding: 1px;
}
.i-row:before{
  clear: both;
  display: table;
  content: " ";
}
.i-row:after{
  clear: both;
  display: table;
  content: " ";
}
.yt-container{
  margin-top: 35px;
}
h2.small{
  font-size: 24px;
}
.pbottom35{
  padding-bottom: 35px;

}
.max-height-for-fb{
  height: 843px;
}
.max-height-for-fb iframe{
  height: 100%;
}
/*venue */
#venue h2 {
  color: black;
  text-align: left;
}
#venue .text {
  color: #666666;
  text-align: left;
  font-style: italic;
  margin-bottom: 40px;
}
#venue .col-sm-4{
  padding-right: 0;
}
#venue .col-sm-8{
  padding-left: 0;
}
#venue img{
  width: 100%;
  max-height: 600px;
}
#venue .maps{
  height: 600px;
  margin-bottom: 10px;
}
#venue h2{
  margin-top: 0;
  padding-top: 60px;
  margin-bottom: 30px;
}
#venue p{
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

/*footer*/
footer{
  padding-top: 10px;
  margin-top: 60px;
  border-top: 1px solid #cfcfcf;
}
footer ul {
  margin-left: 0;
  padding-left: 0;
}
footer ul li{
  float: left;
  list-style: none;
  padding-right: 30px;
  
} 

footer p {
  color: #878787;
  font-size: 9px;
  font-weight: 200;
}
footer .col-sm-6{
  text-align: left;
}
footer .to-top{
  text-align: right;
}
#arrow-top{
  display: inline-block;
  background: url("../img/arrow_top.jpg") no-repeat center top;
  padding-top: 10px;
  font-size: 16px;
}
.clear{
  clear: both;
}

/*media query*/
@media (max-width: 34em) {
  .container, #study h2, .full-width-study h3{
    padding-left: 15px;
    padding-right: 15px;
  }
  #anker-menu li a {
    font-size: 12px;
    padding: 10px;
  }
  #date-wrapper {
    padding: 15px;
  }
  .event-small {
    font-size: 12px;
  }
  #anker-menu li {
    padding: 0;
  }
  header img{
    border: none;
  }
  h2, .full-width-study h3{
    font-size: 36px;
  }
  .full-width-study img{
    width: 100%;
  }
  .aboutkeio{
    padding: 10px;
  }
  #about h2 {
    padding: 10px !important;
}
.intro-box-image {
  padding-bottom: 60%;
}
  .full-width-intro .col-sm-4 {
    background-position: 0;
  }
  #introduction .text-24{
    font-size: 16px;
    padding-top: 40px;
  }
  footer .col-sm-3{
    text-align: center;
  }
  header h1{
    display: block;
    padding-left: 0;
  }
  #menu li a {
    font-size: 15px;
  }  
  #date-wrapper .event{
    font-size: 15px;
    padding-bottom: 5px;
    line-height: 1;
  }
  #date-wrapper .event .grey {
    font-size: 15px;
  }
  footer ul li{
    padding-right: 15px;
  }
  #venue .col-sm-8{
    padding-left: 15px;
  }
  #venue .col-sm-4{
    padding-right: 15px;
  }
  #about .col-sm-4{
    padding-bottom: 40px;
  }
  .right-diagram{
    padding-top: 40px;
  }
  .max-height-for-fb iframe{
    max-width: 100%;
  }
  .pbottom35{
    padding-left:0;
    padding-right:0
  }
}
 
/** overlay */

.hidden{
  display: none;
}

.overlay{
 background: rgba(0,0,0,0.8);
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
          justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.close-yt{
  font-weight: 100;
  color: white;
  position: absolute;
  top: 0;
  right: -20px;
  font-size: 22px;
  transform: rotate(90deg);
  cursor: pointer;
}
.inner-overlay{
  position: relative;
}
.inner-overlay iframe{
  max-width: 100%;
}
.float-left{
  float: left;
}

.flex {
  display: flex;
  width: 100%;
}
.flex div {
  width: 50%;
  background: #efefef;
  /* height: 100%; */
  padding: 0;
  margin: 0;
  align-items: center;
  display: flex;
  padding-left: 50px;
}
.flex div .text-black {
  text-align: left !important;
}
.flex a {
  width: 50%;
  display: inline-block;
}
.flex a img {
  width: 100%;
}
.text-small {
  color: #666666;
  padding-left: 40px;
  display: inline-block;
  font-size: 15px;
}
.btopbottom {
  border-top: 1px solid #ccc;
  padding-top: 35px;
  border-bottom: 1px solid #ccc;
  padding-left: 0;
}
.instabtn {
  border-bottom: 1px solid #ccc;
  padding-top: 35px;
  margin-bottom: 35px;
}
.snswrap {
  padding-left: 0;
  padding-right: 0;
}
.snswrap a{
  font-size: 20px;
  font-weight: bold;
}
.snswrap img {
  width: 100%;
}
.snsflex{
  display: flex;
}
.snsflex img {
  width: 56px;
  
  
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .snsflex img {
  height: 47px;
  }
}
.snsflex a {
    align-self: center;
    justify-content: center;
    display: inline-block;
    background: url(../img/arrow_right.png) no-repeat center right;
    margin-left: 30px;
    width: 100%;
    text-align: left;
}
.reset {
  display: inline-block;
  margin-bottom: 0 !important;
}
