/*! Lity - v2.4.1 - 2020-04-26
* http://sorgalla.com/lity/
* Copyright (c) 2015-2020 Jan Sorgalla; Licensed MIT */
.lity {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  white-space: nowrap;
  background: #0b0b0b;
  background: rgba(0, 0, 0, 0.9);
  background-color: hsl(0deg 0% 100% / 80%);
  background-image: radial-gradient(at 40% 20%, hsla(68, 100%, 74%, 1) 0px, transparent 50%), radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 1) 0px, transparent 50%), radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 1) 0px, transparent 50%), radial-gradient(at 80% 50%, hsla(340, 100%, 71%, 1) 0px, transparent 50%), radial-gradient(at 0% 100%, hsla(22, 100%, 77%, 1) 0px, transparent 50%), radial-gradient(at 80% 100%, hsla(157, 100%, 70%, 1) 0px, transparent 50%), radial-gradient(at 0% 0%, hsla(343, 100%, 76%, 1) 0px, transparent 50%);
  outline: none !important;
  opacity: 0;
  -webkit-transition: opacity .3s ease;
  -o-transition: opacity .3s ease;
  transition: opacity .3s ease
}

.lity.lity-opened {
  opacity: 1
}

.lity.lity-closed {
  opacity: 0
}

.lity * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-height: 100% !important;
  padding-bottom: 1.2rem;
}

.lity-wrap {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  outline: none !important;
  overflow-y:scroll;
  padding-top: 50px;
}
@media print, screen and (max-width:750px) {
  .lity-wrap {
    padding-bottom: 20px;
    overflow-y:scroll;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.lity-wrap:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em
}

.lity-loader {
  z-index: 9991;
  color: #fff;
  position: absolute;
  top: 50%;
  margin-top: -0.8em;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  -webkit-transition: opacity .3s ease;
  -o-transition: opacity .3s ease;
  transition: opacity .3s ease
}

.lity-loading .lity-loader {
  opacity: 1
}

.lity-container {
  z-index: 9992;
  position: relative;
  text-align: left;
  vertical-align: middle;
  display: inline-block;
  white-space: normal;
  max-width: 100%;
  max-height: 100%;
  width: min(57.29vw, 1100px);
  outline: none !important;
}
@media print, screen and (max-width:1024px) {
  .lity-container {
		width: 75%;
  }
}
@media print, screen and (max-width:750px) {
  .lity-container {
		width: 90%;
  }
}

.lity-content {
  z-index: 9993;
  width: 100%;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform .3s ease;
  transition: -webkit-transform .3s ease;
  -o-transition: -o-transform .3s ease;
  transition: transform .3s ease;
  transition: transform .3s ease, -webkit-transform .3s ease, -o-transform .3s ease;
  padding-top: min(2.08vw, 40px);
    padding-left: min(4.17vw, 80px);
    padding-right: min(4.17vw, 80px);
    padding-bottom: min(2.08vw, 40px);
}
@media print, screen and (max-width:750px) {
  .lity-content {
		padding: min(6.67vw, 50px);
  }
}

@media print, screen and (max-width:750px) {
  .lity-content > * {
    max-height: none !important;
    padding-bottom: 0;
    }
  .lity-image img {
    margin: 0 auto;　//追加
    max-width: 100%;
    display: block;
    line-height: 0;
    border: 0;
    }
}

.lity-loading .lity-content, .lity-closed .lity-content {
  -webkit-transform: scale(.8);
  -ms-transform: scale(.8);
  -o-transform: scale(.8);
  transform: scale(.8)
}

.lity-content:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 15%);
  box-shadow: 0 0 10px rgb(0 0 0 / 15%);
  background: white;
  border-radius: 10px;
  margin-bottom: 50px;
}
@media print, screen and (max-width:750px) {
  .lity-content:after {
		margin-bottom: 20px;
  }
}

.lity-close {
  z-index: 9994;
    position: fixed;
    -webkit-appearance: none;
    text-decoration: none;
    text-align: center;
    padding: 0;
    font-style: normal;
    font-size: 50px;
    font-family: Arial, Baskerville, monospace;
    border: 0;
    background: none;
    outline: none;
    right: 20px;
    top: 20px;
    color: #fff;
    cursor: pointer;
    opacity: 1;
    width: 50px;
    height: 50px;
    border-radius: 4px;
}
@media print, screen and (max-width:750px) {
  .lity-close {
    right: 0;
    top: 0;
  }
}

.lity-close::-moz-focus-inner {
  border: 0;
  padding: 0
}

.lity-close:hover, .lity-close:focus, .lity-close:active, .lity-close:visited {
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #fff;
  font-style: normal;
  font-size: 50px;
  font-family: Arial, Baskerville, monospace;
  border: 0;
  background: none;
  outline: none;
  opacity: .3;
  transition: all 0.3s ease 0s;
}

.lity-close:active {
  top: 1px
}

.lity-image img {
  max-width: 100%;
  display: block;
  line-height: 0;
  border: 0
}

.lity-iframe .lity-container, .lity-youtube .lity-container, .lity-vimeo .lity-container, .lity-facebookvideo .lity-container, .lity-googlemaps .lity-container {
  width: 100%;
  max-width: 964px
}

.lity-iframe-container {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: auto;
  pointer-events: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-overflow-scrolling: touch
}

.lity-iframe-container iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000
}

.lity-hide {
  display: none
}
