@charset "UTF-8";
#main {
  background: url(../images/gallery/main.webp) no-repeat 100% 100%;
  background-size: cover;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 300px 0;
}
@media screen and (max-width: 768px) {
  #main {
    padding: 60px 0;
  }
}
#main h1 {
  width: 50%;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6), -1px 1px 8px rgba(0, 0, 0, 0.6), 1px -1px 8px rgba(0, 0, 0, 0.6), -1px -1px 8px rgba(0, 0, 0, 0.6);
}
@media screen and (max-width: 768px) {
  #main h1 {
    width: 100%;
  }
}

#top {
  padding: 2em 0;
  background: url(../images/gallery/bg.webp) no-repeat 0% 100%;
  background-size: cover;
}
#top h2 {
  font-size: min(6svw, 42px);
  text-align: center;
  color: #7a672b;
}
#top span {
  display: block;
  margin: auto;
}

#contents .sec01, #contents .sec02, #contents .sec03 {
  position: relative;
  padding: 4em 0 0;
}
@media screen and (max-width: 768px) {
  #contents .sec01, #contents .sec02, #contents .sec03 {
    padding-top: 2em;
  }
}
#contents .sec01 .cnt, #contents .sec02 .cnt, #contents .sec03 .cnt {
  display: flex;
  justify-content: center;
  align-items: end;
  flex-wrap: wrap;
  gap: 0 4em;
  z-index: 1;
}
#contents .sec01 .cnt.reverse, #contents .sec02 .cnt.reverse, #contents .sec03 .cnt.reverse {
  flex-direction: row-reverse;
}
#contents .sec01 .cnt p, #contents .sec02 .cnt p, #contents .sec03 .cnt p {
  font-size: min(3.6svw, 18px);
  padding: 0 0 4em;
  color: #fff;
}
@media screen and (max-width: 768px) {
  #contents .sec01 .cnt p, #contents .sec02 .cnt p, #contents .sec03 .cnt p {
    padding-bottom: 2em;
  }
}
#contents .sec01 .cnt .img video, #contents .sec02 .cnt .img video, #contents .sec03 .cnt .img video {
  width: 100%;
  max-width: 700px;
}
#contents .sec01 .cnt .img img, #contents .sec02 .cnt .img img, #contents .sec03 .cnt .img img {
  width: 100%;
  max-width: 700px;
}
#contents .sec01 .bg, #contents .sec02 .bg, #contents .sec03 .bg {
  position: relative;
  bottom: 0;
  right: 0;
  z-index: 1;
  padding-top: 3em;
}
#contents .sec01 .bg span, #contents .sec02 .bg span, #contents .sec03 .bg span {
  display: block;
  font-size: min(9.8svw, 80px);
  color: #fff;
  opacity: 0.6;
  line-height: 0.6;
  font-family: "Aldrich", sans-serif;
  text-align: right;
}
#contents .sec01 .bg.reverse span, #contents .sec02 .bg.reverse span, #contents .sec03 .bg.reverse span {
  text-align: left;
}
#contents .sec01::after, #contents .sec02::after, #contents .sec03::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  background: #A99C71;
  background: linear-gradient(125deg, rgb(169, 156, 113) 0%, rgb(204, 194, 164) 100%);
  width: 100%;
  height: 100%;
  max-height: 430px;
}
@media screen and (max-width: 768px) {
  #contents .sec01::after, #contents .sec02::after, #contents .sec03::after {
    max-height: 100%;
  }
}
#contents .sec01:nth-of-type(n+2) .cnt, #contents .sec02:nth-of-type(n+2) .cnt, #contents .sec03:nth-of-type(n+2) .cnt {
  margin-top: 2em;
}
@media screen and (max-width: 768px) {
  #contents .sec01:nth-of-type(n+2) .cnt, #contents .sec02:nth-of-type(n+2) .cnt, #contents .sec03:nth-of-type(n+2) .cnt {
    margin-top: 0;
  }
}
#contents .sec02 {
  background: #F6F5F3;
  background: linear-gradient(125deg, rgb(246, 245, 243) 0%, rgb(228, 224, 211) 100%);
}
#contents .sec02::after {
  background: #2A6278;
  background: linear-gradient(125deg, rgb(42, 98, 120) 0%, rgb(129, 166, 180) 100%);
}
#contents .sec03 {
  background: #F1F1F1;
  background: linear-gradient(125deg, rgb(241, 241, 241) 0%, rgb(202, 220, 227) 100%);
}
#contents .sec03 .bg {
  right: 1em;
}
#contents .sec04 {
  background: #F6F5F3;
  background: linear-gradient(125deg, rgb(246, 245, 243) 0%, rgb(228, 224, 211) 100%);
  padding: 10em 0 0;
}
@media screen and (max-width: 768px) {
  #contents .sec04 {
    padding-top: 6em;
  }
}
#contents .cv {
  padding: 2em 0;
  background: #fff;
}
#contents .cv p {
  font-size: min(4.8svw, 30px);
  color: #7a672b;
  line-height: 1.5;
  text-align: center;
}
#contents .cv .btn {
  position: relative;
  display: block;
  width: 80%;
  max-width: 420px;
  height: 100%;
  background: #8d7d4b;
  color: #fff;
  margin: 2em auto 1em;
  padding: 0.5em;
}
#contents .cv .btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2dvw;
  clip-path: polygon(40% 0, 90% 50%, 40% 100%, 30% 90%, 70% 50%, 30% 10%);
  display: block;
  margin: auto;
  width: 1em;
  height: 1em;
  aspect-ratio: 1;
  background-color: #fff;
}
#contents .cv .btn span {
  font-size: min(4.1svw, 23px);
  text-align: center;
  display: block;
  margin: auto;
}
#contents .slide-area {
  background: #fff;
  padding: 1em 0 2em;
  width: 100%;
  height: 100%;
}
#contents .gallery-slider {
  width: min(1100px, 92%);
  margin: 2em auto;
  /* ===== メイン ===== */
}
#contents .gallery-slider .gallery-main {
  position: relative;
  margin-bottom: 20px;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
}
#contents .gallery-slider .slide {
  margin: 0;
}
#contents .gallery-slider .slide-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eee;
}
#contents .gallery-slider .slide-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
#contents .gallery-slider {
  /* ===== 矢印 ===== */
}
#contents .gallery-slider .gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  transform: translateY(-50%);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
#contents .gallery-slider .gallery-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
#contents .gallery-slider .gallery-arrow:active {
  transform: translateY(-50%) scale(0.98);
}
#contents .gallery-slider .gallery-arrow-prev {
  left: 20px;
}
#contents .gallery-slider .gallery-arrow-next {
  right: 20px;
}
#contents .gallery-slider {
  /* 矢印アイコンをCSSで作る */
}
#contents .gallery-slider .gallery-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #222;
  border-right: 2px solid #222;
}
#contents .gallery-slider .gallery-arrow-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}
#contents .gallery-slider .gallery-arrow-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}
#contents .gallery-slider {
  /* ===== サムネイル ===== */
}
#contents .gallery-slider .gallery-thumbs {
  overflow: hidden;
  padding: 0.5em;
}
#contents .gallery-slider .gallery-thumbs .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
#contents .gallery-slider .gallery-thumbs .swiper-slide {
  width: auto !important;
  margin: 0 !important;
}
#contents .gallery-slider .thumb-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  background: #f1f1f1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
#contents .gallery-slider .thumb-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
#contents .gallery-slider .thumb-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  transition: opacity 0.25s ease;
  z-index: 1;
}
#contents .gallery-slider .thumb-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: calc(100% - 16px);
  color: #fff;
  font-size: min(2.4svw, 12px);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  z-index: 2;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
