@charset "utf-8";

/* =====================基本設計===================== */
body{
	margin: 0;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height:2;
	font-size:18px;
	color: #333333;
}

* {
  box-sizing: border-box;
}

a:link { color: #333333;
	text-decoration: none;
 	}

a:visited { color: #333333; }

a:hover { color: #cccccc; }

a:active { color: #cccccc; }

img{
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
}

/* =====================メインコンテンツ===================== */

#container{
	max-width: 1040px;
	margin:  0 auto;
	box-shadow: 4px 0px 3px -3px #ccc,-4px 0px 3px -3px #ccc;
}

.box{
	margin-left: 20px;
	margin-right: 20px;
}

@media (max-width:767px) {
	#container{
		box-shadow: none;
	}

	.box{
		margin-left: 0px;
		margin-right: 0px;
	}
}

/* =====================お悩み===================== */

.worry{
	position: relative;
}

.worry p{
	line-height: 1.5;
	font-size: 24px;
	width: 30%;
}

.worry p:nth-of-type(1){
	position: absolute;
	top: 100px;
	left: 100px;
}

.worry p:nth-of-type(2){
	position: absolute;
	top: 100px;
	right: 45px;
}

.worry p:nth-of-type(3){
	position: absolute;
	bottom: 100px;
	left: 100px;
}

.worry p:nth-of-type(4){
	position: absolute;
	bottom: 130px;
	right: 45px;
}

.worry p span{
	color: #c00;
}

@media (max-width:767px) {

	.worry p{
		line-height: 1.2;
		font-size: 2vw;
		width: 30vw;
	}

	.worry p:nth-of-type(1){
		position: absolute;
		top: 11vw;
		left: 10vw;
	}

	.worry p:nth-of-type(2){
		position: absolute;
		top: 11vw;
		right: 4vw;
	}

	.worry p:nth-of-type(3){
		position: absolute;
		top: 76vw;
		left: 10vw;
	}

	.worry p:nth-of-type(4){
		position: absolute;
		top: 76vw;
		right: 4vw;
	}

}

/* =====================共感===================== */

.empathy{
	position: relative;
	line-height: 1.5;
}

.empathy h3{
	position: absolute;
	top: 450px;
	left: 350px;
	font-size: 50px;
	color: #5f5349;
}

.empathy p{
	position: absolute;
	top: 550px;
	left: 350px;
	font-size: 20px;
	width: 600px;
}

@media (max-width:767px) {

	.empathy h3{
		top: 46vw;
		left: 40vw;
		font-size: 5vw;
	}

	.empathy p{
		top: 55vw;
		left: 40vw;
		font-size: 2vw;
		width: 55vw;
	}
}

/* =====================お客様の声===================== */

.voice-01,.voice-02{
	position: relative;
	line-height: 1.5;
}

.voice-01 h3{
	position: absolute;
	top: 310px;
	left: 70px;
	font-size: 33px;
	color: #24a85f;
	width: 480px;
}

.voice-01 p{
	position: absolute;
	top: 500px;
	left: 70px;
	font-size: 20px;
	width: 480px;
}

.voice-02 h3{
	position: absolute;
	top: 310px;
	left: 440px;
	font-size: 33px;
	color: #24a85f;
	width: 480px;
}

.voice-02 p{
	position: absolute;
	top: 480px;
	left: 440px;
	font-size: 20px;
	width: 480px;
}

@media (max-width:767px) {

	.voice-01 h3{
		top: 35vw;
		left: 5.5vw;
		font-size: 4vw;
		width: 52vw;
	}

	.voice-01 p{
		top: 61vw;
		left: 6vw;
		font-size: 2vw;
		width: 52vw;
	}

	.voice-02 h3{
		top: 36vw;
		left: 44vw;
		font-size: 4vw;
		width: 52vw;
	}

	.voice-02 p{
		top: 54vw;
		left: 44vw;
		font-size: 2vw;
		width: 52vw;
	}

}

/* =====================フォーム===================== */

input[type="text"],
input[type="email"],
input[type="tel"],
select,textarea{
	width: 100%;
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #ccc;
	background: #fff;
	margin-bottom: 20px;
	font-size: 20px;
}

select{
	padding: 10px;
	height: 65px;
}

.box-form{
	font-size: 20px;
	padding-top: 30px;
	padding-bottom: 30px;
	padding-right: 20px;
	padding-left: 20px;
	margin-right: 20px;
	margin-left: 20px;
	background: url(../images/bg-pattern-canbas.jpg);
	background-repeat: repeat;
}

.box-form table{
	width: 100%;
}

.input-text th{
	width: 30%;
	padding: 20px;
	vertical-align: top;
}

.input-text th span:first-child{
	float: left;
}

.input-text th span:last-child{
	float: right;
}

.input-text td{
	width: 70%;
	padding: 20px;
	vertical-align: top;
}

@media (max-width:767px) {

	input[type="text"],
	input[type="email"],
	input[type="tel"],
	select,textarea{
		padding: 12px;
		font-size: 16px;
	}

	select{
		padding: 0px;
		height: 44px;
	}

	.box-form{
		font-size: 16px;
		margin-right: 0px;
		margin-left: 0px;
	}

	.input-text th{
		width: 100%;
		display: block;
		padding: 20px 0;
	}

	.input-text td{
		width: 100%;
		display: block;
		padding: 20px 0;
		border-bottom: 1px solid #663;
	}

	.input-text img{
		width: 70%;
		height: auto;
	}

	.submit-btn{
		max-width: 100%;
	}

}

/* =====================フッター===================== */


footer{
	background: #5f5349;
	color: #fff;
	padding: 20px 0;
	text-align: center;
}

.footer-inner{
	width: 1040px;
	margin-left: auto;
	margin-right: auto;
}

#scroll-btn{
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #b19b6a;
	color: #fff;
	width: 80px;
	height: 80px;
	text-align: center;
	text-decoration: none;
	border-radius: 50%;
}

#scroll-btn i{
	font-size: 50px;
	line-height: 80px;
}

@media (max-width:767px) {

	.footer-inner{
		width: 100%;
	}

	.footer-inner small{
		font-size: 12px;
	}

	@media (max-width:767px) {

		#scroll-btn{
			width: 50px;
			height: 50px;
		}

		#scroll-btn i{
			font-size: 30px;
			line-height: 50px;
		}
	}
}

/* =====================フォームエラーチェック===================== */

.error{
	color: #c00;
}

/* =====================フェードイン===================== */

.fadeout{
	opacity: 0;
	transform: translateY(100px);
	transition: 1s;
}

.fadein{
	opacity: 1;
	transform: translateY(0);
}

picture{
	display: block;
}
