h1,h2,h3,h4,h5,h6,p,label{
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: 5px;
    font-family: 'Thin italic';
}
input[type="file"]{
    display: none;
}
input, select, textarea{
  margin: 0;
  font: inherit;
  font-size: 13px;
}
.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:#fff;
    }
    body{
        margin: 0;
    }
    header{
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 10px 0;
        display: -webkit-flex;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    header img{
        max-width: 440px;
        max-height: 100px;
    }
    header p{
        max-width: 480px;
        margin-left: 30px;
        font-size: 25px;
        color: #395bff;
        font-weight: bold;
    }
    input[type=text]{
        text-indent: 1em;
        width: 280px;
        height: 25px;
        border-radius: 3px;
        border:1px solid #eee;
    }
    #main-infomation{
        margin: 40px auto 0;
        width: 950px;
    }
    #main-infomation .h1{
        height: 30px;
        background-color: #395bff;
        color: #fff;
    }
    #main-infomation h1{
        font-size: 15px;
        font-weight: bold;
        padding-top: 5px;
        padding-left: 25px;
    }
    .error_message{
        margin-bottom: 40px;
        font-size: 16px;
        text-align: center;
    }
    .border{
        margin-top: 40px;
        border:1px solid #eee;
        height: 284px;
    }
    .float{
        display: -webkit-flex;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #eee;
        min-width: 160px;
        max-width: 160px;
        padding: 20px 10px 20px 20px;
    }
    .float h2{
        font-size: 13px;
        margin-right: 20px;
    }
    .float h3{
        font-size: 13px;
        width: 35px;
        min-width: 35px;
        max-width: 35px;
        height: 20px;
        color: #fff;
        text-align: center;
    }
    .float h3.required{
        background-color: #ef8f8f;
    }
    .float h3.optional{
        background-color: #83c4f8;
    }
    .ef_item{
        display: -webkit-flex;
        display: flex;
        width: 100%;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }
    .ef_item:first-of-type{
        border-top: 1px solid #ddd;
    }
    .float1,
    .float2{
        display: -webkit-flex;
        display: flex;
        align-items: center;
    }
    .float1 input{
        margin-left: 20px;
        margin-top: 3px;
    }
    .float1 label{
        font-size: 12px;
    }
    .label{
        float: left;
    }
    .float2 label{
        margin-left: 30px;
        font-size: 12px;
    }
    .float2 input{
        margin-left: 20px;
    }
    .form2 {
        padding: 20px;
        position: relative;
    }
    .tweak{
        position: relative;
        bottom: 5px;
    }
    select{
        margin-left:20px;
        height:30px;
        border: 1px solid #eee;
    }
    .birth-day select {
        width: 90px;
        margin-right: 3px;
    }
    .input input{
        display: none;
    }
    .input input+label{
        padding-left: 30px;
        font-size: 15px;
        position: relative;

    }
    .input input+label::before{
        content: "";
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 15px;
        height: 15px;
        border:1px solid #eee;
        border-radius: 50%;
    }
    .input input[type="radio"]:checked+label::after{
        content: "";
        display: block;
        width: 11px;
        height: 11px;
        position: absolute;
        left: 3px;
        bottom: 1px;
        background-color: #000;
        border-radius: 50%;
    }
    .input{
        display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding-left: 20px;
    }
    .male{
        float: left;
        margin: 30px 0 0 30px;
    }
    .female{
        position: relative;
        left: 70px;
        top: 30px;
    }

    .school{
        margin-top: 40px;
    }
    .border1{
        border:1px solid #eee;
        margin-top: 40px;
        height: 425px;
    }
    .p{
        position: relative;
        top: 15px;
        left: 15px;
    }
    .name{
        display: -webkit-flex;
        display: flex;
    }
    .contact{
        margin-top: 40px;
    }
    #address1,
    #address2{
        display: -webkit-flex;
        display: flex;
        align-items: center;
        width: 100%;
    }
    .mail2{
        border-right: 1px solid #eee;
    }
    .mail2 h3{
        background-color: #83c4f8;
    }

    .address label{
        min-width: 100px;
    }
    #address1 label{
        font-size: 13px;
    }
    #address1 p{
        font-size: 13px;
        position: relative;
        left: 40px;
        padding-top: 25px;
    }
    #address2 label{
        font-size: 13px;
    }
    .address .small{
        width: 80px;
    }
    .same_address{
        margin-bottom: 20px;
    }
    input[type="checkbox"]{
        width: 0;
        margin: 0;
        display: inline;
    }
    input[type="checkbox"]+label{
        padding-left: 25px;
        position: relative;
        z-index: 10;
        font-size: 13px;
    }
    input[type="checkbox"]+label::before{
        content: "";
        display: block;
        width: 15px;
        height:15px;
        position: absolute;
        top: 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;
    }
    .border2{
        margin-top: 40px;
        border:1px solid #eee;
    }
    .address.form2{
        flex-wrap: wrap;
    }
    #address2{
        margin-top: 20px;
    }
    #current_prefecture,
    #home_prefecture{
        width: 120px;
    }
    #current_address,
    #home_address{
        width: 400px;
    }
    textarea{
        width: 700px;
        height: 160px;
        border:1px solid #eee;
        border-radius: 2px;
    }
    .prinput{
        position: relative;
        bottom: 100px;
        left: 200px;
    }
    .border3{
        height: 200px;
        border:1px solid #eee;
    }
    .reserve{
        margin-top: 40px;
        padding-bottom: 50px;
        border-bottom: 1px solid #eee;
    }
    .reserve p{
        font-size: 13px;
    }
    .reserve .guide{
        margin-top: 10px;
    }
    .eventlist .float{
        background-color: #fff;
    }
    .title{
        cursor: pointer;
    }
    .title input{
        display: none;
    }
    .title input+label{
        padding-left: 20px;
        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: 1px solid #fff;
        background-color: #fff;
        border-radius: 50%;
    }
    .title input:checked+label::after{
       content: "";
       display: block;
       position: absolute;
       top: 8px;
       left: 9px;
       width: 11px;
       height: 11px;
       background: #000;
       border-radius: 50%;
    }
    .reserve1.selected {
        border-color: #1bbae1;
    }
    .reserve1.selected > .title {
        background-color: #1bbae1;
    }
    .reserve1{
        position: relative;
        margin-top: 10px;
        width: 700px;
        border:1px solid #eee;
    }
    .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: 10px;
        left: -1px;
        padding: 2px 6px;
        color: #fff;
        background-color: red;
        z-index: 3;
        font-size: 14px;
    }
    .title{
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: #eee;
    }
    .title input{
        position: relative;
        top: 5px;
    }
    .title h6{
        padding-left: 40px;
        padding-top: 5px;
        font-size: 13px;
    }
    .date{
        margin-top: 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{
        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: 10px;
    }
    .googlemap{
        width: 680px;
        height: 300px;
        margin-left: 10px;
        margin-bottom: 10px;
    }
    .googlemap iframe{
        width: 680px;
        height: 300px;
    }
    .noreserve{
        width: 700px;
        background-color: #eee;
    }
    .noreserve p{
        padding-left: 40px;
    }
    .noreserve input{
        margin-top: 5px;
    }
    footer{
        width: 75%;
        margin-left: 150px;
    }
    .last input{
        float: left;
    }
    .last{
        width: 100%;
        margin-top: 50px;
    }
    .personal{
        display: none;
    }
    .personal+label{
        padding-left: 20px;
        position: relative;
    }
    .personal+label::before{
        display: block;
        content: '';
        width: 15px;
        height: 15px;
        position: absolute;
        top: 0;
        left: 5px;
        border:1px solid #eee;
        border-radius: 10%;
    }
    .personal:checked+label::after{
        display: block;
        content: '';
        width: 8px;
        height: 11px;
        position: absolute;
        top: 0;
        left: 10px;
        transform: rotate(40deg);
        border-bottom: 1px solid #000;
        border-right:1px solid #000;
    }
    .rule{
        font-size:13px;
        margin-bottom: 20px;
        padding: 20px;
        border:1px solid #eee;
    }
    .rule p{
        font-size: 13px;
    }
    .botun{
        display: block;
        margin-top: 20px;
        font-size: 20px;
        color: #fff;
        width: 320px;
        height: 60px;
        background-color: #30d457;
        border-radius: 3px;
        border:1px solid #fff;
        cursor: pointer;
    }
    .botun:disabled {
        background-color: #aaa;
    }
    .privasy{
        display: inline-block;
        margin-top: 10px;
    }
    footer{
        margin-top: 10px;
        margin-bottom: 20px;
    }
    footer p{
        font-size: 10px;
        text-align: center;
    }
    .rule_scroll{
        height: 200px;
        overflow-y: scroll;
    }
}

