@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@700&display=swap');

@font-face {
    font-family: 'NotoSansCJKtc-L';
    src: url('../fonts/NotoSansCJKtc-Light.otf');
}

@font-face {
    font-family: 'NotoSansCJKtc-B';
    src: url('../fonts/NotoSansCJKtc-Bold.otf');
}

body {
    font-family: NotoSansCJKtc-L;
    color: #20150e;
}

.full-img {
    background-image: url('../../assets/images/default_bg_1920x1080.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.border-line {
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
    margin-left: 120px;
    border-left: 5px solid #ffffff;
    border-bottom: 5px solid #ffffff;
    border-right: 5px solid #ffffff;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

.fixed-top {
    width: 20%;
}

.top-logo {
    position: absolute;
    top: 22%;
    left: 35%;
}

.bottom-line {
    width: 37%;
    padding: 40px;
    margin-left: 51%;
    border-left: 5px solid #ffffff;
    border-top: 5px solid #ffffff;
    border-right: 5px solid #ffffff;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.bottom-icon_arrow {
    position: absolute;
    bottom: 10px;
    left: 50px;
}

.bottom-icon_message {
    position: absolute;
    bottom: 25px;
    right: 50px;
}

.bottom-icon_line {
    position: absolute;
    bottom: 12px;
    right: 125px;
}

.fixed-logo {
    position: fixed;
    top: 92px;
    left: 250px;
}

.navbar-light .navbar-nav .nav-link {
    color: #20150e;
}

.bg-green .nav-item.active .nav-link,
.bg-green .nav-item:hover .nav-link {
    color: #8a4c0e;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-brand {
    padding-left: 15%;
}

.navbar {
    padding: 0px;
}

#navbarNav .navbar-nav a {
    padding-bottom: 20px;
    font-size: 18px;
}

#navbarNav .navbar-nav img {
    padding-bottom: 30px;
}

#navbarNav {
    padding-left: 15px;
    padding-right: 15px;
}


/*--------section0--------*/
/*.home-img {
    background-image: url(../images/default_pic.png);
    background-position: left top;
    background-size: contain;
    background-repeat: no-repeat;
}*/
#section0 .section0-img {
    padding-left: 0px;
    padding-right: 0px;
}

#section0 .row {
    position: relative;
}

.section0-text {
    padding-top: 18%;
}

.section0-text-1 h1 {
    font-family: 'Noto Serif TC', serif;
    margin-bottom: 30px;
    font-size: 52px;
}

.section0-text-1 span {
    font-family: 'NotoSansCJKtc-L';
}

.section0-text-2 {
    padding-top: 20px;
}

.section0-text-2 p {
    font-size: 20px;
    text-align: justify;
    line-height: 1.5;
}

.section0-text-3 {
    position: absolute;
    bottom: 10%;
    right: 20%;
}

.section0-text-3 p {
    font-size: 20px;
    color: #ffffff;
}

/*--------section0--------*/


/*--------section1--------*/
#section1 .row {
    position: relative;
}

.corporate-pic {
    margin-top: -7%;
}

.corporate-text-1 {
    padding-top: 15%;
    font-size: 20px;
    letter-spacing: 1pt;
}

.corporate-text-1 p {
    margin-bottom: 5px;
}

.corporate-text-2 {
    font-size: 26px;
    letter-spacing: 1pt;
    margin-bottom: 25px !important;
}

.corporate-icon {
    position: absolute;
    width: 30%;
    right: 33%;
    top: 28%;
}

/*--------section1--------*/


/*--------section2--------*/
#section2 .row {
    position: relative;
}

.section2-title {
    margin-top: -4%;
}

.about-box {
    z-index: 0;
    position: absolute;
    right: -10%;
    top: -55%;
}

.about-text {
    z-index: 10;
}

.about-text-1 {
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 1pt;
}

.about-text-2 {
    margin-top: 50px;
    margin-bottom: 30px;
    font-size: 24px;
    letter-spacing: 1pt;
}

