@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@700;900&display=swap');

:root {
    --color-primary: #fdc7d2;
    --color-price: #ff768f;
    --color-border: #ff8fb8;
    --color-red: #fd4b46;
    --color-brightPrimary: #ffcae1;
    --color-darkPrimary: #eeb1c5;
    --color-lightPrimary: #fbeced;

    --image-petal: url('../images/petal.png?t=1791964465129');
    --image-momoLogo: url(../images/momo_logo.png?t=1791964465129);
    --image-htmlBG: url(../images/background_top3.png?t=1791964465129);
    --image-bodyBG: url(../images/background_top4.jpg?t=1791964465129);
    --image-productListBG-PC: url(../images/bubble.png?t=1791964465129);
    --image-productListBG-SP: url(../images/bubble_sp.png?t=1791964465129);
    --image-title01: url(../images/mainTitle01.png?t=1791964465129);
    --image-title02: url(../images/T2.png?t=1791964465129);
    --image-title03: url(../images/T3.png?t=1791964465129);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    padding: 0;
    margin: 0;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    background-color: rgb(247 217 230);
    background-image: var(--image-htmlBG);
    background-position: center top;
    background-repeat: repeat-y;
    background-attachment: scroll, scroll; 
    background-size: auto , 100% auto;
    overflow-x: hidden;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative; /* 幫助 iOS Safari 確實定位截斷範圍 */
}

img {
    width: 100%;
    height: auto;
    display: block;
}

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

a {
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    text-decoration: none;
}

/* 櫻花瓣 */
#sakura-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    margin-top: -50px;
    pointer-events: none;
}

.sakura {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: var(--image-petal);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    animation: fall 8s linear infinite;
}

/* ↓ banner ↓ */
.momologo {
    z-index: 2;
    position: absolute;
    top: 15px;
    left: clamp(4.6875rem, -4.0625rem + 18.2292vw, 17.8125rem);
}

.momologo a {
    display: block;
    width: clamp(8.75rem, 7.5rem + 2.6042vw, 10.625rem);
    height: 30px;
    background: var(--image-momoLogo) no-repeat;
    position: relative;
    background-size: contain;
}

.wrapperBannerBg, #page1, #page2, #page3 {
    scroll-margin-top: clamp(3.3125rem, 2.9901rem + 1.3228vw, 3.625rem);
}

#page1 {
    padding: 25px;
}

.mainBanner {
    position: relative;
}

/* 禁止整個 Banner 區塊與圖片被藍底選取 */
.mainBanner,
.mainBanner picture,
.mainBanner img,
.mainBanner svg {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-user-drag: none; /* 防止 Chrome/Safari 把圖片當成檔案拉出來 */
}

/* 讓底下的圖片完全不干擾滑鼠點擊 */
.mainBanner img {
pointer-events: none;
}

.wooden-tag-hang-box.left, .wooden-tag-hang-box.right {
    position: absolute;
    top: -15%;
}

.wooden-tag-hang-box.left {
    left: -35%;
}

.wooden-tag-hang-box.right {
    right: -20%;
}

.wooden-tag-bg {
    cursor: pointer;
}

#tagLeft, #tagRight {
    filter: drop-shadow(-4px 4px 6px rgb(0, 0, 0, 0.5));
}

.mainBanner_title, .mainBanner_discount, .mainBanner_logo,
.mainBanner_products, .mainBanner_reflection {
    position: absolute;
    transform: translateX(-50%);
    opacity: 0;
}

.mainBanner_title {
    width: 45%;
    top: 7%;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    transition: transform 0.8s ease-in-out, opacity 1.5s ease-in-out;
}

.mainBanner_title.active {
    transform: translateX(-50%) rotate(0deg);
    opacity: 1;
}

.mainBanner_discount {
    width: 200%;
    top: 31.4%;
    left: 50%;
    transition: width 0.8s ease-in, opacity 0.8s ease-in-out;
    z-index: 2;
}

.mainBanner_discount.active {
    width: 28%;
    opacity: 1;
}

.mainBanner_logo {
    opacity: 1;
    top: 2.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
}

