#cruise-frame .col-4 {
    -ms-flex: 0 0 33.3%;
    flex: 0 0 33.3%;
    max-width: 33.3%;
}

@media (min-width: 768px) {
    #cruise-frame .col-md-auto {
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
    }
}

/* 電腦版左側選單 Left Bar */
#left-bar,
#left-bar-main-page {
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 35%;
    width: 120px;
    background-color: #badcf4;
    border-color: #026fba;
    border-style: solid;
    border-width: 2px;
    overflow: hidden;
}

#cabin-bar {
    position: fixed;
    z-index: 101;
    left: 119px;
    top: 45.5%;
    width: 120px;

}

#khh_voyages {
    z-index: 101;
    position: fixed;
    left: 119px;
    top: 35%;
}

#kel_2026voyages {
    z-index: 101;
    position: fixed;
    left: 119px;
    top: 38.5%;
}

#khh_voyages button:hover,
#2026kel_voyages button:hover {
    background-color: #edf5fb;
}

.sub-bar {
    background-color: #badcf4;
    border-color: #026fba;
    border-style: solid;
    border-width: 2px;
    pointer-events: none;
    overflow: hidden;
    width: 120px;

    transition: 150ms;
    opacity: 0;
    transform: scale(0, 0);
    transform-origin: left top;
}

.sub-bar.show {
    opacity: 1;
    transform: none;

    pointer-events: auto;
}

#left-bar button,
#left-bar-main-page button,
#cabin-bar button,
.sub-bar button {
    flex-grow: 1;
    background-color: #badcf4;
    border-color: #026fba;
    border-style: solid;
    border-width: 0 0 2px 0;
    width: 100%;
    cursor: pointer;
    font-family: BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    font-weight: 400;
    color: #002c4a;
}

.sub-bar.voyages button {
    font-size: 14px;
    text-align: left;
    height: auto;
    padding: 3px 5px;
}

#left-bar button,
#left-bar-main-page button,
#cabin-bar button {
    height: 32px;
}

#left-bar button:first-child,
#left-bar-main-page button:first-child,
#cabin-bar button:first-child {
}

#left-bar button:last-child,
#left-bar-main-page button:last-child,
#cabin-bar button:last-child {
    border: none;
}

#left-bar button br,
#left-bar-main-page button br {
    display: none;
}

/* 新版電腦左側選單 */
#pc-menu-area,
.pc-sub-menu-area {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 35%;
    width: 115px;
    background-color: #3188ac;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
    overflow: visible;
    cursor: pointer;
    transform-origin: right;
    transition: transform 0.5s ease 0.4s;  /* 滑移動效果 */
}

#pc-menu-area.shrink {
    transform:  translateX(-115px);
}

#pc-menu-area:before {
    content: '❮';
    display: block;
    width: 20px;
    height: 40px;
    background-color: #FF8000;
    color: #fff;
    position: absolute;
    top: 0;
    left: 115px;
    border-radius: 0 10px 10px 0;
    box-shadow: 5px 5px 6px rgba(0,0,0,0.3);
    font-size: 16px;
    padding: 7px 5px;
}

#pc-menu-area .pc-menu-tag {
    content: '選單';
    display: block;
    width: 20px;
    height: 40px;
    position: absolute;
    top: 0;
    left: 115px;
}

#pc-menu-area.shrink .pc-menu-tag {
    width: 30px;
    height: 50px;
}

#pc-menu-area.shrink.shrink_icon:before {
    content: '☰';
    width: 30px;
    height: 50px;
    font-size: 24px;
    padding: 7px 3px;
}

#pc-menu-area.shrink:hover:before {
    transform: scale(1.1);
}

.pc-sub-menu-area {
    transition: 150ms;
    opacity: 0;
    transform: scale(0, 0);
    transform-origin: left top;
}

.pc-sub-menu-area.show {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

#khh_voyages {
    top: 39.5%;
    left: 115px;
}

#kel_2026voyages {
    top: 43.5%;
    left: 115px;
}

#cabin-menu {
    top: 52.5%;
    left: 115px;
}

#pc-menu-area .pc-menu,
.pc-sub-menu-area .pc-sub-menu {
    position: relative;
    border-color: #fff;
    border-style: solid;
    border-width: 0 0 1px 0;
    width: 100%;
    height: 40px;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    text-align: left;
}

#pc-menu-area .pc-menu p {
    position: absolute;
    margin: 0;
    left: 8px;
    top: 20%;
}

.pc-sub-menu-area .pc-sub-menu p {
    position: absolute;
    margin: 0;
    left: 10px;
    top: 20%;
}

#pc-menu-area .pc-menu:last-child,
.pc-sub-menu-area .pc-sub-menu:last-child {
    border: none;
}

#pc-menu-area .pc-menu:last-child p,
.pc-sub-menu-area .pc-sub-menu:last-child p {
    top: 25%;
}

#calculate-page-button {
    width: 100%;
    padding: 0 8px;
    background-color: #FF8000;
    overflow: hidden;
    height: 40px;
    text-align: left;
}

