.mv {
    aspect-ratio: auto
}

.mv .inner {
    margin-top: -20%;
    position: relative;
    z-index: 1
}

.general-section .inner {
    max-width: 1270px
}

.sec .inner .lead {
    font-size: 3rem
}

.image-section {
  position: relative;
  overflow: hidden;
}

.image-wrapper {
  position: relative;
    max-height: 745px;
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; 
}
.general-section{
    background-color: #f5ebe8;
}
.general-section .inner{
    z-index: 3;
    text-align: center;
}
.general-section .section-bg{
    position: relative;
}
.general-section .section-bg::before{
    	content: "";
    background-image: url(../images/access/access-bg.webp);
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 0;
    background-position: bottom;
}
.next-section {
    background-image: url(../images/modelroom/content-bg.webp);
    background-size: 100% 99%;
    background-repeat: no-repeat;
    background-color: #f1ece9;
    background-position: 100% 116%;
    padding: 0px 20px 80px;
    text-align: center;
    margin-top: -67px;
    position: relative;
    z-index: 2;
}
.next-section p{
    color: #b37b7a;
    
}
.next-section p.tertiary-heading{
    color: #604c3f;
}
.caption{
    position: absolute;
    bottom: 13vh;
    right: 1vw;
}
.caption2{
    position: absolute;
    bottom: 7vh;
    right: 0;
    left: -70px;
    margin: auto;
    width: fit-content;
}
.vertical-line:after{
    content: unset;
}
.vertical-line:before{
content: '';
    display: block;
    width: 2px;
    height: 80px;
    background: #b37b7a;
    margin: 30px auto 10px;
    position: relative;
    top: -30px;
}
.inner img{
    width: 90%;
    margin-top: -270px;
}
@media screen and (max-width: 767px) {
    .sec .inner .lead {
        font-size:2rem
    }
    .image-wrapper img {
        height: 100vh;
        max-height: 250px;
        object-fit: cover;
    }
    .curve {
        left: -50%;
        width: 200%;
        height: 100px;
    }
    .vertical-line:before {
        height: 50px;
        top: -10px;
    }
    .inner img {
        width: 100%;
        margin-top: -130px;
    }
    .hamburger, .sp-tel-btn{
        display: flex;
    }
    .caption{
        bottom: 17vw;
    }

    .next-section {
       
        margin-top: -80px;
     
    }
}

.primary-heading {
    /* margin-bottom: 13px;
    line-height: 4.4rem; */
    font-family: "EB Garamond", serif;
}

.secondary-heading {
    /* margin-bottom: 9rem; */
}

.gallery_wrap {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding-top: 90px;
  }

  .photo_cover {
    position: relative;
  }

  .gallery_notes {
    text-align: left;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    line-height: 18px;
}

.gallery_notes p{
    color: #231F20;
}
  
  .col-full {
    width: 100%;
  }
  
  .col-large {
    width: 64.5%;
  }
  
  .col-small {
    width: 29.8%;
  }
  
  .col-half {
    width: 47.5%;
  }
  
  .col-full,
  .col-large,
  .col-small,
  .col-half {
    margin-bottom: 52px;
  }

  /* .col-inside {
    margin-bottom: 40px;
  } */

  .col-flex-column{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .col-inside:last-child {
    margin-bottom: 0px;
  }
  
  .caution_b {
   
    font-weight: 400;
    font-style: normal;
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 18px;
    letter-spacing: 2px;
    color: #231F20;
    z-index: 3;
    
  }

  .caution_w{
    text-shadow: 1px 1px #000;
    font-weight: 400;
    font-style: normal;
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 18px;
    letter-spacing: 2px;
    color: #FFF;
    z-index: 3;
  }
  
  /* Mobile breakpoint (max-width: 768px) */
  @media (max-width: 767px) {
    .col-full,
    .col-large,
    .col-small,
    .col-half {
      margin-bottom: 15px;
    }

    .gallery_wrap{
        padding-top: 20px;

    }

    .secondary-heading {
        /* margin-bottom: 3rem; */
    }

    .next-section {
        background-image: url(../images/modelroom/content-bg.jpg);
        background-size: cover;
        background-position: center top;
    }

    /* .col-inside {
        margin-bottom: 4vw;
      } */
    
      .col-inside:last-child {
        margin-bottom: 0px;
      }
  
    .caution_w,.caution_b {
      font-size: 2.4vw;
      letter-spacing: 1px;
      right: 3px;
      bottom: 3px;
    }
  }
  
  @media (min-width: 768px) and (max-width: 1024px){
    .col-inside {
        margin-bottom: 4.4vw;
    }

    .gallery_wrap{
        padding-top: 48px;

    }

  }

@keyframes blurZoomIn {
	from {
		opacity: 0;
		filter: brightness(1.8) blur(20px);
		transform: scale3d(1.1, 1.1, 1.1);
	}
	50% {
		filter: brightness(1) blur(0);
		opacity: 1;
	}
}
.blurZoomIn {
	animation-name: blurZoomIn;
}
@keyframes blurFadeIn {
	from {
		opacity: 0;
		filter: blur(20px);
	}
	50% {
		filter: blur(0);
		opacity: 1;
	}
}
.blurFadeIn {
	animation-name: blurFadeIn;
}

/* Slide + Fade In Animation */
@keyframes fadeSlideIn {
    from {
      opacity: 0;
      transform: translate(0, 50px);
    }
    to {
      opacity: 1;
      transform: translate(0, 0);
    }
  }
  
  /* Class to apply animation */
  .fadeSlideIn {
    animation: fadeSlideIn 1.2s ease forwards;
  }