h1,h2,h3,h4,h5,h6,p,label{
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: 5px;
    font-family: 'Thin italic';
}
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;
    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{
        background-color:#eee;
    }

    body{
        width: 1000px;
        margin: 0 auto;
        background-color:#fff;
    }
    header{
        display: -webkit-flex;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        text-align: center;
        background-color:#fff;
    }
    footer p{
        font-size: 12px;
        text-align: center;
    }
    input[type=text]{
        text-indent: 1em;
        width: 300px;
        height: 25px;
        border-radius: 3px;
        border:1px solid #eee;
        box-shadow:0px 1px 0.5px 0px #ccc inset;
    }
    input[type="file"]{
        display: none;
    }
    .file_upload_btn{
        font-size: 13px;
        padding: 4px 20px;
        border-radius: 4px;
        border: 1px solid #ddd;
        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;
    }
    header img{
        max-width: 440px;
        max-height: 100px;
    }
    header p{
        margin-left: 30px;
        font-size: 25px;
        color: #0000ff;
        font-weight: bold;
    }
    #main-infomation{
        background-color:#fff;
        margin-top: 40px;
        margin-left:20px;
        margin-right:20px;
    }
    #main-infomation .h1{
        margin-top: 5px;
        height: 20px;
        border-left: 5px solid #1565c0;
    }
    #main-infomation h1{
        font-size: 15px;
        font-weight: bold;
        padding-left: 20px;
        color: #347ac8;
    }
    .ef_item{
        display: -webkit-flex;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #eee;
    }
    .item_name{
        display: -webkit-flex;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-width: 170px;
        max-width: 170px;
        margin-right: 20px;
        padding: 25px 15px;
    }
    .item_name h2{
        font-size: 13px;
        margin-right: 10px;
    }
    h3.required, h3.optional{
        font-size: 13px;
        min-width: 35px;
        max-width: 35px;
        height: 20px;
        color: #fff;
        text-align: center;
    }
    h3.required{
        background-color: #ef8f8f;
    }
    h3.optional{
        background-color: #83c4f8;
    }
    .float2 label{
        margin-left: 30px;
        float: left;
        font-size: 12px;
        margin-top: 25px;
    }
    .name1 .float2 label{
        position: relative;
        top: 5px;
    }
    .name1 .float2 input{
        position: relative;
        right: 10px;
        top:6px;
    }
    .sex{
        border-bottom: 1px solid #eee;
        height: 70px;
    }
    input[type="checkbox"],
    input[type="radio"]{
        display: none;
    }
    input[type="radio"]+label{
        position: relative;
        padding-left: 25px;
        font-size: 13px;
    }
    input[type="radio"]+label::before{
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -25px;
        width: 15px;
        height: 15px;
        border:1px solid #eee;
        border-radius: 50%;
    }
    input[type="radio"]:checked+label::after{
        content: "";
        display: block;
        width: 11px;
        height: 11px;
        position: absolute;
        top: calc(50% + 3px);
        left: -22px;
        background-color: #000;
        border-radius: 50%;
    }
    .input{
        display: flex;
        flex-wrap: wrap;
    }
    .name{
        display: -webkit-flex;
        display: flex;
    }
    .name label{
        width: 40px;
        font-size: 13px;
        line-height: 30px;
    }
    #sei_kanji,
    #sei_kana{
        margin-right: 30px;
    }
    .female{
        padding-left: 110px;
    }
    .school{
        margin-top: 40px;
    }
    select{
        height:30px;
    }
    .form2{
        padding: 20px 0;
    }
    .birthday select{
        width:80px;
    }
    .border1{
        border:1px solid #eee;
        margin-top: 40px;
        height: 425px;
    }
    .radio1{
        position: relative;
        top: 10px;
        left: 5px;
    }
    .radio2{
        position: relative;
        bottom: 13px;
        left: 80px;
    }
    .radio p{
        font-size: 15px;
        position: relative;
        top: 27px;
        left: 20px;
    }
    .p{
        position: relative;
        top: 15px;
        left: 15px;
    }
    .form{
        position: relative;
        left: 200px;
        bottom: 70px;
    }
    .contact{
        margin-top: 40px;
        margin:20px 0 0 0px;
    }
    .address{
        border-bottom: 1px solid #eee;
    }
    #address1 label,
    #address2 label,
    #address3 label{
        display: inline-block;
        min-width: 60px;
        font-size: 13px;
    }
    #address2,
    #address3{
        margin-top: 10px;
    }
    #current_prefecture{
        width: 100px;
    }
    input[type=text].small{
        width: 80px;
    }
    input[type=text].small2{
        width: 90px;
    }
    input[type="checkbox"]+label{
        padding-left: 25px;
        position: relative;
        font-size: 13px;
    }
    input[type="checkbox"]+label::before{
        content: "";
        display: block;
        width: 15px;
        height:15px;
        position: absolute;
        top: 0px;
        left: 0px;
        border:1px solid #eee;
        border-radius: 10%;
    }
    input[type="checkbox"]:checked+label::after{
        content: "";
        display: block;
        width: 8px;
        height: 11px;
        position: absolute;
        top: 0;
        left: 4px;
        transform: rotate(40deg);
        border-bottom: 1px solid #000;
        border-right:1px solid #000;
    }
    .size{
        font-size: 13px;
    }
    .floater2{
        width: 100%;
    }
    .miss{
        position: relative;
        right: 200px;
    }
    .pr{
        margin-top:20px;
    }
    .pr .border{
        height: 200px;
    }
    textarea{
        border-radius: 3px;
        border:1px solid #eee;
        box-shadow:0px 1px 0px 0px #ccc inset;
        width: 600px;
        height: 150px;
        padding: 1em;
        font-family: Arial;
    }
    .pr:after{
        display: block;
        content: '';
        clear: both;
    }
    .prinput{
        position: relative;
        bottom: 100px;
        left: 200px;
    }
    .border3{
        border-top:1px solid #eee;
        height: 200px;
    }
    .eventlist{
        text-align: left;
    }
    .reserve{
        margin-top: 80px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }
    .reserve p{
        font-size: 13px;
    }
    .reserve a{
        margin-top:10px;
        margin-left:30px;
        font-size:13px;
        display:block;
    }
    .forcheck input+label{
        position: absolute;
        top: 10px;
        left: 0;
        padding-left: 30px;
        font-size: 16px;
        cursor: pointer;
    }
    .forcheck input+label::before{
        content: '';
        display: block;
        width: 15px;
        height: 15px;
        position: absolute;
        top: 40px;
        left: 6px;
        border:1px solid #eee;
        border-radius: 50%;
    }
    .forcheck input:checked+label::after{
        content: '';
        display: block;
        width: 11px;
        height: 11px;
        position: absolute;
        top: 43px;
        left: 9px;
        background-color: #000;
        border-radius: 50%;
    }
    .reserve .guide{
        margin-top: 10px;
    }
    .reserve1{
        position: relative;
        width: 700px;
        padding: 15px 30px;
        border:1px solid #eee;
        margin-top:10px;
    }
    .reserve1.full:before{
        content: '';
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        background-color: rgba(184, 184, 184, .4);
        z-index: 2;
    }
    .reserve1.full:after{
        content: '満席';
        position: absolute;
        top: 49px;
        left: -1px;
        padding: 2px 1px;
        color: #fff;
        background-color: red;
        z-index: 3;
        font-size: 14px;
    }
    .reserve1 .date{
        margin-top: 20px;
    }
    .hidden_box label {
        font-size: 13px;
        cursor :pointer;
    }
    .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_show p{
        margin-left: 10px;
    }
    .detail label{
        font-size: 13px;
        color: #55f;
        text-decoration: underline;
        font-weight: bold;
    }
    .googlemap{
        width: 680px;
        height: 300px;
        margin-left: 10px;
        margin-bottom: 10px;
    }
    .googlemap iframe{
        width: 680px;
        height: 300px;
    }
    .noreserve{
        width: 700px;
        border:1px solid #eee;
        margin-top:10px;
    }
    .reserve1.noreserve{
        padding-left: 5px;
    }
    .noreserve input{
        display: none;
    }
    .noreserve　input+label{
        font-size: 15px;
        padding-left: 20px;
        position: relative;
        margin-right: 20px;
    }
    .noreserve2{
        font-size: 15px;
        position: relative;
    }
    .noreserve input+label::before{
        content: '';
        display: block;
        position: absolute;
        right: 90px;
        width: 15px;
        height: 15px;
        border:1px solid #eee;
        border-radius: 50%;
    }
    .noreserve input:checked+label::after{
        content: '';
        display: block;
        position: absolute;
        right: 93px;
        bottom: 10px;
        width: 11px;
        height: 11px;
        background-color: #000;
        border-radius: 50%;
    }
    .title{
        font-size:16px;
        font-weight:bold;
        letter-spacing: .07em
    }

    footer{
        margin-top:30px;
        margin-right:20px;
        margin-left:20px;
    }
    .last{
        margin-top: 50px;
    }
    .last input{
        float: left;
    }
    .last p {
        position: relative;
        left: 30px;
        font-size: 13px;
    }
    .doui {
        display: none;
    }
    .doui+label{
        padding-left: 20px;
        position: relative;
    }
    .doui+label::before{
        display: block;
        content: '';
        width: 15px;
        height: 15px;
        position: absolute;
        border:1px solid #eee;
        border-radius: 10%;
    }
    .doui:checked+label::after{
        display: block;
        content: '';
        width: 8px;
        height: 11px;
        position: absolute;
        left: 6px;
        transform: rotate(40deg);
        border-bottom: 1px solid #000;
        border-right:1px solid #000;
    }
    .rule{
        border:1px solid #eee;
        margin-bottom: 20px;
        padding: 20px;
        font-size: 13px;
    }
    .botun{
        display: block;
        margin-top: 20px;
        font-size: 20px;
        color: #fff;
        width: 320px;
        height: 60px;
        background-color: #30d475;
        border-radius: 3px;
        border:1px solid #fff;
    }
    .botun:disabled{
        background-color: #aaa;
    }
    .end{
        margin-left: 450px;
        margin-bottom: 30px;
        height:20px;
    }
    .privasy{
        display: inline-block;
        margin-top: 10px;
    }
    .rule_scroll{
        height: 200px;
        overflow-y: scroll;
    }
}


