@media screen and (min-width: 1622px) {
    body{
        padding-top: 70px;
    }

    #logo{
        width: 35em;
        display: block;
        margin: auto;
    }

    #menu-content{
        background-color: rgb(183, 226, 255);
        width: 100%;
        height: 60px;
        position: fixed;
        padding-top: 0px;
        top: 0;
        left: 0;
        z-index: 998;
        box-sizing: border-box;
    }

    #menu-content ul{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #menu-content li{
        list-style: none;
        font-weight: bold;
    }

    #menu-content a{
        display: block;
        text-decoration: none;
        color: black;
        margin-right: 30px;
    }

    #menu-content a:hover{
        color: #ff7a00;
    }

    #header-menu-check input[type="checkbox"]{
        display: none;
    }

    #company-name{
        position: fixed;
        left: 0;
        top: 0;
        z-index: 999;
        font-size: 30px;
        font-weight: bold;
        margin-top: 6px;
        margin-left: 20px;
    }

    li.del{
        display: none;
    }

    h1{
        text-align: center;
        font-size: 40px;
    }

    div.policy{
        margin-left: auto;
        margin-right: auto;
        width: 50%;
        margin-bottom: 200px;
    }

    #ssl_text{
        width: 80%;
        display: inline-block;
    }

    #ssl{
        background-color: azure;
        display: inline;
        width: 10px;
    }

    p.del{
        display: none;
    }

    #bottom{
        padding: 300px;
    }

    footer{
        background-color: rgb(185, 232, 250);
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
    }

    footer address{
        font-style: normal;
        font-weight: bold;
        margin-left: 25px;
        line-height: 25px;
        padding: 10px;
        width: 500px;
        left: 0;
        position: absolute;
    } 

    footer div.right{
        position: absolute;
        right: 0;
        top: 20;
        padding: 10px;
        margin-right: 25px;
        line-height: 25px;
    }
}

/* タブレット（481px〜1024px） */
@media screen and (min-width: 481px) and (max-width: 1621px) {
      body{
        margin: 0px;
        padding-top: 50px;
        overflow-x: hidden;
        font-family: "UD新ゴ";
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 180px;

        /* header 下固定用
        padding-bottom: 65px;
        */
    }

    header{
        margin: 0px;
        background-color: rgb(185, 232, 250);
        width: 100%;
        height: 60px;
        box-sizing: border-box;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
    }

    #menu-btn{
        position: fixed;
        top: 0px;
        right: 2px;
        display: flex;
        height: 55px;
        width: 70px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color:  rgb(185, 232, 250);
    }

    #menu-btn span,
    #menu-btn span:before,
    #menu-btn span:after{
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: blue;
        position: absolute;
    }

    #menu-btn span:before{
        bottom: 8px;
    }

    #menu-btn span:after{
        top: 8px;
    }

    #menu-check:checked ~ #menu-btn span {
        background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
    }
    #menu-check:checked ~ #menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    #menu-check:checked ~ #menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu-check {
        display: none;
    }
     
    #menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 70;
        background-color: rgb(185, 232, 250);
        transition: all 0.5s;/*アニメーション設定*/
    }

    #menu-content ul {
        padding: 70px 10px 0;
    }

    #menu-content ul li {
        border-bottom: solid 2px black;
        list-style: none;
        text-align: center;
    }

    #menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 20px;
        box-sizing: border-box;
        color: black;
        text-decoration: none;
        padding: 10px 50px 20px 0;
        position: relative;
        font-weight: bold;
    }

    #menu-check:checked ~ #menu-content {
        left: 0;/*メニューを画面内へ*/
    }
    
    header p{
        position: fixed;
        left: 0;
        top: 0;
        z-index: 999;
        margin-top: 10px;
        padding-left: 25px;
        font-size: 2em;
        font-weight: bold;
    }

    li.del{
        display: none;
    }

    p.del{
        display: none;
    }

    h1{
        position: fixed;
        padding-left: 18px;
        left: 0;
        top: 0;
        z-index: 100;
        margin-top: 6px;
        font-size: 30px;
    }

    h1 a{
        color: #000;
        text-decoration: none;
        margin-left: 25px;
    }

    h2{
        text-align: center;
        font-size: 40px;
    }

    div.policy{
        margin-left: auto;
        margin-right: auto;
        width: 85%;
    }

    #ssl_text{
        width: 80%;
        display: inline-block;
    }

    #ssl{
        display: inline;
        width: 10px;
    }

    #bottom{
        padding: 300px;
    }

    footer{
        background-color: rgb(185, 232, 250);
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 90px;
    }

    footer address{
        font-style: normal;
        font-weight: bold;
        margin-left: 3px;
        padding: 10px;
        left: 0;
        font-size: 16px;
        position: absolute;
    }

    footer div.right{
        position: absolute;
        right: 0;
        top: 15;
        padding: 10px;
        margin-right: 1px;
        line-height: 25px;
        font-size: 20px;
        font-weight: bold;
    }
}

@media screen and (max-width: 470px) {
    body{
        margin: 0px;
        padding-top: 80px;
        overflow-x: hidden;
        font-family: "UD新ゴ";
        margin-left: auto;
        margin-right: auto;

        /* header 下固定用
        padding-bottom: 65px;
        */
    }

    header{
        margin: 0px;
        background-color: rgb(185, 232, 250);
        width: 100%;
        height: 60px;
        box-sizing: border-box;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
    }

    #menu-btn{
        position: fixed;
        top: 0px;
        right: 2px;
        display: flex;
        height: 55px;
        width: 70px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color:  rgb(185, 232, 250);
    }

    #menu-btn span,
    #menu-btn span:before,
    #menu-btn span:after{
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: blue;
        position: absolute;
    }

    #menu-btn span:before{
        bottom: 8px;
    }

    #menu-btn span:after{
        top: 8px;
    }

    #menu-check:checked ~ #menu-btn span {
        background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
    }
    #menu-check:checked ~ #menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    #menu-check:checked ~ #menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu-check {
        display: none;
    }
     
    #menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 70;
        background-color: rgb(185, 232, 250);
        transition: all 0.5s;/*アニメーション設定*/
        overflow-y: auto; /* ←縦スクロールを許可 */
    }

    #menu-content ul {
        padding: 70px 10px 0;
    }

    #menu-content ul li {
        border-bottom: solid 2px black;
        list-style: none;
    }

    #menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 20px;
        box-sizing: border-box;
        color: black;
        text-decoration: none;
        padding: 10px 50px 20px 0;
        position: relative;
        font-weight: bold;
    }

    #menu-check:checked ~ #menu-content {
        left: 0;/*メニューを画面内へ*/
    }

    li.del{
        display: none;
    }

    .svg{
        display: block;
        padding-top: 70px;
        width: 90%;
        margin: auto;
    }

    h1{
        text-align: center;
    }

    p.del{
        display: none;
    }

    div.policy{
        margin-left: auto;
        margin-right: auto;
        width: 89%;
        font-size: 14px;
    }

    #ssl{
        width: 90%;
        margin: 0 auto;
        text-align: center;
    }

    footer{
        background-color: rgb(185, 232, 250);
        width: 100%;
        height: 60px;
    }

    footer address{
        font-style: normal;
        font-weight: bold;
        margin-left: 1px;
        padding: 10px;
        left: 0;
        font-size: 8px;
        position: absolute;
    }

    footer div.right{
        position: absolute;
        right: 0;
        top: 15;
        padding: 10px;
        margin-right: 1px;
        line-height: 25px;
        font-size: 8px;
    }
}