﻿/*以下為自訂設定*/
/*讀入思源黑體*/
@import url(notosanstc.css);

/*讀入oswald字體*/
@import url('css2.css');

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../font/fa-solid-900.woff2") format("woff2"), url("../font/fa-solid-900.ttf") format("truetype");
}


body {
    /* 先套用 Noto Sans TC 這個 思源黑體 */
    font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
}

.clr {
    display: table;
    clear: both;
}

a img {
    border: none;
    -o-transition: opacity .20s linear;
    -webkit-transition: opacity .20s linear;
    -moz-transition: opacity .20s linear;
    transition: opacity .20s linear;
}

a img:hover {
    opacity: 0.6;
    filter: alpha(opacity=80);
    -o-transition: opacity .20s linear;
    -webkit-transition: opacity .20s linear;
    -moz-transition: opacity .20s linear;
    transition: opacity .20s linear;
}

img {
    max-width: 100%;
}

a {
    color: #FF5100;
    text-decoration: none;
    transition: 0.5s;
}

a:hover {
    color: #646464;
    text-decoration: none;
    transition: 0.5s;
}

a:active {
    color: #FF5100;
    font-weight: bold;
}

img,
svg {
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

.text_center {
    text-align: center;
}

.float_right {
    float: right;
    margin: 0 0 1em 1em;
}

.float_left {
    float: left;
    margin: 0 1em 1em 0;
}

@media (max-width: 499px) {
    .float_right {
        float: none;
        margin: auto;
        display: block;
        text-align: center;
    }

    .float_left {
        float: none;
        margin: auto;
        display: block;
        text-align: center;
    }
}


/**************************/


/***************************內框架設定開始********/
/*************************#header */
#header {
    background: #FFFFFF;
    border-bottom: 1px solid #FF5100;
    position: relative;
}

#header.fixed-header {
    position: fixed;
    width: 100%;
    z-index: 9;
    top: -100px;
}

#main-menu .navbar {
    padding: 0px;
}

#main-menu ul.mod-menu li.nav-item {
    height: 90px;
}

#main-menu ul.mod-menu li.nav-item a {
    font-weight: 400;
    font-size: 22px;
    line-height: 90px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #4d4d4d;
    padding: 0px 10px;
    height: 90px;
    display: inline-block;
}

#main-menu ul.mod-menu li.nav-item a.emphasize {
    font-weight: bold;
}

#main-menu ul.mod-menu li.nav-item:hover a {
    background-color: #ff510075;
    color: #fff;
}

#main-menu ul.mod-menu li.nav-item.active a {
    color: #FF5100;
}

#main-menu ul.mod-menu li.nav-item:last-child a {

}

#main-menu ul.mod-menu li.nav-item a.other_menu {
    display: none;
}

#top-right {
    position: absolute;
    top: 34px;
    right: 0px;
    text-align: center;
}

#top-right .item {
    display: inline-block;
    position: relative;
    margin: 0px 5px;
}

#top-right i.fa-light {
    font-size: 26px;
    color: #FF5100;
    cursor: pointer;
}

#top-right .mod-languages {
    background-color: #fff;
    padding: 5px 0px;
    position: absolute;
    width: 56px;
    left: -15px;
    display: none;
    z-index: 9;
}

#top-right div.mod-languages li {
    padding: 0px;
}

.offcanvas-body .navbar-nav {
    display: block;
}

.offcanvas-body ul.mod-menu li.nav-item {
    font-size: 20px;
}

.offcanvas-body ul.mod-menu li.nav-item a {
    padding: 5px 0px;
    display: inherit;
    margin-bottom: 5px;
}

.offcanvas-body ul.mod-menu li.nav-item a.emphasize {
    font-weight: bold;
}

.offcanvas-body ul.mod-menu li.nav-item.active a {
    border-bottom: 1px solid #FF5100;
}

