.contact{
    padding: 100px 0 124px;
}

.form_box{
    border: 2px solid #b2b2b2;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding: 62px 80px 85px;
}

.contact_line input,
.contact_line p{
    font-size: 1.6rem;
    color: #1e1e1f;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f3f3f3;
    line-height: 1.5;
}

.input_text {
    width: 100%;
    min-height: 69px;
    padding: 20px 30px 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    resize: none;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.input_message{
    font-size: 1.6rem;
    display: block;
    min-height: 166px;
    background-color: #f3f3f3;
}

.contact_line input::placeholder{
    color: #c5c5c5;
}

.contact_line input::-webkit-input-placeholder,
.contact_line textarea::-webkit-input-placeholder {
    color: #c5c5c5;
    font-size: 1.4rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact_line input:-moz-placeholder,
.contact_line textarea:-moz-placeholder {
    color: #c5c5c5;
    font-size: 1.4rem;
    font-family: 'Noto Sans JP', sans-serif;
    opacity:1;
}

.contact_line input::-moz-placeholder,
.contact_line textarea::-moz-placeholder {
    color: #c5c5c5;
    font-size: 1.4rem;
    font-family: 'Noto Sans JP', sans-serif;
    opacity:1;
}

.contact_line input:-ms-input-placeholder,
.contact_line textarea:-ms-input-placeholder {
    color: #c5c5c5;
    font-size: 1.4rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact_line {
    display: flex;
    display: -webkit-flex;
    align-items: stretch;
    margin-bottom: 22px;
}

.contact_line01 {
    align-items: flex-start;
}

.contact_line02{
    margin-bottom: 15px;
}

.contact_type, .contact_write {
    flex: auto;
}

.contact_write01 input,
.contact_write01 p{
    display: inline-block;
    width: calc((100% - 19px)/2);
}

.contact_write01 input:first-of-type,
.contact_write01 p:first-of-type{
    margin-right: 19px;
}

.contact_type{
    font-size: 1.6rem;
    font-weight: bold;
    width: 229px;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background-color: #f3f3f3;
    margin-right: 22px;
    letter-spacing: 3px;
    min-height: 69px;
}

.email_txt{
    padding: 15px 0 20px;
    font-size: 1.4rem !important;
    background-color: #ffffff !important;
}

.content_radio{
    width: 112px;
    position: relative;
}

.content_radio input{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.content_radio label{
    position: relative;
    padding-left: 17px;
    font-size: 1.6rem;
    padding-bottom: 2px;
}

.content_radio label:after,
.content_radio label:before{
    position: absolute;
    content: '';
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;

}

.content_radio label:after{
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 14px;
    height: 14px;
    border: 1px solid #000000;
}

.content_radio label:before{
    top: 0;
    bottom: 0;
    margin: auto;
    display: none;
    left: 3px;
    width: 10px;
    height: 10px;
    background-color: #000000;
}

.content_radio input[type='radio']:checked+label:before{
    display: block;
}

.contact_write02{
    display: -webkit-flex;
    display: flex;
    align-items: center;
	flex-wrap: wrap;
}

.contact_submit_box{
    margin-top: 74px;
    text-align: center;
}

.submit {
    width: 386px;
    max-width: 100%;
    height: 69px;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 5px;
    color: #ffffff;
    background-color: #000000;
    border: none;
    cursor: pointer;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.check {
     display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #000000;
}

.check .contact_form {
    margin-top: 0;
    overflow: auto;
    width: 1000px;
    max-width: 95%;
    max-height: 80%;
    padding: 50px 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #ffffff;
}

.check .contact_line pre {
    margin: 0;
    font-size: 1.6rem;
    word-break: break-word;
    white-space: pre-wrap;
    font-family: 'Noto Sans JP', sans-serif;
}

.check_btn {
    margin-top: 40px;
}

.check_btn a {
    display: block;
    width: 49%;
    float: right;
    padding: 18px 10px 18px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.check_btn .next {
    color: #ffffff;
    background-color: #000000;
    border: 1px solid #000000;
}

.check_btn .prev {
    background-color: #ffffff;
    margin-right: 2%;
    color: #000000;
    border: 1px solid #000000;
}

.thankspage {
    text-align: center;
    padding: 80px 0;
    font-size: 2rem;
    font-weight: bold;
}

.btn_top {
    display: block;
    width: 200px;
    color: #ffffff;
    text-align: center;
    margin: 50px auto 0 auto;
    padding: 10px;
    padding: 12px 10px 4px\0;
    text-decoration: none;
    background-color: #000000;
}

.content_radioAnnotation{
	font-size: 1.6rem;
	width: 100%;
}
.contact_reCAPTCHA{
	width: 304px;
	margin: 0 auto;
}

.al_center{
	text-align: center;
}
.content_checkbox{
	display: inline-block;
	position: relative;
}
.content_checkbox input {
    width: 14px;
    height: 14px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.content_checkbox label{
	display: block;
	position: relative;
	z-index: 2;
	padding-left: 19px;
	font-size: 1.6rem;
	line-height: 1.2;
	cursor: pointer;
	text-align: justify;
}

.content_checkbox label:after, .content_checkbox label:before {
    position: absolute;
    content: '';
}
.content_checkbox label:before {
    display: none;
	left: 4px;
	top: 7px;
	width: 6px;
	height: 3px;
	border: 2px solid #000000;
	border-top: none;
	border-right: none;
	-ms-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.content_checkbox label:after {
    top: 2px;
    left: 0;
    margin: auto;
    width: 14px;
    height: 14px;
    border: 1px solid #000000;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.content_checkbox input[type='checkbox']:checked+label:before {
    display: block;
}



@media only screen and (max-width: 1024px){
    .contact {
        padding: 90px 0;
    }

    .form_box {
        padding: 70px 60px;
    }

    .contact_submit_box {
        margin-top: 60px;
    }
}

@media only screen and (max-width: 1023px){
    .contact {
        padding: 80px 0;
    }

    .form_box {
        padding: 50px 40px;
    }

    .contact_submit_box {
        margin-top: 40px;
    }

    .contact_type {
        width: 170px;
        letter-spacing: 1px;
        min-height: 60px;
        margin-right: 17px;
    }

    .input_text{
        min-height:60px;
    }

    .contact_line {
        margin-bottom: 17px;
    }

    .contact_line02 {
        margin-bottom: 10px;
    }

    .contact_write01 input,
    .contact_write01 p {
        width: calc((100% - 17px)/2);
    }

    .contact_write01 input:first-of-type,
    .contact_write01 p:first-of-type {
        margin-right: 17px;
    }

    .input_message{
        min-height: 150px;
    }

    .email_txt {
        padding: 12px 0 15px;
    }

    .submit {
        width: 360px;
        height: 60px;
        font-size: 1.8rem;
    }

    .check_btn a {
        padding: 15px 10px 15px;
        font-size: 1.8rem;
    }

    .check_btn {
        margin-top: 30px;
    }
}

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

    .contact {
        padding: 70px 0;
    }

    .form_box {
        padding: 40px 30px;
    }

    .contact_line {
        display: block;
    }

    .contact_type {
        width: calc((100% - 12px)/2);
        margin-bottom: 12px;
        font-size: 1.4rem;
    }

    .contact_line input,
    .contact_line p,
    .content_radio label,
    .input_message,
    .check .contact_line pre
    {
        font-size: 1.4rem;
    }

    .email_txt{
        font-size: 1.2rem !important;
    }

    .content_radio label:after {
        width: 12px;
        height: 12px;
    }

    .content_radio label:before {
        width: 8px;
        height: 8px;
    }

    .input_text{
        padding: 20px;
    }

    .contact_submit_box {
        margin-top: 30px;
    }

    .submit {
        width: 320px;
        font-size: 1.6rem;
    }

    .contact_write01 input, .contact_write01 p {
        width: calc((100% - 12px)/2);
    }

    .contact_write01 input:first-of-type, .contact_write01 p:first-of-type {
        margin-right: 12px;
    }

    .contact_line {
        margin-bottom: 25px;
    }

    .contact_line02 {
        margin-bottom: 12px;
    }

    .check .contact_form {
        margin-top: 0;
        overflow: auto;
        width: 1000px;
        max-width: 95%;
        max-height: 80%;
        padding: 40px 30px;
        position: absolute;
        left: 50%;
        top: 50%;
        -ms-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        background-color: #ffffff;
    }

    .check_btn a {
        font-size: 1.6rem;
    }

    .thankspage {
        font-size: 1.8rem;
        padding: 60px 0;
    }

    .btn_top {
        width: 180px;
        margin: 40px auto 0 auto;
    }
	
	.content_radioAnnotation{
		font-size: 1.4rem;
	}
	
	.content_checkbox label{
		padding-left: 17px;
		font-size: 1.4rem;
	}
	.content_checkbox label:after {
	    width: 12px;
	    height: 12px;
	}
	.content_checkbox label:before {
	    left: 3px;
	    top: 6px;
	}
}

@media only screen and (max-width: 480px){
    .contact {
        padding: 60px 0;
    }

    .form_box {
        padding: 40px 20px;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        border-radius: 12px;
    }

    .contact_type {
        width: calc((100% - 10px)/2);
        margin-bottom: 10px;
        min-height: 50px;
    }

    .email_txt {
        padding: 10px 0 12px;
    }

    .contact_write01 input, .contact_write01 p {
        width: calc((100% - 10px)/2);
    }

    .contact_line {
        margin-bottom: 23px;
    }

    .contact_line02 {
        margin-bottom: 10px;
    }

    .contact_write01 input:first-of-type,
    .contact_write01 p:first-of-type {
        margin-right: 10px;
    }

    .input_text {
        min-height: 50px;
        padding: 14px;
    }

    .input_message {
        min-height: 150px;
    }

    .content_radio {
        width: 100px;
        position: relative;
    }

    .submit {
        width: 220px;
        height: 50px;
    }

    .check .contact_form {
        padding: 40px 20px;
    }

    .check_btn a {
        width: 100%;
        float: none;
        padding: 12px 10px;
    }

    .check_btn .next{
        margin-bottom: 15px;
    }
}

@media only screen and (min-width: 1025px){

    .submit:hover{
        -webkit-transform: translate(0,-5px);
        -moz-transform: translate(0,-5px);
        -ms-transform: translate(0,-5px);
        -o-transform: translate(0,-5px);
        transform: translate(0,-5px);
    }

    .check_btn a:hover{
        -webkit-transform: translate(0,-5px);
        -moz-transform: translate(0,-5px);
        -ms-transform: translate(0,-5px);
        -o-transform: translate(0,-5px);
        transform: translate(0,-5px);
    }

    .btn_top:hover{
        -webkit-transform: translate(0,-5px);
        -moz-transform: translate(0,-5px);
        -ms-transform: translate(0,-5px);
        -o-transform: translate(0,-5px);
        transform: translate(0,-5px);
    }
}