#calculate-page-button a {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    margin-top: 6px;
    display: block;
}

/* 手機版下拉選單 */
#mobile-menu-area {
    position: fixed;
    top: 3.6rem;
    z-index: 101;
    left: 0;
    width: 100%;
    max-width: 1200px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    overflow: hidden;
    display: none;

}

#mobile-menu-area .mobile-menu-top {
    width: 100%;
    display: flex;
    background-color: #3188ac;
    border-color: #3188ac;
    border-style: solid;
    height: 40px;
    color: #f3f4f6;
}

#mobile-menu-area .mobile-menu-top > div {
    padding: 5px;
    font-size: 15px;
}

#mobile-menu-area .mobile-menu-top > div:nth-child(1) {
    width: 10%;
}

#mobile-menu-area .mobile-menu-top > div:nth-child(2) {
    width: 80%;
    text-align: left;
}
#mobile-menu-area .mobile-menu-top > div:nth-child(3) {
    width: 10%;
    text-align: right;
    padding: 12px;
    position: relative;
}

#mobile-menu-area .mobile-menu-top > div > span {
    position: absolute;
    bottom: 3px;
    left: 0;
}

#mobile-menu-area .mobile-menu-top .up-icon,
#mobile-menu-area .mobile-menu-top .down-icon,
#mobile-menu-area .mobile-menu-list {
    display: none;
    transition: 150ms;
    opacity: 0;
    transform: scale(0, 0);
}

#mobile-menu-area .mobile-menu-list {
    width: 100%;
    background-color: #f3f4f6;
    color: #1f2937;
    margin: 0;
    max-height: 395px;
    overflow: scroll;
    transform-origin: top;
}

#mobile-menu-area .mobile-menu-top .up-icon.show,
#mobile-menu-area .mobile-menu-top .down-icon.show,
#mobile-menu-area .mobile-menu-list.show {
    display: block;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

#mobile-menu-area .mobile-menu-list li {
    list-style: none;
}

#mobile-menu-area .mobile-menu-list li button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    color: #1f2937 !important;
}

#mobile-menu-area .mobile-menu-list > li {
    margin-left: 10%;
}

#mobile-menu-area .mobile-menu-list > li > button {
    font-weight: 400;
    margin-bottom: 10px;
}

#mobile-menu-area .mobile-menu-list > li > button.calculate-mobile-button {
    color: #FF8000 !important;
    font-size: 16px;
    font-weight: 500 !important;
}

#mobile-menu-area .mobile-menu-list > li > ul {
    padding: 0 20px;
}

#mobile-menu-area .mobile-menu-list > li > ul > li {
    border-bottom: 1px solid #4b5563;
    margin-bottom: 20px;
}

#mobile-menu-area .mobile-menu-list > li > ul > li > button {
    color: #4b5563 !important;
}

#mobile-menu-area .bold {
    font-weight: 600 !important;
}

@media (max-width: 900px) {
    #mobile-menu-area {
        display: block;
    }

    #left-bar-main-page,
    #pc-menu-area,
    #calculate-page-button {
        display: none;
    }
}

@media (max-width: 640px) {
    #left-bar {
        position: fixed;
        display: flex;
        flex-direction: row;
        z-index: 100;
        top: auto;
        left: 0;
        right: 0;
        bottom: 45px;
        width: 100%;
        height: 48px;
        border-width: 2px 0;
        border-radius: 0;
    }

    #left-bar-main-page {
        display: none;
        /*
        position: fixed;
        display: flex;
        flex-direction: row;
        z-index: 100;
        top: auto;
        left: 0;
        right: 0;
        bottom: 1px;
        width: 100%;
        height: 48px;
        border-width: 2px 0;
        border-radius: 0;
        */
    }

    #cabin-bar {
        top: auto;
        bottom: 91px;
        left: calc(100% / 7 * 2.5 - 60px);
        width: 108px;
        border-width: 2px;
        border-radius: 0;
        transform-origin: center bottom;
    }

    #left-bar button,
    #left-bar-main-page button {
        height: 100%;
        padding: 0 4px;
        font-size: 12px;
        border-width: 0 2px 0 0;
    }

    #cabin-bar button {
        height: 28px;
        font-size: 12px;
    }

    #left-bar button br,
    #left-bar-main-page button br {
        display: block;
    }
}

#cruise-frame {
    display: flex;
    flex-direction: column;
    gap: 100px;
    width: 100%;
    max-width: 100%;
    background-color: #EFEFEF;
    padding: 0;
    margin: 0 auto 0;
}

/* Section */
#cruise-frame .section {
    width: 100%;
    max-width: 100%;
    background-color: #EFEFEF;
}

#cruise-frame .section:nth-child(odd) {
    padding: 0;
}

#cruise-frame .section:nth-child(even) {
    background-color: #fff;
    padding: 100px 0 100px;
}

#cruise-frame .section:first-child {
    padding: 100px 0 0;
}

