
@media screen and (max-width: 960px){
    html body *.desktop{
        display:none;
    }
    div.input_form_title{
        width:94%;
        margin-left:3%;
        margin-right:3%;
        text-align: left;
        font-weight:bold;
    }
    div.input_form_body{
        width:94%;
        margin-left:3%;
        margin-right:3%;
        /* text-align: center; */
    }
    div.input_form_body > label{
        display: block;
    }
    span.file_span{
        line-height: 2em;
    }
    label{
        white-space:  normal;
    }
    input[name=mmc_hikari_kizon_gyousha]{
        width:100%;
    }
    input[name=mmc_option_seikyusho_meisai_juusho]{
        width:100%;
    }
    
    div.option_body{
        flex-wrap: wrap;
    }
    div.option_break{
        width:100%;
    }
    div.option_naiyo_div{
        width:100%;
    }
    div.option_body{
        justify-content: start;
        align-content: space-around;
    }
    main#main_net hr.option_hr{
        border: 2px solid var(--silver-col);
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-top: 2em;
    }
    .modal-content {
        width: 100%;
        box-sizing: border-box;
    }
    #option_close_btn{
        font-size:0.8em;
    }
    #option_link{
        font-size:1em;
    }
    #option_close_btn::after,
    #option_link::after{
        right: 1em;
        top: 1.5em;
    }
    div.goukei{
        margin:auto;
    }
    div.error_message{
        width: 100%;
    }
    div.mobile_width{
        width: 100%;
    }
    /* input.maxlength20{
        width:20em;
    } */

}
@media screen and (min-width: 961px){
    html body *.mobile{
        display:none;
    }
    div.input_form_div{
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: center;
        align-content: space-around;
    }
    div.input_form_title{
        width:30%;
        text-align: right;
        font-weight:bold;
    }
    div.input_form_body{
        width:65%;
        margin-left:5%;
        text-align: left;
    }
    input[name=mmc_hikari_kizon_gyousha]{
        width:100%;
    }
    input[name=mmc_option_seikyusho_meisai_juusho]{
        width:100%;
    }
    div.input_form_div{
        padding: 0 2em 0 0;
    }
    div.input_form_div.input_form_div_margin_zero.input_form_div_margin_left_1dan{
        padding-left:2em;
    }
    div.input_form_body > div{
        /* height:2em; */
    }
    div.option_denwa_bangou{
        margin-left:1em;
    }
    div.option_naiyo_div{
        width:50%;
    }
    div.option_naiyo_price {
        text-align:right;        
    }
    div.option_body{
        justify-content: space-between;;
        align-content: space-around;
    }

    main#main_net hr.option_hr{
        margin-left: 33%;
        margin-top: 2em;
        margin-bottom: 0;
        border: 1px solid var(--silver-col);
    }

    .modal-content {
        width: 80%;
    }
    div.goukei{
        min-width: 50%;
    }
    div.error_message{
        width: 60%;
        margin-left: 35%;
    }

    div.input_form_body > input.maxlength20{
        width:13em;
    }
}

div.input_form_div{
    font-size:1em;
    margin-top: 2em;
    width:100%;
    box-sizing: border-box;
}
div.input_form_title{
    word-break: keep-all;
    overflow-wrap: break-word;
}



div.input_form_body > label{
    padding-right:40px;
    /* border: 2px solid var(--gray-col);
    border-radius: 0.5em; */
}

label {
    cursor: pointer;
}
div.input_form_body input[type="date"] {
    width:9em;
}
div.input_form_body input[type="text"].phone_number {
    width:9em;
}

input[type="file"] {
    display: none;
}

span.delete_upload_file{
    display:none;
}

div.order_form_send_btn{
    display: table;
    margin: auto;
    position: relative;
    
}
div.order_form_send_btn > div{
    margin: 0 auto;   
    cursor: pointer;
    border: 3px solid var(--tv-col);
    padding: 0em 2em 0em 2em;
    font-size: 2em;
    border-radius: 1em;
    background-color: white;
}
div.order_form_send_btn > div::after {
    position: absolute;
    right: 0.7em;
    top: 0.7em;
    content: "";
    width: 0.5em;
    height: 0.5em;
    border-right: 2px solid black;
    border-top: 2px solid black;
    transform: rotate(45deg);
}

div.input_form_body > input {
    width:100%;
}
div.input_form_body > textarea {
    width:100%;
    height:10em;
}
div.input_form_file_div{
    display: inline-block;
    text-align: left;
}
span.delete_upload_file{
    cursor: pointer;
    font-weight:bold;
    color:red;
    font-size: 1.5em;
}

span.required{
    color:red;
    padding-left:0.3em;
}
span.memo{
    font-weight:normal;
}

div.mmc_error_msg{
    font-weight: bold;
    color: red;
    border: 2px solid red;
    background-color: rgba(255,0,0,0.1);
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    margin-bottom: 2em;
}

div.mmc_error_msg > div{
    margin:0 auto;
    display: table;
}
div.mmc_error_msg > div > div{
    text-align:left;
}

div.main_content div.post_content a{
    /*下線 */
    border-bottom: 1px solid;
    white-space: nowrap;

}

div.post_content > p {
    padding-left:2em;
    padding-right:2em;
}

/*オプション */
div.option_body{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #f4f4f4;
    margin: 30px auto;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
    animation-name: modalopen;
    animation-duration: 1s;
}

html.background_black main#main_net div.modal-content {
    background-color: black;
}
@keyframes modalopen {
  from {opacity: 0}
  to {opacity: 1}
}

.modalClose {
  font-size: 2rem;
}

.modalClose:hover {
  cursor: pointer;
}

.modal-body {
  padding: 10px 20px;
  color: black;
}
html.background_black main#main_net div.modal-body{
    color: white;
}
.modal-body > p {
    padding-left:1em;
    padding-right:1em;
}

/* div.option_check > div.option_naiyo_div{
    width:calc(50% - 2em);
} */

div.option_naiyo_price{
    width:5.25em;
}
div.yuusou_div{
    width:5em;
}
div.input_form_div.input_form_div_margin_zero{
    margin-top:0px;
}

input[type="checkbox"], input[type="radio"] {
    margin-right: 0.5em;
}


main#main_net hr.option_hr_all_width{
    margin-top: 2em;
    margin-bottom: 0;
    border: 1px solid var(--silver-col);
}

div.goukei{
    text-align: center;
    display: table;
}
div.option_body_final{
    font-size: 2em;
    font-weight: bold;
    margin: auto;
    display: table;
}

div.option_message{
    border:3px solid var(--net-col);
    border-radius:1em;
    padding:10px 20px;
    margin-bottom:20px;
    display: table;
    width:100%;
    box-sizing: border-box;
}
html.background_black main#main_net div.option_message{
    border:3px solid var(--net-col-d);
}
div.error_message{
    border: 3px solid red;
    border-radius: 1em;
    padding: 5px 10px;
    margin-bottom: 20px;
    display: table;
    box-sizing: border-box;
    color: red;
}

div.input_form_body.infomation_title{
    width:100%;
    background-color:var(--net-col);
    border-top:1px solid black;
    border-bottom:1px solid black;
    text-align: center;
}
html.background_black main#main_net div.input_form_body.infomation_title{
    width:100%;
    background-color:var(--net-col-d);
    border-top:1px solid white;
    border-bottom:1px solid white;
    text-align: center;
}
div.input_form_div.input_form_div_margin_zero.pair_first{
    margin-top:0.5em;
}
hr.option_hr_goukei{
    margin:3em 1em;
}