@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Lora:ital,wght@0,400..700;1,400..700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+TC:wght@200..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
/*.lora-<uniquifier> {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}*/

/*
Bickham Script Pro 3 Regular
font-family: "bickham-script-pro-3", sans-serif;
font-weight: 400;
font-style: normal;
Bickham Script Pro 3 Bold
font-family: "bickham-script-pro-3", sans-serif;
font-weight: 700;
font-style: normal;
*/
.Bickham-Script-Pro-3-Regular {
    font-family: "bickham-script-pro-3", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lora-Regular {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.lora-Bold {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

body,
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
    /*     scroll-behavior: smooth; */
    --vw-base: calc(100vw / 1920);
    background-color: #f3eee7;
    /*     cursor: none; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

button,
input,
textarea,
select,
option {
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    border-radius: 0;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}


.container {
    width: 100%;
    height: auto;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.no-scroll {
    overflow: hidden;
    /* 禁止滚动条 */
    touch-action: none;
    /* 禁止移动端触摸滚动 */
    position: fixed;
    /* 防止页面跳动 */
    width: 100%;
    height: 100vh;
}

.opacity {
    opacity: 1;
    position: relative;
    visibility: visible;
}

/*影片區*/
.main1 {
    width: 100%;
    height: calc(950 * var(--vw-base));
    position: relative;
    background-color: #f3eee7;
    /* 確保超出容器的部分被隱藏，達成裁切感 */
    overflow: hidden;
}

/* 這裡維持你的動畫觸發 */
.main1.active {
    animation: m1-bg-motion 1.5s forwards;
    /* 移除 alternate 避免來回彈跳，除非你原本就需要 */
    animation-delay: 0s;
    animation-timing-function: ease-out;
}


.m1-bg {
    width: 100%;
    /* 初始高度與容器一致 */
    height: calc(950 * var(--vw-base));
    position: relative;
    margin: 0 auto;
    z-index: 98;
    overflow: hidden;
    /* 重要：裁切關鍵 */
}

/* 動畫改為縮減容器高度 */
@keyframes m1-bg-motion {
    0% {
        height: calc(950 * var(--vw-base));
    }

    100% {
        height: calc(760 * var(--vw-base));
    }
}

.m1-bg img {
    object-fit: cover;
    width: 100%;
    /* 關鍵：高度固定為原始高度，不要隨父層縮放 */
    height: calc(950 * var(--vw-base));
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}


.m1-txt {
    width: 100%;
    height: calc(520*var(--vw-base));
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 105;
    overflow: hidden;
}

.m1-t1 {
    color: rgba(255, 255, 255, 0.2);
    font-family: "Lora", serif;
    font-weight: 600;
    font-size: calc(48 * var(--vw-base));
    line-height: 3vw;
    letter-spacing: 0em;
    transform: scaleX(0.95);
    transform-origin: left center;
    writing-mode: vertical-rl;
    display: block;
    position: absolute;
    left: 12.6vw;
    top: 0.4vw;
    width: calc(50 * var(--vw-base));
    height: calc(260 * var(--vw-base));
    overflow: hidden;
    opacity: 0;
    letter-spacing: 0.1vw;
}

.m1-t2 {
    color: rgba(255, 255, 255, 0.6);
    line-height: 3vw;
    font-size: calc(22 * var(--vw-base));
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 600;
    transform: scaleX(0.95);
    transform-origin: left center;
    display: block;
    position: absolute;
    left: 12.75vw;
    top: 10.3vw;
    width: calc(120 * var(--vw-base));
    height: calc(50 * var(--vw-base));
    overflow: hidden;
    opacity: 0;
}

.m1-t1.active {
    animation: m1-t1-ani 1.5s ease;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

.m1-t2.active {
    animation: m1-t2-ani 1.5s ease;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes m1-t1-ani {
    0% {
        left: 11.65vw;
        transform: scaleX(0.95);
        opacity: 0;
    }

    100% {
        left: 12.65vw;
        transform: scaleX(0.95);
        opacity: 1;
    }
}

@keyframes m1-t2-ani {
    0% {
        left: 13.75vw;
        transform: scaleX(0.95);
        opacity: 0;
    }

    100% {
        left: 12.75vw;
        transform: scaleX(0.95);
        opacity: 1;
    }
}

.m1-line {
    width: 1px;
    height: calc(0*var(--vw-base));
    background-color: rgba(255, 255, 255, .35);
    position: absolute;
    left: 12.7vw;
    top: 0.4vw;
    overflow: hidden;
    /* 🔴 很重要，避免 after 超出 */
}

.m1-line.active {
    animation: m1-line 1.5s linear;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

@keyframes m1-line {
    0% {
        height: calc(0*var(--vw-base));
    }

    100% {
        height: calc(665*var(--vw-base));
    }
}

.m1-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);

    transform-origin: top;
    transform: scaleY(0);
}

@keyframes drawLine {
    0% {
        transform: scaleY(0);
        opacity: 1;
    }

    70% {
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        transform: scaleY(1);
        opacity: 0;
        /* 畫完淡出再重來 */
    }
}

.m1-line.active::after {
    animation: drawLine 3s ease-in-out infinite;
    animation-delay: 3s;

}


/*main2*/
#main2 {
    width: 100%;
    height: calc(950 * var(--vw-base));
    position: relative;
    overflow: hidden !important;
    background-color: #f3eee7;
}

.m2-line1 {
    width: 1px;
    height: calc(0*var(--vw-base));
    background-color: rgba(137, 126, 121, 0.5);
    position: absolute;
    left: 12.7vw;
    top: 0vw;
    overflow: hidden;
    /* 🔴 很重要，避免 after 超出 */
    z-index: 10;
}

.m2-line1.active {
    animation: m2-1-line 1s linear;
    animation-delay: 0s;
    animation-fill-mode: forwards;
}

.m2-line2 {
    width: 1px;
    height: calc(0*var(--vw-base));
    background-color: rgba(137, 126, 121, 0.5);
    position: absolute;
    left: 69vw;
    bottom: 0vw;
    overflow: hidden;
    /* 🔴 很重要，避免 after 超出 */
    z-index: 10;
}

.m2-line2.active {
    animation: m2-2-line 1s linear;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

.m2-line3 {
    width: 1px;
    height: calc(0*var(--vw-base));
    background-color: rgba(137, 126, 121, 0.5);
    position: absolute;
    left: 86.5vw;
    top: 0vw;
    overflow: hidden;
    /* 🔴 很重要，避免 after 超出 */
    z-index: 5;
}

.m2-line3.active {
    animation: m2-3-line 1s linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes m2-1-line {
    from {
        height: 0
    }

    to {
        height: calc(950*var(--vw-base));
    }
}

@keyframes m2-2-line {
    from {
        height: 0
    }

    to {
        height: calc(950*var(--vw-base));
    }
}

@keyframes m2-3-line {
    from {
        height: 0
    }

    to {
        height: calc(950*var(--vw-base));
    }
}

.m2-txt {
    position: absolute;
    top: 20vw;
    left: 15.5vw;
    width: 70vw;
    z-index: 10;
}

.m2-txt-title {
    width: calc(700*var(--vw-base));
    overflow: hidden;
    color: #756b66;
    font-size: calc(22 * var(--vw-base));
    line-height: calc(30 * var(--vw-base));
    font-weight: 700;
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.1em;
    transform: scaleX(0.95);
    transform-origin: left center;
    display: block;
}

.m2-txt-stitle {
    width: calc(700*var(--vw-base));
    overflow: hidden;
    color: #756b66;
    font-size: calc(18 * var(--vw-base));
    line-height: calc(30 * var(--vw-base));
    font-weight: 700;
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.1em;
    margin-bottom: 1vw;
}

.m2-txt-cent {
    width: calc(350*var(--vw-base));
    overflow: hidden;
    color: #756b66;
    font-size: calc(16 * var(--vw-base));
    line-height: calc(33 * var(--vw-base));
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.05em;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-ideograph;
}


/* 主容器：固定比例 1920*950 */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(950 * var(--vw-base));
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 11;
}

.bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-img.active {
    opacity: 1;
}

.img-base {
    background-image: url('../img/02/02-2-icon-be.png');
}

.img-btn-1 {
    background-image: url('../img/02/02-2-icon-af1.png');
}

.img-btn-2 {
    background-image: url('../img/02/02-2-icon-af2.png');
}

.img-btn-3 {
    background-image: url('../img/02/02-2-icon-af3.png');
}

.interactive-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* 圓圈按鈕基本樣式 */
.circle-trigger {
    position: relative;
    width: calc(710 * var(--vw-base));
    height: calc(710 * var(--vw-base));
    border-radius: 50%;
    margin: 6vw calc(-50 * var(--vw-base)) 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
}



:root {
    --vw-base: calc(100vw / 1920);
    --page-height: calc(950 * var(--vw-base));
    --bg-color: #f2ede4;
    --text-color: #756b66;
    --accent-color: #756b66;
    --highlight-color: #c5a583;
}

/*main2圓形*/
#mainSvg {
    width: 100%;
    height: 100%;
    overflow: visible;
    position: relative;
    z-index: 100;
    pointer-events: none;
}

/* 核心修改：設定 fill-rule 為 evenodd 達成挖空效果 */
#dynamic-hill {
    fill: var(--accent-color);
    fill-opacity: 1;
    /* 凸出部分的顏色深度 */
    stroke: var(--accent-color);
    stroke-width: 1.2;
    fill-rule: evenodd;
    pointer-events: none;
}

.labels-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.nav-label {
    position: absolute;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    padding: 2vw;
}

.nav-label a {
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s;
    line-height: 2vw;
    font-size: calc(22 * var(--vw-base));
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 800;
    transition: color 0.5s ease;
}

.nav-label a:hover {
    color: var(--highlight-color);

}

/* 確保標籤容器在最上層，不然會被 SVG 遮住點不到 */
.labels-wrapper {
    z-index: 50 !important;
    pointer-events: none;
    /* 讓容器不擋住滑鼠，只讓裡面的標籤擋 */
}

.nav-label {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    /* 恢復標籤的感應 */
    z-index: 51;
}

.nav-label a {
    display: block;
    padding: 10px 20px;
    /* 增加感應面積 */
    cursor: pointer;
}

/* 針對流動線條的樣式 */
.st-flow {
    fill: none;
    /* 關鍵：去掉黑色實心 */
    stroke: #756b66;
    /* 設定線條顏色 (可根據你的設計調整) */
    stroke-width: 1;
    /* 線條粗細 */
    stroke-linecap: round;
}

/* 針對繪製中的路徑，也要確保無填滿 */
.draw-path {
    fill: none !important;
}

/* 隱藏 textPath 用的參考路徑 */
#textPath4 {
    fill: none;
}

