#contact-form label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 400;
    color: #28313b;

}
.contactCol h1.contact-title:after,
.contact-box h1.contact-title:after {
    display: none;
}
.contact-box{
    max-width: 780px;
    margin: auto;
}
.contact-box .contact-title {
    color: #eaedef;
    font-family: Arial;
    font-size: 3rem;
    font-style: italic;
    font-weight: 700;
    line-height: 0.8;
    margin-bottom: 25px;
    position: relative;
    text-align: center;
   margin-top: 0 !important;
}

.contact-box .contact-title span {
    width: 100%;
    color: #28313b;
    font-family: "Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 40%;
    font-style: normal;
    font-weight: 700;
    left: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    white-space: nowrap;
}
.contact_us-card{
    margin-bottom: 70px;
}
.contact_us-card .require-note {
    color: #e60030;
    margin-left: 20px;
}

#contact-form input {
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #28313b;
    font-size: 1.5rem;
    font-family: inherit;
    height: 40px;
    line-height: 38px;
    padding: 0 15px;
}

#contact-form div {
    margin-top: 30px;
}

#contact-form textarea {
    min-height: 305px;
    min-width: 100%;
    height: auto;
    font-size: 1em;
}

#contact-form .form-control:hover, #contact-form button:hover{
    border-color: #6ec3ee;
    box-shadow: none;
}
#target-open:hover{
    border:1px solid #6ec3ee !important;
    box-shadow: none;
}
#target-list{
    border: 1px solid #fff;
    margin-top: 0px !important;
}
#contact-form .target-content {
    border: 1px solid #ddd !important;
    border-radius: 3px;
}

#contact-form .target-content .btn {
    height: 60px;
    /*    line-height: 60px;*/
    border-radius: 0;
    font-size: 100%;
    font-weight: 400;
    position: relative;
    text-align: left;
    width: 100%;
    background-color: transparent;
}
.target-content{
    margin-top: 0px !important;
}
#contact-form .target-content .btn::before {
    border-color: transparent;
    border-style: solid;
    border-top-color: #28313b;
    border-width: 6px;
    content: '';
    position: absolute;
    right: 25px;
    top: 40%;
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-origin: center center;
    transform-origin: center center;
}

#contact-form .target-content .btn[aria-expanded="true"]::before {
    top: 50%;
    -webkit-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
    -webkit-transform-origin: top center;
    transform-origin: top center;
}

#contact-form .target-content ul {
    list-style: none;
}

#contact-form .target-list {
    margin-left: 20px;
    font-weight: 700;
}

#contact-form .target-list>ul {
    margin-bottom: 25px;
    padding-left: 15px;
    padding-right: 15px;
}

#contact-form .target-list>ul>li:first-child {
    margin-top: 0;
}

#contact-form .target-list ul ul {
    font-weight: 400;
    margin-left: 15px;
}

#contact-form .target-list ul ul .custom-control-label,
#contact-form .agree-custom .custom-control-label {
    font-weight: normal;
}

#contact-form .target-list label[for="target-list0"]::before {
    opacity: 0;
}

#contact-form .custom-control {
    padding: 0;
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

#contact-form .custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

#contact-form .custom-control-label {
    padding-left: 15px;
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

#contact-form .custom-control-label::before {
    border-radius: .25rem;
    position: absolute;
    top: .1rem;
    left: -1.5rem;
    display: block;
    width: 19px;
    height: 19px;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}

#contact-form .custom-control-label::after {
    left: -15px;
    height: 19px;
    width: 19px;
    position: absolute;
    top: .1rem;
    left: -1.5rem;
    display: block;
    content: "";
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

#contact-form .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #38c2f1;
    border-color: #38c2f1;
    color: #fff;
}

#contact-form .custom-control-input:checked~.custom-control-label::after {
    background-image: url("../../../improve/images/checkmark.svg");
    background-size: 14px 12px;
}

#contact-form .agree-custom,
#contact-form .captcha {
    text-align: center;
}

#contact-form .form-submit {
    text-align: center;
    margin-bottom: 10px;
}

#contact-form .agree-policy {
    color: #e60030;
}

#contact-form .btn-primary[type="submit"] {
    background-color: #fff;
    border-color: #28313b;
    color: #28313b;
    font-weight: 700;
    padding: 0 30px;
    border-radius: 17.5px;
    border-width: 2px;
    line-height: 35px;
    min-width: 160px;
    padding: 0 30px;
    transition: all 0.4s ease-in-out;
    top: 0px;
    transition: all 0.4s ease-in-out;
}
#contact-form .btn-primary.orange[type="submit"] {
    border-color: #FF9925;
}
.custom-checkbox{
    /*margin-top: 0px !important;*/
}
#contact-form .btn-primary[type="submit"]:hover {
    background-color: #28313b;
    color: #fff;
}
#contact-form .btn-primary.orange[type="submit"]:hover {
    background-color: #FF9925;
    color: #fff;
}
.contact_thankyou .widget-title abbr {
    display: inline-block;
}

.contact_thankyou .contact_thankyou-card {
    text-align: center;
    word-break: break-word;
}

.contact_thankyou .contact_thankyou-card p {
    margin-bottom: 30px;
}

.contact_thankyou .contact_thankyou-card p.email {
    font-size: 16px;
    font-weight: 700;
}

.contact_thankyou .contact_thankyou-card .btn {
    margin-top: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.4s ease-in-out;
}

.contact_thankyou .contact_thankyou-card .btn:hover {
    background-color: #28313b;
    color: #fff;
}

.contact_thankyou .contact_thankyou-card .btn-primary {
    background-color: #fff;
    border-color: #28313b;
    color: #28313b;
}


