h1,h2,h3,h4,h5,h6,p,label{
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: 5px;
    font-family: 'Thin italic';
}

input, select, textarea{
  margin: 0;
  font: inherit;
  font-size: 13px;
}

placeholder{
    position: relative;
    left: 10px;
}
input[type="file"]{
    display: none;
}
.file_upload_btn{
    font-size: 13px;
    padding: 4px 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
}
.file_upload_btn + p{
    display: inline-block;
    margin-left: 20px;
    font-size: 13px;
}
.file_type{
    margin-top: 4px;
    font-size: 13px;
}
#face_photo{
    position: relative;
    width: 240px;
    height: 320px;
    margin: 0 auto;
    border: 1px dotted #cdcdcd;
    overflow: hidden;
    background-image: url("/assets/img/no_image_240.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
}
.face_photo {
    text-align: center;
}
.face_photo > div{
    position: relative;
    display: inline-block;
    margin: 0 auto;
}
.face_photo p {
    display: none;
    padding: 10px;
    font-size: 13px;
    background-color: #fff;
    border: solid 1px #ebb126;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -o-border-radius: 6px;
    -ms-border-radius: 6px;
}
.v_hidden{
    visibility: hidden;
    position: absolute;
    left: 0;
}
@media screen and (min-width:768px){
    html{
    }
    header{
        margin-top: 0px;
        border-bottom: 1px solid #eee;
        text-align: center;
        background-color: #fff;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        background-color: #fff;
    }
    header img{
        max-width: 440px;
        max-height: 100px;
    }
    header p{
        max-width: 700px;
        margin-left: 30px;
        font-size: 25px;
        color: #1565c0;
        font-weight: bold;
    }
    header:after{
        display: block;
        content: '';
        clear: both;
    }
    body{
        background-color:#eee;
        margin: 0px;

    }
    input[type=text]{
        text-indent: 1em;
        width: 300px;
        height: 25px;
        border-bottom:2px solid #bdbdbd;
        border-top:none;
        border-left: none;
        border-right:none;
        background-color: #eee;
    }
    input[type="text"]:focus,
    textarea:focus{
        border-bottom: 2px solid #30d475;
    }
    main{
        background-color: #eee;

    }
    #main-infomation{
        margin: 40px auto 0;
        width: 900px;
    }
    #main-infomation .h1{
        height: 30px;
        color: #000;
    }
    #main-infomation h1{
        font-size: 15px;
        font-weight: bold;
        padding-top: 25px;
    }
    .ef_item{
        display: -webkit-flex;
        display: flex;
        align-items: center;
    }
    .item_name{
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #eee;
        min-width: 170px;
        max-width: 170px;
        margin-right: 20px;
        padding: 25px 15px;
    }
    .item_name h2{
        font-size: 13px;
        margin-right: 10px;
    }
    .item_name h3{
        font-size: 13px;
        min-width: 35px;
        max-width: 35px;
        height: 20px;
        color: #fff;
        text-align: center;
    }
    .item_name h3.required{
        background-color: #ef8f8f;
    }
    .item_name h3.optional{
        background-color: #83c4f8;
    }
    .floater{
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .floater:after{
        display: block;
        content: '';
        clear: both;
    }
    .float1{
        float: left;
    }

    .label{
        float: left;
    }

    .float2 input{
        margin-left: 60px;
    }

    select{
        height:35px;
        background-color: #dedede;
        border:none;
    }
    .next{
        height: 200px;
    }
    .n-button{
        margin-top: 20px;
        width: 295px;
        height: 45px;
        background-color: #fff;
        font-size: 20px;
        font-weight:bold;
        border-radius: 2px;
        color: #30d475;
        border:2px solid #30d475;
        box-shadow: 2px 2px 1px #cac8c7;
    }
    .input input{
        display: none;
    }
    .input input+label{
        padding-left: 30px;
        font-size: 15px;
        position: relative;
        margin-right: 15px;
    }
    input[type="radio"]+label::before{
        content: "";
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 15px;
        height: 15px;
        border:2px solid #000;
        border-radius: 50%;
        background-color: #fff;
    }
    input[type="radio"]:checked+label::after{
        content: "";
        display: block;
        width: 21px;
        height: 21px;
        position: absolute;
        left: -1px;
        bottom: 3px;
        background-color: #30d475;
        border-radius: 50%;
    }
    .input{
        display: -webkit-flex;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .male{
        float: left;
        margin: 30px 0 0 30px;
    }
    .female{
        position: relative;
        left: 70px;
        top: 30px;
    }
    .school{
        margin-top: 40px;
    }
    .p{
        position: relative;
        top: 15px;
        left: 15px;
    }
    .next{
        height:80px;
    }
    .n-button{
        position:relative;
        left:20px;
    }
    .contact{
        margin-top: 40px;
    }
    .birthday select{
        width: 75px;
        margin-left: 20px;
    }
    .birthday select:first-of-type{
        margin-left: 0;
    }
    input[type=text].after{
        width: 80px;
    }
    .address{
        margin: 20px 0;
    }
    .address label{
        width: 100px;
    }
    #address1 label{
        font-size: 13px;
    }
    #address1 .after{
        margin-left: 0;
    }
    #address1,
    #address2{
        display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
    }
    #address2{
        margin-top: 10px;
    }
    #address2 label{
        font-size: 13px;
    }
    #address2 .juusyo{
        position: relative;
        right: 130px;
    }
    #address2 .prefecture{
        width: 100px;
    }
    #address2 .gennzaijuusyo{
        width: 550px;
        margin: 10px 0 0 100px;
    }
    #address2 .add{
        position: relative;
        right: 135px;
    }
    input[type=text].small{
        width: 80px;
    }
    .size{
        font-size: 13px;
    }
    .break{
        border:1px solid #eee;
        border-top:none;
        height: 200px;
    }
    .break #address2{
        position: relative;
        right: 175px;
        top: 25px;
    }
    .small{
        z-index: 10;
    }
    .hifun{
        z-index: 1;
        font-size: 13px;
        padding-top: 15px;
    }
    .break input{
        margin-top: 20px;
    }
    .break #address2{
        margin-top: 20px;
    }
    .facebook{
        position: relative;
        top: 20px;
        left: 30px;
    }
    .facebook2{
        position: relative;
        top: 20px;
        left: 30px;
    }
    textarea{
        width: 650px;
        height: 60px;
        background-color:#eee;
        border:none;
        border-bottom:2px solid #bdbdbd;
        padding-left: 1em;
    }
    .button-next{
        position:relative;
        top:50px;
    }
    .reserve{
        margin-top: 40px;
        padding-bottom: 80px;
        border-bottom: 1px solid #aaa;
    }
    .reserve p{
        font-size: 13px;

    }
    .reserve .guide{
        margin-top: 20px;
    }
    .title input{
        display: none;
    }
    .title input+label{
        position: relative;
        margin-right: 20px;
        float: left;
    }
    .title input+label::before{
        content: "";
        display: block;
        position: absolute;
        top: 5px;
        left: 6px;
        width: 15px;
        height: 15px;
        border: 2px solid #000;
        background-color: #fff;
        border-radius: 50%;
    }
    .title input:checked+label::after{
        content: "";
        display: block;
        position: absolute;
        top: 4px;
        left: 5px;
        width: 21px;
        height: 21px;
        background: #30d475;
        border-radius: 50%;
     }
     .reserve1{
        position: relative;
        background-color:#fff;
        margin-top: 10px;
        width: 700px;
        border:2px solid transparent;
    }
    .reserve1 p{
        margin-top: 10px;
    }
    .reserve1.full:before{
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: rgba(184, 184, 184, .4);
        z-index: 2;
    }
    .reserve1.full:after{
        content: '満席';
        position: absolute;
        top: -1px;
        left: -1px;
        padding: 2px 6px;
        color: #fff;
        background-color: red;
        z-index: 3;
        font-size: 14px;
    }
    .title{
        background-color: #fff;
    }
    .title input{
        position: relative;
        top: 5px;
    }
    .title label{
        padding-left: 40px;
        padding-top: 5px;
        font-size: 13px;
    }
    .date{
        margin-top: 30px;
        margin-left: 10px;
    }
    .hidden_box label {
        font-size: 13px;
        cursor :pointer;
    }
    .hidden_box input:checked+div::after{
        padding-top: 10px;
        content: "とじる　▲";
        font-size: 13px;
        display:block;
        width: 280px;
        height: 30px;
        background-color: #eee;
        position: relative;
        left: 0px;
        bottom: 34px;
        pointer-events: none;
    }
    .detail{
        text-align: center;
        padding-top: 10px;
        background-color: #eee;
        width: 280px;
        height: 30px;
        position:relative;
        left: 350px;
        bottom: 45px;
    }
    .hidden_box input {
        display: none;
    }
    .hidden_box .hidden_show {
        height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        transition: 0.8s;
    }
    .hidden_box input:checked+div+.hidden_show{
        padding: 10px 0;
        height: auto;
        opacity: 1;
    }
    .hidden_box p{
        margin-left: 10px;
    }
    .googlemap iframe{
        width: 680px;
        height: 300px;
        margin-left: 10px;
        margin-bottom: 10px;
    }
    .noreserve{
        width: 700px;
        height: 50px;
        background-color: #fff;
    }
    .noreserve p{
        padding-left: 40px;
        padding-top: 9px;
    }
    .noreserve input{
        margin-top: 12px;
    }
    .noreserve label{
        margin-top: 12px;
    }
    .last-color{
        margin-top:20px;
        background-color:#eee;
    }
    .last input{
        float: left;
    }
    .last{
        width: 300px;
        margin: 0 auto;
    }
    input[type="checkbox"]{
        display: none;
    }
    input[type="checkbox"]+label{
        padding-left: 30px;
        position: relative;
        font-size: 13px;
    }
    input[type="checkbox"]+label::before{
        display: block;
        content: '';
        width: 15px;
        height: 15px;
        position: absolute;
        top: 0;
        left: 5px;
        border:2px solid #000;
        background-color:#fff;
        border-radius: 10%;
    }
    input[type="checkbox"]:checked+label::after{
        display: block;
        content: '';
        width: 8px;
        height: 11px;
        position: absolute;
        top: 0;
        left: 10px;
        transform: rotate(40deg);
        border-bottom: 2px solid #000;
        border-right:2px solid #000;
    }
    .rule{
        background-color:#fff;
        margin: 20px auto;
        padding: 20px;
        border:1px solid #eee;
        width: 600px;
        font-size: 13px;
    }
    .privasy{
        font-size: 16px;
        text-align: center;
        margin-top: 15px;
    }
    .botun{
        margin-top: 20px;
        font-size: 20px;
        color: #fff;
        width: 300px;
        height: 60px;
        background-color: #30d475;
        border-radius: 3px;
        border: none;
        box-shadow:2px 2px 1px #cac8c7;
    }
    .botun:disabled{
        background-color: #aaa;
    }
    footer{
        background-color:#eee;
        margin: 40px 0 20px;
        text-align: center;
    }
    footer p{
        font-size: 10px;
    }
    .rule_scroll{
        height: 200px;
        overflow-y: scroll;
    }
}

