/*Contact page*/
.title-page h2 {
    text-align: center;
    padding: 0;
    color: #44656a;
    font-size: 32px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    margin: 0 auto 15px;
}
#form-contact {
    max-width: 420px;
    margin: 0 auto;
}
#form-contact label {
    color: #666;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
}
#form-contact .text-required {
    position: absolute;
    font-size: 20px;
    top: -1px;
    right: -11px;
}

#form-contact label.error {
    color: #f00;
    font-weight: bold;
    display: inline;
}

#form-contact .form-control {
    background: #eeeeee;
    border: 1px solid #fff;
    border-radius: 10px;
    -moz-box-shadow: inset 0px 4px 10px 0px rgba(102, 102, 102, 0.1);
    -webkit-box-shadow: inset 0px 4px 10px 0px rgba(102, 102, 102, 0.1);
    box-shadow: inset 0px 4px 10px 0px rgba(102, 102, 102, 0.1);
}
#form-contact textarea.form-control {
    height: 60px;
}

#form-contact .custom-select {
    height: 34px;
    border-color: #44656a;
    border-radius: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    background: url(../images/select-down.png) 97% no-repeat;
}
.required-fields {
    color: #df1d1a;
    font-size: 14px;
    text-align: center;
    margin: -8px 0 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}
.required-fields span{
    font-size: 27px;
    transform: translate(-120%, -6%);
    position: absolute;
}
.text-required {
    color: #df1d1a;
}
.btn-send {
    border: 1px solid #b49769;
    max-width: 360px;
    width: 100%;
    height: 94px;
    background: #B39768;
    color: #fff;
    border-radius: 5px;
    font-size: 28px;
    margin: 22px auto 105px;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    -webkit-box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.3);
}
.btn-send .arrow-right {
    display: block;
    width: 22px;
    height: 13px;
    position: absolute;
    right: 20px;
    top: 39px;
    background: url(../images/arrow-right.png) no-repeat;
}
.btn-send:hover {
    -webkit-box-shadow: 0px 0px 25px 0px rgba(150, 150, 150, 1);
    -moz-box-shadow: 0px 0px 25px 0px rgba(150, 150, 150, 1);
    box-shadow: 0px 0px 25px 0px rgba(150, 150, 150, 1);
}
.btn-send .flaticon-right {
    position: absolute;
    right: 20px;
}
/* Style Jsvalidator */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border: 1px solid red!important;
}

.form-group input.error~span {
    color: #f00;
}

.form-item-group .form-group-item-inline {
    margin-right: 44px;
}

/* Response */
@media screen and (max-width: 768px) {
    .contact-page {
        max-width: 750px;
        margin: 0 auto;
    }
    .contact-page .container {
        max-width: 675px;
    }
    .title-page h2 {
        font-size: 42px;
        margin: 0 auto 30px;
    }
    .required-fields {
        font-size: 26px;
        margin-bottom: 50px;
        margin-left: 28px;
        margin-top: 1px;
    }
    .required-fields span {
        font-size: 37px;
        transform: translate(-118%, 5%);
        position: absolute;
    }
    #form-contact {
        max-width: 560px;
    }
    #form-contact .form-group {
        margin-bottom: 12px;
    }
    #form-contact .form-control, #form-contact .custom-select {
        height: 64px;
        font-size: 26px;
    }
    #form-contact .custom-select {
        border-width: 2px;
        background: url(../images/select-down-lg.png) 98% no-repeat;
    }
    #form-contact label {
        font-size: 26px;
    }
    #form-contact .text-required {
        font-size: 37px;
        top: -1px;
        right: -20px;
    }
    #form-contact textarea.form-control {
        height: 160px;
    }
    .btn-send {
        max-width: 560px;
        height: 160px;
        border-radius: 10px;
        margin-top: 48px;
        margin-bottom: 230px;
        font-size: 38px;
    }
    .btn-send .arrow-right {
        right: 30px;
        width: 36px;
        height: 21px;
        top: 67px;
        background: url(../images/arrow-right-lg.png) no-repeat;
    }
}
@media screen and (max-width: 480px) {
    .title-page h2 {
        font-size: 26.5px;
        margin-bottom: 18px;
    }
    .required-fields {
        font-size: 16px;
        margin-bottom: 37.5px;
        margin-left: 19px;
    }
    .required-fields span {
        font-size: 24px;
        transform: translate(-118%, 5%);
        position: absolute;
    }
    #form-contact .form-group {
        margin-bottom: 7.5px;
    }
    #form-contact .form-control, #form-contact .custom-select {
        height: 38.5px;
        font-size: 16.5px;
    }
    #form-contact .custom-select {
        border-width: 2px;
        background: url(../images/select-down.png) 97% no-repeat;
    }
    #form-contact label {
        font-size: 16.5px;
    }
    #form-contact .text-required {
        font-size: 25px;
        top: -1px;
        right: -20px;
    }
    #form-contact textarea.form-control {
        height: 100px;
    }
    .btn-send {
        height: 100px;
        border-radius: 5px;
        margin-top: 30px;
        margin-bottom: 144px;
        font-size: 24px;
    }
    .btn-send .arrow-right {
        transform: scale(0.65);
        top: 37px;
        right: 20px;
    }
}
