
#wrapper.top{
    background: #1f2535 url(../images/top/top-mv_bg.webp) center top / cover no-repeat fixed;
    background: #1f2535;
    padding: 0;
}
.top-footer{
    background: #1f2535 url(../images/top/top-mv_bg.webp) center top / cover no-repeat fixed;
    position: relative;
    z-index: 10;
}

#main-visual{
    position: relative;
    height: 320dvh;
    overflow: clip;
}
#main-visual .main-visual__bg{
    z-index: 1;
    height: 100dvh;
    aspect-ratio: 1512 / 1225;
    width: 100%;
    position: sticky;
    top: 0;
}
#main-visual .main-visual__image{
    z-index: 2;
    height: 100dvh;
    position: sticky;
    aspect-ratio: 1512 / 1225;
    width: 100%;
    top: 0;
    opacity: 0;
}
#main-visual .main-visual__image.fixed{
    position: fixed;
}
#main-visual .main-visual__bg img,
#main-visual .main-visual__image img{
    position: absolute;
    width: 100%;
    top: 0;
    aspect-ratio: 1.03349;
    max-height: 100%;
    object-fit: cover;
    object-position:center;
    transition: top 0.3s ease;
}
/*
@media screen and (max-height: 1000px){
    #main-visual .main-visual__bg img,
    #main-visual .main-visual__image img{
        top: -10%;
    }
}
*/
#main-visual .main-visual__image.visible { opacity: 1; transform: scale(1); }

#main-visual .main-visual__content{
  position: absolute;
  bottom: 50dvh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  /*
  margin-top: -60vh;
  padding-top: 150vh;
  */
  width: 90%;
  max-width: 1200px;
}
#main-visual .main-visual__copy{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    transition: top 0.6s ease, opacity 1s ease;
    z-index: 10;
    left: 0;
    right: 0;
    font-weight: 400;
    font-size: clamp(60px, 9.000px + 6.641vw, 94px);
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.3);
    visibility: visible;
    opacity: 1;
    pointer-events: none;
}
#main-visual .main-visual__copy.position_top{
    top: calc(10% + 75px);
}
#main-visual .main-visual__copy.position_top.fade_out{
    opacity: 0;
}
#main-visual .main-visual__text{
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: bold;
    font-size: 32px;
    line-height: 1.888;
    color: #E5E7F3;
}
#main-visual .main-visual__ex{
    margin-top: 63px;
}
#main-visual .main-visual__ex p{
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: bold;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.9;
    letter-spacing: -0.02em;
    color: #ECECEC;
}
#main-visual .main-visual__ex a{
    color: var(--main-accent-color);
    background: #fff;
    padding: 20px 28px;
    width: 280px;
    text-align: center;
    display: inline-block;
    font-family: var(--font-btn);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    margin: 80px 0 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

#collection{
    overflow: visible;
}
#collection,
#bridal,
#ordermade{
     position: relative;
}

#bridal{
    background: url(../images/bridal/bridal-hero-bg.jpg) center / 100% 100% no-repeat;
}
#ordermade{
    background: url(../images/ordermade/ordermade-hero-bg.jpg) center / 100% 100% no-repeat;
}