/* 只負責視覺比例 */
.m4-scale {
    display: inline-block;
    transform: scaleX(0.95);
    transform-origin: left center;
}

#dynamic-hill {
    fill: rgb(117, 107, 102);
    /* 如果你只要線條，這裡維持 none */
    stroke: #756b66;
    /* 線條顏色 */
    stroke-width: 0.5px;
    /* <--- 修改這裡的數值來調整粗細 */
}

.center-text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    pointer-events: none;
    font-family: "Lora", serif;
    font-weight: 400;
    font-size: calc(48 * var(--vw-base));
    line-height: 3vw;
    width: 100%;
    white-space: nowrap;
}

/* 第一層：正常的底色層 */
.base-text {
    color: #fff;
    mix-blend-mode: normal;
    z-index: 101;
    opacity: 0.2;
    /* 這裡不用設 isolation，確保它乾乾淨淨 */
}

/* 第二層：覆蓋效果層 */
.overlay-text {
    color: #fff;
    mix-blend-mode: overlay;
    z-index: 102;
    /* 疊在 base 之上 */
}



/* --- Flow 區塊 --- */
.section-wrapper {
    position: relative;
    height: var(--page-height);
    width: 100%;
    background: #f3eee7;
    color: #756b66;
}

.sticky-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 calc(100 * var(--vw-base));
    box-sizing: border-box;
}