#cruise-frame .section:last-child {
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    #cruise-frame {
        gap: 50px;
    }

    #cruise-frame .section:nth-child(even) {
        background-color: #fff;
        padding: 50px 0 50px;
    }

    #cruise-frame .section:first-child {
        padding: 50px 0 0;
    }

    #cruise-frame .section:last-child {
        padding-bottom: 50px;
    }
}

.section .content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 1200px;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.section img {
    width: 100%;
    max-width: 100%;
}

.section .content-title {
    text-align: center;
    margin-bottom: 16px;
}

.section .content-title h3,
.section .content-title h4 {
    position: relative;
    font-size: 24px;
    display: inline-block;
    font-family: 'Noto Serif TC', serif;
    letter-spacing: 2px;
    margin: 0;
    color: #006FBA;
    padding: 0 30px;
}

.section .content-title h3::before,
.section .content-title h4::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background-color: #006FBA;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.section .content-title h3::after,
.section .content-title h4::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background-color: #006FBA;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.section .content-title span {
    display: block;
    width: 50px;
    height: 2px;
    background-color: #FED600;
    margin: 5px auto;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
}

#star-navigator-intro,
#profile-area,
#feature-area,
#fantastic100-area {
    margin-bottom: 60px;
}

.section .content-desc {
    line-height: 32px;
    margin: 0;
    text-align: justify;
}

/* 小檔案 */
.section .content .profile {
    position: relative;
    margin-top: 12px;
}

.section .content .profile .row .profile-info {
    padding: 10px 35px;
    border-right: 1px solid #adadad;
}

.section .content .profile .row .profile-info:last-child {
    border-right: none !important;
}

.section .content .profile .row .profile-info p {
    font-size: 16px;
    text-align: center;
    font-family: 'Noto Serif TC', serif;
    margin: 0;
}

.section .content .profile .row .profile-info span {
    display: block;
    font-size: 16px;
    text-align: center;
    font-family: 'Noto Serif TC', serif;
    color: #006FBA;
}

@media (max-width: 768px) {
    .section .content .profile {
        margin: 10px auto 40px;
    }

    .section .content .profile .row .profile-info {
        padding: 6px 16px;
        margin-top: 10px;
    }
}

/* 特色 */
.section .content .features {
    position: relative;
    margin: 0 auto 0;
}

.section .content .features > .row {
    width: 80%;
    margin: 0 auto;
}

.section .content .features > .row .features_btn {
    display: block;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    cursor: pointer;
}

.section .content .features > .row .features_btn .pic_more {
    position: absolute;
    width: 100%;
    height: 82px;
    background-color: #baa382e3;
    text-align: center;
    padding: 12px 20px;
    bottom: -38px;
    left: 0;
    transition: 0.5s ease-out;
}

@media (min-width: 768px) {
    .section .content .features > .row .features_btn:hover .pic_more {
        bottom: 0;
        transition: 0.3s ease-in-out;
    }
}

@media (max-width: 768px) {
    #star-navigator-intro,
    #profile-area,
    #feature-area,
    #fantastic100-area {
        margin-bottom: 0;
    }

    .section .content .features {
        margin: 0 auto;
    }

    .section .content .features > .row {
        width: 100%;
    }

    .section .content .features > .row .features_btn .pic_more {
        padding: 5px;
    }
}


.section .content .features > .row .features_btn .pic_more h6 {
    font-size: 18px;
    font-family: 'Noto Serif TC', serif;
    color: #fff;
    margin: 0 0 12px;
}

.section .content .features > .row .features_btn .pic_more a {
    position: relative;
    display: inline-block;
    font-size: 12px;
    font-family: 'Noto Serif TC', serif;
    padding: 2px 20px;
    color: #082B26;
    border: 1px solid #fff;
    background-color: #fff;
    z-index: 1;
}

.section .content .features > .row .features_btn .pic_more a:hover {
    color: #fff;
    transition: 0.25s ease-in-out;
    text-decoration: none;
    border: 1px solid #baa382e3;
}

.section .content .features > .row .features_btn .pic_more a:hover::before {
    transform-origin: center left;
    transform: scaleX(1);
}

.section .content .features > .row .features_btn .pic_more a::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -1px;
    background-color: #baa382e3;
    transform-origin: center right;
    transform: scaleX(0);
    transition: transform 0.25s ease-in-out;
}

/* details */
.section .content .details-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.section .content .details {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 350px;
    overflow: hidden;
}

.section .content .details .details-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
}

.section .content .details .details-img img {
    width: 100%;
    height: 100%;
}

.section .content .details .details-info-frame {
    position: absolute;
    width: 30%;
    height: 100%;
    background-color: #baa382e3;
}

.section .content .details.details-left .details-info-frame {
    left: 50px;
}

.section .content .details.details-right .details-info-frame {
    left: 100%;
    transform: translateX(calc(-100% - 50px));
}

.section .content .details .details-info-frame .details-info {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 40px 32px;
}

.section .content .details .details-info-frame .details-info h5.details-title {
    margin: 0 0 20px !important;
    padding-left: 0 !important;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    font-family: 'Noto Serif TC', serif;
    border: none !important;
}

