@charset "utf-8";

*,*:before,*:after{
    box-sizing: border-box;
}

/* form */
::placeholder{
    color: #bababa;
}
::-webkit-input-placeholder{
    color: #bababa;
}
:-ms-input-placeholder{
    color: #bababa;
}
input::-ms-clear {
    visibility:hidden;
}

input,
textarea{
    vertical-align: top;
    width: 100%;
    padding: 7px 16px;
    border: 0;
    border-radius: 5px;
    background: #F5F5F5;
    font-family: 'ヒラギノ角ゴシック', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 14px;
    line-height: 2;
}
textarea{
    resize: none;
    overflow: auto;
}
input:focus,
textarea:focus{
    outline: none;
}


input[type="checkbox"]{
    display: none;
}
input[type="checkbox"] + label{
    position: relative;
    padding-left: 35px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
}
input[type="checkbox"] + label:before{
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border: 1px solid #BEBEBE;
    background: #fff;
}
input[type="checkbox"]:checked + label:after{
    content: "";
    display: inline-block;
    position: absolute;
    top: -5px;
    bottom: 0;
    left: 8px;
    width: 8px;
    height: 16px;
    margin: auto;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
}

/* button */
button{
    cursor: pointer;
    transition: opacity .1s ease;
}
button:hover{
    opacity: .8;
}

/* err */
.err {
    position: relative;
    padding-left: 24px;
    margin-top: 10px;
    color: #E5001B;
    font-size: 12px;
    line-height: 1.5;
}
.err:before {
    content: "!";
    display: inline-block;
    position: absolute;
    width: 18px;
    height: 18px;
    top: 0;
    left: 0;
    border-radius: 20px;
    background: #E5001B;
    text-align: center;
    letter-spacing: 1px;
    font-weight: bold;
    color: #FFF;
    line-height: 1.6em;
    text-indent: 2px;
}
.errbgOn{
    background: #fef2f2;
}

/* modal */
/* -- common */
#modal_item{
    position: fixed;
    z-index: 200;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    width: 0;
    opacity: 0;
    transform: scale(1);
    transition: opacity .2s ease;
}
#modal_item.is_open{
    height: auto;
    width: auto;
    opacity: 1;
}
#modal_item .mdl_content{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 1240px;
    width: 90%;
    height: 78%;
    margin: auto;
    z-index: 1010;
}
#modal_item .mdl_close{
    position: absolute;
    top: -30px;
    right: 0;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
#modal_item .mdl_close:before,
#modal_item .mdl_close:after{
    content: "";
    position: absolute;
    right: -3px;
    top: 12px;
    display: inline-block;
    width: 31px;
    height: 2px;
    background: #fff;
}
#modal_item .mdl_close:before{ transform: rotate(45deg); }
#modal_item .mdl_close:after{ transform: rotate(-45deg); }

#modal_item .mdl_body{
    overflow: auto;
    height: 100%;
    padding: 58px 5%;
    background: #fff;
}
#modal_item .mdl_bg{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
}

/* --privacy*/

.mdl_body .mdl_title{
    position: relative;
    padding-bottom: 20px;
    text-align: center;
    font-size: 30px;
}
.mdl_body .mdl_title .mdl_subtitle{
    position: relative;
    display: block;
    font-size: 16px;
    color: #999999;
}
.mdl_body .mdl_title:before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 50px;
    height: 2px;
    margin: auto;
    background-color: #333;
}
.mdl_body .mainarea{
    margin-top: 35px;
    line-height: 2;
}
.mdl_body dl{
    margin-top: 23px;
}
.mdl_body dl > dt{
    margin-bottom: 2px;
    font-weight: bold;
    font-size: 16px;
}
.mdl_body a{
    text-decoration: underline;
}

@media screen and (min-width:750px){
    /* modal */
    #modal_item .mdl_body{
        padding-left: 80px;
        padding-right: 80px;
    }
}

/* ***** */

.dib{ display: inline-block; }

.err_agree{
    display: flex;
    justify-content: center;
}
.contact_inner{
    max-width: 840px;
    margin: 0 auto 40px;
}
.hissu_txt{
    margin-bottom: 6px;
    text-align: right;
}
.hissu_txt .hissu{
    color: #E90000;
}
.form_area{
    padding: 20px 2% 50px;
    border: 1px solid #ccc;
}
.form_area .input_area{
    margin-bottom: 40px;
}
.form_area .input_item{
    padding: 19px 10px 20px;
    border-bottom: 1px solid #ccc;
}
.form_area .input_item > dt{
    margin-bottom: 10px;
    font-weight: bold;
}
.form_area .input_item > dt .hissu{
    color: #E90000;
}
.form_area .input_item > dt .notes{
    margin-left: 10px;
    font-weight: normal;
}
.form_area .privacy_check{
    margin-bottom: 28px;
    text-align: center;
}
.form_area .privacy_check a{
    text-decoration: underline;
}
.form_area .privacy_check .check_btn{
    margin-top: 18px;
}

.form_area .button_area{
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.form_area .button_area .button{
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 240px;
    margin: 10px 0;
    padding: 14px 10px 14px 18px;
    border: none;
    border: 2px solid #333;
    background: #fff;
    font-size: 14px;
}
.form_area .button_area .button:before{
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    width: 8px;
    height: 8px;
    margin: auto;
    border-bottom: 1px solid;
    border-right: 1px solid;
    transform: rotate(-45deg);
    transition: right .3s;
}

.form_area .button_area .button.-black{
    background: #333;
    color: #fff;
}

@media screen and (min-width:750px){
    .form_area{
        padding-left: 40px;
        padding-right: 40px;
    }
    .contact_inner{
        margin-bottom: 0;
    }

    .form_area .button_area{
        flex-direction: row;
    }
    .form_area .button_area .button{
        margin: 0 10px;
    }
    .form_area .button_area .button:first-of-type{
        margin-left: 0;
    }
    .form_area .button_area .button:last-of-type{
        margin-right: 0;
    }
}


.thanks_area{
    margin-top: 50px;
    padding: 50px 2% 60px;
    border: 1px solid #ccc;
    text-align: center;
}
.thanks_area .thanks_title{
    margin-bottom: 23px;
    font-weight: bold;
    font-size: 18px;
}
.thanks_area .text{
    line-height: 2;
}
.thanks_area .link{
    display: inline-block;
    margin-top: 25px;
    text-decoration: underline;
}

@media screen and (min-width: 750px) {
    .form_area {
        padding-left: 40px;
        padding-right: 40px;
    }
}
