/*
.jpg_head{
  position: relative;
  background: url("/wedding/img/gallery/gallery_img.jpg") no-repeat center top;
  background-size: cover;
}
.webp_head{
  position: relative;
  background: url("/wedding/img/gallery/gallery_img.webp") no-repeat center top;
  background-size: cover;
}
*/
.main_contents{
  overflow: visible;
}
.head_img img{
  object-position: center top;
}

.ceremony_flex{
  position: relative;
  max-width: 1200px;
  margin: 90px auto 0;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
}
.gallery_wrap{
  max-width: 1100px;
  width: calc(100% - 60px);
  margin: 60px auto 60px;
  padding: 0 30px;
}
.gallery_navi_all{
  position: sticky;
  left: 0;
  top: 70px;
  margin-top: 60px;  
  z-index: 2;
  margin-bottom: 20px;
  background: #FFF;
}
.gallery_navi{
  background: #FFF;
  display: flex;
  justify-content:space-between;
}
.gallery_navi .gallery_txt{
  position: relative;
  display: flex;
  justify-content:center;
  align-items: flex-end;
}
.gallery_navi .gallery_txt:before{
  content:"";
  width:29px;
  height: 24px;
  margin-right:10px;
}
.gallery_navi .gallery_txt:nth-child(1):before{
  background:url(/wedding/img/gallery/chapel_icon.webp);
  background-size:100% auto;
}
.gallery_navi .gallery_txt:nth-child(2):before{
  background:url(/wedding/img/gallery/banquet_icon.webp);
  background-size:100% auto;
}
.gallery_navi .gallery_txt:nth-child(3):before{
  background:url(/wedding/img/gallery/cuisine_icon.webp);
  background-size:100% auto;
}
.gallery_navi_foot{
  margin-top: 15px;
}
.gallery_txt{
  padding: 10px 0;
  width: 32%;
  border-bottom: solid 1px #dfdfdf;
  color: #333;
  font-size: 18px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 600;
}
.gallery_txt:hover{
  border-bottom: solid 1px #f66686;
  color: #f66686;
}
.gallery_navi .gallery_txt:hover:nth-child(1):before,
.gallery_navi .gallery_txt_ta:nth-child(1):before{
  background:url(/wedding/img/gallery/chapel_icon_b.webp);
  background-size:100% auto;
}
.gallery_navi .gallery_txt:hover:nth-child(2):before,
.gallery_navi .gallery_txt_ta:nth-child(2):before{
  background:url(/wedding/img/gallery/banquet_icon_b.webp);
  background-size:100% auto;
}
.gallery_navi .gallery_txt:hover:nth-child(3):before,
.gallery_navi .gallery_txt_ta:nth-child(3):before{
  background:url(/wedding/img/gallery/cuisine_icon_b.webp);
  background-size:100% auto;
}

.gallery_navi_sub{
  display: none;
}
.gallery_navi_sub_active{
  padding-top: 20px;
  padding-bottom: 0;
  display: flex;
  justify-content:space-between;
  background: #FFF;
}
.gallery_txt_sub{
  padding: 8px 0;
  width: 15%;
  border: solid 1px #a09273;
  color: #a09273;
  font-size: 14px;
  line-height: 14px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s ease;
}
.gallery_txt_sub:hover{
  border: solid 1px #f66686;
  color: #f66686;
  background: #f8f3e6;
}
.gallery_txt_ta{
  border-bottom: solid 1px #f66686;
  color: #f66686;
  background: #f8f3e6;
}

.gallery_navi_foot .gallery_txt{
  border-top: solid 1px #a09273;
  border-bottom: none;
}
.gallery_navi_foot .gallery_txt:hover{
  border-top: solid 1px #f66686;
  border-bottom: none;
}
.gallery_navi_foot .gallery_txt_ta{
  border-top: solid 1px #f66686;
  border-bottom: none;
}


.gallery_navi_sub{
  position: relative;
  margin-top:0;
  margin-bottom: 0;
  z-index: 1;
}
.gallery_navi_sub .gallery_txt_ta{
  border: solid 1px #f66686;
}

.gallery_navi_foot_sub{
  margin-top: 30px;
  margin-bottom: 25px;
}


