@charset "UTF-8";

.contact {
	background-image: url(../images/contact/image.jpg);
}

#contact {
	max-width: 1040px;
	padding: 0 20px;
	margin: 0 auto;
	line-height: 1;
}

#entry {
	width: 100%;
	margin: 0 0 20px 0;
}

#entry div {
	width: 100%;
	display: -webkit-flex;
    display: flex;
	-webkit-align-items: stretch;
    align-items: stretch;
}

#entry div p:first-child {
	width: 29%;
	padding: 10px 20px;
	margin: 0 1% 10px 0;
	background-color: #E6E6E6;
}

#entry div p:last-child {
	width: 70%;
	padding: 10px 5px;
	margin: 0 0 10px 0;
	border: 1px solid #C8C8C8;
}

#entry div input {
	width: 100%;
	font-size: 100%;
	color: #444;
	line-height: 1;
}

#place {
	width: 70% !important;
	display: block !important;
}

#zip {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}

#zip p:first-child {
	width: auto !important;
	padding: 0 !important;
	padding: 10px 5px 0 0 !important;
	background-color: #FFF !important;
}

#postal_code {
	width: 100px !important;
	padding: 10px 5px !important;
	border: 1px solid #C8C8C8;
	background-color: #FFF !important;
}

#house_number {
	width: 100% !important;
}

#area {
	-webkit-appearance: none;
	-moz-appearance: none;
	padding: 0 5px;
	margin: 0 0 10px 0;
	border: 1px solid #C8C8C8;
	font-family: inherit;
    font-size: 100%;
}

#area option {
	font-family: inherit;
    font-size: 100%;
	line-height: 1;
}

#select {
	border: none !important;
}

#select label {
	margin: 0 20px 0 0;
}

#select label:hover {
	cursor: pointer;
	text-decoration: underline;
}

#select label:last-child {
	margin: 0;
}

#check {
	width: 100%;
	text-align: center;
}

#check p {
	width: 100%;
	margin: 0 0 40px 0;
}

#check p a {
	color: #444;
	text-decoration: underline;
}

#check p a:hover {
	text-decoration: none;
}

.checkbox_custom {
	display: none;
}

.checkbox_parts {
    padding: 0 0 0 20px;
    position: relative;
}

.checkbox_parts::before {
	width: 15px;
    height: 15px;
    content: "";
    display: block;
	border: 1px solid #C8C8C8;
    position: absolute;
    top: 0;
    left: 0;
}

.checkbox_custom:checked + .checkbox_parts::after {
	width: 15px;
    height: 15px;
	border: 1px solid #004DA0;
	background-color: #004DA0;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
}

#contact div p textarea {
	width: 100%;
	height: 150px;
	font-family: 'Noto-DemiLight',"游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3",Hiragino Kaku Gothic ProN,"メイリオ",Meiryo,sans-serif;
	font-size: 100%;
	color: #444;
	line-height: 1.3;
}

#check div {
	width: 300px;
	margin: 0 auto;
}

#button {
	width: 100%;
	height: 34px;
	cursor: pointer;
	font-family: 'Noto-DemiLight',"游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3",Hiragino Kaku Gothic ProN,"メイリオ",Meiryo,sans-serif;
	font-size: 100%;
	color: #444;
	border: 1px solid #C8C8C8;
	background-color: #FFF;
	transition: 0.3s;
}

#button:hover {
	color: #FFF;
	border: 1px solid #004DA0;
	background: #004DA0;
}

.error_message {
	line-height: 1;
	margin: 0 0 15px 0;
}

.error_message:before {
	content: "★";
}

#confirm {
	width: 100%;
	margin: 0 0 30px 0;
	border-collapse: collapse;
}

#confirm th {
	width: 11em;
	padding: 15px 0 15px 5px;
	border-top: 1px solid #C8C8C8;
	border-bottom: 1px solid #C8C8C8;
	font-family: 'Noto-DemiLight',"游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3",Hiragino Kaku Gothic ProN,"メイリオ",Meiryo,sans-serif;
	font-weight: normal;
}

#confirm td {
	padding: 15px 5px 15px 0;
	border-top: 1px solid #C8C8C8;
	border-bottom: 1px solid #C8C8C8;
	font-family: 'Noto-DemiLight',"游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3",Hiragino Kaku Gothic ProN,"メイリオ",Meiryo,sans-serif;
}

#input_check tr:first-child th,
#input_check tr:first-child td {
	border-top: 1px solid #C8C8C8;
}

#submit {
	width: 220px;
	margin: 0 auto;
	display: -webkit-flex;
    display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

#submit p {
	width: 100px;
}

#submit p:hover {
	color: #FFF;
	border: 1px solid #004DA0;
	background: #004DA0;
}

@media screen and (max-width: 700px) {
#contact {
	padding: 0 10px;
}

#zip {
	display: -webkit-flex !important;
	display: flex !important;
}

#entry div {
	display: block;
	margin: 0 0 20px 0;
}

#entry div:last-child {
	margin: 0;
}

#entry div p:first-child {
	width: 100%;
	padding: 0;
	margin: 0 0 5px 0;
	border: none;
	background-color: #FFF;
}

#entry div p:last-child {
	width: 100%;
	margin: 0;
}

#select label {
	margin: 0 0 15px 0;
	display: block;
}

#check div {
	width: 100%;
}

#check p {
	margin: 0 0 20px 0;
}
}