@charset "utf-8";

@media screen and (max-width: 770px) {
    /* for mobile */
    body{
        width:100%; max-width: 100%;
        background-color: black;
        font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
        font-size: 12px;
        color:white;
        box-sizing : border-box;
        margin: 0;
        padding: 0;
    }
    .logo{
        background-image: url("./img/logo.png");
        background-repeat: no-repeat;
        background-size: contain;
        width:300px;
        height:81px;
        margin: 0 auto;
    }

    .main_pic {
        width: 300px;
        height: 200px;
        background-image: url("./img/back.jpg");
        background-repeat: no-repeat;
        background-size: contain;
        margin: 0 auto;
    }
    .layer_title {
        color:white;
        width:100%;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
        font-family: 'Assistant', sans-serif;
        font-size: 20px;
        font-weight: 600;
    }
    .gig_parent{
        padding: 15px;
        border-bottom: 0.5px solid gray;
    }
    .gig_contents {
        padding-bottom: 15px;
    }
    .gig_image img{
        width: 300px;
    }
    .show_dateplace {
        color:gold;
        font-weight: bold;
    }
    .show_dateplace span {
        margin-left: 15px;
        font-weight: bold;
    }
    .show_title {
        color:gold;
        margin-top: 5px;
        font-weight: bold;
    }
    .show_article {
        padding-top:10px;
        line-height: 2cap;
    }

    #zoomback {
        width:0px;
        height:0px;
    }
    #zoomimg {
        width:0%;
    }
}

@media screen and (min-width: 770px) {
    body{
        background-color: black;
        font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
        font-size: 12px;
    }
    .main_pic {
        width: 75%;
        aspect-ratio: 5 / 3;
        background-image: url("./img/back.jpg");
        background-repeat: no-repeat;
        background-size: contain;
    }
    .logo{
        background-image: url("./img/logo.png");
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 0;
        display: block;
        position: absolute;
        top:30px;
        left:30px;
        width:400px;
        height:100px;
    }
    .layer_gig {
        width: 700px;
        /*max-width: 600px;*/
        Height: calc(100% - 200px);
        z-index: 0;
        display: block;
        position: absolute;
        top: 140px;
        left: calc(100% - 750px);
        background-color: rgba(0,0,0,0.7);
    }
    .layer_title {
        color:white;
        width:100%;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
        font-family: 'Assistant', sans-serif;
        font-size: 20px;
        font-weight: 600;
    }
    
    .scrl_gig {
        width: 100%;
        height: calc(100% - 50px);
        color:aliceblue;
        overflow-y: scroll;
    }
    .scrl_gig::-webkit-scrollbar {
        width: 5px;
    }
    .scrl_gig::-webkit-scrollbar-thumb {
        background-color: silver;
        border-radius: 3px;
    }
    .gig_main {
        padding: 10px;
    }
    .gig_parent{
        display: flex;
        padding: 15px;
        border-bottom: 0.5px solid gray;
    }
    .gig_contents {
        width: calc(100% - 100px);
    }
    .gig_image {
        width: 150px;
    }
    .gig_image img{
        width: 150px;
        cursor: pointer;
    }
    .show_dateplace {
        color:gold;
    }
    .show_dateplace span {
        margin-left: 15px;
    }
    .show_title {
        color:gold;
        margin-top: 5px;
        font-weight: bold;
    }
    .show_article {
        padding-top:10px;
        height:auto;
        overflow-y:hidden;
        line-height: 2cap;
    }

    #zoomback {
        /* 絶対位置に配置 */
        position:absolute;
        top:0;
        
        /* 画面いっぱいに */
        width:100vw;
        height:100vh;
        
        /* 背景を少し透過 */
        background-color:rgba(0,0,0,0.8);
        
        /* 中のimgを中央揃え */
        display:flex;
        justify-content:center;
        align-items:center;

        display:none;
    }
    /* 拡大画像のサイズを調整 */
    #zoomimg {
        width:50%;
        border:solid 5px #fff;
    }
}
