@charset "utf-8";



#m-form {
    padding-top: 3rem;
    font-weight: 400;
}

.form_txt_p {
    font-size: .9rem;
}



.title_p {
    font-size: 13px !important;
    text-align: center !important;
    margin: 30px !important;
}


 h2.t_title {
        padding: 10px 15px;
    background: #f3db23;
    vertical-align: middle;
    word-break: break-all;
    border-bottom: solid 1px #ffffff;
    width: 100%;
    font-weight: 600;
     color:#212121;
}

@media only screen and (min-width: 782px) {
   h2.t_title {
    width: 90%;
    margin: auto;
}
}



h2.m-form {
    text-align: left;
    width: 90%;
    margin: 50px auto 20px;
    overflow: hidden;
    font-size: 20px;
    color: #212121;
    font-weight: 600;
    font-style: normal;
}


#m-form h4 {
    width: 90%;
    margin: 30px auto 30px;
    overflow: hidden;
    font-size: 12px;
    font-weight: normal;
    padding: 0.25em 0.5em;
    line-height: 1.8;
    letter-spacing: 0;
    text-align: justify;
    text-justify: inter-ideograph;

}






.form_txt_p {
    font-size: .9rem;
}


form#mail_form li {
    margin: 5px auto;
    font-size: 14px;
}

@media only screen and (max-width: 782px) {
    form#mail_form li:first-child {
        margin-top: 15px;
    }
}




form#mail_form {
    max-width: 960px;
    margin: auto;
 
        color: #212121;
    background: #fff;
     padding-top: 3rem;

}

form#mail_form dl {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

form#mail_form dl dt {
    clear: both;
    width: 30%;
    float: left;
    border-top: 1px solid #ebebeb;
    padding: 22px 0 15px;
    text-align: right;
    overflow: hidden;
    letter-spacing: 0;
    font-size: 14px;
    color: #181818;
}

form#mail_form dl dd {
    width: 70%;
    float: right;
    border-top: 1px solid #ebebeb;
    padding: 13px 0 10px 5%;

}

form#mail_form dl dt:first-child,
form#mail_form dl dt:first-child+dd {
    border: none;
}

form#mail_form dl dt span {
    display: block;
    font-size: 11px;
    color: #3377ff;
}


/* -- for JavaScript ここから -------------------------------------------------------------------------------- */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
    display: inline-block;
    float: left;
    color: #ffffff;
    line-height: 1;
    padding: 4px;
    font-size: 10px;
    margin-top: 0;
        position: relative;
    top: 3px;
}

form#mail_form dl dt span.required {
   background: #b58826;
}

form#mail_form dl dt span.optional {
    background: #ccc;
  
}

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
    display: block;
    color: #ff0000;
    margin-top: 3px;
    font-size: 14px;
}


span.loading {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-top: 5px solid rgba(255, 255, 255, 0.2);
    border-right: 5px solid rgba(255, 255, 255, 0.2);
    border-bottom: 5px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load-circle 1.0s linear infinite;
    animation: load-circle 1.0s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
}

@-webkit-keyframes load-circle {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load-circle {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* -- for JavaScript ここまで -------------------------------------------------------------------------------- */


form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
   max-width: 100%;
    padding: 9px 8px;
    border: 1px solid #f5f5f5;
    border-radius: 4px;
    background: #f5f5f5;
    -webkit-appearance: none;
    font-size: 16px;
    font-family: inherit;
    height: 2.8em;
}

form#mail_form input[type="text"]:focus,
form#mail_form input[type="email"]:focus,
form#mail_form input[type="tel"]:focus,
form#mail_form textarea:focus {
    border: 1px solid #000;
    background: #ffffff;
}

form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"] {
    margin-right: 10px;
      margin-top: 0px;
}


form#mail_form ul li:first-child input[type="radio"],
form#mail_form ul li:first-child input[type="checkbox"] {
    margin-top: 0px;
}

form#mail_form select {
    font-family: inherit;
    margin-top: 0;
    max-width: 90%;
    height: 2.8em;
    padding: 2px 2%;
  border: 1px solid #f5f5f5;
    border-radius: 4px;
    background: #f5f5f5;
    -webkit-appearance: none;
    font-size: 16px;
    font-family: inherit;

}

form#mail_form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 200px;
    padding: 5px 8px;
    resize: vertical;
    border: 1px solid #f5f5f5;
    border-radius: 4px;
    background: #f5f5f5;
    -webkit-appearance: none;
    font-size: 16px;
    font-family: inherit;
}