.info-panel {
    width: 40%;
}

.svg-container {
    width: 60%;
    display: flex;
    justify-content: center;
}

.scroll-svg {
    width: calc(550 * var(--vw-base));
    overflow: visible;
}

.path-bg {
    fill: none;
    stroke: #756b66;
    stroke-width: 2;
}

.path-draw {
    fill: none;
    stroke: #756b66;
    stroke-width: calc(1 * var(--vw-base));
    stroke-linecap: round;
}

.text-style {
    fill: #00f2ff;
    font-size: calc(22 * var(--vw-base));
    font-weight: bold;
}

.dot {
    width: calc(12 * var(--vw-base));
    height: calc(12 * var(--vw-base));
    border: 1px solid #756b66;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #756b66;
    transform: scale(1);
}

.main-flow-section {
    position: relative;
    width: 100%;
    height: calc(950 * var(--vw-base));
    background-color: #f3eee7;
    overflow: visible;
}

.m-line1 {
    width: 1px;
    height: calc(950*var(--vw-base));
    background-color: rgba(137, 126, 121, 0.5);
    position: absolute;
    left: 12.7vw;
    top: 0vw;
    overflow: hidden;
    /* 🔴 很重要，避免 after 超出 */
    z-index: 10;
}

.m-line1.active {
    animation: m-1-line 1s linear;
    animation-delay: 0s;
    animation-fill-mode: forwards;
}

.m-line2 {
    width: 1px;
    height: calc(950*var(--vw-base));
    background-color: rgba(137, 126, 121, 0.5);
    position: absolute;
    left: 69vw;
    bottom: 0vw;
    overflow: hidden;
    /* 🔴 很重要，避免 after 超出 */
    z-index: 10;
}

.m-line2.active {
    animation: m-2-line 1s linear;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

.m-line3 {
    width: 1px;
    height: calc(950*var(--vw-base));
    background-color: rgba(137, 126, 121, 0.5);
    position: absolute;
    left: 86.5vw;
    top: 0vw;
    overflow: hidden;
    /* 🔴 很重要，避免 after 超出 */
    z-index: 5;
}

.m-line3.active {
    animation: m-3-line 1s linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

.m-line4 {
    width: 100%;
    height: 1px;
    background-color: rgba(137, 126, 121, 0.5);
    position: absolute;
    left: 0vw;
    top: 0vw;
    overflow: hidden;
    /* 🔴 很重要，避免 after 超出 */
    z-index: 5;
}

.m-line4.active {
    animation: m-4-line 1s linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes m-1-line {
    from {
        height: 0
    }

    to {
        height: calc(950*var(--vw-base));
    }
}

@keyframes m-2-line {
    from {
        height: 0
    }

    to {
        height: calc(950*var(--vw-base));
    }
}

@keyframes m-3-line {
    from {
        height: 0
    }

    to {
        height: calc(950*var(--vw-base));
    }
}

@keyframes m-4-line {
    from {
        width: 0
    }

    to {
        width: 100%;
    }
}


.flow-svg-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* 確保不影響鼠標交互 */
}

.flow-svg-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}


/*  (FLOW 01)  */
#block-0 .flow-svg-bg {
    position: absolute;
    left: -30vw;
    top: 46.25vw;
    width: 110.35555vw;
    height: 30%;
    transform: translateX(0) translateY(0) !important;
    pointer-events: none;
    z-index: 1;
    transform-origin: center center;
}

