@charset "UTF-8";
/* contact */

.form_contact h2 {
    position: relative;
    padding-bottom: 28px;
}

.form_contact h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 2px;
    background: #283B6F;
}

.form_contact h2 .jp {
    color: #333333;
    font-size: 48px;
    line-height: calc(61/48);
}

.form_contact h2 .en {
    position: absolute;
    top: 50%;
    left: 0;
    color: #E8E6B9;
    font-size: 100px;
    line-height: 1;
    letter-spacing: 0.05em;
}

.CaseStudy.astro-6kpivsp6.form_contact {
    background-color: #EFF1F5;
}

.form_contact h2 {
    position: relative;
    text-align: center;
}

.form_contact h2::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    background: #283B6F;
}

.form_contact h2 .jp {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: rgb(40, 59, 111);
}

.form_contact h2 .en {
    position: relative;
    color: rgba(40, 59, 111, 0.1);
}

.form_contact form {
    width: 100%;
    max-width: 884px;
    margin: 0 auto;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 10px;
    box-shadow: none;
    background-color: white;
    border: 1px solid #999;
    border-radius: 5px;
    color: inherit;
    font-size: inherit;
    font-weight: normal;
    font-family: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    outline: none;
    resize: none;
    touch-action: manipulation;
}

input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="tel"]:disabled,
textarea:disabled {
    background-color: transparent;
    border: none;
}

input[type="checkbox"] {
    display: none !important;
}

textarea {
    height: 100%;
    min-height: 100px;
    vertical-align: bottom;
}

input::-moz-placeholder {
    opacity: 1;
    color:#aaa;
}

input::placeholder {
    opacity: 1;
    color:#aaa;
}

textarea::-moz-placeholder {
    opacity: 1;
    color:#aaa;
}

textarea::placeholder {
    opacity: 1;
    color:#aaa;
}



.form__list dt {
    display: flex;
    justify-content: space-between;
    padding-right: 20px;
}

.form__list dt p {
    font-weight: normal;
    text-align: center;
    line-height: 1.3;
}

.form__list dt .required {
    color: #D52423;
}

.errorText {
    display: block;
    margin-top: 5px;
    color: #D52423;
    font-size: 12px;
    line-height: 1.3;
}

.errorText:empty {
    display: none;
}

.privacy_wrap .privacy_title {
    margin-bottom: 1em;
    font-weight: bold;
}

.privacy_wrap .privacy_text {
    font-weight: normal;
}

.privacy_link {
    display: inline-block;
    color: #283B6F;
}

.privacyBox {
    text-align: center;
}

.form__btn {
    width: 100%;
    text-align: center;
}

.inputButton {
    position: relative;
    display: block;
    color: #FFF;
    font-size: 26px;
    line-height: calc(88/26);
    text-decoration: none;
    width: 320px;
    margin: 0 auto;
    background: #6FBA2C;
    border-radius: 8px;
}

.inputButton::after {
    content: "";
    position: absolute;
    top: 52%;
    right: 0;
    display: block;
    width: 10px;
    height: 10px;
    margin-right: 30px;
    border-right: 3px #FFF solid;
    border-top: 3px #FFF solid;
    transform: rotate(45deg) translate(-50%, -50%);
}

.inputButton:not(:disabled):hover {
    color: #FFF;
    opacity: 0.6;
}

.inputButton:not(:disabled):hover::after {
    border-color: #FFF;
}

.inputButton:disabled {
    cursor: not-allowed;
}

.-input .-showConfirm,
.-confirm .-showInput{
    display: none;
}



/* contact */
.form_contact {
    padding: 50px 0;
}

.form_contact h2::after {
    bottom: -15px;
    width: 80px;
    height: 2px;
}

.form_contact h2 .jp {
    bottom: 5px;
    font-size: 48px;
}

.form_contact h2 .en {
    top: 50%;
    left: 0;
    font-size: 100px;
    line-height: 1;
    letter-spacing: 0.05em;
    position: relative;
    color: rgba(40, 59, 111, 0.1);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    padding: 18px;
    border-width: 2px;
    border-radius: 8px;
    font-size: 16px;
}

input[type="checkbox"] + * {
    position: relative;
    padding-left: 35px !important;
}

input[type="checkbox"] + *::before {
    background: #fff;
    border: 1px solid #999;
    content: "";
    display: block;
    height: 20px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
}

input[type="checkbox"]:checked + *::after {
    background: #111;
    content: "";
    display: block;
    height: 10px;
    left: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
}

input[type="checkbox"]:disabled + * {
    color: #999;
}

.form__list {
    margin-top: 65px;
}

.form__list li + li {
    margin-top: 20px;
}

.form__list dl {
    display: flex;
}

.form__list li:not(.textarea) dl {
    align-items: center;
}

.form__list dt {
    width: 164px;
}

.form__list li:not(.textarea) dt {
    align-items: center;
}

.form__list dt p {
    width: 88px;
    font-size: 16px;
    font-weight: normal;
}

.form__list dt .required {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
}

.form__list dd {
    width: 720px;
}

.privacy_wrap {
    margin-top: 50px;
}

.privacy_wrap .privacy_title {
    font-size: 16px;
    font-weight: bold;
}

.privacy_wrap .privacy_text {
    font-size: 16px;
}

.privacyBox {
    margin: 50px auto;
}

.privacyBox label {
    cursor: pointer;
}

.form__btn {
    margin-top: 50px;
}