@media (max-width: 991px) {
    #main-menu_wrap {
        display: none;
    }

    #logo {
        padding: 10px 0px;
    }

    #top-right {
        top: 16px;
    }
}


@media (max-width: 575px) {
    #logo {
        height: 50px;
        display: inline-block;
    }

    #top-right {
        top: 14px;
    }

}

/*offcanvas 彈山的側邊*/
.offcanvas-body ul.mod-menu {
    display: block;
    text-align: center;
    padding: 0px 20px;
}

/*************************#copyright */
.copyright_wrap {
    margin-top: 5em;
    background-color: #fff;
    padding: 30px 0px;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0.05em;
    text-align: center;
    position: relative;
}

.copyright_wrap .copyright::before {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 81, 0, 0) 0%, #FF5100 33.33%, #FF5100 66.66%, rgba(255, 81, 0, 0) 100%);
    margin-bottom: 40px;
}

.copyright .logo {
    margin-bottom: 1em;
}

.copyright .copy {
    text-align: right;
}

/*************************#slideshow  */
#slideshow img {
    width: 100%;
}

/*影片背景*/
.youtube_background_wrap {
    position: relative;
    height: calc(100vh - 100px)
}

.slidershow_txt {
    background: linear-gradient(90deg, rgb(0 0 0 / 70%) 7.82%, rgba(0, 0, 0, 0) 72.38%);
    position: absolute;
    padding: 30px;
    width: 80%;
    top: calc(50% - 150px);
    text-align: right;
}

.slidershow_txt .txt_con {
    padding-right: 50%;
}

.slidershow_txt .txt_con h4 {
    font-weight: 700;
    font-size: 36px;
    line-height: 52px;
    color: #F1DD05;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.55);
}

.slidershow_txt .txt_con h4 span {
    color: #FF5100;
}

.slidershow_txt .txt_con h2 {
    font-weight: 700;
    font-size: 64px;
    line-height: 93px;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.55);
}

.slidershow_txt .txt_con h3 {
    font-weight: 700;
    font-size: 36px;
    line-height: 52px;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.55);
}

.slidershow_txt .txt_con h3 span {
    font-size: 48px;
    line-height: 70px;
    color: #FF5100;
}

.slidershow_img {
    position: absolute;
    top: calc(50% - 210px);
    right: 15%;
}

@media (max-width: 1599px) {
    .slidershow_img {
        right: 10%;
    }
}

@media (max-width: 1349px) {
    .slidershow_img {
        right: 5%;
    }
}

@media (max-width: 1209px) {
    .slidershow_txt {
        top: 250px;
    }

    .slidershow_img {
        width: 50%;
        top: 160px;
    }

    .slidershow_txt .txt_con h2 {
        font-size: 54px;
    }
}

@media (max-width: 991px) {
    .slidershow_txt {
        position: relative;
        top: 0px;
        width: 100%;
        text-align: center;
        background: unset;
    }

    .slidershow_txt .txt_con {
        padding-right: unset;
    }

    .slidershow_img {
        position: relative;
        top: unset;
        width: 100%;
        max-width: 500px;
        text-align: center;
        right: unset;
        margin: 40px auto;
        padding: 0px 20px;
    }

    .youtube_background_wrap {
        height: calc(100vh - 30px);
    }

    .sliershow_con {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: linear-gradient(180deg, rgb(0 0 0 / 70%) 10%, rgba(0, 0, 0, 0) 100%);
        position: relative;

    }
}

@media (max-width: 575px) {
    .slidershow_txt {}

    .slidershow_txt .txt_con h4 {
        font-size: 30px;
    }

    .slidershow_txt .txt_con h2 {
        font-size: 48px;
        line-height: 48px;
    }

    .slidershow_txt .txt_con h3 {
        font-size: 30px;
    }

    .slidershow_txt .txt_con h3 span {
        font-size: 40px;
    }
}

/*home_intro_wrap 首頁簡介*/
.home_intro_wrap {
    margin: 80px 0px;
    text-align: center;
}

