@charset "utf-8";

/* 前人維護樣式 */

.g-edit li {
    margin-bottom: 15px;
}

.div_clear {
    clear: both;
}

.article-content-second p,
.article-content-second li {
    line-height: 1.6 !important;
    /* text-align: justify !important; */
}

.pt_article .article-title-section {
    width: 90%;
}

.offset-1 {
    margin-left: 5%;
    margin-right: 5%;
}

.product_pic1 {
    width: 25%;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.product_pic2 {
    width: 50%;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.illustration_large {
    display: block;
    width: 70%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.illustration {
    display: block;
    width: 35%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.img-max-440 {
    display: block;
    max-width: 440px;
    margin: 20px auto;
}

.img-max-640 {
    display: block;
    max-width: 640px;
    margin: 20px auto;
}

.img-max-800 {
    display: block;
    max-width: 800px;
    margin: 20px auto;
}

.content_wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.content_wrap .content_text,
.content_wrap .content_pic {
    flex: 0 0 48%;
}

.content_wrap .content_text_2 {
    flex: 0 0 58%;
}

.content_wrap .content_pic_2 {
    flex: 0 0 38%;
}

.content_wrap .content_text_3 {
    flex: 0 0 70%;
}

.content_wrap .content_pic_3 {
    flex: 0 0 25%;
}

.content_wrap .content_pic_3 img,
.content_wrap .content_pic_2 img,
.content_wrap .content_pic img {
    margin: 25px auto;
    width: 100%;
}

.product_wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width:800px) {
    .product_pic1 {
        width: 90%;
        margin: 1vw auto;
    }
    .product_pic2 {
        width: 100%;
        margin: 1vw auto;
    }
    .pt_article .article-title-section {
        width: 100%;
    }
    .offset-1 {
        margin-left: 12.5%;
        width: 100%;
    }
    .illustration_large {
        width: 100%;
        margin: 1vw auto;
    }
    .illustration {
        width: 100%;
        margin: 1vw auto;
    }
    .img-max-440,
    .img-max-640,
    .img-max-800 {
        width: 100%;
        max-width: none;
        margin: 1vw auto;
    }
    .content_wrap {
        flex-direction: column-reverse;
    }
    .product_wrap {
        justify-content: space-between;
        margin-bottom: 8vw!important;
    }
    .content_wrap .content_text,
    .content_wrap .content_pic {
        flex: 0 0 100%;
    }
    .content_wrap .content_pic img {
        margin: 5vw auto;
    }
    /* .pt_article .product-content>div:first-child {
            padding-right: 2%;
        } */
}


/* 針對部落格文章裡的 "推薦產品" 跑版調整 */

.list-view .product-tile .wishlist-icon {
    top: 30px !important;
    left: 0 !important;
    right: inherit !important;
}

.pt_article .product-content {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between;
}

.pt_article .product-content>div {
    padding: 0;
    flex: 0 0 25%;
}

.g-edit .gze-bottom {
    margin-top: 0 !important;
}


/* .g-edit .slick-track{
        width: auto !important;
    } */

.g-edit .slick-track .size-variant {
    margin-right: 5px !important;
    width: auto !important;
}

.g-edit .slick-track .size-variant:last-child {
    margin-right: 0 !important;
}

.g-edit a.name-link,
.g-edit .product-image a,
.g-edit .product-variants-wrapper .tile-size-carousel .size,
.g-edit .find-a-store-btn.button.primary.full-width {
    text-decoration: none;
}

.g-edit .product-tile .product-pricing {
    height: auto;
}

.g-edit .product-variants-wrapper .tile-color-carousel,
.g-edit .product-variants-wrapper .tile-size-carousel {
    margin: 0;
}

.pt_article .g-edit .product-content>div .product-tile {
    margin-bottom: 30px;
}

.g-edit ul.ui-menu {
    margin-left: 0;
}

.g-edit .slick-initialized .slick-slide {
    display: inline-table;
}

.g-edit .product-variants-wrapper .tile-size-carousel .label {
    height: auto;
}

.g-edit .product-variants-wrapper .tile-color-carousel .color-variant {
    margin-right: 5px;
}

.g-edit .product-variants-wrapper .tile-color-carousel .color-variant:first-of-type {
    margin-left: 5px;
}

.g-edit .product-variants-wrapper .tile-size-carousel .slick-track {
    justify-content: start;
}

@media (max-width: 800px) {
    .product_wrap div {
        flex: 0 0 49% !important;
    }
    .g-edit .tile-size-carousel .slick-track {
        display: table !important;
        width: 100% !important;
    }
    .g-edit .tile-size-carousel .slick-track .size-variant {
        margin-bottom: 5px;
    }
    .g-edit .slick-track .size-variant {
        display: inline-table;
    }
}


/* 221125後續新增 */

.pt_article .article-details-content h2 {
    padding-top: 0.75em;
    padding-bottom: 0.7em;
    text-transform: capitalize;
}

.pt_article .article-body .g-edit h3 {
    line-height: 1.2;
}


/*文字斷行*/

.g-edit h2 span,
.g-edit h3 span,
.g-edit p span,
.g-edit li span,
.pt_article_ul li span {
    display: inline-block;
}


/* 圖繞文 */

.textAround {
    clear: both;
}


/* 2欄 */

@media (min-width: 801px) {
    .textTwoRimg {
        flex-direction: row-reverse;
    }
    .textTwo {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    .textTwo>div {
        width: 48%;
    }
}

@media (max-width: 800px) {
    .textTwo>div>img {
        margin-top: 20px;
    }
}


/* 2圖並排 */

.img_inline {
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.img_inline img,
.img_inline iframe {
    display: inline-block;
    width: 49%;
}

.pt_article .g-edit .article-title-section p.h3 {
    font-weight: bold;
    font-size: 23px;
    margin-bottom: 15px;
    padding-bottom: 5px !important;
}

.g-edit ul,
.g-edit ol {
    margin-left: 20px;
    padding-left: 0;
}

.g-edit ul li {
    margin-bottom: 0;
}

.pt_article .g-edit .article-title-section li p {
    padding: 10px 0;
}


/* 縮行 */

.g-edit .indent {
    margin-left: 40px;
}


/* 連結 */

.g-edit a {
    font-weight: bold;
    text-decoration: underline;
}


/* 延伸閱讀 */

.pt_article .article-title-section .furtherReading {
    padding: 20px!important;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #f4f5f6;
    width: 100%;
}


/* list-style */


/* .round-number p.title{
            position: relative;
        }
        .round-number p.title:before{
            position: absolute;
            z-index: 1;
            content: '';
            left: -30px;
            width: 30px;
            height: 30px;
            border-radius: 100px;
            border: 1px solid #D6001C;
            color: #D6001C;
            text-align: center;
        }
        .round-number p.title.title01:before{
            content: '1';
        }
        .round-number p.title.title02:before{
            content: '2';
        }
        .round-number p.title.title03:before{
            content: '3';
        } */


/* 粉色小標title */

.g-edit .pink-bg-smallTitle {
    background: #f6e1e3;
    border-radius: 30px;
    padding: 5px 20px;
}


/*ul樣式*/

.ul_styleNO {
    list-style-type: none;
    margin-left: 0!important;
}

.ul_style_decimal {
    list-style-type: decimal;
}


/*紅字粗體*/

.c-r {
    color: #D6001C!important;
    font-weight: bold!important;
}


/* 田字排版 */

.g-edit .FourGrids {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 20px;
    list-style: none;
}

.g-edit .FourGrids li {
    width: 49%;
    background: #f8f8f8;
    padding: 10px 20px;
    margin-bottom: 22px;
    border-radius: 10px;
}

@media (max-width: 800px) {
    /* .g-edit .article-title-section p:not(:last-child) {
            padding-bottom: 10px !important;
        } */
    .g-edit .indent {
        margin-left: 0px;
    }
}

@media (max-width: 768.98px) {
    .img_inline {
        width: 100%;
    }
    .pt_article .article-body p {
        padding: 10px 0;
    }
    .textAround .img01,
    .textAround .img02 {
        float: none !important;
        margin: 20px 0 !important;
        max-width: 100% !important;
    }
    /* 田字排版 */
    .g-edit .FourGrids {
        display: block;
    }
    .g-edit .FourGrids li {
        width: 100%;
    }
}

@media (max-width: 750px) {
    .pt_article .g-edit .article-title-section p.h3 {
        font-size: calc(0.20193rem + 3.10256vw);
    }
}


/* iframe */

.g-edit iframe {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    height: 400px;
    display: block;
}

@media (max-width: 800px) {
    .g-edit iframe {
        height: 41vw;
    }
}

.pt_article .g-edit h4 {
    font-size: 1.2em;
    font-weight: bold;
    padding-top: 1em;
    padding-bottom: .3em;
}


/*20240401針對舊有h3轉h2但保留h3大小，p轉h3*/


/*@media (min-width: 769px) {
	.pt_article .g-edit .blogH3 {
		font-size: 1.5em;
		padding-top: .75em;
		padding-bottom: .7em;
	}
	.pt_article .article-title-section .blogP {
		padding: 20px 0;
		font-size: 18px;
		line-height: 1.6 !important;
	}
}

@media (max-width: 750px) {
	.pt_article .article-title-section .blogP {
		font-size: calc(0.2013rem + 2.77056vw);
	}
}

@media (max-width: 768.98px) {
	.pt_article .g-edit .blogH3 {
		padding-top: .6em;
		padding-bottom: .6em;
		font-size: 2.125rem;
	}
	.pt_article .article-title-section .blogP {
		padding: 10px 0;
	}

	.g-edit .article-title-section h3.blogP:not(:last-child) {
		padding-bottom: 0 !important;
	}
}

@media (max-width: 768.98px) and (max-width: 750px) {
	.pt_article .g-edit .blogH3 {
		font-size: calc(0.20193rem + 4.10256vw);
	}
}*/


/*202407目錄*/

.g-edit-list {
    border: 1px solid #ccc;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.g-edit-list ul {
    padding: 20px;
    margin-left: 20px;
}

.g-edit-list a {
    padding: 5px 0;
    display: block;
    color: #000;
    text-decoration: none;
}

.pt_article .article-title-section .g-edit-list>p,
.g-edit-list>p {
    text-align: center;
    color: #fff;
    background-color: #000;
    padding: 10px 0;
}


/*距離*/

.pt_article .pd_top0 {
    padding-top: 0!important;
}

.pt_article .pd_bottom {
    padding-bottom: 0!important;
}


/* 錨點 */

.pt_article_relative {
    position: relative;
}

.pt_article .adjust {
    position: absolute;
    margin-top: -108px;
    width: 100%;
}

.pt_article ul.pt_article_ul li {
    margin-bottom: 10px;
}

@media (max-width :800px) {
    .pt_article .adjust {
        margin-top: -96px;
    }
}

@media (max-width :768px) {
    .pt_article .adjust {
        margin-top: -102px;
    }
}

@media(max-width:600px) {
    .pt_article .adjust {
        margin-top: -96px;
    }
}

.pt_article .g-edit h4 {
    padding-top: 0;
    overflow: visible;
}


/*表格*/

.g-edit .table_style {
    width: 100%;
    border-collapse: collapse;
}

.g-edit .table_style th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #000000;
    color: white;
}

.g-edit .table_style td span {
    display: inline-block;
}

.g-edit .table_style td,
.g-edit .table_style th {
    border: 1px solid #5b5555;
    padding: 8px;
}

.g-edit .table_style tr:nth-child(even) {
    background-color: #f2f2f2;
}
/*表格手機板改滑動*/

@media (max-width: 768.98px) {
    .table_box{
    width: 100%;
    overflow-x: scroll;
    padding: 20px 0;

}
.g-edit .table_style_overflow{
    width: 1314px;
}
}

/*針對h3文字下連結大小處理*/

.pt_article .g-edit h3 a {
    font-size: 1.75rem;
}

@media (max-width: 768.98px) {
    .pt_article .g-edit h3 a {
        font-size: 2.125rem;
    }
}

@media (max-width: 768.98px) and (max-width: 750px) {
    .pt_article .g-edit h3 a {
        font-size: calc(0.20193rem + 4.10256vw);
    }
}


/*ul間距*/

.g-edit ul li,
.g-edit ol li {
    padding-top: 10px;
}