@charset "UTF-8";
.mainContainer {
    width: 100%;
    max-width: 560px;
    margin:  0 auto;
}

@media screen and (min-width: 768px) {
    .mainContainer {
        max-width: 1280px;
    }
}
/* =================================
info
====================================*/
.section__topic--info {
    margin-bottom: 0;
}

.infoContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info__mainBlock {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.info__topic {
    width: fit-content;
    color: var(--primary-brown);
    font-size: 1.8rem;
    background-color: var(--primary-lightGreen);
    padding: 1px 10px;
    border-radius: 5px;
    margin-top: 35px;
    margin-bottom: 15px;
}

.info__time {
    width: 100%;
    max-width: 560px;
}

.info__img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}
@media screen and (min-width: 768px) {
    .infoContainer {
        flex-direction: row;
        gap: 20px;
    }

    .info__topic {
        font-size: 2rem;
    }

    .info__txt {
        font-size: 1.8rem;
    }

    .info__img {
        width: 50%;
        max-width: 560px;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }
}

/* =================================
access
====================================*/
.section__access {
    background-color: var(--primary-ivory);
}
@media screen and (min-width: 768px) {
    .access__txt {
        font-size: 1.8rem;
        margin-top: 3px;
    }
}
/* =================================
map
====================================*/
.map {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
@media screen and (min-width: 768px) {
    .map {
        max-width: 720px;
    }
}
/* =================================
gallery
====================================*/
.gallery__list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 3px;
}

.gallery__item {
    border-radius: 10px;
    width: 47%;
    min-width: 47%;
    overflow: hidden;
}

.gallery__img {
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: .5s ease;
}

.gallery__img:hover {
    transition: .5s ease;
    transform: scale(110%);
}

@media screen and (min-width: 768px) {
    .gallery__list {
        margin-top: 50px;
    }

    .gallery__item {
        border-radius: 10px;
        width: 32%;
        min-width: 32%;
        overflow: hidden;
    }
}

/* モーダル本体 */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.is-active{
  display: block;
}

.lightbox__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.lightbox__inner{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
}

.lightbox__img{
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* ボタン共通 */
.lightbox__close,
.lightbox__prev,
.lightbox__next{
  position: absolute;
  z-index: 3;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 閉じる */
.lightbox__close{
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
}

/* 前へ */
.lightbox__prev{
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 40px;
  border-radius: 50%;
}

/* 次へ */
.lightbox__next{
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 40px;
  border-radius: 50%;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover{
  background: rgba(255,255,255,0.3);
}

body.is-fixed{
  overflow: hidden;
}

@media screen and (max-width: 767px){
  .lightbox__inner{
    padding: 20px 16px;
  }

  .lightbox__prev,
  .lightbox__next{
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .lightbox__prev{
    left: 8px;
  }

  .lightbox__next{
    right: 8px;
  }

  .lightbox__close{
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}