@charset "utf-8";

.sp{
display:none;
}

/*-----------------------------
画像ポップアップウインドウ
-----------------------------*/
.lb {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.7);
    opacity: 0;
    transition: .3s opacity ease;
    pointer-events: none;
    z-index: 100;
}
.lb img {
    width: auto !important;
    max-height: 100%!important;
    cursor: pointer;
}
.lb img,.lb iframe {
    transform: scale(.85);
    transition: .3s all ease;
}
.lb:target {
    opacity: 1;
    pointer-events: auto;
    z-index: 999;
}
.lb:target img,.lb:target iframe {
    transform: scale(1);
}
.lb::before,.lb::after {
    display: block;
    position: fixed;
    content: "";
    width: 24px;
    height:3px;
    top: 24px;
    right: 12px;
    background: #fff;
    border-radius: 4px;
}
.lb::before {
    transform: rotate(-315deg);
}
.lb::after {
    transform: rotate(315deg);
}
@media screen and (max-width: 767px){
a.lb:hover {
    opacity: 0;
}

.sp{
display:block;
}

}

/*-----------------------------
img-group
-----------------------------*/
.img-group .img-container{
  margin: 0 -30px;
  display: flex;
  flex-wrap: wrap;
}
.img-group .img-container .img-item{
  margin-bottom: 20px;
  padding: 0 30px;
  width: 44%;
}
.img-group .img-container .img-item img{
  max-width: 100%;
}

@media only screen and (max-width: 767px) {
  .img-group .img-container{
    margin: 0;
  }
  .img-group .img-container .img-item{
    width: 100%;
    text-align: center;
    padding: 0;
  }
}