@charset "UTF-8";



/*------------------------------------------*/
/*--------------- LightBox ----------------*/

.gallery{
	margin:0 auto 4em;
  /*height: 70vh;
  overflow: hidden;*/}




.gallery__list {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
    height: 60vh;
    overflow: hidden;
  overflow-y: scroll;

  border: 1px solid #fff; /* 境界線を表示 */}
@media (max-width: 767.99px) {
.gallery__list {
  height: 60vh;
}}
@media (max-width: 375.99px) {
.gallery__list {
  height: 50vh;
}}


.gallery__list .caption {
margin:2em auto 2rem;
width:98%;
  font-size: 1.8rem!important;
  font-weight: bold!important;
  line-height: 1.4em;
  text-align:center;
  color:#00802b;}
@media (max-width: 767.99px) {
.gallery__list .caption {
  margin:1em auto 1rem;
  font-size: 94%!important;
}}
@media (max-width: 375.99px) {
.gallery__list .caption {
  font-size: 98%!important;
}}


/*-------スクロールバー */
.scroll_bar{
   background-color: #fff;
   overflow-y: scroll;
   width: 100%;
  height: 70vh;
   position:relative;}
@media (max-width: 767.99px) {
.scroll_bar{
  height: 60vh;

}}



.scroll_bar::-webkit-scrollbar{
   width: 14px;}

.scroll_bar::-webkit-scrollbar-track{
   background-color: #e4ebdd;
}
.scroll_bar::-webkit-scrollbar-thumb{
    background-color: #6FBA2C60;}
@media (max-width: 767.99px) {
.scroll_bar::-webkit-scrollbar-thumb{
    background-color: #025725;
}}








/*
.gallery__item {
  width: calc(95% / 4);
}
.gallery__item:not(:nth-child(-n+2)) {
}
.gallery__item img {
  width: 100%;
  height: auto;
}
.gallery__item a {
  transition: .5s;
}
.gallery__item a:hover {
  filter: opacity(0.7);
}
.gallery__item a:hover img {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}
*/


.image-box {
	padding: 1vh .5vw;
	    width: 100%;
	    margin: 0 auto 3em;
	    display: grid;
	    grid-template-columns: repeat(4, 1fr);
	    justify-items: center;
	    position: relative;
	    border-radius: 4px;
	    background-color: #fff;}
@media (max-width: 820.99px) {
.image-box {
    	grid-template-columns: repeat(3, 2fr);
    	justify-items: center;
}}
@media (max-width: 767px) {
.image-box {
    	margin: 0px 0px;
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
}}



.image-box a{
	padding: 0 .2vw 7vh;
	    display: flex;
	    flex-wrap: wrap;
	}


.thumbnail {
	width: calc(98% / 1);
	display:flex;
}

img.thumbnail {
object-fit: cover;
    width: calc(100% / 0);
    height: calc(86% / 1);
    margin: 0px;
}




/* Preload images */
body:after {
  content: url(../image/close.png) url(../image/loading.gif) url(../image/prev.png) url(../image/next.png);
  display: none;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
	margin-top: 10vh;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  background-color: white;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-container {
  padding: 4px;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

/*
.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../image/loading.gif) no-repeat;
}
*/


.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../image/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../image/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
margin:0 0 .2rem;
  font-size: 16px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-number {
margin: 0;
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}


.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../image/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}