/*  (FLOW 03)  */
#block-2 .flow-svg-bg {
    position: absolute;
    left: -2.7vw;
    width: 100vw;
    transform: translateX(0) !important;
    pointer-events: none;
    z-index: 1;
}

/*  (FLOW 04)  */
#block-3 .flow-svg-bg {
    position: absolute;
    left: 0vw;
    width: 100vw;
    transform: translateX(0) !important;
    pointer-events: none;
    z-index: 1;
}


.m2-line1 {
    z-index: 10;
}

.tp-node {
    text-anchor: end;
    /* 讓文字的結尾對齊 Offset 點 */
}

/* 頂層文字：不帶描邊，保證絕對清晰 */
.flow-path-text {
    fill: #756b66;
    stroke: none !important;
    font-family: "Lora", serif;
    font-size: calc(22 * var(--vw-base));
    text-transform: uppercase;
    dominant-baseline: alphabetic;
    /* 必須設定為 alphabetic 配合 dy 使用 */
    pointer-events: none;
}

/* 底層背景：只負責產生底部的色塊保護區 */
.flow-path-text-bg {
    fill: none;
    stroke: #f3eee7;
    /* 背景色塊顏色 */
    stroke-width: 55px;
    /* 寬度稍微大一點，確保能擋住背景線 */
    stroke-linejoin: round;
    stroke-linecap: round;
    dominant-baseline: alphabetic;
    pointer-events: none;
}


/* 將圓圈旋轉，並翻轉讓它逆時針畫 */
circle {
    transform-origin: center;
    transform: rotate(-90deg) scaleY(-1);
}


/* 右側常駐導覽點 - 修正版 */
.nav-dots {
    position: fixed;
    right: 1.5vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999999 !important;
    pointer-events: auto !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
}

/* 確保導覽點在所有 SVG 之上 */
#navDots.nav-dots {
    position: fixed !important;
    z-index: 99999 !important;
    /* 最高層級 */
    pointer-events: auto !important;
    /* 確保可點擊 */
}

#navDots .dot {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* 當 JS 觸發顯示時 */
.nav-dots.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
}

/* 確保個別點點是可以被點擊的 */
.dot {
    width: calc(8*var(--vw-base));
    height: 0.1px;
    background-color: #756b66;
    border-radius: 0%;
    cursor: pointer !important;
    /* 確保滑鼠移上去有手指 */
    position: relative;
    transition: all 0.5s ease;
    pointer-events: auto !important;
}

.dot.active {
    width: calc(8*var(--vw-base));
    height: 2px;
}

.dot-label {
    position: absolute;
    right: 1.5vw;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    white-space: nowrap;
    font-size: calc(10*var(--vw-base));
    color: #756b66;
    font-family: "Lora", serif;
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.dot:hover .dot-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}




/* 確保文字可見 */
.flow-path-text {
    fill: #756b66;
    opacity: 0;
    /* 初始透明，由 GSAP 觸發 */
    pointer-events: none;
    dominant-baseline: middle;
}

/* 讓 SVG 內容可以超出畫布邊界，防止文字被切掉 */
.flow-svg-bg svg {
    overflow: visible !important;
}

/* 防止透明的 SVG 容器擋住點擊路徑 */
.flow-svg-bg {
    pointer-events: none !important;
    /* 讓點擊訊號可以「穿透」SVG 容器 */
}




.flow1-body-wrapper {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.flow1-container {
    display: flex;
    align-items: center;
    width: 90%;
    gap: 9vw;
    position: absolute;
    left: 23.4vw;
    top: 12.5vw;
    z-index: 10;
}


/* --- 左側圖片區塊 --- */
.flow1-left-content {
    position: relative;
    flex-shrink: 0;
    width: calc(400 * var(--vw-base));
    height: calc(400 * var(--vw-base));
    background: #756b66;
    /* 即使換圖瞬間也有底色撐住 */
    overflow: hidden;
}

/* 確保 Swiper 實體撐滿容器 */
.flow1-sub-swiper {
    position: absolute !important;
    /* 強制覆蓋 Swiper 預設 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.flow1-swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 避免圖片加載前的瞬間閃白 */
    background-color: #756b66;
}


.flow1-swiper-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* 預設全透明 */
    visibility: hidden;
    transition: opacity 0.6s ease;
    /* 讓透明度切換更平滑 */
}

/* 啟動中的層次 */
.flow1-swiper-container.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


/* --- 右側文字區塊 --- */
.flow1-right-content {
    flex: 1;
    max-width: 23vw;
}

