@charset "utf-8";
/* レイアウトのためのCSS */
body{
    overflow-x: hidden;
    background:#ffec04;
    font-family: 'Kosugi Maru', 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;
    letter-spacing: 0.2em;
}

body.appear{
    background:#f0f0f0;
}


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

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

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

*{
    box-sizing: border-box
}

/* font-family */

.header-utility li:last-child a,
.school-info li dl,
.header-area dl,
#news article time,
#page-top span,
h2 span{
    font-family: 'Lato', sans-serif;
}

/* area */

.inner{
    width:100%;
    margin:0 auto;
    padding:70px;
}

@media screen and (max-width:940px) {
.inner{
    padding:70px 30px;
}
}

/* heading */

h2{
    text-align: center;
    margin: 0 0 50px 0;
    font-size: 1.1vw;
    line-height: 1.5;
}

h2 span{
    font-size: 3.5vw;
    text-transform: uppercase;
    display: block;   
}

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

h2 span{
    font-size: 2.5rem;
}
}

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

h2 span{
    font-size: 2rem;
}
}


/* header */

#header{
    position: relative;
}


#header h1 img,
#header h1 canvas{
    width:100px;
    position: relative;
    left:1.8em;
}

#header h1{
    font-size: 2.7vw;
    color:#666;
    line-height: 1.5;
    margin: 0 0 50px 0;
    letter-spacing: 0.2em;
}

#header h1 .whiteblue{
    color:#6eb5c0;
    display: block;
}
#header h1 .whitespace {
	white-space: nowrap;
}

.header-area{
    position: relative;
    z-index:2;
    top:30px;
    left:50px;
    animation-delay: .5s;
}

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

#header h1 img,
#header h1 canvas{
    width:80px;
}
    
#header h1{
    font-size:2rem;
    }    
}

@media screen and (max-width:940px) {
#header{
}
    
.header-area{
    top:0;
    left:0;
}
#header h1{
    text-align: center;
    width: 150px;
    background: #f0f0f0;
    border-radius: 0 0 10px 10px;
    padding: 10px 0 10px 0;
    margin: 0 auto;
    font-size: 1.3rem;
    border-bottom: 7px solid #006c84;
}

#header h1 img,
#header h1 canvas{
    width:60px;
    left:inherit;
    }

}

@media screen and (max-width:450px) {
#header h1 {
    width: 138px;
    font-size: 1.2rem;
}
  
#header h1 img {
    width: 46px;
}    
}

.header-area .lead{
    position: relative;
    font-size: 2vw;
    margin: 0 0 50px 0;
    font-weight: bold;
}

@media screen and (max-width:1130px) {
.header-area .lead{
    font-size: 1.5em;
}    
}

@media screen and (max-width:940px) {
.header-area .lead{
    font-size: 1.3em;
    padding: 28vh 0 0 7vw;
}  
}

@media screen and (max-width:450px) {
.header-area .lead {
    font-size: 1.1em;
    padding: 32vh 0 0 7vw;
    }
}

.header-area .lead::after{
    content:'';
    position: absolute;
    top:0;
    left:-50px;
    width:10px;
    height: 100%;
    background:#2e98e5;
}

@media screen and (max-width:940px) {
.header-area .lead::after{
    display: none;
    }
    
}


.header-utility{
	position: absolute;
	z-index: 2;
	top:0;
	right:80px;
	background: #ffccbb;
	font-weight: bold;
    display: flex;
    border-radius:0 0 10px 10px;
}

.header-utility li{
    position: relative;
}

.header-utility li:first-child::after{
    content: '';
    position: absolute;
    right: 0;
    top: 20px;
    background:#333;
    width:1px;
    height: 30px;
    transform: rotate(23deg);
}

.header-utility li a{
	display: block;
	padding: 20px 20px 20px 50px;
    transition: all 0.3s;
}

.header-utility li .pcnone{
    display: none;
}