.contents-wrap{
    position: sticky;
    top: 0;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.contents-wrap__text{
    /*
    width: calc(100% - 620px);
    */
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    padding: 9.3rem 0 0;
    color: var( --gray-text-color);
}
.contents-wrap__link_wrap{
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.contents-wrap__text h3{
    font-weight: 400;
    font-size: 56px;
    line-height: 1.25;
    letter-spacing: 0.05em;
    text-box-edge: unset;
    text-box-trim: unset;
}
.contents-wrap__text p{
    margin: 31px 0 0;
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: -0.02em;
    color: #000000;
    min-height: 15.2rem;
}
.contents-wrap__text a{
    margin: 66px 0 0;
    display: inline-block;
}
.contents-wrap__image{
    width: 620px;
    aspect-ratio: 1;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.collection-title,
.collection-desc,
.collection-image {
  transition: opacity 0.6s ease;
}
#collection {
  position: relative;
    z-index: 10;
}

.collection-bg {
      position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  background-size: cover;
  background-position: center;
  margin-bottom: -100dvh;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.collection-bg--b {
  opacity: 0;
}

.contents-wrap {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contents-wrap__inner {
  position: absolute;
  width: 100%;
  transition: opacity 0.8s ease;
  /*
  display: flex;
  align-items: center;
  justify-content: center;
  */
  display: grid;
  grid-template-columns: 1fr 620px;
  grid-template-rows: auto 1fr;
  gap: 56px 0px;
  opacity: 1;
  align-items: unset;
  pointer-events: none;
}
/* リンクなどクリックが必要な要素は個別に戻す */
.contents-wrap__inner a,
.contents-wrap__inner button {
  pointer-events: auto;
}
.collection-link.btn{
}

.contents-wrap__inner--b {
  opacity: 0;
}


#store{
    height: calc(100vh + 192px);
    max-height: 992px;
    position: relative;
    z-index: 10;
}
#store .store-image{
    position: relative;
    height: 100%;
    z-index: 1;
}
#store .store-image img{
    width: 100%;
    height: calc(100% - 192px);
    object-fit: cover;
    object-position: top;
}
#store .store-box{
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 30px);
    opacity: 0;
    transition: opacity 1.5s ease, transform 0.7s ease;
    background: url(../images/top/store_bg.png) center top / 100% 100% no-repeat;
    width: clamp(330px, 179.237px + 40.204vw, 488px);
    aspect-ratio: 661 / 533;
    width: 661px;
    padding: 65px 0 0;
    text-align: center;
}
#store .store-box.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#store .store-box h3{
    font-size: 58px;
    line-height: 1.25;
    letter-spacing: 0.05em;
    color: var(--gray-text-color);
    text-box-edge: unset;
    text-box-trim: unset;
}
#store .store-box p{
    margin: 28px 0 0;
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 34px;
    letter-spacing: -0.02em;
    color: #000000;
}
#store .store-box a{
    display: block;
    margin: 107px auto 0;
    width: 280px;
}
#store .store-box a + a{
    margin: 39px auto 0;
}


#news{
    /*
    background: #D0D2E0;
    */
    padding: 0 0 120px;
}
#news h3{
    font-weight: 400;
    font-size: 58px;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0.05em;
    color: #fff;
    padding: 120px 0 0;
    text-box-edge: unset;
    text-box-trim: unset;
}
#news .news-list{
    margin: 33px auto 0;
    max-width: 1200px;
    width: 90%;
}
#news .news-list > * + *{
    margin: 5px 0 0;
}
#news .news-list__item{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 55px;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 32px 44px;
}
#news .news-list__title{
    width: 120px;
    font-size: 12px;
    line-height: 1.71;
}
#news .news-list__title span{
    padding: 7.5px 36.5px;
    max-width: 120px;
    background: var(--main-accent-color);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 2.1;
    text-align: center;
    color: #FFFFFF;
    display: block;
    margin: 0 0 20px;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}
#news .news-list__text{
    width: calc(100% - 175px);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.875;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}
#news .news-link{
    text-align: center;
    margin: 66px 0 0;
}


#pickup{
    padding: 84px 0 120px;
    background: #fff;
}
#pickup h3{
    font-weight: 400;
    font-size: 58px;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0.05em;
    color: var( --gray-text-color);
    text-box-edge: unset;
    text-box-trim: unset;
}
#pickup .pickup-text{
    margin: 14px 0 0;
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.9;
    text-align: center;
}
#pickup .pickup-list{
    margin: clamp(33px, -0.973px + 4.424vw, 66px) 0 0;
}
#pickup .pickup-list ul{
    display: flex;
    flex-wrap: wrap;
    gap: 39px;;
    justify-content: center;
}
#pickup .pickup-list li{
    width: 270px;
    border-radius: 8px;
    overflow: hidden;
}
#pickup .pickup-list img{
    width: 100%;
    aspect-ratio: 0.74380;
    object-fit: cover;
}
#pickup .pickup-link{
    display: flex;
    justify-content: center;
    gap: 30px 111px;
    text-align: center;
    margin: 66px 0 0;
}
#pickup .pickup-link a{
    display: block;
}
#pickup .pickup-link p{
    margin: 10px 0 0;
    font-family: var(--font-en);
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.75;
}


/* sp */
@media screen and (max-width: 1280px){

    .contents-wrap__inner{
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }
    .contents-wrap__image,
    .contents-wrap__text{
        width: 100%;
    }
    .contents-wrap__text{
        padding: clamp(30px, -60.000px + 11.719vw, 90px) 0 0;
    }
    .contents-wrap__text h3{
        font-size: clamp(46px, 31.000px + 1.953vw, 56px);
    }
    #store{
        height: calc(100vh + 180px);
    }
    #store .store-image img{
        height: calc(100% - 180px);
    }

}

/* tablet */
@media screen and (max-width: 1199px){
    #main-visual .main-visual__bg img, #main-visual .main-visual__image img{
        bottom: unset;
        top :0;
        height: 100%;
        max-height: unset;
    }
}
/* sp */
@media screen and (max-width: 767px){
    #wrapper.top {
        padding: 0;
    }
    #main-visual .main-visual__image,
    #main-visual .main-visual__bg{
        top: 0;
        height: 100dvh;
    }
    #main-visual .main-visual__bg{
        display: none;
    }
    #main-visual .main-visual__image img,
    #main-visual .main-visual__bg img{
        aspect-ratio: unset;
        width: 100%;
        height: auto;
        max-height: unset;
        position: static;
        bottom: unset;
    }
    #main-visual .main-visual__copy{
        text-align: left;
        font-size: 54px;
        top: 50%;
        left: 5%;
        padding-top: 10%;
    }
    #main-visual .main-visual__copy.position_top{
        top: calc(15% + 70px);
    }
    #main-visual .main-visual__copy span{
        font-size: 46px;
    }
    #main-visual .main-visual__content{
        left: 0;
        transform: unset;
        padding: 0 5%;
    }
    #main-visual .main-visual__text{
        top: 17.5%;
        font-weight: 500;
        bottom: unset;
    }
    #main-visual .main-visual__text h3{
        font-size: 26px;
    }
    #main-visual .main-visual__ex{
        top: 37.5%;
        bottom: unset;
        right: 5%;
        margin: 77px 0 0;
    }
    #main-visual .main-visual__ex p{
        font-size: 16px;
    }
    #main-visual .main-visual__ex a{
        margin: 50px 0 0;
        width: 100%;
        font-size: 16px;
    }
    .collection-bg{
        height: 100dvh;
        top: 0;
        margin-bottom: -100dvh;
    }

    #collection{
    }
    .contents-wrap__inner {
        display: flex;
        margin-top: 70px;
        gap: 0;
    }
    .contents-wrap__inner,
    .contents-wrap{
        top: 0px;
        gap: 0;
        justify-content: center;
        flex-wrap: wrap;
    }
    .contents-wrap{
        height: 100dvh;
    }
    .contents-wrap__text{
        width: 100%;
        padding: 0;
        order: 1;
        min-height: 220px;
    }
    .contents-wrap__text h3{
        font-size: 46px;
        text-align: center;
    }
    .contents-wrap__text p{
        font-size: 16px;
        margin: 30px 0 0;
        min-height: 122px;
    }
    .contents-wrap__image{
        order: 2;
        width: 95%;
    }
    .contents-wrap__link_wrap{
        order: 3;
        width: 100%;
    }
    .collection-link{
        display: block;
        margin: 20px auto 0;
    }
    #store{
        height: calc(100dvh + 388px);
    }
    #store .store-box {
        padding: 78px 0 20px;
        border-radius: 45vw 45vw 0 0;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 70%, rgba(255, 255, 255, 0));
        aspect-ratio: unset;
        width: calc( 100% - 96px);
    }
    #store .store-box h3{
        font-size: 46px;
        line-height: 1.2;
        text-box-trim: trim-both;
        text-box-edge: cap alphabetic;
    }
    #store .store-box p{
        font-size: 16px;
        line-height: 1.88;
        text-align: left;
        padding: 0 25px;
        margin: 89px 0 0;
    }
    #store .store-image img{
        width: 100%;
        height: calc( 100% - 388px);
        object-position: top;
    }
    #store .store-box a{
        margin: 40px auto 0;
        width: 28rem;
    }
    #news{
        padding: 90px 0 80px;
    }
    #news h3{
        font-size: 4.6rem;
        line-height: 1.1;
        padding: 0;
    }
    #news .news-list__title,
    #news .news-list__text{
        width: 100%;
    }
    #news .news-list__title{
        text-align: center;
    }
    #news .news-list__title span{
        margin: 0 auto 1.65rem;
        line-height: 1.5;
    }
    #news .btn{
        width: 90%;
    }
    #news .news-list > * + *{
        margin: 1.5rem 0 0;
    }
    #news .news-list__item{
        padding: 3.2rem 3rem;
    }

    #pickup{
        padding: 60px 0 40px;
    }
    #pickup h3 {
        font-size: 44px;
        text-box-trim: trim-both;
        text-box-edge: cap alphabetic;
    }
    #pickup .pickup-text{
        margin: 37px 0 0;
        font-size: 16px;
    }
    #pickup .pickup-list{
        margin: 28px 0 0;
    }

}
/* SE */
@media screen and (max-width: 376px){
    .contents-wrap__inner,
    .contents-wrap{
        top: 0;
    }
    .contents-wrap__image {
        width: 80%;
    }
    .contents-wrap__text{
        min-height: 200px;
    }
    #store{
    }
    #store .store-box a + a,
    #store .store-box a{
        margin: 20px auto 0;
        width: calc(100% - 50px);
    }
}