.change_ui{
  position: relative;
  border-bottom:solid 2px #f66686;
  width: 100%;
  display: flex;
}
.change_ui li{
  position: relative;
  margin-right: 10px;
  border-radius: 10px 10px 0 0;
  padding: 5px 20px;
  font-size: 14px;
  list-style: 14px;
  background: #f8f3e6;
  font-weight: 600;
  margin-top: 20px;
  cursor: pointer;
}
.change_ui .change_ta{
  background: #f66686;
  color:#FFF;
}



.gallery_load{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top:45px;
  max-width: 1100px;
  /*
  padding: 0 30px;
  */
  margin: 0 auto;
}
.banq_gallery .gallery_load{
  padding: 0 30px;
}
.gallery_img{
  position: relative;
  overflow: hidden;
  width: calc(20% - 15px);
  margin-bottom:20px;
  cursor: pointer;
}
.gallery_img_none{
  width: calc(20% - 15px);
  margin: 0;
  height: 0;
  cursor: default;
}
.gallery_img img{
  transition: 0.5s ease;
}
.gallery_img img:hover{
  transform: scale(1.05);
}
.h2_title{
  margin-top: 120px;
}
/*
.h2_sub{
  margin-top:15px;
}
.h2_sub{
  margin-top:40px;
}
*/

.gallery_wrap .h2_title {
  font-size: 50px;
  line-height: 50px;
  text-align: center;
  font-weight: 300;
  color: #434343;
  margin-bottom: 30px;
  margin-top: 60px;
}
.gallery_wrap .h2_title:after{
  display: none;
}


