@media (max-width: 1023px) {
    .titleBox{
        margin-bottom: 15px;
    }
    #header{
        margin: 0;
        padding: 0;
        position: fixed;
        top: 0;
        z-index: 9999;
        background: white;
        width: 100%;
        text-align: left;
        height: 100px;
    }

    #header .ttl .en {font-size:3rem;}
    #header .ttl .jp {font-size:2rem;}
    #header .ttl { text-align: center;}
    #contents{
        width: 100%;
    }
    h1 img{
        width: 50px;
        margin-top: 0;
    }
    h2 {
        width: 100%;
        position: fixed;
        top: 100px;
        z-index: 9999;
        background: white;
        font-size: 20px;
    }

    .buttons{
        margin-top: 40px;
    }
    .formInner{
        min-height: 0;
        padding:60px 0 10px;
    }
    #footer {
        padding: 0 0 5px 0;
    }
    .buttons {
        padding: 10px 0 30px 0;
    }
    .sub_ttl{
        font-size: 16px;
    }
    .btn1,.btn2{
        width: 30%;
        border: 1px #000 solid;
        height: 50px;
    }
    .link_mypage{
        font-size: 100%;
    }

    input[type=text].half{
        width: 90%;
        margin: 0 auto 0;
    }
    input[type=text].half2{
        width: 100%;
        margin: 0;
    }
    input[type=text].full{
        width: 100%;
        margin: 0 auto 0;
        box-sizing:border-box
    }
    .pc_only{
        display: none !important;
    }


    th,td{
        border-top: 1px #000 solid;
        border-right: 1px #000 solid;
    }
    tr:last-child th,tr:last-child td{
        border-right: 1px #000 solid;
    }
    th:last-child,td:last-child{

        border-bottom: 1px #000 solid;
    }
    th,td{
        display: block;
        height: 50px;
        width: 100%;
    }

    #header a{
        top:65px;
        font-size: 12px;
        left: 0;
        width: 60%;
        margin: 0 auto;
        padding: 3px;
    }
    #header a p{
        line-height: 2.2;
    }
    #header a.mypage{
        top:65px;
        font-size: 12px;
        width: 20%;
        left: auto;
        right: 0;
    }
    label{
        display: block;
    }

    .pc-only{
        display: none !important;
    }
    .sm_only{
        display: block !important;
    }
    .btn-mypage{
        width: 200px;
    }
}