.gallery .mv_second {
	background: url(../img/gallery/mv.jpg) no-repeat scroll center 0;
	background-size: 100%;
	height: 200px;
}
.tab-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    max-width: 1000px;
}

.tab-2 > label {
    flex: 1 1;
    order: -1;
    opacity: .5;
    min-width: 70px;
    padding: .6em 1em;
    /*border-radius: 5px 5px 0 0;*/
    background-color: #8c8e90;
    color: #fff;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.tab-2 > label:hover {
    opacity: .8;
}

.tab-2 input {
    display: none;
}

.tab-2 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}

.tab-2 label:has(:checked) {
    opacity: 1;
	color: #121F85;
}

.tab-2 label:has(:checked) + div {
    display: block;
}	

.g_ul{
	display: flex;
	flex-wrap: wrap;
	row-gap:30px;
	justify-content: space-between;
	column-gap:5%;
}
.g_ul li{
	width: 20%;
}
.g_ul li img{
	max-width: 100%;
	
}
.sp{
	display: none;
}
@media (max-width: 600px){
	.tab-2 > label {
     flex:none;
	order: -1;
    opacity: .5;
     min-width: inherit; 
    
    /* border-radius: 5px 5px 0 0; */
   
    width: 40%;
    margin: 0 auto;
    margin-bottom: 20px;
	}
	.sp{
	display: block;
}
	.gallery .mv_second {
	background: url(../img/gallery/mv.jpg) no-repeat scroll center 0;
	background-size: auto 100%;
	height: 120px;
    }
	.lightbox{
	top: 50%!important;
	  left: 50%!important;
	  transform: translate(-50%, -50%)!important;
	}
	.g_ul li {
    width: 45%;
	}

}