@charset "UTF-8";

/*----------------------------------------------------*/ 
/* contact
-----------------------------------------------------*/ 
#header {
	background:url(/lib/img/contact/vi.jpg) center top no-repeat;
}

#form {
	margin-bottom:50px;
}

#form dl {
	display:-ms-flexbox;
	display:flex;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	margin-bottom:20px;
	-ms-flex-pack:justify;
	justify-content:space-between;
}

#form dl dt {
	background:#82c4dc;
	color:#FFFFFF;
	border:1px solid #82c4dc;
	box-sizing:border-box;
	font-size:1.6rem;
	line-height:2.1;
	margin-bottom:10px;
	padding:.6em 4em .6em 15px;
	position:relative;
	text-align:left;
	width:300px;
}

#form dl dt span {
	background:#FFFFFF;
	border-radius:3px;
	color:#FF3000;
	display:inline-block;
	line-height:1;
	padding:5px 10px;
	position:absolute;
	right:10px;
	top:10px;
}

#form dl dd {
	border:1px solid #82c4dc;
	box-sizing:border-box;
	line-height:2.1;
	margin-bottom:10px;
	width:700px;
}

#form dl.confirm dd {
	padding:.6em 1em;
}

#form dl dd input,
#form dl dd textarea {
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	border:none;
	box-sizing:border-box;
	font-size:16px;
	line-height:1.6;
	padding:.6em 1em;
	width:100%;
}

#form dl dd textarea {
	height: 150px;
}

#form dl dd span {
	box-sizing:border-box;
	display:block;
	font-size:1.6rem;
	padding:.6em 1em;
	width:100%;
}

#form .formbtn {
	text-align:center;
}

#form .formbtn input {
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	background:url(/lib/img/cmn/bg_btn_blue.gif) right center no-repeat;
	border:none;
	color:#2ca2c0;
	cursor:pointer;
	display:inline-block;
	font-size:1.6rem;
	font-weight:bold;
	line-height:1;
	outline:none;
	padding:12px 4em 12px 3em;
}

#form input *::-webkit-input-placeholder {	color:#999;transform: scale(0.8);}
#form input *:-ms-input-placeholder {	color:#999;transform: scale(0.8);}
#form input *:-moz-placeholder {	color:#999;transform: scale(0.8);}
input:focus:placeholder-shown {color: transparent;}
input:focus::-webkit-input-placeholder {color: transparent;}
input:focus::-moz-placeholder {color: transparent;}
input:focus:-ms-input-placeholder {color: transparent;}
input:focus::-ms-input-placeholder {color: transparent;}

:placeholder-shown {	color:#999; }
/* Google Chrome, Safari, Opera 15+, Android, iOS */
::-webkit-input-placeholder { color:#999; }
/* Firefox 18- */
:-moz-placeholder { color:#999; opacity: 1; }
/* Firefox 19+ */
::-moz-placeholder { color:#999; opacity: 1; }
/* IE 10+ */
:-ms-input-placeholder { color:#999; }
/* IE 9- */
.placeholder { color:#999;}

input.error,
select.error,
textarea.error {
	background: #FBEEF4;
}

p.error {
	color: #ff0000;
	font-size: 1.3rem;
	display: inline-block;
	margin-left: 10px;
	vertical-align: top;
}

.formbtn ul {
	display: flex;
	flex-direction: row-reverse;
	justify-content: center;
}

.formbtn li {
	margin:0 20px;
	position: relative;
}

.formbtn .btnBack a {
	display: block;
	width: 176px;
	height: 40px;
	font-size: 1.6rem;
	background: url(/lib/img/cmn/bg_btn_back.gif) no-repeat left center;
	text-align: center;
	box-sizing: border-box;
	padding: 10px 0 0 10px;
	position: relative;
	color: #666;
}



@media only screen and (max-width:767px) {

#header {
	background:none;
}

.htype01 {
	background:url(/lib/img/contact/vi.jpg) center top no-repeat;
	background-size:auto 184px;
	height:184px;
}

#form {
	margin-bottom:30px;
}

#form dl {
	display:block;
}

#form dl dt {
	font-size:1.4rem;
	line-height:1.6;
	margin-bottom:0;
	padding:10px 4em 10px 15px;
	width:auto;
}

#form dl dt span {
	font-size:1.1rem;
	top:10px;
}

#form dl dd {
	line-height:1.6;
	width:auto;
}

#form dl dd input,
#form dl dd textarea {
	padding:10px 1em;
}

#form dl dd span {
	font-size:1.2rem;
	padding:10px 1em;
}

#form .formbtn input {
	font-size:1.4rem;
}

.formbtn ul {
	display: block;
	padding: 0 15px;
	text-align: center;
}

.formbtn li {
	margin: 0 0 10px;
}

p.error {
	display: block;
	margin: 5px 0 0 0;
}

}
