﻿/*h1 {
    font-size: 4.5em;
    font-weight: 700;
    line-height: 1.18em;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

h2 {
    font-size: 3.6em;
    font-weight: 600;
    line-height: 1.3em;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

h3 {
    font-size: 2.2em;
    font-weight: 600;
    line-height: 1.3em;
    margin-bottom: 26px;
    letter-spacing: 2.5px;
}

h4 {
    font-size: 1.8em;
    font-weight: 500;
    line-height: 1.5em;
}

h5 {
    font-size: 1.2em;
    font-weight: 500;
    padding: 20px 0 0;
}

p {
    font-size: 1.4em;
    font-weight: 500;
    line-height: 1.5em;
    margin-bottom: 12px;
}


@media screen and (max-width: 1024px) {
    h1 {
        font-size: 3.6em;
    }

    h2 {
        font-size: 3.2em;
        font-weight: 600;
        line-height: 1.3em;
        margin-bottom: 20px;
        letter-spacing: 2px;
    }

    h3 {
        font-size: 2.2em;
        font-weight: 600;
        line-height: 1.3em;
        margin-bottom: 26px;
        letter-spacing: 2.5px;
    }

    h4 {
        font-size: 1.7em;
    }
}

@media screen and (max-width: 992px) {
    h2 {
        font-size: 3em;
    }

    h3 {
        font-size: 2em;
    }
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 2.7em;
        margin-bottom: 16px;
    }

    h3 {
        font-size: 1.8em;
    }

    h4 {
        font-size: 1.6em;
    }
}

@media screen and (max-width: 320px) {

    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 2.4em;
    }

    h3 {
        font-size: 1.6em;
    }

    h4 {
        font-size: 1.4em;
    }
}*/


/*h1 {
    font-size: 4.5em;
    font-weight: 700;
    line-height: 1.18em;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

h2 {
    font-size: 3.6em;
    font-weight: 600;
    line-height: 1.3em;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

h3 {
    font-size: 2.2em;
    font-weight: 600;
    line-height: 1.3em;
    margin-bottom: 26px;
    letter-spacing: 2.5px;
}

h4 {
    font-size: 1.8em;
    font-weight: 500;
    line-height: 1.5em;
}

h5 {
    font-size: 1.2em;
    font-weight: 500;
    padding: 20px 0 0;
}

p {
    font-size: 1.4em;
    font-weight: 500;
    line-height: 1.5em;
    margin-bottom: 12px;
}


@media screen and (max-width: 1024px) {
    h1 {
        font-size: 3.6em;
    }

    h2 {
        font-size: 3.2em;
        font-weight: 600;
        line-height: 1.3em;
        margin-bottom: 20px;
        letter-spacing: 2px;
    }

    h3 {
        font-size: 2.2em;
        font-weight: 600;
        line-height: 1.3em;
        margin-bottom: 26px;
        letter-spacing: 2.5px;
    }

    h4 {
        font-size: 1.7em;
    }
}

@media screen and (max-width: 992px) {
    h2 {
        font-size: 3em;
    }

    h3 {
        font-size: 2em;
    }
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 2.7em;
        margin-bottom: 16px;
    }

    h3 {
        font-size: 1.8em;
    }

    h4 {
        font-size: 1.6em;
    }
}

@media screen and (max-width: 320px) {

    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 2.4em;
    }

    h3 {
        font-size: 1.6em;
    }

    h4 {
        font-size: 1.4em;
    }
}*/



.ft-quote-left::before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f10d";
    color: #ccc;
    clear: both;
    padding-right: 10px;
}

.ft-quote-right::after {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f10e";
    color: #ccc;
    clear: both;
    padding-left: 10px;
}

/*font-color*/
.ft-blue {
    color: #ff6600;
}

.ft-en {
    font-family: 'Roboto', sans-serif;
}

.ft-SGS{
    font-family: 'Univers-Condensed', sans-serif;
    font-size: 1.1em;
}

.btn-red {
    background-color: #e93e45;
    color: #fff;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-box-shadow: 0 1px 3px rgba(70, 70, 70, 0.1), 0 1px 2px rgba(70, 70, 70, 0.1);
    box-shadow: 0 1px 3px rgba(70, 70, 70, 0.1), 0 1px 2px rgba(70, 70, 70, 0.1);
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-red a:hover,
.btn-red a:focus {
    color: #fff;
    background-color: #f34148;
    background-position: 0 -15px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-red a:active {
    color: #fff;
    background-color: #f34148;
    border-color: #f34148;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

/*pageHeight*/
.topic {
    box-sizing: border-box;
    padding: 100px 0;

}

.cont {
    padding: 0px 50px 0;
}

.info-txt {
    margin-top: 60px;
}

#table {
    font-size: 16px;
}

/*-------------------------*/
/* $日常用品
---------------------------*/
#daily .cont {
    position: relative;
}

#daily .cont-mt {
    margin-top: -200px;
    background: #fff;
    padding: 30px 50px 0;
}

