@charset "UTF-8";

*{
	list-style-type: none;
	text-decoration: none;
	font-size: 16px;
	margin: 0;
	padding: 0;
}

body{
	//background-color: #FFF999;
	font-family: "メイリオ","Meiryo",sans-serif;
}

a,link,visited{
	color: black;
}

.pc{
	display: none;
}

h1.sp{
	width: 50%;
	margin: 40px 0;
}

h1.sp img{
	vertical-align: bottom;
}

h2{
	font-size: 1.8rem;
}

.h2-wrap{
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 40px;
	padding-top: 40px;
}

.yellow{
	margin: 20px 0;
}

h3{
	font-size: 1.2rem;
	color: #0B308E;
	text-shadow: 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white;
}

h4{
	font-size: 1.2rem;
	color: #0B308E;
	text-align: center;
	text-shadow: 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white, 0 0 2.5px white;
}

.lh2{
	line-height: 1.8;
}

#intro{
	width: 90%;
	margin: 0 auto 0 auto;
}

section img{
	width: 100%;
}

header{
	position: relative;
	background-color: white;
	height: 80px;
	display: flex;
	justify-content: center;
	align-items: center;
}

header nav{
	display: none;
}

/*headerの後に疑似要素でheaderのheightと同じ高さ分下にpositionしてる*/
header::after{
	position: absolute;
	top: 80px;/*headerのheight*/
	left: 0;
	z-index: 99;
	display: block;
	content: "";
	height: 40px;/*loof.pngのheight*/
	width: 100%;
	background-image: url(../img/loof.png);
	background-size: 200%;
	background-repeat: no-repeat;
}

main{
	background-color: white;
}

.button img{
	vertical-align: bottom;
}

#pc-visual{
	background-image: url(../img/mainvisual.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	margin: 0;
	width: 100%;
	height: 60vh;
	position: relative;
}

#pc-v-top{
	width: 90%;
	height: 100%;
	margin: 0 auto 0 auto;
	padding-top: 40px;
	text-shadow: 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white;
	display: flex;
	flex-direction: column;
	//justify-content: center;
	position: relative;
	z-index: 2;
}

#pc-v-top p{
	font-weight: bold;
	line-height: 1.6;
}

#pc-v-bottom{
	display: none;
}

#pc-v-pic{
	position: absolute;
	//bottom: -32px;
	bottom: -7%;
	right: 0;
	height: 50%;
	//max-height: 300px;
	width: auto;
}

#pc-v-bottom-sp{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 60px 0 40px 0;
}

#pc-v-bottom-sp img{
	box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
	border-radius: 40px;
}

#intro-main img{
	margin-top: 32px;
}

#cando{
	box-shadow: 0 16px 16px rgba(100,100,100,0.1);
}

.cando-grid:nth-child(odd){
	background-image: url(../img/mat08.png);
}

.cando-grid:nth-child(even){
	background-image: url(../img/mat09.png);
}

.cando-grid{
	background-repeat: no-repeat;
	background-size: 100% 100%;
	text-align: center;
	padding: 24px 8px;
}

.cando-grid img{
	width: 70%;
	margin: 16px 0;
}

.cando-grid img[src="img/mat10.png"],.cando-grid img[src="img/mat11.png"]{
	width: 40%;
}

#cando-top, .cando-grid p{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

#support-top{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 32px;
}

.sup-round,.sup-square{
	background-image: url(../img/mat16.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	text-align: justify;
	padding: 24px 0;
	margin-bottom: 24px;
}

#last{
	margin-bottom: 0;
}

.sup-round p,.sup-square p{
	width: 70%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 16px;
}

#absolute-lady{
	display: none;
}

#absolute-lady-sp{
	width: 50%;
	height: 200px;
	margin-left: 23%;
	margin-right: 27%;
	overflow: hidden;
	margin-top: 8px;
}

#absolute-lady-sp img{
}

#footer-top{
	background-color: #036EAD;
	color: white;
	position: relative;
	height: 325px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	box-sizing: border-box;
	padding: 32px 0;
}

/*#footerの後に疑似要素で#footer-topのheightと同じ高さ分下にpositionしてる*/
#footer-top::after{
	position: absolute;
	top: 325px;/*#footer-topのheight*/
	left: 0;
	z-index: 99;
	display: block;
	content: "";
	height: 40px;/*loof.pngのheight*/
	width: 100%;
	background-image: url(../img/loof.png);
	background-size: 200%;
	background-repeat: no-repeat;
}

#tel{
	text-align: center;
}

#tel img{
	height: 2.7rem;
	vertical-align: text-bottom;
}

#tel p{
	margin-top: -8px;
}

#number{
	color: white;
	font-size: 2.7rem;
}

#footer-bottom{
	margin: 40px auto 20px auto;
	width: 90%;
	line-height: 2;
}

#footer-bottom img{
	margin-bottom: -3px;
	margin-right: 4px;
	height: 0.9rem;
}

#footer-bottom a{
	font-size: 0.9rem;
}

small{
	display: block;
	margin-bottom: 80px;
	font-size: 0.9rem;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}



/*********hbgメニューここから*********/

    /*ハンバーガーメニュー*/
    .menu,
    .menu span {
    display: inline-block;
    -webkit-transition:all .4s;
    transition: all .4s;
    box-sizing: border-box;
    }

    .menu {
      position: fixed;
      top: 26px;
      right:  26px;
      width: 35px;
      height: 22px;
      z-index: 999;
    }

    .menu span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #000;
    z-index: 10;
    }

    .menu span:nth-of-type(1) {
    top: 0px;
    }

    .menu span:nth-of-type(2) {
    top: 9.5px;
    }

    .menu span:nth-of-type(3) {
    bottom: 0px;
    }

    .menu.active span:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(45deg);
    transform: translateY(10px) rotate(45deg);
    background-color: #FFF;
    }

    .menu.active span:nth-of-type(2) {
    opacity: 0;
    }

    .menu.active span:nth-of-type(3) {
    -webkit-transform: translateY(-10px) rotate(-45deg);
    transform: translateY(-10px) rotate(-45deg);
    background-color: #FFF;
    }

    #nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    height: 100vh;
    opacity: 0;
    //background-color: #fff;
    //background: linear-gradient(to bottom, #f1e767 0%,#feb645 100%);
		 background-color: rgba(240,200,0,0.97);
    transition: all 0.3s ease-in-out;
    visibility:hidden;

    }

    #nav.active{
    right: 0;
    opacity: 1;
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
    }

    #nav ul{
    margin:40px 0;
    padding:40px 0;
		 height: 100%;
    }

    #nav ul li{
    list-style-type: none;
		 border-bottom: 2px solid white;
    }

    #nav ul li a{
    display: block;
    padding: 30px 0;
    transition: all 0.2s ease-in-out;
    text-align: center;
    text-decoration: none;
    color: white;
		 /text-shadow: 0 0 2px black;
		 font-size: 1.5rem;
		 font-weight: bold;
    }

#nav ul li:first-child{
	border-top: 2px solid white;
}

button{
	border: none;
	background: none;
	outline: none;
}

#nav li:nth-child(4){
	text-align: center;
}

/*********hbgメニューここまで*********/