.flow1-title {
    color: #756b66;
    font-size: calc(22 * var(--vw-base));
    line-height: calc(50 * var(--vw-base));
    font-weight: 700;
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.flow1-description {
    color: #756b66;
    font-size: calc(16 * var(--vw-base));
    line-height: calc(33 * var(--vw-base));
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.05em;
    padding: 0;
    margin: 0 0 1.25vw 0;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-ideograph;
}

/* --- 選單與橫線 --- */
.flow1-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flow1-nav-item {
    position: relative;
    padding: 0;
    cursor: pointer;
    color: #756b66;
    font-size: calc(22 * var(--vw-base));
    line-height: calc(52 * var(--vw-base));
    font-weight: 700;
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

/* 初始狀態的線 (透明且短) */
.flow1-nav-item::before {
    content: "";
    position: absolute;
    left: -11vw;
    width: 0vw;
    height: 1px;
    background-color: #756b66;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateX(0px);
}

/* 點擊後的狀態 */
.flow1-nav-item.flow1-active {
    transform: translateX(0px);
}

.flow1-nav-item.flow1-active::before {
    opacity: 1;
    width: 10vw;
    transform: translateX(0);
}



/* --- 手風琴效果 (Accordion) --- */
.flow2-container {
    position: absolute;
    top: 9.5vw;
    z-index: 100;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.accordion-flow2-wrapper {
    display: flex;
    width: calc(960 * var(--vw-base));
    height: calc(600 * var(--vw-base));
    gap: 15px;
}

.accordion-flow2-card {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.3, 1);
}

/* 滑入時展開 */
.accordion-flow2-card:hover {
    flex: 1;
}

.card-flow2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
    transition: transform 0.8s, filter 0.5s;
}

.accordion-flow2-card:hover .card-flow2-bg {
    transform: scale(1.1);
    filter: brightness(1);
}

/* 垂直文字標題 */
.vertical-flow2-title {
    position: absolute;
    top: 0.5vw;
    left: 0vw;
    writing-mode: vertical-rl;
    color: #fff;
    font-size: calc(30 * var(--vw-base));
    line-height: calc(45 * var(--vw-base));
    font-family: "Lora", serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    z-index: 3;
    mix-blend-mode: overlay;
}

.flow2-card1 .vertical-flow2-title-line {
    width: 1px;
    height: calc(347 * var(--vw-base));
    position: absolute;
    bottom: 1.2vw;
    left: 0.55vw;
    background-color: #fff;
    opacity: 0.5;
}

.flow2-card2 .vertical-flow2-title-line {
    width: 1px;
    height: calc(357 * var(--vw-base));
    position: absolute;
    bottom: 1.2vw;
    left: 0.55vw;
    background-color: #fff;
    opacity: 0.5;
}

.flow2-card3 .vertical-flow2-title-line {
    width: 1px;
    height: calc(437 * var(--vw-base));
    position: absolute;
    bottom: 1.2vw;
    left: 0.55vw;
    background-color: #fff;
    opacity: 0.5;
}

.flow2-card4 .vertical-flow2-title-line {
    width: 1px;
    height: calc(410 * var(--vw-base));
    position: absolute;
    bottom: 1.2vw;
    left: 0.55vw;
    background-color: #fff;
    opacity: 0.5;
}

.bottom-flow2-info {
    position: absolute;
    bottom: 1vw;
    left: 1vw;
    color: #fff;
    transition: all 0.5s ease;
    z-index: 3;
}

.bottom-flow2-info h4 {
    margin: 0;
    color: #fff;
    font-size: calc(22 * var(--vw-base));
    line-height: calc(32 * var(--vw-base));
    font-weight: 600;
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.2em
}

.flow-text {
    width: calc(420*var(--vw-base));
}

#block-2 .flow-text {
    width: calc(500 * var(--vw-base));
    position: absolute;
    top: 20vw;
    left: 16vw;
}

.flow-text h2 {
    color: #756b66;
    font-size: calc(22 * var(--vw-base));
    line-height: calc(40 * var(--vw-base));
    font-weight: 700;
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.15em;
    margin-bottom: 0;
}

.flow-text h3 {
    color: #756b66;
    font-size: calc(18 * var(--vw-base));
    line-height: calc(40 * var(--vw-base));
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.15em;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-ideograph;
}

.flow-text p {
    color: #756b66;
    font-size: calc(16 * var(--vw-base));
    line-height: calc(33 * var(--vw-base));
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.15em;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-ideograph;
    padding: 0;
    margin: 0;
}

.flow-text p.flow-line-txt {
    margin-top: calc(30 * var(--vw-base));
    line-height: calc(20 * var(--vw-base));
}

.line-qrcode {
    position: relative;
    margin-top: calc(10 * var(--vw-base));
    width: calc(99*var(--vw-base));
    height: calc(98*var(--vw-base));
}

.line-qrcode img {
    object-fit: contain;
}

#block-0 .flow-text {
    width: calc(430 * var(--vw-base));
    position: absolute;
    top: 20vw;
    left: 61.5vw;
}

/* --- 手風琴效果 (Accordion) --- */
.flow3-container {
    position: absolute;
    top: 12vw;
    z-index: 100;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.accordion-flow3-wrapper {
    display: flex;
    width: calc(1120 * var(--vw-base));
    height: calc(475 * var(--vw-base));
    gap: 15px;
}

.accordion-flow3-card {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.3, 1);
}

/* 滑入時展開 */
.accordion-flow3-card:hover {
    flex: 1;
}

.card-flow3-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
    transition: transform 0.8s, filter 0.5s;
}