form#mail_form ul {
    list-style-type: none;
    font-size: 14px;
}

form#mail_form ul li label:hover {
    cursor: pointer;
}


form#mail_form input#company {
    width: 60%;
}

form#mail_form input#name_1,
form#mail_form input#name_2,
form#mail_form input#read_1,
form#mail_form input#read_2,
form#mail_form input#postal,
form#mail_form input#phone,
form#mail_form input#schedule {
    width: 35%;
}



form#mail_form input#size {
    width: 70px;
}

form#mail_form input#mail_address,
form#mail_form input#mail_address_confirm {
    width: 80%;
}

form#mail_form input#postal+a {
    display: inline-block;
    padding: 9px 15px;
    vertical-align: middle;
    line-height: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #ccc;
    color: #ffffff;
    font-family: inherit;
    text-decoration: none;
    position: relative;
    top: -1px;
}

form#mail_form input#postal+a:hover {
    cursor: pointer;
    background: #31b0d5;
    border: 1px solid #269abc;
}

form#mail_form input#address {
    width: 90%;
}


form#mail_form p#form_submit {
    width: 90%;
    margin: 0 auto;
    padding: 35px 0 70px;
    text-align: center;

}

form#mail_form input[type="button"] {
    padding: 10px 30px;
    vertical-align: middle;
    line-height: 2;
  
    color: #fff;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", 'Hiragino Sans', "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, '游ゴシック Medium', "メイリオ", Meiryo, sans-serif;
    -webkit-appearance: none;
    font-size: 16px;
       letter-spacing: 0.03em;
    font-weight: 600;
    width: 100%;
    max-width: 300px;
    border-radius: 100px;
}

form#mail_form input[type="button"]:hover {
    cursor: pointer;
    background: #000;
    color: #fff;
    border: 1px solid #000;
}










/* -- responsive ----------------------------------------------------------------------------------------------------------------- */

/* 1000pixel start */
@media screen and (max-width: 1000px) {

    form#mail_form {
        width: 100%;
    }

    form#mail_form dl {
        overflow: visible;
    }

    form#mail_form dl dt {
        width: auto;
        float: none;
        text-align: left;
        padding: 4% 0 5px;
        font-size: 14px;
    }

    form#mail_form dl dd {
        width: auto;
        float: none;
        border-top: none;
        padding: 0;
        padding-bottom: 4%;
    }

  


    /* -- for JavaScript ここから -------------------------------------------------------------------------------- */

    form#mail_form dl dt span.required,
    form#mail_form dl dt span.optional {
        margin: 0px 8px 5px 0;
    }


    /* -- for JavaScript ここまで -------------------------------------------------------------------------------- */

    form#mail_form input[type="text"],
    form#mail_form input[type="email"],
    form#mail_form input[type="tel"] {
        margin-top: 0px;
    }

    form#mail_form input#form_submit_button {
        margin-left: 0;
    }

    form#mail_form select {
        margin-top: 0;
        margin-bottom: 0;
    }

    form#mail_form input#phone,
    form#mail_form input#schedule {
        width: 50%;
    }

}

/* 1000pixel end */




/*Radio Check*/
label.radio,
label.radio_text,
label.checkbox,
label.checkbox_text {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
}

label.radio {
    width: 18px;
    height: 18px;
    border: 1px solid #666666;
    border-radius: 100%;
}

label.radio_text {
    min-height: calc(18px + 5px);
    margin-right: calc(18px + 5px);
    padding-left: calc(18px + 5px);
    line-height: calc(18px + 5px);
}

label.checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid #B3B3B3;
    background: #fff;
}

label.checkbox_text {
    padding-left: calc(25px + 5px);
    line-height: 20px;
    font-weight: 400;
    font-size: 14px;
    margin-left: 5px;
}

/** before after **/
label.radio:before,
label.radio_text:before,
label.checkbox_text:before,
label.checkbox:after,
label.radio_text:after,
label.checkbox_text:after {
    content: '';
    position: absolute;
    box-sizing: border-box;
}

label.radio:before,
label.radio_text:before {
    border-radius: 100%;
}

label.radio:before,
label.checkbox:after {
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
}

label.checkbox:after,
label.checkbox_text:after {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    border-right: 3px solid #b58826;
    border-bottom: 3px solid #b58826;
    top: calc(50% - (((17px / 12) * 5) / 2));
    display: block;
    margin-top: calc(((17px / 12) * 5) * -1);
    width: calc(((17px / 12) * 5));
    height: 17px;
    z-index: 1;
}

