@charset "utf-8";

body{
    margin: 0;
    padding: 0;
    background-color: #fefefe;
    color: #333333;
    font-size: 15px;
    line-height: 2;
}

p,h1,h2,h3,h4,h5,h6{
    margin-top: 0;
    margin-bottom: 0;
}

img{
    vertical-align: bottom;
}

ul{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    color: #333333;
}

a:visited{
    color: #333333;
}

a:hover{
    text-decoration: underline;
}

.newtab::after{
    content: '';/*何も入れない*/
    display: inline-block;
    width: 30px;/*画像の幅*/
    height: 30px;/*画像の高さ*/
    background-image: url(../image/newtab.png);
    background-size: contain;
    vertical-align: middle;
}

header{
    width: 960px;
    margin: 0 auto;
    background-color: #f79831;
}

.clearfix:after{
    content: "";
    display: block;
    clear: both;
}

.logo{
    float: left;
    margin: 0 auto;
    width: 480px;
    height: 100px;
    background-color: #f79831;
}
.logo img{
    height: 100px;
}

.right-header{
    float: left;
    border:white solid 1px;
    margin: 3px;
    height:92px
}

#contact-header{
    color:black;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    height: 30px;
}

#tel{
    float: right;
    margin-left: auto;
    margin-right: auto;
    width: 230px;
    height: 57px;
    border-right:white solid 1px;
}
#tel-number{
    font-size: 22px;
    color: white;
    text-align: center;
    line-height: 57px;
}
#tel-span{
    font-size: 22px;
}

#mail{
    float:right;
    width:230px;
    height: 57px;
    border-left:white solid 1px;
    margin: auto;
}
#mail p{
    background-color:#f79831;
    width: 200px;
    height: 48px;
    margin: 5px auto auto auto;
    text-align: center;
    line-height: 48px;
    color: white;

}

.global-nav{
    clear: both;
    width: 960px;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

.global-nav li{
    float: left;
    width: 154px;
    border-left: #f79831 3px solid;
 
    margin: 0;
    padding-left: 0.5px;
    text-align: center;
    font-size: 20px;
    list-style: none;
    color: #333333;
}
#fun-nav{
    border-right: #f79831 3px solid;
}
#top #top-nav{
    background-color: #ffcccc;
}
#school #school-nav{
    background-color: #ffcccc;
}
#course #course-nav{
    background-color: #ffcccc;
}
#flow #flow-nav{
    background-color: #ffcccc;
}
#contact #contact-nav{
    background-color: #ffcccc;
}
#fun #fun-nav{
    background-color: #ffcccc;
}
li{
    border-bottom:#fefefe 2px solid;
}
li:hover{
    border-bottom: #ffcccc 2px solid;
}

#wrap{
    clear: both;
    margin:0 auto;
    padding: 5px 0;
}

.content{
    margin:0 auto;
    margin-bottom: 5px;
}

.main-center{
    width:940px;
    margin:0 auto;
}

h1{
    font-family:'Bitter',serif;
    font-size:28px;
    line-height: 30px;
    border-bottom: 1px solid #cccccc;
    padding-top: 20px;
    margin-bottom: 5px;
    color: #cb6403;
}

h2{
    font-family:'Bitter',serif;
    font-size:18px;
    margin-bottom: 5px;
    color: #cb6403;
}

.one{
    width:940px;
    margin:0 auto;
    padding-left: 5px;
    line-height: 30px;
    font-size: 18px;
}

.two{
    float: left;
    width: 450px;
    height: 300px;
    margin: 0 5px;
}
.two p{
    line-height: normal;
    padding-left: 5px;
}
.two img{
    width: 450px;
    height: 250px;
}

.three{
    float: left;
    width: 300px;
    height: 300px;
    margin:0 5px;
    padding-bottom: 10px;
}
.three p{
    line-height: normal;
    padding-left: 5px;
}
.three img{
    width:300px;
    height: 200px;
}

#top-news{
    background-color: #eeeeee;
}
#top-course{
    background-color: #eeeeee;
}

#map{
    width: 100%;
}

#form-button{
    width: 300px;
    height: 100px;
    text-align: center;
    font-size: larger;
    line-height: 100px;
    border-radius: 50px;
    background-color: greenyellow;
    -webkit-user-select: none;
    user-select: none;
}

@media (any-hover: hover) {
    #form-obutton {
      transition: background-color 0.2s;
    }
    #form-button:hover {
      background-color: #6fa24a;
    }
  }

footer{
    text-align: center;
    color:#ffffff;
    padding:20px 0;
    background-color: #f79831;
}