body {
  font-family: "EB Garamond", "Shippori Mincho", serif;
  font-size: 16px;
}

h1 {
  font-size: 30px;
  font-weight: bold;
}

h2 {
  font-size: 24px;
  font-weight: bold;
}

h3 {
  font-size: 20px;
  font-weight: bold;
}

a:hover {
  opacity: 0.5s;
}

.container {
  max-width: 1140px;
  padding: 0 20px;
  margin-inline: auto;
}

header {
  position: relative;
}

.kv {
  background-image: url(../img/kv.jpg);
  /* aspect-ratio: 1270/675; */
  width: 100%;
  height: 50vw;
  background-repeat: no-repeat;
  background-size: cover;
  /* background-position: right; */
  position: relative;
}

.Gallery {
  display: flex;
  position: relative;
  /* margin-bottom: 100px; */
}

main h1 {
  font-weight: 500;
  position: absolute;
  bottom: 0;
  background-color: white;
  /* padding:120px 50px; */
  width: 25%;
  height: 50%;
  text-align: center;
  align-items: center;
  margin-inline: auto;
  display: grid;
  z-index: 100;
}


.bar {
  width: 10%;
  background-color: white;
  height: 100%;
  position: absolute;
  z-index: 80;
}

.About {
  margin-inline: auto;
  /* padding: 0 50px; */
  justify-content: center;
  max-width: 1140px;
}

.About>div {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  padding: 0 20px;
  /* opacity: 0; */
  /* transform: translateY(300px); */
  /* transition: .5s; */
  padding-top: 100px;
  transform: translateY(300px);
  opacity: 0;
}

.About>div.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: .5s;
}

.About h2 {
  text-align: center;
  padding-bottom: 50px;
  font-weight: bold;
}

.About p {
  margin-inline: auto;
  padding: 0 30px;
  font-weight: bold;
  font-weight: lighter;
  line-height: 30px;
  font-size: 17px;
}

.About img {
  /* aspect-ratio: 550/357; */
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: cover;
}

.About-ttl {
  align-items: center;
  width: 100%;

}

.About-ttl h3{
  text-align: center;
  margin-bottom: 30px;
}

.About-img {
  width: 100%;
  /* transform: translateY(300px);
  opacity: 0; */
}

header span {
  border-bottom: solid 2px black;
  width: 33px;
  position: fixed;
  z-index: 600;
  /* margin: 20px; */
  /* font-weight: bold; */
  left: 40px;
  /* cursor: pointer; */
}

header span:first-child {
  top: 25px;
  /* position: absolute; */
}

header span:nth-child(2) {
  top: 37px;
  /* position: absolute; */

}

header span:last-child {
  top: 49px;
  /* position: absolute; */

}



.CampGallery {
  padding: 100px 0;
  background-color: #F4F1F1;
  position: relative;
}

.CampGallery h2 {
  text-align: center;
  margin-bottom: 30px;
}
.CampGallery h3{
  font-weight: 100;
  font-size: 17px;
  text-align: center;
  margin-bottom: 40px;
  line-height: 50px;
}


.GalleryItem {
  /* opacity: 0; */
  transform: translateY(150px);
  transition: .5s;
  cursor: pointer;
}

.GalleryItem.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.GalleryItem p {
  font-size: 24px;
}

/* .About-ttl.fade-in,
.About-img.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: .5s;
} */

.CampGallery>div {
  display: flex;
  /* width: 1140px; */
  /* justify-content: space-between; */
  flex-wrap: wrap;
  gap: 0 20px;
  margin-inline: auto;
  /* list-style: none; */

}

.CampGallery .GalleryItem {
  /* padding: auto; */
  width: 32%;
  /* aspect-ratio: 16/10; */
  position: relative;
  cursor: pointer;
  margin-bottom: 40px;
}

.GalleryItem.fade-in:nth-child(1) {
  animation-delay: 0s;
}

.GalleryItem.fade-in:nth-child(2) {
  animation-delay: .8s;
}

.GalleryItem.fade-in:nth-child(3) {
  animation-delay: 1.6s;
}

