@charset "UTF-8";

:root {
    --og: #ff723a;
    --hog: #eb952f;
    --dog: #DD4B12;
}

.img-item {
    position: relative;
    overflow: hidden;
}

.img-item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    background-repeat: no-repeat;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.back-to-top {
    display: flex;
/*     width: 50px; */
/*     height: 50px; */
/*     position: fixed; */
/*     bottom: 6em; */
/*     right: 10px; */
/*     text-decoration: none; */
    color: #fff !important;
    background-color: #000 !important;
    opacity: 0.8;
/*     font-size: 12px; */
/*     padding: 0; */
/*     border-radius: 60px; */
/*     box-shadow: 0px 0px 10px #00000040; */
/*     z-index: 50000000; */
}

.back-to-top i{
/*     font-size: 24px; */
}


/*-- 下拉選單 ↓ --*/
.select {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 325px;
    color: #666666;
    vertical-align: middle;
    text-align: left;
    user-select: none;
    -webkit-touch-callout: none;
}

.select .placeholder {
    position: relative;
    display: block;
    border: 1px solid #ddd;
    background-color: #ffffff;
    z-index: 1;
    padding: 10px;
    border-radius: 2px;
    cursor: pointer;
}

.select .placeholder:hover {
    background: #f1f1f1;
}

.select .placeholder:after {
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'FontAwesome';
    content: '\f078';
    z-index: 10;
}

.select.is-open .placeholder:after {
    content: '\f077';
}

.select.is-open ul {
    display: block;
}

.select.select--white .placeholder {
    background: #fff;
    color: #999;
}

.select.select--white .placeholder:hover {
    background: #fafafa;
}

.select ul {
    display: none;
    position: absolute;
    overflow: hidden;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 5px 0 0 0;
    padding: 0;
    z-index: 100;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px #00000020;
}

.select ul li {
    display: block;
    text-align: left;
    padding: 0.8em 1em 0.8em 1em;
    color: #999;
    cursor: pointer;
}

.select ul li:hover {
    background: #ddd;
    color: #999;
}

/*-- 下拉選單 ↑ --*/
/*select*/
.mo-select .select {
    position: relative;
    display: block;
    margin: 20px auto;
    width: 100%;
    color: #333333;
    vertical-align: middle;
    text-align: left;
    user-select: none;
    -webkit-touch-callout: none;
}