@media screen and (max-width: 768px){

    html{
        background-color: #fff;
        width:100%;
    }
    body{
        margin: 0;
    }
    header{
        width: 100%;
        background-color: #fff;
        border-bottom: 1px solid #eee;
        text-align: center;
    }
    header img{
        max-width: 440px;
        max-height: 100px;
        margin-top: 10px;
    }
    header p{
        margin-top: 10px;
        font-size: 13px;
        font-weight: bold;
        color: #395bff;
    }
    #main-infomation{
        width: 100%;
        background-color: #fff;
    }
    input[type=text]{
        text-indent: 1em;
        width: 250px;
        height: 30px;
        border-radius: 3px;
        box-shadow: 0.2px 0.1px 1px inset;
        border:1px solid #eee;
    }
    #main-infomation h1{
        padding-left: 10px;
        font-weight: bold;
        color:#fff;
        font-size:17px;
    }
    .h1{
        padding: 10px;
        background-color: #395bff;
    }
    .error_message{
        padding: 20px 0;
        font-size: 16px;
        text-align: center;
    }
    .border{
        height: 450px;
    }
    .ef_item{
    }
    .float{
        display: -webkit-flex;
        display: flex;
        align-items: center;
        padding: 10px;
        background-color: #eee;
    }
    .float h2{
        margin-right: 10px;
        font-size: 13px;
    }
    .float h3{
        text-align: center;
        height: 20px;
        font-size: 13px;
        width: 40px;
        min-width: 40px;
        max-width: 40px;
        color: #fff;
        border-radius: 1px;
    }
    .float h3.required{
        background-color: #ef8f8f;
    }
    .float h3.optional{
        background-color: #83c4f8;
    }
    .float1,
    .float2{
        display: -webkit-flex;
        display: flex;
        align-items: center;
    }
    .float1 label,
    .float2 label{
        margin-right: 10px;
        font-size: 13px;
    }
    .float2{
        margin-top:20px;
    }
    .form2{
        padding: 20px 10px;
        position: relative;
    }
    .name{
    }
    .birth-day{
    }
    .birth-day select{
        width: 75px;
        margin-left: 0px;
        margin-right: 3px;
    }
    .birth-day select:first-child {
      margin-left: 0;
    }
    select{
        height: 30px;
    }
    .input input{
        display: none;
    }
    .input input+label{
        padding-left: 25px;
        font-size: 15px;
        position: relative;
    }
    .input input+label::before{
        content: "";
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 15px;
        height: 15px;
        border:1px solid #eee;
        border-radius: 50%;
    }
    .input input[type="radio"]:checked+label::after{
        content: "";
        display: block;
        width: 11px;
        height: 11px;
        position: absolute;
        left: 3px;
        bottom: 4px;
        background-color: #000;
        border-radius: 50%;
    }
    .input{
        display: flex;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-left: 10px;
    }
    .female{
        margin-left: 90px;
    }
    .school{
        width: 100%;
    }
    .school input{
        margin-left: 10px;
        margin-top: 20px;
    }
    .contact{
        width: 100%;
        padding:20px 0 0 0px;
    }
    .contact input{
        margin-left: 10px;
        margin-top: 20px;
    }
    .mail{
        margin-top: 30px;
    }
    .mail h3{
        margin-left: -44px;
    }
    .mail2 h3{
        margin-left: -51px;
        background-color: #83c4f8;
    }
    .mail2 .tweak2{
        position:relative;
        left:27px;
    }
    #address1 h3{
        margin-top: 5px;
        position: relative;
        left: 78px;
    }
    .hifun{
        position:relative;
        bottom:5px;
        font-size:13px;
    }
    #address1,
    #address2{
        display: -webkit-flex;
        display: flex;
        align-items: center;
    }
    .address label{
        display: inline-block;
        min-width: 70px;
        font-size: 13px;
    }
    #address1 .small{
        width: 70px;
    }
    #current_prefecture,
    #home_prefecture{
        width: 120px;
    }
    #current_address,
    #home_address{
        width: 100%;
    }
    #address2{
        margin-top: 20px;
    }
    .check input{
        z-index: 10;
        float: left;
        position: relative;
        bottom: 6px;
        right: 10px;
    }
    .check:after{
        display: block;
        content: '';
        clear: both;
    }
    .address p{
        font-size: 13px;
    }
    .same_address{
        margin-bottom: 20px;
    }
    input[type="checkbox"]{
        display:block;
        width: 0;
        height: 30px;
    }
    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: 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;
    }
    .mail2 h3{
        margin-left:10px;
    }
    .mail2 .twitterh3{
        position:relative;
        left: 105px;
    }
    .mail2 .lineid{
        position: relative;
        left: 98px;
    }
    textarea{
        height: 160px;
        width: 95%;
        border-radius: 3px;
        box-shadow: 0.2px 0.1px 1px inset;
        border:1px solid #eee;
    }
    .border3 .float{
        height:50px;
    }
    .border3 h3{
        position: relative;
        left: 40px;
    }
    .reserve{
        padding-bottom: 50px;
        border-bottom: 1px solid #eee;
    }
    .reserve p{
        font-size: 13px;
    }
    .reserve .guide{
        margin: 20px 10px 0;
    }
    .reserve1.selected {
        border-color: #1bbae1;
    }
    .reserve1.selected > .title {
        background-color: #1bbae1;
    }
    .eventlist .float{
        background-color: #fff;
    }
    .title input{
        display: none;
    }
    .title input+label{
        padding-left: 20px;
        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: 1px solid #fff;
        background-color: #fff;
        border-radius: 50%;
    }
    .title input:checked+label::after{
       content: "";
       display: block;
       position: absolute;
       top: 8px;
       left: 9px;
       width: 11px;
       height: 11px;
       background: #000;
       border-radius: 50%;
    }
    .reserve1{
        position: relative;
        margin: 10px 10px 0;
        border:1px solid #eee;
    }
    .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: 10px;
        left: 0;
        padding: 2px 6px;
        color: #fff;
        background-color: red;
        z-index: 3;
        font-size: 14px;
    }
    .reserve1 .title{
        cursor: pointer;
    }
    .title{
        background-color: #eee;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .title input{
        position: relative;
        top: 5px;
    }
    .title h6{
        padding-left: 40px;
        padding-top: 5px;
        font-size: 13px;
    }

    .hidden_box label {
        font-size: 13px;
        cursor :pointer;
    }
    .hidden_box input:checked+div::after{
        font-size: 14px;
        text-align: center;
        padding-top: 10px;
        content: "とじる　▲";
        font-size: 13px;
        display:block;
        width: 85%;
        height: 30px;
        background-color: #eee;
        position: relative;
        left: 25px;
        bottom: 34px;
        pointer-events: none;
    }
    .detail label{
        font-size: 13px;
        color: #55f;
        text-decoration: underline;
        font-weight: bold;
    }
    .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: 30px;
    }
    .googlemap{
        width: 85%;
        margin: 0 auto;
    }
    .googlemap iframe{
        width: 100%;
    }
    .noreserve{
        margin-top: 10px;
        background-color: #eee;
    }
    .noreserve p{
        padding-left: 40px;
    }
    .noreserve input{
        margin-top: 5px;
    }
    .privasy{
        display: inline-block;
        margin-top: 10px;
    }
    footer{
        padding-top: 30px;
        padding-bottom: 30px;
        width: 100%;
        background-color: #fff;
        border-bottom: 1px solid #eee;
    }
    footer p{
        text-align: center;
        font-size: 10px;
    }
    .last p {
        font-size: 13px;
    }
    .last{
        width: 95%;
        margin: 30px auto 0;
    }

    .personal{
        display: none;
    }
    .personal+label{
        padding-left: 20px;
        position: relative;
    }
    .personal+label::before{
        display: block;
        content: '';
        width: 15px;
        height: 15px;
        position: absolute;
        top: 0;
        left: 5px;
        border:1px solid #eee;
        border-radius: 10%;
    }
    .personal:checked+label::after{
        display: block;
        content: '';
        width: 8px;
        height: 11px;
        position: absolute;
        top: 0;
        left: 10px;
        transform: rotate(40deg);
        border-bottom: 1px solid #000;
        border-right:1px solid #000;
    }
    .rule{
        margin-bottom: 10px;
        border:1px solid #eee;
        padding: 20px;
        font-size: 13px;
    }
    .rule p{
        font-size: 13px;
    }
    .botun{
        margin: 20px 2.5% 0;
        font-size: 20px;
        color: #fff;
        width: 95%;
        height: 60px;
        background-color: #30d457;
        border-radius: 3px;
        border:1px solid #fff;
    }
    .botun:disabled {
        background-color: #aaa;
    }

    .end{
        margin-top: 10px;
        margin-bottom: 20px;
        text-align: center;
    }
    .rule_scroll{
        height: 200px;
        overflow-y: scroll;
    }
}