.mainBanner_product01, .mainBanner_product02, .mainBanner_product03,
.mainBanner_product04, .mainBanner_product05 {
    position: absolute;
    transform: translateY(10%);
    opacity: 0;
    z-index: 1;
    transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
}

.mainBanner_product01 {
    width: 13.8%;
    bottom: 18.8%;
    left: 25.5%;
}

.mainBanner_product02 {
    bottom: 17%;
    left: 39.1%;
    width: 9.5%;
}

.mainBanner_product01.active, .mainBanner_product05.active {
    transition-delay: 1s;
}

.mainBanner_product01.active, .mainBanner_product05.active, .mainBanner_product02.active,
.mainBanner_product03.active, .mainBanner_product04.active {
    transform: translateY(0);
    opacity: 1;
}

.mainBanner_product03 {
    bottom: 15%;
    left: 48.2%;
    width: 7.8%;
}

.mainBanner_product04 {
    width: 9.3%;
    bottom: 17%;
    right: 34.8%;
}

.mainBanner_product05 {
    width: 11%;
    bottom: 17.5%;
    right: 27.2%;
}

.mainBanner_reflection {
    width: 10.1%;
    top: 80.2%;
    transform: translateY(-20%);
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.mainBanner_reflection.product01 {
    width: 12.2%;
    left: 26.8%;
}

.mainBanner_reflection.product02 {
    width: 8.7%;
    left: 39.4%;
    top: 82%;
}

.mainBanner_reflection.product03 {
    width: 7.5%;
    top: 84.4%;
    left: 48.3%;
}

.mainBanner_reflection.product04 {
    width: 9.4%;
    top: 82%;
    right: 34.8%;
}

.mainBanner_reflection.product05 {
    width: 7.8%;
    right: 27.2%;
    top: 81%;
}

.mainBanner_reflection.active {
    transform: translateY(0);
    opacity: 1;
}

.flower_branch {
    position: absolute;
}

.flower_branch.left {
    width: 29%;
    bottom: 8%;
    left: -3%;
    transform: rotate(4deg);
    z-index: 1;
}

.flower_branch.right {
    width: 24%;
    right: -2.6%;
    bottom: 6.5%;
    transform: rotate(-4deg);
    z-index: 1;
}

ul.fixedList {
    position: relative;
}

.location-pin {
    position: absolute;
    pointer-events: none;
    left: 12px;
}

.location-pin-style {
    display: block;
    width: 16px;
    height: 16px;
    background-color: var(--color-brightPrimary);
    border-radius: 50% 50% 50% 0; 
    transform: rotate(-45deg);
    position: relative;
}

.location-pin-style::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #333234;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* ↑ banner ↑ */

/* ↓ 手機版 navbar ↓ */
.menuList li.momo_logo {
    display: inline-flex;
    width: clamp(5.3125rem, 5.0546rem + 1.0582vw, 5.5625rem);
    border: none;
}

li.momo_logo img {
    width: 80%;
    margin: auto;
}

.menuList {
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -8px 10px 8px rgb(0, 0, 0, 0.5);
}

.menuList li {
    font-size: clamp(0.875rem, 0.746rem + 0.5291vw, 1rem);
    flex: 1;
    text-align: center;
    border-left: 1px solid #f9e4e6;
    cursor: pointer;
}

.menuList li a {
    display: block;
    color: white;
    font-weight: bold;
    font-size: clamp(0.875rem, 0.4881rem + 1.5873vw, 1.25rem);
    padding: 12px clamp(0.25rem, -0.5238rem + 3.1746vw, 1rem);
}

.navItem.active {
    background-color: var(--color-lightPrimary);
}

.navItem.active a {
    color: var(--color-darkPrimary);
}
/* ↑ 手機版 navbar ↑ */

/* ↓ 右側選單欄 ↓ */
.wrapper {
    position: relative;
}

.fixedAreaBg {
    position: fixed;
    top: 136px;
    right: 0;
    z-index: 99;
}

.fixedAreaBg .fixedAreaShow {
    position: absolute;
    top: 0;
    right: -500%;
    width: 140px;
    transition: 0.5s;
}

.fixedAreaBg .fixedAreaShow.is-show {
    right: -30%;
}

.fixedAreaBg .fixedAreaShow.closeAction {
    transform: translate(200px, 0);
    transition: 0.5s;
}

.fixedAreaBg .fixedAreaShow h2 {
    margin: 0;
}

.fixedAreaBg .fixedAreaShow h2 a {
    display: block;
    width: 130px;
}

.fixedAreaBg .fixedAreaShow .box {
    width: 140px;
    margin: 0 auto;
    background-color: #1d1e1f;
    border-radius: 32px 0 0 32px;
    overflow-x: hidden;
    opacity: 0.9;
    padding: 8px 0;
}

.fixedAreaBg .fixedAreaShow .box .fixedList li {
    margin: 0 auto 1px;
    width: 58%;
    border-bottom: 1px solid white;
}

.fixedAreaBg .fixedAreaShow .box .fixedList li a {
    color: #d8d8d8;
    display: block;
    padding: 10px 8px;
    box-sizing: border-box;
    text-align: center;
    font-size: 15px;
}

.fixedAreaBg .fixedAreaShow .box .fixedList li:last-of-type, .fixedAreaBg .fixedAreaShow .box .fixedList li:nth-last-of-type(-n+2) {
    border-bottom: none;
}

.fixedAreaBg .fixedAreaShow .box .fixedList li a:hover, .fixedAreaBg .fixedAreaShow .box .fixedList li a.active {
    color: var(--color-brightPrimary);
}

.fixedAreaBg .fixedAreaHide {
    background-color: rgba(0, 0, 0, 0.5);
    width: 24px;
    color: #fff;
    letter-spacing: 4px;
    line-height: 1.2;
    font-size: 16px;
    padding: 34px 0 10px 10px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    transition: 0.5s;
    transform: translate(100px, 0);
    cursor: pointer;
    position: relative;
}

.fixedAreaBg .fixedAreaHide:before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    display: block;
    border: 1px solid #fff;
    border-width: 0 1px 1px 0;
    width: 10px;
    height: 10px;
    -webkit-transform: translate(-24%, 0) rotate(135deg);
    transform: translate(-24%, 0) rotate(135deg);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.fixedAreaBg .fixedAreaHide:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.fixedAreaBg .fixedAreaHide.openAction {
    transform: translate(0, 0);
}

a.btnTop div {
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
}
/* ↑ 右側選單欄 ↑ */

/* ↓ 產品輪播區塊 ↓ */
.bodyBG {
    margin-top: -100px;
    padding-top: 100px;
    background-image: var(--image-bodyBG);
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: scroll;
    padding-bottom: 5vw;
}

.bodyBG.is-fixed {
    background-attachment: fixed;
}

.bodyBG.is-repeat {
    background-repeat: repeat-y;
}

picture.brands_logo {
    display: flex;
    flex: 1.2;
    max-width: 23%;
}

picture.brands_logo.capsueserum {
    max-width: 35%;
}

picture.brands_logo.azelainFrieage {
    align-items: center;
    position: relative;
    min-height: 43px;
}

.azelainFrieage.linkArea p:before {
    width: 70%;
}

picture.brands_logo.azelainFrieage img:nth-of-type(1),
picture.brands_logo.azelainFrieage img:nth-of-type(2) {
    position: absolute;
    width: clamp(5.5rem, 3.85rem + 4.0458vw, 8.525rem);
}

picture.brands_logo.azelainFrieage img:nth-of-type(1) {
    bottom: 26px;
    left: 0;
}

picture.brands_logo.azelainFrieage img:nth-of-type(2) {
    top: 15px;
    right: -50%;
}

.linkArea h2 {
    font-size: clamp(1.5625rem, 0.9375rem + 1.3021vw, 2.5rem);
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-weight: 700;
}

.linkArea.capsueserum h2 {
    margin-right: clamp(-0.375rem, -0.2083rem + -0.3472vw, -0.625rem);
}

.linkArea p:before {
    content: "";
    width: 80%;
    height: 1px;
    background-color: black;
    margin-top: 8px;
}

.productMainBg .mainList li a .top, .productMainBg .mainList li a .bottom {
    flex: 1;
}

.productMainBg .mainList li a .bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mainList li img {
    pointer-events: none;
}

.productMainVideo video {
    display: block;
    width: 100%;
    margin-bottom: 3%;
    border: 2px solid #fdc8d2;
}

.mainContent {
    padding: 0 16px;
    position: relative;
}

.mainContent .arrows {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 98%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mainContent .arrowBox {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 13px;
    background-color: var(--color-primary);
    border-radius: 100px;
    z-index: 1;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.3s ease-in-out;
}

.mainContent .arrowBox:hover {
    opacity: 1;
    transform: scale(1.1);
}

.mainContent .arrow {
    position: absolute;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #ffffff;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.mainContent .arrow.L {
    border-left: 2px solid #ffffff;
    transform: rotate(45deg);
    margin-left: 9px;
}

.mainContent .arrow.R {
    border-right: 2px solid #ffffff;
    transform: rotate(-45deg);
    margin-right: 9px;
}

.dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 8px 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #d5d5d5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dots .dot.active {
    background-color: #898989;
}

.productMainVideo {
    width: 90%;
    padding: 0 0 24px;
    margin: auto;
    aspect-ratio: 16 / 9;
}

.productMainVideo iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.video_adornment {
    position: absolute;
}

.video_adornment.left {
    width: 31%;
    bottom: -4%;
    left: -4%;
    transform: rotate(-10deg);
}

.video_adornment.right {
    width: 25%;
    bottom: -2%;
    right: -8%;
}

.commonBg {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.brandsSlider.slider {
    display: flex;
    gap: 16px;
}

picture.brands_logo img {
    filter: drop-shadow(-2px 0px 0px white) drop-shadow(0px -1px 0px white) drop-shadow(2px 0px 0px white);
}

.lineBreak {
    display: none;
}
/* ↑ 產品輪播區塊 ↑ */
.contentAllBg {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    justify-content: center;
}

.contentAllBg .productMainBg {
    flex: 0 1 49%;
    background-color: white;
    border-radius: 50px;
    width: 60%;
}

.productMainBg {
    margin: 12px 0;
    box-sizing: border-box;
    border-radius: 6px;
}

.productMainBg .productHead {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px clamp(1.5rem, 1.1667rem + 0.6944vw, 2rem) 8px;
    gap: 16px;
    background-color: var(--color-primary);
    border-radius: clamp(1.875rem, 1.4583rem + 0.8681vw, 2.5rem) clamp(1.875rem, 1.4583rem + 0.8681vw, 2.5rem) 0 0;
    color: black;
}

.productMainBg .productHead .linkArea{
    width: 100%;
    height: 78%;
    display: flex;
    flex-direction: column;
    align-items: end;
    flex: 2;
}

.productMainBg .productHead .linkArea p{
    flex:1 1;
    font-size: clamp(1.125rem, 0.875rem + 0.5208vw, 1.5rem);
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: end;
    margin: 0 2px 0 0;
    color: black;
    line-height: 1;
}

.productMainBg .productMain {
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 18px;
    background-size: 100% auto;
}


.productMainBg .mainList {
    display: flex;
    justify-content: flex-start;
    background-size: 100% auto;
    padding: 16px 0 0;
    overflow-x: hidden;
    gap: 8px;
}

.productMainBg .mainList li {
    flex: 0 0 30%;
    border: 2px solid var(--color-border);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.productMainBg .mainList li a {
    height: 100%;
    display: flex; 
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
    background-color: #fff;
    transform: perspective(1px) translateZ(0);
    transition: 0.5s;
    overflow: hidden;
}

.productMainBg .mainList li a:hover {
    transform: perspective(1px) translateZ(0);
    transition: 0.5s;
}

.productMainBg .mainList li:has(a:hover) {
    border: none;
}

/* 2. 定義 4 條邊框線條的基礎設定 */
.productMainBg .mainList li::before,
.productMainBg .mainList li::after,
.productMainBg .mainList li a::before,
.productMainBg .mainList li a::after {
    content: '';
    position: absolute;
    background-color: var(--color-border); /* 線條顏色，預設綠色 */
    opacity: 0;
    z-index: 5;
    pointer-events: none;
}

.giftBg .productMainBg .mainList li::before,
.giftBg .productMainBg .mainList li::after,
.giftBg .productMainBg .mainList li a::before,
.giftBg .productMainBg .mainList li a::after {
    background-color: var(--color-red); /* 線條顏色，預設綠色 */
}

/* 上邊框 (從左向右) */
.productMainBg .mainList li::before {
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
}

/* 右邊框 (從上向下) */
.productMainBg .mainList li a::before {
    top: -100%;
    right: 0;
    width: 3px;
    height: 100%;
}

/* 下邊框 (從右向左) */
.productMainBg .mainList li::after {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 3px;
}

/* 左邊框 (從下向上) */
.productMainBg .mainList li a::after {
    bottom: -100%;
    left: 0;
    width: 3px;
    height: 100%;
}

/* 3. Hover 時觸發「兩條線對角同步圍繞」 */
.productMainBg .mainList li:hover::before,
.productMainBg .mainList li:hover::after,
.productMainBg .mainList li:hover a::before,
.productMainBg .mainList li:hover a::after {
    opacity: 1;
}

/* 第一組線：上邊框 & 下邊框 同時在 0s 出發 */
.productMainBg .mainList li:hover::before {
    animation: borderLineTop 2s linear infinite 0s;
}
.productMainBg .mainList li:hover::after {
    animation: borderLineBottom 2s linear infinite 0s;
}

/* 第二組線：右邊框 & 左邊框 同時在 0.5s 出發 (銜接成對角線條) */
.productMainBg .mainList li:hover a::before {
    animation: borderLineRight 2s linear infinite 0.5s;
}
.productMainBg .mainList li:hover a::after {
    animation: borderLineLeft 2s linear infinite 0.5s;
}

/* 4. 線條移動軌跡 Keyframes */
@keyframes borderLineTop {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

@keyframes borderLineRight {
    0% { top: -100%; }
    50%, 100% { top: 100%; }
}

@keyframes borderLineBottom {
    0% { right: -100%; }
    50%, 100% { right: 100%; }
}

@keyframes borderLineLeft {
    0% { bottom: -100%; }
    50%, 100% { bottom: 100%; }
}

.productMainBg .mainList li a .top .head {
    background-color: #d92670;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    padding: 7px 0;
    box-sizing: border-box;
}

.productMainBg .mainList li a .bottom .head {
    background-color: var(--color-primary);
    color: #fff;
    font-size: 17px;
    font-family: sans-serif;
    font-weight: 500;
    text-align: center;
    padding: 2px 0;
    box-sizing: border-box;
    border-radius: 100px;
    margin: 10px 10px 0 10px;
}

/* ↓ 超人氣限時購 ↓ */
.giftBg {
    width: 100%;
}

.giftBg .contentAllBg .productMainBg {
    flex: 0 1 80%;
    background-color: transparent;
    background-image: var(--image-productListBG-PC);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    min-height: auto !important; 
    aspect-ratio: 1220 / 680;
    display: flex;
    position: relative;
    box-sizing: border-box;
}

.giftBg .productMainBg .productMain {
    height: auto;
    width: 90%;
    margin: auto;
    top: 5%;
}

.giftBg .productMainBg .mainList {
    align-items: stretch;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 12px;
}

.giftBg .productMainBg .mainList.date1522 {
    display: flex;
}

.giftBg .productMainBg .mainList.date2331 {
    display: none;
}

.giftBgHead {
    position: absolute;
    top: -12%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    max-width: 650px;
    z-index: 2;
}

.giftBg .productMainBg .mainList li {
    flex: 1 1 calc(25% - 9px);
    max-width: calc(25% - 9px);
    border: 2px solid var(--color-red);
    background-color: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.giftBg .productMainBg .mainList li a .top {
    flex: 0 0 auto;
    text-align: center;
}

.giftBg .productMainBg .mainList li a .bottom .head {
    background-color: var(--color-red);
}

.giftBg .productMainBg .mainList li a .bottom .priceBg .num {
    color: var(--color-red);
}
/* ↑ 超人氣限時購 ↑ */

.productMainBg .mainList li a .bottom .name {
    font-size: 16px;
    color: #000;
    margin: 7px 0 0 0;
    text-align: center;
    /* padding: 0 20px 20px 20px; */
    box-sizing: border-box;
    font-family: sans-serif;
    font-weight: 500;
}

.productMainBg .mainList li a .bottom .priceBg {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 0 0 5px 0;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
    font-family: "Oswald", sans-serif;
}

.productMainBg .mainList li a .bottom .priceBg .old {
    color: #2f2f2f;
    font-size: 18px;
    margin: 0 0 5px 0;
}

.productMainBg .mainList li a .bottom .priceBg .old .del {
    text-decoration: line-through;
    font-size: 18px;
}

.productMainBg .mainList li a .bottom .priceBg .num {
    font-size: 28px;
    color: var(--color-price);
    font-weight: 500;
    display: inline-block;
    max-height: 60px;
}

.productMainBg .mainList li a .bottom .priceBg .num .big {
    font-size: 44px;
}

.productMainBg .mainList li a .bottom .priceBg {
    padding: 0 10px 0 10px;
}

.momoBarMobBg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-darkPrimary);
    z-index: 5;
    display: none;
}

#page-top {
    position: fixed;
    bottom: 20px;
    right: -90px;
    z-index: 999;
}

#page-top .arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0.5em 0.5em 0.5em;
    border-color: transparent transparent #000 transparent;
}

#page-top a {
    background-color: rgba(255, 255, 255, 0.75);
    width: 4em;
    height: 4em;
    /* border: 2px solid rgba(255, 255, 255, 0.45); */
    border-radius: 100px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.8em;
    display: none;
    flex-direction: column;
}