.home_intro {
    display: inline-flex;
    max-width: 800px;
    align-items: center;
    justify-content: space-between;
    gap: 20px 70px;
}

.home_intro .img {
    max-width: 343px;
}

.home_intro .txt {
    text-align: left;
    font-weight: 700;
    font-size: 30px;
    line-height: 180.8%;
    color: #646464;
}

.home_intro .txt h5 {
    font-size: 40px;
    font-weight: 700;
    color: #FF5100;
}

@media (max-width: 991px) {
    .home_intro {
        display: block;
        text-align: center;
    }

    .home_intro .img {
        max-width: unset;
        text-align: center;
    }

    .home_intro .txt {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .home_intro .txt {
        font-size: 26px;
    }
}

/* 首頁表單的設定*/
body.home_page .com-content-article.item-page>.container {
    max-width: unset;
    background-color: #000;
    color: #fff;
    padding: 100px 0px;
    background-image: url(../image/home_media_choose_BG.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-attachment: fixed;
}

.home_media_choose {}

.home_media_choose h3 {
    font-weight: 700;
    font-size: 48px;
    line-height: 70px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 1em;
}

.home_media_choose .convertforms {
    background-color: rgb(0 0 0 / 0%);
    color: #fff;
}

.convertforms .cf-label {
    color: #fff;
}

.home_media_choose .cf-checkbox-group {
    position: relative;
    text-align: center;
    margin-bottom: 1em;
    width: 16.667%;
}

.home_media_choose .cf-checkbox-group input[type=checkbox] {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 40px;
    height: 40px;
}

@media (max-width: 767px) {
    .home_media_choose .cf-checkbox-group input[type=checkbox] {
        width: 20px;
        height: 20px;
    }
}

.home_media_choose .cf-checkbox-group input[type=checkbox]+label.cf-label {
    width: 100%;
}

.cf-control-group.group01 .cf-control-label label.cf-label,
.cf-control-group.group02 .cf-control-label label.cf-label,
.cf-control-group.group03 .cf-control-label label.cf-label {
    font-size: larger;
    font-weight: bold;
}

.cf-control-group.group04 {}

.cf-control-group.group04 .cf-control-input input#form2_result {
    font-size: 36px;
    font-weight: bold;
    color: #FF0000;
}

/*媒體選項設定*/
.home_media_choose .cf-checkbox-group input[type=checkbox]+label.cf-label::before {
    content: "";
    display: block;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    width: 100%;
    height: 140px;
    border-radius: 20px;
    margin-bottom: 10px;
}

@media (max-width: 1199px) {
    .home_media_choose .cf-checkbox-group input[type=checkbox]+label.cf-label::before {
        height: 100px;
    }
}

@media (max-width: 991px) {
    .home_media_choose .cf-checkbox-group {
        width: 25%;
    }
}

@media (max-width: 767px) {
    .home_media_choose h3 {
        font-size: 32px;
        line-height: 40px;
    }

    .home_media_choose .cf-checkbox-group input[type=checkbox]+label.cf-label::before {
        height: 100px;
    }
}

@media (max-width: 575px) {
    .home_media_choose .cf-checkbox-group input[type=checkbox]+label.cf-label::before {
        height: 70px;
        border-radius: 10px;
    }
}

.home_media_choose .cf-control-group.group02 .cf-list .text_center {
    margin-bottom: 1em;
}

.home_media_choose .cf-control-group.group02 .cf-control-label {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 1em;
}

.home_media_choose .cf-control-group.group03 .cf-control-label {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 1em;
}

.home_media_choose .convertforms .cf-control-group.group03 .cf-label {
    font-size: inherit;
}

.home_media_choose .convertforms .cf-control-group.group03 .cf-control-label .cf-label {
    font-size: larger;
    color: #f1dd05;
}



/*各頁各別設定 - service 服務說明*/
body.page_services {}

body.page_services .com-content-article.item-page>.container {
    max-width: unset;
}

.services_content {}

.services_content .content_01 {
    padding-top: 90px;
    margin-bottom: 100px;
}

.services_content .title h3 {
    font-weight: 700;
    font-size: 64px;
}

.services_content .content_01 .con_wrap {
    position: relative;
    padding: 40px 0px;
    margin-left: 20px;
    margin-right: 20px;
}

.services_content .content_01 .con_wrap .con {
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
}

.services_content .content_01 .con_wrap .con .txt {
    font-size: 33px;
    line-height: 46px;
    color: #bdbdc3;
    font-weight: bold;
    padding-top: 50px;
    padding-bottom: 30px;
}

.services_content .content_01 .con_wrap .con .txt .item {
    margin-bottom: 1em;
    max-width: 50%;
}

.services_content .content_01 .con_wrap .con .txt .item h4 {
    font-size: 45px;
    color: #fff;
    font-weight: 700;
}

.services_content .content_01 .con_wrap .con .txt .item span {
    color: #fff100;
}

.services_content .content_01 .con_wrap .con .img {
    position: absolute;
    bottom: 0px;
    left: 55%;
    max-width: 45%;
}

@media (max-width: 1399px) {
    .services_content .content_01 .con_wrap .con .img {
        left: unset;
        right: -20px;
    }
}

@media (max-width: 1199px) {
    .services_content .content_01 .con_wrap .con .txt {
        font-size: 24px;
        line-height: inherit;
    }

    .services_content .content_01 .con_wrap .con .txt .item h4 {
        font-size: 34px;
    }
}

@media (max-width: 991px) {
    .services_content .content_01 .con_wrap .con .txt .item {
        max-width: unset;
    }

    .services_content .content_01 .con_wrap .con .txt {
        padding: 50px 50px 30px 50px;
    }

    .services_content .content_01 .con_wrap .con .img {
        position: relative;
        right: 20px;
        bottom: unset;
        max-width: 30%;
        top: 20px;
    }

    .services_content .content_01 .con_wrap .con {
        display: flex;
    }

    .services_content .title h3 {
        font-size: 40px;
    }

    .services_content .content_01 .con_wrap {
        margin: 0px;
    }
}

@media (max-width: 575px) {
    .services_content .content_01 .con_wrap .con {
        display: block;
    }

    .services_content .content_01 .con_wrap .con .txt {
        padding-bottom: 0px;
    }

    .services_content .content_01 .con_wrap .con .img {
        max-width: unset;
        right: unset;
        top: unset;
        padding: 20px 50px;
        text-align: center;
    }

    .services_content .content_01 {
        padding-top: 20px;
        margin-bottom: 0px;
    }

    .services_content .content_01 .con_wrap {
        padding-top: 0px;
    }
}

.services_content .content_02 {}

.services_content .content_02 .flow_items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 100px;
    padding-top: 20px;
}

