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

/*----contact----*/

a {color:#333;}

.contact{
	max-width: 900px;
	width:100%;
	margin:20px auto 40px;
}

.contact_container{
	width:100%;
	padding:70px 0;
	display: flex;
	flex-wrap: wrap;
}

.contact h1{
	text-align: right;
    font-size: 26px;
    color: #333;
	font-weight: normal;
	letter-spacing: 2px;
	width:15%;
}

.form{
	width:75%;
	padding:10px 0 0 10%;
}

.form_index{
	font-size:14px;
	line-height: 1.6;
	letter-spacing: 2px;
	padding-bottom: 60px;
}

.item{
	text-align: left;
    margin-bottom: 40px;
}
.item span{
	font-size: 14px;
}
.item .tips{
	font-size: 13px;
	letter-spacing: 2px;
	margin-bottom: 5px;
}

.label{
	color: #333;
	line-height: 1.8;
	font-weight: normal;
	letter-spacing: 2px;
}

.inputs {
    padding: 6px 15px;
    width: 500px;
    background: none;
    border-radius: 0;
    outline: none;
    border: #ccc 1px solid;
}

.inputs_t {
    padding: 6px 15px;
    width: 500px;
    background: none;
    border-radius: 0;
    outline: none;
    border: #ccc 1px solid;
}

input[type="submit"] {
    background: #333;
    border: none;
    color: white;
    font-size: 14px;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 5px;
    text-align: center;
    overflow: hidden;
    transition: .2s;
}
@media only screen and (min-width: 521px){
	input[type="submit"]:hover{
    	background: #fff;
    	color: #333;
	}
}

img[src*="takebari"]{
	width: 500px;
}
.form .sub{
	text-align: center;
	padding:5px 0;
	color: #333;
	width: 500px;
	font-size:13px;
	letter-spacing: 2px;
}

@media only screen and (max-width: 767px){
	.contact h1{
		width:530px;
		padding: 0 0 25px;
		margin: auto;
		text-align: left;	
	}
	.form{
		width:530px;
		padding: 0;
		margin: auto;
	}
	.input_sub{
		text-align: center;
	}

}

@media only screen and (max-width: 630px){
.contact h1{
		width:86%;	
	}
	.form{
		width:86%;
	}
	.inputs,
	.inputs_t{
		width: 86%;
	}
	img[src*="takebari"],
	.form .sub
	{
		width: 100%;
	}
}
@media only screen and (max-width: 520px){
	.contact_container {
    	padding: 40px 0 60px;
	}
	.contact h1 {
		padding-bottom: 10px;
	}
	.form_index {
		padding-bottom: 40px;
	}
	img[src*="takebari"]{
		width: 94%;
		padding:50px 3% 0;
	}
}


/*----thanks----*/


.thanks{
	max-width: 900px;
	width:100%;
	margin:20px auto 40px;
}

.thanks_box{
	text-align: center;
}

.thanks h1{
	text-align: center;
	font-size: 26px;
    color: #333;
	padding:30px 0;
    font-weight: normal;
    letter-spacing: 2px;
}

.thanks_box p{
	padding:0 15px 20px;
	font-size: 14px;
}

.btn_bk{
	padding:40px 0;
}

.btn_bk a{
	display: inline-block;
	margin: auto;
	background: #333;
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 8px 32px;
    border-radius: 5px;
    text-align: center;
	text-decoration: none;
    transition: .2s;
}
@media only screen and (min-width: 521px){
	.btn_bk a:hover{
    	background: #fff;
    	color: #333;
	}
}