label.radio_text:before,
label.radio_text:after {
    top: 0px;
    bottom: 0px;
    margin-top: auto;
    margin-bottom: auto;
}

label.radio:before {
    display: block;
    width: 10px;
    height: 10px;
    z-index: 1;
    background-color: #b58826;
}

label.radio_text:before {
    width: 18px;
    height: 18px;
    border: 1px solid #666666;
    left: 0px;
    z-index: 3;
}

label.checkbox_text:before {
    width: 20px;
    height: 20px;
    left: 0px;
    top: 0;
    border: 1px solid #B3B3B3;
    z-index: 3;
    box-sizing: border-box;
}

label.radio_text:after {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    left: calc(((18px/2) - (10px) / 2));
    background-color: #b58826;
    z-index: 1;
}

label.checkbox_text:after {
    left: calc((20px / 2) - (((17px / 12) * 5) / 2));
}

/** input **/
label.radio input[type="radio"],
label.radio_text input[type="radio"],
label.checkbox input[type="checkbox"],
label.checkbox_text input[type="checkbox"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    position: absolute;
    z-index: 2;
    margin: 0px;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    outline: none;
}

label.radio input[type="radio"],
label.radio_text input[type="radio"] {
    left: calc(18px * -1);
    width: 18px;
    height: 24px;
    top: 0px;
    bottom: 0px;
    margin-top: auto;
    margin-bottom: auto;
    border-radius: 100%;
}

label.checkbox input[type="checkbox"],
label.checkbox_text input[type="checkbox"] {
    left: calc(20px * -1);
    padding: 0;
}

label.radio input[type="radio"] {
    display: block;
    box-shadow: 18px 0px #FFF;
}

label.radio_text input[type="radio"] {
    box-shadow: 18px 0px #FFF;
}

label.checkbox input[type="checkbox"] {
    box-shadow: 20px 0px #FFF;
}

label.checkbox_text input[type="checkbox"] {
    display: block;
    box-shadow: 20px 0px #FFF;
}

/** checked forcus */
label.checkbox_text input[type="checkbox"]:checked,
label.checkbox input[type="checkbox"]:checked,
label.radio_text input[type="radio"]:checked,
label.radio input[type="radio"]:checked {
    box-shadow: none;
}

label.checkbox_text input[type="checkbox"]:checked:focus,
label.checkbox input[type="checkbox"]:checked:focus {
    opacity: 0.1;
}

label.radio_text input[type="radio"]:focus,
label.radio input[type="radio"]:focus {
    opacity: 0.2;
}

label.checkbox_text input[type="checkbox"]:checked:focus {
    box-shadow: 20px 0px #EEE;
}

label.checkbox_text input[type="checkbox"]:focus {
    box-shadow: 20px 0px #EEE;
}

label.checkbox input[type="checkbox"]:checked:focus {
    box-shadow: 20px 0px #666;
}

label.checkbox input[type="checkbox"]:focus {
    box-shadow: 20px 0px #EEE;
}

label.radio_text input[type="radio"]:focus {
    box-shadow: 18px 0px #FFF;
}

label.radio input[type="radio"]:focus {
    box-shadow: 18px 0px #FFF;
}



#m-form label {
    font-weight: normal;
}


div#agreement {
    width: 90%;
    margin: 0 auto;
    padding: 15px 0;
}


div#agreement h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 20px;
}


div#agreement h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

div#agreement div {
    height: 200px;
    margin: 15px 0 30px;
    padding: 20px 1em;
    background: #fafafa;
    border: 1px solid #ebebeb;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    line-height: 1.8;
}

div#agreement div h4 {
    margin-top: 30px;
    font-weight: 600;
}

div#agreement div h4:first-child {
    margin-top: 0px;
}

div#agreement input[type="checkbox"] {
    margin-right: 10px;
}


form#mail_form div#agreement span.error_check {
    display: none;
    color: #ff0000;
    margin-top: 3px;
}

form#mail_form p,
form#mail_form ul {
    margin-bottom: 20px;
    font-size: 12px;
    font-feature-settings: "palt";
    text-align: justify;
    text-justify: inter-ideograph;
}

div#agreement li {
    font-size: 12px;
}




@media screen and (max-width: 768px) {
    form#mail_form input#phone, form#mail_form input#schedule,
    form#mail_form input#mail_address, form#mail_form input#mail_address_confirm {
    width: 100%;
}

form#mail_form dl dt {
    width: auto;
    float: none;
    text-align: left;
    padding: 4% 0 3px;
    font-size: 13px;
}
}