.GalleryItem.fade-in:nth-child(4) {
  animation-delay: 2.4s;
}

.GalleryItem.fade-in:nth-child(5) {
  animation-delay: 3.2s;
}

.GalleryItem.fade-in:nth-child(6) {
  animation-delay: 4s;
}


.item-ttl {
  text-align: center;
  margin-top: 20px;
}

.item-ttl:not(:last-child) {
  margin-bottom: 60px;
}

.GalleryItem:nth-child(2) {
  top: 30px;
  position: relative;
}

.GalleryItem:nth-child(3) {
  top: 60px;
  position: relative;
}

.GalleryItem:nth-child(5) {
  top: 30px;
  position: relative;
}

.GalleryItem:nth-child(6) {
  top: 60px;
  position: relative;

}

.GalleryItem img {
  box-shadow: 0px 6px 6px 0 rgba(0, 0, 0, .6);
  cursor: pointer;
  transition: .5s;
  width: 100%;
}

.GalleryItem :hover {
  /* opacity: 0; */
  box-shadow: none;
}

.Blog {
  padding-top: 100px;
  padding-bottom: 100px;
  margin-inline: auto;
}

.Blog h2 {
  margin-inline: auto;
  text-align: center;
  margin-bottom: 20px;
}

.Blog p {
  font-size: 20px;
}

.swiper-slide:hover {
  opacity: .5;
  transition: .5s;
}

.swiper-slide {
  cursor: pointer;

}

.mySwiper {
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
}

.swiper-slide p {
  text-align: center;
  padding: 20px 0px;
}

.swiper-button-prev::after {
  background-image: url(../img/prev.svg);
}

.swiper-button-next::after {
  background-image: url(../img/next.svg)
}

.btn-wrapper {
  display: flex;
  gap: 0 20px;
  justify-content: flex-end;

}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: '';
  width: 50px;
  height: 50px;
  background-size: 100% 100%;
  margin-top: 20px;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  width: auto;
  height: auto;

}

.Blog img {
  opacity: .5s;
}

footer {
  padding: 40px 0;
  border-top: solid 1px black;
}

footer h3 {
  text-align: center;
}

footer ul {
  display: flex;
  gap: 0 40px;
  margin-inline: auto;
  width: 100%;
  padding: 40px 0;
  justify-content: center;
}

small {
  display: block;
  text-align: center;
}

main>div {
  position: relative;
}

.h-menu {
  background-color: white;
  width: 25%;
  height: 100vh;
  position: absolute;
  z-index: 500;
  /* display: flex; */
  /* gap: 30px 0; */
  justify-content: center;
  padding-top: 80px;
  /* display: none; */
  transform: translate(-150vw);
  position: fixed;
}

.h-menu.open {
  transform: translate(0);
  z-index: 150;
  transition: .3s;
}

main ul li {
  /* padding: 20px; */
  /* margin-top: 10px; */
  /* justify-content: center; */
  /* margin-inline: auto; */
  text-align: center;
  margin-bottom: 40px;
}

.h-btn.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 40px;
  /* position: absolute; */
  transition: .5s;
}

.h-btn.open span:nth-child(2) {
  display: none;
  /* position: absolute; */
  transition: .5s;
}

.h-btn.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 40px;
  /* position: absolute; */
  transition: .5s;
}

.h-btn {
  cursor: pointer;
  width: 40px;
  height: 40px;
  /* position: absolute; */
  top: 20px;
  left: 36px;
  z-index: 200;
  position: fixed;
}

.overlay {
  background-color: rgba(0, 0, 0, .6);
  height: 100%;
  width: 100%;
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition: all .5s ease-out;
  margin-inline: auto;
}

.overlay-on {
  visibility: visible;
  opacity: 1;
}

