/* 共通 */
::placeholder{
    color: #BEBEBE;
    font-size: 13px;
}
::-webkit-input-placeholder{
    color: #BEBEBE;
    font-size: 13px;
}
::-ms-input-placeholder{
    color: #BEBEBE;
    font-size: 13px;
}
input,
textarea{
    width: 100%;
    padding: 6px 0;
    border: 0;
    background: transparent;
    font: 16px/1.6 'Noto Sans JP','ヒラギノ角ゴシック', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}
textarea{
    resize: none;
    background: transparent;
    overflow: auto;
}

select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    position:relative;
    border: 1px solid #DEDEDE;
    background: #FFF;
    cursor: pointer;
}
select::-ms-expand{
	display: none;
}

input:focus,
textarea:focus,
select:focus{
    outline: none;
}

/* main */
/* main{
    min-height: calc(100vh - 383px);
    background: #F3F3F3;
    border-bottom: 2px solid #fff;
} */

/* privacy_check */
.privacy_check{
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}
.privacy_check a{
    text-decoration: underline;
}

/* chk_btn */
.chk_btn{
    text-align: center;
    margin-bottom: 25px;
}
.chk_btn input[type="checkbox"]{
    display: none;
}
.chk_btn label{
    position: relative;
    padding-left: 35px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
.chk_btn label:before{
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    border: 1px solid #BEBEBE;
    background: #fff;
}
.chk_btn input:checked + label:after{
    content: "";
    display: inline-block;
    position: absolute;
    top: 7px;
    left: 7px;
    width: 7px;
    height: 12px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
}

/* form_area */
.form_area{
    padding-bottom: 60px;
}
/* head_area */
.form_area .head_area{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 10px;
}
.form_area .head_area:fitst-child{
    margin-top: 0;
}
.form_area .head_area .title{
    font-weight: bold;
    font-size: 20px;
}
.form_area .head_area .hissu_txt{
    margin-left: auto;
    font-size: 14px;
}
.form_area .head_area .hissu_txt b{
    color: #E6001B;
}

.form_area dl{
    padding: 15px 20px 15px;
    margin-bottom: 20px;
    background: #F8F8F8;
}
.form_area dl dt{
    font-weight: bold;
    line-height: 1.6;
}
.form_area dl dt.hissu:after{
    content: "*";
    color: #E6001B;
}
.form_area dl dd{
    position: relative;
    padding: 0 0.4em;
    word-break: break-all;
}

/* pass */
.form_area dl .pass:before{
    content: "";
    display: inline-block;
    position: absolute;
    /* top: 5px; */
    top: 0;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    margin: auto;
    border-radius: 100%;
    /* background: #4A92FF; */
    background: #333;
    opacity: 0;
    transform: scale(0);
    /* transition: opacity .3s, transform .3s; */

    animation-name: passShow;
    animation-duration: .2s;
    animation-timing-function: ease;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: running;
}
.form_area dl .pass:after{
    content: "";
    display: inline-block;
    position: absolute;
    /* top: 10px; */
    top: 0;
    bottom: 0;
    right: 7px;
    width: 6px;
    height: 9px;
    margin: auto;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}
@keyframes passShow{
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* err */
.form_area dl .err{
    display: inline-block;
    padding: 3px 8px 5px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 12px;
    color: #fff;
    background: #E6001B;
}


/* type_area */
.form_area dl .pass_type_wrap{
    position: relative;
    margin-bottom: 6px;
    padding-right: 25px;
}
.form_area dl .pass_type{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

.form_area dl dd.type_group_dd{
    margin-top: 30px;
    padding-right: 0;
}
.form_area dl .type_area{
    display: flex;
}
.form_area dl .type_area + .type_area{
    display: flex;
    border-top: 1px solid #DEDEDE;
    margin-top: 20px;
    padding-top: 30px;
    padding-bottom: 6px;
}
.form_area dl .type_area .img_area{
    flex: 0 0 80px;
}
.form_area dl .type_area .info_area{
    flex: 1 1 100%;
    min-width: 0;
    margin-left: 20px;
}
.form_area dl .type_area .name b{
    font-weight: bold;
    /* font-size: 20px; */
    font-size: 16px;
    line-height: 1.2;
}
.form_area dl .type_area .name .sub{
    display: block;
    font-size: 14px;
}

.form_area dl .type_area .select{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 6px;
    padding-right: 25px;
}
.form_area dl .type_area .select .title{
    flex: 0 0 100%;
    font-size: 14px;
}
.form_area dl .type_area .select .select_wrap{
    position: relative;
    flex: 1 1 auto;
    max-width: 320px;
    min-width: 0;
}
.form_area dl .type_area .select .select_wrap:after{
    content: "▼";
    pointer-events: none; /*矢印部分をクリックを可能にする*/
    position: absolute;
    top: 50%;
    right: 10px;
    font-size: 10px;
    color: #333;
    transform: translateY(-50%); /*▼を上に移動*/
}
.form_area dl .type_area .select select{
    width: 100%;
    padding: 10px 22px 9px 12px;
    font-size: 16px;
}

/* is_disabled */
.form_area dl .type_area .info_area.is_disabled .select_wrap:after{
    color: #AAA;
}

.form_area dl .type_area .info_area.is_disabled .select{
    color: #AAA;
    opacity: .6;
}

/* bottom_side */
.form_area dl .bottom_side{
    border-top: 1px solid #DEDEDE;
    margin-top: 32px;
    padding-top: 18px;
}
.form_area dl .bottom_side dt {
    margin-top: 20px;
}

/* rdo_dd */
.form_area dl .rdo_dd{
    margin-top: 10px;
}
/* .form_area dl .rdo_dd:before{
    top: 5px;
}
.form_area dl .pass.rdo_dd:after{
    top: 10px;
} */

/* radio */
.form_area dl input[type="radio"]{
    display: none;
}
.form_area dl input[type="radio"] + label{
    flex: 1 1 100%;
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 10px;
    cursor: pointer;
}
.form_area dl input[type="radio"] + label:before{
    content: "";
    display: inline-block;
    position: absolute;
    top: 3px;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 22px;
    border: 1px solid #BEBEBE;
    background: #FFF;
}
.form_area dl input[type="radio"]:checked + label:after{
    content: "";
    display: inline-block;
    position: absolute;
    top: 8px;
    left: 5px;
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background-color: #333;
}


/* date */
.form_area dl input[type="date"]{
    max-width: 320px;
    margin: 6px 0;
    padding: 10px 12px 9px;
    border: 1px solid #DEDEDE;
    background: #FFF;
}

/* err_message */
.err_message{
    display: none;
    padding: 18px;
    margin-top: 30px;
    border: 2px solid #E90000;
    color: #E90000;
    text-align: center;
}
.err_message p{
    display: none;
}
/*  btn  */
.al_center{
    margin: 60px 0 100px;
}
.al_center.input_con{
    margin: 60px 0 40px;
}
.bk_btn{
    margin: 0 auto;
}

/* CON_BTN */
#CON_BTN{
    border: 0;
}
#CON_BTN:disabled{
    opacity: 0.3;
    cursor: auto;
}
#CON_BTN:disabled:hover:after{
    right: 20px;
}

