@charset "utf-8";

/*------------------------------------------
reset
------------------------------------------*/
*{
	margin: 0;
	padding: 0;
}
*, *:before, *:after {
	box-sizing: border-box;
}
p,div,ul,ol,h1,h2,h3{
	margin: 0;
	padding: 0;
}

/*------------------------------------------
common parts
------------------------------------------*/
img{
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
li{
	list-style: none;
}
.clearfix:after{
	display: block;
	clear: both;
	height: 0px;
	visibility: hidden;
	overflow: hidden;
	line-height: 0;
	content: ".";
}
a{
	display: block;
}
a:link{
	color: #3c3431;
	text-decoration: none;
	background: transparent;
}
a:visited{
	color: #3c3431;
	text-decoration: none;
	background: transparent;
}
a:hover{
	color: #3c3431;
	text-decoration: none;
	background: transparent;
}
.bg-green{
	background: url(../images/bg-green.png);
}
.bg-beige {
	background: #fdfbf0;
}

@keyframes fadein {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes imgfadein {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes fadeup{
	0%{ opacity: 0; transform: translateY(30px); }
	100%{ opacity: 1; transform: translateY(0); }
}
@keyframes titlefadeup{
	0%{ opacity: 0; transform: translateY(30px); }
	100%{ opacity: 1; transform: translateY(0); }
}
@keyframes numfadeup{
	0%{ opacity: 0; transform: translateY(30px); }
	100%{ opacity: 1; transform: translateY(0); }
}
@keyframes titleline{
	0%{ opacity: 0; transform: scaleX(0); }
	100%{ opacity: 1; transform: scaleX(0.8); }
}

/*------------------------------------------
PC
------------------------------------------*/
@media print, screen and (min-width: 768px){
	body{
		font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		font-size: 14px;
		color: #3c3431;
		background: #ffffff;
		margin: 0;
		padding: 0;
		line-height: 1.0;
		animation: fadein 1.5s ease 0s 1 normal;
	}
	
	/*--------------------------------
		pc common parts
	--------------------------------*/
	.flex{ display: flex; }
	.fl{ float: left; }
	.fr{ float: right; }
	.sp{ display: none; }
	
	/*--------------------------------
		header
	--------------------------------*/
	#header{
		width: 100%;
	}
	.headinner{
		width: 85%;
		min-width: 1100px;
		margin: 0 auto;
		padding: 30px 20px 30px;
		align-items: center;
    	justify-content: space-between;
	}
	.logo{
		align-items: center;
	}
	.logo a{
		font-size: 19px;
		font-weight: bold;
		padding: 7px 0 3px;
	}
	.logo p:nth-child(2){
		width: 150px;
		height: 25px;
		color: #ffffff;
		font-size: 12px;
		text-align: center;
		line-height: 25px;
    	margin-left: 10px;
		background: #84b157;
	    border-radius: 5px;
	}	
	#pc-nav ul li{
		display: inline-block;
		position: relative;
	}
	#pc-nav ul li a{
		padding: 8px 25px;
	}
	#pc-nav ul li a:hover:before {
	    position: absolute;
	    content: "";
	    bottom: 0px;
	    left: 0px;
	    width: 106px;
	    height: 4px;
	    background: #93a27d;
		animation: titleline 1.5s ease 0s 1 normal forwards;
	}
	#header .contact ul li{
		display: inline-block;	
	}
	.contact ul li{
		padding: 5px 0;
		position: relative;
	}
	.contact ul li.tel{
		padding-right: 60px;
	}
	.contact ul li.tel:before{
		position: absolute;
		content: "";
		top: 3px;
		left: -34px;
		width: 14px;
		height: 23px;
		background: url("../images/tel-icon.png") no-repeat;
		background-size: contain;
		z-index: 1;
	}
	.contact ul li.fax:before{
		position: absolute;
		content: "";
		top: 3px;
		left: -39px;
		width: 25px;
		height: 23px;
		background: url("../images/fax-icon.png") no-repeat;
		background-size: contain;
		z-index: 1;
	}
	.contact ul li:after{
		position: absolute;
		content: "";
		top: 0px;
		left: -42px;
		width: 30px;
		height: 30px;
		background: #f5ca45;
		border-radius: 50%;
		z-index: 0;
	}
	
	/*--------------------------------
		sp-nav
	--------------------------------*/
	.sp-nav-btn,
	#sp-nav{
		display: none;
		visibility: hidden;
	}
	
	/*--------------------------------
		content
	--------------------------------*/
	.content{
		width: 100%;
		min-width: 1100px;
	}
	.continner{
		width: 1100px;
		margin: 0 auto;
		padding: 50px 20px;
	}
	
	/*--------------------------------
		pagetop
	--------------------------------*/
	#pagetop{
		position: fixed;
		width: 80px;
		height: 80px;
		right: 50px;
		bottom: 50px;
		border-radius: 50%;
		background: #f5ca45;
		z-index: 2;
	}
	#pagetop:hover{
		background: #84b157;
 	    transition-duration: 2s;
	}
	#pagetop a{
		width: 80px;
		height: 80px;
		line-height: 80px;
		border-radius: 50%;
		color: #3c3431;
		text-decoration: none;
		text-align: center;
	}
	
	/*--------------------------------
		footer
	--------------------------------*/
	#footer{
		width: 100%;
		min-width: 1100px;
	    background: #e3dfcb;
	}
	.footinner{
		width: 1100px;
		margin: 0 auto;
		padding: 45px 20px;
	}
	#footer .foot-l .logo{
		margin: 0 54px 25px 0;
	}
	#footer .foot-l .adress{
		margin-bottom: 20px;
	}
	#footer .foot-l .gmap{
	    width: 247px;
	    height: 37px;
	    color: #ffffff;
	    text-align: center;
	    line-height: 37px;
	    background: #f5ca45;
	    border-radius: 20px;
		position: relative;
	}
	#footer .foot-l .gmap:hover{
		background: #84b157;
 	    transition-duration: 2s;
	}
	#footer .foot-l .gmap:before{
	    position: absolute;
	    content: "";
	    top: calc(50% - 12px);
 		right: 18px;
	    width: 18px;
	    height: 24px;
	    background: url(../images/gmap.png) no-repeat;
		background-size: cover;
	}
	#footer .contact{
		margin-right: 339px;
	}
	#footer .contact ul li{
		margin-bottom: 10px;	
	}
	#footer nav ul li{
		margin-bottom: 18px;
	}
	#footer nav a:before{
		content: "\03e\0020 ";
	}
	
	/*--------------------------------
		copyright
	--------------------------------*/
	#copyright{
		width: 100%;
		min-width: 1100px;
		background: #99957d;
	}
	.copyrightinner{
		width: 1100px;
		margin: 0 auto;
		padding: 16px 20px;
		color: #ffffff;
		text-align: center;
	}
	
	a.tel-link:link,
	a.tel-link:visited,
	a.tel-link:hover{
		text-decoration: none;
	}
	
	a[href^="tel:"]{
		pointer-events: none;
	}
	
	/*--------------------------------
		fadein(img)
	--------------------------------*/
	.js-imgfadein:before{ opacity: 0; }
	.js-imgfadein:after{ opacity: 0; }
	.js-imgfadein.active:before{ animation: imgfadein 2.0s ease 0.0s 1 forwards; }
	.js-imgfadein.active:after{ animation: imgfadein 4.0s ease 0.0s 1 forwards; }
	
	/*--------------------------------
		fadeup
	--------------------------------*/
	.js-fadeup{ opacity: 0; }
	.js-fadeup:nth-child(1).active{ animation: fadeup 1.5s ease 0.0s 1 forwards; }
	.js-fadeup:nth-child(2).active{ animation: fadeup 1.5s ease 0.3s 1 forwards; }
	.js-fadeup:nth-child(3).active{ animation: fadeup 1.5s ease 0.6s forwards; }
	
	/*--------------------------------
		fadeup(title)
	--------------------------------*/
	.js-titlefadeup:before{ opacity: 0; }
	.js-titlefadeup.active:before{ animation: titlefadeup 1.5s ease 0.0s 1 forwards; }
	
	/*--------------------------------
		fadeup(number)
	--------------------------------*/
	.js-numfadeup:before{ opacity: 0; }
	.js-numfadeup:after{ opacity: 0; }
	.js-numfadeup:nth-child(1).active:before{ animation: numfadeup 1.5s ease 0.0s 1 forwards; }
	.js-numfadeup:nth-child(1).active:after{ animation: numfadeup 1.5s ease 0.0s 1 forwards; }
	.js-numfadeup:nth-child(2).active:before{ animation: numfadeup 1.5s ease 0.3s 1 forwards; }
	.js-numfadeup:nth-child(2).active:after{ animation: numfadeup 1.5s ease 0.3s 1 forwards; }
	.js-numfadeup:nth-child(3).active:before{ animation: numfadeup 1.5s ease 0.6s 1 forwards; }
	.js-numfadeup:nth-child(3).active:after{ animation: numfadeup 1.5s ease 0.6s 1 forwards; }
	.js-numfadeup:nth-child(4).active:before{ animation: numfadeup 1.5s ease 0.9s 1 forwards; }
	.js-numfadeup:nth-child(4).active:after{ animation: numfadeup 1.5s ease 0.9s 1 forwards; }
}
/*------------------------------------------
sp
------------------------------------------*/
@media only screen and (max-width: 767px){

	body{
		font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		-webkit-text-size-adjust: 100%;
		font-size: 14px;
		color: #3c3431;
		background: #fdfbf0;
		margin: 0;
		padding: 0;
		line-height: 1.0;
	}
	
	/*--------------------------------
		sp common parts
	--------------------------------*/
	.pc{ display: none; }
	
	/*--------------------------------
		header
	--------------------------------*/
	#header{
		width: 100%;
	}
	.headinner{
		width: 100%;
		padding: 10px 10px 20px;
	}
	.logo a{
		font-size: 20px;
		font-weight: bold;
		padding: 7px 0 3px;
	}
	.logo p:nth-child(2){
		width: 150px;
		height: 25px;
		color: #ffffff;
		font-size: 12px;
		text-align: center;
		line-height: 25px;
		background: #84b157;
	    border-radius: 5px;
	}
	#pc-nav{
		display: none;
		visibility: hidden;
	}	
	#header .contact{
		display: none;
		visibility: hidden;	
	}
	
	/*--------------------------------
		hamburger icon
	--------------------------------*/
	/* ハンバーガーアイコン & 動作 */
	.sp-nav-btn{
		display: block;
		position: fixed;
		width: 42px;
		height: 51px;
		top: 14px;
		right: 13px;
		cursor: pointer;
		z-index: 3;
		background: #f5ca45;
		text-align: center;
	}
	.sp-nav-btn i{
		display: block;
		position: relative;
		width: 30px;
		height: 3px;
		background: #ffffff;
		transition: background 0.5s;
		left: 6px;
		top: 18px;
	}
	.sp-nav-btn i:before{
		content: "";
		position: absolute;
		display: block;
		width: 30px;
		height: 3px;
		background: #ffffff;
		transform: rotate(0deg);
		transition: all 0.3s !important;
		transform: translateY(8px);
		top: 1px;
	}
	.sp-nav-btn i:after{
		content: "";
		position: absolute;
		display: block;
		width: 30px;
		height: 3px;
		background: #ffffff;
		transform: rotate(0deg);
		transition: all 0.3s !important;
		transform: translateY(-8px);
		top: -1px;
	}
	.sp-nav-btn span{
		position: absolute;
		color: #ffffff;
		font-size: 9px;
		font-weight: bold;
		width: 100%;
		right: 0;
		bottom: 3px;
		text-align: center;
	}
	/*--------------------------------
		hamburger open
	--------------------------------*/
	.sp-nav-btn.is-open{
		background: #ffffff;
		z-index: 3;
	}	
	.sp-nav-btn.is-open i{
		background: #ffffff;
	}	
	.sp-nav-btn.is-open i:before{
		transform: translateY(0px) rotate(45deg);
		position: absolute;
		top: 0;
		background: #f5ca45;
	}
	.sp-nav-btn.is-open i:after{
		transform: translateY(0px) rotate(-45deg);
		position: absolute;
		top: 0;
		background: #f5ca45;
	}
	.sp-nav-btn.is-open span{
		color: #f5ca45;
	}
	
	/*--------------------------------
		menu
	--------------------------------*/
	#sp-nav{
		display: none;
		position: fixed;
		width: 100%;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		padding: 80px 20px 20px 20px;
		background: rgba(253,251,240,0.9);
		z-index: 2;
		text-align: center;
		overflow-y: auto;
	}
	#sp-nav > ul{
		width: 100%;
		background: #ffffff;
		font-size: 0;
		border-radius: 5px;
	}
	#sp-nav > ul > li{
		position: relative;
		width: 100%;
		border-bottom: solid 1px #f5ca45;
		color: #3c3431;
		text-align: left;
		font-size: 18px;
		font-weight: bold;
	}
	#sp-nav > ul > li:last-child{
		border-bottom: none;
	}
	#sp-nav > ul > li > a{
		position: relative;
		display: block;
		padding: 10px 20px;
		width: 100%;
		height: 100%;
		color: #3c3431;
		text-decoration: none;
		font-weight: bold;
	}
	#sp-nav > ul > li > a:after{
		position: absolute;
		content: "";
		width: 10px;
		height: 10px;
		border-top: solid 2px #f5ca45;;
		border-right: solid 2px #f5ca45;;
		transform: rotate(45deg);
		top: calc(50% - 5px);
		right: 10px;
	}
	
	/*--------------------------------
		content
	--------------------------------*/
	.content{
		width: 100%;
	}
	.continner{
		width: 100%;
		padding: 50px 10px;
	}
	
	/*--------------------------------
		pagetop
	--------------------------------*/
	#pagetop{
		display: none;
		visibility: hidden;
	}
	/*--------------------------------
		footer
	--------------------------------*/
	#footer{
		width: 100%;
	    background: #e3dfcb;
	}
	.footinner{
	    width: 267px;
	    margin: 0 auto;
		padding: 45px 10px;
	}
	#footer .foot-l .logo{
		margin-bottom: 25px;
	}
	#footer .foot-l .adress{
		margin-bottom: 5px;
	}
	#footer .foot-l .gmap{
	    width: 247px;
	    height: 37px;
	    color: #ffffff;
	    text-align: center;
	    line-height: 37px;
		margin-bottom: 10px;
	    background: #f5ca45;
	    border-radius: 20px;
		position: relative;
	}
	#footer .foot-l .gmap:before{
	    position: absolute;
	    content: "";
	    top: calc(50% - 12px);
 		right: 18px;
	    width: 18px;
	    height: 24px;
	    background: url(../images/gmap.png) no-repeat;
		background-size: cover;
	}
	#footer .contact ul{
	    padding-left: 42px;	
	}
	#footer .contact ul li{
		padding: 5px 0;
		position: relative;
		margin-bottom: 10px;	
	}
	#footer .contact ul li.tel:before{
		position: absolute;
		content: "";
		top: 3px;
		left: -34px;
		width: 14px;
		height: 23px;
		background: url("../images/tel-icon.png") no-repeat;
		background-size: contain;
		z-index: 1;
	}
	#footer .contact ul li.fax:before{
		position: absolute;
		content: "";
		top: 3px;
		left: -39px;
		width: 25px;
		height: 23px;
		background: url("../images/fax-icon.png") no-repeat;
		background-size: contain;
		z-index: 1;
	}
	#footer .contact ul li:after{
		position: absolute;
		content: "";
		top: 0px;
		left: -42px;
		width: 30px;
		height: 30px;
		background: #f5ca45;
		border-radius: 50%;
		z-index: 0;
	}
	#footer nav{
		display: none;
		visibility: hidden;
	}
	
	/*--------------------------------
		copyright
	--------------------------------*/
	#copyright{
		width: 100%;
		background: #99957d;
	}
	.copyrightinner{
		width: 100%;
		color: #ffffff;
   		font-size: 12px;
		text-align: center;
		padding: 16px 10px;
	}
}