@charset "utf-8";
@media screen and (min-width:480px) {
    /*　画面サイズが480pxからはここを読み込む　*/
    html,body{
        padding:0;
        margin:0;
        height:100%;
        color: #464646 !important;
    }
    
    body{
        position: relative;
        height: 100%;
        background-image: url(../img/kv_pc.png);
        background-repeat:no-repeat;
        background-size: cover;
        background-position: center;
    }
    section {
        width: 750px;
        background-color: rgba( 255, 255, 255, 0.8 );
        height: 100%;
        margin: 0 auto;
        padding-top: 100px;
        overflow: scroll;
    }

    .icon {
        background-image: url(../img/icon.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 200px;
        height: 200px;
        border-radius: 100px;
        margin: 0 auto;
    }

    .contents_box {
        background-color: rgba( 255, 255, 255, 0.9 );
        margin: 40px 20px;
        padding: 20px 0 20px 0;
        width: auto;
        border-radius: 10px;
    }

    h2{
        text-align: center;padding: 20px 0;
    }

    .link_btn {
        display: inline-block;
        width: 250px;
        height: 60px;
        line-height: 60px;
        background-color: black;
        border-radius: 10px;
        color: #fff;
        text-align: center;
        margin: 10px 0;
    }

    ul {
        width: 80%;
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
        margin: 0 auto;
    }
    
}

@media screen and (max-width:479px) {
    /*　画面サイズまでは480pxまではここを読み込む　*/
    html,body{
        padding:0;
        margin:0;
        height:100%;
        color: #464646 !important;
    }

    body{
        position: relative;
        height: 100%;
        background-image: url(../img/kv_sp.png);
        background-repeat:no-repeat;
        background-size: cover;
        background-position: center;
    }
    
    section {
        width: 100%;
        background-color: rgba( 255, 255, 255, 0.7 );
        height: 100%;
        margin: 0 auto;
        padding-top: 100px;
        overflow: scroll;
    }

    .icon {
        background-image: url(../img/icon.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 200px;
        height: 200px;
        border-radius: 100px;
        margin: 0 auto;
    }

    .contents_box {
        background-color: rgba( 255, 255, 255, 0.9 );
        margin: 40px 20px;
        padding: 20px 0 20px 0;
        width: auto;
        border-radius: 10px;
    }

    .contents_box img {
        width: 100% !important;
    }

    h2{
        text-align: center;padding: 20px 0;
    }

    .link_btn {
        display: inline-block;
        width: 100%;
        height: auto;
        line-height: 60px;
        background-color: black;
        border-radius: 10px;
        color: #fff;
        text-align: center;
        margin: 10px 0;
    }

    ul {
        width: 80%;
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
        margin: 0 auto;
    }

    
}