/* * {
  margin: 0;
} */
/* .Gallery-modal1{
background-image: url(../img/modal.jpg);
opacity: 0;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 100%;
text-align: center;
align-items: center;
z-index: 99999;
}
.Gallery-modal2{
background-image: url(../img/Gallery2.jpg);
opacity: 0;
background-repeat: no-repeat;


}
.Gallery-modal3{
background-image: url(../img/Gallery3.jpg);
opacity: 0;
background-repeat: no-repeat;


}
.Gallery-modal4{
background-image: url(../img/Gallery4.jpg);
opacity: 0;
background-repeat: no-repeat;


}
.Gallery-modal5{
background-image: url(../img/Gallery5.jpg);
opacity: 0;
background-repeat: no-repeat;


}
.Gallery-modal6{
background-image: url(../img/Gallery6.jpg);
opacity: 0;
background-repeat: no-repeat;


} */

.modal-img,
.modal-img2,
.modal-img3,
.modal-img4,
.modal-img5,
.modal-img6 {
  position: fixed;
  /* max-width: 60%; */
  /* max-height: 60%; */
  width: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
  transition: .5s ease-out;
  margin-inline: auto;
  visibility: hidden;
}
.modal-btn.on,
.modal-img.on,
.modal-img2.on,
.modal-img3.on,
.modal-img4.on,
.modal-img5.on,
.modal-img6.on {
  opacity: 1;
  z-index: 10000;
  visibility: visible;
}

.modal-btn {
  width: 40px;
  height: 40px;
  z-index: 10000;
  position: fixed;
  transform: translate(-50%, -50%);
  top: 20%;
  left: 77%;
  cursor: pointer;
  opacity: 0;
}

.modal-btn span:nth-child(1) {
  border-bottom: solid white 2px;
  transform: rotate(45deg);
  width: 100%;
  display: block;
  position: absolute;
}

.modal-btn span:nth-child(2) {
  border-bottom: solid white 2px;
  transform: rotate(-45deg);
  width: 100%;
  display: block;
  position: absolute;
}

@media screen and (max-width:650px) {
  h1 {
    font-size: 25px;
    font-weight: bold;
  }

  h2 {
    font-size: 40px;
  }

  p {
    font-size: 25px;
    font-weight: lighter;
  }

  .About>div,
  .CampGallery {
    display: block;
    padding: 0 30px;
    padding-top: 80px;
    /* margin-bottom: 80px; */
  }

  .About-ttl {
    margin-bottom: 40px;
  }

  .About p {
    line-height: 50px;
  }

  .CampGallery>div {
    display: block;
  }

  .GalleryItem {
    max-width: 1140px;
    margin-inline: auto;
    /* width: 100%; */

  }

  .CampGallery .GalleryItem {
    width: 100%;
    padding-bottom: 60px;
  }

  .CampGallery .container {
    padding: 0;
  }

  .CampGallery h2 {
    /* padding-top: 80px; */
    margin-bottom: 40px;
  }

  .GalleryItem:nth-child(2) {
    top: 0;
    position: relative;
  }

  .GalleryItem:nth-child(3) {
    top: 0;
    position: relative;
  }

  .GalleryItem:nth-child(5) {
    top: 0;
    position: relative;
  }

  .GalleryItem:nth-child(6) {
    top: 0;
    position: relative;

  }

  .GalleryItem img {
    margin-bottom: 20px;
  }

  .GalleryItem p {
    font-size: 35px;
  }

  .h-btn {
    background-color: white;
    width: 130px;
    height: 130px;
    left: 0;
    top: 0;
  }
  header span:first-child {
    top: 40px;
    /* position: absolute; */
  }
  
  header span:nth-child(2) {
    top: 60px;
    /* position: absolute; */
  
  }
  
  header span:last-child {
    top: 80px;
    /* position: absolute; */
  
  }
  header span{
    left: 40px;
    width: 50px;
  }
  .bar{
    display: none;
  }
  .kv{
    background-image: url(../img/kv-sp.jpg);
    height: 200vh;
    
  }
  main h1{
    width: 50%;
    height: 21%;
    font-size: 42px;
    font-weight: bold;
  }
  .Blog{
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .modal-img{
    width: 95vw;
    /* height: 100%; */
    z-index: 100;
  }
 .modal-btn.on{
  left: 95%;
 }
}