.mo-select .select .placeholder {
    position: relative;
    display: block;
    background-color: #ffffff;
    border: 1px solid #ccc;
    z-index: 1;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.mo-select .select .placeholder:hover {
    background: #eee;
}

.mo-select .select .placeholder:after {
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'FontAwesome';
    content: '\f078';
    z-index: 10;
}

.mo-select .select.is-open .placeholder:after {
    content: '\f077';
}

.mo-select .select.is-open ul {
    display: block;
}

.mo-select .select.select--white .placeholder {
    background: #fff;
    color: #999;
}

.mo-select .select.select--white .placeholder:hover {
    background: #fafafa;
}

.mo-select .select ul {
    display: none;
    position: absolute;
    overflow: hidden;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 5px 0 0 0;
    padding: 0;
    z-index: 100;
}

.mo-select .select ul li {
    display: block;
    text-align: left;
    padding: 8px 16px;
    color: #999;
    cursor: pointer;
}

.mo-select .select ul li:hover {
    background: #4ebbf0;
    color: #fff;
}

/*select*/

body {
    background-color: #ffffff;
    overflow-x: hidden;
    max-width: 100vw;
}

.margin-auto {
    margin: auto;
}

.col-md-20 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-20 {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

p {
    color: #333333;
    font-size: 15px;
    letter-spacing: 0.1rem;
    line-height: 24px;
}

/*@media (max-width: 768px){
p{
  font-size: 13px;
}}*/

a {
    letter-spacing: 0.1rem;
    line-height: 24px;
}

.txt-14 {
    font-size: 14px;
}

.txt-16 {
    font-size: 16px;
}

.txt-18 {
    font-size: 18px;
}

.txt-21 {
    font-size: 21px;
}

.txt-22 {
    font-size: 22px;
}

.txt-24 {
    font-size: 24px;
}

.txt-28 {
    font-size: 28px;
}

.txt-36 {
    font-size: 36px;
}

/*media(max-width: 768px){
  .txt-14{
  font-size: 12px;
}

.txt-16{
  font-size: 14px;
}

.txt-18{
  font-size: 15px;
}

.txt-22{
  font-size: 16px;
}

.txt-24{
  font-size: 20px;
}

.txt-36{
  font-size: 32px;
}

}*/

.text-gold1 {
    color: #a38e65;
}

.text-gray65 {
    color: #5e6165;
}

.text-gray66 {
    color: #666666;
}

.text-gray87 {
    color: #878787;
}

.text-gray99 {
    color: #999999;
}

.text-blue1 {
    color: #3090cd;
}

.text-darkblue1 {
    color: #40609E;
}

.text-lightblue1 {
    color: rgba(20, 165, 222, 1);
}

.margin-no {
    margin-right: 0px;
    margin-left: 0px;
}

.padding-no {
    padding-right: 0px;
    padding-left: 0px;
}

.line-top {
    width: 100%;
    height: 1px;
    background: #ddd;
}

@media (max-width: 991px) {
    .header .mo-header {
        background: #f6f6f6;
    }
}

.hide-in-phone {
    display: block;
}

@media (max-width: 991px) {
    .hide-in-phone {
        display: none;
    }
}

.hide-in-pc {
    display: none;
}

@media (max-width: 991px) {
    .hide-in-pc {
        display: block;
    }
}


@media (min-width: 991px) {
    .header .pc-header.stick .top-menu .collapse .nav {
        margin-left: 0px;
    }
}

@media (max-width: 991px) {
    .section-title p {
        line-height: 32px;
        letter-spacing: 2px;
    }

    .txt-24 {
        font-size: 18px;
    }
}

.mt-btn {
    background: url(../images/btn.png) no-repeat center;
    border-radius: 60px;
    border: 0px solid #000000;
    color: #ffffff;
    padding: 14px 60px;
    box-shadow: 0px 0px 32px rgb(49 177 224 / 10%);
}

@media (max-width: 991px) {
    .mt-btn {
        zoom: 0.8;
    }
}

.over-2 {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/*-------------------------------------------------*/

.transparent-head {
    position: absolute;
    width: 100%;
}

.kv_slider .img-wrap .img-item {
    padding-top: 100vh;
}

.pc-logo img {
    max-width: 210px;
}

.transparent-head .pc-logo img {
    -webkit-filter: brightness(100);
}

.stick .pc-logo img {
    -webkit-filter: brightness(1);
}

@media (min-width: 991px) {
    .header .pc-header .top-menu .collapse .pc-logo {
        position: absolute;
        top: 30px;
        left: 0px;
        z-index: 2;
    }

    .header .pc-header.stick .top-menu .collapse .pc-logo {
        position: absolute;
        top: 12px;
        left: 0px;
        z-index: 2;
    }
}

@media (min-width: 991px) {
    .header .pc-header .top-menu .header-c {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
}

@media (min-width: 991px) {
    .header .pc-header .top-menu .collapse .nav-items .nav-link {
        font-size: 15px;
        padding: 35px 15px;
        display: block;
        position: relative;
    }

    .header .pc-header.transparent-head .top-menu .collapse .nav-items .nav-link {
        color: #ffffff
    }

    .header .pc-header.stick .top-menu .collapse .nav-items .nav-link {
        color: #333333;
    }
}

@media (min-width: 991px) {
    .header .pc-header {
        background-color: #ffffffcc;
    }
}

.menu-line {
    position: relative;
}

@media (min-width: 991px) {
    .menu-line:before {
        content: '';
        position: absolute;
        width: 100vw;
        height: 1px;
        background: linear-gradient(-90deg, #33333380 0%, transparent 80%, transparent 100%);
        left: 0px;
        top: 74px;
    }

    .transparent-head .menu-line:before {
        background: linear-gradient(-90deg, #ffffff80 0%, transparent 80%, transparent 100%);
    }
}

@media (min-width: 991px) {
    .header .pc-header .top-menu .collapse {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        width: 100%;
        position: relative;
        padding-left: 0px;
        padding-right: 0px;
        z-index: 99999;
    }
}

.section01 {
    background-color: #f8f8f8;
    background-image: url(../images/s1-bg.png);
    background-repeat: no-repeat;
    background-position: top left;
    min-height: 100vh;
}

@media (max-width: 991px) {
    .section01 {
        background-image: url(../images/s1-bg-30.png);
        background-size: cover;
    }
}

.mipo-btn {
    display: block;
    padding: 10px 40px;
    border: 1px solid #cccccc;
    color: #333333;
    font-size: 15px;
    width: fit-content;
    background: #ffffff99;
}

.about-part {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {

    .section01,
    .about-part {
        min-height: 70vh;
    }
}

.about-box {
    position: relative;
}

.about-box:before {
    content: '';
    position: absolute;
    width: 168px;
    height: 168px;
    background: #ebebeb;
    left: calc(50% - 84px);
    z-index: 0;
    top: -20px;
}

.section02 {
    background: linear-gradient(-90deg, #f8f8f8 0%, #f8f8f8 25%, white 25%, white 100%);
    min-height: calc(80vh - 20vmin);
    padding: 10vmin 0;
}

.project-part {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media(max-width: 991px) {
    .project-part {
        min-height: 70vw;
    }
}

.project-box {
    position: relative;
}

.mipo-btn:hover {
    background-color: #ffffff;
    box-shadow: 0px 0px 40px #66666640;
    color: var(--hog);
}

.project-item {
    position: relative;
}

.project-item .img-item {
    padding-top: 100%;
}

.project-type {
    position: absolute;
    color: #999;
    white-space: nowrap;
    font-size: 16px;
    left: 0;
    top: 100%;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: translate3d(-2em, -2.7777777778vw, 0) rotate(-90deg);
    transform: translate3d(-2em, -2.7777777778vw, 0) rotate(-90deg);
}

.project-01,
.project-02 {
    display: flex;
    height: 100%;
}

.project-01 .project-box,
.project-02 .project-box {
    width: 100%;
    padding: 0 5%;
}

@media (min-width: 991px) {
    .project-01 {
        align-items: flex-start;
    }

    .project-02 {
        align-items: flex-end;
    }
}

.section03 {
    background: #f8f8f8;
    min-height: calc(100vh - 300px);
    padding: 10vmin 0 2vmin 0;
}

.section04 {
    min-height: calc(100vh);
    padding: 10vmin 0;
}

@media (min-width: 991px) {

    .header .pc-header .top-menu .collapse .nav-items .nav-link:hover,
    .header .pc-header .top-menu .collapse .nav-items .nav-link.active {
        color: var(--hog);
    }
}

/*-------------------------------*/
.buiness-square-img {
    position: relative;
}

.buiness-square-img .img-item {
    padding-top: 300px;
    -webkit-filter: brightness(1);
}

.buiness-square-img:hover .img-item {
    opacity: 0.6;
    -o-transition: all .8s ease;
    transition: all .8s ease;
    -moz-transition: all .8s ease;
    -webkit-transition: all .8s ease;
}

.index-buiness-txt {
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.index-buiness-border-item {
    position: absolute;
    z-index: 8;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.buiness-border-box {
    width: 100%;
    height: 100%;
    padding: 15px;
}

.index-buiness-border {
    width: 100%;
    height: 100%;
    border: 1px solid #999999;
    opacity: 0;
}

.buiness-square-img:hover .index-buiness-border {
    opacity: 1;
    -o-transition: all .8s ease;
    transition: all .8s ease;
    -moz-transition: all .8s ease;
    -webkit-transition: all .8s ease;
}

.buiness-square-img:hover .img-item img {
    transform: translate(-50%, -50%) scale(1.2);
    -o-transition: all 1.5s ease;
    transition: all 1.5s ease;
    -moz-transition: all 1.5s ease;
    -webkit-transition: all 1.5s ease;
}

/*------------------------------------------------------*/

.s4-btn-area {
    padding-top: 10vmin;
    padding-bottom: 10vmin;
}

.section05 {
    background-color: #eeeeee;
    background-image: url(../images/s5-bg.png);
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 300px;
}

.s5-tx-box {
    display: flex;
    align-items: center;
    min-height: 300px;
}

@media(max-width: 991px) {
    .s5-tx-box p {
        text-align: center;
    }
}

.footer {
    background: #f8f8f8;
    padding: 50px 0 0 0;
}

.text-gray72 {
    color: #6c6e72;
}

.footer .footer-box01 {
    text-align: left;
    font-weight: 400;
}

.footer .footer-box01 i,
.footer .footer-box02 i {
    margin-right: 10px;
}

.footer-box02 {
    text-align: left;
    font-weight: 400;
    display: flex;
    justify-content: flex-end;
}

@media(max-width: 991px) {
    .footer-box02 {
        display: flex;
        justify-content: flex-end;
    }
}

.footer-logo img {
    max-width: 300px;
}

.footer-logo {
    padding: 10vmin;
}

@media(max-width: 991px) {
    .footer-logo {
        padding: 0vmin;
    }

    .footer-logo img {
        max-width: 250px !important;
    }
}

.ft-link-ball {
    width: 34px;
    height: 34px;
    background: #666666;
    border-radius: 60px;
    color: #ffffff;
    line-height: 34px;
    margin: 0px 8px;
}

.footer-box05 {
    text-align: right;
}

.s5-tx-box a:hover p,
.s5-tx-box a:hover span {
    color: var(--hog);
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}

.ft-link-ball:hover {
    background: var(--hog);
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}

.kv_slider_mo .img-wrap .img-item {
    position: relative;
    padding-top: 120%;
}

@media (max-width: 991px) {
    .header .mo-header .top-menu .navbar-toggler .icon-bar {
        background-color: #666666;
    }
}

@media (max-width: 991px) {
    .header .mo-header .top-menu nav .navbar-collapse {
        background: #f8f8f8;
    }
}

@media (max-width: 991px) {
    .header .mo-header .top-menu .navbar-collapse .nav li a {
        color: #333333;
        border-bottom: 1px solid #bbbbbb;
    }
}

@media (max-width: 991px) {
    .mo-order-1 {
        order: 1;
    }

    .mo-order-2 {
        order: 2;
    }

    .mo-order-3 {
        order: 3;
    }

    .mo-order-4 {
        order: 4;
    }
}

@media (max-width: 991px) {
    .s5-tx-box {
        text-shadow: 0px 0px 3px #ffffff;
    }
}

@media (max-width: 991px) {
    .footer-box05 {
        text-align: center;
    }

    .footer-box04 .row {
        justify-content: center;
    }
}

.page-area {
    padding: 10vmin 0px;
}

.line-title,
.contact-info {
    padding-bottom: 2vmin;
}

.contact-info-box {
    position: relative;
    padding-left: 32px;
}

.contact-info-box i {
    position: absolute;
    left: 0px;
    top: 5px;
}

.line-title {
    position: relative;
}

.line-title p {
    background: #ffffff;
    width: fit-content;
}

.line-title:before {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    background: #dddddd;
    top: 14px;
    z-index: -1;
}

@media(max-width: 991px) {
    .line-title:before {
        width: 100%;
    }
}

.from-item {
    border: 0px solid #ffffff;
}

.form-content {
    padding: 18px 0px;
    border-bottom: 1px solid #dddddd;
}

.form-content-box {
    padding: 18px 0px;
}

.contact-form {
    padding: 6vmin;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    box-shadow: 0px 0px 50px #0000000d;
}

textarea:focus,
input:focus {
    color: #333333;
}

input,
select,
textarea {
    color: #999999;
}

.form-content-box textarea {
    width: 100%;
    min-height: 150px;
    border: 1px solid #f3f3f3;
    background: #f8f8f8;
    padding: 15px;
}

.form-verify .form-control {
    border: 1px solid #f3f3f3;
    background: #f8f8f8;
    padding: 15px;
}

.newcodeimg {
    max-width: 100px;
}

.btn-send-area {
    padding: 2vmin 0;
    text-align: right;
}

.section-bottom {
    padding-bottom: 20vmin;
}

@media(max-width: 991px) {
    .form-verify .form-control {
        margin-bottom: 20px;
    }
}

.re-code-box {
    display: flex;
    align-items: center;
    height: 100%;
}

.hot-post-item li {
    position: relative;
    padding: 15px 32px;
    border-bottom: 1px solid #dddddd;
}

.hot-post-item li:before {
    position: absolute;
    content: "．";
    color: #333333;
    left: -5px;
    font-size: 40px;
    top: -4px;
}

.hot-post-item li:nth-last-child(1) {
    border-bottom: 0px solid #dddddd;
}

.category-item {
    position: relative;
    padding: 8px 45px;
}

.category-item:before {
    position: absolute;
    content: "．";
    color: #333333;
    left: 7px;
    font-size: 48px;
    top: -21px;
}

.hot-post-item a:hover p,
.category-item a:hover p {
    color: var(--hog);
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}


.news-list {
    padding: 30px 0px;
}

@media(min-width: 991px) {
    .news-list {
        padding: 0px 15px;
    }
}


.news-list .img-item {
    padding-top: 56.25%;
}

.news-txt-box {
    padding: 4vmin 0;
}

.cate-more {
    padding-top: 2vmin;
}

.news-txt-box .txt-24 {
    margin-bottom: 5px;
}

.cate-more .w-100 {
    text-align: right;
}

@media(max-width: 991px) {
    .cate-more .w-100 {
        text-align: center;
        margin-top: 20px;
    }
}

.topic-news-area {
    padding-bottom: 3vmin;
    border-bottom: 1px solid #dddddd;
}

@media (min-width: 991px) {
    .stick .menu-line:before {
        opacity: 0;
    }
}

@media (min-width: 991px) {
    .header .pc-header.stick {
        background-color: #f5f5f5cc;
    }
}

.two-col-news-list {
    padding-top: 5vmin;
}

.news-item {
    padding: 2vmin 0;
}

@media (min-width: 991px) {
    .news-item {
        padding: 4vmin 0;
    }
}

.news-item .news-txt-box {
    padding: 2vmin 0;
}

.page-link {
    border: 0px solid #dee2e6;
}

.pagination li a,
.pagination li span {
    color: #666666;
}

.topic-news-area:hover .img-item img {
    transform: translate(-50%, -50%) scale(1.2);
    -o-transition: all 1.5s ease;
    transition: all 1.5s ease;
    -moz-transition: all 1.5s ease;
    -webkit-transition: all 1.5s ease;
}

.topic-news-area:hover .news-txt-box p {
    color: var(--hog);
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}

.topic-news-area:hover .mipo-btn {
    background-color: #ffffff;
    box-shadow: 0px 0px 40px #66666640;
    color: var(--hog);
}

.news-item:hover .img-item img {
    transform: translate(-50%, -50%) scale(1.2);
    -o-transition: all 1.5s ease;
    transition: all 1.5s ease;
    -moz-transition: all 1.5s ease;
    -webkit-transition: all 1.5s ease;
}

.news-item:hover .news-txt-box p {
    color: var(--hog);
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    z-index: 0;
    color: var(--hog);
    background-color: #eee;
    border-color: transparent;
}

.news-title-line {
    width: 50px;
    height: 3px;
    background: #cccccc;
    margin: 25px auto;
}

.news-detail img {
    max-width: 100%;
}

.article-content {
    padding: 4vmin 0;
}

.project-category-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.project-category {
    padding: 10px 25px;
    position: relative;
}

.project-category p{
    margin-bottom: 0;
}


.project-category:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background: #9b8559;
    bottom: -1px;
    left: 0;
    opacity: 0;
}

.project-category:hover:before,.project-category.active:before {
    opacity: 1;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}

.project-category-bar {
    border-bottom: 1px solid #dddddd;
}

.project-list {
    padding-top: 6vmin;
}

.project-list .img-item {
    padding-top: 75%;
}

.project-item {
    padding: 2vmin 0;
}

@media (min-width: 991px) {
    .project-item {
        padding: 2vmin 0;
    }
}

.project-item .news-txt-box {
    padding: 2vmin 0;
}

.project-item:hover .img-item img {
    transform: translate(-50%, -50%) scale(1.2);
    -o-transition: all 1.5s ease;
    transition: all 1.5s ease;
    -moz-transition: all 1.5s ease;
    -webkit-transition: all 1.5s ease;
}

.project-item:hover .news-txt-box p {
    color: var(--hog);
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}

/*-----------------------------------------------------*/

.splide__arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    width: 6em !important;
    height: 6em !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    opacity: .7;
    background: transparent !important;
}

@media (max-width: 768px) {
    .splide__arrow {
        display: none !important;
    }
}

.splide__arrow svg {
    width: 2em !important;
    height: 2em !important;
}

.splide__slide img {
    width: auto;
    height: auto;
    margin: auto;
    height: 660px;
}

@media (max-width: 768px) {
    .splide__slide img {
        width: 100%;
        height: auto;
    }
}

.project-photo .splide__arrow--prev {
    display: none !important;
}

.project-photo .splide__arrow--next {
    display: none !important;
}

.splide__pagination {
    display: none !important;
}

.splide--nav>.splide__track>.splide__list>.splide__slide.is-active {
    border-color: var(--hog) !important;
}

#secondary-slider .splide__arrow--prev {
    /* display: none!important; */
    position: absolute;
    top: -368px;
}

#secondary-slider .splide__arrow--next {
    /* display: none!important; */
    position: absolute;
    top: -368px;
}

/*-------------------------------------------------------------------------*/

.project-section {
    padding: 10vmin 0;
}

.project-share {
    padding: 30px 0 60px 0px;
}

.project-share li {
    padding: 10px 5px 10px 19px;
}

.project-share li a {
    color: #666666;
}

.project-share li:hover a {
    color: var(--hog);
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}

.project-info-item {
    padding: 2vmin 0;
    border-top: 1px solid #dddddd;
}

.project-detail-info .project-info-item:nth-last-child(1) {
    border-bottom: 1px solid #dddddd;
}

@media(max-width: 991px) {
    .projext-text-box {
        padding-bottom: 30px;
    }
}

.project-prev-next {
    padding: 30px 0px;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

.prev-box {
    display: flex;
    align-items: center;
}

.next-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.prev-box:hover i,
.prev-box:hover p,
.next-box:hover i,
.next-box:hover p {
    color: var(--hog);
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -webkit-transition: all 0.8s ease;
}

/*-----------------------------------------------*/

.tabs-left li {
    padding: 12px 0px;
    /*border-bottom: 1px solid #ccc;*/
}

.s3-txt-box {
    display: flex;
    align-items: center;
}

.s3-img-box {
    position: relative;
    top: calc(50% - 176px);
}

.s3-img-box .img-item {
    padding-top: 75%;
}

.tab-sec {
    padding: 10vmin 0;
}

.s3-tab-list {
    display: flex;
    align-items: center;
}

.s3-tab-list,
.s3-txt-box,
.s3-img-box {
    min-height: 300px;
}

.s3-tab-list:before {
    content: "";
    position: absolute;
    width: 1px;
    height: 300px;
    background: #dddddd;
    left: 80px;
}

@media(max-width: 991px) {
    .s3-tab-list:before {
        opacity: 0;
    }
}

.tabs-left li.active p {
    font-weight: 400;
    font-size: 18px;
}

.tabs-left li.active {
    position: relative;
}

.tabs-left li.active:before {
    content: '';
    background: #cccccc;
    height: 1px;
    width: calc(50vw - 585px - 40px);
    top: 27px;
    left: calc(-50vw + 585px);
    position: absolute;
}

.tabs-left li.active:after {
    content: '';
    background: #959595;
    height: 3px;
    width: 26px;
    top: 26px;
    left: -66px;
    position: absolute;
}

/*@media(max-width: 1360px) {
    .tabs-left li.active:before {
        width: calc(49vw - 480px);
    }

    .tabs-left li.active:after {
        left: calc(49vw - 720px);
    }
}*/

@media(max-width: 991px) {
    .s3-tab-list {
        min-height: 50px;
        justify-content: center;
    }

    .s3-tab-list ul {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .s3-tab-list ul li {
        padding: 13px;
    }

    .section03 {
        padding: 20vmin 0 5vmin 0;
    }

    .section04 {
        padding: 20vmin 0 5vmin 0;
    }

    .s3-txt-box,
    .s3-img-box {
        min-height: fit-content;
    }

    .s3-img-box {
        padding: 10vmin 0;
    }

    .tabs-left li.active:after {
        opacity: 0;
    }
}

/*20241209社群按鈕連結*/

/* 主要樣式 */
.custom-sidebar {
    position: fixed;
    right: 10px; /* 距離右側的距離 */
    top: 50%; /* 垂直置中 */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px; /* 按鈕之間的間距 */
    z-index: 1000;
}

.custom-sidebar__btn {
    width: 50px; /* 圓形按鈕大小 */
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
    overflow: hidden;
    cursor: pointer;
}

.custom-sidebar__btn img {
    width: 24px;
    height: 24px;
}

.custom-sidebar__btn i {
    font-size: 24px;
    color: #fff;
}

.custom-sidebar__btn:hover {
    transform: scale(1.1);
    background-color: #f0f0f0;
}

/* 不同平台的樣式可以調整 */
.custom-sidebar__btn.fb {
    background-color: #4267B2; /* Facebook 藍 */
    color: #fff;
}

.custom-sidebar__btn.line {
    background-color: #00c300; /* LINE 綠 */
    color: #fff;
}

.custom-sidebar__btn.youtube {
    background-color: #FF0000; /* YouTube 紅 */
    color: #fff;
}

.custom-sidebar__btn.instagram {
    background-color: #9c307f; /* YouTube 紫 */
    color: #fff;
}

.custom-sidebar__btn img {
    filter: brightness(0) invert(1); /* 讓圖標變成白色 */
}

/* RWD 設計 */
@media screen and (max-width: 768px) {
    .custom-sidebar {
        right: 5px; /* 在手機上縮短右側距離 */
        gap: 8px; /* 按鈕之間的間距縮小 */
    }

    .custom-sidebar__btn {
        width: 40px;
        height: 40px;
    }

    .custom-sidebar__btn img {
        width: 20px;
        height: 20px;
    }
}

/*---------------首頁concept區塊圖片增加影片連結------------------*/

.s3-img-box {
    position: relative;
}

.youtube-overlay {
    background-color: rgba(0, 0, 0, 0.6); /* 半透明黑色背景 */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.s3-img-box:hover .youtube-overlay {
    opacity: 1;
}

/* 手機版直接顯示內容 */
@media (max-width: 768px) {
    .youtube-overlay {
        background-color: transparent;
        opacity: 1;
        filter: drop-shadow(0px 0px 10px black);
    }

    .youtube-overlay p {
        filter: drop-shadow(3px 3px 6px black);
    }
}