.giftHead{
    background-image: var(--image-title01);
    background-position: center top;
    background-repeat: no-repeat;
    height: 250px;
    margin: 80px 0 20px 0;
    position: relative;
}
.buyHead{
    background-image: var(--image-title02);
    background-position: center top;
    background-repeat: no-repeat;
    height: 250px;
    margin: 80px 0 20px 0;
    position: relative;
}
.brandsHead{
    background-image: var(--image-title03);
    background-position: center top;
    background-repeat: no-repeat;
    height: 250px;
    margin: 80px 0 20px 0;
    position: relative;
}

@keyframes lightOpacity{
    0%{
        opacity: 0;
    }
    2%{
        opacity: 0.6;
    }
    3%{
        opacity: 0.6;
    }
    5%{
        opacity: 0;
    }
    7%{
        opacity: 0.6;
    }
    8%{
        opacity: 0.6;
    }
    10%{
        opacity: 0;
    }
    100%{
        opacity: 0;
    }
}

.buyList{
    max-width: 1220px;
    margin: 0 auto;
}

.buyList li {
    width: 60%;
    margin: auto;
    transition: all 0.5s ease-in-out;
}

.buyList li:hover {
    opacity: 0.8;
    transform: scale(0.95);
}

@keyframes fall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(var(--x-shift, 0px)) rotate(360deg);
        opacity: 0;
    }
}

