/*—————————————————————————————————
gallery
—————————————————————————————————*/
.top_bg_wrap_title .jp {
  padding-top: 16px;
}

/*
index
———————————*/
.top_bg.gallery {
  background-image: url("../img/gallery/keyV.jpg");
}

.gallery {
  background-color: #fff;
}

.gallery_intro {
  width: 90%;
  margin: 6em auto 0;
  text-align: center;
}

.gallery_keyword {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery_search {
  display: flex;
  align-items: center;
}

.gallery_search_photo {
  display: block;
  margin-right: 8px;
}

::placeholder {
  color: #272727;
  font-weight: 600;
  letter-spacing: 0.1em;
}

:focus {
  outline: none;
}

.gallery_keyword_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 16px;
  cursor: pointer;
}

.gallery_keyword_item {
  padding: 4px 24px;
  border: 1px solid #a5a5a5;
  border-radius: 50px;
  text-align: center;
  display: block;
}

.gallery_keyword_item.is-active {
  color: #fff;
  background-color: #5e91a6;
}

.gallery_list_item:hover .gallery_list_item_info {
  display: flex;
  justify-content: center;
  align-items: center;
}
.gallery_tab li {
	width: 100%;
}


@media screen and (max-width: 960px) {
  .gallery_intro {
    margin: 4em auto 0;
  }

  .gallery_keyword {
    display: block;
    margin-top: 40px;
  }

  .gallery_keyword_list {
    margin-top: 16px;
    /* gap: 0 4px; */
  }

  .gallery_keyword_item {
    padding: 4px 8px;
  }
	.gallery_tab_item {
    padding: 10px 0;
    font-size: 12px;
	}
}

@media screen and (max-width: 560px) {
	
	.top_bg.gallery {
		height: 250px;
	}
	.top_bg.gallery .top_bg_wrap {
    height: 250px;
	}
  .top_bg.gallery .top_bg_wrap .top_bg_wrap_title {
    padding-top: 20px;
    line-height: 48px;
    font-size: 3.5rem;
  }
  .top_bg.gallery .top_bg_wrap .top_bg_wrap_title .jp {
    padding-top: 0;
	 font-size: 12px;
  }
	.top_bg.gallery .top_bg_wrap .top_bg_wrap_title .jp::after {
    bottom: 0px;
	}
  .gallery_intro {
    margin: 2em auto 0;
    font-size: 14px;
    text-align: left;
  }

  .gallery_keyword_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery_keyword_item:nth-child(n + 2) {
    margin-top: 8px;
  }

  .gallery_keyword_item.is-active {
    margin-top: 8px;
  }
}

/*
detail
———————————*/
.top_bg.gallery_detail {
  background-image: url("../img/top/price.jpg");
}

.gallery_detail_wrap {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 6em;
}

.gallery_detail_wrap .sub_en {
  margin-left: 0;
}

.gallery_detail_wrap .gallery_wrap_top_title {
  margin-top: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.gallery_detail_wrap .gallery_wrap_top_title::after {
  display: none;
}

.gallery_detail_wrap img {
  max-width: 100%;
  height: auto;
}

.gallery_detail_wrap .text {
  margin-top: 16px;
}

.gallery_detail_wrap .gallery_wrap_item .photo {
  width: 100%;
  height: auto;
  margin-top: 40px;
  margin-bottom: 40px;
}

.gallery_detail_wrap .gallery_wrap_item .photo:nth-of-type(n + 2) {
  margin-top: 56px;
}

.gallery_top .showcase {
  display: block;
  margin-top: 8px;
}

.index_menu {
  margin: 3em 0 6em;
}

.index_menu h2 {
  letter-spacing: 2px;
  margin-bottom: 1em;
}

.index_menu h2 span {
  font-size: 14px;
  margin-left: 1em;
  color: #707070;
}

.index_menu_list {
  width: 90%;
  margin: auto;
}

.index_item:first-child {
  border-top: 1px solid #ccc;
}

.index_item {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
}

.index_item::before {
  content: "■";
  margin-right: 5px;
}

.index_menu_list a {
  color: inherit;
}

.contents {
  margin-bottom: 3em;
}

.contents h3 {
  line-height: 1.5;
  font-size: 130%;
}

/*追加*/
.gallery_tab_archive {
    margin: 5px auto;
    gap: 0 0px;
	display: flex;
	justify-content: space-between;
    width: 100%;
    max-width: 1180px;
}
/*
.gallery_tab li:nth-child(n + 2) {
     margin-left: 10px; 
}
*/

.gallerymenu_wedding > .gallery_tab_archive {
    margin: 5px auto;
    gap: 5px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
    width: 100%;
    max-width: 1140px;
}
.gallerymenu_wedding > .gallery_tab li:nth-child(n + 2) {
     margin-left: 0px; 
}
.gallery_tab_archive_box {
	margin: 40px auto;
}
@media screen and (max-width: 960px) {
  .gallery_detail_wrap {
    padding: 2em 0;
  }
	.gallery_tab_archive {
   width: 100%;
	max-width: 560px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 10px;
    margin: 40px auto 0;
    font-size: 14px;
    border-bottom: none;
	}
	.gallery_tab li:nth-child(n + 2) {
    margin-left: 0;
	}
	.gallery_tab_item.is-active:before {
    transform: translate(0,-50%) scale(0.35);
	}
}

@media screen and (max-width: 560px) {
  .gallery_detail_wrap .gallery_wrap_top_title {
    font-size: 20px;
  }
  .gallery_detail_wrap .text {
    font-size: 14px;
  }

  .gallery_detail_wrap .gallery_wrap_item .photo {
    margin-top: 16px;
  }

  .gallery_detail_wrap .gallery_wrap_item .photo:nth-of-type(n + 2) {
    margin-top: 32px;
  }
	.gallery_tab_archive:nth-of-type(n+2) {
    margin-top: 10px;
}
	.gallerymenu_wedding > .gallery_tab_archive {
	grid-template-columns: 1fr 1fr;
	}
}
/*location*/
.top_bg.shichigosan {
  background-image: url("../img/menu/detail/keyV-shichigosan.jpg");
}
.top_bg.ceremony {
  background-image: url("../img/menu/detail/keyV-ceremony.jpg");
}
.gallery_list_location {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 5px;
    width: 100%;
    max-width: 1100px;
    margin: 80px auto;
}
.reverse_btn {
	display: block;
    width: 200px;
    margin: 0 auto 80px;
    padding: 16px 0;
    background-color: #fff;
    border: 1px solid #969696;
    color: #888;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-align: center;
}
@media screen and (max-width: 560px) {
.reverse_btn {
    width: 180px;
    margin-top: 0;
    font-size: 12px;
    letter-spacing: 0.09em;
}
	.gallery_list_location {
    grid-template-columns: repeat(1, 1fr);
    gap: 5px 5px;
    width: 90%;
    max-width: 1100px;
    margin: 80px auto;
}
}
