@charset "utf-8";

.contactPageHead {
	height: 180px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: url("../images/contact/contact_head_bg.jpg") center center no-repeat;
	background-size: cover;
}
.contactPageHead h1 {
	color: #ffffff;
	font-size: 4.2rem;
	font-weight: 400;
}
@media screen and (max-width : 767px) {
	.contactPageHead {
		height: 80px;
	}
	.contactPageHead h1 {
		font-size: 7vw;
	}
}

.contactRequiredTxt {
	color: #E62D14;
}
.contactItemsBox {
	margin: 1em 0 0 0;
	padding: 50px 80px;
	background: #F4F6F6;
}
.contactTbl01 {
	width: 100%;
}
.contactTbl01 th ,
.contactTbl01 td {
	text-align: left;
	padding: 25px 0;
}
.contactTbl01 th {
	width: 220px;
	font-size: 2rem;
	font-weight: bold;
}
.contactTbl01 .required {
	color: #E62D14;
	vertical-align: top;
}
.contactPrivacyAgreeBox {
	margin: 5rem auto 0;
	display: flex;
	justify-content: center;
}
@media screen and (max-width : 767px) {
	.contactItemsBox {
		padding: 20px;
	}
	.contactTbl01 th ,
	.contactTbl01 td {
		display: block;
		padding: 5px 0;
	}
	.contactTbl01 th {
		width: auto;
		font-size: 2rem;
		font-weight: bold;
	}
	.contactPrivacyAgreeBox {
		margin-top: 4rem;
	}
}

.contactItemError {
    margin: 0.5em 0 0;
    color: #E62D14;
    font-size: 1.2rem;
}
.contactFormSubmitBox {
	text-align: center;
}
.contactFormBtn {
    position: relative;
    display: inline-block;
    width: 170px;
    /*margin: 10px 0;*/
	margin: 4rem 0;
    text-align: center;
}
.contactFormBtn input {
    display: block;
    text-align: center;
    margin: 0;
    padding: 1.2rem 3.5rem 1.2rem 2.5rem;
    width: 100%;
    font-weight: 600;
    color: #484848;
    background: none;
    border: #484848 1px solid;
    border-radius: 0;
    text-decoration: none;
    transition: .2s;
}
.contactFormBtn .arrow {
    display: block;
    position: absolute;
    content: '';
    top: 44%;
    right: 1.5rem;
    width: 8px;
    height: 8px;
    border-top: 2px solid #666666;
    border-right: 2px solid #666666;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: .2s;
}
.contactFormBtn:hover input {
    color: #fff;
    background: #006994;
    border-color: #006994;
}
.contactFormBtn:hover .arrow {
    border-color: #fff;
}
.contactFormBtn input:disabled {
    border: 1px solid transparent;
    background: #AEB0B1;
    color: #fff;
    cursor: default;
}
.contactFormBtn input:disabled + .arrow {
    border-color: #fff;
}
@media screen and (min-width : 768px) {
    .contactFormBtn {
    	margin: 5rem auto 0;
    }
    .contactFormBtn input {
        font-size: 1.6rem;
    	padding: 1.5rem 3.5rem 1.5rem 2.5rem;
        cursor: pointer;
	}
}

/* form input etc
--------------------------------------------------------------*/
input, textarea {
    outline: 0;
    border: none;
}
select {
	width: 100%;
	padding: 1.5rem;
	border-radius: 0;
	outline: none;
	color: #666666;
	background: #ffffff;
    border: solid 1px #484848;
}
input[type=checkbox], input[type=radio] {
    /* display: none; */
    display: block;
    width: 1px;
    height: 1px;
    opacity: 0;
    border-radius: 0;
    -webkit-appearance: none;
}
label {
    display: inline-block;
    position: relative;
    margin: 0 1.5rem .4rem 0;
    padding: 0 0 0 3rem;
    vertical-align: middle;
    cursor: pointer;
}

input[type=checkbox] + label::before {
    content: "";
    display: block;
    position: absolute;
    top: .1rem;
    left: 0;
    width: 19px;
    height: 19px;
    margin: 0 1rem 0 0;
    vertical-align: middle;
    border: solid 1px #484848;
    border-radius: 2px;
    background: #fff;
}
input[type="checkbox"]:checked + label::after {
    content: "";
    display: block;
    position: absolute;
	top: 0;
    left: 3px;
    width: 16px;
    height: 8px;
    border-left: 3px solid #006994;
    border-bottom: 3px solid #006994;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
@media screen and (max-width : 767px) {
    input[type=checkbox] + label {
        display: block;
    }
}

input[type=radio] + label {
    margin: 1.5rem 4rem 0 0;
}
input[type=radio] + label::before {
    content: "";
    display: block;
    position: absolute;
    top: 1px;
    left: 0;
    width: 17px;
    height: 17px;
    margin: 0 1rem 0 0;
    vertical-align: middle;
    border: solid 1px #191B1D;
    background: #fff;
    border-radius: 50%;
}
input[type="radio"]:checked + label::before {
    border: solid 1px #191B1D;
}
input[type="radio"]:checked + label::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 4px;
    width: 9px;
    height: 9px;
    border: solid 1px #191B1D;
    background: #006994;
    border-radius: 50%;
}
input[type="radio"]:invalid + label::before {
    border: solid 1px #FD9A00;
}
input[type="radio"]:valid + label::before {
    border: solid 1px #484848;
}
@media screen and (max-width : 767px) {
    input[type=radio] + label {
        display: block;
        margin: 1rem 0 0;
    }
}

input[type="text"], input[type="tel"], input[type="email"], input[type="number"] {
    width: 100%;
    padding: 1.5rem;
    /*font-size: 1.5rem;*/
    border: solid 1px #484848;
    background: #fff;
    /* border-radius: 3px; */
}
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, input[type="number"]:focus, textarea:focus {
    /* border: solid 1px #484848; */
    background: #D7E6EC;
}
input[type="text"]:invalid, input[type="tel"]:invalid, input[type="email"]:invalid, input[type="number"]:invalid, textarea:invalid {
    border: solid 1px #FD9A00;
    background: #FFF4E3;
}
input[type="text"]:valid, input[type="tel"]:valid, input[type="email"]:valid, input[type="number"]:valid, textarea:valid {
    border: solid 1px #484848;
}
input[type="text"]::placeholder, input[type="tel"]::placeholder, input[type="email"]::placeholder, input[type="number"]::placeholder, textarea::placeholder {
    color: #ADB1C8;
}
input[type="text"]:focus::placeholder, input[type="tel"]:focus::placeholder, input[type="email"]:focus::placeholder, input[type="number"]:focus::placeholder, textarea:focus::placeholder {
    color: #FFF4E3;
}
input[type="text"]:disabled {
    border-color: #989898;
    background: none;
}

textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.5rem;
    border: solid 1px #484848;
    border-radius: 0;
}