@charset "utf-8";

.form{
    background: var(--clr-lgy);
}

.form .heading{
    font-weight: bold;
    margin-bottom: 20px;
}

.form .heading_gy{
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--clr-dgy);
}

.form small{
    margin-top: 20px;
    font-size: var(--fs-12);
    font-weight: normal;
    display: block;
}

.form dl{
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form dt{
    width: 260px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: 40px;
    padding: 10px 0;
    font-weight: bold;
}

.form dt span{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 20px;
    font-size: var(--fs-12);
    font-weight: normal;
}

.form dt span.require{
    color: var(--clr-wh);
    background: var(--clr-main);
}

.form dt span.any{
    color: var(--clr-wh);
    background: var(--clr-dgy);
}

.form dt small + small{
    margin-top: 10px;
}

.form dd{
    width: 500px;
    padding: 10px 0;
}

.form input:not(.bt_box),
.form textarea,
.form select{
    background: var(--clr-wh);
    border: 1px solid var(--clr-gy);
    width: 100%;
    padding: 10px;
}

.form input::placeholder,
.form textarea::placeholder{
    color: var(--clr-gy);
}

.form input[type="checkbox"],
.form input[type="radio"]{
    width: 20px;
    height: 20px;
    padding: 0;
    margin-bottom: -4px;
}

.form input[type="checkbox"]:checked{
    background: url(../images/icon/ic_check_rd.svg) no-repeat center / 10px;
}

.form input[type="radio"]{
    border-radius: 50%;
    position: relative;
}

.form input[type="radio"]:checked::after{
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: var(--clr-main);
}

.form .mwform-radio-field{
    margin-bottom: 10px;
}

.form .mwform-radio-field:last-child{
    margin-bottom: 0;
}

.form select{
    width: 200px;
    background: url(../images/icon/ic_arrow_bt_gy.svg) no-repeat center right 20px / 10px;
    background-color: var(--clr-wh);
}

.form span.error{
    font-size: 90%;
    margin-top: 7px;
    padding: 5px 3px;
    background: var(--clr-sub);
}

.form dd li{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.form dd li .heading{
    margin-bottom: 5px;
    width: 100%;
}

.form dd li .flex{
    width: 100%;
}

.form dd li .flex input:first-child{
    margin-right: 10px;
}

.form dd li .flex select{
    display: flex;
    align-items: center;
}


.form dd .consent{
    height: 200px;
    overflow-y: scroll;
    padding: 10px;
    border: 1px solid var(--clr-gy);
    background: var(--clr-wh);
    margin-bottom: 20px;
}

.form dd .consent .heading{
    text-align: center;
}

.form dd .consent .txt{
    font-size: var(--fs-12);
}

.form dd .consent .txt b{
    font-weight: bold;
}

.form .file{
    position: relative;
}

.form .file:last-of-type{
    margin-bottom: 0;
}

.form .file input{
    margin-bottom: 10px;
}

.form .file span.mwform-file-delete{
    position: absolute;
    top: 13px;
    right: 10px;
}

.form .file .mw-wp-form_image{
    margin-top: 10px;
}

.form .btns{
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.form .btns input + input{
    margin-left: 20px;
}

.form .btns .bt_box{
    width: 200px;
    border: none;
}

.form .btns .bt_box.bt_rd{
    background-color: var(--clr-main);
}

.form .btns .bt_box.bt_gy{
    background: url(../images/icon/ic_arrow_lt_wh.svg) no-repeat center left 20px / 10px;
    background-color: var(--clr-gy);
}

.form-thanks .bt_box.bt_rd{
    display: block;
    background-color: var(--clr-main);
    width: 200px;
    margin: 40px auto 0;
}

@media (max-width:768px){
    .form dt small{
        margin: 10px 0;
        width: 100%;
        font-size: var(--fs-12);
    }

    .form dt small br{
        display: none;
    }

    .form dl{
        flex-direction: column;
        padding: 15px;
        margin: 0;
    }

    .form dl:nth-of-type(even){
        background: var(--clr-wh);
        margin: 0;
    }
    
    .form dt{
        width: 100%;
        margin-bottom: 10px;
        padding: 0;
    }

    .form dd{
        width: 100%;
        padding: 0;
    }
}