.services_content .content_02 .flow_items .item .txt {
    font-size: 28px;
    color: #8089f9;
}

.services_content .content_02 .flow_items .item.item02 .txt {
    color: #e05a7d;
}

.services_content .content_02 .flow_items .item.item03 .txt {
    color: #99c146;
}

.services_content .content_02 .flow_items .item .txt h4 {
    font-size: 33px;
    color: #3f4046;
}

.services_content .content_02 .flow_items .item .img {
    text-align: center;
    margin-bottom: 1em;
}

@media (max-width: 991px) {
    .services_content .content_02 .flow_items {
        display: block;
    }

    .services_content .content_02 .flow_items .item {
        max-width: 456px;
        margin: 0px auto 3em auto;
    }
}

@media (max-width: 575px) {
    .services_content .content_02 .flow_items .item .txt {
        font-size: 20px;
    }

    .services_content .content_02 .flow_items .item .txt h4 {
        font-size: 28px;
    }

}

/*各頁各別設定 - news 案例成果*/
body.page_news {}

.page_title {
    padding: 70px 0px;
    letter-spacing: 0.05em;
    color: #FF5100;
}

.page_title h1 {
    padding-left: 20px;
    border-left: 5px solid #FF5100;
}

.page_title h2 {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
}

@media (min-width: 992px) {
    .page_title h2 {
        font-size: 40px;
        padding-left: 2em;
    }
}

