@charset "utf-8";

body {
    color: #333;
    font-family: "游ゴシック体",YuGothic,"游ゴシック Medium","Yu Gothic Medium","游ゴシック","Yu Gothic","メイリオ",sans-serif;

}
#m-form {
    padding-top: 3%;
}

h1 {

    font-size: 34px;
    color: #333;
    margin-bottom: 40px;
    padding:0 8px 0px;
    text-align: center;
    font-weight: bold;
    font-style: normal;
    line-height: 1.2;
}

h1 span {
font-family: "游ゴシック体",YuGothic,"游ゴシック Medium","Yu Gothic Medium","游ゴシック","Yu Gothic","メイリオ",sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
}

h2.m-form {
    text-align: left;
    width: 90%;
    margin: 50px auto 20px;
    overflow: hidden;
    font-size: 20px;
    color: #333;
    /*文字色*/
    font-weight: 700;
}


#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;
}



h3.tt_title {
   color: #333;
}




form#mail_form li {
    letter-spacing: 0.03em;
    font-size: 12px;
}


form#mail_form {
    max-width: 960px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 25px;

}

form#mail_form dl {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    border-bottom: 1px solid #ccc;
}

form#mail_form dl dt {
    clear: both;
    width: 30%;
    float: left;
    border-top: 1px solid #cccccc;
    padding: 27px 0 15px;
    text-align: right;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0;
}

form#mail_form dl dd {
    width: 70%;
    float: right;
    border-top: 1px solid #cccccc;
    padding: 20px 0 20px 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: 13px;
    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;
    border-radius: 3px;
    font-size: 12px;
    font-weight: normal;
}

form#mail_form dl dt span.required {
    background: #60aeec;
    border: 1px solid #60aeec;
}

form#mail_form dl dt span.optional {
    background: #ccc;
    border: 1px solid #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;
}


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: 90%;
    height: 40px;
    padding: 2px 2%;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background: #fafafa;
    -webkit-appearance: none;
    font-size: 100%;
    font-family: inherit;

}

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 {
    box-shadow: 0px 0px 5px #55ccff;
    border: 1px solid #55ccff;
    background: #ffffff;
}

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

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-size: 100%;
    font-family: inherit;
    margin-top: 3px;
    height: 42px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background: #fafafa;
    padding: 2px 2%;
}

form#mail_form textarea {
    display: block;
    width: 90%;
    max-width: 90%;
    height: 200px;
    padding: 2px 2%;
    resize: vertical;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background: #fafafa;
    -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: 30%;
}

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;
    background: #ccc;
    border: 1px solid #ccc;
    border-radius: 3px;
    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;
    border-top: 1px solid #cccccc;
    text-align: center;
}

form#mail_form input[type="button"] {
    padding: 20px 30px;
    vertical-align: middle;
    line-height: 2;
    background: #111;
    border: 1px solid #111;
    color: #ffffff;
    font-family: inherit;
    -webkit-appearance: none;
    font-size: 16px;
    letter-spacing: .1em;
    font-weight: 700;
    width: 310px;
    border-radius: 100px;
}

form#mail_form input[type="button"]:hover {
    cursor: pointer;
    background: #fff;
    color: #222;
    border-color: #fff;
    box-shadow: 0px 4px 10px #00000014;
}










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

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

    form#mail_form {
        width: 95%;
    }

    form#mail_form dl {
        overflow: visible;
    }

    form#mail_form dl dt {
        width: auto;
        float: none;
        text-align: left;
        padding: 20px 0 5px;
        font-weight: 600;
    }

    form#mail_form dl dd {
        width: auto;
        float: none;
        border-top: none;
        padding: 0px 0 20px 0px;
    }

    form#mail_form dl dt span {
        font-weight: normal;
    }


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

    form#mail_form dl dt span.required,
    form#mail_form dl dt span.optional {
        margin-right: 1em;
        margin-bottom: 5px;
    }


    /* -- 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;
    }

    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(20px + 5px);
    line-height: 20px;
    font-weight: 600;
    font-size: 13px;
}

/** 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 #DD6655;
    border-bottom: 3px solid #DD6655;
    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: #DD6655;
}

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: #DD6655;
    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: 18px;
    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 #666;
}

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;
}



/*改行*/
@media screen and (min-width: 650px) {
    .br-pc {
        display: block;
    }

    .br-sp {
        display: none;
    }
}

@media screen and (max-width: 650px) {
    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }
}



/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
    display: block !important;
    margin: auto;
}

.sp {
    display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
        margin: auto;
    }
}


::placeholder {
    color: #ccc !important;
}