@media screen and (max-width:768px) {
    .-pc {
        display: none;
    }

    .form_contact {
        padding: calc(50/375*100vw) calc(30/375*100vw);
    }

    .form_contact h2::after {
        bottom: calc(-20/375*100vw);
        width: calc(80/375*100vw);
        height: calc(2/375*100vw);
    }

    .form_contact h2 .jp {
        position: relative;
        font-size: calc(26/375*100vw);
    }

    .form_contact h2 .en {
        font-size: calc(48/375*100vw);
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        padding: calc(13/375*100vw);
        border-width: calc(1/375*100vw);
    }

    input[type="text"]:disabled,
    input[type="email"]:disabled,
    input[type="tel"]:disabled,
    textarea:disabled {
        padding: calc(13/375*100vw) 0;
    }

    input[type="checkbox"] + span::before {
        background: #fff;
        border: calc(1 / 375 * 100vw) solid #999;
        content: "";
        display: block;
        height: calc(20 / 375 * 100vw);
        left: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: calc(20 / 375 * 100vw);
    }

    input[type="checkbox"] + span::after {
        background: #111;
        border: 0;
        content: "";
        display: block;
        height: calc(11 / 375 * 100vw);
        left: calc(4.5 / 375 * 100vw);
        opacity: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        transition: 0.3s;
        width: calc(11 / 375 * 100vw);
    }

    input[type="checkbox"]:checked + span::after {
        opacity: 1;
    }

    .form__list dt .required {
        font-size: calc(12/375*100vw);
    }

    .form__list {
        margin-top: calc(55/375*100vw);
    }

    .form__list li + li {
        margin-top: calc(20/375*100vw);
    }

    .form__list dt {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: calc(15/375*100vw);
    }

    .form__list li:not(.textarea) dt {
        align-items: center;
    }

    .form__list dt p {
        font-size: calc(14/375*100vw);
        font-weight: normal;
        width: auto;
    }

    .form__list dt .required {
        display: inline-block;
        margin-left: calc(5/375*100vw);
        font-size: calc(12/375*100vw);
        line-height: 1;
    }

    .errorText {
        margin-top: calc(5/375*100vw);
        font-size: calc(12/375*100vw);
    }

    .form__list dd {
        width: 100%;
    }

    .privacy_wrap {
        margin-top: calc(50/375*100vw);
    }

    .privacy_wrap .privacy_title {
        font-size: calc(14/375*100vw);
        font-weight: bold;
        text-align: center;
    }

    .privacy_wrap .privacy_text {
        font-size: calc(14/375*100vw);
    }

    .privacyBox {
        margin: calc(50/375*100vw) auto calc(30/375*100vw);
    }

    .privacyBox label {
        position: relative;
        padding: 0 calc(30/375*100vw);
    }

    .inputButton {
        font-size: calc(18/375*100vw);
        width: calc(260/375*100vw);
        border-radius: calc(8/375*100vw);
    }

    .inputButton::after {
        top: 52%;
        width: calc(8/375*100vw);
        height: calc(8/375*100vw);
        margin-right: 30px;
        border-right: calc(2/375*100vw) #FFF solid;
        border-top: calc(2/375*100vw) #FFF solid;
    }

    .form__btn {
        margin-top: calc(30/375*100vw);
    }


    .form__list dl {
        display: flex;
        flex-direction: column;
    }

}


/*thanks*/
.thanks .btn.-pageTransition {
    text-align: center;
    border-radius: 8px;
}

.thanks .btn.-pageTransition::before {
    display: none;
}

.thanks .btn.-pageTransition::after {
    content: "";
    position: absolute;
    top: 52%;
    right: 0;
    display: block;
    width: 10px;
    height: 10px;
    margin-right: 30px;
    border-right: 3px #FFF solid;
    border-top: 3px #FFF solid;
    transform: rotate(45deg) translate(-50%, -50%);
}

.thanks .btn:hover{
    color: #FFF;
    opacity: 0.6;
}

.thanks {
    min-height: calc(100vh - 55px);
    padding: 200px 0 50px;
    background: #EFF1F5;
}

.thanks .message {
    max-width: 864px;
    margin: 60px auto;
}

.thanks .message strong {
    display: block;
    font-size: 26px;
    margin-bottom: 20px;
}
        
.thanks .btn {
    margin: 40px auto 0;
    position: relative;
    display: block;
    color: #FFF;
    font-size: 26px;
    line-height: calc(88/26);
    text-decoration: none;
    width: 320px;
    margin: 0 auto;
    background: #6FBA2C;
    border-radius: 8px;
}

@media screen and (max-width:768px) {
    .thanks .btn {
        display: inline-block;
        height: calc(52 / 375 * 100vw);
        width: calc(260 / 375 * 100vw);
        font-size: calc(18 / 375 * 100vw);
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: calc(10 / 375 * 100vw);
        text-decoration: none;
        color: #fff;
        border-radius: calc(40 / 375 * 100vw);
        position: relative;
    }
    .thanks .btn::after {
        top: 52%;
        width: calc(8/375*100vw);
        height: calc(8/375*100vw);
        margin-right: 30px;
        border-right: calc(2/375*100vw) #FFF solid;
        border-top: calc(2/375*100vw) #FFF solid;
    }
    .thanks {
        min-height: calc(100vh - calc(58/375*100vw));
        padding: calc(160/375*100vw) 0 calc(57/375*100vw);
        background: #EFF1F5;
    }
    .thanks section {
        overflow: visible;
    }

    .thanks .message {
                font-size: calc(14/375*100vw);
                max-width: calc(315/375*100vw);
        margin: calc(45/375*100vw) auto;
    }
    .thanks .message strong {
        font-size: calc(16/375*100vw);
        text-align: center;
        margin-bottom: calc(20/375*100vw);
    }
    .thanks .btn {
        margin: calc(40/375*100vw) auto 0;
    }
}