@charset "utf-8";
/* CSS Document */

/* micro clearfix */

.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {clear: both;}
.cf {*zoom: 1;}

/* スクロールバー　*/

::-webkit-scrollbar {
	width: 12px;
  	height: 10px;
}
::-webkit-scrollbar-thumb {
  	background: rgba(219,219,219,1.00);
  	border-radius: 5px;
	border: solid 1px rgba(147,147,147,0.71);
}

html {
	font-size: 100%;  /* 16px */
	scroll-behavior: smooth;
}

body {
	color: #282A2D;
	font-family: "Sawarabi Gothic";
}

h1 a {
	font-size: 3rem;
}

a {
	text-decoration: none;
}

p {
	font-size: 1.3rem;
}

img {
	max-width: 100%;
}

li {
	list-style: none;
	font-size: 1.2rem;
}

/* haeder */
.site-title {
	line-height: 1px;
	font-weight: 600;
	font-size: 2.4rem;
}
.site-title a {
	color: #24292e;
}
.sec-title {
	text-align: center;
	margin-bottom: 150px;
} 
.header {
	max-width: 1780px;
	margin: 0 auto;
	padding: 0 5%;
	height: 140px;
}
#header-top {
	margin-top: 2%;
	margin-bottom: 15px;
	display: flex;
	justify-content: space-between;
	border-bottom: solid 1px #282A2D;
}
.header img.icon {
	width: 45px;
} 
.header img:hover {
	transition: 0.6s;
	opacity: 0.3;
	color: #9F9F9F;
}

/* ========================================
    お問い合わせ
========================================= */
.wrapper {
	width: 100%;
	margin: 50px auto 0 auto;
	font-size: 0.9rem;
	padding: 0 8%;
	text-align: center;
	display: flex;
	height: auto;
}
.contact {
	max-width: 800px;
	height: auto;
	width: 100%;
	border-radius: 3px;
	margin: 30px auto;
	background-color: rgba(231,231,231,0.9);
}
.contact h1 {
	color: #3F3F3F;
	font-weight: 100;
	font-size: calc(1.1vw + 0.9rem);
	text-align: center;
	line-height: 3;
	margin-bottom: 30px;
}
.contact h2 {
	color: #3F3F3F;
	font-weight: 100;
	font-size: calc(0.7vw + 0.7rem);
	text-align: center;
	line-height: 2;
	margin-bottom: 30px;
}

.dankichi img {
	width: 100%;
	max-width: 1500px;
	height: auto;
	position: absolute;
	z-index: -1;
	top:5%;
	right: -10%;
}

#back-home {
	margin: 100px auto 80px auto;
	text-align: center;
}	
#back-home a {
	display:inline-block;
	font-size: 1.3rem;
	border-radius: 5px;
	padding: 0 50px;
	line-height: 55px;
	background-color: rgba(255,255,255,1.00);
	box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 3px;
	color: #2B2B2B;
} 
#back-home a:hover {
	transition: 0.7s;
	opacity: 0.5;
	background-color: #FFFFFF;
	color: #C8C8C8
}

/* フッター  */
.footer {
	max-width: 1380px;
	height: 52px;
	margin: 0 auto;
	padding: 0 5%;	
}
.footer nav ul{
	display: flex;
	
}
.footer ul li {
	font-size: 1.2rem;
	width: 300px;
	height: 48px;
	background-color: rgba(255,255,255,0.8);	
}
.footer ul li a {
	color: #24292e;
	transition: all 0.3s;
	display: block;
	text-align: center;
}
.footer ul li a:hover {
	transition: 0.7s;
	opacity: 0.5;
	color: #B4B4B4;
}
#footer-last  {
	width: 100%;
	background-color: rgba(255,255,255,0.8);
	line-height: 80px;
	text-align: center;
	border-top: solid 1px #24292E;
}
#footer-last p {
	color: #24292E;
	font-size: calc(0.8vw + 0.6rem);	
}

@media screen and (min-width: 1381px) {
	
	.nav-fast {
		float: left;	
	}
	.footer nav {
		float: right;
	}
	.footer ul li a {
		line-height: 48px;
	}
}
	
@media screen and (min-width: 861px) and (max-width: 1080px) {	
	
	.footer {
		padding: 0 10%;	
	}	
	.footer nav ul li {
		width: 200px;
	}
}

@media screen and (min-width: 1081px) and (max-width: 1380px) {
	.footer {
		padding: 0 10%;	
	}
	.footer nav ul li {
		width: 260px;
	}
}

@media screen and (min-width: 861px) and (max-width: 1380px) {
	
	.nav-fast {
		float: left;	
	}
	.header nav ul li {
		width: 220px;
		line-height: 48px;
	}
	.footer nav ul li {
		line-height: 48px;
	}
}

@media screen and (min-width: 861px){
	.footer ul li {
		line-height: 2;
	}
	.wrapper {
		height: 900px; 
	}
	.contact {
		position: fixed;
	}	
}

@media screen and (max-width: 860px) {
	
	.header {	
		margin-top: 10px;
		padding: 0 3%;
		height: 150px;
	}
	#back-home a {
		font-size: 0.9rem;
		padding: 0 40px;
		line-height: 40px;
	} 
	.footer {
		padding: 0 3%;
		height: 80px;
	}
	.footer ul li {
		width: 380px;
		height: 38px;
		line-height: 2;
	}
}

@media screen and (max-width: 680px) {
	
	h1 a {               /* logo＆sns サイズ */
		font-size: 2rem;
	}
	.header img.icon {
		width: 30px;
		margin-top: 15px;	
	}
	.footer li {
		font-size: 0.8rem;
	}
	#formm {
    	padding: 20px 10px;
	}		
}


	
	
	