@import url('https://fonts.googleapis.com/css?family=Roboto:500');
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');
@import url('dropdown.css');
@import url('reset.css');

/*----------------------
1030px = 狭いPC
767px = sp/tab
480px = sp
----------------------*/

body {
	color: #595858;
	font-family:"Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
	font-size: 15px;
	line-height: 1.8;
	font-feature-settings : "palt";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
}

#wrap{
	max-width: 1032px;
	margin: 20px auto;
	background: #f2f6e0;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	text-align: justify;
}

a {
	transition: .5s;
	color:#595858;
	text-decoration: underline;
}

.telephone {
	line-height: 1.4;
	font-size: 0.82em;
	font-family: 'Roboto', sans-serif;
}

.telephone span{
	font-size: 2.8em;
	display: block;
}
img{
	max-width: 100%;
	height: auto;
}
.inline-block{
	display: inline-block;
}
	@media screen and (max-width: 1030px) {
		#wrap{
			max-width: 100%;
			margin: 0 auto;
			border-radius: 0;
			-moz-border-radius: 0;
			-webkit-border-radius: 0;
		}
	}
	@media screen and (max-width: 767px) {
		body {
			font-size: 13px;
			line-height: 1.7;
		}
		.telephone span{
			font-size: 2.0em;
			display: block;
		}
	}

/* ============================
header
============================ */
header{
	z-index:100;
	position:relative
}
header h1 a {
	background: url("../images/common/logo.svg") no-repeat top left;
	width: 384px;
	height: 161px;
	display: block;
	text-indent: -9999px;
	position: relative;
	left: -6px;
}
#headerbox{
	position: relative;
}
#headerbox h2 .sns{
	position: absolute;
	right: 0;
	top: 25px;
}
#headerbox h2 .sns a{
	margin-left: 12px;
}
.sns a.blog{
	position: relative;
	display: inline-block;
	background: #000;
	border-radius: 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	height: 30px;
	line-height: 30px;
	font-size: .82em;
	color: #fff;
	padding: 0 16px 0 36px;
	text-decoration: none;
}
.sns a.blog:before{
	background: url("../images/common/blog.png") no-repeat top left;
	background-size: 13px auto;
	width: 13px; 
	height: 13px;
	position: absolute;
	top: 50%;
	left:16px;
	margin-top: -7px;
	content: "";
}
.sns a.fb{
	background: url("../images/common/facebook.svg") no-repeat top left;
	width: 30px; height: 30px;
	display: inline-block;
	text-indent: -9999px;
}
.sns a.ig{
	background: url("../images/common/instagram.svg") no-repeat top left;
	width: 30px; height: 30px;
	display: inline-block;
	text-indent: -9999px;
}
#headerbox h2 .telephone{
	position: absolute;
	right: 0;
	bottom: 10px;
}
	@media screen and (max-width: 768px) {
		header{
			z-index:0;
			position: static;
		}
		#headerbox h2 .sns{
			display: none;
		}
	}

	@media screen and (max-width: 767px) {
		header h1 a {
			background: url("../images/common/logo_sp.svg") no-repeat top left;
			width: 257px;
			height: 77px;
		}
		#headerbox h2 .telephone{
			display: none;
		}
	}

	@media screen and (max-width: 480px) {
		header h1 a {
			width: 207px;
			height: 62px;
			left: 1.2%;
		}
	}



/*============================ 
footer 
============================ */
footer{
	border-top: 3px solid #fff;
	padding: 2rem 5%;
	font-size: 0.86666666em;
}
#footer{
	display: table;
	width: 100%;
}
.footeradress{
	display: table-cell;
	vertical-align: top;
	width: calc(100% - 200px);
}
.bnrbox{
	display: table-cell;
	vertical-align: top;
	width: 200px;
	text-align: right;
}
.bnrbox a{
	margin-left: 10px;
}
.bnrbox img {
	height: 38px;
	width: auto;
}
.bnrbox img:first-child{
	margin: 0;
}


footer span{
	padding-right: 7px;
}
footer .footernav{
	margin-top: 8px;
	font-size: 0.86666666em;
}
footer .footernav > a{
	display: inline-block;
	padding:0 14px;
	border-right: 1px solid #333;
	color: #595858;
}
footer .footernav > a:first-child{
	border-left: 1px solid #333;
}

#description {
	font-size: 10px;
	letter-spacing: 0.06em;
	width: 100%;
	margin-top: 25px;
}


	@media screen and (max-width: 767px) {
		.footeradress span{
			display: block;
			padding-right: 0;
		}
	}

	@media screen and (max-width: 480px) {
		footer{
			font-size: 12px;
			text-align: center;
		}
		#footer{
			display: block;
		}
		.footeradress{
			display: block;
			width: 100%;
			padding-right: 0;
		}
		.footeradress span.em{
			font-size: 13px;
		}
		.bnrbox{
			display: block;
			width: 100%;
			text-align: center;
			margin-top: 25px;
		}
	}


/*============================ 
TOPに移動 
============================ */
a#up {
	position:fixed;
	bottom:3%;
	right:3%;
	width: 30px;
	z-index:5000;
}

a#up img{
	height:auto; 
	width:100%;
}