body.page_news .blog-items {}

body.page_news .blog-items .com-content-category-blog__item.blog-item {

    position: relative;
}

body.page_news .blog-items .page-header {
    background-color: unset;
    margin-bottom: 10px;
    padding: 0px;
}

body.page_news .blog-items .page-header h2 {
    font-size: 20px;
    font-weight: 400;
}

body.page_news .blog-items .blog-item .item-image img {
    height: auto;
}

body.page_news .blog-items .blog-item .introtext {
    display: none;
}

body.page_news .com-content-category-blog__children.cat-children {
    display: none;
}

@media (min-width: 992px) {
    body.page_news .blog-items {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 2em;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    body.page_news .blog-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 2em;
    }
}

@media (max-width: 767px) {
    body.page_news .blog-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 2em;
    }

    body.page_news .blog-items .page-header h2 {
        font-size: 18px;
    }
}

/*詳細頁*/
.com-content-article.item-page.page_news {}

.com-content-article.item-page.page_news .page-header {
    margin-bottom: 0px;
}

.com-content-article.item-page.page_news .article-info {
    text-align: right;
}

figure.item-image {
    text-align: center;
    margin-bottom: 2em;
}

figure.item-image img {
    width: 100%;
    height: auto;
}

body.page_news .page-header {
    background-color: #FF5100;
    font-weight: 700;
    font-size: 30px;
    line-height: 48px;
    color: #FFFFFF;
    padding: 40px 0px;
    margin-bottom: 0px;
}

/*分頁*/
.com-content-category-blog__navigation {
    text-align: center;
    margin-top: 4em;
    border-top: 1px solid #d4d4d4;
    padding-top: 1em;
}

.com-content-category-blog__navigation p.com-content-category-blog__counter {
    float: none !important;
}

.com-content-category-blog__pagination {
    clear: both;
}

ul.pagination {
    justify-content: center;
}

ul.pagination .page-link {
    color: #FF5100;
}

ul.pagination .page-item.active .page-link {
    background-color: #FF5100;
    border-color: #FF5100;
}

.icon-angle-left:after {
    content: "\f104";
    font-family: "Font Awesome 6 Pro";
}

.icon-angle-right:after {
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
}

.icon-angle-double-left:after {
    content: "\f100";
    font-family: "Font Awesome 6 Pro";
}

.icon-angle-double-right:after {
    content: "\f101";
    font-family: "Font Awesome 6 Pro";
}


/*彈出視窗*/
.fixed_buttoms {
    bottom: 150px;
    right: 0;
    position: fixed;
    z-index: 9;
}

.to_contact_modal {
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
}

.to_contact_modal>a {
    background-color: #ff5100;
    display: inline-block;
    color: #fff !important;
    padding: 16px 10px;
    border-radius: 10px 0px 0px 10px;
    border: 1px solid #fff;
    cursor: pointer;
}

.modal-header {
    position: relative;
}

.modal-header h5.modal-title {
    color: #ff5100;
    width: 100%;
    text-align: center;
}

.cf-content-text h5 {
    color: #ff5100;
}

/*pc 和 mobile行動瀏覽的硬設定*/

.only_pc {}

.only_mobile {}

@media (min-width: 768px) {

    .pc_flex {
        display: flex;
    }

    .pc_space-between {
        justify-content: space-between;
        align-items: center;
    }

    .only_pc {}

    .only_mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    .pc_flex {
        display: block;
    }

    .only_pc {
        display: none;
    }

    .only_mobile {}
}