.accordion-flow3-card:hover .card-flow3-bg {
    transform: scale(1.1);
    filter: brightness(1);
}

/* 垂直文字標題 */
.vertical-flow3-title {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 5vw;
    left: 0vw;
    color: #fff;
    font-size: calc(30 * var(--vw-base));
    line-height: calc(45 * var(--vw-base));
    font-family: "Lora", serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    z-index: 3;
    mix-blend-mode: overlay;
}

.bottom-flow3-info {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 1vw;
    left: 0vw;
    color: #fff;
    transition: all 0.5s ease;
    z-index: 3;
}

.bottom-flow3-info h4 {
    margin: 0;
    color: #fff;
    font-size: calc(22 * var(--vw-base));
    line-height: calc(32 * var(--vw-base));
    font-weight: 600;
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.2em
}



/* =========================================
   MAIN4
========================================= */
.main4 {
    position: relative;
    width: 100%;
    height: calc(950*var(--vw-base));
    overflow: hidden;
    background-color: #eae0d7;
    z-index: 10;
}

.main4>img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 標題區 */
.m4-txt {
    position: absolute;
    top: 0vw;
    left: 0;
    width: 50vw;
    z-index: 105;
    pointer-events: none;
}

.m4-txt-title {
    position: absolute;
    left: 10.4vw;
    top: 3.5vw;
    width: calc(287 * var(--vw-base));
    height: calc(365 * var(--vw-base));
    transition: all .35s ease-in-out;
    opacity: 0;
}

.m4-txt-title .t1 {
    color: #b6aaa0;
    font-family: "Lora", serif;
    font-weight: 600;
    font-size: calc(48 * var(--vw-base));
    line-height: 3vw;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
}

.m4-txt-title .t2 {
    position: absolute;
    left: -7.6vw;
    top: 8vw;
    color: #b6aaa0;
    width: 10vw;
    text-align: right;
    line-height: 3vw;
    font-size: calc(22 * var(--vw-base));
    font-family: 'Noto Serif TC', sans-serif;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.m4-txt-title.active {
    animation: m4-title 1.5s ease;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes m4-title {
    0% {
        opacity: 0;
        left: 9.4vw;
    }

    100% {
        opacity: 1;
        left: 10.4vw;
    }
}


.m4-txt-title img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m4-txt-line {
    width: 0vw;
    height: 1px;
    background-color: rgba(89, 80, 76, 1);
    position: absolute;
    left: 9.8vw;
    top: 0.45vw;
    transition: all .5s ease-in-out;
}

.m4-txt-line.active {
    animation: m4-line 1s linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes m4-line {
    0% {
        width: 0vw;
    }

    100% {
        width: 4.5vw;
    }
}

/* 左側遮罩圖 */
.m4-mask {
    width: calc(260*var(--vw-base));
    height: calc(950*var(--vw-base));
    z-index: 90;
    position: absolute;
    left: 0;
    top: 0;
}

/* 分隔線（你原本三條線） */
.m4-line1,
.m4-line2,
.m4-line3 {
    width: 1px;
    height: calc(0*var(--vw-base));
    background-color: rgba(137, 126, 121, 0.5);
    position: absolute;
    overflow: hidden;
    z-index: 100;
}

.m4-line4,
.m4-line5 {
    width: 100%;
    height: 1px;
    background-color: rgba(137, 126, 121, 0.5);
    position: absolute;
    overflow: hidden;
    z-index: 100;
}

.m4-line4 {
    position: absolute;
    top: 0;
    left: 0;
}

.m4-line5 {
    position: absolute;
    bottom: 0;
    left: 0;
}

.m4-line1 {
    left: 12.7vw;
    top: 0;
}

.m4-line2 {
    left: 69vw;
    bottom: 0;
}

.m4-line3 {
    left: 86.5vw;
    top: 0;
}

.m4-line1.active {
    animation: m4-1-line 2s linear;
    animation-fill-mode: forwards;
}

.m4-line2.active {
    animation: m4-2-line 2s linear;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

.m4-line3.active {
    animation: m4-3-line 2s linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes m4-1-line {
    from {
        height: 0
    }

    to {
        height: calc(1950*var(--vw-base));
    }
}

@keyframes m4-2-line {
    from {
        height: 0
    }

    to {
        height: calc(1950*var(--vw-base));
    }
}

@keyframes m4-3-line {
    from {
        height: 0
    }

    to {
        height: calc(1950*var(--vw-base));
    }
}


/* ===============================
   M4 基本版型
================================ */
:root {
    /* ===== 等比系統（照你站的慣例） ===== */
    --vw-base: calc(100vw / 1920);

    --bg: #eae0d7;
    --ink: #111;
    --muted: rgba(0, 0, 0, .55);
    --line: rgba(0, 0, 0, .18);

    /* ===== 線位置（照圖） ===== */
    --line2: 69vw;
    --line3: 86.5vw;

    /* ===== 卡片尺寸（照圖：正方形） ===== */
    --cardW: calc(336 * var(--vw-base));
    --imgH: calc(336 * var(--vw-base));

    /* 向上長的高度 */
    --imgGrow: calc(50 * var(--vw-base));

    /* ===== 關鍵：間距（照圖偏大） =====
     設計稿 px(@1920)，JS 會換算成 px */
    --gapDesign: 185;

    /* ===== 關鍵：讓第 3 張落在兩線中間 =====
     這個值我已經用「目標 band 中心」反推過，參考圖會很接近 */
    --stageLeft: calc(283 * var(--vw-base));

    /* ===== 右邊露出第四張 ===== */
    --peek: calc(230 * var(--vw-base));
}

/* ✅ 裁切到「線3 + peek」：只露一點點第四張 */
.m4-clip {
    position: relative;
    width: calc(var(--line3) + var(--peek));
    max-width: 100vw;
    overflow: visible;
    margin-top: calc(150 * var(--vw-base));
    z-index: 80;
}


/* Swiper */
#m4Swiper {
    width: 100%;
    overflow: visible;
}

#m4Swiper .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding-left: var(--stageLeft);
}

#m4Swiper .swiper-slide {
    width: var(--cardW) !important;
    flex: 0 0 auto !important;
    margin-right: 0;
    /* 間距交給 spaceBetween */
}

#m4Swiper {
    position: relative;
    /* ✅ 讓 Swiper 容器本身覆蓋你想要可拖的整塊高度
     你可以依你的版型調大一點 */
    padding-bottom: calc(120 * var(--vw-base));
}

#m4Swiper .m4-drag-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* ✅ 在背後 */
    background: transparent;
}