/*--------section2--------*/


/*--------section3--------*/
.case-logo {
    position: relative;
    margin-bottom: 20px;
    margin-left: -10px;
}

.logo-img img {
    max-height: 80px;
}

.section3-border {
    margin: 5px;
    border: 1px solid #8b7b70;
    border-radius: 12px;
    margin-bottom: 80px;
    height: 100px;
}

.prev-icon {
    margin-left: -130px;
}

.prev-icon img {
    width: 10%
}

.next-icon {
    margin-right: -130px;
}

.next-icon img {
    width: 10%
}

/*--------section3--------*/


/*--------section4--------*/
.contact-text {
    z-index: 2000;
    padding-top: 30px;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 1pt;
}

.contact-form {
    font-size: 12pt;
    letter-spacing: 1pt;
}

.label-pd {
    padding-left: 10px;
}

.form-bg {
    background: linear-gradient(to left, #dfdfde, #e1e0e0);
    border: 2px solid #cfcfce;
    border-radius: 20px;
    box-shadow: 3px 3px 12px gray;
}

.form-input {
    background: linear-gradient(to left, #e1e0e0, #e8e7e7);
    padding: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.button-img {
    background-color: rgba(255, 255, 255, 0);
    background-image: url('../../assets/images/contact_message box_button-a.png');
    background-size: contain;
    background-repeat: no-repeat;
    padding-top: 15%;
    padding-right: 30%;
    margin-left: -4%;
    margin-top: -5%;
    border: 0px;
}

.in-button {
    border: none;
}

/*--------section4--------*/

/**/

/**/

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: .6s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
}

@media (min-width: 1500px) and (max-width: 1699px) {
    .section0-text-1 h1 {
        font-size: 46px;
    }

    .section0-text-2 p {
        font-size: 18px;
    }

    .section0-text-3 p {
        font-size: 18px;
    }

    .corporate-text-1 {
        font-size: 16px;
    }

    .corporate-text-2 {
        font-size: 26px;
    }

    .about-box {
        top: -35%
    }

    .about-text-1 {
        font-size: 16px;
    }
}

@media (min-width: 1400px) and (max-width: 1499px) {
    .section0-text-1 h1 {
        font-size: 42px;
    }

    .section0-text-2 p {
        font-size: 16px;
    }

    .section0-text-3 p {
        font-size: 16px;
    }

    .corporate-text-1 {
        font-size: 14px;
    }

    .corporate-text-2 {
        font-size: 24px;
    }

    .about-box {
        top: -35%
    }

    .bottom-icon_arrow img {
        width: 75%;
    }

}

@media (min-width: 1281px) and (max-width: 1399px) {
    #navbarNav .navbar-nav a {
        padding-bottom: 10px;
        font-size: 16px;
    }

    .border-line {
        margin-left: 85px;
    }

    .bottom-line {
        padding: 25px;
    }

    .bottom-icon_arrow img {
        width: 60%;
    }

    .bottom-icon_message {
        bottom: 12px;
    }

    .bottom-icon_message img {
        width: 70%;
    }

    .bottom-icon_line {
        bottom: 8px;
        right: 110px;
    }

    .bottom-icon_line img {
        width: 60%;
    }

    .fixed-logo {
        left: 220px;
    }

    .section0-text {
        padding-top: 15%;
    }

    .section0-text-1 h1 {
        font-size: 36px;
    }

    .section0-text-2 p {
        font-size: 14px;
    }

    .section0-text-3 p {
        font-size: 14px;
    }

    .section1-title img {
        width: 50%;
    }

    .corporate-text-1 {
        font-size: 14px;
    }

    .corporate-text-2 {
        font-size: 20px;
    }

    .section2-title img {
        width: 50%;
    }

    .about-text-1 {
        font-size: 14px;
        line-height: 20px;
    }

    .about-text-2 {
        margin-top: 30px;
        margin-bottom: 10px;
        font-size: 20px;
    }

    .section3-border {
        margin-bottom: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .section4-title img {
        width: 40%;
    }

    .contact-text {
        padding-top: 15px;
        font-size: 12px;
    }

    .google-map img {
        width: 90%;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    #navbarNav .navbar-nav a {
        padding-bottom: 10px;
        font-size: 16px;
    }

    #navbarNav {
        padding-left: 8px;
        padding-right: 8px;
    }

    .border-line {
        margin-left: 60px;
    }

    .fixed-logo {
        left: 180px;
    }

    .bottom-line {
        padding: 25px;
    }

    .bottom-icon_arrow img {
        width: 60%;
    }

    .bottom-icon_message {
        bottom: 12px;
    }

    .bottom-icon_message img {
        width: 70%;
    }

    .bottom-icon_line {
        bottom: 8px;
        right: 110px;
    }

    .bottom-icon_line img {
        width: 60%;
    }

    .section0-text {
        padding-top: 15%;
    }

    .section0-text-1 h1 {
        margin-bottom: 20px;
        font-size: 26px;
    }

    .section0-text-2 p {
        font-size: 12px;
    }

    .section0-text-3 p {
        font-size: 12px;
    }

    .section1-title img {
        width: 50%;
    }

    .corporate-text-1 {
        font-size: 12px;
    }

    .corporate-text-2 {
        font-size: 18px;
    }

    .section2-title img {
        width: 50%;
    }

    .about-text-1 {
        font-size: 12px;
        line-height: 18px;
    }

    .about-text-2 {
        margin-top: 30px;
        margin-bottom: 10px;
        font-size: 20px;
    }

    .about-box {
        top: -35%;
    }

    .section3-border {
        margin-bottom: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .case-logo img {
        width: 30%;
    }

    .section4-title img {
        width: 40%;
    }

    .contact-text {
        padding-top: 15px;
        font-size: 12px;
    }

    .google-map img {
        width: 90%;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    #navbarNav .navbar-nav a {
        padding-bottom: 0px;
        padding-top: 30px;
    }

    .fixed-logo {
        top: 50px;
        left: 150px;
    }

    .fixed-top {
        left: auto;
        width: auto;
    }

    .fixed-pad-mb {
        position: fixed;
        padding-top: 40px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 25px;
        left: 30px;
        top: 0;
        border-left: 5px solid #ffffff;
        border-bottom: 5px solid #ffffff;
        border-right: 5px solid #ffffff;
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    .border-line {
        margin-left: auto;
        padding-bottom: 45px;
        border-bottom-left-radius: 60px;
        border-bottom-right-radius: 60px;
    }

    .bottom-line {
        width: 12%;
        padding: 35px;
        margin-left: 45%;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
    }

    .bottom-icon_arrow {
        left: 23px;
    }

    .bottom-icon_arrow img {
        width: 75%;
    }

    .bottom-icon_message {
        display: none;
    }

    .bottom-icon_line {
        display: none;
    }

    #navbarNav {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .navbar-light .navbar-toggler {
        position: fixed;
        z-index: 50000;
        top: 40px;
        right: 20px;
        border-color: transparent;
    }

    .navbar {
        right: 30%;
        width: 100%;
    }

    .message-img {
        position: fixed;
        right: 55px;
        top: 40px;
    }

    .message-img img {
        width: 65%;
    }

    #section0 .section0-img {
        margin-top: -25%;
    }

    .section0-text {
        margin-top: -5%;
        padding-top: 0px;
        padding-left: 10%;
        padding-right: 10%;
    }

    .section0-text-1 h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .section0-text-2 {
        padding-top: 0px;
    }

    .section0-text-2 p {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .section0-text-3 {
        position: absolute;
        bottom: -12%;
        right: 30%;
    }

    .corporate-text-1 {
        padding-top: 5%;
        padding-bottom: 5%;
        font-size: 18px;
    }

    .corporate-text-2 {
        font-size: 24px;
        margin-bottom: 12px !important;
    }

    .corporate-pic {
        margin-top: 7%;
        padding: 0px;
    }

    .section2-title {
        margin-top: 0px;
    }

    .about-text {
        margin-bottom: -15%;
    }

    .about-text-2 {
        margin-top: 24px;
        margin-bottom: 6px;
        font-size: 22px;
    }

    .about-box {
        position: relative;
        top: auto;
        right: auto;
        padding: 0px;
        margin-bottom: -15%;
    }

    .section4-box {
        margin-bottom: -15%;
        padding-left: 15%;
    }
}

@media (max-width: 575px) {
    .fixed-logo {
        top: 23px;
        left: 110px;
    }

    .fixed-logo img {
        width: 50%;
    }

    .fixed-top {
        left: auto;
        width: auto;
    }

    .fixed-pad-mb {
        text-align: center;
        position: fixed;
        padding-top: 20px;
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 25px;
        left: 20px;
        top: 0;
        border-left: 5px solid #ffffff;
        border-bottom: 5px solid #ffffff;
        border-right: 5px solid #ffffff;
        border-bottom-left-radius: 35px;
        border-bottom-right-radius: 35px;
    }

    .fixed-pad-mb img {
        width: 50%;
    }

    .border-line {
        margin-left: auto;
        padding-bottom: 20px;
        border-bottom-left-radius: 60px;
        border-bottom-right-radius: 60px;
    }

    .bottom-line {
        width: 15%;
        padding: 0;
        padding-top: 60px;
        padding-right: 5px;
        padding-left: 5px;
        margin-left: 45%;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .bottom-icon_arrow {
        left: 10px;
        bottom: 25px;
    }

    .bottom-icon_arrow img {
        width: 75%;
    }

    .bottom-icon_message {
        display: none;
    }

    .bottom-icon_line {
        display: none;
    }

    #navbarNav {
        background-color: rgba(0, 0, 0, 0.1);
    }

    #navbarNav .navbar-nav a {
        font-size: 16px;
        margin-bottom: 0px;
        padding: 0px;
        padding-bottom: 15px;
    }

    .navbar-light .navbar-toggler {
        position: fixed;
        z-index: 50000;
        top: 17px;
        right: 20px;
        border-color: transparent;
    }

    .navbar {
        right: -30%;
        width: 55%;
    }

    .message-img {
        position: fixed;
        right: 55px;
        top: 17px;
    }

    .message-img img {
        width: 65%;
    }

    #section0 .section0-img {
        margin-top: -40%;
    }

    .section0-text {
        margin-top: -5%;
        padding-top: 0px;
        padding-left: 10%;
        padding-right: 10%;
    }

    .section0-text-1 h1 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .section0-text-2 {
        padding-top: 0px;
    }

    .section0-text-2 p {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .section0-text-3 {
        position: absolute;
        bottom: -20%;
        right: 25%;
    }

    .section0-text-3 p {
        font-size: 12px;
    }

    .corporate-text-1 {
        padding-top: 10%;
        padding-bottom: 10%;
        font-size: 15px;
    }

    .corporate-text-2 {
        font-size: 20px;
        margin-bottom: 12px !important;
    }

    .corporate-pic {
        margin-top: 7%;
        padding: 0px;
    }

    .section2-title {
        margin-top: 0px;
    }

    .about-text {
        margin-bottom: -6%;
    }

    .about-text-1 {
        font-size: 16px;
        line-height: 10px;
        letter-spacing: 0.5pt;
    }

    .about-text-2 {
        margin-top: 24px;
        margin-bottom: 10px;
        font-size: 18px;
    }

    .about-box {
        position: relative;
        top: auto;
        right: auto;
        padding: 0px;
        margin-bottom: -30%;
    }

    .section3-border {
        margin-bottom: 30px;
    }

    .section4-box {
        margin-bottom: -15%;
        padding-left: 7%;
        padding-right: 7%;
    }

    .contact-text {
        z-index: 0;
        padding-top: 24px;
        line-height: 6px;
    }
}