#daily .jum-bg {
    background-image: url('../images/page_00.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    background-color: transparent;
    border: inherit;
    height: 30.875vw;
}

#daily h3{
    font-size: 20px;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 500;
    position: relative;
    padding-left: 28px;
    margin-top: 12px;
}

#daily h3::before{
        content: "";
        position: absolute;
        bottom: 13px;
        left: 0;
        width: 20px;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.3);
}

.btn-circle {
    position: absolute;
    top: -106px;
    right: 30px;
    width: 63px;
    height: 63px;
    border-radius: 100%;
    background: #fff;
    box-shadow: 0.4rem 0.4rem 2rem 0 hsla(0, 0%, 40%, .45);
    -webkit-animation: float 4s ease-in-out infinite alternate;
    animation: float 4s ease-in-out infinite alternate;
}

.btn-circle_arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


a .btn-circle_arrow {
    color: #333;
}

a:hover .btn-circle_arrow {
    color: #f60;
}

@keyframes float {
    0% {
        transform: translate3d(0, -.5rem, 0)
    }

    50% {
        transform: translate3d(0, .5rem, 0)
    }

    50% {
        transform: translate3d(0, -.5rem, 0)s
    }
}

@media screen and (max-width: 1200px) {
    .topic {
        padding: 80px 0;

    }

    .btn-circle {
        top: -116px;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1199px) {
    .btn-circle {
        top: -190px;
    }

}

@media screen and (max-width: 1024px) {
    .topic {
        padding: 80px 0;

    }

    .btn-circle {
        top: -85px;
    }
}

@media screen and (max-width: 992px) {
    .btn-circle {
        top: -80px;
    }

    .cont {
        padding: 20px 0px;
    }
}

@media screen and (min-width: 769px) and (max-width: 991px) {
    .btn-circle {
        top: -70px;
        right: 50px;
        left: inherit;
    }

    #daily .jum-bg {
        height: 48.875vw;
    }
}

@media screen and (max-width: 768px) {
    .topic {
        padding: 50px 0;

    }

    #daily .jum-bg {
        height: 50.875vw;
    }

    .btn-circle {
        top: -80px;
        right: 50px;
        left: inherit;
    }

    #daily .cont-mt {
        margin-top: -180px;
        padding: 30px 30px 0;
    }
}

@media screen and (min-width: 330px) and (max-width: 480px) {
    .topic {
        padding: 35px 0;
    }

    .btn-circle {
        top: 0px;
        z-index: 1;
    }

    #daily .jum-bg {
        height: 80.875vw;
    }

    #daily .cont-mt {
        margin-top: -180px;
        padding: 24px 24px 0;
    }

    .info-txt {
        margin-top: inherit;
    }

    #daily h3{
        font-size: 19px;
    }

    #daily h3::before{
        bottom: 12px;
    }

}

@media screen and (max-width: 320px) {
    #daily .jum-bg {
        height: 100vw;
    }

    .info {
        margin-top: 30px;
    }

    .btn-circle {
        top: -4px;
        right: 32px;
        z-index: 1;
    }
}

/*-------------------------*/
/* $你知道嗎
---------------------------*/
#doYouKnow img {
    border-radius: 6px;
}

.list li {
    list-style-type: none;
    font-size: 1.5rem;
    line-height: 2.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}
/*-------------------------*/
/* $病毒史
---------------------------*/
@media screen and (max-width: 480px) {
    .bg-gary {
        margin-bottom: 30px;
    }
}

.bg-gary {
    background: #f2f2f2;
}

/*-------------------------*/
/* $病毒到底是甚麼
---------------------------*/
#what .jumbotron {
    background-image: url('../images/top_pho_02.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#what .item {
    margin-top: 30px;
}

#what .item h5 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 54px;
    background-color: #FFF;
    display: inline-block;
    margin: 0 0 0 25px;
    padding: 0 15px 0 15px;
}

#what .item .txt {
    border: 1px solid #cacaca;
    border-radius: 20px;
    margin: -26px 0 0 0;
    padding: 26px 40px 8px 20px;
    text-align: left;
    -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.06);
    -o-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.06);
}

@media screen and (max-width: 1024px) {
    #what .item .txt {
        padding: 26px 10px 8px 10px;
    }
}

@media screen and (max-width: 400px) {
    #what .item {
        margin-top: inherit;
    }

    #what .item h5 {
        font-size: 22px;
    }
}

/*-------------------------*/
/* $對抗病毒方法
---------------------------*/
#way .item {
    margin-top: 20px;
    padding: 30px 0;
    border: 1px solid #cacaca;
    border-radius: 20px;
    text-align: left;
    -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.06);
    -o-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.06);
    text-align: center;
}

#way .item .images {
    width: 68px;
    height: 68px;
    margin: 0 auto;
}

/*-------------------------*/
/* $如何得知我們的產品
---------------------------*/
#howToKnow {
    position: relative;
    overflow: hidden;
}

#howToKnow .sub {
    font-size: 0.75sem;
}

