.contact-form {
    width: 50%;
    margin: 10% auto;
}
/*header*/
.top-header{
    height: 73vh !important;
}

.top-header-banner {
    display: block;
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100%;
    background-image: url(../img/contact-page/header-1.jpg);
    background-size: 123%;
    background-position: 0% 73%;
    background-repeat: no-repeat;
}

.top-header-banner-mobile{
    display: none;
}

.header-title{
    background: #fefefe;
    color: #bd1821;
    position: absolute;
    text-decoration: none;
    display: block;
    font-weight: bold;
    bottom: 0;
    transform: translateY(-100%);
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    -moz-box-sizing: border-box;
    /* -webkit-box-sizing: border-box; */
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    /* box-sizing: border-box; */
    letter-spacing: 1.5px;
    z-index: 2;
    width: 50%;
    text-align: center;
    /* padding: 20px 0px; */
    font-family: yu-mincho-pr6n, sans-serif;
    border: none;
    height: 80px;
    line-height: 85px;

}

.header-title span{
    vertical-align: middle;
    font-size: 1.8rem;
}

.reveal-holder2 {
    position: relative;
    overflow: hidden;
    align-items: flex-end;
    width: 100%;
}
.reveal-holder2 .reveal-block2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: white;
}
.reveal-holder2 .reveal-block2::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ac1821;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    z-index: 9;
}

.titlecont{
    display: none;
}
/*form*/
.select2-container--default .select2-selection--single{
    border-color: black !important;
    padding-left: 12px !important;
    padding-top: 3px !important;
    height: 37px !important;
    position: relative;
    border-radius: 8px !important;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13.3333px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 40px;
    color: #000000;
    font-size: 1.3em;
    padding: 4px 12px;
    height: 27px;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 20px;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #000000 transparent !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000000 transparent transparent transparent !important;
}
.select2-results__options .select2-results__option{
    padding-left: 20px !important;
    font-size: 13.3333px !important;
}
.line-parent{
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 50px;
}

.form-vertical-line{
    height: 100px;
    width: 1px;
    margin: 0 auto;
    background-color: #131b2e;
    animation: scrolldown_animation 3s ease 0s infinite;
}


@keyframes scrolldown_animation {
    0% {
        transform: translateY(-100%);
    }
    20%,
    75% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(120%);
    }
}

.contact-form .form-header{

    font-size: 2.1875rem;
    text-align: center;
    font-family: yu-mincho-pr6n, sans-serif;
    font-weight: bold;
    margin: 0;
}
#input-form .form-group{
    margin-bottom: 30px;
}
.form-group .form-label{
    display: table;
}
.form-group .form-label span{
    vertical-align: middle;
}
.form-group label{
    font-weight: bold;
    letter-spacing: 1px;
    vertical-align: middle;
}

.no-display, .wpcf7-form sent{
    display:none;
}

.contact-form input[type=text],
.contact-form input[type=email]{
    height: 37px !important;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form select,
.contact-form textarea{
    width: 100%;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-form input[type=text]:focus,
.contact-form input[type=email]:focus,
.contact-form select:focus,
.contact-form textarea:focus{
    border-color: #d13636;
    outline: none;
}

.contact-form input[type=text]:active,
.contact-form input[type=email]:active,
.contact-form select:active,
.contact-form textarea:active{
    border-color: #d13636;
    outline: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected]{
    background-color: #d13636 !important;
}

.contact-form select{
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
}
.contact-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 99.5%;
    background-position-y: 7px;
    margin-right: 2rem;

}
.contact-form .required-label{
    background: #d13636;
    color: #fff;
    font-size: 12px;
    font-size: 0.67rem;
    padding: 2px 4px 3px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 2px;
    margin: 0 0 0 10px;
    line-height: 1;
}

.word-count-box{
    float: right;
    color: #7b7b7b;
}

#inquiry-content-answer{
    overflow-wrap: break-word;
}

#char-count-text{
    text-align: right;
    margin-top: 20px;
}

.contact-form input[type=text]::-webkit-input-placeholder,
.contact-form input[type=email]::-webkit-input-placeholder,
.contact-form select::-webkit-input-placeholder,
.contact-form textarea::-webkit-input-placeholder {
    letter-spacing: 1px;
}
.contact-form input[type=text]::-moz-placeholder,
.contact-form input[type=email]::-moz-placeholder,
.contact-form select::-moz-placeholder,
.contact-form textarea::-moz-placeholder
{
    letter-spacing: 1px;
}
.contact-form input[type=text]:-ms-input-placeholder,
.contact-form input[type=email]:-ms-input-placeholder,
.contact-form select:-ms-input-placeholder,
.contact-form textarea:-ms-input-placeholder
{
    letter-spacing: 1px;
}
.contact-form input[type=text]:-moz-placeholder,
.contact-form input[type=email]:-moz-placeholder,
.contact-form select:-moz-placeholder,
.contact-form textarea:-moz-placeholder
{
    letter-spacing: 1px;
}

.contact-form .info-text{
    font-size: 12px;
}
.privacy-text{
    margin: 50px 0px;
}

/*messages*/

.wpcf7-form.sent .contact-form,.screen-reader-response{
    display: none !important;
}
.wpcf7-form.sent .wpcf7-response-output{
    text-align: center;
    color: #25855B;
    margin-top: 10%;
}

/*errors*/
.form-group-error label{
    color: #d13636;
}
.form-group-error input[type=text],
.form-group-error input[type=email],
.form-group-error select,
.form-group-error textarea,
.form-group-error .select2-container--default .select2-selection--single,
.select2-container--open .select2-selection--single{
    border-color: #d13636 !important;
}

/*form confirmation*/
.form-answer-group{
    border-top: 1px solid #131b2e;
    padding: 20px 0px;
}
.cFAnswer{
    padding: 10px 25px 10px 25px;
}
/*buttons*/
.contact-form input[type=submit],
.contact-form button,
.wpcf7-form.sent a,
.wpcf7-form.sent button
{
    position: relative;
    display: block;
    width: 225px;
    height: 48px;
    margin: 0px auto 0;
    background-color: #bd1821;
    cursor: pointer;
    border: none;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    -webkit-transition: all .3s;
    transition: all .3s;
    font-weight: bold;
}
.contact-form input[type=submit],
.contact-form input[type=submit]::before,
.contact-form input[type=submit]::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#backToCFBtn{
    margin-top: 50px;
    margin-bottom: 10%;
}
.contact-form input[type=submit]:hover {
    background-color: #e12e37;
}
.form-buttons{
    text-align: center;
    padding-top: 50px;
}
.form-buttons br{
    display: none;
}
#btnSend{
    display:inline-block;
    margin: 0px 5px;
    -webkit-appearance: none;
}
#newCFBackBtn{
    background-color: #fefefe;
    color: #131b2e;
    border: 1px solid #131b2e;
    display:inline-block;
    margin: 0px 5px;
}