@charset "utf-8";



/* page -------------------- */



body#contact form * {
	-webkit-appearance: none;
	border-radius: 0;
}
body#contact .errormessage {
	display: none;
}
body#contact form .red {
	display: inline-block;
	padding-left: 5px;
}
body#contact form table {
	margin-bottom: 40px;
}
body#contact form th {
	width: 25%;
}
body#contact form td {
	padding-right: 0;
}

body#contact form .error {
	position: relative;
	display: inline-block;
	margin: 0 0 5px 0;
	padding: 5px 10px;
	width: auto;
	color: #ffffff;
	line-height: 1.2;
	text-align: center;
	background: #f24d4d;
	z-index: 4;
	border-radius: 2px;
}
body#contact form .error:after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 10px;
	margin-left: 0;
	display: block;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 0 8px 10px 0;
	border-color: transparent #f24d4d transparent transparent;
	z-index: 3;
}
body#contact form .textarea .error {
	margin: 5px 0 5px 0;
}
body#contact form .agreement .error {
	margin: 0 0 10px 0;
}

body#contact form .form_error td input,
body#contact form .form_error td textarea,
body#contact form .agreement.form_error label.checkbox {
	border: 1px solid #f24d4d;
}
body#contact form table .form_error td .select_outer {
	border: 1px solid #f24d4d;
}
body#contact form table td .select_outer {
	position: relative;
	overflow: hidden;
	display: inline-block;
	width: 100%;
	background: #ffffff;
	border: 1px solid #c6cbcd;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2) inset;
}
body#contact form table td .select_outer select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	margin: 0;
	padding: 8px 30px 8px 10px;
	background: transparent;
	border: 0;
	outline: none;
	font-size: 16px;
	line-height: 1.2em;
	color: #222222;
	-moz-appearance: none;
	text-indent: 0.01px;
	text-overflow: '';
}
:root body#contact form table td .select_outer select {
	width: 104%\0/;
	padding-right: 0\0/;
}
body#contact form table td .select_outer select::-ms-expand {
	display: none;
}
body#contact form table td .select_outer:before{
	position: absolute;
	content: '';
	z-index: 2;
	top: 50%;
	right: 10px;
	width: 6px;
	height: 12px;
	margin-top: -6px;
	background: url(../image/common/i_arrow_black.svg) no-repeat 0 0;
	background-size: 6px 12px;
	transform: rotate(90deg);
}
body#contact form table td input {
	width: 100%;
	margin: 0;
	padding: 8px 10px;
	font-size: 1.6rem;
	line-height: 1.2em;
	color: #222222;
	background: #ffffff;
	border: 1px solid #c6cbcd;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2) inset;
}
body#contact form table tr.birthday td input {
	width: 20%;
}
body#contact form table textarea {
	width: 100%;
	padding: 8px 10px;
	margin: 0;
	font-size: 1.6rem;
	line-height: 1.2em;
	color: #222222;
	background: #ffffff;
	border: 1px solid #c6cbcd;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2) inset;
}
body#contact form table td.textarea p {
	margin: 0 0 0 0;
	font-weight: bold;
}
body#contact form table td .select_outer:active,
body#contact form table td input:focus,
body#contact form table textarea:focus { 
	border: 1px solid #70caeb;
}

body#contact form .agreement {
	line-height: 1;
	text-align: center;
	margin: 0 0 40px 0;
	padding: 0 0 0 0;
}
body#contact form .agreement label.checkbox {
	cursor: pointer;
	width: 20px;
	height: 20px;
	top: 4px;
	margin-right: 10px;
	border: 1px solid #c6cbcd;
	background: #ffffff;
	overflow: hidden;
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	border-radius: 2px;
}
body#contact form .agreement label.checkbox input[type="checkbox"] {
	-moz-appearance: none;
	-webkit-appearance: none;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 20px;
	width: 20px;
	height: 20px;
	left: -20px;
	box-shadow: 20px 0px #ffffff;
	z-index: 2;
}
body#contact form .agreement label.checkbox input[type="checkbox"]:checked {
	box-shadow: none;
}
body#contact form .agreement label.checkbox input[type="checkbox"]:checked:focus {
	box-shadow: 30px 0px #ffffff;
	opacity: 0.1;
}
body#contact form .agreement label.checkbox input[type="checkbox"]:focus {
	box-shadow: 20px 0px #ffffff;
}
body#contact form .agreement label.checkbox:after {
	content: '';
	position: absolute;
	top: 0;
	left: 6px;
	display: block;
	margin-top: 2px;
	width: 4px;
	height: 8px;
	border-right: 2px solid #70caeb;
	border-bottom: 2px solid #70caeb;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	z-index: 1;
}

body#contact form .button {
	text-align: center;
}
body#contact form .button input {
	cursor: pointer;
	position: relative;
	display: table;
	margin: 0 auto;
	padding: 20px 40px;
	font-size: 1.8rem;
	line-height: 1;
	color: #000000;
	text-decoration: none;
	background: #c6cbcd;
	border: none;
	box-shadow: 0 2px #a7abad;
}
body#contact form .button input:hover {
}

body#contact .privacy {
	margin-bottom: 20px;
	border: 1px solid #c6cbcd;
}
body#contact .privacy .privacy_block {
	width: 100%;
	height: 300px;
	padding: 20px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

body#contact.confirm.confirm form * {
	-webkit-appearance: none;
	border-radius: 0;
}
body#contact.confirm .topmessage {
	display: none;
}
body#contact.confirm form table span.orange {
	display: none;
}
body#contact.confirm form table td .select_outer {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
}
body#contact.confirm form table td .select_outer select {
	padding: 0 0 0 0;
}
body#contact.confirm form table td .select_outer:before{
	display: none;
}
body#contact.confirm form .agreement {
	display: none;
}
body#contact.confirm form .button {
	text-align: center;
}
body#contact.confirm form .button input {
	display: inline-block;
	margin: 0 10px;
}
body#contact.confirm .privacy {
	display: none;
}



/* page mediaquery ---------- */



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

}

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

}

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

body#contact form table {
	margin-bottom: 7.5%;
}
body#contact form th {
	display: block;
	width: 100%;
	padding: 2.5%;
}
body#contact form td {
	display: block;
	width: 100%;
	padding: 2.5% 2.5% 5% 2.5%;
}
body#contact form .agreement {
	margin-bottom: 7.5%;
}
body#contact .privacy {
	margin-bottom: 5%;
}
body#contact .privacy .privacy_block {
	padding: 5%;
}

}