@media only screen and (max-width: 1280px) {
    .wrapper {
        width: 100%;
    }

    .productMainBg .productMain {
        width: 100%;
    }

    .contentAllBg {
        padding: 0 15px;
        box-sizing: border-box;
        width: 100%;
    }

    .productMainBg .mainList li a .bottom .head {
        font-size: 12px;
    }

    .productMainBg .mainList li a .bottom .name {
        font-size: 12px;
    }

    .productMainBg .mainList li a .bottom .priceBg .old {
        font-size: 14px;
    }

    .productMainBg .mainList li a .bottom .priceBg .num .big {
        font-size: 30px;
    }

    .wrapperBannerBg .mainBannerBg{
        width: 100%;
    }
}    

@media only screen and (max-width: 960px) {
    body {
        background-size: 120% auto;
    }

    .momoBarBg .momoBar {
        width: 100%;
    }

    .wrapperBg {
        background: none;
        position: relative;
    }

    .wrapper {
        width: 100%;
        margin: 0 0 0 0;
        position: relative;
        padding: 0 0 0 0;
    }

    .wrapperBannerBg .mainBannerBg {
        height: 45vw;
    }

    .fixedAreaBg {
        top: 56px;
    }

    .productMainBg {
        padding: 0;
        margin: 2vw 0 10vw 0;
    }

    .commonBg .productMainBg {
        margin: 2vw 0 5vw 0;
    }

    .productMainBg .productQueenHead {
        width: 100%;
        left: 0;
        top: -3%;
    }

    .productMainBg .mainList li {
        flex: 0 0 46%;
    }

    .productMainBg .productMonthHead {
        width: 100%;
        left: 0;
        top: -3%;
    }

    .productMainBg .mainList li a .bottom .priceBg .old {
        font-size: 12px;
    }

    .productMainBg .mainList li a .bottom .priceBg .old .del {
        font-size: 12px;
    }

    .productMainBg .mainList li a .bottom .priceBg .num {
        font-size: 18px;
    }

    .productMainBg .mainList li a .bottom .priceBg .num .big {
        font-size: 29px;
    }

    .giftBg {
        margin: 0px auto 0 auto;
        width: 100%;
    }

    .giftHead{
        margin: 60px auto 20px auto;
        width: 65%;
        height: 19vw;
        background-size: 100% auto;
    }
    
    .buyHead{
        margin: 0px auto 10px auto;
        width: 65%;
        height: 19vw;
        background-size: 100% auto;
    }
    
    .brandsHead{
        margin: 100px auto 10px auto;
        width: 65%;
        height: 19vw;
        background-size: 100% auto;
    }
}    