@media screen and (max-width: 768px){
    html{
        background-color:#fff;
        width: 100%;
    }
    body{
        width: 100%;
        margin: 0px;
    }
    header{
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        text-align: center;
    }
    header img{
        max-width: 440px;
        max-height: 100px;
    }
    header p{
        font-size: 12px;
        color: #4169E1;
        font-weight:bold;
    }
    footer p{
        font-size: 12px;
        text-align: center;
    }
    #main-infomation{
        background-color: #fff;
        width: 95%;
        margin: 0 auto;
    }
    input[type=text]{
        text-indent: 1em;
        width: 260px;
        height: 30px;
        border-radius: 3px;
        box-shadow:0px 1px 0.5px 0px #ccc inset;
        border:1px solid #eee;
    }
    #main-infomation .h1{
        margin-top: 20px;
        height: 20px;
        border-left: 5px solid #1565c0;
        margin-bottom: 20px;
    }
    #main-infomation h1{
        font-size: 15px;
        font-weight: bold;
        padding-left: 20px;
        color: #347ac8;
    }
    .ef_item{
        border-bottom: 1px solid #eee;
    }
    .form2{
        padding: 10px 0 20px;
    }
    .item_name{
        position: relative;
        margin-top: 20px;
    }
    .item_name h2{
        font-size: 13px;
        margin-right: 50px;
    }

    .item_name h3{
        position: absolute;
        top: 0;
        right: 20px;
        text-align: center;
        height: 20px;
        font-size: 13px;
        width: 40px;
        color: #fff;
        background-color: #ef8f8f;
        float: left;
        border-radius: 1px;
    }
    .float2{
        margin-top:15px;
    }
    label{
        font-size: 10px;
    }
    #mei_kanji,
    #mei_kana{
        margin-top: 10px;
    }
    select{
        height: 30px;
    }
    .birthday select{
        width: 65px;
    }
    input[type="text"].small{
        width: 70px;
    }
    input[type="checkbox"],
    input[type="radio"]{
        display: none;
    }
    .input input+label{
        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:1px solid #eee;
        border-radius: 50%;
    }
    input[type="radio"]:checked+label::after{
        content: "";
        display: block;
        width: 11px;
        height: 11px;
        position: absolute;
        left: 3px;
        top: 3px;
        background-color: #000;
        border-radius: 50%;
    }
    .input{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .female{
        padding-left: 110px;
    }
    .schoolname{
        margin-top: 10px;
    }
    .schoolname h3{
        margin-left: 13px;
    }
    .schoolname .h3{
        margin-left: 25px;
    }
    .missh3{
        position: relative;
        right: 20px;
    }
    .schoolname .h5{
        position: relative;
        left: 70px;
    }
    .schoolname .h6{
        position: relative;
        left: 95px;
    }
    .school .female{
        position: relative;
        right: 20px;
    }
    .form{
        margin-top: 20px;
    }
    .schoolname .h7{
        position: relative;
        left: 83px;
    }
    .mail{
        margin-top: 20px;
        padding-bottom: 20px;
    }
    .mail:after{
        display: block;
        content: '';
        clear: both;
    }
    .mail label{
        float: left;
        font-size: 13px;
        padding-top: 5px;
        padding-left: 15px;
    }
    h3.optional{
        background-color:  #83c4f8;
    }
    .address{
        margin-top:20px;
        border-bottom:1px solid #eee;
    }
    .hifun{
        font-size: 14px;
        position: relative;
        bottom: 7px;
    }
    .address h3{
        position:relative;
        left:100px;
    }
    #address2,
    #address3{
        margin-top: 10px;
    }
    #address1 label,
    #address2 label,
    #address3 label{
        display: inline-block;
        width: 60px;
        font-size: 13px;
    }
    #address2 input{
        width:120px;
    }
    .check{
        margin-top:10px;
    }
    input[type="checkbox"]+label{
        padding-left: 20px;
        position: relative;
        margin-top: 20px;
        margin-left: 10px;
        z-index: 10;
    }
    input[type="checkbox"]+label::before{
        content: "";
        display: block;
        width: 20px;
        height:20px;
        position: absolute;
        top: -2px;
        left: -10px;
        border:1px solid #eee;
        background-color: #fff;
        border-radius: 10%;
    }
    input[type="checkbox"]:checked+label::after{
        content: "";
        display: block;
        width: 10px;
        height: 13px;
        position: absolute;
        left: -4px;
        top: -2px;
        transform: rotate(40deg);
        border-bottom: 1px solid #000;
        border-right:1px solid #000;
    }
    .check{
        display:flex;
    }
    .check p{
        font-size:15px;
        position:relative;
    }
    .others{
        margin-top:10px;
    }
    .mail2{
        margin-top:10px;
    }
    .facebook{
        margin-top: 10px;
        margin-left: 15px;
        border-bottom: 1px solid #eee;
        height: 70px;
    }
    .mail2 .misses{
        position:relative;
        left:140px;
    }
    .misses2{
        margin-left:7px;
    }
    .pr{
        width: 100%;
        background-color: #fff;
        height: 550px;
        border-bottom: 1px solid #eee;
    }
    .border{
        border-bottom: 1px solid #eee;
    }
    textarea{
        display: block;
        margin: 0 auto;
        padding: 10px;
        border-radius: 3px;
        border:1px solid #eee;
        box-shadow:0px 1px 0px 0px #ccc inset;
        width: 90%;
        height: 150px;
        font-family: 'Arial';
    }
    .pr h2{
        float: left;
        font-size: 13px;
    }
    .pr h2:after{
        display: block;
        content: '';
        clear: both;
    }
    .border3{
        margin-top: 10px;
    }
    .border3 h3{
        position:relative;
        left:67px;
    }
    .eventlist{
        width: 100%;
    }
    .reserve{
        width: 100%;
        background-color: #fff;
    }
    .reserve1{
        padding: 10px 40px 10px;
        border:1px solid #eee;
        margin-top: 10px;
        position: relative;
    }
    .reserve1.full:before{
        content: '';
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        background-color: rgba(184, 184, 184, .4);
        z-index: 2;
    }
    .reserve1.full:after{
        content: '満席';
        position: absolute;
        top: 49px;
        left: -1px;
        padding: 2px 1px;
        color: #fff;
        background-color: red;
        z-index: 3;
        font-size: 14px;
    }
    .reserve1 input{
        margin-top: 10px;
        float: left;
        position: relative;
        top: 60px;
        left: 10px;
    }
    .reserve h6{
        padding-left:1em;
        text-indent:0em;
        width: 280px;
        height: 50px;
        padding-top: 10px;
        font-size: 15px;
        position: relative;
        left: 17px;
    }
    .contact{
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }
    .guide{
        margin-top: 25px;
        font-size: 13px;
    }
    .date{
        width: 90%;
    }
    .reserve1 p{
        font-size: 12px;
        padding-top: 10px;
    }
    .reserve a{
        position: relative;
        left: 40px;
        font-size: 10px;
    }
    .hidden_box label {
        font-size: 13px;
        color: #55f;
        text-decoration: underline;
        font-weight: bold;
        cursor :pointer;
    }
    .detail{
        padding-top: 10px;
        margin-bottom:10px;
    }
    .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_show p{
        margin-left: 5px;
    }
    .googlemap{
        height: 200px;
        margin: 0 10px;
    }
    .googlemap iframe{
        width: 100%;
        height: 200px;
    }
    .noreserve{
        margin-top: 10px;
        border:1px solid #eee;
    }
    .forcheck input{
        display: none;
    }
    .forcheck input+label{
        position: relative;
        font-size: 13px;
        font-weight: bold;
    }
    .forcheck input+label::before{
        top: 45px;
        left: -32px;
    }
    .forcheck input:checked+label::after{
        top: 48px;
        left: -29px;
    }
    .noreserve p{
        font-size: 15px;
        position: relative;
        left: 20px;
    }
    .noreserve input{
        display: none;
    }
    .noreserve input+label{
        font-size: 13px;
        position: relative;
    }
    .noreserve2{
        font-size: 15px;
    }
    .noreserve input+label::before{
        content: '';
        display: block;
        position: absolute;
        left: -32px;
        width: 15px;
        height: 15px;
        border:1px solid #eee;
        border-radius: 50%;
    }
    .noreserve input:checked+label::after{
        content: '';
        display: block;
        position: absolute;
        left: -29px;
        width: 11px;
        height: 11px;
        background-color: #000;
        border-radius: 50%;
    }
    footer{
        width: 100%;
        padding: 20px 0;
        background-color: #fff;
    }
    .doui {
        display: none;
    }
    .douip{
        width: 80%;
    }
    .doui+label{
        display: inline-block;
        margin-top: 20px;
        padding-left: 20px;
        position: relative;
        font-size: 13px;
    }
    .doui+label::before{
        display: block;
        content: '';
        width: 15px;
        height: 15px;
        position: absolute;
        left: 8px;
        border:1px solid #eee;
        border-radius: 10%;
    }
    .doui:checked+label::after{
        display: block;
        content: '';
        width: 8px;
        height: 11px;
        position: absolute;
        left: 12px;
        transform: rotate(40deg);
        border-bottom: 1px solid #000;
        border-right:1px solid #000;
    }
    .botun{
        margin-top: 20px;
        font-size: 20px;
        color: #fff;
        width: 100%;
        height: 60px;
        background-color: #30d475;
        border-radius: 3px;
        border:1px solid #fff;
    }
    .botun:disabled{
        background-color: #aaa;
    }
    .last p{
        font-size: 13px;
        position: relative;
        left: 35px;
    }
    .rule {
        width: calc(100% - 20px);
        margin: 40px auto 0;
        padding: 10px;
        border:1px solid #eee;
        font-size: 12px;
    }
    .rule p{
       font-size: 13px;
    }
    .end{
        padding-top:20px;
        background-color: #fff;
        text-align: center;
        font-size: 18px;
        margin-bottom: 20px;
    }
    input [type=checkbox]{
        width: 30px;
        height: 30px;
    }
    .privasy{
        display: inline-block;
        margin-top: 10px;
    }
    .rule_scroll{
        height: 200px;
        overflow-y: scroll;
    }
}