/* 設計針對活動頁面客製css */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
/* 布局 */
.dp-flex {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.c-1, .c-2, .c-3,
.c-4, .c-5, .c-6,
.c-7, .c-8, .c-9,
.c-10, .c-11, .c-12 {
    display: flex;
    margin: auto;
}
.c-1 {
    max-width: 8.33%;
    width: 100%;
}
.c-2 {
    max-width: 16.66%;
    width: 100%;
}
.c-3 {
    max-width: 25%;
    width: 100%;
}
.c-4 {
    max-width: 33.33%;
    width: 100%;
}
.c-5 {
    max-width: 41.66%;
    width: 100%;
}
.c-6 {
    max-width: 50%;
    width: 100%;
}
.c-7 {
    max-width: 58.33%;
    width: 100%;
}
.c-8 {
    max-width: 66.66%;
    width: 100%;
}
.c-9 {
    max-width: 75%;
    width: 100%;
}
.c-10 {
    max-width: 83.33%;
    width: 100%;
}
.c-11 {
    max-width: 91.66%;
    width: 100%;
}
.c-12 {
    max-width: 100%;
    width: 100%;
}

/* 頁籤 */
.tab-block {
    /* margin-top: 2%; */
    position: relative;
}
.tab-control {
    position: absolute;
    opacity: 0;
}
.tab-group label, .tab-group a.tabs {
    position: relative;
    display: inline-block;
    /* padding: 1.5em 1em; */
    cursor: pointer;
    padding: 4px 8px;
}
/* 商品 */
.c-3.item,
.c-4.item {
    padding: 1%;
    margin: auto;
}





/* width */
.tab-group::-webkit-scrollbar {
    width: -1px;
}
/* Track */
.tab-group::-webkit-scrollbar-track {
    background: #f1f1f1;
}
/* Handle */
.tab-group::-webkit-scrollbar-thumb {
    background: #888;
}
/* Handle on hover */
.tab-group::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* .content-group {
    padding: 1em;
     border-radius: 15px; 
} */
.tab-content {
    display: none;
    max-width: 100%;
    width: 100%;
}
#tab1:checked ~ .content-group .content1,
#tab2:checked ~ .content-group .content2,
#tab3:checked ~ .content-group .content3,
#tab4:checked ~ .content-group .content4,
#tab5:checked ~ .content-group .content5,
#tab6:checked ~ .content-group .content6,
#tab7:checked ~ .content-group .content7,
#tab8:checked ~ .content-group .content8,
#tab9:checked ~ .content-group .content9,
#tab10:checked ~ .content-group .content10,
#tab11:checked ~ .content-group .content11,
#tab12:checked ~ .content-group .content12,
#tab13:checked ~ .content-group .content13,
#tab14:checked ~ .content-group .content14,
#tab15:checked ~ .content-group .content15,
#tab16:checked ~ .content-group .content16,
#tab17:checked ~ .content-group .content17,
#tab18:checked ~ .content-group .content18,
#tab19:checked ~ .content-group .content19,
#tab20:checked ~ .content-group .content20  {
    display: flex;
    flex-wrap: wrap;
}

/* #tab1:checked ~ .content-group {
}
#tab2:checked ~ .content-group {
}
#tab3:checked ~ .content-group {
}
#tab4:checked ~ .content-group {
}
#tab5:checked ~ .content-group {
} */
.tab-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}
.tab-group label, .tab-group a.tabs {
    color: #000;
    font-weight: 600;
    transition: .3s;
    /* max-width: 10em; */
    max-width: 100%;
    width: 100%;
    margin: auto;
}
.tab-group label {
    font-size: .8rem;
    line-height: 1rem;
    background: url(../images/bar_right.png) 0 / 100% no-repeat;
    color: #000;
    text-align: left;
}
.tabs {
    background: url(../images/nav-btn2.png) 0 / 100% no-repeat;
    color: #000;
}

/* sample版頁籤 */
.sample-main-tab {
    width: 14%; 
    background: #ffffffcc;
    overflow: hidden; 
    /* margin: auto; */
    box-shadow: 0 4px 16px #00000060;
}
.sample-main-tab .tab-group {
    flex-flow: column;
    flex-wrap: wrap;
    overflow-x: auto;
    height: fit-content;
}
.main-group {
    /* max-width: 86%; */
    width: 100%;
    margin: auto;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}
#sample-menu {
    position: sticky;
    z-index: 3;
    top: 0;
    left: 0;
    height: fit-content;
    background: #ccc;    
    box-shadow: 0 0 4px 0 black;
}
#sample-menu-content {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    height: 100%;
    margin: 0;
    width: 24%;
    height: 100vh;
    display: none;
}
#sample-menu-content.container {
    padding-top: 4em;
}
#sample-menu-content.active {
    display: flex;
    overflow-x: auto;
    width: 100vw;
    height: 100vw;
}



/* swiper */
/* :root{
    --primary-green:#62DB54;
    var(--primary-green)
} */
.swiper-pagination-bullet {
    background: #000 !important;
    opacity: 1 !important;
    transition: 0.5s;
}
.swiper-pagination-bullet-active {
    padding: 0 8px;
    border-radius: 6px;
    transition: 0.5s;
}


/* sample版swiper */
.main-group .swiper-container {
    /* max-width: 1400px; */
    width: 100%;
    max-width: 100vw;
}
.block-tt {
    width: auto;
    max-width: 100%;
    margin: 4% 0 2%;
}
.tab-content > .block-tt {
    margin-left: 3em;
}
.main-group .block-tt {
    background: #ccc;
    padding: 4px 8px;
    font-weight: 600;
    color: #000;
    font-size: 1rem;
    text-align: left;
    align-self: unset;
    margin: 1em auto 1em 0;
}
.main-group .swiper-pagination-bullet {
    background: none !important;
}
.main-group .swiper-container.swiper1>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 4px;
    width: 8%;
    background: #888 !important;
    border-radius: 0;
    height: auto;
    color: #fff;
}
.main-group .swiper-container.swiper1>.swiper-pagination-bullets .swiper-pagination-bullet-active {
    background: #000 !important;
}
.main-group .swiper-slide {
    background: #ddd;
}

/* swiper2 */
/* .main-group .swiper-container.swiper2>.swiper-pagination-bullets .swiper-pagination-bullet {
    border-radius: 5em;
    padding: 6px;
    width: unset;
} */