@media screen and (max-width:768px){
    html{
        width:100%
    }
    header{
        width: 95%;
        padding: 10px 2.5%;
        border-bottom: 1px solid #eee;
        text-align: center;
        background-color: #fff;
    }
    body{
        background-color:#eee;
        margin: 0px;
    }
    input[type=text]{
        width: 90%;
        height: 25px;
        border-bottom:2px solid #bdbdbd;
        border-top:none;
        border-left: none;
        border-right:none;
        background-color: #eee;
    }
    input[type="text"]:focus,
    textarea:focus{
        border-bottom: 2px solid #30d475;
    }
    main{
        width: 95%;
        margin: 0 auto;
        background-color: #eee;
    }
    header{
        background-color: #fff;
    }
    header img{
        margin-top: 10px;
        max-width: 100%;
        max-height: 100px;
    }
    header p{
        margin-top: 10px;
        font-size: 16px;
        color: #1565c0;
        font-weight: bold;
    }
    header:after{
        display: block;
        content: '';
        clear: both;
    }
    #main-infomation{
        width:100%;
    }
    #main-infomation .h1{
        height: 30px;
        color: #000;
    }
    #main-infomation h1{
        font-size: 15px;
        font-weight: bold;
        padding-top: 25px;
    }
    .ef_item{
        margin-top: 20px;
    }
    .item_name{
        display: -webkit-flex;
        display: flex;
        padding: 10px 0;
    }
    .item_name h2{
        font-size: 13px;
    }
    .item_name h3{
        font-size: 13px;
        max-width: 35px;
        min-width: 35px;
        height: 20px;
        margin-left: 10px;
        color: #fff;
        text-align: center;
    }
    .item_name h3.required{
        background-color: #ef8f8f;
    }
    .item_name h3.optional{
        background-color: #83c4f8;
    }
    .float2{
        margin-top: 10px;
    }
    .floater{
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .floater:after{
        display: block;
        content: '';
        clear: both;
    }
    .birthday{
        font-size: 12px;
    }
    .birthday select{
        width:75px;
    }
    .birthday select:not(:first-of-type){
        margin-left: 10px;
    }
    select{
        height:35px;
        background-color: #dedede;
        border:none;
    }
    .next{
        height: 200px;
    }
    .n-button{
        margin-top: 30px;
        width: 100%;
        height: 55px;
        background-color: #fff;
        font-size: 20px;
        font-weight:bold;
        border-radius: 2px;
        color: #30d475;
        border:2px solid #30d475;
        box-shadow: 2px 2px 1px #cac8c7;
    }
    input[type="radio"],
    input[type="checkbox"]{
        display: none;
    }
    input[type="radio"]+label{
        display: inline-block;
        padding-left: 30px;
        font-size: 15px;
        position: relative;
    }
    input[type="radio"]+label::before{
        content: "";
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 15px;
        height: 15px;
        border:2px solid #000;
        border-radius: 50%;
        background-color: #fff;
    }
    input[type="radio"]:checked+label::after{
        content: "";
        display: block;
        width: 21px;
        height: 21px;
        position: absolute;
        left: -1px;
        top: -1px;
        background-color: #30d475;
        border-radius: 50%;
    }
    .input{
        display: flex;
        flex-wrap: wrap;
    }
    .input input[type="radio"]+label{
        margin-right: 15px;
        margin-bottom: 5px;
    }
    .input input[type="checkbox"]+label{
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 5px;
    }
    .male{
        float: left;
    }
    .female{
        position: relative;
        left: 90px;
    }

    .school{
        margin-top: 40px;
    }
    .p{
        position: relative;
        top: 15px;
        left: 15px;
    }
    .next{
        height:80px;
    }
    .hifun{
        font-size:14px;
        position:relative;
        bottom:10px;
    }
    .post2 {
        padding-bottom: 15px;
    }
    .address .small{
        width:80px;
    }
    .address .after{
        width: 80px;
        margin-left: 0;
    }
    .address label{
        font-size:13px;
    }
    #address2{
        display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
    }
    #address2 .prefecture{
        width: 100px;
        margin-left: 20px;
    }
    #address2 label{
    }
    #address2 input[type=text].add{
        position:relative;
        bottom:10px;
        width:200px;
        margin-left:80px;
    }
    #address2 .gennzaijuusyo{
        margin-top: 10px;
    }
    .kari .ph{
        position:relative;
        top:5px;
    }
    input[type="checkbox"]+label{
        padding-left: 20px;
        position: relative;
        z-index: 10;
        font-size: 13px;
    }
    input[type="checkbox"]+label::before{
        content: "";
        display: block;
        width: 15px;
        height:15px;
        position: absolute;
        top: -20px;
        left: -10px;
        border:2px solid #000;
        background-color: #fff;
        border-radius: 10%;
    }
    input[type="checkbox"]:checked+label::after{
        content: "";
        display: block;
        width: 8px;
        height: 11px;
        position: absolute;
        left: -5px;
        bottom:20px;
        transform: rotate(40deg);
        border-bottom: 2px solid #000;
        border-right:2px solid #000;
    }
    textarea{
        width: 95%;
        height: 80px;
        padding: 0 2.5%;
        background-color:#eee;
        border:none;
        border-bottom:2px solid #bdbdbd;
    }
    .reserve{
        margin-top: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid #aaa;
    }
    .reserve p{
        font-size: 13px;
    }
    .reserve .guide{
        margin-top: 30px;
    }
    .title input+label::before{
        content: "";
        display: block;
        position: absolute;
        top: 5px;
        left: 6px;
        width: 15px;
        height: 15px;
        border: 2px solid #000;
        background-color: #fff;
        border-radius: 50%;
    }
    .title input:checked+label::after{
        content: "";
        display: block;
        position: absolute;
        top: 5px;
        left: 5px;
        width: 21px;
        height: 21px;
        background: #30d475;
        border-radius: 50%;
     }
     .reserve1{
        position: relative;
        background-color:#fff;
        margin-top: 10px;
        width: 100%;
        border:2px solid transparent;
    }
    .reserve1.full:before{
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: rgba(184, 184, 184, .4);
        z-index: 2;
    }
    .reserve1.full:after{
        content: '満席';
        position: absolute;
        top: -1px;
        left: -1px;
        padding: 2px 6px;
        color: #fff;
        background-color: red;
        z-index: 3;
        font-size: 14px;
    }
    .title{
        background-color: #fff;
    }
    .title h6{
        padding-left: 40px;
        padding-top: 5px;
        font-size: 13px;
    }
    .date{
        margin-top: 20px;
        margin-left: 10px;
    }
    .hidden_box label {
        font-size: 13px;
        cursor :pointer;
    }
    .hidden_box input:checked+div::after{
        text-align: center;
        padding-top: 10px;
        content: "とじる　▲";
        font-size:13px;
        display:block;
        width: 85%;
        height: 30px;
        background-color: #eee;
        position: relative;
        bottom:33px;
        left: 35px;
        pointer-events: none;
    }
    .detail{
        margin: 10px auto 10px;
        text-align: center;
        padding-top: 10px;
        background-color: #eee;
        width:85%;
        height: 30px;
    }
    .hidden_box input {
        display: none;
    }
    .hidden_box .hidden_show {
        height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        transition: 0.8s;
    }
    .hidden_box input:checked+div+.hidden_show{
        padding: 10px 0;
        height: auto;
        opacity: 1;
        text-align: center;
    }
    .hidden_box input:checked+div+.hidden_show p{
        margin-left: 10px;
    }
    .googlemap{
        text-align: center;
    }
    .noreserve{
        width: 100%;
        height: 50px;
        background-color: #fff;
    }
    .noreserve p{
        padding-left: 40px;
        padding-top: 10px;
    }
    .noreserve input{
        margin-top: 12px;
    }
    .noreserve label{
        margin-top: 12px;
    }
    .last-color{
        margin-top:20px;
        background-color:#eee;
        width: 100%;
    }
    .last p {
        font-size: 13px;
        position: relative;
        bottom:18px;
        left: 30px;
    }
    .last{
        width:100%;
    }
    input[type="checkbox"]+label{
        padding-left: 30px;
    }
    input[type="checkbox"]+label::before{
        display: block;
        content: '';
        width: 15px;
        height: 15px;
        position: absolute;
        top: 0;
        left: 5px;
        border:2px solid #000;
        background-color:#fff;
        border-radius: 10%;
    }
    input[type="checkbox"]:checked+label::after{
        display: block;
        content: '';
        width: 8px;
        height: 11px;
        position: absolute;
        top: 0;
        left: 10px;
        transform: rotate(40deg);
        border-bottom: 2px solid #000;
        border-right:2px solid #000;
    }
    .rule{
        background-color:#fff;
        margin: 30px 0 0 0px;
        padding: 20px;
        border:1px solid #eee;
        font-size: 13px;
    }
    .privasy{
        margin-top: 10px;
        font-size: 13px;
        text-align: center;
    }
    .botun{
        margin-top: 20px;
        font-size: 20px;
        color: #fff;
        width: 100%;
        height: 60px;
        background-color: #30d475;
        border-radius: 3px;
        border:1px solid #30d475;
    }
    footer{
        margin: 20px 0;
        text-align: center;
    }
    footer p{
        font-size: 10px;
    }
    .rule_scroll{
        height: 200px;
        overflow-y: scroll;
    }
}