/* ---------------------------------------

	about/index.html

--------------------------------------- */
#gallery .sec-gallery {
  padding: 0 50px;
}

@media (max-width: 767px) {
  #gallery .sec-gallery {
    padding: 3%;
  }
}

#gallery .sec-gallery__inner {
  max-width: 85%;
  margin-left: auto;
}

@media (max-width: 767px) {
  #gallery .sec-gallery__inner {
    max-width: 100%;
  }
}

#gallery .sec-gallery .sec__ttl {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 700;
}

#gallery .sec-gallery__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 30px;
}

@media (max-width: 767px) {
  #gallery .sec-gallery__list {
    gap: 10px;
  }
}

#gallery .sec-gallery__column {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
}

@media (max-width: 767px) {
  #gallery .sec-gallery__column {
    gap: 10px;
  }
}

#gallery .sec-gallery__item {
  width: 30%;
  list-style: none;
  position: relative;
}

#gallery .sec-gallery__item .newsicon {
  width: 23%;
  position: absolute;
  top: -20px;
  left: -5%;
  z-index: 777;
}

@media (max-width: 767px) {
  #gallery .sec-gallery__item .newsicon {
    top: -10px;
  }
}

#gallery .sec-gallery__link {
  display: block;
  opacity: 1;
  position: relative;
  overflow: hidden;
}

#gallery .sec-gallery__link::after {
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  background-color: rgba(255, 255, 255, 0);
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#gallery .sec-gallery__link:hover::after {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
  #gallery .sec-gallery__link:hover::after {
    background-color: rgba(255, 255, 255, 0);
  }
}

#gallery .sec-gallery__link:hover .link__txt {
  opacity: 1;
  visibility: 1;
}

#gallery .sec-gallery__link .link__txt {
  opacity: 0;
  visibility: 0;
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 888;
  text-align: right;
}

@media (max-width: 767px) {
  #gallery .sec-gallery__link .link__txt {
    display: none;
  }
}

#gallery .sec-gallery__link .link__name {
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
}

#gallery .sec-gallery__link .link__title {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 5px;
}

#gallery .sec-gallery__link .link__date {
  font-size: 20px;
  font-weight: 300;
}

#gallery .gallery-detail {
  padding: 0 50px;
}

@media (max-width: 767px) {
  #gallery .gallery-detail {
    padding: 5% 4% 0;
  }
}

#gallery .gallery-detail__inner {
  max-width: 85%;
  margin-left: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

@media (max-width: 767px) {
  #gallery .gallery-detail__inner {
    max-width: 100%;
    margin-left: 0;
    display: block;
  }
}

#gallery .gallery-detail__photo {
  width: 50%;
  position: relative;
  padding-right: 3%;
  border-right: 1px solid #000;
}

@media (max-width: 767px) {
  #gallery .gallery-detail__photo {
    width: 100%;
    border-right: none;
    padding-right: 0;
    padding-top: 50px;
    margin-bottom: 50px;
  }
}

#gallery .gallery-detail__photoList {
  width: 370px;
  height: 477px;
  position: absolute;
  top: 0;
  left: 30%;
  -webkit-transform: translate(-30%, 0);
          transform: translate(-30%, 0);
}

@media (max-width: 1080px) {
  #gallery .gallery-detail__photoList {
    width: 250px;
    height: 357px;
  }
}

@media (max-width: 980px) {
  #gallery .gallery-detail__photoList {
    width: 230px;
    height: 337px;
  }
}

@media (max-width: 767px) {
  #gallery .gallery-detail__photoList {
    width: 290px;
    height: 397px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    position: relative;
  }
}

#gallery .gallery-detail__photoList .taphere {
  width: 95px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 888;
  cursor: pointer;
}

#gallery .gallery-detail__photoItem {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease, -webkit-transform 0.6s ease;
  -webkit-transform-origin: center center;
          transform-origin: center center;
  cursor: pointer;
}

#gallery .gallery-detail__photoItem:nth-child(1) {
  -webkit-transform: rotate(-5deg);
          transform: rotate(-5deg);
  z-index: 3;
}

#gallery .gallery-detail__photoItem:nth-child(2) {
  -webkit-transform: rotate(3deg);
          transform: rotate(3deg);
  z-index: 2;
}

#gallery .gallery-detail__photoItem:nth-child(3) {
  -webkit-transform: rotate(-2deg);
          transform: rotate(-2deg);
  z-index: 1;
}

#gallery .gallery-detail__img {
  position: relative;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#gallery .gallery-detail__img img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  max-width: 100%;
  height: auto;
}

#gallery .gallery-detail__body {
  width: 50%;
  padding-left: 7%;
}

@media (max-width: 767px) {
  #gallery .gallery-detail__body {
    width: 100%;
    padding-left: 0;
  }
}

#gallery .gallery-detail .body__inner {
  max-width: 400px;
}

@media (max-width: 767px) {
  #gallery .gallery-detail .body__inner {
    max-width: 100%;
  }
}

#gallery .gallery-detail .body__img {
  margin-bottom: 30px;
}

#gallery .gallery-detail .body__date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #000;
}

#gallery .gallery-detail .body__date .regidence {
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: 0;
}

#gallery .gallery-detail .body__date .datetxt {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 300;
  letter-spacing: 0;
}

#gallery .gallery-detail .body__title {
  font-size: clamp(28px, 4vw, 40px);
  text-align: right;
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
  margin-bottom: 30px;
}

#gallery .gallery-detail .body__desc {
  font-size: clamp(14px, 1.2vw, 16px);
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #000;
}

#gallery .gallery-detail .body__desc:last-child {
  border: none;
  margin-bottom: 0;
}

#gallery .gallery-detail .body__btn {
  display: block;
  margin-top: 50px;
  margin-bottom: 100px;
}

#gallery .gallery-detail .body__arrow {
  display: block;
  width: 30px;
  height: 30px;
  margin: auto;
  position: relative;
  left: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#gallery .gallery-detail .body__arrow:hover {
  position: relative;
  left: -3px;
}