.section .content .details .details-info-frame .details-info .details-desc {
    font-family: 'Noto Serif TC', serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1px;
    color: #fff;
    text-align: justify;
}

.section .content .details .details-info-frame .details-info .details-link {
    padding: 2px 30px;
    font-family: 'Noto Serif TC', serif;
    font-size: 12px;
    text-decoration: none;
    color: #082B26;
    background-color: #fff;
    border: 1px solid #fff;
    z-index: 1;
}

.section .content .details .details-info-frame .details-info .details-link::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -1px;
    background-color: #FED600;
    transform-origin: center right;
    transform: scaleX(0);
    transition: transform 0.25s ease-in-out;
}

/* 新版 details(圖文6:4) */

.details-list-frame {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: 100%;
    max-height: 350px;
}

.details-list-frame:nth-child(even) {
    flex-direction: row-reverse;
}

.details-list-frame .detail-image {
    width: 60%;
    overflow: hidden;
    max-height: 350px;
}

.details-list-frame .detail-image img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
}

.details-list-frame .detail-image img:hover,
.c-carousel .slide img:hover,
.exciting-item a.exciting-img img:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.details-list-frame .details-info-frame {
    width: 40%;
    background-color: #baa382e3;
    color: #fff;
    padding: 40px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.details-list-frame .details-info-frame > div:nth-child(1) {
    flex: 1;
}

.details-list-frame .details-info-frame > div:nth-child(2) {
    flex: 4;
}

.details-list-frame .details-info-frame > div:nth-child(3) {
    flex: 1;
}

.details-list-frame .details-info-frame h5.details-title {
    margin: 0 0 20px !important;
    padding-left: 0 !important;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    font-family: 'Noto Serif TC', serif;
    border: none !important;
    text-align: center;
}

.details-list-frame .details-info-frame p.details-desc {
    font-family: 'Noto Serif TC', serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1px;
    color: #fff;
    text-align: center;
}

.details-list-frame .details-info-frame a.details-link {
    padding: 2px 30px;
    font-family: 'Noto Serif TC', serif;
    font-size: 12px;
    text-decoration: none;
    color: #082B26;
    background-color: #fff;
    border: 1px solid #fff;
    z-index: 1;
}

@media (max-width: 768px) {
    .section .content-title h4 {
        font-size: 18px;
        letter-spacing: 0;
    }

    .section .content .details-list {
        gap: 20px;
    }

    .section .content .details {
        min-height: 300px;
    }
    .section .content .details .details-img {
        position: relative;
    }

    .section .content .details .details-img img {
        width: 100%;
        height: auto;
    }

    .section .content .details .details-info-frame {
        position: relative;
        background-color: transparent;
    }

    .section .content .details.details-left .details-info-frame,
    .section .content .details.details-right .details-info-frame {
        left: 0;
        width: 100%;
        transform: none;
    }

    .section .content .details .details-info-frame .details-info {
        padding: 20px 0 10px;
    }

    .section .content .details .details-info-frame .details-info .details-title {
        margin-bottom: 8px;
        font-size: 18px;
        color: #006FBA;
    }

    .section .content .details .details-info-frame .details-info .details-desc {
        font-size: 14px;
        color: #595757;
        text-align: justify;
        text-align-last: center;
    }

    .section .content .details .details-info-frame .details-info .details-link {
        display: none;
    }

    /* 新版 details */
    .details-list-frame {
        display: block;
        margin-bottom: 20px;
        max-height: max-content;
    }

    .details-list-frame .detail-image,
    .details-list-frame .details-info-frame {
        width: 100%;
    }

    .details-list-frame .details-info-frame {
        padding: 20px 15px;
    }

    .details-list-frame .details-info-frame h5.details-title {
        font-size: 18px;
    }
    .details-list-frame .details-info-frame p.details-desc {
        font-size: 14px;
        text-align: justify;
    }

    .details-list-frame .details-info-frame a.details-link {
        font-size: 14px;
        padding: 2px 15px;
    }

    /* features detail */
    .section .content .details.details-feature {
        min-height: 250px;
    }

    .section .content .details.details-feature .details-img {
        position: absolute;
    }

    .section .content .details.details-feature .details-info-frame {
        position: absolute;
        background-color: rgba(35, 24, 21, 0.7);
    }

    .section .content .details.details-feature .details-info-frame .details-info {
        padding: 40px 32px;
    }

    .section .content .details.details-feature .details-info-frame .details-info .details-title {
        margin-bottom: 16px;
        font-size: 18px;
        color: #FED600;
    }

    .section .content .details.details-feature .details-info-frame .details-info .details-desc {
        font-size: 14px;
        color: #fff;
        text-align: justify;
        text-align-last: center;
    }

    .section .content .features > .row .features_btn .pic_more {
        height: 50%;
        bottom: 0;
        padding: 2px 5px;
    }

    .section .content .features > .row .features_btn .pic_more h6 {
        font-size: 14px;
        margin: 1px 0;
    }

    .section .content .features > .row .features_btn .pic_more a {
        padding: 0 20px;
        font-size: 10px;
        width: 70px;
        display: block;
        margin: 0 auto;
    }
}

/* Exciting */
.section .content .exciting-frame {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.section .content .exciting-frame > div > h5 {
    font-size: 20px;
    font-weight: 600;
    color: #006FBA;
    font-family: 'Noto Serif TC', serif;
    border: none !important;
    margin: 20px 0 0 0;
    text-align: center;
}

.section .content .exciting-frame > div > p.description {
    font-size: 16px;
    color: #595757;
    text-align: left;
    line-height: 32px;
}

.section .content .exciting-list {

}

.section .content .exciting-list .row [class*="col"] {
    position: relative;
}

.section .content .exciting-list .row [class*="col"]:nth-last-child(-n+2)::before {
    display: none;
}

.section .content .exciting-list .row .exciting-item {
    margin: 50px 0 0;
    -ms-flex-align: stretch;
    align-items: stretch;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section .content .exciting-list .row .exciting-item .exciting-img {
    display: block;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    max-height: 316px;
}

.section .content .exciting-list .row .exciting-item .exciting-info {
    min-height: 200px;
    padding: 16px 20px 0;
}

.section .content #cabins .exciting-list .row .exciting-item .exciting-info {
    min-height: 250px;
}

.section .content .exciting-list .row .exciting-item .exciting-info .title {
    display: block;
    margin: 0 0 4px !important;
    padding-left: 0 !important;
    font-size: 20px;
    font-family: 'Noto Serif TC', serif;
    color: #006FBA;
    text-align: left;
    border: none !important;
}

.section .content .exciting-list .row .exciting-item .exciting-info .area {
    margin: 0;
    padding: 5px 0;
    font-size: 16px;
    font-family: 'Noto Serif TC', serif;
    text-align: left;
    color: #595757;
    letter-spacing: 1px;
    border-bottom: 2px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, #ddcf9e, #ffffff00);
}

.section .content .exciting-list .row .exciting-item .exciting-info p {
    font-size: 16px;
    font-family: 'Noto Serif TC', serif;
    color: #595757;
    text-align: justify;
    letter-spacing: 1px;
    margin: 0;
    padding: 10px 0;
}

.section .content .exciting-list .row .exciting-item .exciting-info ul {
    padding: 0 20px;
    height: 150px;
}

.section .content .exciting-list.d-class-cabin .row .exciting-item  ul {
    padding: 20px 20px;
    height: 200px;
}

.section .content .exciting-list .row .exciting-item ul.d-class-cabin {
    padding: 20px 20px;
    height: 200px;
}

.section .content .exciting-list .row .exciting-item .exciting-info ul li {
    font-size: 16px;
    font-family: 'Noto Serif TC', serif;
    color: #595757;
    text-align: justify;
    letter-spacing: 1px;
    padding: 2px 0;
    list-style: disc;
}

.section .content .exciting-list .row .exciting-item .exciting-info ul li::marker {
    color: red;
}

@media (max-width: 768px) {
    .section .content .exciting-list .row .exciting-item {
        margin: 20px 0 0;
    }

    .section .content .exciting-list .row .exciting-item p {
        padding: 20px 0 0;
    }

    .section .content .exciting-list .row .exciting-item .exciting-info,
    .section .content #cabins .exciting-list .row .exciting-item .exciting-info {
        min-height: auto;
    }

    .section .content .exciting-frame > div > h5 {
        font-size: 18px;
    }

    .section .content .exciting-list .row .exciting-item .exciting-info ul {
        height: auto;
    }
}

/* Palace */
#palace .cover {
    width: 100%;
    height: 400px;
    background-image: url(https://www.fantasy-tours.com/material-alias/cruise/star-navigator/palace-pool.jpg);
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
}

#palace .palace-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
}

