body{
    background-color: #FCF5E4;
    font-size: 16px;
    line-height: 1.6;
}

.mgt10{
    margin-top: 10px;
}

.mgt30{
    margin-top: 30px;
}

.mgt50{
    margin-top: 50px;
}

.mgt100{
    margin-top: 100px;
}

.textR{
    text-align: right;
}

.textC{
    text-align: center;
}

.textL{
    text-align: left;
}

.underLine{
    text-decoration: underline;
}

.bold{
    font-weight: bold;
}
.red{
    color: #f00;
}

.small{
    font-size: 0.9em;
}
.large{
    font-size: 1.2em;
}
.list1{
    padding-left: 1.3em;
    text-indent: -1.3em;
    margin-top: 20px;
    box-sizing: border-box;
}

.list1 li{
    margin-top: 20px;
    line-height: 26px;
    list-style: none;
}

.list1.inner_list{
margin-top: 0;
}
.list1.inner_list li{
    margin-bottom: 10px;
}

.list2 li{
    margin-top: 15px;
    line-height: 26px;
    list-style: none;
}


/* フォーム */

div#wrapper{
    max-width: 1000px;
    margin: 30px auto;
    padding: 50px 3%;
    background: none;
    background-color: #fff;
    width: 100%;
}

div#wrapper div#header h1{
    font-size: 176.5%;
    background: none;
    padding: 20px 10px;
    background-color: #013302;
    color: #fff;
    text-shadow: none;
    font-weight: 700;
}
dl.mailform{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid #ccc;
    line-height: 1.6;
}

form#mailformpro dl:nth-of-type(odd){
    background-color: #F6F7F9;
}

form#mailformpro dl:last-of-type{
    border-bottom: 1px solid #ccc;
}

form#mailformpro dl dt{
    float: none;
    width: 30%;
    padding: 20px;
    box-sizing: border-box;
    border: none;
    font-size: 16px;
    text-align: left;
}

form#mailformpro dl dd{
    width: 70%;
    padding: 20px;
    box-sizing: border-box;
    border: none;
    font-size: 16px;
}
.must{
    display: inline;
    float: none;
    background-color: transparent;
    border: none;
    text-shadow: none;
    box-shadow: none;
    color: #f00;
    font-weight: bold;
    font-size: 1.1em;
    background-image: none;
}

.mfp_colored{
    background-color: transparent;
}
.mfp_achroma{
    background-color: transparent;
}

.text1{
    display: inline-block;
    width: 40em;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: none;
}

.text2{
    display: inline-block;
    width: 20em;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: none;
}

textarea.gaiyou{
    display: inline-block;
    min-height: 180px;
    width: 40em;
    max-width: 100%;
    box-sizing: border-box;
    resize: vertical;
    box-shadow: none;
}

.address{
    display: inline-block;
    min-height: 60px;
    width: 35em;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: none;
}
.mail{
    display: inline-block;
    width: 35em;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: none;
}

.mfp_element_text, .mfp_element_number, .mfp_element_select-one, .mfp_element_email, .mfp_element_tel, .mfp_element_textarea, .mfp_element_date, .mfp_element_password
{
    box-shadow: none;
}
.mfp_element_file{
    box-shadow: none;
}

.mfp_element_submit, .mfp_element_reset, .mfp_element_button, button.mfp_next, button.mfp_prev{
    background: #eee;
    text-shadow: none;
}

.mfp_element_submit:hover, .mfp_element_reset:hover, .mfp_element_button:hover, button.mfp_next:hover, button.mfp_prev:hover{
box-shadow: none;
background: #dddddd;
}

.mfp_element_submit{
    padding: 0.5em 1.5em;
}

.doui{
    display: inline-block;
    text-align: left;
    margin: 20px auto 10px;
    line-height: 1.5;
}

form#mailformpro label.mfp_not_checked{
    border: none;
}

div#wrapper div#container div.mfp_thanks p{
    font-size: 16px;
}
div#wrapper div#container div.mfp_thanks p.large{
    font-size: 1.2em;
}

.mfp_thanks{
    text-align: center;
}

.text3{
  margin-left: 10px;
  width: calc(50% - 5px);
  display: block;
}

    .text4{
        width: calc(50% - 5px);
  display: block;

    }

.kanji_wrapper,
.kana_wrapper{
  display: flex;
  justify-content: start;
  gap: 10px;
  width: 100%;
}

.kana_wrapper{
  margin-top: 10px;
}


@media only screen and (max-width: 769px) {
    .list1{
        padding-left: 20px;
    }
    #sub .list1 li p{
        display: block;
        width: 100%;
        padding-left: 0;
        }

    .guidance{
        width: 95%;
    }
    div#wrapper{
        padding: 30px 3%;
        margin: 0 auto;
    }
    div#wrapper div#header h1{
        font-size: 130%;
    }
    form#mailformpro dl dt{
        width: 100%;
        padding: 10px 20px;
    }

    form#mailformpro dl dd{
        width: 100%;
        padding: 0 20px 10px;
    }

    .text3{
  margin-left: 2px;
  width: 100%;
}

    .text4{
  margin-left: 2px;
  width: 100%;
}

.kanji_wrapper,
.kana_wrapper{
  display: flex;
  flex-direction: column;
    gap: 2px;

}


}