/* *****  confirm  ***** */
.input_con_txt{
    margin-bottom: 15px;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid #333;
}
.r_btn{
    margin: 40px auto 20px;
}
.w_btn{
    margin: 0 auto 60px;
}

/* *****  thanks  ***** */
.thanks_messa{
    padding: 40px 5%;
    margin-bottom: 50px;
    text-align: center;
    border: 1px solid #000;
    background: #fff;
}
.thanks_messa .til{
    margin-bottom: 10px;
    font-weight: bold;
}
.thanks_messa .txt{
    line-height: 2;
}
.thanks_messa .txt span{
    display: inline-block;
}
.thanks_messa a{
    text-decoration: underline;
}
.thanks .bk_btn{
    margin-bottom: 100px;
}

@media screen and (min-width:640px){
    /* 共通 */
    input,
    textarea{
        padding: 10px 0;
    }
    ::placeholder{
        font-size: 16px;
    }
    ::-webkit-input-placeholder{
        font-size: 16px;
    }
    ::-ms-input-placeholder{
        font-size: 16px;
    }

    /* privacy_check */
    .privacy_check{
        margin: 120px 0 40px;
        font-size: 16px;
    }
    /* chk_btn */
    .chk_btn{
        margin-bottom: 25px;
    }
    .chk_btn label{
        padding-left: 50px;
        font-size: 20px;
    }
    .chk_btn label:before{
        top: 2px;
        width: 30px;
        height: 30px;
    }
    .chk_btn input:checked + label:after{
        top: 7px;
        left: 11px;
        width: 9px;
        height: 16px;
    }

    .exp_txt{
        margin-bottom: 60px;
    }

    /* form_area */
    #input_form{
        padding-bottom: 100px;
    }
    .form_area .head_area{
        margin-top: 120px;
        margin-bottom: 20px;
    }
    .form_area dl{
        padding: 30px 40px 20px;
    }
    .form_area dl .radio{
        display: flex;
        flex-wrap: wrap;
    }
    .form_area dl input[type="radio"] + label.mgn_rig{
        margin-right: 85px;
    }

    /* type_area */
    .form_area dl .type_area .info_area{
        flex-basis: auto;
        margin-left: 30px;
    }
    .form_area dl .type_area .name b{
        font-size: 20px;
    }
    .form_area dl .type_area .select{
        flex-wrap: nowrap;
    }
    .form_area dl .type_area .select .title{
        flex-basis: 110px;
    }

    .input_con{
        margin: 80px 0 0;
    }
    .err_message{
        padding: 36px;
        margin-top: 60px;
    }
    .err_message .input_err{
        margin-bottom: 5px;
    }

    /* *****  confirm  ***** */
    .input_con_txt{
        margin-bottom: 45px;
        padding: 32px;
        font-size: 16px;
    }
    .confirm .form_area dl{
        padding: 30px 40px 30px;
    }
    .confirm .form_area dl dt{
        margin-bottom: 10px;
    }
    .r_btn{
        margin: 60px auto 40px;
    }
    .w_btn{
        margin: 0 auto 100px;
    }

    /* *****  thanks  ***** */
    .thanks_messa{
        padding: 60px 5% 70px;
        margin-bottom: 100px;
    }
    .thanks_messa .til {
        margin-bottom: 30px;
        font-size: 24px;
    }
    .thanks_messa .txt{
        line-height: 2;
    }
}