@media (min-width: 992px) {
    .contact-box .contact-title {
        font-size: 9rem;
        margin-bottom: 40px;
    }

    #contact-form {
        font-size: 16px;
    }

    #contact-form input {
        height: 60px;
        line-height: 58px;
    }

    #contact-form .form-control {
        height: 60px;
    }

    #contact-form .target-content .btn::before {
        border-width: 11px;
    }

    #contact-form .btn-primary[type="submit"] {
        border-radius: 33.5px;
        border-width: 3px;
        font-size: 1.5rem;
        line-height: 60px;
        line-height: 56px;
        min-width: 255px;
    }

    .contact_thankyou .contact_thankyou-card .btn {
        border-radius: 33.5px;
        border-width: 3px;
        font-size: 1.5rem;
        line-height: 60px;
        line-height: 56px;
        min-width: 255px;
    }
}

@media (min-width: 768px) {
    #contact-form .target-list {
        margin-left: 15px;
    }
}
@media (max-width: 414px) {
    .contact-box .contact-title {
        font-size: 4.5rem;
        margin-bottom: 40px;
    }
    #contact-form .target-list {
        margin-left: 0px;
    }
}
.invalid-feedback{
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}
#contact-form .error{
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545 !important;
    margin-top: 15px;
}
.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #dc3545;
    padding-right: 2.25rem;
    background-repeat: no-repeat;
    background-position: center right calc(2.25rem / 4);
    background-size: calc(2.25rem / 2) calc(2.25rem / 2);
}
.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #dc3545 !important;
}
.was-validated textarea.form-control:invalid,
textarea.form-control.is-invalid {
    padding-right: 2.25rem;
    background-position: top calc(2.25rem / 4) right calc(2.25rem / 4);
}
.custom-control-input.is-invalid~.custom-control-label::before,
.was-validated .custom-control-input:invalid~.custom-control-label::before {
    border-color: #dc3545 !important;
}
.form-control.is-invalid~.invalid-feedback,
.was-validated .form-control:invalid~.invalid-feedback{
    display: block;
}
.custom-control.is-invalid~.invalid-feedback,
.was-validated .custom-control-input:invalid~.invalid-feedback {
    display: block;
}
.was-validated .custom-control-input#captcha:invalid~.invalid-feedback {
    display: block;
    text-align: center;
}

.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #28a745;
    padding-right: 2.25rem;
    background-repeat: no-repeat;
    background-position: center right calc(2.25rem / 4);
    background-size: calc(2.25rem / 2) calc(2.25rem / 2);
}
.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #28a745;
}
.was-validated textarea.form-control:valid,
textarea.form-control.is-valid {
    padding-right: 2.25rem;
    background-position: top calc(2.25rem / 4) right calc(2.25rem / 4);
}

.captcha .g-recaptcha > div:first-child {
    margin: auto;
}
.captcha label {
    display: none;
}
.collapse:not(.show) {
  display: none;
}
.article-body ul:not([class*="wp-block-"]) li:not(.contents-outline__item),
.article-body ol:not([class*="wp-block-"]) li:not(.contents-outline__item) {
    line-height: normal;
}
#contact-form .btn-primary[type="submit"] {
    top: 0px;
}
#target-open.action {
    position: relative;
    padding: 0 50px;
}
#target-open.action:after {
    content: '';
    width: 17px;
    height: 17px;
    background: #38c2f1;
    position: absolute;
    border-radius: 3px;
    left: 20px;
    top: 23px;
}
#box-target div.custom-radio {
    margin-top: 0;
    margin-left: 30px;
}
#box-target input[type="radio"] {
    height: auto;
    margin-bottom: 3px;
    margin-right: 10px;
}
#box-target .custom-radio label {
    margin-bottom: 10px;
}
#box-target textarea {
    min-height: 150px;
}
#contact-form .target-content.error,  #contact-form textarea.error{
    border-color: #dc3545 !important;
    color: #28313b !important;
    background-repeat: no-repeat;
    background-position: center right calc(2.25rem / 4);
    background-size: calc(2.25rem / 2) calc(2.25rem / 2);
    background-image: none;
}
#contact-form .target-content #target-open {
    border: none;
    padding-left: 30px;
}
#contact-form .target-content .action#target-open {
    padding-left: 50px;
}
#target-input {
    opacity: 0 !important;
    position: absolute;
    right: -100%;
    height: 0px !important;
    width: 0px !important;
}
#contact-form .target-content #target-open {
    border: none;
    padding-left: 30px;
}
#contact-form .target-content #target-open.action {
    padding-left: 50px;
}
#box-target .custom-radio input[type="radio"].error {
    border: 1px solid #dc3545 !important;
    box-shadow: none;
    width: auto;
    margin-top: 3px;
}
#box-target .custom-radio [type="radio"]:checked,
#box-target .custom-radio [type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
#box-target .custom-radio [type="radio"]:checked + label,
#box-target .custom-radio [type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
#box-target .custom-radio [type="radio"]:checked + label:before,
#box-target .custom-radio [type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
#box-target .custom-radio [type="radio"]:checked + label:before{
    content: '';
    border: 1px solid #38c2f1;
}
#box-target .custom-radio .error[type="radio"]:not(:checked) + label:before{
    content: '';
    border: 1px solid #dc3545 !important;
}
#box-target .custom-radio [type="radio"]:checked + label:after,
#box-target .custom-radio [type="radio"]:not(:checked) + label:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #38c2f1;
    position: absolute;
    top: 6px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
#box-target .custom-radio [type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
#box-target .custom-radio [type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}