#contents .gallery-slider .thumb-media:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
}
#contents .gallery-slider {
  /* アクティブ状態 */
}
#contents .gallery-slider .gallery-thumbs .swiper-slide-thumb-active .thumb-media {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14), 0 0 0 3px #111;
}
#contents .gallery-slider .gallery-thumbs .swiper-slide-thumb-active .thumb-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}
#contents .gallery-slider .gallery-thumbs .swiper-slide-thumb-active .thumb-media::before {
  opacity: 0;
}
#contents .gallery-slider .gallery-thumbs .swiper-slide-thumb-active .thumb-caption {
  opacity: 0;
  transform: translate(-50%, -46%);
}
#contents .gallery-slider .gallery-thumbs .swiper-slide-thumb-active .thumb-media {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14), 0 0 0 3px #111;
}
#contents .gallery-slider .gallery-thumbs .swiper-slide-thumb-active .thumb-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}
#contents .gallery-slider {
  /* ===== レスポンシブ ===== */
}
@media (max-width: 991px) {
  #contents .gallery-slider .gallery-thumbs .swiper-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
  #contents .gallery-slider .gallery-arrow {
    width: 48px;
    height: 48px;
  }
  #contents .gallery-slider .gallery-arrow-prev {
    left: 12px;
  }
  #contents .gallery-slider .gallery-arrow-next {
    right: 12px;
  }
}
@media (max-width: 767px) {
  #contents .gallery-slider .gallery-thumbs .swiper-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  #contents .gallery-slider .gallery-main {
    border-radius: 18px;
  }
}
@media (max-width: 480px) {
  #contents .gallery-slider .gallery-thumbs .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
#contents .sec05 {
  background: #F1F1F1;
  background: linear-gradient(125deg, rgb(241, 241, 241) 0%, rgb(202, 220, 227) 100%);
  padding: 4em 0;
}
#contents .sec05 .merit {
  width: 90%;
  max-width: 1280px;
  margin: auto;
}
#contents .sec05 .merit h3 {
  font-size: min(5.2svw, 36px);
  text-align: center;
  margin-bottom: 0.5em;
}
#contents .sec05 .merit p {
  font-size: min(3.2svw, 16px);
  text-align: center;
}
#contents .sec05 .merit .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 2em auto;
  gap: 4em 0;
}
@media screen and (max-width: 768px) {
  #contents .sec05 .merit .wrap {
    justify-content: center;
  }
}
#contents .sec05 .merit .wrap .block {
  display: flex;
  flex-direction: column;
  gap: 1em 0;
  width: 47%;
}
@media screen and (max-width: 768px) {
  #contents .sec05 .merit .wrap .block {
    width: 100%;
  }
}
#contents .sec05 .merit .wrap .block .block-in {
  display: flex;
  width: 100%;
}
#contents .sec05 .merit .wrap .block .block-in .txt-box {
  background: #2A6278;
  background: linear-gradient(125deg, rgb(42, 98, 120) 0%, rgb(129, 166, 180) 100%);
  color: #fff;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 1;
}
#contents .sec05 .merit .wrap .block .block-in .txt-box .num {
  font-size: min(3.2svw, 16px);
  margin-bottom: 1em;
  line-height: 1;
}
#contents .sec05 .merit .wrap .block .block-in .txt-box .num em {
  font-size: min(4.2svw, 26px);
  font-style: normal;
}
#contents .sec05 .merit .wrap .block .block-in .txt-box .catch {
  font-size: min(2.8svw, 14px);
}
#contents .sec05 .merit .wrap .block .block-in .photo {
  position: relative;
  line-height: 0;
  font-size: 0;
}
#contents .sec05 .merit .wrap .block .block-in .photo img {
  position: relative;
  line-height: 0;
  font-size: 0;
  width: 100%;
  height: 100%;
  max-width: 320px;
  object-fit: cover;
}
@media screen and (max-width: 1024px) {
  #contents .sec05 .merit .wrap .block .block-in .photo img {
    max-width: 240px;
  }
}
@media screen and (max-width: 588px) {
  #contents .sec05 .merit .wrap .block .block-in .photo img {
    max-width: 160px;
  }
}
#contents .sec05 .merit .wrap .block .block-in .photo .cap {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #fff;
  padding: 0.5em;
  font-size: min(2svw, 10px);
}
#contents .sec05 .merit .wrap .block .word {
  font-size: min(2.8svw, 14px);
  text-align: left;
}
#contents .sec05 .merit .wrap .block .word small {
  display: block;
}/*# sourceMappingURL=gallery.css.map */