#palace .palace-header .palace-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 400;
    color: #333;
}

#palace .palace-header .palace-logo span {
    padding: 0 2px;
    font-size: 14px;
    writing-mode: vertical-rl;
    color: #d4b36a;
}

#palace .main-title-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

#palace .main-title {
    font-size: 40px;
    font-weight: 500;
    white-space: nowrap;
    color: #d4b36a;
    margin: 8px 0;
}

#palace .title-line {
    width: 100%;
    height: 3px;
    background-color: #f4e2c2;
}

#palace .palace-features-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

#palace .palace-features-box .description {
    line-height: 1.6;
    font-size: 20px;
    font-weight: 400;
}

#palace .palace-features {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    gap: 4px;
}

#palace .feature-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

#palace .feature-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #d4b36a;
    font-size: 16px;
    font-weight: 400;
    color: white;
    border-radius: 50%;
    margin-right: 16px;
}

#palace .feature-content {
    font-size: 20px;
    font-weight: 400;
}

#palace .benefits-section {
    background-color: #f5e6d4;
    margin-top: 20px;
    border-top: #dfb67d 12px solid;
}

#palace .benefits-row {
    display: flex;
    gap: 50px;
}

#palace .benefits-column {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
}

#palace .benefit-card {
    padding: 32px;
    border-bottom: #e8c99b 2px solid;
}

