@charset "UTF-8";


/*  sec
--------------------------------------------------*/
.sec {
  padding-bottom: 120px;
  margin-bottom: 0;
}
.sec-head {
  position: relative;
  margin-bottom: 60px;
}
.sec-head__photo {
  position: sticky;
  top: 132px;
  width: 100%;
  height: calc(100lvh - 132px);
  z-index: 1;
  --opacity: 0; 
}
.sec-head__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, var(--opacity));
  z-index: 1;
}
.sec-head__photo .f-caption {
  z-index: 2;
}
.sec-head__photo img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}
.sec-head__detail {
  position: sticky;
  top: 132px;
  width: min(95%,1200px);
  height: calc(100lvh - 132px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  z-index: 2;
}
.sec-head__detail__heading {
  width: 100%;
  font-size: 32px;
  line-height: 1.75;
  letter-spacing: .05em;
  color: #fff;
  font-weight: 600;
  margin-bottom: 40px;
}
.sec-head__detail__desc {
  width: 100%;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .05em;
  color: #fff;
}
.sec-contents {
  width: 100%;
  max-width: 1200px;
  width: 95%;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.sec-gallery {
  display: grid;
  gap: 40px;
}

/* sec-gallery1 */
.sec1 .sec-gallery1 {
  grid-template-columns: 480fr 680fr;
}
.sec1 .sec-gallery1 .sec-gallery__item:first-child {
  grid-row: span 2;
}
/* sec-gallery2 */
.sec1 .sec-gallery2 {
  grid-template-columns: 1fr;
}
/* sec-gallery3 */
.sec1 .sec-gallery3 {
  grid-template-columns: 560fr 600fr;
}
.sec1 .sec-gallery3 .sec-gallery__item:first-child {
  grid-row: span 2;
}
.sec1 .sec-gallery3 .sec-gallery__item:nth-of-type(3){
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
/* sec-gallery4 */
.sec1 .sec-gallery4 {
  grid-template-columns: 1fr;
}
/* sec-gallery5 */
.sec1 .sec-gallery5 {
  grid-template-columns: 1fr 1fr;
}
.sec1 .sec-gallery5 .sec-gallery__item:nth-of-type(3){
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}


/* sec-gallery1 */
.sec2 .sec-gallery1 {
  grid-template-columns: 1fr;
}
/* sec-gallery2 */
.sec2 .sec-gallery2 {
  grid-template-columns: 560fr 600fr;
}
.sec2 .sec-gallery2 .sec-gallery__item:first-child {
  grid-row: span 2;
}
/* sec-gallery3 */
.sec2 .sec-gallery3 {
  grid-template-columns: 1fr;
}
/* sec-gallery4 */
.sec2 .sec-gallery4 {
  grid-template-columns: 1fr 1fr;
}
.sec2 .sec-gallery4 .sec-gallery__item:nth-of-type(3){
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.sec2 .sec-gallery4 .sec-gallery__item:nth-of-type(4){
  grid-row: span 2;
}
.sec2 .sec-gallery4 .sec-gallery__item:nth-of-type(5){
  grid-row: span 2;
}
/* sec-gallery5 */
.sec2 .sec-gallery5 {
  grid-template-columns: 1fr;
}
/* sec-gallery6 */
.sec2 .sec-gallery6 {
  grid-template-columns: 600fr 560fr;
}
.sec2 .sec-gallery6 .sec-gallery__item:nth-of-type(1){
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 40px;
}

.sec-gallery__item ,
.sec-gallery__item__child {
  position: relative;
}
@media screen and (max-width: 1200px) {
  .sec-head__photo {
    top: 0;
    height: 100lvh;
  }
  .sec-head__detail {
    top: 0;
    height: 100lvh;
  }
}
@media screen and (max-width: 767px) {
  .sec {
    padding-bottom: 80px;
    margin-bottom: 0;
  }
  .sec-head {
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .sec-head__photo {
    position: relative;
    height: auto;
    order: 1;
  }
  .sec-head__photo::after {
    display: none;
  }
  .sec-head__detail {
    display: contents;
    width: 100%;
    height: auto;
  }
  .sec-head__detail__heading {
    width: calc(320 / 380 * 100%);
    margin-inline: auto;
    font-size: 20px;
    color: #000000;
    margin-bottom: 20px;
    order: 0;
  }
  .sec-head__detail__desc {
    width: calc(320 / 380 * 100%);
    margin-inline: auto;
    font-size: 14px;
    color: #000000;
    margin-top: 30px;
    order: 2;
  }
  .sec-contents {
    width: calc(320 / 380 * 100%);
    gap: 10px;
  }
  .sec-gallery {
    gap: 10px;
  }

  /* sec-gallery1 */
  .sec1 .sec-gallery1 {
    grid-template-columns: 1fr;
  }
  .sec1 .sec-gallery1 .sec-gallery__item:first-child {
    grid-row: span 1;
  }
  /* sec-gallery3 */
  .sec1 .sec-gallery3 {
    grid-template-columns: 1fr;
  }
  .sec1 .sec-gallery3 .sec-gallery__item:first-child {
    grid-row: span 1;
  }
  .sec1 .sec-gallery3 .sec-gallery__item:nth-of-type(3){
    gap: 10px;
  }
  /* sec-gallery5 */
  .sec1 .sec-gallery5 {
    grid-template-columns: 1fr;
  }
  .sec1 .sec-gallery5 .sec-gallery__item:nth-of-type(3){
    gap: 10px;
  }

  /* sec-gallery2 */
  .sec2 .sec-gallery2 {
    grid-template-columns: 1fr;
  }
  .sec2 .sec-gallery2 .sec-gallery__item:first-child {
    grid-row: span 1;
  }
  /* sec-gallery4 */
  .sec2 .sec-gallery4 {
    grid-template-columns: 1fr;
  }
  .sec2 .sec-gallery4 .sec-gallery__item:nth-of-type(3){
    gap: 10px;
  }
  .sec2 .sec-gallery4 .sec-gallery__item:nth-of-type(4){
    grid-row: span 1;
  }
  .sec2 .sec-gallery4 .sec-gallery__item:nth-of-type(5){
    grid-row: span 1;
  }
  /* sec-gallery6 */
  .sec2 .sec-gallery6 {
    grid-template-columns: 1fr;
  }
  .sec2 .sec-gallery6 .sec-gallery__item:nth-of-type(1){
    gap: 10px;
  }
}