/* modal */
.modal_active {
    overflow: hidden;
}
.modal_active #header{
    z-index: 0;
}
.modal_active #modal_area .mdl_in{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 1240px;
    width: 90%;
    height: 78%;
    margin: auto;
    z-index: 1010;
}
.modal_active #modal_area .mdl_close{
    position: absolute;
    top: -30px;
    right: 0;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.modal_active #modal_area .mdl_close:before {
    content: "";
    display: inline-block;
    position: absolute;
    right: -3px;
    top: 12px;
    width: 31px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
}
.modal_active #modal_area .mdl_close:after {
    content: "";
    display: inline-block;
    position: absolute;
    right: -3px;
    top: 12px;
    width: 31px;
    height: 2px;
    background: #fff;
    transform: rotate(-45deg);
}
.modal_active #modal_area .mdl_display{
    overflow: auto;
    height: 100%;
    padding: 40px 5% 0;
    background: #fff;
}
.modal_active #modal_area .bk{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
}
.modal_active .content_area{
    margin-bottom: 80px;
}


@media screen and (min-width:640px){

    /* modal */
    .modal_active #modal_area .mdl_display{
        padding: 80px 10% 0;
    }
    .modal_active .content_area{
        margin-bottom: 100px;
    }

}



.form_area dl .pass:before { top: -23px; bottom: auto; }
.form_area dl .pass:after  { top: -18px; bottom: auto; }
.form_area dl .type_area .pass:before { top: 4px; }
.form_area dl .type_area .pass:after  { top: 9px; }
.form_area dl .pass_type.pass:before { top: 3px; }
.form_area dl .pass_type.pass:after  { top: 8px; }
