@charset "utf-8";
/* CSS Document */

.nav_wrap{
  position: fixed;
  top: 0;
}

.gallery_wrap {
  width: min(100%, var(--contents_w));
  margin: 0 auto var(--section_margin);
}

.gallery_intro_wrap {
  position: relative;
  height: 522px;
  margin-bottom: 16px;
}

.gallery_text_wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 600px;
  background-color: var(--color_w);
}

.gallery_logo_wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.retreat_logo {
  width: 280px;
}

.gallery_cross {
  width: 30px;
}

.cliomariage_logo {
  padding-right: 10px;
}

.gallery_text_inner {
  padding: 0 40px 40px;
}

.gallery_text {
  font-size: var(--font_text_sp_14);
}

.gallery_text:not(:last-child) {
  margin-bottom: 1em;
}

.gallery_text_bg {
  display: block;
  position: absolute;
  top: -30px;
  left: -40px;
  width: 960px;
  aspect-ratio: 16/9;
  z-index: -10;
}

.gallery_intro_bg {
  display: none;
  position: absolute;
  top: 25%;
  left: 0;
  width: 100%;
  height: calc(75% + 20px);
  background-color: #194423;
  z-index: -10;
}

.gallery_intro_img {
  margin-left: auto;
}

.bg_hakone {
  background-color: #194423;
}

.bg_orient {
  background-color: #5D2A12;
}

.bg_goto {
  background-color: #98BCEC;
}

.gallery_item_wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
}

.gallery_item {
  width: calc( calc( 100% - 32px ) / 3 );
  background-color: var(--color_w);
  list-style: none;
}

@media screen and (max-width: 1280px) {
  .gallery_text_wrap {
    left: 40px;
  }
  
  .gallery_item {
    width: calc( calc( 100% - 112px ) / 3 );
  }
}

@media screen and (max-width: 1080px) {
  .gallery_intro_wrap {
    position: relative;
    height: auto;
    margin-bottom: 40px;
  }
  
  .gallery_intro_img_wrap, .gallery_text_wrap {
    width: var(--contents_w_sp);
    margin: 0 auto;
  }
  
  .gallery_intro_bg {
    display: block;
  }
  
  .gallery_intro_img {
    width: 100%;
    margin: 0;
  }
  
  .gallery_text_bg {
    display: none;
  }
  
  .gallery_text_wrap {
    position: relative;
    left: 0;
  }
  
  .gallery_item {
    width: 280px;
  }
  
  .gallery_item_wrap::after {
    content: "";
    display: block;
    width: 280px;
    height: 0;
  }
}

@media screen and (max-width: 600px) {
  .gallery_intro_bg {
    top: 10%;
    height: calc(90% + 20px);
  }
  
  .gallery_logo_wrap {
    flex-flow: column;
    align-items: center;
    padding: 10px 0;
  }
  
  .cliomariage_logo {
    padding: 20px 0 0 0;
  }
  
  .gallery_text_inner {
    padding: 0 20px 20px;
  }
  
  .gallery_item_wrap {
    width: var(--contents_w_sp);
    gap: 10px;
    margin: 0 auto;
  }
  
  .gallery_item {
    width: calc(50% - 5px);
  }
  
  .gallery_item_sp {
    width: 100%;
  }
}