.header-utility li a:hover{
     color: #666;   
}

.header-utility li:first-child a{
     background:url("../img/ico_book.svg") no-repeat 20px center;
    background-size:20px 20px;
}

.header-utility li:last-child a{
     background:url("../img/ico_tel.svg") no-repeat 20px center;
    background-size:20px 20px;
}


@media screen and (max-width:940px) {
.header-utility{
	position: fixed;
	z-index: 3;
	top:inherit;
	right:inherit;
    bottom:0;
    width: 100%;
    border-radius: 0;
}
    
.header-utility li{
    width:50%;
    text-align: center;
    } 
.header-utility li a{
    padding: 15px 15px 15px 40px;
    }
.header-utility li:first-child a,
.header-utility li:last-child a{
    background-position:35px center;
}
}

@media screen and (max-width:560px) {
.header-utility li:first-child a,
.header-utility li:last-child a{
    background-position:20px center;
}
    
.header-utility li .spnone{
    display: none;
}

.header-utility li .pcnone{
    display: block;
}
    
}



/* gnavi */

#g-nav ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#g-nav.panelactive ul li{
    position: relative;
    width:30%;
    text-align: left;
    white-space: nowrap;
}

@media screen and (max-width:960px) {
#g-nav.panelactive ul li{
    width:48%;
    }
}


@media screen and (max-width:580px) {
#g-nav.panelactive ul li{
    width:100%;
    }
}

#g-nav li a{
    padding: 15px 20px;
}

#g-nav.panelactive ul li::before{
    content:'';
    width:5px;
    height: 5px;
    background:#6eb5c0;
    position: absolute;
    left:-10px;
    top:43%;
}


/* course */

#course{
    position:relative;
    margin: 0 0 100px 0;
}

@media screen and (max-width:840px) {
#course{
    margin:0;
}
    
}

#course:after {
    position: absolute;
    z-index: -1;
    content: '';
    top: 280px;
    left: -30%;
    width: 150%;
    height: 80%;
    background: #006c84;
    transform: rotate(5deg);
}

.course-list{
	display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.course-list section{
    width:28%;
    background: #fff;
	position: relative;
	box-shadow: 10px 10px 0 rgba(0,0,0,0.1);
	margin:0 0 50px 0;
}

.course-list section:nth-child(2){
     animation-delay: 0.2s;   
}
.course-list section:nth-child(3){
     animation-delay: 0.4s;   
}


@media screen and (max-width:840px) {
.course-list section{
    width:46%;
}
}

@media screen and (max-width:545px) {
.course-list section{
    width:84%;
}
.course-list section:nth-child(2),
.course-list section:nth-child(3){
     animation-delay: 0s;   
}
}

.course-list section .bg-yellow{
    background:#ffccbb;
	display: inline-block;
	position: absolute;
    left: -5px;
    top: -5px;
	z-index: 2;
	padding: 3px 5px;
	font-size:0.9rem;
	border-radius: 20px;
}



.course-list section h3{
    font-size: 1.2rem;
    text-align: center;
    margin: 10px 0 0 0;
    padding: 0 0 10px 0;
}

@media screen and (max-width:1090px) {
.course-list section h3{
    font-size: 1rem;
}    
}

.course-list section p {
	padding: 0 20px 20px;
}

/* message */
#message {
	display: flex;
}

#message a.btn-gradient {
  -webkit-transform: skew(-15deg);
  transform: skew(-15deg);
  color: #fff;
  border-radius: 0;
  background-image: -webkit-gradient(linear, left top, right top, from(#2af598), to(#009efd));
  background-image: -webkit-linear-gradient(left, #2af598 0%, #009efd 100%);
  background-image: linear-gradient(90deg, #2af598 0%, #009efd 100%);
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
  box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
  display: inline-block;
  padding: 10px 30px;
  font-size: 1.2em;
}
#message a.btn-gradient:hover {
  -webkit-transform: skew(0);
  transform: skew(0);
  color: #fff;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .1);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .1);
}

@media screen and (max-width:600px) {
	#message {
		display: block;
		background-image:linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../img/koizumi03.jpg);
		background-size: cover;
		color: #fff;
	}
	.message-img {
		display: none;
	}
	#message a.btn-gradient {
		margin-top: 18px;
	}
}