#palace .benefit-card:last-child {
    border-bottom: none;
}

#palace .benefit-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    color: #8a6d3b;
}

#palace .benefit-list {
    list-style-type: none;
    padding-left: 20px;
}

#palace .benefit-list li {
    position: relative;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

#palace .benefit-list li:before {
    content: "•";
    position: absolute;
    left: -15px;
}

#palace .footnote {
    display: flex;
    justify-content: flex-end;
    justify-items: flex-end;
}

#palace .footnote .content {
    width: fit-content;
    font-size: 12px;
    text-align: right;
    padding: 10px 24px 10px 16px;
    margin: 0;
    color: white;
    background-color: #dfb67d;
    border-radius: 12px 0 0 0;
}

@media (max-width: 768px) {
    #palace .cover {
        height: 140px;
        margin-bottom: 16px;
    }

    #palace .palace-header {
        justify-content: center;
    }

    #palace .palace-header .palace-logo {
        font-size: 24px;
    }

    #palace .main-title {
        font-size: 32px;
        white-space: normal;
    }

    #palace .title-line {
        display: none;
    }

    #palace .palace-features-box {
        flex-direction: column;
    }

    #palace .palace-features-box .description {
        font-size: 16px;
        text-align: justify;
    }

    #palace .palace-features {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        margin: 0;
        gap: 12px;
    }

    #palace .feature-number {
        width: 20px;
        height: 20px;
        font-size: 14px;
        margin-right: 8px;
    }

    #palace .feature-content {
        font-size: 14px;
    }

    #palace .benefits-row {
        flex-direction: column;
        gap: 0;
    }

    #palace .benefit-card {
        padding: 12px;
    }

    #palace .benefit-card:last-child {
        border-bottom: #e8c99b 2px solid;
    }

    #palace .benefits-column:last-child .benefit-card:last-child {
        border-bottom: none;
    }

    #palace .benefit-list li {
        font-size: 14px;
    }

    #palace .footnote .content {
        font-size: 12px;
    }
}

/* 露台 */
#terrace .cover {
    width: 100%;
    height: 400px;
    background-image: url(https://www.fantasy-tours.com/material-alias/cruise/star-navigator/terrace.jpg);
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
}

#terrace .header {
    padding: 20px 0 10px;
    text-align: center;
}

#terrace .title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 5px;
}

#terrace .subtitle {
    position: relative;
    color: #d4121e;
}

#terrace .subtitle span {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background-color: #EFEFEF;
    font-size: 40px;
    font-weight: 500;
    z-index: 9;
}

#cruise-frame .section:nth-child(odd) #terrace .subtitle span {
    background-color: #EFEFEF;
}

#cruise-frame .section:nth-child(even) #terrace .subtitle span {
    background-color: white;
}

#terrace .subtitle::before, #terrace .subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e57373;
}

#terrace .category-title {
    color: black;
    text-align: center;
    margin: 20px 0;
    font-size: 24px;
    font-weight: 500;
}

#terrace .icon-container {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    gap: 32px;
    width: 100%;
    margin: 20px auto;
}

#terrace .icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#terrace .icon {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

#terrace .icon img {
    width: 100%;
    height: 100%;
}

#terrace .icon-text {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

@media (max-width: 768px) {
    #terrace .cover {
        height: 140px;
    }

    #terrace .header {
        padding: 0;
    }

    #terrace .title {
        font-size: 24px;
    }

    #terrace .subtitle span {
        padding: 0;
        font-size: 30px;
        z-index: 0;
    }

    #terrace .subtitle::before, #terrace .subtitle::after {
        display: none;
    }

    #terrace .icon-container {
        margin: 0 0 20px;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    #terrace .category-title {
        margin: 4px 0 12px;
        font-size: 20px;
    }

    #terrace .icon-item {
    }

    #terrace .icon {
        width: 48px;
        height: 48px;
    }

    #terrace .icon-text {
        font-size: 12px;
    }
}

/* 小小夢想家天地 */
.child-frame {
    position: relative;
    width: 100%;
    height: calc((100vw - 40px) * 3508 / 2480);
    background-size: cover;
    background-position: center;
}

