:root {
    --article-text-font: 1rem;
    --body-line-height: 1.5;
    --body-color: #323e48;
    --margin: 12% auto;
    --box-title-font: 40px;
}

img {
    vertical-align: middle;
}

body {
    line-height: var(--body-line-height);
}

.article-appoint {
    display: block;
    background: rgb(2, 138, 211);
    color: rgb(255, 255, 255);
    cursor: pointer;
    margin: 10px auto;
    text-align: center;
    width: 250px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 20px;
}

.article-title-box,
.article-banner-box,
main {
    width: 1320px;
    margin: 0 auto;
}

.article-title-box {
    position: relative;
    margin-top: 56px;
}

.article-title-box .article-title {
    position: absolute;
    top: 38%;
    left: 50%;
    font-size: 48px;
    transform: translate(-50%, -50%);
    font-family: 'GenSenMaruGothicTW-Bold';
    color: var(--body-color);
    line-height: 1.2;
}

.article-title-box img {
    width: 100%;
    display: block;
}

.article-banner-box {
    position: relative;
    padding: 0 180px 60px;
    margin-top: -7%;
    z-index: 2;

}

.article-banner-box img {
    width: 100%;
    display: block;
    border-bottom-left-radius: 110px;
    border-top-right-radius: 110px;
    aspect-ratio: 7/3;
}

.article-banner-box .article-detail-text {
    display: flex;
    justify-content: center;
    padding-bottom: 5%;
    padding-top: 3%;
}

.article-banner-box .article-detail-text .article-detail-date {
    padding-right: 10px;
}

.article-banner-box .article-detail-text .article-detail-name {
    padding: 0 10px;
    border-left: 3px solid #000;
    border-right: 3px solid #000;
}

.article-banner-box .article-detail-text .article-detail-braces {
    padding-left: 10px;
    color: #028ad3;
}

#article-first-img {
    display: none;
}

main {
    padding: 0 180px;
}

main article {
    font-size: var(--article-text-font);
    color: var(--body-color);
}

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

.title {
    text-align: center;
    margin-bottom: 4%;
}

.title .title-content {
    display: inline-block;
    padding: 0 3%;
    box-sizing: border-box;
}

.title-content h1 {
    position: relative;
    font-size: var(--box-title-font);
    color: #0E2837;
}

.title-content h2 {
    font-size: 30px;
    margin-top: var(--box-title-font);
    color: #1A2936;
}

.title .line-blue {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #FFFFFF 0%, #00ACFF 50%, #FFFFFF 100%);
}

.title img {
    width: 100%;
}

.quality {
    margin: var(--margin);
    background-image: url(/skin/images/sfbz/quality-bg.webp);
    background-size: cover;
    /* 背景图片覆盖整个容器 */
    background-position: right;
    /* 背景图片居中 */
    background-repeat: no-repeat;
    /* 背景图片不重复 */
    padding: 0 0 4%;
    overflow: hidden;
}

.quality h1 {
    color: #00ACFF;
    text-align: center;
    font-size: var(--box-title-font);
    margin-top: 5%;
}

.quality-intro {
    width: 80%;
    text-align: justify;
    margin: 3% auto;
}

.quality-intro p {
    font-size: 22px;
    color: #0E2837;
    text-indent: 2em;
    line-height: var(--box-title-font);
}

.video {
    position: relative;
    width: 70%;
    margin: 2% auto 0;
    border: 10px solid #00ACFF;
    border-radius: 15px;
    z-index: 0;
}

.video video {
    position: relative;
    display: block;
    width: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    /* 禁用視頻交互 */
    transition: opacity 0.5s ease;
    /* 添加过渡效果 */
}

.poster,
.video-button {
    transition: opacity 0.5s ease;
    /* 添加过渡效果 */
}

.poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.poster>img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.poster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: opacity 0.5s ease;
    /* 添加过渡效果 */
}

.video-button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 42px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #E90D0D;
    padding: 12px 30px;
    border-radius: 24px;
    z-index: 3;
    cursor: pointer;
    opacity: 1;
    box-sizing: unset;
}

.video-button img {
    position: absolute;
    left: 38%;
    width: 35px;
    height: 35px;
}

video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

video::-webkit-media-controls-panel {
    display: none !important;
}

.quality-video {
    position: relative;

}

