@charset "UTF-8";
.header {
    position: static !important;
}
.language-select {
    background-color: #eff3ff;
    color: #506095;
    border-radius: 8px;
    padding: 30px;
    font-size: 1.8rem;
    line-height: 1.7222222222;
    text-align: center;
    .selectwrap {
        display: inline-block;
        position: relative;
        width: 100%;
        max-width: 350px;
    }
    .selectwrap::after {
        content: "";
        width: 15px;
        height: 8px;
        background-color: #506095;
        position: relative;
        -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
        clip-path: polygon(50% 100%, 0 0, 100% 0);
        border-radius: 1px;
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        right: 10px;
        pointer-events: none;
    }
    #language-switcher {
        border: solid 1px #ccc;
        border-radius: 4px;
        width: 100%;
        background-color: #fff;
        padding: 3px;
    }
}
@media screen and (max-width: 800px) {
    .language-select  {
    font-size: 16px;
    }
}
.c-formBtn:hover {
    opacity: 0.7;
}

.formsec {
    color: #333;
    .error.pfwform-system-show {
        background: rgba(255,255,255,.6);
        color: #AF1E24;
        padding: 1rem .6rem;
        border-radius: 6px;
        text-align: center;
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }
    .sec-title {
        color: #333 !important;
    }
    a[href^="tel:"] {
        @media (min-width: 481px) {
            pointer-events: none;
            text-decoration: none;
            color: inherit;
        }
    }
}
.form_group_inner {
    input {
        border: solid 1px #ccc;
    }
    select {
        border: solid 1px #ccc;
    }
    textarea {
        border: solid 1px #ccc;
    }
}
#formWrap {
    .c-formTbl__title {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }
    .formTable {
        align-items: start !important;
    }
    .c-formTbl__head {
        margin-top: .5em !important;
    }
    .c-example {
        font-size: 0.8em;
        margin-top: 1em;
    }
    .c-formComment {
        margin-top: 1em;
        padding: 0.7em;
        line-height: 2.3rem;
        background: #f2f2f2;
        color: #333;
        font-size: 0.8em;
        border-radius: 6px;
    }
    .c-inputList {
        margin-top: 0.7rem;
        li {
            display: inline-block;
            margin-right: 2rem;
        }
    }
    .selectwrap {
        display: inline-block;
    }
    .form_error_wrap {
        margin-top: 1em;
        background: #AF1E24;
        color: #fff;
        padding: 0.5em .6em;
        border-radius: 6px;
    }
    input.has_error,
    textarea.has_error {
        background-color: #F0C1C3 !important;
        border: 2px solid #AF1E24;
    }
    select {
        padding-right: 30px !important;
        width: auto !important;
        min-width: 215px;
    }
    .ico.optional{
        display: inline-block;
        text-align: center;
        /* min-width: 35px; */
        white-space: nowrap;
        border-radius: 4px;
        background-color: #ccc;
        color: #333;
        font-size: 1.2rem;
        line-height: 1.8333333333;
        font-size: clamp(14px, 1.0909090909vw, 12px);
        margin-left: auto;
        letter-spacing: 0;
        margin: auto 0 auto auto;
        padding: 0 3px;
    }
    .l-btnArea__check {
        display: flex;
        justify-content: center;
    }
    .formButton.jcc {
        button {
            padding-right: 30px;
        }
    }
    .form-contact_address {
        background: #eff3ff;
        padding: 2rem;
        margin-bottom: 4rem;

        .formTable {
            margin-bottom: 0px !important;
        }

        .c-formTbl__title {
            color: #506095;
        }
        > .c-formTbl__title {
            font-weight: 600;
            font-size: 18px;
            padding: 1rem;
            margin-bottom: 2rem;
            border-bottom: 1px solid #506095;
            border-radius: 3px;
        }
        .c-example {
            color: #506095;
        }
        .formTable dd.w470 input {
            border: 1px solid #506095;
            width: initial !important;
        }
        .ico.must {
            display: inline-block;
            text-align: center;
            min-width: 35px;
            border-radius: 4px;
            background-color: #F0C1C3;
            color: #AF1E24;
            font-size: 1.2rem;
            line-height: 1.8333333333;
            font-size: clamp(14px, 1.0909090909vw, 12px);
            margin-left: auto;
            letter-spacing: 0;
            margin: auto 0 auto auto;
            padding: 0 3px;
        }
        .form_error_wrap {
            font-size: 2rem;
        }
        .c-confirmTxt {
            color: #000;
        }
    }
}

body.pfwform-system-confirm {
    #formWrap {
        .formTable {
            align-items: center !important;
        }
        .c-formTbl__head {
            margin-top: 0 !important;
        }
        .l-btnArea__confirm {
            display: flex;
            justify-content: space-around;
            gap: 30px;
        }
        .submit-btn--prev {
            background: #ccc;
            color: #fff;
        }
    }
}

.under-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100svh;

    header {
        padding-bottom: 2em;
    }
    footer {
        padding-top: 2em;
    }

    .form-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 2rem;
        line-height: 1.6;

        section {
            padding-top: 2rem;
        }
        .l-btnArea {
            padding-top: 2rem;
            text-align: center;

            a {
                background-color: #1B2B60;
                color: #fff;
                padding: 10px 20px;
                border-radius: 8px;
                display: inline-block;
            }
        }
    }

    .c-formCompleteBox {
        width: 100%;
        border: 1px solid #ccc;
        padding: 2rem;
        margin-top: 2rem;

        h3 {
            font-weight: bold;
        }
        p {
            font-size: 1.5rem;
        }
    }
}

.t-space-1x {
    margin-top: 1rem;
}