.child-frame.child-frame-01 {
    background-image: url(https://www.fantasy-tours.com/material-alias/cruise/star-navigator/child-01.jpg);
}

.child-frame.child-frame-02 {
    background-image: url(https://www.fantasy-tours.com/material-alias/cruise/star-navigator/child-02.jpg);
}

@media (min-width: 1200px) {
    .child-frame {
        width: 1160px;
        height: calc(1160px * 3508 / 2480);
    }
}

.child-frame .ship-title {
    margin: 0;
    position: absolute;
    top: 5%;
    left: 5%;
    font-size: min(4vw, 48px);
    font-weight: 500;
    color: white;
}

.child-frame .header {
    position: absolute;
    top: 18%;
    left: 53%;
    width: 38%;
}

.child-frame .header .title {
    font-size: min(3vw, 36px);
    font-weight: 500;
    text-align: left;
    color: #a13736
}

.child-frame .header .sub-title {
    font-size: min(2vw, 24px);
    font-weight: 500;
    text-align: left;
    color: black;
    margin-bottom: min(1.333333vw, 16px);
}

.child-frame .header .description {
    font-size: min(1.666667vw, 20px);
    text-align: left;
    color: black;
}

.child-frame-01 .child-header {
    position: absolute;
    top: 34.6%;
    left: 0%;
    width: 100%;
    font-size: min(2.666667vw, 32px);
    font-weight: 500;
    color: white;
    text-align: center;
}

.child-frame .child-block {
    position: absolute;
    width: 31%;
}

.child-frame .child-block .title {
    margin-bottom: 4px;
    font-size: min(1.666667vw, 20px);
    font-weight: 500;
    text-align: center;
    color: #a13736
}

.child-frame .child-block .description {
    font-size: min(1.5vw, 18px);
    font-weight: 400;
    text-align: center;
}

.child-frame .child-block.summer-party {
    top: 40.5%;
    left: 15%;
}

.child-frame .child-block.superhero {
    top: 40.5%;
    right: 15%;
}

.child-frame .child-block.starry-night {
    top: 50.5%;
    left: 15%;
}

.child-frame .child-block.jungle {
    top: 50.5%;
    right: 15%;
}

.child-frame .child-block.crafts {
    top: 70%;
    left: 15%;
}

.child-frame .child-block.science {
    top: 70%;
    right: 15%;
}

.child-frame .child-block.games {
    width: 24%;
    top: 87%;
    left: 12%;
}

.child-frame .child-block.dance {
    width: 24%;
    top: 87%;
    right: 37%;
}

.child-frame .child-block.story-time {
    width: 24%;
    top: 87%;
    right: 12%;
}

.child-frame.child-frame-02 .child-block {
    width: 20%;
}

.child-frame.child-frame-02 .child-block .title {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .child-frame.child-frame-02 .child-block .title {
        margin-bottom: 2px;
    }
}

.child-frame-02 .child-header-pay {
    position: absolute;
    top: 66.5%;
    left: 11%;
    color: #d81b60;
    font-size: min(3vw, 36px);
    font-weight: 500;
    text-align: center;
}

.child-frame.child-frame-02 .child-block:nth-child(1) {
    top: 25%;
    left: 9%;
}

.child-frame.child-frame-02 .child-block:nth-child(2) {
    top: 25%;
    left: 30%;
}

.child-frame.child-frame-02 .child-block:nth-child(3) {
    top: 25%;
    left: 51%;
}

.child-frame.child-frame-02 .child-block:nth-child(4) {
    top: 25%;
    left: 72%;
}

/* Middle row */
.child-frame.child-frame-02 .child-block:nth-child(5) {
    top: 51%;
    left: 9%;
}

.child-frame.child-frame-02 .child-block:nth-child(6) {
    top: 51%;
    left: 30%;
}

.child-frame.child-frame-02 .child-block:nth-child(7) {
    top: 51%;
    left: 51%;
}

.child-frame.child-frame-02 .child-block:nth-child(8) {
    top: 51%;
    left: 72%;
}

.child-frame.child-frame-02 .child-block:nth-child(9),
.child-frame.child-frame-02 .child-block:nth-child(10),
.child-frame.child-frame-02 .child-block:nth-child(11) {
    width: 24%;
}

.child-frame.child-frame-02 .child-block:nth-child(9) {
    top: 80%;
    left: 11%;
}

.child-frame.child-frame-02 .child-block:nth-child(10) {
    top: 80%;
    left: 37%;
}

.child-frame.child-frame-02 .child-block:nth-child(11) {
    top: 80%;
    left: 66%;
}

/* 甲板 */
#deck-plans-frame .legend-frame {
    display: flex;
    flex-direction: row;
    gap: 32px;
}

#deck-plans-frame .legend-frame .title {
    margin: 0;
    font-size: 40px;
    font-weight: 500;
    color: #d62828;
    white-space: nowrap;
}

#deck-plans-frame .legend {
    width: 100%;
}

#deck-plans-frame .legend .legend-category {
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 30px;
    font-weight: 500;
    color: #d62828;
    border-bottom: 2px solid #dad3bb;
}

#deck-plans-frame .legend-items {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

#deck-plans-frame .legend-item {
    display: flex;
    flex-direction: row;
}

#deck-plans-frame .legend-color {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    margin-top: 2px;
    border-radius: 50%;
}

#deck-plans-frame .legend-shape {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    margin-top: 2px;
}

#deck-plans-frame .legend-text {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