@media only screen and (max-width: 768px) {
    .momoBarMobBg {
        display: block;
    }

    .momoBarBg {
        display: none;
    }

    .fixedAreaBg {
        display: none;
    }

    /* ↓ banner ↓ */
    .mainBanner_title.active {
        width: 80%;
        top: 6%;
    }

    .mainBanner_discount {
        top: 30.7%;
        left: 51.3%;
    }

    .mainBanner_discount.active {
        width: 55%;
    }

    .mainBanner_logo {
        top: 2%;
        width: 35%;
    }

    .mainBanner_product01 {
        width: 27%;
        bottom: 16%;
        left: 2.3%;
    }

    .mainBanner_product02 {
        bottom: 14%;
        left: 28.8%;
        width: 19.2%;
    }

    .mainBanner_product03 {
        bottom: 11.5%;
        left: 47.3%;
        width: 15%;
    }

    .mainBanner_product04 {
        width: 18.5%;
        bottom: 14.6%;
        right: 19%;
    }

    .mainBanner_product05 {
        width: 21%;
        bottom: 14.5%;
        right: 4.2%;
    }
    
    .mainBanner_reflection.product01 {
        width: 24%;
        left: 4.8%;
        top: 83%;
    }

    .mainBanner_reflection.product02 {
        width: 17.6%;
        left: 29.4%;
        top: 84%;
    }

    .mainBanner_reflection.product03 {
        width: 14.5%;
        top: 87.7%;
        left: 47.5%;
    }

    .mainBanner_reflection.product04 {
        width: 18.3%;
        top: 84%;
        right: 19.2%;
    }

    .mainBanner_reflection.product05 {
        width: 14.8%;
        right: 4.2%;
        top: 84%;
    }
    /* ↑ banner ↑ */

    .wrapper {
        margin: -1rem 0 0 0;
    }

    #page-top a {
        display: flex;
    }

    .productMainBg .productQueenHead {
        top: -1%;
    }

    .productMainBg {
        margin: 13vw 0 10vw 0;
    }

    picture.brands_logo {
        max-width: clamp(5.625rem, 1.1111rem + 18.5185vw, 10rem);
    }

    picture.brands_logo.azelainFrieage {
        max-width: clamp(4.6875rem, -0.7937rem + 22.4868vw, 10rem);
    }

    .linkArea h2 {
        font-size: clamp(1.3125rem, 0.0873rem + 5.0265vw, 2.5rem);
    }

    .linkArea.capsueserum h2 {
        margin-right: clamp(-0.3125rem, 0.0744rem + -1.5873vw, -0.6875rem);
    }

    .productMainBg .productHead .linkArea p {
        font-size: clamp(0.875rem, 0.2302rem + 2.6455vw, 1.5rem);
    }

    picture.brands_logo.azelainFrieage img:nth-of-type(1),
    picture.brands_logo.azelainFrieage img:nth-of-type(2) {
        width: clamp(5rem, 1.8758rem + 13.2275vw, 8.125rem);
    }
    
    .lineBreak {
        display: block;
    }

    /* ↓ 超人氣限時購 ↓ */
    .giftBg{
        box-sizing: border-box;
    }

    .giftBg .productMainBg .mainList{
        justify-content: center;
    }

    .giftBg .productMainBg .mainList li a .top .head {
        font-size: 0.8rem;
    }

    .giftBg .productMainBg .mainList li a .bottom .name {
        font-size: 2.2vw;
    }

    .giftBg .productMainBg .mainList li a .bottom .priceBg .old {
        font-size: 2vw;
    }

    .giftBg .productMainBg .mainList li a .bottom .priceBg .old .del {
        font-size: 2vw;
    }

    .giftBg .productMainBg .mainList li a .bottom .priceBg .num {
        font-size: clamp(1rem, 0.4196rem + 2.381vw, 1.5625rem);
    }

    .giftBg .productMainBg .mainList li a .bottom .priceBg .num .big {
        font-size: 5vw;
    }

    .giftBg .contentAllBg .productMainBg {
        background-image: var(--image-productListBG-SP);
        background-size: contain;
        background-position: center top;
        aspect-ratio: 750 / 1060; 
        width: 100%;
        flex: 0 0 95%;
    }

    .giftBgHead {
        width: 93%;
        top: -8%;
    }

    .giftBg .productMainBg .productMain {
        width: 90%;
        margin: auto;
        position: relative;
        top: 2%;
    }

    .giftBg .productMainBg .mainList {
        flex-wrap: wrap;
    }

    .giftBg .productMainBg .mainList li {
        flex: 0 0 calc(45% - 25px) !important;
        max-width: calc(45% - 25px) !important;
    }
    /* ↑ 超人氣限時購 ↑ */

    .productMainBg .mainList {
        gap: clamp(0.25rem, -0.0079rem + 1.0582vw, 0.5rem);
    }

    .productMainBg .mainList li a .top .head {
        font-size: 0.8rem;
    }

    .productMainBg .mainList li a .bottom .name {
        font-size: 2.2vw;
        padding: 0 2vw 0 2vw;
    }

    .productMainBg .mainList li a .bottom .priceBg .old {
        font-size: 2vw;
    }

    .productMainBg .mainList li a .bottom .priceBg .old .del {
        font-size: 2vw;
    }

    .productMainBg .mainList li a .bottom .priceBg .num {
        font-size: clamp(1rem, 0.4196rem + 2.381vw, 1.5625rem);
    }

    .productMainBg .mainList li a .bottom .priceBg .num .big {
        font-size: 5vw;
    }

    .productMainBg .mainList li {
        flex: 0 0 30%;
    }

    .wrapperBannerBg {
        margin-top: clamp(2.6875rem, 2.1071rem + 2.381vw, 3.25rem);
    }

    .wrapperBannerBg .mainBannerBg {
        height: 150vw;
        margin: 0 auto 0 auto;
    }

    .wrapperBannerBg .mainBannerBg .actionArea_mob {
        display: block;
    }

    .productMainBg .mainList li a .bottom .head {
        font-size: 2.3vw;
    }

    .productMainBg .productHead {
        margin: -0.5vw 0 0 0;
        padding: clamp(0.75rem, 0.4921rem + 1.0582vw, 1rem) clamp(1rem, -0.0317rem + 4.2328vw, 2rem) 4px;
        border-radius: clamp(1.5625rem, 0.5952rem + 3.9683vw, 2.5rem) clamp(1.5625rem, 0.5952rem + 3.9683vw, 2.5rem) 0 0;
    }

    .contentAllBg {
        padding: 0;
        width: 95%;
    }

    .buyList li {
        width: 95%;
    }

    .contentAllBg .productMainBg {
        flex: 1 1 100%;
        margin: 2vw 0 5vw 0;
        min-width: 0;
    }

    .giftHead{
        margin: -50px auto 10px auto;
        background-size: 100% auto;
        height: 26vw;
    }

    .buyHead{
        margin: 38px auto 6px auto;
        background-size: 100% auto;
        width: 93%;
        height: 25vw;
    }

    .brandsHead{
        margin: 38px auto 6px auto;
        background-size: 100% auto;
        width: 93%;
        height: 25vw;
    }
}