.gallery_fade{
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top:0;
  background: rgb(248, 246, 242);
  z-index: 999;
  display: none;
}
.gallery_img_load{
  position: absolute !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.gallery_img_load img{
  position: absolute;
  left: 50%;
  top:50%;
  transform: translate(-50%,-50%);
  width: 100%;
  height: 90%;
  object-fit: contain;
}
.close_icon{
  position: absolute;
  right: 10px;
  top:10px;
	background: #FFF;
	background-size: 60px auto;
	width: 60px;
	height: 60px;
  border: solid 1px #b4a17c;
  box-sizing: border-box;
  cursor: pointer;
}
.close_icon:before{
  position: absolute;
  right:10px;
  top:30px;
  content:"";
  display: block;
  width:40px;
  height: 1px;
  background: #b4a17c;
  transform-origin: center center;
  transform:rotate(45deg);
}
.close_icon:after{
  position: absolute;
  right:10px;
  top:30px;
  content:"";
  display: block;
  width:40px;
  height: 1px;
  background: #b4a17c;
  transform-origin: center center;
  transform:rotate(-45deg);
}
.gallery_next{
  position: absolute;
  overflow: hidden;
  width: 50px;
  height: 50px;
  right: 10px;
  top: 50%;
  margin-top: -30px;
  font-size: 0;
  background: rgba(255,255,255,1);
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
  border-radius: 100%;
  border: none;
  cursor: pointer;
}
.gallery_next:before{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f054";
  display: block;
  font-size: 20px;
  color: #b4a17c;
}
.gallery_prev{
  position: absolute;
  overflow: hidden;
  width: 50px;
  height: 50px;
  left: 10px;
  top: 50%;
  margin-top: -30px;
  font-size: 0;
  background: rgba(255,255,255,1);
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
  border-radius: 100%;
  cursor: pointer;
}
.gallery_prev:before{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f053";
  display: block;
  font-size: 20px;
  color: #b4a17c;
}
.intro p{
  padding: 120px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 38px;
} 


@media (max-width: 1100px) {

}

@media (max-width: 999px) {

}


@media (max-width: 769px) {
  .banq_gallery .gallery_load{
    padding: 0 15px;
  }
  
  .gallery_wrap .h2_title {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 30px;
    margin-top: 30px;
  }
  .gallery_wrap .h2_title:after{
    display: none;
  }
  
  
  .intro p{
    padding: 60px 0 0;
    font-size: 14px;
    line-height: 32px;
    margin: 0 15px;
    text-align: justify;
  }
  .intro p br{
    display: none;
  }
  
  .sp_padding{
    margin: 0 15px;
  }
  .gallery_img {
    position: relative;
    overflow: hidden;
    width: calc(50% - 5px);
    margin-bottom: 10px;
    cursor: pointer;
  }
  .gallery_wrap{
    padding: 0;
    width: calc(100% - 30px);
    margin: 30px auto 0;
  }
  .gallery_txt {
    padding: 10px 0;
    width: 31%;
    font-size: 14px;
    line-height: 14px;
  }
  .h2_title {
    margin-top: 60px;
  }
  .h2_sub2{
    margin-top:10px;
  }
  .gallery_navi_sub_active {
    flex-wrap: wrap;
    padding: 25px 0 0;
  }
  .gallery_navi{
    margin-top: 30px;
  }
  .gallery_navi_foot{
    margin-top: 15px;
  }
  .gallery_navi_sub {
    margin-top: -25px;
  }
  .gallery_txt_sub {
    padding: 8px 0;
    width: 31%;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 12px;
  }
  .gallery_load {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 15px;
    padding: 0;
  }
  .gallery_navi_sub {
    margin-bottom: 15px;
  }
  .gallery_navi_foot_sub{
    margin-top: 15px;
    margin-bottom: -5px;
  }
  /*
  .jpg_head {
    position: relative;
    background: url(/wedding/img/gallery/gallery_img_sp.jpg) no-repeat center 40px;
    background-size: cover;
  }
  .webp_head {
    position: relative;
    background: url(/wedding/img/gallery/gallery_img_sp.webp) no-repeat center 40px;
    background-size: cover;
  }
  .inner_head {
    min-height: 0;
    padding-top: 72%;
  }
  */
  .head_img img{
    object-position: center 40px;
  }


  .gallery_next{
    position: absolute;
    overflow: hidden;
    width: 30px;
    height: 30px;
    right: 5px;
    top: 50%;
    margin-top: -15px;
    font-size: 0;
    background: rgba(255,255,255,1);
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    border-radius: 100%;
    border: none;
    cursor: pointer;
  }
  .gallery_next:before{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    display: block;
    font-size: 16px;
    color: #b4a17c;
  }
  .gallery_prev{
    position: absolute;
    overflow: hidden;
    width: 30px;
    height: 30px;
    left: 5px;
    top: 50%;
    margin-top: -15px;
    font-size: 0;
    background: rgba(255,255,255,1);
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    border-radius: 100%;
    cursor: pointer;
  }
  .gallery_prev:before{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f053";
    display: block;
    font-size: 16px;
    color: #b4a17c;
  }  
  .close_icon{
    position: absolute;
    right: 5px;
    top:5px;
    background: #FFF;
    background-size: 50px auto;
    width: 50px;
    height: 50px;
    border: solid 1px #b4a17c;
    box-sizing: border-box;
    cursor: pointer;
  }
  .close_icon:before{
    position: absolute;
    right:5px;
    top:24px;
    content:"";
    display: block;
    width:40px;
    height: 1px;
    background: #b4a17c;
    transform-origin: center center;
    transform:rotate(45deg);
  }
  .close_icon:after{
    position: absolute;
    right:5px;
    top:24px;
    content:"";
    display: block;
    width:40px;
    height: 1px;
    background: #b4a17c;
    transform-origin: center center;
    transform:rotate(-45deg);
  }
  .change_ui li {
    position: relative;
    margin-right: 2px;
    border-radius: 10px 10px 0 0;
    padding: 10px 5px;
    font-size: 12px;
    list-style: 12px;
    background: #f8f3e6;
    font-weight: 600;
    margin-top: 40px;
    cursor: pointer;
    text-align: center;
  }
  .change_ui li{
    margin-top: 0;
  }
  .gallery_navi_all{
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .gallery_navi .gallery_txt:before {
    content: "";
    width: 20px;
    height: 18px;
    margin-right: 10px;
  }
  .gallery_navi_sub{
    background: none;
    margin-bottom: 0;
  }
  .change_ui li{
    padding: 5px;
  }
  .gallery_navi{
    margin-bottom: 10px;
  }

}