@media (max-width: 768px) {
    #deck-plans-frame .legend-frame {
        flex-direction: column;
        gap: 12px;
    }

    #deck-plans-frame .legend-frame .title {
        font-size: 28px;
        white-space: normal;
    }

    #deck-plans-frame .legend .legend-category {
        margin-top: 0;
        font-size: 22px;
    }

    #deck-plans-frame .legend-items {
        grid-template-rows: repeat(7, 1fr);
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    #deck-plans-frame .legend-items .legend-item:nth-child(8) {
        display: none;
    }

    #deck-plans-frame .legend-color,
    #deck-plans-frame .legend-shape {
        width: 14px;
        height: 14px;
        margin-right: 3px;
        margin-top: 3px;
    }

    #deck-plans-frame .legend-text {
        font-size: 14px;
    }
}

#deck-plans-frame .deck-plans-frame {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

#deck-plans-frame .deck-plans {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    justify-items: flex-start;
    flex-wrap: wrap;
    gap: 80px 16px;
    margin-top: 0;
    width: 65%
}

#deck-plans-frame .deck-plans .deck {
    position: relative;
    width: 20%;
    text-align: center;
    margin-bottom: 20px;
}

#deck-plans-frame .deck img {
    width: 100%;
    height: auto;
}

#deck-plans-frame .deck .deck-info {
    width: 100%;
    height: 60px;
}

#deck-plans-frame .deck-plans .deck:nth-child(-n+4) .deck-info {
    position: absolute;
    bottom: 0;
    left: 0;
}

#deck-plans-frame .deck-name {
    width: 100%;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 500;
    color: #d72634;
}

#deck-plans-frame .deck-description {
    width: 100%;
    font-size: 16px;
    font-weight: 400;
}

#deck-plans-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 35%;
    height: fit-content;
    margin-top: 60px;
    padding: 16px;
    background-color: #eae5da;
}

#deck-plans-info .section-header {
    display: flex;
    justify-content: space-between;
    padding: 4px 12px;
    background-color: #aa9664;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

#deck-plans-info .section-header .floor-indicator {
    color: #fff;
    font-weight: 400;
    margin-left: 10px;
}

#deck-plans-info .facilities {
    width: 100%;
}

#deck-plans-info .facility-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    font-size: 20px;
    font-weight: 400;
}

#deck-plans-info .note {
    font-size: 0.9em;
    margin-top: 10px;
    color: #666;
}

@media (max-width: 768px) {
    #deck-plans-frame .deck-plans-frame {
        flex-direction: column;
        gap: 20px;
    }

    #deck-plans-frame .deck-plans {
        width: 100%;
        gap: 20px 2px;
    }

    #deck-plans-frame .deck-plans .deck {
        width: 30%;
    }

    #deck-plans-frame .deck-plans .deck .deck-info {
        height: 60px;
    }

    #deck-plans-frame .deck-plans .deck:nth-child(-n+3) .deck-info {
        bottom: 0;
    }

    #deck-plans-frame .deck-plans .deck:nth-child(4) .deck-info {
        position: relative;
        bottom: 0;
    }

    #deck-plans-frame .deck-name {
        margin-top: 10px;
        font-size: 16px;
    }

    #deck-plans-frame .deck-description {
        font-size: 14px;
    }

    #deck-plans-info {
        width: 100%;
        margin-top: 0;
    }

    #deck-plans-info .section-header {
        font-size: 16px;
        margin-bottom: 5px;
    }

    #deck-plans-info .facility-item {
        padding: 5px 10px;
        font-size: 14px;
    }

    #deck-plans-info .note {
        font-size: 14px;
    }
}

/* 圖片左右滑動輪播 */

.c-carousel {
    width:100%;
    max-width: 563px;
    aspect-ratio:16/9;
    position:relative;
    overflow:hidden;
    background:#000;
}

/* 內部橫向 track */
.c-carousel .track{display:flex;height:100%;width:200%;transition:transform 600ms cubic-bezier(.2,.8,.2,1);}
.c-carousel .slide{flex:0 0 50%;height:100%;position:relative;}
.c-carousel .slide img{width:100%;height:100%;object-fit:cover;display:block;}

/* 左右箭頭 */
.c-carousel .arrow{
    position:absolute;
    top:50%;
    z-index:5;
    width:44px;
    height:44px;
    border-radius:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,0.35);
    color:#ccc;
    cursor:pointer;
    transform: rotate(90deg);
    transform-origin: center center;
}
.c-carousel .arrow:hover{background:rgba(0,0,0,0.55);}
.c-carousel .prev{left:12px;}
.c-carousel .next{right:12px;}

/* 點點指示器 */
.c-carousel .dots{position:absolute;left:50%;transform:translateX(-50%);bottom:12px;display:flex;gap:8px;z-index:5;}
.c-carousel .dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,0.45);cursor:pointer;}
.c-carousel .dot.active{background:rgba(255,255,255,0.95);}

/* 小螢幕調整：高度改為 9:16（直向） */
@media (max-width:420px){
    .c-carousel .arrow{
        width:36px;
        height:36px;
    }
}

/* animation */
.animated {
    animation-duration: 1.3s;
    animation-fill-mode: both;
}

@keyframes line_ani {
    from {
        transform: scaleX(0);

    }

    to {
        transform: scaleX(1);
    }
}

.line_ani {
    animation-name: line_ani;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.fadeInDown {
    animation-name: fadeInDown
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}