.quality-video iframe {
    position: absolute;
    background: #A0A0A0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.highopinion {
    position: relative;
    background-image: url(/skin/images/sfbz/highopinion-bg.webp);
    background-size: cover;
    /* 背景图片覆盖整个容器 */
    background-position: left top;
    /* 背景图片居中 */
    background-repeat: no-repeat;
    /* 背景图片不重复 */
    padding: 4% 0 6%;
    margin: var(--margin);
}

.highopinion .title .line-blue,
.gift .title .line-blue {
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #00ACFF 50%, rgba(255, 255, 255, 0) 100%);
}

.highopinion .swiper {
    --swiper-preloader-color: #00ACFF;
}

#evaluate-swiper {
    position: relative;
    width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

#evaluate-swiper .swiper-wrapper .swiper-slide img {
    display: block;
    width: 260px;
    aspect-ratio: 382 / 695;
    margin: 0 auto;
}


.swiper .navigation {
    position: absolute;
    color: transparent;
    background: #C2DEEC;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    top: 60%;
    opacity: 0.5;
    cursor: pointer;
    transform: translateY(-50%);
    transition: 0.5s;
    z-index: 999;
    outline: none;
}

.swiper .navigation::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 4px;
    background: #fff;
    transition: 0.5s;
}

.swiper .navigation::after {
    content: "";
    position: absolute;
    top: 48%;
    width: 30%;
    height: 4px;
    background: #fff;
    transition: 0.5s;
}

#evaluate-button-prev {
    left: 3%;
}

#evaluate-button-prev::before {
    left: 35%;
    transform: rotate(-45deg);
    transform-origin: left;
}

#evaluate-button-prev::after {
    left: 35%;
    transform: rotate(45deg);
    transform-origin: left;
}

#evaluate-button-next {
    right: 3%;
}

#evaluate-button-next::before {
    right: 35%;
    transform: rotate(45deg);
    transform-origin: right;
}

#evaluate-button-next::after {
    right: 35%;
    transform: rotate(-45deg);
    transform-origin: right;
}

.swiper .navigation:hover {
    background: #00ACFF;
}

#evaluate-button-prev:hover::before {
    transform: rotate(-30deg);
}

#evaluate-button-prev:hover::after {
    transform: rotate(30deg);
}

#evaluate-button-next:hover::before {
    transform: rotate(30deg);
}

#evaluate-button-next:hover::after {
    transform: rotate(-30deg);
}

.gift {
    position: relative;
    background-image: url(/skin/images/sfbz/gift-bg.webp);
    background-size: cover;
    /* 背景图片覆盖整个容器 */
    background-position: left top;
    /* 背景图片居中 */
    background-repeat: no-repeat;
    /* 背景图片不重复 */
    padding: 4% 0 3%;
    margin: var(--margin);
}

.title-2 {
    text-align: center;
}

.title-2 h1 {
    position: relative;
    display: inline-block;
    font-size: var(--box-title-font);
    color: #0E2837;
}


