@charset "utf-8";
/*-----------------------------
画像ポップアップウインドウ
-----------------------------*/
.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);
    max-width: 100%;
}
.lb::before,.lb::after {
    display: block;
    position: fixed;
    content: "";
    width: 24px;
    height:3px;
    top: 24px;
    right: 12px;
    background: #fff;
    border-radius: 4px;
    z-index: 1;
}
.lb::before {
    transform: rotate(-315deg);
}
.lb::after {
    transform: rotate(315deg);
}
@media screen and (max-width: 767px){
a.lb:hover {
    opacity: 0;
}
}

/*-----------------------------
NEW
-----------------------------*/
.dispFlex .newicon{
  position: relative;
}
.dispFlex .newicon .new{
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  padding: 10px 15px;
  z-index: 99;
  color: #fff;
  font-weight: bold;
}
@media screen and (max-width: 767px){
  .dispFlex .newicon .new {
    padding: 8px 10px;
  }
}