/* ✅ slides / scrollbar 在上層 */
#m4Swiper .swiper-wrapper,
#m4Swiper .swiper-scrollbar {
    position: relative;
    z-index: 2;
}

/* 游標手勢（可選） */
.m4-clip {
    cursor: grab;
}

.m4-clip:active {
    cursor: grabbing;
}


/* 卡片 */
.m4-card {
    display: block;
    text-decoration: none;
    color: inherit;
    user-select: none;
}

/* ✅ 1) thumb 永遠固定「最大高度」 */
.m4-thumb {
    position: relative;
    width: 100%;
    height: calc(var(--imgH) + var(--imgGrow));
    /* ✅ 最大高度 */
    overflow: hidden;
    background: #000;

    /* ✅ 預設裁切：只顯示 imgH（從上裁掉 grow 的量） */
    clip-path: inset(var(--imgGrow) 0 0 0);
    transition: clip-path 0.8s cubic-bezier(.16, 1, .3, 1);
    will-change: clip-path;
}

/* ✅ 2) 圖片：底部對齊（很重要） */
.m4-thumb img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /* ✅ 貼底 */
    top: auto;
    /* ✅ 不要 top:0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    /* ✅ 取景偏底 */
    display: block;
}

/* ✅ 3) 遮色片：預設開 */
.m4-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #59504c;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(.2, .8, .2, 1);
    will-change: opacity;
}


.m4-meta {
    width: 100%;
    position: relative;
    padding-top: 10px;
}

.m4-date {
    font-size: calc(16 * var(--vw-base));
    line-height: calc(30 * var(--vw-base));
    letter-spacing: .2em;
    color: #897e79;
    margin: 0;
    font-family: "Lora", serif;
    font-weight: 400;
    padding: 0 calc(12*var(--vw-base));
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(.2, .8, .2, 1);
}

.m4-title {
    letter-spacing: .2em;
    margin: 0;
    color: #897e79;
    font-size: calc(16 * var(--vw-base));
    line-height: calc(22 * var(--vw-base));
    font-family: "Noto Serif TC";
    font-weight: 400;
    padding: 0 calc(12*var(--vw-base));
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(.2, .8, .2, 1);
}

.m4-sline {
    width: 1vw;
    height: 1px;
    position: relative;
    margin: 1vw calc(12*var(--vw-base)) 1vw calc(12*var(--vw-base));
    padding: 0;
    background-color: #897e79;
}

.m4-desc {
    letter-spacing: 0.1em;
    margin: 0;
    color: #897e79;
    font-size: calc(20 * var(--vw-base));
    font-family: "Noto Serif TC";
    font-weight: 600;
    line-height: calc(30 * var(--vw-base));
    opacity: 1;
    transition: opacity 0.55s cubic-bezier(.2, .8, .2, 1);
    will-change: opacity;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-ideograph;
    padding: 0px 0px 0 calc(12*var(--vw-base));
}


.m4-date,
.m4-title,
.m4-desc {
    display: block;
    transform: scaleX(0.95);
    transform-origin: left center;
}

#m4-news-swiper .swiper-slide.is-focus .m4-date,
#m4-news-swiper .swiper-slide.is-focus .m4-title {
    opacity: 1;
}

/* slot4 首屏隱藏 */
#m4-news-swiper .swiper-slide.is-slot4.is-hidden {
    opacity: 0;
}

/* ✅ focus：遮色片關 + desc 顯示（你原本保留） */
.swiper-slide.is-focus .m4-thumb::after {
    opacity: 0;
}

/* ===============================
   scrollbar
================================ */
#m4-scroll {
    position: absolute !important;
    left: 15vw !important;
    right: auto !important;
    top: 37vw !important;
    bottom: auto !important;
    height: 3px !important;
    margin: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    z-index: 10;
}

