#inquiry .form-body{
    font-family:"Noto Sans JP", sans-serif;
}

#inquiry div.container{
    width: 100%;
    background: initial;
    border: initial;
    border-top: initial;
    font-size: initial;
    color: initial;
    text-align: initial;
}

/* フォーム */
#lf_form_div{
    max-width: 980px;
    margin: 0 auto;
}
div#lf_form_div div.container{
    border: none;
    color: #000;
    width: 100%;
    padding: 0;
}
div#lf_form_div div.wrapper{
    width: 100%;
}
div#lf_form_div p.required_msg{
    color: #a50034;
    line-height: 1.7;
    /* font-size: 1.4rem; */
    font-weight: normal;
}
div#lf_form_div td.label {
    width: 150px;
    text-align: left;
    background-color: #fff;
    vertical-align: top;
    /* border: thin solid #ccc; */
    padding: 0;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 0 7.5px;
}
div#lf_form_div span.required{
    margin: 10px 0 0 0;
    text-align: left;
    float: initial;
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #a50034;
}

div#lf_form_div table.items{
    border: none;
    width: 100%;
    margin: 20px auto;
    max-width: 800px;
}

div#lf_form_div td.value{
    border: none;
    padding: 0;
    width: initial;
    padding: 7.5px 10px;

}
div#lf_form_div td.value textarea{
    border: 1px solid #CBC4BC;
    width: 100%;
    display: block;
    border-radius: 5px;
    padding: 5px;
    color: #000;
}

div#lf_form_div td.value select, div#lf_form_div td.value input, div#lf_form_div td.value textarea{
    border: 1px solid #CBC4BC;
    border-radius: 5px;
    padding: 5px;
    color: #000;
}
div#lf_form_div td.value span.label_name{
    color: #707070;
    font-weight: normal;
}
div#lf_form_div p.label_mail:after{
    /* font-size: 1.4rem; */
    color: #707070;
    font-weight: normal;
    line-height: 1.5;
}
div#lf_form_div td.value textarea{
    max-width: calc(100% - 5px);
}
div#lf_form_div td.comment{
    border: none;
    color: #707070;
    padding: 7.5px 0;
}

div#lf_form_div div.message{
    line-height: 1.7;
    /* font-size: 1.5rem; */
    font-weight: normal;
    background-color: #fff;
    color: #a50034;
}
div#lf_form_div input[type="text"]:focus-visible{
    border: none;
}
div#lf_form_div select:focus,div#lf_form_div input[type="text"]:focus,div#lf_form_div textarea:focus{
    background-color: #fff;
    border: 1px solid #a50034;
}


/* フォーム下 */
div#lf_form_div .privacy_policy{
    margin: 60px auto;
    line-height: 1.7;
    text-align: justify;
}
div#lf_form_div .privacy_policy a{
    color: #a50034;
    text-decoration: underline;
}
div#lf_form_div div.button_area{
    width: 100%;
    background: #fff;
    padding: 0;
    margin: 60px auto;
    display: flex;
}
div#lf_form_div input[type=button],div#lf_form_div #button_confirm_back{
    display: flex;
    max-width: 400px;
    width: 45%;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    height: 70px;
    font-size: 20px;
    font-weight: bold;
    color: #FFF;
    text-align: center;
    background-color: #a50034;
    border-radius: 5px;
    box-shadow: 0 0 8px rgb(0 0 0 / 20%);
    position: relative;
    transition: 0.3s;
}
div#lf_form_div input[type=button]:hover,div#lf_form_div #button_confirm_submit:hover{
    background-color: #D2597A;
}
div#lf_form_div #button_confirm_back{
    background-color: #CBC4BC;
}
div#lf_form_div #button_confirm_back:hover{
    opacity: 0.7;
}
div#lf_form_div #button_confirm_submit{
    max-width: 400px;
    width: 45%;
    margin: 0 auto;
    display: inline-block;
    padding: 15px;
    border: thin solid #ccc;
    background-color: #a50034;
    color: #fff;
    border-radius: 5px;
    /* font-size: 1.4rem; */
}
/* 20250610フォーム追加 */
.mktoForm .mktoFormRow:nth-last-of-type(n + 3)
 {
    padding-inline: 0 !important;
  }
  .mktoForm .mktoCheckboxList {
    margin-top: 0 !important;
    
}
.mktoForm .mktoLabel
 {
    align-items: center;
}
@media only screen and (max-width: 979px){
    /* #lf_form_div{
        padding: 0 35px;
    } */
    div#lf_form_div td.label {
        width: 20%;
    }
}

@media only screen and (max-width: 768px){
    /* #lf_form_div{
        padding: 0 16px;
    } */
    
    div#lf_form_div div.container{
        padding: 0;
    }

    div#lf_form_div p.required_msg{
        text-align: left;
    }
    div#lf_form_div td.label {
        font-size: 14px;
    }
    div#lf_form_div td.label,div#lf_form_div td.value,div#lf_form_div td.comment{
        float: initial;
    }
    div#lf_form_div td.comment{
        width: 20%;
    }
    div#lf_form_div td.value input{
        width: calc(100% - 5px);
    }
    div#lf_form_div td.value input[name="person_name_last"],div#lf_form_div td.value input[name="person_name_first"]{
        width: calc(100% - 5px);
        max-width: 450px;
    }
}
/* 20250624フォーム追加 */
    @media screen and (max-width: 768px) {
    .mktoForm .mktoButtonRow .mktoButtonWrap button:is([type=submit]) {
        width: 100%;
        max-width: 320px;
    }
}
@media only screen and (max-width: 479px){
    div#lf_form_div input[type="text"]{
        font-size: 100%;
    }
    div#lf_form_div div.button_area{
        display: block;
    }
    div#lf_form_div input[type=button], div#lf_form_div #button_confirm_back{
        width: 100%;
    }
    div#lf_form_div #button_confirm_submit{
        width: 100%;
        margin-top: 15px;
    }
}