#CONTENT-1-bg1 {
    /* background: #474747;
    background: linear-gradient(360deg,#474747 0%, #000 100%); */
    background: #424242;
    background: linear-gradient(360deg,#424242 0%, #000 100%);
}

#CONTENT-1-bg1 .container {
    max-width: 1200px !important;
}
#CONTENT-1-bg1 .main-group .container {
    padding: 0;
    max-width: 1200px;
    width: 100%;
}

.content5,
.content6,
.content7,
.content8,
.content9 {
    filter: grayscale(1);
}


.c-hover a {
    transition: all .2s ease-out;
}
.c-hover a:hover {
    transform: translateY(-4px);
}

/* 卡片 */
#CONTENT-1-bg1 .main-group .container .card6 {
    justify-content: space-around;
    align-items: center;
    background: #00000050;
    border-radius: 8px;
    padding: 0 1%;
}
.card6 .cards {
    filter: grayscale(1);
    font-size: 1rem;
    line-height: 1.4rem;
    color: #505050;
    margin: 3% 0 1%;
    font-weight: 600;
}
.card6 .cards-border {
    position: relative;
    border: 4px solid #9b01ef;
    border-radius: 8px;
    background: #ffffff;
    margin: 0 2%;
}
.card6 .cards .cards-t {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #9b01ef;
    color: #fff;
    border-radius: 20px;
    font-size: 1.5rem;
    line-height: 34px;
    max-width: 15em;
    width: max-content;
    padding: 4px 16px;
}
.card6 .cards .cards-c {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 4% 2% 3%;
    margin-bottom: -0.5em;
    flex-direction: row;
}
.card6 .cards .cards_cs {
    width: 100%;
    margin: 0 2%;
    text-align: center;
}
.card6 .cards .cards_btn {
    background: linear-gradient(to right, #9b01ef 70%, #9b01ef 100%);
    color: #fff !important;
    border: 1px solid #9b01ef;
    line-height: 32px;
    width: fit-content;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    margin: 0 0 0 auto;
    border-radius: 8px 0 0 0;
    position: absolute;
    bottom: -1px;
    right: 0;
}
.card6 .cards .cards_btn i {
    margin-left: 4px;
}

.card7 a.cards {
    display: flex;
    flex-wrap: wrap;
    display: inline-block;
    padding: 8px;
    border-radius: 10px;
}
.card7 a.cards .cards_b {
    background-color: white;
    padding: 5px;
    border-color: #ddd;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    transition: ease 0.3s;
    overflow: hidden;
}
.card7 a.cards .cards_img {
    border-radius: 10px 10px 0 0;
    /* object-fit: contain; */
    /* position: absolute; */
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
}
.card7 .cards_info {
    padding: 4px 4px 0;
    margin: auto;
}
.card7 .cards_info_t {
    margin: 0 0 5px 0;
    /* margin: 5px; */
    font-size: 1rem;
    line-height: 1.2rem;
    color: #000000;
    text-align: left;
    height: 44px;
    overflow: hidden;
}
.card7 .cards_info_m {
    height: 40px;
    border-color: #505050;
    margin: 0 auto;
    text-align: center;
    border-top-style: dashed;
    border-width: 1px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}
.card7 .ori {
    float: left;
    font-size: 0.9rem;
    line-height: 0.9rem;
    color: #505050;
    text-decoration: line-through;
}
.card7 .sp {
    font-size: 1.4rem;
    line-height: 1.4rem;
    color: #df0037;
    font-weight: bold;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
}
.card7 .sp::before {
    content: '促銷價$';
    font-size: 0.9rem;
    margin-left: 4px;
}
.card7 .buy {
    width: 60px;
    font-size: 1.2rem;
    line-height: 1.6rem;
    background-color: #df0037;
    font-weight: bold;
    color: white;
    border-radius: 20px;
    margin: auto 0 auto auto;
}

.card-s1,
.card-s2,
.card-s3,
.card-s4,
.card-s5,
.card-s6,
.card-s7,
.card-s8 {
    align-items: center;
    justify-content: center;
}
.card-s1 .shop,
.card-s2 .shop,
.card-s3 .shop,
.card-s4 .shop,
.card-s5 .shop,
.card-s6 .shop,
.card-s7 .shop,
.card-s8 .shop {
    padding: 1%;
    margin: 0;
}

.card-s5 .shop img {
    border-radius: 2em;
}

.card-s7 .shop img {
    border-radius: 1em;
    border: 2px solid #000;
}

.card-cv1,
.card-cv2 {
    align-items: center;
    justify-content: center;
}

.card-cv1 .cover,
.card-cv2 .cover {
    padding: .5%;
}

.card-ip1,
.card-ip2,
.card-ip3,
.card-ip4 {
    align-items: center;
    justify-content: center;
}

.card-ip1 .ip,
.card-ip2 .ip,
.card-ip3 .ip,
.card-ip4 .ip {
    padding: .8% .5%;
}

/* 分類1 */
.card-cate1 .cate {
    width: 24%;
    margin: auto;
    background: rgb(227,227,227);
    background: linear-gradient(180deg, #fff 0%, #ddd 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
.card-cate1 .cate_b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 1em;
}
.card-cate1 .cate_b::after {
	content: "\f0da";
	font-weight: 900;
	font-family: "Font Awesome 5 Free";
	font-size: 1.6rem;
    color: #000;
}
.card-cate1 .cate_info_t {
    height: unset;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.8rem;
    color: #000;
}
.card-cate1 .cate_info {
    padding: 0;
}
.card-cate1 .cate_img {
    max-width: 50%;
}
.card-cate4 {
    /* 可移除樣式 */
    filter: invert(1);
}
.card-cate5 .cate {
    margin: 0;
}
#CONTENT-1-bg1 .main-group .container.card-cate6 {
    width: 100%;
    padding: 0 15%;
}
.card-cate6 .cate {
    margin: 2% auto;
}
/* menu改版 */
@media (min-width: 737px) {
    body #menu .menu-imgLink img, body #menu-left .menu-imgLink img {
        width: 130px !important;
        margin: 0;
    }
}
/* 共用 */
.dp-block {
    display: block;
}
.dp-none {
    display: none;
}
.dp-mb-block {
    display: none;
}
.dp-mb-flex {
    display: none;
}
.dp-mb-none {
    display: block !important;
}
.font-s {
    font-size: .8rem;
}

