@charset "UTF-8";
* {
  box-sizing: border-box;
}

/* lightbox */

.lightbox-target {
  position: fixed;
  top: -100vh;
  width: 100vw;
  background: rgba(255, 255, 255, 0.5);
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  overflow: hidden;
  z-index: 300;

}

.lightbox-target .container {
  margin: auto;
  padding: 8px;
  position: absolute;
  top: 50vh;
  left: 50vw;
  background-color: white;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  transition: 0.5s ease-in-out;
  text-align: left;
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  transform: translate3d(-50%, -50%, 0);
}

.lightbox-target .container p {
  padding: 8px 0 16px 12px;
  letter-spacing: 0.05em;
}

.container_img {
  height: 100vh;
}

.photographer {
  color: #000000;
  font-size: 16px;
  display: inline-block;
}

a.lightbox-close {
  display: block;
  width: 100vw;
  height:100vh;
  opacity: 0;
  background: white;
  color: black;
  text-decoration: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 0;
}

.lightbox-target:target {
  opacity: 1;
  top: 0;
  bottom: 0;
  left: 0;
}

.lightbox-target:target img {
  max-height: 720px;
  max-width: 95vw;
  display: block;
  vertical-align: top;
}

@media screen and (max-width: 460px){

  .photographer {
    font-size: 12px;
  }
}
