@charset "utf-8";

/*=====================================================

TOP

=======================================================*/


/* 水色背景 */
.inner {
	background: url("../img/share/back.jpg");
	background-size: cover;
	z-index: -100;
	margin-top: -3em;
}


.ToPhTitle .tel { 
	padding-top: .5em;
}

/* --------------------------------------------
		メインヴィジュアル	mainPhoto
---------------------------------------------- */ 

#mainPhoto { position: relative; }
#mainPhoto h1 { position: absolute; bottom: 6vw; left: 5%; display: block; max-width: 400px; width: 25vw; z-index: 100000; }
.swiper-slide {}
.swiper-slide img { }
#mainPhoto::after { display: block; content: ""; position: absolute; bottom: -1em; right: 5%; width: 100px; height: 144px; z-index: 1000; background: url("../img/index/a.png")no-repeat; background-size: contain;  }

@media screen and (max-width:1024px){
#mainPhoto { height: 55vw }
.swiper-slide { height: 55vw; }
.swiper-slide img{ height: 55vw; width: auto; }
}
@media screen and (max-width:768px){
#mainPhoto h1 { bottom: 8vw; left: 4%; max-width: 400px; width: 35vw;}
#mainPhoto::after { bottom: -5em; right: 5%; width: 80px;}
}
@media screen and (max-width:499px){
#mainPhoto h1 { bottom: 6vw; left: auto; right: 5%; width: 40vw; }	
#mainPhoto::after { display: none;}
}

/* --------------------------------------------
		３つのにこにこ	
---------------------------------------------- */ 

#mainNiko { 
	padding: 11em 0 0 ; position: relative;
}
#mainNiko::before {
	display: block; content: "";
	position: absolute; top: 22em; right: 0;
	width: 168px; height: 168px;
	background: url("../img/index/kumomo.png")no-repeat;
	background-size: cover;
	z-index: 0;
}


.mainNiko__inner {
	max-width: 1250px; width: 80%;
	margin: 0 auto;
	position: relative;
	z-index: 3;
}
.mainNiko__inner h2 {  
	max-width: 400px;	 width: 80%;
	margin: 0 auto;
}
.nicogood { 
	display: flex;
	justify-content:space-between;
	align-items: flex-start;
	max-width: 1250px; width: 100%;
	margin: 2em 0;
}
.good {
	max-width: 380px; width: 32%;
	margin-right: 2%;
}
.good:last-child {
	margin-right: 0;
}
.mainNiko__inner .nicogood .goodbottom { 
	margin-top: 8em;
}
.nicogoodLink {
	position: absolute;
	display: block; 
	bottom:-8em; left: 10%;
	width: 240px;
	z-index: 100;
}

/*----- 背景イラスト -----*/
.mainNiko__inner::before {
	display: block; content: "";
	position: absolute; top: 2em; left: 3%;
	width: 168px; height: 168px;
	background: url("../img/index/c.png")no-repeat;
	background-size: cover;
	z-index: 0;
}
.mainNiko__inner::after {
	display: block; content: "";
	position: absolute; top: 6em; right: 14%;
	width: 130px; height: 90px;
	background: url("../img/index/b.png")no-repeat;
	background-size: cover;
	z-index: 0;
}

@media screen and (max-width:1200px){
.mainNiko__inner::before { left: -15px; }
.mainNiko__inner::after { right: 0%; }
.nicogoodLink { 
	left: 0;
	}
}
@media screen and (max-width:768px){
	.mainNiko__inner { 
	margin: 0 auto 10em;  
}
	.nicogood {
	margin: 8vw 0;
	display: block;
	justify-content: none;
	align-items: none;
	}
	.good {
	display: block;
	max-width: 380px; width: 100%;
	margin-right: 0;
	}
	.good:last-child {
	margin-right: 0;
	}
	.mainNiko__inner .nicogood .goodbottom { 
	margin-top: 0em;
	float: right;
	}	
	#mainNiko::before { width: 180px; top: 58em; right: 0; background-size: 100% auto;}
	.mainNiko__inner::before { top: 70em; left: -30px; }
	.mainNiko__inner::after { top: 46em; right: 0%; }
	.nicogoodLink { 
	bottom:-14em; left: 0;
	width: 200px;
}
}
@media screen and (max-width:650px){
	.mainNiko__inner::before { display: none; }
	.mainNiko__inner::after { display: none; }	
}
@media screen and (max-width:499px){
	.good {
	margin:  0 auto 2em;
	}
	.mainNiko__inner .nicogood .goodbottom { 
	margin-top: 0em;
	float: none;}	
	.nicogoodLink { 
	bottom:-16em; left: 0;
	width: 200px;
}
}

/* --------------------------------------------
		ガイド
---------------------------------------------- */ 

#mainGuide { 
	width: 100%;
	background: url("../img/index/kumo.png")no-repeat;
	background-size: cover;
	background-position: top center;
	padding: 30em 0 20em;
	margin-top: -3em;
	position: relative;
}

.mainGuideInner {
	max-width: 1250px; width: 90%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
.mainGuideInner a { 
	padding: 2em 30px .4em;
	margin-right: 2%;
	max-width: 380px;
	background: #ffdf71;
	border-radius: 15px;
}
.mainGuideInner a:last-child {
	margin-right: 0;
}
.mainGuideInner a:hover { 
 -webkit-transform: rotate(-3deg);
		 -moz-transform: rotate(-3deg);
			 -o-transform: rotate(-3deg);
			-ms-transform: rotate(-3deg);
					transform: rotate(-3deg);
}
.mainGuideInner h4 {
	padding: .5em ; margin: 1em 0;
	width: 100%;
	background: #fff;
	border-radius: 30px;
	text-align: center;
}
.mainGuideInner h4 img {
	max-width: 135px;
}

/*----- 背景イラスト -----*/
#mainGuide::before {
	display: block; content: "";
	position: absolute; top: 14vw; left: 3%;
	width: 185px; height: 110px;
	background: url("../img/index/e.png")no-repeat;
	background-size: cover;
}
#mainGuide::after {
	display: block; content: "";
	position: absolute; top: 0em; right: 6%;
	width: 221px; height: 345px;
	background: url("../img/index/d.png")no-repeat;
	background-size: cover;
}

@media screen and (max-width:1024px){
#mainGuide { 
	padding: 30em 0 20em;
	margin-top: -3em;
}
}
@media screen and (max-width:768px){
.mainGuideInner a { 
	padding: 2vw 2% 1vw;
	margin-right: 2%;
}	
.mainGuideInner h4 {
	padding: .5em ; margin: 1em 0 0;
	}
.mainGuideInner h4 img {
	max-width: 100px;
}
#mainGuide::before {
	top: 14vw; left: 3%;
	width: 185px; height: 110px;
	background-size: cover;
}
#mainGuide::after {
	top: -6em; right: 30px;
	width: 180px; height: 345px;
	background-size: 100% auto;
}
}

@media screen and (max-width:499px){
.mainGuideInner {
	max-width: 1250px; width: 90%;
	margin: 0 auto;
	display: block;
	justify-content: none;
}
.mainGuideInner a { 
	padding: 2em 30px 1em;
	margin-right: 0;
	margin: 0 auto 1.5em;
	max-width: 250px;
	background: #ffdf71;
	border-radius: 15px;
}	
.mainGuideInner a:last-child {
	margin: 0 auto 1.5em;
}
#mainGuide::before {
	display: none;
}
#mainGuide::after {
	top: 4em; right: 30px;
	width: 180px; height: 345px;
	background-size: 100% auto;
}
}

