@charset "utf-8";
/* レイアウトのためのCSS --------------------- */
body{
    font-family:"Kosugi Maru", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	color: #333;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
    /*background-color: gold;*/
}

@media screen and (max-width:768px) {
body{
	font-size:0.9rem;
	}
}

*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #333;
	text-decoration: none;/**/
    outline: none;
}

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

/* font-family ----------------------- */

h1,
h2,
h3 span,
#g-nav,
.openbtn,
#footer{
    /*font-family: 'Lato', sans-serif;*/
	font-family: "M PLUS 1", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 0.1em;
}

p {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* heading ------------------------ */

h1{
    text-transform: uppercase;
    font-size: 1.8rem;
    position: absolute;
    top: 50%;
    left: 5%;
    line-height: 1;
    letter-spacing: 0.1em;
}

#header2 h1{
    text-transform: uppercase;
    font-size: 1.8rem;
    position: absolute;
    top: 2%;
    left: 3%;
    line-height: 1;
    letter-spacing: 0.1em;
}

@media screen and (max-width:768px) {
	h1{
        font-size:1.2rem;
        top: 10px!important;
		left:2%;/**/
    }
	#header2 h1{
		font-size: 1.4rem;
	}
}

@media screen and (max-width:550px) {
    h1{
        font-size:1.2rem;
		top:10px;
    }
	#header2 h1 {
		font-size: 1.2rem;
	}
}


h1 a,
#header2 h1 a{
    color:#3a5ea5;
}

h2{
    text-transform: uppercase;
    font-size: 4.5rem;
	padding: 20px 0px 10px;
}

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

  h2{
      font-size:3.5rem;
    }
}

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

  h2{
      font-size:2.3rem;
    }
}

/* main-area */

#main-area{
    width:100%;
    margin:0 auto;
    padding: 50px 0; 
}
#main-area-page{
    width:100%;
    margin:0 auto;
    padding: 0 20px 80px; 
}

/* topics ------------------------- */

#topics{
    border-left:5px solid #002662;
    padding: 0 0 0 40px;
}

@media screen and (max-width:768px) {
    #topics{
        margin:0 0 100px 10px;
}
}

#topics h2{
    font-size: 1.5rem;
}

#topics h2 span.bgLRextend::before{
    background:#333;
}

.bx-wrapper{
    box-shadow:none;
    border:none;
}

/* 1. schedule ---------------------- */

#schedule{
    margin:0 0 100px 0;
   
}

@media screen and (max-width:768px) {
    #schedule{
        margin:0 0 50px 0;
    }
    
}

#schedule .content{
   width:100%; 
   text-align: center;
　　background-color: #fff;
}

@media screen and (max-width:768px) {
    #schedule .content{
        background-size: 280px;
    }

#schedule .content{
   width:100%; 
    text-align: center;
}  
}

@media screen and (max-width:550px) {
    #schedule .content{
        background-image: none;
    }
}

#schedule h2{
    color:darkblue;
    margin:0 0 30px 0;
	text-align: center;
}

#schedule p{
    line-height: 2;
    margin: 0 0 50px 0;
	text-align: center;
}
#schedule .btn{
    text-align: center;
}

/* 2.event -------------------- */
#event {
	background-color: gold;
	width:100%;
	padding-bottom: 100px;
	text-align: center;
}

#event h2 {
    text-align: center;
    margin:20px 0;
}

#event h3 {
    text-align: center;
    margin:0 0 50px 0;
}

@media screen and (max-width:550px) {
#event h2{
    margin:0 0 50px 0;
    }
}

/* 3.about -------------------- */
#about {
	background-color:cornflowerblue;/**/
	width:100%;
	padding: 0 50px 100px;
	text-align: center;
	color: #fff;
}

#about h2 {
    text-align: center;
    margin:50px 0;
	
}

#about h3 {
    text-align: center;
    margin:0 0 80px 0;
}

@media screen and (max-width:550px) {
	#about {
		padding:0 10px 50px;
	}	
	
#about h2{
    margin:0 0 50px 0;
    }
}


/* 4. faculty -------------------- */
#faculty {
	margin-bottom: 100px;
	text-align: center;
    padding-bottom: 50px;

}

#faculty h2,
#faculty h3{
	text-align: center;
	margin: 20px auto;
}

#faculty p {
	width: 100%;
	margin: 0 auto;
	text-align: left;/**/
	letter-spacing: -0.1em;
}

#bunkyo{
	background-color: pink;
	text-align: center;
}

#bunkyo h2 {
	color:crimson;
}
#rigaku{
	background-color: lightblue;
	text-align: center;
}
#rigaku h2 {
	color:darkblue;
}
#seikatsu {
	background-color: lightgreen;
	text-align: center;
}

#seikatsu h2 {
	color:green;
}
#kyousou {
	background-color:orange;
	text-align: center;
}
#kyousou h2 {
	color:orangered;
}