.title-2 h1::before {
    content: '';
    position: absolute;
    width: 40%;
    height: 6px;
    left: -42%;
    top: 38%;
    background: linear-gradient(-90deg, #00ACFF 0%, #FFFFFF 100%);
}

.title-2 h1::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 6px;
    right: -42%;
    top: 38%;
    background: linear-gradient(90deg, #00ACFF 0%, #FFFFFF 100%);
}

.disinfect-video {
    margin: var(--margin);
}

.disinfect-video .title {
    display: none;
}

.disinfect-video-content {
    margin: 5% auto 0;
}

.environment {
    margin: var(--margin);
}

.environment-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.environment-content img {
    width: 30%;
    aspect-ratio: 181/133;
}

.environment-content img:nth-of-type(n+4) {
    margin-top: 5%;
}

.time {
    margin: var(--margin);
}

.time .title-2 h1::before,
.question .title-2 h1::before {
    width: 260px;
    left: -273px;
}

.time .title-2 h1::after,
.question .title-2 h1::after {
    width: 260px;
    right: -273px;
}

.time-wrap {
    display: flex;
    width: 90%;
    margin: 5% auto 0;
}

.time-content {
    width: 50%;
    background: linear-gradient(270deg, #00ACFF 0%, #F0F8FC 100%);
}

.time-content p {
    font-size: 24px;
    color: #0E2837;
    text-align: center;
    line-height: 1.2;
}

.time-content p:nth-of-type(1) {
    padding-top: 12%;
}

.time-img {
    width: 50%;
}

.time-img img {
    display: block;
    width: 100%;
    aspect-ratio: 611/328;
}

.whatsapp-book {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55%;
    height: 40px;
    margin: 5% auto 0;
    padding: 10px 0;
    background: #fff;
    border-radius: 32px;
    animation-fill-mode: both;
    animation: buttonNitai 1s linear infinite;
}

.whatsapp-book span {
    font-size: 20px;
    animation: textMove 1s linear infinite;
    animation-fill-mode: both;
}

.whatsapp-book img {
    width: 28px;
    margin-left: 8px;
    animation: shubiaoMove 1s linear infinite;
    animation-fill-mode: both;
}

.question-wrap {
    width: 90%;
    margin: 5% auto 0;
}

.question-item {
    border-bottom: 1px solid #C7CACB;
    padding-bottom: 3%;
}

.question-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-title h5 {
    color: #0E2837;
    font-size: 26px;
    font-weight: 500;
}

.question-title img {
    width: 38px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.question-item.open .question-title img {
    transform: rotate(180deg);
}

.question-item .answers {
    padding: 0 2%;
    color: #5E6366;
    font-size: 20px;
    line-height: 1.5em;
    transition: none;
    height: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.question-item:not(:first-child) {
    padding-top: 3%;
}

@media screen and (max-width:1440px) {
    :root {
        --box-title-font: 34px;
    }

    .title-content h2 {
        font-size: 26px;
    }

    main,
    .article-title-box,
    .article-banner-box {
        width: 1024px;
    }

    .article-title-box .article-title {
        font-size: 40px;
    }

    #evaluate-swiper {
        width: 100%;
    }

    #evaluate-swiper .swiper-wrapper .swiper-slide img {
        width: 200px;
    }

    .time-content p {
        font-size: 18px;
    }

    .whatsapp-book span {
        font-size: 16px;
    }

    .question-title h5 {
        font-size: 21px;
    }

    .question-item .answers {
        font-size: 18px;
    }
}

@media screen and (max-width:1024px) {
    .title-2 h1::before {
        top: 25%;
    }

    .title-2 h1::after {
        top: 25%;
    }

    main,
    .article-title-box,
    .article-banner-box {
        width: 768px;
    }

    .article-title-box .article-title {
        font-size: 30px;
    }

    main {
        padding: 0 5%;
    }

    .article-banner-box {
        padding: 0 11% 3%;
        margin-top: -4%;
    }

    .quality-intro p {
        font-size: 20px;
    }

    .disinfect-video .title {
        display: block;
    }

    .disinfect-video .title-2 {
        display: none;
    }

    .disinfect-video-content {
        width: 92%;
        margin-top: 8%;
    }

    .time .title-2 h1::before,
    .question .title-2 h1::before {
        top: 37%;
        width: 180%;
        left: -190%;
    }

    .time .title-2 h1::after,
    .question .title-2 h1::after {
        top: 37%;
        width: 180%;
        right: -190%;
    }
}

@media screen and (max-width:768px) {
    :root {
        --article-text-font: 0.6rem;
        --box-title-font: 1rem;
        --margin: 10% auto;
    }

    main,
    .article-title-box,
    .article-banner-box {
        width: 100%;
    }

    .article-title-box .article-title {
        top: 43%;
        font-size: 0.9rem;
    }

    .article-banner-box {
        padding: 0 5% 3%;
        margin-top: -4%;
    }

    .article-detail-text {
        font-size: 14px;
    }

    .title-content h1 {
        padding-bottom: 2%;
    }

    .title-content h2 {
        font-weight: 500;
        font-size: 0.75rem;
        margin-top: 3%;
    }

    .title img {
        display: block;
    }

    .title .line-blue {
        bottom: -4px;
    }

    .quality {
        width: 100%;
        background-image: url(/skin/images/sfbz/quality-bg-m.webp);
        background-position: top;
        padding-bottom: 6%;
        margin-top: 12%;
    }

    .quality h1 {
        margin-top: 9%;
    }

    .quality-intro {
        width: 92%;
    }

    .quality-intro p {
        font-size: 0.6rem;
        line-height: var(--body-line-height);
    }

    .quality-video {
        width: 92%;
        margin-top: 7%;
    }

    .video {
        width: 90%;
    }

    #evaluate-swiper .swiper-wrapper .swiper-slide img {
        width: 150px;
    }

    #evaluate-swiper {
        width: 100%;
    }

    #evaluate-swiper .swiper-wrapper .swiper-slide img {
        width: 100%;
        transition: all 0.3s;
    }

    #evaluate-swiper .swiper-slide-prev img,
    #evaluate-swiper .swiper-slide-next img {
        transform: scale(0.8);
    }

    .disinfect-video-content {
        margin-top: 5%;
    }

    .environment-content {
        display: flex;
        width: 92%;
        margin: 8% auto 0;
        flex-wrap: wrap;
    }

    .environment-content img {
        width: 48%;
    }

    .environment-content img:nth-of-type(n+3) {
        margin-top: 5%;
    }

    .time .title-2 h1::before,
    .question .title-2 h1::before {
        top: 37%;
        width: 180%;
        left: -190%;
    }

    .time .title-2 h1::after,
    .question .title-2 h1::after {
        top: 37%;
        width: 180%;
        right: -190%;
    }

    .time-wrap {
        position: relative;
        width: 100%;
        flex-wrap: wrap;
    }

    .time-img {
        order: 0;
        width: 100%;
    }

    .time-content {
        position: absolute;
        bottom: 0%;
        order: 1;
        width: 100%;
        background: unset;
    }

    .time-content {
        padding: 6% 0;
        font-weight: bold;
    }

    .time-content p:nth-of-type(1) {
        padding-top: 0%;
        font-size: 0.9rem;
    }

    .time-content p:nth-of-type(2) {
        font-size: 0.9rem;
    }

    .time-img img {
        aspect-ratio: 375/328;
    }

    .question-title h5 {
        font-size: 0.7rem;
    }

    .question-item .answers {
        font-size: 0.6rem;
    }

    .article-appoint {
        font-size: 0.7rem;
    }
}

@media screen and (max-width:425px) {
    :root {
        --article-text-font: 0.9rem;
        --box-title-font: 1.4rem;
        --margin: 18% auto;
    }

    .title-content h2 {
        font-size: 0.9rem;
    }

    .article-title-box .article-title {
        font-size: 1.1rem;
        width: 70%;
    }

    .article-title-box img {
        height: 200px;
    }

    .article-banner-box {
        margin-top: -9%;
    }

    .quality-intro p {
        font-size: var(--article-text-font);
    }

    .highopinion {
        padding: 10% 0;
    }

    .gift {
        padding: 10% 0 6%;
        margin: 0 auto;
    }

    .swiper .navigation {
        width: 40px;
        height: 40px;
        top: 63%;
    }

    #evaluate-swiper {
        margin-top: 10%;
    }

    #evaluate-swiper .swiper-wrapper {
        padding: 19% 0;
    }

    #evaluate-swiper .swiper-wrapper .swiper-slide-active {
        z-index: 1;
    }

    #evaluate-swiper .swiper-wrapper .swiper-slide-active img {
        transform: scale(1.6);
    }

    #evaluate-swiper .swiper-slide-prev img,
    #evaluate-swiper .swiper-slide-next img {
        transform: scale(1.1);
    }

    .video-button img {
        width: 20px;
        height: 20px;
    }

    .video-button {
        width: 12px;
        height: 20px;
    }

    .gift-video {
        border: 5px solid #00ACFF;
        border-radius: 8px;
    }

    .time .title-2 h1::before,
    .question .title-2 h1::before {
        width: 110%;
        left: -115%;
    }

    .time .title-2 h1::after,
    .question .title-2 h1::after {
        width: 110%;
        right: -115%;
    }

    .question-wrap {
        width: 100%;
    }

    .question-item {
        padding-bottom: 5%;
    }

    .question-item:not(:first-child) {
        padding-top: 5%;
    }

    .question-title h5 {
        font-size: 1rem;
    }

    .question-title img {
        width: 29px;
    }

    .question-item .answers {
        font-size: 0.9rem;
    }

    .article-appoint {
        font-size: 1rem;
        width: 200px;
        height: 40px;
        line-height: 40px;
    }
}