@media screen and (max-width: 992px) {
    #howToKnow .sub {
        font-size: 0.72em;
    }
}

#howToKnow .btn-hov {
    margin: 40px 0;
}

#howToKnow .btn:focus,
#howToKnow .btn:hover{
    color: #fff;
}

#howToKnow h3 {
    margin-bottom: 12px;
}

/*-------------------------*/
/* $最專業的SGS
---------------------------*/
#SL {
    position: relative;
}

#SL .item {
    position: relative;
}

#SL .imgbox::after {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 50%;
    background: linear-gradient(5deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0) 90%);
    content: '';
}

#SL .image_mobile {
    display: none;
}

@media screen and (max-width: 992px) {
    #SL .image_full {
        display: none;
    }

    #SL .image_mobile {
        display: block;
    }
}

#SL img {
    border-radius: 6px;
}

#SL .h4 {
    position: relative;
    top: -70px;
    left: 0;
    height: 100px;
    margin-top: 16px;
    line-height: 1.5em;
    background-color: #fff;
    margin: 0 20px 0 20px;
    padding: 16px;
    text-align: center;
}

#SL .txt {
    font-size: 1em;
    font-weight: 600;
    line-height: 1.3em;
}

@media screen and (max-width: 320px) {
    #SL .h4 {
        margin-bottom: 12px;
    }
}

/*-------------------------*/
/* $SGS紡織暨鞋類製品服務
---------------------------*/
#SL-video {
    position: relative;
}

#SL-video h1 {
    padding: inherit;
}

#SL-video::before {
    display: block;
    content: "";
    position: absolute;
    background: #f2f2f2;
    left: 0;
    top: 0;
    width: calc(50% + 180px);
    height: 100%;
    z-index: -1;
}

@media screen and (max-width: 992px){
    #SL-video .video-inner{
        margin: 0 20px;
    }
    #SL-video .slick-prev{
        left: -25px;
    }
    #SL-video .slick-next{
        right: -25px;
    }
}

@media screen and (max-width: 480px) {
    #SL-video::before {
        width: calc(50% + 162px);
    }
}

/*-------------------------*/
/* $我們始終如一
---------------------------*/
#consistent h2 {
    margin-top: -145px;
}
@media screen and (max-width: 768px){
    #consistent h2{
        margin-top: -78px;
    }
}
@media screen and (max-width: 480px){
    #consistent h2{
        margin-top: -68px;
    }
}
@media screen and (max-width: 320px){
    #consistent h2{
        margin-top: -90px;
    }
}

#consistent .ft-20 {
    font-size: 2em;
}

#consistent .jumbotron {
    background-image: url('../images/top_pho_05.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

#consistent .item {
    margin-right: 30px;
}

#consistent .cons-inner .slick-prev{
    left: 35px;
}

#consistent .cons-inner .slick-next{
    right: 35px;
}


.cons-bg::before {
    width: 50%;
    height: 26.923vw;
    background: url(../images/top_pho_03.jpg) no-repeat center center/cover;
    border-radius: 10px;
    content: '';
    position: absolute;
    left: -10vw;
    bottom: -1vw;
    z-index: 1;
}


/*-------------------------*/
/* 
---------------------------*/
.font-blue {
    color: #337ab7;
    font-size: 14px;
    font-weight: 500;
    padding-left: 10px;
    text-decoration: underline;
}

/*-------------------------*/
/* popup
---------------------------*/
.jumbotron {
    border-radius: 0px;
    background-color: transparent;
    background-size: cover;
    padding-top: 0;
    padding-bottom: 0;
}

.container .jumbotron,
.container-fluid .jumbotron {
    border-radius: 0;
}
.p-kv::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: skew(0, -6.28deg);
    z-index: 0;
}

.p-kv-gray {
    background-color: #f2f2f2;
}
.jumbotron .h1 {
    font-size: 48px;
    line-height: 75px;
    font-weight: 600;
}

.jumbotron .h1.bg {
        padding: 30px;
        margin: 0;
    }
#popup .txt {
    font-size: 1.2em;
    color: #f60; 
}

    #popup .en {
        font-family: 'Univers-Condensed',sans-serif;
        font-weight: 500;
    }
#popup {
    position: relative;
    text-align: center;
    height: 100vh;
}

    #popup .topic-inner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        overflow: hidden;
    }

    #popup .imgbox {
        width: 100%;
        margin: 0 auto;
    }

    #popup .h1 {
        font-size: 6.4em;
        font-weight: 750;
        line-height: 0.8em;
        letter-spacing: 6px;
        font-family: 'Roboto', sans-serif;
    }
    
#popup p {
    font-weight: 600;
    font-size: 28px;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 0px;
}

#popup::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    transform: skew(0, -6.28deg);
    z-index: 0;
}

@media (max-width: 768px) {
    #popup .imgbox {
        margin: 30px auto 0px;
    }

    #popup .h1 {
        font-size: 3em;
    }
}

*:focus {
    outline:none !important;
}