/* 5. tuition-fee --------------- */
#tuition-fee{
	padding-bottom: 100px;
	background-color: gold;

}
#tuition-fee h2,
#tuition-fee h3{
	text-align: center;
	margin: 0 auto 20px;
}

/* 6. schoollife --------------- */

#schoollife{
    margin: 0 auto 50px;
	padding: 20px 20px 100px;
	background-color:cornflowerblue;
	color: #fff;

}

@media screen and (max-width:768px) {
#schoollife{
    margin: 0 0 50px 0;
}
    
}

#schoollife h2,
#schoollife h3{
    text-align: center;
    color:#fff;
    margin:0 0 30px 0;
}

@media screen and (max-width:550px) {
#schoollife h2{
    margin:0 0 20px 0;
    }
}

/* faq ------------------------ */

#faq{
    margin:0 0 200px 0;
	padding: 20px 40px;
}

#faq h2{
    text-align: center;
    margin:0 0 100px 0;
}

#faq h2 span.bgLRextend::before{
    background:#333;
}

@media screen and (max-width:550px) {
#faq{
    margin:0 0 100px 0;
}
    
#faq h2{
 margin: 0 0 50px 0;   
}

}

/* access ------------------------*/
#access{
    margin:0 0 80px 0;
}

#access h2{
    text-align: center;
    margin:0 0 50px 0;
    color:#3A5EA5;
}

#access h3{
    text-align: center;
    margin:10px;
    padding: 10px;
    background-color: #002662;
    color:#f3f3f3;
}

#access h4{
    text-align: left;
    margin:10px;
    padding: 5px;
    border-left: #002662 solid 5px;
    color:#002662;
    font-size: 1.2rem;
}
#access p {
    margin: 10px;
    font-size: 1.0rem;
}

@media screen and (max-width:550px) {
 #access h2{
     margin:0 0 50px 0;
    }
}

/* howto ------------------------*/
#howto{
    margin:0 0 80px 0;
}

#howto h2{
    text-align: center;
    margin:0 0 50px 0;
}

#howto h3{
    text-align: center;
    margin:10px;
    padding: 10px;
    color:#002662;
}

#howto h4{
    text-align: left;
    margin:10px;
    padding: 5px;
    border-left: #002662 solid 5px;
    color:#002662;
    font-size: 1.2rem;
}
#howto p {
    margin: 10px;
    font-size: 1.0rem;
}

@media screen and (max-width:550px) {
 #howto h2{
     margin:0 0 50px 0;
    }
}

/* ★.page -------------------- */

#header2{
    height: 80px;
	width: 100vw;
	padding-top: 0px!important;
	margin-top: 0px!important;
    } 

#header2 h1 {
	z-index: 9;
}

#page {
	width:100%;
	margin: 0;
	padding-bottom: 100px;
}

#page h2 {
    text-align: center;
    margin:50px 0;
	border-bottom: solid 2px #666;
}

#page h3 {
    text-align: center;
    margin:0 auto;
	width: 80%;
}

@media screen and (max-width:550px) {
#page h2{
    margin:0 0 50px 0;
    }
#page h3 {
    text-align: center;
    margin:0 auto;
	width: 90%;
}	
}

/* ★#voice  -------------------- */
#voice article {
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
	
}

/* footer */

#footer{
    padding: 100px 0;
    border-top:1px solid #333;
    text-align: center!important;
    background: #fff;
    position: relative;
    text-transform: uppercase;
}
#voice #footer{
    padding: 100px 0;
    border-top:1px solid #333;
    text-align: center!important;
    background: #fff;
    position: relative;
    text-transform: uppercase;
}
#footer .footer-logo{
    font-weight: bold;
    letter-spacing: 0.3em;
    margin: 0 auto 50px auto!important;
    color: #666;
    text-align: center;
}

#voice #footer .footer-logo{
    font-weight: bold;
    letter-spacing: 0.3em;
    margin: 0 auto!important;
    color: #666;
    text-align: center!important;
}

#footer small{
     color:#888;
}
@media screen and (min-width:550px) {
    #footer{
        padding: 100px 0 100px 300px;
       }
	#voice #footer{
        padding: 100px 0 100px;
       }
	
	
   }

/* .notice -------------------- */
#notice {
	background-color:cornflowerblue;/**/
	width:100%;
	padding: 0 30px 100px;
	text-align: left;
	color: #fff;
}
#notice a {
	color: #fff!important;
	text-decoration: underline;
}
#notice h2 {
    text-align: center;
    margin:50px 0 20px;
	
}

#notice h3 {
    text-align: left;
    margin:20px 0;
	font-size: 1.8em;
}

#notice h4 {
    text-align: left;
	font-size: 1.2em;
	margin-left: 40px;
	margin-right: 40px;
}

@media screen and (max-width:550px) {
	#notice {
		padding:0 10px 50px;
	}	
	
#notice h2{
    margin:0 0 50px 0;
    }
}



/* 追加　----------------------- */
/* Google Mapを囲う要素 */
.map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 比率を4:3に固定 */
  }
   
  /* Google Mapのiframe */
  .map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }