/*  index
-------------------------------------------------
    - html,body
    - main
    - header
    - section
    - new class
-------------------------------------------------*/


body .wrapper {

    background: #000;

}


main {
    overflow: hidden;
    max-width: 1920px;
    min-width: 1024px;
    margin: auto;
    animation: blur .8s ease-out 0s 1 both;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;


    background-image: url(../images/repeat.jpg);
    background-image:
        image-set(url(../images/repeat.webp) type("image/webp"),
        url(../images/repeat.jpg) type("image/jpeg"));

    background-position: center calc(100vw * (1380 / 1920));
    background-size: 100%;


}


@media screen and (min-width: 1921px) {
    main {
        background: url(../images/repeat.jpg) center 34vw /100% repeat;
    }
}

@media screen and (max-width: 960px) {
    main {
        background: url(../images/repeat.jpg) center 52vw /100% repeat;
    }
}

@media screen and (max-width: 850px) {
    main {
        background: url(../images/repeat.jpg) center 55vw /100% repeat;
    }
}

@media screen and (max-width: 767px) {
    main {


        background: url(../images/mobile_02.jpg) center 55vw /100% repeat;
        width: 100%;
        min-width: initial;
    }
}





/*-----------------------------------------------
    header
-----------------------------------------------*/
header {
    aspect-ratio: 1920 / 1380;


    background-image: url(../images/index_01.jpg);
    background-image:
        image-set(url(../images/index_01.webp) type("image/webp"),
        url(../images/index_01.jpg) type("image/jpeg"));

    background-position: center 100%;
    background-size: 100%;
    background-repeat: no-repeat;




}




.opening-pos {
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 6rem;
    left: 1rem;

}

@media screen and (max-width:768px) {
    header {

    background-image: url(../images/mobile_01.jpg);
    background-image:
        image-set(url(../images/mobile_01.webp) type("image/webp"),
        url(../images/mobile_01.jpg) type("image/jpeg"));

    background-position: center 0;
    background-size: 100%;
    background-repeat: no-repeat;



        aspect-ratio: 768 / 1400;
    }

    .opening-pos {

        top: 3rem;

    }
}


/*-----------------------------------------------
    section
-----------------------------------------------*/
section {
    display: flow-root;
    width: 100%;
    text-align: justify;
    /*! min-height: 715px; */
}


.area01 {

    margin: -7% 0 0 0;

}

@media screen and (max-width: 768px) {
    .area01 {
        background: transparent;
        aspect-ratio: auto;

    }

}

/*-----------------------------------------------
    card
-----------------------------------------------*/


.card_ {

    position: relative;
    max-width: 1046px;
    top: 0;
    left: 0;

    background-image: url(../images/card-bg.png);
    background-image:
        image-set(url(../images/card-bg.webp) type("image/webp"),
        url(../images/card-bg.png) type("image/png"));

    background-position: center 0;
    background-size: 100%;
    background-repeat: no-repeat;


    aspect-ratio: 1046/528;
    width: 100%;
    right: 0;
    margin: 5% auto 3%;
    border-radius: 20px;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.4),
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 45px 90px rgba(0, 0, 0, 0.85);
    min-width: 800px;
}

.card-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;

    background-image: url(../images/card-cover.png);
    background-image:
        image-set(url(../images/card-cover.webp) type("image/webp"),
        url(../images/card-cover.png) type("image/png"));

    background-position: center 0;
    background-size: 100%;
    background-repeat: no-repeat;

    z-index: 10;

}

.card-cover a {
    cursor: default;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card_:hover .card-img,
.card_:hover .card-img-trigger {
    right: -24%;
    top: 0%;

}


.card-img,
.card-img-trigger {
    position: absolute;
    width: 70%;
    background: #fff;
    z-index: 1;
    right: -10%;
    top: 0%;
    cursor: pointer;
    aspect-ratio: 820/550;
    transition: all .3s ease;
    transform: rotate(-5deg);
}

.card-img-trigger {
    /*background: #48ab4591;*/
    background: transparent;
    z-index: 10;
    clip-path: polygon(23% 0, 100% 0%, 100% 100%, 63% 100%, 63% 48%, 23% 49%);
}



.img-more {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    background: url(../images/icon-plus.png) center 0 /100% no-repeat;
    right: -2rem;
    top: 0rem;
    transition: all .3s ease;

    cursor: pointer;
}

.card_:hover .img-more {
    right: 1.5rem;
    top: 1.5rem;
}




@keyframes corner-tremor {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
        right: -10%;
        top: 5%;
    }

    10%,
    50% {
        transform: translate3d(0, 0, 0) rotate(-5deg);
        right: -24%;
        top: 0%;
    }

    60%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
        ;
        right: -10%;
        top: 5%;
    }
}

.decro {
    position: absolute;
    max-width: 185px;
    height: 79px;
    right: 3%;
    bottom: 4%;
    background: url(../images/decro.png) center 0 /100% no-repeat;
    z-index: 10;
    width: 25%;
}

.card-img img {
    border: 15px solid #fff;
    border-radius: 5px;
}




@media screen and (max-width: 1600px) {

    .card_ {

        width: 85%;
        margin: 7% auto;
    }

    .card-img,
    .card-img-trigger {
        right: -8%;
    }

    .card_:hover .card-img,
    .card_:hover .card-img-trigger {
        right: -15%;
    }


}



@media screen and (max-width: 1400px) {

    .card_ {
        width: 80%;
        margin: 5% auto;

        left: -5%;
    }

    .card-img,
    .card-img-trigger {
        right: -16%;
    }

    .card_:hover .card-img,
    .card_:hover .card-img-trigger {
        right: -10%;
    }


}

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

    .card_ {

        width: 75%;
    }

    .card-img,
    .card-img-trigger {
        right: -17%;
    }

    .card_:hover .card-img,
    .card_:hover .card-img-trigger {
        right: -7%;
    }
}

@media screen and (max-width: 960px) {


    .card-img {
        right: -2%;
    }
}


@media screen and (max-width: 768px) {
    .card_ {
        position: relative;
        max-width: 703px;
        top: 0;
        left: 0;

        background-image: url(../images/card-bg-m.png);
        background-image:
            image-set(url(../images/card-bg-m.webp) type("image/webp"),
            url(../images/card-bg-m.png) type("image/png"));


        aspect-ratio: 703/1550;
        width: 100%;
        right: 0;
        margin: 5% auto 3%;
        border-radius: 20px;

        box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.4),
            0 25px 60px rgba(0, 0, 0, 0.6),
            0 45px 90px rgba(0, 0, 0, 0.85);
        min-width: initial;
    }

    .card-cover {


        background-image: url(../images/card-cover-m.png);
        background-image:
            image-set(url(../images/card-cover-m.webp) type("image/webp"),
            url(../images/card-cover-m.png) type("image/png"));

    }

    .card-img img {
        border: 10px solid #fff;
    }



    .card-img,
    .card-img-trigger {
        width: 100%;
        right: 4%;
        aspect-ratio: 820/610;
    }

    .card-img-trigger {
        clip-path: polygon(0 0, 100% 0%, 100% 44%, 49% 50%, 11% 100%, 0 100%);
    }

    .card_:hover .card-img,
    .card_:hover .card-img-trigger {
        right: 4%;

    }

    .decro {
        max-width: 185px;
        height: 22%;
        left: 3%;
        bottom: -6%;
        background: url(../images/decro-m.png) center 0 /100% no-repeat;
        z-index: 10;
        width: 23%;
    }

    .img-more {
        width: 1.3rem;
        height: 1.3rem;
        right: -2rem;
        top: 0.4rem;

    }

}



/*-----------------------------------------------
    run - 跑光效果
-----------------------------------------------*/

@keyframes run {
    0% {
        left: -300%;
        filter: brightness(2);
        opacity: 0.6;
    }

    30%,
    70% {
        left: 60%;
        filter: brightness(1);
        opacity: 0;
    }

    100% {
        left: -200%;
        filter: brightness(1);
        opacity: 0.2;
    }
}



/*usage: add "run-effect" to class in Html */
.run-effect {
    position: absolute;
    overflow: hidden;
    height: 100%;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    top: 0;
    left: 0;
}

.run-effect:after {
    position: absolute;
    top: -10%;
    right: -200%;
    z-index: 0;
    opacity: .2;
    width: 50%;
    height: 120%;
    color: #fff;
    content: '';
    transition: all 300ms;
    transform: skewX(40deg);
    animation: run 5s ease 0s infinite both;
    background: var(--gold);
    filter: brightness(.5);
    pointer-events: none;
}

.run-effect:hover:after {
    display: none;
}

/*-----------------------------------------------
    card-feature
-----------------------------------------------*/

.card-feature {
padding: 8% 0 0 10%;
  max-width: 65%;
  min-height: 17rem;
}


.card-feature ul {

    padding: 0 0 0 4%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: auto;
}

/* 預設隱藏線條 */
.card-feature ul:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8%;
    width: 1px;
    height: 0%;
    background: var(--gold);
    transform-origin: top;
}
.card-feature ul:after {
content: '';
  position: absolute;
  left: -1px;
  bottom: 4%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 10px;
}

/* 當父層 .card 有了 .show，觸發內部的 ul:before 動畫 */
.card_.show .card-feature ul:before {
    animation: growLine 0.8s ease-out 0.3s forwards;
}

@keyframes growLine {
    from {
        /*transform: scaleY(0);*/
        height: 0%;
    }

    to {
        /*transform: scaleY(1);*/
        height: 83%;
    }
}

.card-feature ul li {
    font-size: var(--fs-xs);
    letter-spacing: 0.05rem;
    margin: 7px 0 0 0;
    line-height: 1.8;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-feature ul li:nth-child(1) {
    max-width: 90%;
}

.card-feature ul li:nth-child(2) {
    max-width: 85%;
}

.card-feature ul li::before {
    content: '';
    position: absolute;
    left: -32px;

    width: 20px;
    height: 25px;

    background-image: url('../images/icon-flower.png');
    background-size: 100%;
    /* 讓圖片完整顯示不變形 */
    background-repeat: no-repeat;
    background-position: 0 0;
}


/* 當滑鼠進入「整個 ul 區域」時，先把所有 li 變淡*/
.card-feature ul:hover li {
    opacity: 0.4;
    transform: scale(0.93);
    /*filter: blur(1px); */
}


/* 唯獨「被指著的那一個」要變亮、放大  */
.card-feature ul li:hover {
    opacity: 1 !important;
    transform: scale(1.05) translate3d(1%, 0, 0) !important;
    filter: blur(0px) !important;
    color: var(--gold2);
}

.card-feature ul li:hover::before {
    content: '';
    left: -27px;
    top: -4%;

    width: 25px;
    height: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

}


@media screen and (max-width: 1600px) {

    .card-feature ul li::before {
        content: '';
        left: -29px;
        width: 20px;
        height: 25px;
        top: -3px;
    }

    .card-feature ul li:hover {
        transform: scale(1.05) translate3d(1.5%, 0, 0) !important;

    }


}


@media screen and (max-width: 1280px) {
    .card-feature {
        padding: 7% 0 0 10%;
    }

    .card-feature ul li {

        margin: 5px 0 0 0;

    }

    .card-feature ul li:hover {
        transform: scale(1.05) translate3d(2%, 0, 0) !important;

    }
}

@media screen and (max-width: 768px) {
    .card-feature {
        padding: 14% 0 0 10%;
        position: relative;

        max-width: 93%;
        min-height: 18rem;
        height: 43%;
        margin-top: auto;
    }

    .card-feature ul li {
        font-size: var(--fs-s);
        letter-spacing: 0.05rem;
        margin: 6px 0 0 0;
        line-height: 1.5;
    }

    .card-feature ul li:nth-child(1) {
        max-width: 100%;
    }

    .card-feature ul li:nth-child(2) {
        max-width: 100%;
    }

    .card-feature ul {
        padding: 0 0 0 6%;
    }
  .card-feature ul li::before,.card-feature ul li:hover::before {
    content: '';
    left: -26px;
    top: -3px;
    width: 20px;
    height: 20px;
  }

  .card-feature ul:hover li {
        opacity: 1; /* 回復不透明 */
        transform: none; /* 取消縮放 */
    }

    .card-feature ul li:hover {
        opacity: 1 !important;
        transform: none !important;
        color: inherit; /* 回復原本顏色 */
    }



}

@media screen and (max-width: 375px) {
    .card-feature {
        height: 43%;
    }
    .is-line  .card-feature{
         padding: 13% 0 0 10%;
transform: scale(0.94);
min-height: 17rem;
    }
}


/*-----------------------------------------------
    card-info
-----------------------------------------------*/
.card-info {
padding: 1% 0 0 9%;
  font-size: var(--fs-2xs);
  letter-spacing: 0.05rem;
  line-height: 1.5;
  position: relative;
  color: var(--gold2);
  width: 80%;
  max-height: 5.6rem;
}
.card-depart{
    display: inline-block;
}

.no-detail {
    padding: 6% 0 0 9%;
}

.card-info ul {
    display: flex;

    max-width: 82%;
}


.card-info ul li {

    font-size: var(--fs-h2);
    margin: 0.5rem 0;
    padding: 0.2rem 0.5rem 5.2rem;
}

.card-info ul li.card-name {
    border: 0.1rem solid var(--gold2);
    font-size: var(--fs-h5);
    letter-spacing: 0.1rem;
    flex: 3;
    text-align: right;
}


.card-info ul.one-line li.card-name {
    font-size: var(--fs-h4);
    line-height: 4.2;
}


.card-info ul li.card-cost {

    color: #fff;
    background: var(--gold);
    font-size: var(--fs-2xs);


    flex: 2;
    padding: 2.76rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-detail {
position: relative;
  font-size: var(--fs-3xs);
  color: var(--white05);
  max-width: 100%;
  /*! height: 3rem; */
  /*! padding: 0 2.5%; */
  transition: all .3s ease;
  text-align: right;
  line-height: 1.5;
  /*background: var(--pale01);*/
  border-radius: 5px;
  z-index: 10;
  /*! color: var(--gold); */
}

.card-detail span {
    opacity: 0;
    width: 0;
    overflow: hidden;
    display: block;
    height: 0;
}

.card-detail::before {
    /*! content: ""; */
    position: absolute;

    top: -8px;
    /* 往下偏移，數值等於 border 寬度 */
    left: 44%;
    /* 距離左邊的距離，可自行調整 */

    border-style: solid;
    border-width: 0 6px 9px 6px;
    /* 順時針：上(0) 右(10) 下(10) 左(10) */
    border-color: transparent transparent var(--pale01) transparent;
    /* 只有「下」邊界是白色 */

}

.card-info span:hover .card-detail {

    /*! opacity: 1; */
    /*! top: 100%; */
}

.discount_ {
    font-size: var(--fs-h6);
    line-height: 1.6;
    letter-spacing: 0.1rem;
    position: relative;

}

.place_ {
    padding: 0 30px 0 22px;
    background: url(../images/icon-location.png) 0 96% /18px no-repeat;

    min-height: 18px;
    display: inline-block;
}

.date_ {
    padding: 0 22px 0 22px;
    background: url(../images/icon-clock.png) 0 96% /18px no-repeat;

    min-height: 18px;
    display: inline-block;
    max-width: 290px;
  white-space: nowrap;      /* 強制文字不換行 */
  overflow: hidden;         /* 隱藏超出範圍的內容 */
  text-overflow: ellipsis;  /* 超出部分顯示 ... */
  vertical-align: bottom;   /* 修正 inline-block 在設定 overflow 後的對齊問題 */
}

.card-info ul li>.cost_,
.discount_ .cost_,
.card-info ul li>.day_ {
    font-family: var(--font-family-eng);
    font-size: var(--fs-xl);
    font-style: italic;
    line-height: 2.8rem;
    margin: 0 0.6rem 0 0.1rem;
    letter-spacing: -0.04rem;
    font-weight: 300;

}

.discount_:before {
    content: '限定航次';
    letter-spacing: 0.1rem;
    top: -21px;
    left: 0;
    font-size: var(--fs-3xs);


    display: block;
    /*! line-height: 0; */
    margin: 2px 0 -7px 0;
}

.card-info ul li>.cost_ {

    margin: 0 0.5rem 0 0;
}
@media screen and (max-width: 768px) {
    .card-info {
        padding: 0;

        font-size: var(--fs-2xs);

        letter-spacing: 0.05rem;
        line-height: 1.5;
        position: relative;
        color: var(--gold2);
        width: 84%;
        max-height: 8rem;
        position: absolute;
        top: 39%;
        right: 7%;
    }
.card-info ul li.card-cost {
  font-size: var(--fs-2xs);
  padding: 0.5rem 1rem;
  text-align: right;
  display: block;
}
.card-info ul.one-line li.card-name {
  font-size: var(--fs-h4);
  line-height: 3.2;
}

    .is-line  .card-info {
top: 36%;
    }


.date_ {

  /*! max-width: 350px; */
  /*! flex: 21; */
max-width: 260px;
  order: 3;
  padding: 0 2px 0 22px;
}
    .card-info ul {
        display: flex;
        max-width: 100%;
        flex-direction: column;
    }

    .card-info ul li {

        margin: 0;
        padding: 0 5% 0 0;
        text-align: right;
    }

    .card-info ul li.card-name {

        margin: 5px 0 0 0;
        line-height: 2.2;
    }

    .card-depart {
        text-align: right;
        width: 100%;
        display: flex;
    flex-wrap: wrap;

        /*! display: flex; */
        justify-content: right;
        /*! align-items: center; */
    }

    .place_ {
        padding: 0 3px 0 22px;
        order: 2;

    }

    .card-detail {
        /*! max-width: 100%; */
        /*! font-size: var(--fs-xs); */
        /*! padding: 0.15rem 1rem 0.8rem; */
        /*! left: 0; */
        /*! color: var(--gold); */


        margin: -3px 0 3px 0;
    }

    .is-line  .card-detail{
transform: scale(0.9);
    }

    .card-info span:hover .card-detail {
        top: 103%;

    }

}



/*-----------------------------------------------
    card-tag
-----------------------------------------------*/
.card-tag {
position: absolute;
  left: 10%;
  color: #fff;
  font-size: var(--fs-2xs);
  letter-spacing: 0.1rem;
  top: 5%;
  background: var(--gold);
  padding: 0.1rem 0.7rem;
  line-height: 1.5;
}


@media screen and (max-width: 768px) {

    .card-tag {

        top: 30%;

        left: 33%;
    }
}



/*-----------------------------------------------
    bell
-----------------------------------------------*/
.bell {
    position: absolute;
    right: 0;
    top: -20%;
    width: 170px;
    height: 200px;
    cursor: pointer;
    display: block;
  float: none;
  z-index: 999;

}
.bell_btn::after {
  content: "";
  position: absolute;
  white-space: nowrap;
  opacity: 0;
}

.circle {
    animation: circle 5.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0s both infinite;
}

.circle2 {
    animation: circle 5.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s both infinite;
}

.circle3 {
    animation: circle 5.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s both infinite;
    position: absolute;
    top: 0;
    left: 0;
}

.top-bell {
position: absolute;
  right: -48%;
 top: -104%;
  width: 170px;
  height: 200px;
  cursor: pointer;
}

.top-bell:after {
    content: '';
    width: 3.5rem;
    height: 2.5rem;

    background: rgb(78, 11, 11);
    filter: blur(10px);
    position: absolute;
    bottom: -2rem;
    left: 0rem;


    opacity: 0.9;
    z-index: 0;
}


.top-bell>.bell-effect {
    position: absolute;
    left: -3%;
    top: 23%;
    transform: scale(0.6);
}

.bell-effect {
    width: calc(425px / 5);
    /* 每格 85px */
    height: 230px;

    background-image: url(../images/bell-effect.png);
    background-image:
        image-set(url(../images/bell-effect.webp) type("image/webp"),
        url(../images/bell-effect.png) type("image/png"));




    /* 總時長改為 5s (3s 動畫 + 2s 停留) */
    animation: img-animation 6s infinite;
    position: absolute;
    left: -6%;
    top: -4%;
    transform: scale(0.6);
    z-index: 10;
}

@keyframes img-animation {

    /* --- 第一遍動畫 (0s - 1s) --- */
    0% {
        background-position: 0;
        filter: brightness(1.8) blur(0px);
        animation-timing-function: steps(5);
    }

    25% {
        background-position: -425px;
    }

    /* --- 第二遍動畫 (1s - 2s) --- */
    25.01% {
        background-position: 0;
        filter: brightness(1.8) blur(0px);
        animation-timing-function: steps(5);
    }

    50% {
        background-position: -425px;
    }

    /* --- 停留階段 (2s - 4s) --- */
    50.01%,
    100% {
        filter: brightness(1.2) blur(0px);
        background-position: 0;
        /* 停在第一幀，若要停在最後一幀改為 -340px */
    }

    /*    0% {
        background-position: 0;
        filter: brightness(1.2) blur(0.2px);
        animation-timing-function: steps(5);
    }

    30% {
        background-position: -425px;
        filter: brightness(1.8) blur(0px);
    }

    100% {
        background-position: -425px;
        filter: brightness(1.2) blur(0px);
    }*/
}


.bell-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: 50%;
    animation: circle 5.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0s both infinite;
    backface-visibility: visible;
    background: url(../images/bell-circle.png) center 0 /100% no-repeat;


}

.top-bell>.bell-circle {

    background: url(../images/top-bell-circle.png) center 0 /100% no-repeat;
}

@keyframes circle {

    /*    0% {
        clip-path: polygon(49% 0, 76% 0, 100% 0, 0 39%);
    }

    50%,
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);

    }*/
    0% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 0deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 0deg);
    }

    30% {
        /* 蓄力：稍微往後仰 20 度 */
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    }

    100% {
        /* 衝刺：轉完完整一圈 (360 度) */
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 360deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 360deg);
    }
}

@keyframes circle2 {
    0% {
        clip-path: polygon(16% 0, 21% 100%, 0 100%, 0 0);
        /*clip-path: polygon(0 0, 0 0, 100% 0, 0 39%);*/
    }

    50%,
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);

    }
}

.bell-month {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #fff;
    font-size: var(--fs-h3);
    font-style: italic;
    font-family: var(--font-family-eng);
    /*    position: absolute;
    width: 36%;
    height: 2rem;
    top: 15%;
    left: 22%;
    color: #fff;
    font-size: var(--fs-h3);
    font-style: italic;
    font-family: var(--font-family-eng);*/
    margin: 0 0 0 -11%;
    padding: 20% 0 0 0;
}

.bell-date {

    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #fff;
    font-size: var(--fs-l);
    font-style: italic;
    font-family: var(--font-family-eng);
    margin: 0 0 0 12%;
    padding: 29% 0 0 0;
}

@media screen and (max-width: 1800px) {


    .top-bell {
        transform: scale(0.9) translate3d(-10%, -8%, 0);
    }

}

@media screen and (max-width: 1600px) {
    .bell {
        transform: scale(0.85) translate3d(5%, -11%, 0);
    }

    .top-bell {
        transform: scale(0.8) translate3d(-24%, -11%, 0);
    }

}

@media screen and (max-width: 1440px) {
    .bell {

        transform: scale(0.8) translate3d(4%, -11%, 0);
    }

    .top-bell {
        transform: scale(0.8) translate3d(-32%, -11%, 0);
    }

}

@media screen and (max-width: 1280px) {
    .bell {

        transform: scale(0.75) translate3d(15%, -21%, 0);
    }

    .top-bell {
        transform: scale(0.75) translate3d(10%, -11%, 0);
    }

}


@media screen and (max-width: 768px) {
    .top-bell {
        transform: scale(0.7) translate3d(0%, 0%, 0);
        top: 3vh;
    }

    .bell {
        right: -13%;
        top: -200%;
        width: 170px;
        height: 200px;
        transform: scale(0.75) translate3d(0%, 0%, 0);
    }

}

@media screen and (max-width: 480px) {

    .top-bell {
        transform: scale(0.7) translate3d(0%, -2%, 0);
        top: -5vh;
    }
    .bell {
 right: -10%;
    top: -151%;
    width: 170px;
    height: 200px;
    transform: scale(0.75) translate3d(0%, 0%, 0);
    }

    .is-line  .bell {
    right: -17%;
    top: -136%;
    width: 170px;
    height: 200px;
    transform: scale(0.6) translate3d(0%, 0%, 0);
  }

}

@media screen and (max-width: 375px) {
    .bell {
right: -10%;
    top: -146%;
    width: 170px;
    height: 200px;
    transform: scale(0.7) translate3d(0%, 0%, 0);
    }
}

/*-----------------------------------------------
    box
-----------------------------------------------*/

.box-content {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: 0;
    padding: 10px;
    z-index: 2;
    width: 100%;
    height: 70vh;
    max-width: initial;
    border-radius: 5px;
    transition: all .3s ease;
    transform: translate(-50%, -50%);
    background: transparent;
}

.df-mask {
    z-index: 0;
}


.df-close {
    display: inline-block;
    position: absolute;
    top: -40px;
    right: 40px;
    z-index: 10;
    opacity: 1;
    width: 35px;
    height: 35px;
    cursor: pointer;
    overflow: hidden;
    transition: all .5s;
    transform-origin: 50% 50%;
}

@media screen and (max-width: 768px) {

    .df-close {
        top: 5px;
        right: 15px;
        width: 35px;
        height: 35px;
    }

    .box-content {
        height: 90vh;
    }
}


/*-----------------------------------------------
    df-gotop
-----------------------------------------------*/

.gotop {
    display: none;
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 99;

    width: 2rem;
    height: 2rem;
    border-radius: 100px;
    box-sizing: border-box;

    background: #000;
    color: #fff;

    cursor: pointer;
    opacity: 0.7;

    transform: scale(1);
    transform-origin: 50%;
    transition: all 0.3s ease;
}

.gotop::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.5rem;
    margin: auto;

    width: 0.6rem;
    height: 0.6rem;

    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;

    transform: rotate(-45deg);
    box-sizing: border-box;
    display: block;
}


/*-----------------------------------------------
    title
-----------------------------------------------*/

.title {
    margin: 5% 0 0 5%;
    width: 30%;
    max-width: 370px;
}

.title01 {
    margin: 15% 0 0 5%;

}

@media screen and (max-width: 1400px) {

    .title {
        width: 25%;
    }
}

@media screen and (max-width: 768px) {
    .title {
        width: 100%;
        margin: 23% auto 11%;
        /*! display: none; */
    }
}

/*-----------------------------------------------
    btn-more
-----------------------------------------------*/
.btn-more {
    --line-height: 124px;
    width: 30%;
    max-width: 414px;
    height: calc(var(--line-height) + 1rem);
    color: #000;
    background: url(../images/btn-more.png) center 0 /100% no-repeat;
    text-align: center;
    line-height: var(--line-height);
    text-indent: 1%;
   text-shadow:
        1px -0.5px 0 #C9833D, -1px 0px 0 #FFECA8, 1px 0px 0 #A47443, 0.5px 1px 0 #e3cc67, 0 1px 1px #FF9B30;
    font-size: var(--fs-h5);
    transition: all .3s ease;
    letter-spacing: 0.1rem;

    display: block;
    margin-left: auto;
    margin-right: 0;
    margin-top: 5%;
    margin-bottom: 2%;
    z-index: 5;
    position: relative;
        font-weight: 500;
    /*! text-shadow: 1px -1px 0 #C9833D, -1px 0px 0 #FFECA8, 1px 0px 0 #A47443, 1px 1px 0 #e3cc67, 0 1px 0px #FF9B30; */
}

.btn-more:hover {
    text-indent: -6%;
    letter-spacing: 0.2rem;
}


@media screen and (max-width: 1280px) {
    .btn-more {
        --line-height: 110px;
    }

}


@media screen and (max-width: 768px) {

    .btn-more {
        --line-height: 126px;
        width: 77%;
        max-width: 414px;
        height: calc(var(--line-height) + 1rem);
        color: #000;
        text-align: center;
        line-height: var(--line-height);
        font-size: var(--fs-h4);
        transition: all .3s ease;
        letter-spacing: 0.1rem;
        display: block;

        margin: 0 auto;
    }
}


@media screen and (max-width: 480px) {

    .btn-more {
        --line-height: 80px;
        width: 65%;
        max-width: 414px;
        height: calc(var(--line-height) + 0rem);
        color: #000;
        text-align: center;
        line-height: var(--line-height);
        font-size: var(--fs-h5);
        transition: all .3s ease;
        letter-spacing: 0.1rem;
        display: block;
        margin: 0 auto;
        text-indent: -7%;
    }
}


@media screen and (max-width: 376px) {
    .btn-more {
--line-height: 77px;
    font-size: var(--fs-h6);
    }
}

@media screen and (max-width: 325px) {
    .btn-more {
--line-height: 77px;
    }
}


/*-----------------------------------------------
    opening
-----------------------------------------------*/

.opening {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
        position: fixed;

    display: flex;
    justify-content: center;
    align-items: center;
    animation: opening 4s ease-out 0s 1 both;
    background: radial-gradient(circle, #cf3133 0%, #991214 20%, #3a070b 100%);

    pointer-events: none;
}

@keyframes opening {

    0%,
    80% {
        opacity: 1;


    }

    100% {
        opacity: 0;
    }

}



.sl {
    position: absolute;
    max-width: 650px;
    width: 35%;
    height: 280px;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    z-index: 100;
    animation: sl 3.5s cubic-bezier(0.230, 1.000, 0.320, 1.000) 0s 1 both;
    pointer-events: none;
}

@keyframes sl {

    0%,
    80% {
        left: 50%;
        top: 60%;

        transform: translate(-50%, -50%) scale(1);
    }

    100% {

        top: 51%;
        left: 20%;


        transform: translate(-50%, -50%) scale(0.9);
    }

}
@keyframes sl-b {

    0%,
    85% {
        left: 50%;
        top: 60%;

        transform: translate(-50%, -50%) scale(1);
    }

    100% {

        top: 45%;
        left: 25%;


        transform: translate(-50%, -50%) scale(0.9);
    }

}


.sl>div {
    position: absolute;
    width: 100%;
    height: 100%;

    top: 0;
    left: 0;
    transform-origin: 0%;
}

.sl-01 {
    background: url(../images/sl/sl-01.png) 0 0 /100% no-repeat;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: left 2.3s ease-in-out 0.1s both;
}

.sl-02 {
    background: url(../images/sl/sl-02.png) 0 0 /100% no-repeat;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: up 2.3s ease-out 01.2s forwards;
}

.sl-03 {
    background: url(../images/sl/sl-03.png) 0 0 /100% no-repeat;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: left 2.3s ease-out 0.8s forwards;
}

.sl-04 {
    background: url(../images/sl/sl-04.png) 0 0 /100% no-repeat;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: left 2.3s ease-in-out 0.5s forwards;

}

.sl-05 {
    background: url(../images/sl/sl-05.png) 0 0 /100% no-repeat;
    clip-path: polygon(56% 42%, 100% 85%, 100% 100%, 53% 100%);
    animation: left 2.3s ease-out 0.4s forwards;

}

@keyframes round {
    0% {
        clip-path: polygon(0 0, 23% 0, 41% 46%, 0 26%);
    }

    50% {
        clip-path: polygon(0 0, 74% 0, 80% 74%, 0 52%);
    }

    70% {
        clip-path: polygon(0 0, 100% 0, 80% 74%, 0% 100%);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

@keyframes left {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

@keyframes up {
    0% {
        clip-path: polygon(0 93%, 100% 88%, 100% 100%, 0% 100%);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

@keyframes sl-m {

    0%,
    85% {
        top: 48vh;

        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        top: 87%;

        transform: translate(-50%, -50%) scale(0.9);
    }

}

@keyframes sl-m2 {

    0%,
    85% {
        top: 48vh;

        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        top: 88vh;

        transform: translate(-50%, -50%) scale(0.9);
    }

}

@media screen and (min-width: 1921px) {
.sl {

    animation: sl-b 3.5s ease-out 0s 1 both;
}
}


@media screen and (max-width: 768px) {

.sl {
    width: 90%;
    height: 25%;
    left: 50%;
    top: 60%;
    animation: sl-m 3.5s cubic-bezier(0.230, 1.000, 0.320, 1.000) 0s 1 both;

}
}
@media screen and (max-width: 340px) {
  .sl {

    animation: sl-m2 3.5s cubic-bezier(0.230, 1.000, 0.320, 1.000) 0s 1 both;
  }
}



/*-----------------------------------------------
    door
-----------------------------------------------*/


.door{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;

    z-index: 0;
    overflow:hidden;



    max-width: 1920px;
    margin: auto;
    right: 0;
    pointer-events: none;
}

.door >.left{
    position: absolute;
    width: 50%;
    height: 100%;

    top: 0;
    left: 0;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center 0 ;

    background-image: url(../images/door_01.png);
    background-image:
        image-set(url(../images/door_01.webp) type("image/webp"),
        url(../images/door_01.png) type("image/png"));

    background-position: center 0;
    background-size: 100%;
    background-repeat: no-repeat;





}

.door >.right{
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 0;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

        background-image: url(../images/door_02.png);
    background-image:
        image-set(url(../images/door_02.webp) type("image/webp"), url(../images/door_02.png) type("image/png"));

    background-position: center 0;
    background-size: 100%;
    background-repeat: no-repeat;


}


@media screen and (max-width: 768px) {

.door{
    display: none;
}
}




/*-----------------------------------------------
    pre
-----------------------------------------------*/
.pre{
    --start-delay: 3.6s;

    position: absolute;
    font-size: var(--fs-p);
    color: #fff;
    left: 34%;
    top: 25%;

    text-align: right;
    letter-spacing: 0.1rem;
}


/* 設定每一行 div 的基本樣式，確保 text-align 生效 */
.pre01, .pre02, .pre03 {
    display: block;
    width: 100%;
}

/* 所有文字 span 的基礎動畫設定 */
.pre span {
    display: inline-block; /* 必須為 inline-block 才能套用 transform 效果 */
    opacity: 0; /* 初始隱藏 */
    animation: blurryDrop 0.5s ease-out forwards;
}

/* 第一行：從 --start-delay (4s) 開始 (第1到6個字) */
.pre01 span:nth-child(1) { animation-delay: calc(var(--start-delay) + 0.0s); }
.pre01 span:nth-child(2) { animation-delay: calc(var(--start-delay) + 0.1s); }
.pre01 span:nth-child(3) { animation-delay: calc(var(--start-delay) + 0.2s); }
.pre01 span:nth-child(4) { animation-delay: calc(var(--start-delay) + 0.4s); }
.pre01 span:nth-child(5) { animation-delay: calc(var(--start-delay) + 0.3s); }
.pre01 span:nth-child(6) { animation-delay: calc(var(--start-delay) + 0.5s); }
.pre01 span:nth-child(7) { animation-delay: calc(var(--start-delay) + 0.6s); }

/* 第二行：比第一行慢2秒 (從 6s 開始) (第1到7個字) */
.pre02 span:nth-child(1) { animation-delay: calc(var(--start-delay) + 0.7s); }
.pre02 span:nth-child(2) { animation-delay: calc(var(--start-delay) + 0.8s); }
.pre02 span:nth-child(3) { animation-delay: calc(var(--start-delay) + 0.9s); }
.pre02 span:nth-child(4) { animation-delay: calc(var(--start-delay) + 1.1s); }
.pre02 span:nth-child(5) { animation-delay: calc(var(--start-delay) + 1.0s); }
.pre02 span:nth-child(6) { animation-delay: calc(var(--start-delay) + 1.2s); }
.pre02 span:nth-child(7) { animation-delay: calc(var(--start-delay) + 1.3s); }
.pre02 span:nth-child(8) { animation-delay: calc(var(--start-delay) + 1.4s); }

/* 第三行：比第三行慢2秒 (從 8s 開始) (第1到10個字) */
.pre03 span:nth-child(1)  { animation-delay: calc(var(--start-delay) + 1.2s); }
.pre03 span:nth-child(2)  { animation-delay: calc(var(--start-delay) + 1.3s); }
.pre03 span:nth-child(3)  { animation-delay: calc(var(--start-delay) + 1.5s); }
.pre03 span:nth-child(4)  { animation-delay: calc(var(--start-delay) + 1.4s); }
.pre03 span:nth-child(5)  { animation-delay: calc(var(--start-delay) + 1.6s); }
.pre03 span:nth-child(6)  { animation-delay: calc(var(--start-delay) + 1.65s); }
.pre03 span:nth-child(7)  { animation-delay: calc(var(--start-delay) + 1.7s); }
.pre03 span:nth-child(8)  { animation-delay: calc(var(--start-delay) + 1.8s); }
.pre03 span:nth-child(9)  { animation-delay: calc(var(--start-delay) + 1.9s); }
.pre03 span:nth-child(10) { animation-delay: calc(var(--start-delay) + 2.0s); }

/* 動畫定義：從右上模糊飄下來，然後恢復正常 */
@keyframes blurryDrop {
    0% {
        transform: translate(120px, 0px); /* 從右上方 */
        filter: blur(10px); /* 初始模糊 */
        opacity: 0;
    }
    100% {
        transform: translate(0, 0); /* 歸位 */
        filter: blur(0px); /* 恢復清晰 */
        opacity: 1; /* 完全顯示 */
    }
}