/* pc右側menu241128 */
@media (min-width: 737px) {
    body #menu ul li a {
        border-radius: unset;
        margin-top: unset;
    }
    body #menu ul li:first-child a {
        border-radius: 10px 10px 0 0;
    }
    body #menu ul li:last-child a {
        border-radius: 0 0 10px 10px;
    }
    body #menu ul li:not(.menu-title) a.active, #menu ul li:not(.menu-title) a:hover,
    body #menu-left ul li a.active,
    body #menu-left ul li a:hover {
        background-color: #0073e6;
        color: #fff;
    }
    body #menu-left ul li a {
        margin-top: 0;
        border-radius: 0;
    }
    body #menu-left .menu-content {
        border-radius: 10px;
        overflow: hidden;
    }
    body #menu-left .summary-expansion-name {
        border-radius: 10px 10px 0 0;
    }
    body #menu ul, body #menu ul li, body #menu-left ul, body #menu-left ul li {
        margin: -1px 0;
    }
    body .menu-content ul li:nth-child(10) {
        border-radius: 0 0 10px 10px;
    }
}
/* logo bar */
.logo-bar {
    /* background: #d4d4d4; */
    /* background: #000; */
    background: #fff;
    padding: 4px 0 2px;
    text-align: center;
    box-shadow: 0 0 8px rgba(0, 0, 0, .3);
    position: relative;
    z-index: 1;
}
.logo-bar a {
    display: inline;
}
.logo-bar a img {
    max-width: 10%;
    width: 100%;
    display: block;
    margin: auto;
}
/* search bar */
body .search-box {
    bottom: -36px;
}
body .search-bar {
    box-shadow: 0px 8px 6px #2626263b, 0 -1px 4px 0 #2626261f;
}

/* kv主視覺 */
.main-kv.kv2 {
    position: relative;
    background: url(../images/kv-pc.png) top center/ 100% no-repeat;
    display: flex;
    height: 53vw;
}
.main-kv.kv2 .kv-main {
    max-width: 32%;
    width: 100%;
    position: absolute;
    animation: kv-move 1s ease-in-out infinite alternate;
    top: calc(50% - 37%);
    left: 14vw;
}

/* picshine共用 */
.picshine {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    -webkit-filter: brightness(1.1);
    -webkit-mask-size: 250%;
    -webkit-mask-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 60%);
    -webkit-transition: -webkit-mask-position;
    -webkit-animation-timing-function: linear;
    -webkit-transform: translate3d(0, 0, 0);
    filter: brightness(1.5);
    mask-size: 250%;
    mask-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 60%);
    transition: -webkit-mask-position;
    animation-timing-function: linear;
    transform: translate3d(0, 0, 0);
    transition-duration: 1s;
    animation: picshine 2s ease-out infinite;
    width: 100%;
}
@-webkit-keyframes picshine {
    0% {
        -webkit-mask-position: 125% 0px;
        -moz-mask-position: 125% 0px;
        -o-mask-position: 125% 0px;
        mask-position: 125% 0px;
    }

    50% {
        -webkit-mask-position: 0% 0px;
        -moz-mask-position: 0% 0px;
        -o-mask-position: 0% 0px;
        mask-position: 0% 0px;
    }

    100% {
        -webkit-mask-position: 125% 0px;
        -moz-mask-position: 125% 0px;
        -o-mask-position: 125% 0px;
        mask-position: 125% 0px;
    }
}
@keyframes picshine {
    0% {
        -webkit-mask-position: 125% 0px;
        -moz-mask-position: 125% 0px;
        -o-mask-position: 125% 0px;
        mask-position: 125% 0px;
    }

    50% {
        -webkit-mask-position: 0% 0px;
        -moz-mask-position: 0% 0px;
        -o-mask-position: 0% 0px;
        mask-position: 0% 0px;
    }
    100% {
        -webkit-mask-position: 125% 0px;
        -moz-mask-position: 125% 0px;
        -o-mask-position: 125% 0px;
        mask-position: 125% 0px;
    }
}

/* pic move共用 */
.picmove {
	-webkit-animation: picmove .6s ease-in-out infinite alternate;
    animation: picmove .6s ease-in-out infinite alternate;
}
@-webkit-keyframes picmove {
	100% {
		transform: translateY(0);
	}
}
@keyframes picmove {
	100% {
		transform: translateY(-5px);
	}
}

/* hover scale共用 */
a.scale img {
    transform: scale(0.95);
    transition: ease .2s;
}
a.scale:hover img {
    transform: scale(1);
    box-shadow: unset;
}
@keyframes scale {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(0.95);
	}
}

/* 既有版型 */
/* 活動 */
.eventBlock.container {
	background: #ffffff50;
	border-radius: 8px;
	display: flex; 
	align-items: center; 
	justify-content: space-around; 
	flex-wrap: wrap;
	padding: 4em 4em 0;
}
.event {
	width: 49%;
	position: relative;
    font-size: 1.3rem;
    line-height: 1.4rem;
	color: #505050;
	background: #FFF5BE;
    border: 1px solid #6D471A;
    border-radius: 8px;
	margin-bottom: 1.5em;
	font-weight: 600;
}
.event_t {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #CA8A3E;
	color: #fff;
	border-radius: 20px;
	font-size: 1.5rem;
    line-height: 34px;
	max-width: 15em;
	width: max-content;
	padding: 4px 16px;
}
.event_c {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
	text-align: left;
    padding: 1.5em 1em 0;
    margin-bottom: -0.5em;
}
.event_d {
	font-size: 1rem;
	font-weight: 500;
}
.event_btn {
	background: linear-gradient(to right, #E05236 70%, #FF8168 100%);
	color: #fff !important;
	border: 1px solid #E05236;
	line-height: 32px;
	width: fit-content;
	padding: 4px 8px;
	border-radius: 8px 8px 0 0;
	margin: 0 auto;
	display: flex;
	align-items: center;
}
.event_btn i {
	margin-left: 4px;
}
.event.exl {
	width: 99%;
}
.event.exl .event_c {
	/* justify-content: center; */
}
.pay .event_c {
	justify-content: center;
}
.pay .event_cs {
    width: 8%;
    margin: 0 1em;
}
.pay .event_btn {
	margin: 0 0 0 auto;
	border-radius: 8px 0 8px 0;
}
/* 優惠券 */
.blockCoupon {

}
.couponBlock {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* justify-content: space-around; */
	justify-content: center;
}
.coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
	background: #fff;
    width: 31%;
	/* margin: 8px; */
	/* margin-bottom: 2em; */
	margin: 1em;
	box-sizing: border-box;
	padding: 6px;
	-webkit-mask-box-image: url("../images/coupon_mask.png")
	30 fill /          /* slice */
	20px /             /* width */
	1px                /* outset */
	round;             /* repeat */
	mask-border:
	url("../images/coupon_mask.png")
	30 fill /        /* slice */
	20px /           /* width */
	1px              /* outset */
	round;           /* repeat */
}
.coupon a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    background: #da6a38;
	padding: 8px;
	width: 100%;
	-webkit-mask-box-image: url("../images/coupon_mask.png")
	30 fill /          /* slice */
	20px /             /* width */
	1px                /* outset */
	round;             /* repeat */
	mask-border:
	url("../images/coupon_mask.png")
	30 fill /        /* slice */
	20px /           /* width */
	1px              /* outset */
	round;           /* repeat */
}
.coupon.freeship a {
	background: #4EA63F url(../images/coupon_ship.png) no-repeat 80% 88% / 24%;
}
.coupon .c_tag {
    width: 30px;
    line-height: 1.1rem;
    font-size: 1.1rem;
    font-weight: bold;
    background: #fff;
    padding: 8px 4px;
	border-top: 4px solid #505050;
	color: #505050;
}
.vr {
    margin: 0 4px;
    border: 0;
    border-left: 1px solid #fff;
    width: 1px;
    height: 8rem;
}
.coupon .c_info {
	/* width: 50%; */
	width: 56%;
	font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
	text-align: left;
	color: #fff;
}
.coupon .c_info div {
	/* width: 100%; */
	margin: 4px 0 0;
}
.coupon .c_price {
    font-size: 2rem;
	line-height: 2.1rem;
    font-weight: bold;
	text-shadow: 2px 2px 0 #50505050;
	width: 100%;
}
.coupon .c_price span {
	font-size: 1rem;
}
.coupon .c_full {
    font-weight: normal;
}
.coupon.code .c_full {
	box-shadow: unset;
    background: unset;
    color: #fff;
	margin: 0;
	margin-top: auto;
	padding: 0;
    line-height: 1.2rem;
}
.coupon.code .c_price {
    font-size: 2rem;
	width: unset;
	margin-right: 4px;
	line-height: 2.1rem;
}
.c_code {
	font-size: 1.4rem;
    background: #fff;
    color: #505050;
    line-height: 1.6rem;
    padding: 0 4px;
    font-weight: 600;
}
.coupon .c_date {
	
}
.coupon .c_btn {
	width: 34px;
    line-height: 24px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid #fff;
    box-sizing: border-box;
    padding: 4px;
}
.coupon .c_btn:after {
	content: '';
    background: url(../images/coupon_click.svg);
    width: 1.3rem;
    height: 1.3rem;
    display: block;
}
.coupon.cxl {
    width: 48%;
}
.coupon.cxl .c_tag {
    width: 54px;
}
.coupon.cxl .vr {
	margin: 0 -2em;
	height: 6rem;
}
.coupon.cxl .c_date {
    padding-left: 8px;
}
/* 主打商品 */
.contentSale {

}
.saleBlock {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;

}
.saleBlock .pd {
	/* background: url(../images/toppd_bg.png) no-repeat bottom; */
    color: #505050;
	width: 40%;
	padding-bottom: 1.5em;
	/* filter: hue-rotate(-10deg) saturate(1); */
	position: relative;
	margin-bottom: 1em;
}
.saleBlock .pd::before {
    /* content: url(../images/toppd_bg.png); */
	content: '';
    width: 100%;
    height: 100%;
    background: url(../images/toppd_bg.png) no-repeat bottom;
	background-size: 80%;
	bottom: 0;
	left: 0;
    position: absolute;
    display: inline-block;
	/* 主打品舞台改色可調整下方數值 */
    filter: hue-rotate(5deg) saturate(1);
}
.saleBlock .pd_img {
	max-width: 60%;
	margin: auto;
	transform: translate(0);
    /* margin: 0 auto 3em; */
}
.pd_img {
	transition: ease 0.3s;
}
.pd_img:hover {
    transform: translate(0, -8px);
}
.pd_info {
    /* width: 62%; */
    margin: auto;
}
.saleBlock .pd_tl {
	font-size: 1.7rem;
	line-height: 2.2rem;
	letter-spacing: -0.5px;
	font-weight: 600;
	transform: translate(0);
}
.saleBlock .pd_ts {
	font-size: 1rem;
	line-height: 1.2rem;
	transform: translate(0);
}
.saleBlock .pd_price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	font-family: Arial;
	transform: translate(0);
}
.saleBlock .pd_price .ori {
	font-size: 1rem;
	/* width: 40%; */
}
.saleBlock .pd_price .sp {
	font-size: 2rem;
	/* width: 50%; */
	line-height: 2.2rem;
    color: #DF0037;
    font-weight: 600;
	transform: skewX(-5deg);
    letter-spacing: -1px;
	margin-left: 4px;
}
.saleBlock .pd_price .sp:before {
    content: '$';
    font-size: 1rem;
    font-weight: 600;
}
/* 商品區 */
.contentPd {

}
.pdBlock {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.pdBlock a.pd {
	display: flex;
	flex-wrap: wrap;
	width: 23.7%;
    display: inline-block;
    padding: 3px;
    margin: 6px;
    border-radius: 10px;
}
.pdBlock a.pd .pd_b {
	background-color: white;
    padding: 5px;
    border-color: #ddd;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    transition: .3s;
	overflow: hidden;
    display: block;
}
.pdBlock a.pd .pd_img {
	/* position: relative;
    padding-bottom: 100%;
    float: none;
    width: auto; */
	border-radius: 10px 10px 0 0;
    /* object-fit: contain; */
    /* position: absolute; */
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
	overflow: hidden;
}
.pdBlock .pd_info {
    padding: 4px 4px 0;
    display: block;
    text-align: left;
}
.pdBlock .pd_info_t {
	margin: 0 0 5px 0;
    /* margin: 5px; */
    font-size: 1rem;
    line-height: 1.2rem;
    color: #000000;
    text-align: left;
    height: 44px;
    overflow: hidden;
}
.pdBlock .pd_info_m {
	height: 40px;
    border-color: #505050;
    margin: 0 auto;
    text-align: center;
    border-top-style: dashed;
    border-width: 1px;
    width: 100%;
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}
.pdBlock .ori {
	float: left;
	font-size: 0.9rem;
	line-height: 0.9rem;
    color: #505050;
    text-decoration: line-through;
}
.pdBlock .sp {
	font-size: 1.4rem;
    line-height: 1.4rem;
    color: #df0037;
    font-weight: bold;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
}
.pdBlock .sp::before {
	content: '促銷價$';
	font-size: 0.9rem;
	margin-left: 4px;
}
.pdBlock .buy {
	width: 60px;
    font-size: 1.2rem;
    line-height: 1.6rem;
    background-color: #df0037;
    font-weight: bold;
    color: white;
    border-radius: 20px;
    margin: auto 0 auto auto;
}
/* 主打店家 */
.contentShop {

}
.shopBlock {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
}
.shop {
	border: 1px solid #505050;
	width: 19%;
	font-size: 1rem;
	line-height: 1.2rem;
	font-weight: 600;
	background: #e9e9e9;
	margin: 0.5em 0;
}
.s_img {
	display: block;
}
.s_info {
	padding: 4px 0;
}
.s_name	{
	color: #505050;
}
.s_txt {
	color: #df0037;
}

/* 導外部LINK */
a.blockBtn {
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 2.5rem;
    color: #fff !important;
    background: #C60031;
    display: inline-block;
    padding: 0.2em 1em;
    border-radius: 2em;
    margin: 1.5em 0 1em;
}

@media screen and (max-width: 736px) {
    /* m版手機布局 */
    .c-1m {
        max-width: 8.33%;
        width: 100%;
    }
    .c-2m {
        max-width: 16.66%;
        width: 100%;
    }
    .c-3m {
        max-width: 25%;
        width: 100%;
    }
    .c-4m {
        max-width: 33.33%;
        width: 100%;
    }
    .c-5m {
        max-width: 41.66%;
        width: 100%;
    }
    .c-6m {
        max-width: 48%;
        width: 100%;
    }
    .c-7m {
        max-width: 58.33%;
        width: 100%;
    }
    .c-8m {
        max-width: 66.66%;
        width: 100%;
    }
    .c-9m {
        max-width: 75%;
        width: 100%;
    }
    .c-10m {
        max-width: 83.33%;
        width: 100%;
    }
    .c-11m {
        max-width: 91.66%;
        width: 100%;
    }
    .c-12m {
        max-width: 100%;
        width: 100%;
    }


    /* 卡片 */
    #CONTENT-1-bg1 .main-group .container .card6 {
        padding: 2% 1%;
    }
    .card6 .cards {
        margin: 8% 0 1%;
    }
    .card6 .cards .cards-c {
        padding: 8% 0% 16%;
    }
    .card6 .cards .cards_btn {
        margin: 0 auto;
        left: 0;
        border-radius: 8px 8px 0 0;
        padding: 2px 16px;
    }
    .card7 .cards_info_m {
        /* justify-content: center; */
    }
    .card7 .sp::before {
        content: '促銷價$';
        font-size: 0.9rem;
        margin-left: unset;
    }
    .card7 .ori {
        float: left;
        font-size: 0.8rem;
        line-height: 0.8rem;
    }
    .card7 .sp {
        font-size: 1.1rem;
        line-height: 1.1rem;
    }

    .card-cate1 .cate {
        width: 100%;
        margin: 1% auto;
    }
    
    /* 分類1 */
    .card-cate1 .cate {
        width: 92%;
        margin: 1% auto;
    }
    .card-cate1 .cate .cate_img {
        max-width: 30%;
    }
    .card-cate1 .cate .cate_b {
        padding: 0 1em;
    }
    #CONTENT-1-bg1 .main-group .container.card-cate2 {
        padding: 1% 2%;
    }
    .card-cate2 .cate {
        padding: 1%;
    }
    #CONTENT-1-bg1 .main-group .container.card-cate6 {
        padding: 0 8%;
    }
    .card-cate6 .cate {
        padding: 1.5%;
        margin: auto;
    }
    

    /* logo bar */
    .logo-bar {
        padding: 4px 0 0px;
        text-align: left;
    }
    .logo-bar a {
        text-align: left;
    }
    .logo-bar a img {
        max-width: 40%;
        width: 100%;
        margin: unset;
        margin-top: 36px;
        padding: 2px 0;
    }

    /* mbt-menubar */
    body #menu .menu-content {
        background: #0073e6;
    }

    /* search bar */
    body .search-box {
        bottom: -40px;
    }
    body .search-bar {
        box-shadow: 0 6px 4px 1px #2626263b, 0 -1px 4px 0 #2626261f;
    }
    
    /* kv主視覺手機 */
    .main-kv.kv2 {
        background: url(../images/kv-mb.png) top center/ 100% no-repeat;
        mask-image: unset;
        /* margin-top: 40px; */
        padding-top: 168%;
    }
    .main-kv.kv2 .kv-main {
        max-width: 94%;
        width: 100%;
        /* margin: unset; */
        /* padding: 59vw 0vw 2vw; */
        top: 50vw;
        left: calc(53% - 50%);
    }

    /* 既有版型 */
    /* 活動 */
	.eventBlock.container {
		padding: 3em 1em 0;
	}
	.event {
		width: 100%;
		margin-bottom: 2em;
		/* font-size: 18px;
		line-height: 20px; */
		font-size: 1rem;
		line-height: 1.1rem;
	}
	.event_t {
		font-size: 1.1rem;
		line-height: 1.2rem;
	}
	.event_c {
		margin-bottom: 0.5em;
		padding: 1.5em 0.5em 0;
		justify-content: space-between;
	}
	.event_cl {
		width: 70%;
	}
	.event_d {
		font-size: 0.8rem;
	}
	.event_cs {
		/* max-width: 4em;
		max-height: 5em; */
		margin: auto;
		width: 10%;
	}
	.event_btn {
		line-height: 1.2rem;
		padding: 2px 8px;
	}
	/* 優惠券 */
	.coupon {
		width: 48%;
		padding: 4px;
		margin-bottom: 1em;
	}
	.coupon a {
		justify-content: space-around;
	}
	.coupon .c_tag {
		width: 22px;
		line-height: 1rem;
		font-size: 0.9rem;
		padding: 6px 2px;
	}
	.coupon .c_info {
		width: 50%;
		font-size: 0.7rem;
		line-height: 0.8rem;
	}
	.coupon .c_price {
		font-size: 1.7rem;
		line-height: 1.8rem;
		letter-spacing: -0.5px;
	}
	.coupon .c_btn {
		width: 24px;
		line-height: 1.1rem;
		font-size: 1rem;
		padding: 2px;
	}
	.coupon.odd {
		width: 100%;
		margin: 0 4px 1em;
	}
	.coupon.odd .c_tag {
		width: 48px;
	}
	.coupon.odd .vr {
		margin: 0 -2em;
		height: 6rem;
	}
	.coupon.cxl .c_tag {
		width: 48px;
	}
	.coupon.cxl .c_full {
		margin-right: auto;
	}
	.coupon.cxl .c_date {
		padding-left: unset;
	}
	.coupon.cxl {
		width: 100%;
		margin: 0 4px 1em;
	}
	.coupon.cxl .vr {
		margin: 0 -2em;
	}
	.coupon.code .c_price {
		margin-left: unset;
		font-size: 1.7rem;
	}
	.c_code {
		font-size: .7rem;
		line-height: 1rem;
	}
	.coupon.odd .c_code {
		font-size: 1rem;
    	line-height: 1.2rem;
	}
	.coupon.odd .c_date {
		width: 100%;
	}
	.pay .event_cs {
		width: 16%;
	}
	/* 主打商品 */
	.saleBlock .pd {
		padding-bottom: 0.5em;
		width: 48%;
	}
	.saleBlock .pd::before {
		background: url(../images/toppd_bg_mb.png) no-repeat bottom;
		background-size: 100%;
		width: 120%;
		left: 50%;
		transform: translateX(-50%);
	}
	.saleBlock .pd_img {
		max-width: 70%;
	}
	.saleBlock .pd_tl {
		font-size: 1.1rem;
		line-height: 1.2rem;
	}
	.saleBlock .pd_ts {
		font-size: 0.8rem;
		line-height: 1rem;
	}
	.saleBlock .pd_price .sp {
		font-size: 1.4rem;
		line-height: 1.4rem;
	}
	.saleBlock .pd_price .ori {
		font-size: 0.8rem;
	}
	/* 商品區 */
	.pdBlock a.pd {
		width: 48%;
		padding: 3px 3px 3px 3px;
		margin: 3% auto 0.5%;
	}
	.pdBlock a.pd .pd_b {
		padding: 0;
	}
	.pdBlock .pd_info_m {
		margin: 0 0 2px 0;
	}
	.pdBlock .pd_p {
		height: 30px;
		padding: 0 1px;
	}
	.pdBlock .ori {
		font-size: 0.8rem;
		line-height: 0.8rem;
		padding: 0px;
		width: 100%;
		text-align: left;
	}
	.pdBlock .sp::before {
		font-size: 0.8rem;
		line-height: 0.8rem;
		padding: 0;
		margin-left: 0;
	}
	.pdBlock .sp {
		font-size: 1.1rem;
		line-height: 1.2rem;
	}
	.pdBlock .buy {
		width: 42px;
		line-height: 1rem;
		font-size: 1rem;
		border-radius: 5px;
		padding: 2px;
	}
	/* 主打店家 */
	.shop {
		width: 47%;
		margin: 4px 0;
	}
	
	/* 導外部LINK */
	a.blockBtn {
		font-size: 2rem;
		font-size: 1.7rem;
	}

    

    /* mb版隱藏上方bar+保留searchbar */
    /* #menu {
        display: block;
    }
    #menu .menu-content {
        height: 0;
    }
    #menu .menu-content > ul,
    #menu .menu-content > button {
        display: none;
    } */
}




/* 狗老大專區 */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: auto;
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
}

html.scroll-locked, 
body.scroll-locked {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}


/* 滿版容器 */
.main-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    /* background: #000; */
    /* display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; */
    overflow: hidden;
}

/* 添加深色覆蓋層讓文字更清楚 */
.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* 打字文字 */
.typewriter {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    white-space: pre-wrap; /* 保留空格和換行 */
    word-wrap: break-word; /* 長詞自動換行 */
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: center;
    max-width: 90%;
    line-height: 1.4;
    display: block; /* 確保是塊級元素 */
}

/* 打字時的游標效果 */
.typewriter::after {
    content: '';
    display: inline-block;
    background-color: white;
    width: 2px;
    height: 1.2em;
    margin-left: 2px;
    vertical-align: text-top;
    animation: blink-cursor 2s infinite;
}
/* 完成打字後的游標 */
.cursor {
    display: inline-block !important;
    background-color: white !important;
    width: 2px !important;
    height: 1.2em !important; /* 稍微高一點確保可見 */
    margin-left: 2px !important;
    vertical-align: text-top !important;
    animation: blink-cursor 2s infinite !important;
    opacity: 1; /* 確保初始可見 */
}

/* 游標閃爍動畫 */
@keyframes blink-cursor {
    0%, 25% { opacity: 1; }
    26%, 50% { opacity: 0; }
    51%, 75% { opacity: 1; }
    76%, 100% { opacity: 0; }
}

.typing-cursor {
    display: inline-block;
    background-color: white;
    width: 3px;
    height: 1em;
    margin-left: 2px;
    vertical-align: baseline;
    animation: blink-cursor 1s infinite;
}

/* 中間淡出 */
.fade-out {
    opacity: 0 !important;
    transition: opacity 1.2s ease-out;
}
.fade-out::after {
    opacity: 0;
    animation: none;
}


/* 底部圖片容器 */
.image-container {
    position: absolute;
    width: 100%;
    max-width: 100%;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    display: flex;
    gap: 30px;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.5s ease-in;
    background: #ffffff56 url('../images/bg-fr.png') center / 100% no-repeat;
}

.image-container img {
    object-fit: cover;
    transform: translateY(150px);
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 圖片顯示動畫 */
.image-container.image-show {
    opacity: 1;
    transform: translate(-50%, 50%);
    min-height: 100vh;
}

.subtt-content {
    position: relative;
}
.subtt-content div {
    opacity: 0;
    position: absolute;
    right: 5%;
    bottom: 48%;
    transform: translate(0, 50%);
    max-width: 90%;
    /* width: 100%; */
    margin: auto;
    font-size: 1.2rem;
    line-height: 140%;
    font-weight: 600;
    color: #cacaca;
}

.image-show img:nth-child(1) {
    animation: slideUp 1s 0.2s ease-out forwards;
}

.image-show img:nth-child(2) {
    animation: slideUp 1s 0.4s ease-out forwards;
}

.image-show img:nth-child(3) {
    animation: slideUp 1s 0.6s ease-out forwards;
}
.image-show .subtt-content div {
    animation: fade-in 1s 1.2s ease-out forwards;
}
.slide-up-line {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpKeep 0.6s ease-out forwards;
}
#typewriter {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    white-space: pre-line;
    line-height: 1.6;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#typewriter p {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.1s ease-out;
    line-height: 180%;
    width: 100%;
    min-width: 100%;
    display: block;
}
#typewriter::after {
    display: none;
}
.typing-container {
    max-height: 300px;
    /* overflow: hidden; */
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    will-change: scroll-position, contents;
}

.typing-container p {
    margin: 0 1em 0;
}

.typing-line {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    line-height: 1.5em;
    min-height: 1.5em;
    display: block;
    white-space: pre-wrap; 
}
.typing-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.main-ip {
    margin-right: -18%;
}
.main-content .subtt-content div {
    visibility: hidden;  /* JS 打字開始時改為 visible */
    /* height: 22em; */
    overflow: hidden;

    max-height: 300px; /* 依照設計需求調整容器高度 */
    width: 100%;
}
.main-content .subtt-content div p {
    /* opacity: 0; */
    opacity: 1;
    visibility: hidden;
}
.main-content .subtt-content div p:last-child::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1.2em;
    margin-left: 2px;
    background-color: white;
    animation: blink-cursor 2s infinite;
}
@keyframes slideUpKeep {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(-1vh);
    }
    to { 
        transform: translateY(0);
    }
}
@keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}


/* 內容區域 */
/* 頁籤 */
/* 狗老大頁籤區塊 */
.container .dp-flex {
    align-items: center;
    justify-content: center;
}
.tab-group .dp-flex div.c-4:nth-child(2) {
    margin: 0 -4%;
}
.content-group {
    margin-top: -1%;
}
.tabs label {
    position: relative;
    display: block;
    max-width: 100%;
    width: 100%;
    outline: unset;
    border: unset;
    cursor: pointer;
    margin: 0 auto;
    /* width: 260px; */
    padding-top: 50%;
    height: 0;
    transition: background-image .2s ease-in-out;
    background-color: unset;
    margin-top: 12%;
}
.tabs label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
/* .tabs:not(.active) label {
    scale: 1.05;
} */
.tabs:not(.active) label:hover {
    /* filter: hue-rotate(20deg); */
    /* scale: 1.1; */
    transition: all 300ms ease;
    transform-origin: center center;
}
.tabs.active label::before {
    opacity: 1;
}


.tab-g1 label::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    background-image: 
        url(../images/tab1-hover.png),
        url(../images/tab1.png),
        url(../images/tab1-clicked.png);
}
.tab-g1 label {
    background: url(../images/tab1-clicked.png) center / 100% no-repeat;
    transition: none; /* 避免閃爍 */
}
.tab-g1 label:hover {
    background: url(../images/tab1.png) center / 100% no-repeat;
}
.tab-g1 label.active {
    background: url(../images/tab1-hover.png) center / 100% no-repeat;
}


.tab-g2 label::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    background-image: 
        url(../images/tab2-hover.png),
        url(../images/tab2.png),
        url(../images/tab2-clicked.png);
}
.tab-g2 label {
    background: url(../images/tab2-clicked.png) center / 100% no-repeat;
    transition: none; /* 避免閃爍 */
}
.tab-g2 label:hover {
    background: url(../images/tab2.png) center / 100% no-repeat;
}
.tab-g2 label.active {
    background: url(../images/tab2-hover.png) center / 100% no-repeat;
}


.tab-g3 label::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    background-image: 
        url(../images/tab3-hover.png),
        url(../images/tab3.png),
        url(../images/tab3-clicked.png);
}
.tab-g3 label {
    background: url(../images/tab3-clicked.png) center / 100% no-repeat;
    transition: none; /* 避免閃爍 */
}
.tab-g3 label:hover {
    background: url(../images/tab3.png) center / 100% no-repeat;
}
.tab-g3 label.active {
    background: url(../images/tab3-hover.png) center / 100% no-repeat;
}


.tab-g4 label::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    background-image: 
        url(../images/tab4-hover.png),
        url(../images/tab4.png),
        url(../images/tab4-clicked.png);
}
.tab-g4 label {
    background: url(../images/tab4-clicked.png) center / 100% no-repeat;
    transition: none; /* 避免閃爍 */
}
.tab-g4 label:hover {
    background: url(../images/tab4.png) center / 100% no-repeat;
}
.tab-g4 label.active {
    background: url(../images/tab4-hover.png) center / 100% no-repeat;
}

.tab-content {
    display: none;
    max-width: 100%;
    width: 100%;

    margin: 4% auto 2%;
    min-height: 20vw;

    background: #ffffff;
    background: linear-gradient(200deg,#ffffff 0%, #e0e0e0 100%);
    border-color: #000000 #4785F8;
    border-image: none;
    border-radius: 0 0 0 0;
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0 0 0 0;
    border-style: solid;
    border-width: 8px;
    width: 100%;
    padding: 2%;
}
#tab1:checked ~ .container .content1,
#tab2:checked ~ .container .content2,
#tab3:checked ~ .container .content3,
#tab4:checked ~ .container .content4,
#tab5:checked ~ .container .content5,
#tab6:checked ~ .container .content6,
#tab7:checked ~ .container .content7,
#tab8:checked ~ .container .content8,
#tab9:checked ~ .container .content9,
#tab10:checked ~ .container .content10,
#tab11:checked ~ .container .content11,
#tab12:checked ~ .container .content12,
#tab13:checked ~ .container .content13,
#tab14:checked ~ .container .content14,
#tab15:checked ~ .container .content15,
#tab16:checked ~ .container .content16,
#tab17:checked ~ .container .content17,
#tab18:checked ~ .container .content18,
#tab19:checked ~ .container .content19,
#tab20:checked ~ .container .content20  {
    display: flex;
    flex-wrap: wrap;
}
.tab-content.content1 {
    background: linear-gradient(200deg,#b5c9de 0%, #e0e0e0 100%);
    border-color: #424242 #508dff;
}
.tab-content.content2 {
    background: linear-gradient(200deg,#ead9e3 0%, #e0e0e0 100%);
    border-color: #424242 #ff68ac;
}
.tab-content.content3 {
    background: linear-gradient(200deg,#eedbbe 0%, #e0e0e0 100%);
    border-color: #424242 #f88647;
}
.tab-content.content4 {
    background: linear-gradient(200deg,#cce6dc 0%, #e0e0e0 100%);
    border-color: #424242 #30cdab;
}

.tab-content .dp-flex a {
    position: relative;
}
.tab-content .dp-flex a img {
    display: block;
}
.tab-content .dp-flex a.end img {
    opacity: 0;
}
.tab-content .dp-flex a.end::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/date-ended.png');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}
.tab-content .dp-flex a.end .ichiban-date {
    opacity: 0;
}
.tab-content .end {
    pointer-events: none;
}
/* .tab-content .end::after {
    content: '已結束';
    position: absolute;
    inset: 0;
    text-align: center;
    color: #fff;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 4px;
}
.tab-content .end img {
    filter: grayscale(1) brightness(.2);
} */



.tab-main {
    position: relative;
}
.tab-btn {
    position: absolute;
    right: 12%;
    bottom: 14%;
    width: fit-content;
    max-width: 33%;
}
.tab-btn a {
    display: flex;
    width: 100%;
    max-width: 100%;
}
a:has(.ichiban-date) {
    position: relative;
}
.ichiban-date {
    position: absolute;
    bottom: 5%;
    left: 56%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-family: "DM Serif Text", serif;
    color: #2b2b2b;
    font-weight: 900;
    z-index: 1;
}
.tab-content .dp-flex {
    gap: 12px;
}

/* 滾動條美化 */
/* ::-webkit-scrollbar {
    width: 8px;
} */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* 圖片禁止拖曳 */
img {
    user-select: none;   /* 禁止反白選取 */
}
img {
    -webkit-user-drag: none; /* 禁止拖曳（Chrome / Safari / Edge） */
    user-drag: none;         /* 非標準屬性，但 Firefox 也能識別 */
}

/* 狗老大 背景 */
/* ---- reset ---- */
body {
    margin: 0;
    font: normal 75% Arial, Helvetica, sans-serif;
}

canvas {
    display: block;
    vertical-align: bottom;
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 0;
}

/* ---- particles.js container ---- */
#particles-js {
    /* position: absolute; */
    position: relative;
    width: 100%;
    height: 100%;
    /* background-color: #000; */
    /* background-image: url("http://vincentgarreau.com/particles.js/assets/img/kbLd9vb_new.gif"); */
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: 0 50%;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* ---- stats.js ---- */
.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13E8E9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.js-count-particles {
    font-size: 1.1em;
    color: transparent;
}

#stats,
.count-particles {
    -webkit-user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.count-particles {
    border-radius: 0 0 3px 3px;
}

/* youtube影片 */
#CONTENT-1-bg1 .youtube .container {
    max-width: 100%;
}
#CONTENT-1-bg1 .youtube .video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    height: auto;
    /* border-radius: 2vw; */
    /* border: 1px solid #fff;
    outline: 1vw solid #292b26; */
}
#CONTENT-1-bg1 .youtube .video-container iframe,
#CONTENT-1-bg1 .youtube .video-container object,
#CONTENT-1-bg1 .youtube .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 狗老大社群 */
.social-media {
    position: relative;
}
.social-link {
    position: absolute;
    left: 20%;
    top: 70%;
}
.social-link {
    max-width: 58%;
    gap: 4%;
    left: 4%;
    top: 70%;
}
.social-link a {
    max-width: 18%;
}
/* acg情報橘 */
.acg-news a {
    margin: auto;
    display: block;
    padding: 1%;
}
/* FOOTER */
body .content-1-bg4 {
    background: #000;
    position: relative;
}
body #CONTENT-1-bg1 .content-1-bg4 .container {
    margin: 0 auto;
}
.gama-footer {
    z-index: 9999;
}
.gama-footer a {
    padding: 1%;
}
.gama-footer .dp-flex {
    justify-content: center;
    margin: 4% auto;
}
#DOWN {
    position: relative;
}

@media (min-width: 736px) and (max-width: 1024px) {
    .ichiban-date {
        bottom: 4%;
        left: 56%;
        font-size: 1rem;
    }
}

/* 響應式設計 */
/* 小於736 */
@media (max-width: 736px) {
    .content-area {
        max-width: 98%;
        padding: 0 2%;
    }
    .image-container.image-show {
        /* min-height: 85vh; */
        padding-top: 56.25%;
    }
    .image-container .container {
        position: absolute;
        inset: 0 0 0 0;
    }
    .main-ip {
        margin-right: auto;
        margin-left: auto;
    }
    .main-content {
        margin-top: -54%;
    }
    .main-content .subtt-content div {
        max-height: 82%;
    }
    .main-content .subtt-content div p {
        font-size: .7rem;
        /* line-height: 170%; */
        line-height: 1.6;
        word-break: break-word;/* 中文或長英文都能斷行 */
        white-space: normal;   /* 允許自動換行 */
        margin: 0.5em 0;
        /* 段落間距 */
    }
    .typewriter {
        max-width: 92%;
    }
    .typewriter p {
        font-size: 0.9rem;
        line-height: 160%;
    }

    .image-container {
        /* background: #ffffff56 url('../images/bg-fr-mb.png') center / 100% no-repeat; */
        background: #ffffff56 url('../images/bg-fr-mb.png') center 84px / 100% no-repeat;
        gap: 15px;
        /* bottom: 30px; */
    }
    .main-visual {
        height: 80vh;
    }
    .image-container img {
        /* width: 120px; */
        /* height: 90px; */
    }

    /* 頁籤 */
    .tab-g1 label::before {
        background: url(../images/tab1-hover.png) center / 98% no-repeat;
    }
    .tab-toggle .container {
        padding: 4% 0;
    }
    .tab-group .dp-flex div.c-4:nth-child(2) {
        margin: 0 -6%;
    }
    .tabs:not(.active) label {
        scale: 1.15;
    }
    .tabs:not(.active) label:hover {
        scale: 1.2;
    }
    .tab-content {
        border-width: 4px;
    }
    .tab-content .dp-flex {
        gap: 4px;
    }
    .tab-content .end::after {
        font-size: .7rem;
        letter-spacing: 1px;
    }
    .ichiban-date {
        bottom: -4%;
        left: 56%;
        font-size: .7rem;
    }
    /* ACG情報橘 */
    .acg-news a.c-12m {
        padding: 1% 3%;
    }
    /* FOOTER */
    .content-1-bg4 {
        padding: 4% 0 0;
    }

    #DOWN {
        padding-bottom: 80px;
        padding-top: 12px;
    }
}


/* 大於1920 */
@media screen and (min-width: 1920px) {
    
    /* 狗老大 */
    /* #CONTENT-1-bg1 .container {
        max-width: 65vw !important;
    } */
    #CONTENT-1-bg1 #imageContainer .container {
        max-width: 65vw !important;
    }
}   