#m4-scroll {
    cursor: pointer;
}

#m4-scroll .m4-scrollbar-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 3px;
    background-image: url(../img/m4-barbg.png);
    background-position: 100% 50%;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

#m4-scroll .swiper-scrollbar-drag {
    height: 1px !important;
    width: 100%;
    position: relative;
    background: rgba(89, 80, 76, 1);
    border-radius: 0;
    left: 0;
    top: 0;
}

/* 這是那個關鍵的「右側特別圖案」 */
.m4-special-pattern {
    position: absolute;
    right: 0;
    top: 0;
    width: 19px;
    height: 3px;
    background-image: url(../img/m4-barbgafdot.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;

    opacity: 0;
    /* 預設隱藏 */
    transition: opacity 0.3s ease-out 0.1s;
    z-index: 3;
    /* 確保在 drag 之上或之下，視設計而定 */
    pointer-events: none;
}

/* 當 JS 判定到最右邊時，切換此 Class */
#m4-scroll.is-at-end .m4-special-pattern {
    opacity: 1;
}




/* ✅ focus：永遠是兩線中間那張 */
.swiper-slide.is-focus .m4-thumb::after {
    opacity: 0;
}

.swiper-slide.is-focus .m4-date,
.swiper-slide.is-focus .m4-title {
    opacity: 1;
}


/* 1) clip 當定位容器，避免 absolute 層亂飛 */
#main4 .m4-clip {
    position: relative;
}

/* 2) 裝飾層永遠不吃事件（避免偶發蓋住 swiper） */
#main4 .m4-drag-layer,
#main4 .m4-mask {
    pointer-events: none;
}

/* 3) Shield：預設完全穿透；只有 is-on 才擋 */
#main4 .m4-hover-shield {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 20;
    /* 只要高於卡片即可，不要亂拉到 999 */
    pointer-events: none !important;
}

#main4 .m4-hover-shield.is-on {
    pointer-events: auto;
    /* 開啟時才擋 */
}

/* 4) 確保 swiper / 卡片層在 shield 底下（或同層） */
#main4 #m4Swiper {
    position: relative;
    z-index: 10;
}

/* 如果你的 .m4-card 有自己的 z-index，可補強一下 */
#main4 .m4-card {
    position: relative;
    z-index: 11;
}


/* ✅ 只要在滑動/拖曳狀態，一律保持低（不管 hover 不 hover） */
#main4.is-dragging-m4 #m4Swiper .m4-thumb {
    clip-path: inset(var(--imgGrow) 0 0 0) !important;
}

/* ✅ 只有「視覺鎖定」那張，滑到圖片才變高 */
#m4Swiper .swiper-slide.is-focus-lock .m4-thumb:hover,
#m4Swiper .swiper-slide.is-focus-lock .m4-thumb:focus-within {
    clip-path: inset(0 0 0 0);
}

/* 遮色片/desc 也只在「focus-lock + hover 到圖片」才出現變化 */
.m4-thumb::after {
    opacity: .5;
    transition: opacity .55s cubic-bezier(.2, .8, .2, 1);
}

.m4-desc {
    transition: opacity .55s cubic-bezier(.2, .8, .2, 1);
}

#m4Swiper .swiper-slide.is-focus-lock .m4-thumb:hover::after,
#m4Swiper .swiper-slide.is-focus-lock .m4-thumb:focus-within::after {
    opacity: 0;
}

#m4Swiper .swiper-slide.is-focus-lock .m4-thumb:hover~.m4-meta .m4-date,
#m4Swiper .swiper-slide.is-focus-lock .m4-thumb:hover~.m4-meta .m4-title,
#m4Swiper .swiper-slide.is-focus-lock .m4-thumb:focus-within~.m4-meta .m4-date,
#m4Swiper .swiper-slide.is-focus-lock .m4-thumb:focus-within~.m4-meta .m4-title {
    opacity: 1;
}

/* ✅ 拖曳中完全禁止 hover 展開（防抖） */
#main4.is-dragging-m4 .m4-thumb:hover {
    clip-path: inset(var(--imgGrow) 0 0 0) !important;
}

#main4.is-dragging-m4 .m4-thumb:hover::after {
    opacity: .5 !important;
}

#main4.is-dragging-m4 .m4-thumb:hover~.m4-meta .m4-date,
#main4.is-dragging-m4 .m4-thumb:hover~.m4-meta .m4-title {
    opacity: 0 !important;
}

/* 不足4筆（.no-swiper）：date、title 常態顯示、hover 任意張展開 */
.no-swiper .m4-date,
.no-swiper .m4-title {
    opacity: 1 !important;
}

.no-swiper .m4-thumb:hover,
.no-swiper .m4-thumb:focus-within {
    clip-path: inset(0 0 0 0) !important;
}

.no-swiper .m4-thumb:hover::after,
.no-swiper .m4-thumb:focus-within::after {
    opacity: 0 !important;
}

#m4Swiper.no-swiper .swiper-slide {
    box-sizing: border-box;
    margin-right: calc(185*var(--vw-base));
}