@media screen and (min-width: 669px) {
    div#mainimg {
        width: 100%;
        max-height: inherit;
        overflow: hidden;
        margin: 0 0 0;
        position: relative;
    }
    div#mainimg img {
        width: 100%;
        height: auto;
    }
    div#mainimg_wrap {
        position: relative;
        overflow: hidden;
        padding-top: 90px;
    }
    div#mainimg_wrap img#opening_img {
        position: absolute;
        top: 52%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 22%;
        max-width: 342px;
    }
    }
    
    div#mainimg a.mainimg_logo_insta_link {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1;
    }

    div#mainimg a.mainimg_logo_twitter_link {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 80px;
        right: 20px;
        z-index: 1;
    }
        
    div#mainimg a.mainimg_logo_insta_link img.mainimg_logo_insta,
    div#mainimg a.mainimg_logo_twitter_link img.mainimg_logo_twitter {
        width: 50px;
        height: auto;
    }
    
    #top .mainimg_area {
        display: flex;
        flex-direction: column;
    }
    
    #top .swiper_link_none {
        pointer-events: none;
    }
    
    #top .swiper-slide {
        outline:none;
    }
    
    #top .swiper-pagination,
    #top .swiper-button-prev,
    #top .swiper-button-next,
    #top .swiper-pagination:focus,
    #top .swiper-button-prev:focus,
    #top .swiper-button-next:focus,
    #top .swiper-pagination .swiper-pagination-bullet {
        outline:none;
    }
    #top .swiper-pagination .swiper-pagination-bullet {
    -webkit-tap-highlight-color:rgba(0,0,0,0);
      cursor:pointer;
    }
    div#mainimg a:hover {
        opacity: 1;
    }

    div#mainimg .swiper-pagination {
        bottom: 25px;
    }

    div#mainimg .swiper-container {
        padding-bottom: 50px;
    }
    
    
    @media screen and (max-width: 668px) {
        
    #top .mainimg_area {
        flex-direction:column-reverse;
    }
        #top .mainimg_block {
            margin-top: 95px;
            position: relative;
        }
    #mainimg_wrap {
        display: flex;
        flex-direction: column-reverse;
    }
    div#mainimg a:hover {
        opacity: 1;
    }
    div#mainimg .swiper-pagination {
        bottom: 25px;
    }
    }
    