/* contact */

#contact{
    background:url("../img/bg_footer.jpeg") no-repeat center;
    background-size: cover;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 30px;
	position: relative;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;  bottom: 0;
  left: 0;  right: 0;
  background: black;
  opacity:0.5;
}

#contact h2{
    font-size: 2rem;  
    position: relative;
    margin: 0 0 50px 0;
}

#contact .contact-detail br{
    display: none;
}

@media screen and (max-width:1090px) {
#contact h2{
    font-size:1.5rem;  
}  
}
@media screen and (max-width:600px) {
#contact .contact-detail h2 br{
    display: block;
}
}

#contact h2::after{
    content: "";
    background:#fff;
    width:15%;
    height: 5px;
    position: absolute;
    left:40%;
    bottom: -20px;
}

#contact p{
    text-align: center;
    margin: 0 0 50px 0;
}

@media screen and (max-width:400px) {
#contact .contact-detail h2{
    font-size: 1.3rem;
}
#contact .contact-detail p br{
    display: block;
}
}
    
#contact ul{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#contact ul li{
     padding: 0 20px 20px 0;   
}

/* footer */

#footer{
    background: #006c84;
    color: #fff;
}

#footer a{
    color: #fff;
}

.footer-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.school-info{
    width:30%;
}

.school-info span{
    display: block;
    font-size:1.7rem;
    font-weight: bold;
    line-height: 1.5;
}

.school-info dt.footer-title,
.school-info li:first-of-type{
    margin: 0 0 10px 0;
}

.school-info li dt{
    margin:0 10px 0 0;
}

.school-info li dt,
.school-info li dd{
    display: inline-block;
}

.footer-sitemap{
    width:65%;
}

.footer-sitemap ul{
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 50px 0;
    font-size: 0.9rem;
}

.footer-sitemap li{
    padding: 10px 20px;
}

.footer-sitemap li a{
	position: relative;
    padding: 0 10px;
}

.footer-sitemap li a:before{
	position: absolute;
	top:40%;
	left:-10px;
	content: '';
  width: 7px;
  height:7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

small{
    display: block;
    text-align: right;
}

@media screen and (max-width:1090px) {
    .footer-area{
        align-items: flex-start;
    }
.school-info{
    width:40%;
}
.footer-sitemap{
    width:56%;
}
    
}

@media screen and (max-width:940px) {
    small{
        text-align: center;
    }
    #page-top{
    position: relative;
    text-align: center;
    right: inherit;
    bottom: inherit;
    margin: 50px auto 30px auto;
    width: 80px;
    animation: none!important;
    transform:none!important;
    opacity: 1;
    }
    
}

@media screen and (max-width:768px) {
.school-info,
.footer-sitemap{
    width:100%;
}
    
.school-info{
    text-align: center;
    margin:0 0 70px 0;
    padding: 0 0 70px 0;
    border-bottom:1px solid rgba(255,255,255,0.8);
}
    .school-info span{
        font-size:1.3rem;
    }    
}

/*以下RECRUITページーーーーーーーーーーーーーーーーーーーーーーー*/
table{
  width: 70%;
  margin: 0 auto;
  border-spacing: 0px 14px;
}
tr {
	margin-bottom: 30px;
}
th, td{
  padding: 10px;
}
th {
  background: #cd4187;
  color: #fff;
  width: 20%;
}
td {
	width: 70%;
	background-color: #ddd;
}
@media screen and (max-width: 640px) {
  table {
    width: 100%;
  }
  th, td {
    display: block;
    width: 100%;
  }
  tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}
