@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&display=swap');
@charset "UTF-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
font-family: '微軟正黑體','Microsoft JhengHei', sans-serif!important;
}
body.has-navbar-fixed-top, html.has-navbar-fixed-top {padding-top: 66px;}
body {line-height: 1.75;}
.navbar.is-fixed-top {padding: 0 1%;}
h1 {font-size: 4.5dvw;line-height: 1.4;margin-bottom: 1dvw;}
.content .section h2 {font-size: clamp(26px, 3.33vw, 42px);letter-spacing: .024em;line-height: 1.5;}
.content .section h3 {font-size: clamp(18px, 2.33vw, 24px);letter-spacing: .024em;line-height: 1.5;}
.container p {font-size: clamp(1em, 1.11vw, 28px); margin-bottom: clamp(13.67px, 1.67vw, 42.67px);}
.navbar-dropdown {border-top: none;}
.navbar-dropdown .navbar-item {white-space: normal;}
body, .content h1, .content h2, .content h3, .content h4, .content h5, .content h6, a {color: #0A0A0A;}
span, h1, h2, h3, h4, h5, h6, p, a {word-break: break-word;}
.content ol ol {
padding-left: 2em;
margin-bottom: 1em;
}
.content ul li, .content ol li {margin-left: 1.5em;}
.content .breadcrumb ul li, .content .page-numbers li, .content .hero-carousel li {margin-left: inherit;}
.breadcrumb li {align-items: self-start;}
a:hover, .navbar-link.is-active, .navbar-link:focus, .navbar-link:focus-within, .navbar-link:hover, a.navbar-item.is-active, a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover {color: #F75748;}
.navbar-link:not(.is-arrowless)::after {border-color: #4a4a4a;}
.navbar-dropdown.navbar-dropdown-service, .navbar-dropdown.navbar-dropdown-info {width: 11em;}
.navbar-dropdown a.navbar-item {padding-right: 1rem;}
.has-text-grey {color: #4a4a4a!important;}
a.has-text-grey:hover, a.has-text-black:hover {color: #F75748!important;}
.has-background-grey {background-color: #f5f5f5!important;}
.has-background-grey-light {background-color: #fafafa!important;}
.has-background-transparent {background-color: transparent!important;}
.has-text-success {color: #0F9D58!important;}
.has-text-danger {color: #F75748!important;}
.breadcrumb {white-space: normal;font-size: 12px;}
.control.select.is-fullwidth {height: initial;}
a.hover-line:hover{text-decoration: underline;}
.content figure.has-border, .has-border-line {
border: 1px solid rgb(219, 219, 219)!important;
line-height: 0;
}
.anchor {
display: block;
margin-top: -60px;
padding-top: 60px;
}
.button {
background-color: #F75748;
border-color: #cf483c;
color: #ffffff;
white-space: normal;
height: auto;    
}
.button.is-hovered, .button:hover, .button.is-active, .button:active, .button.is-focused, .button:focus {
border-color: #cf483c;
color: #ffffff;
background-color: #e04e41;
}
.button.is-primary.is-outlined {
background-color: #FEF1F0;
border-color: #FECCC6;
color: #F75748;
}
.button.is-primary.is-outlined.is-focused, .button.is-primary.is-outlined.is-hovered, .button.is-primary.is-outlined:focus, .button.is-primary.is-outlined:hover {
background-color: #FEE4E2;
border-color: #FECCC6;
color: #F75748;
}
.button.is-focused:not(:active), .button:focus:not(:active), .button.is-primary.is-focused:not(:active), .button.is-primary:focus:not(:active) {box-shadow:none;}
.icon.icon-right {
position: absolute;
right: 1.5rem;
top: 50%;
transform: translateY(-50%);
}
.icon.icon-right.right-0 {
right: 0;
}
.content:not(:last-child) {margin-bottom: 0;}
.content table.vertical-align-m td, .content table.vertical-align-m th {vertical-align: middle;}

/*sharebtn*/
.post-share-btn {padding: 8px 0 80px;}
.post-share-btn > div, .post-share-btn > iframe {
display: inline-block;
vertical-align: top;
line-height: 0;
margin-right: .5rem;
}
.post-share-btn > div {max-width: 76px;}
/*form*/
.wpcf7-form-control-wrap.number {
width: 100%;
padding: 0;
}
/*slider*/
.portfolio .portfolio-item {padding: 5px;}
.portfolio .portfolio-item .thumb {position: relative;}
#portfolio-carousel .portfolio-item img {
display: block;
width: 100%;
height: auto;
}
.portfolio-hover {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: 0;
-webkit-transition: all .3s;
transition: all .3s;
opacity: 0;
border: 20px solid rgba(0, 0, 0, .1);
background-color: rgba(255, 255, 255, .9);
}
.portfolio-item:hover .portfolio-hover, .portfolio-item:hover .portfolio-hover .portfolio-description, .portfolio-item:hover .portfolio-hover .action-btn {opacity: 1;}
.portfolio-hover .action-btn {
position: absolute;
top: 0;
width: 100%;
-webkit-transition: all .3s;
transition: all .3s;
-webkit-transform: translateY(45%);
-ms-transform: translateY(45%);
transform: translateY(45%);
text-align: center;
opacity: 0;
font-size: 35px;
}
.portfolio-item:hover .portfolio-hover .action-btn {
top: 50%;
margin-top: -45px;
}
#portfolio-carousel.owl-theme .owl-controls {
position: absolute;
top: -80px;
right: 0;
text-align: center;
}
#portfolio-carousel.owl-theme .owl-controls .owl-buttons div, #portfolio-carousel-alt.owl-theme .owl-controls .owl-buttons div {
padding: 11px 16px;
border-radius: 0;
background: #e5e5e5;
}
#portfolio-carousel.owl-theme .owl-controls .owl-buttons div i, #portfolio-carousel-alt.owl-theme .owl-controls .owl-buttons div i {
color: #000;
font-size: 1rem;
}
/*footer*/
footer {
    padding: 1em 0;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer-copy {
    font-size: clamp(6.83px, 0.83vw, 21.33px);
    font-weight: 500;
    letter-spacing: .032em;
    color: #fff;
}
footer a {color: #fff;}
footer ul {
    display: flex;
    flex-direction: column;
    row-gap: clamp(13.67px, 1.67vw, 42.67px);    
}
footer .columns {width: 100%;}
footer .ft-contact-link a {
    font-weight: bold;
    color: #fff;
    font-size: clamp(27.33px, 3.33vw, 85.33px);
    line-height: 1;
    letter-spacing: .042em;
    position: relative;
    display: inline-block;
    z-index: 1;
    padding-bottom: clamp(4.56px, 0.56vw, 14.22px);
    overflow: hidden;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 5%;
}
footer .ft-contact-link a:before, footer .ft-contact-link a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: " ";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
}
footer .ft-contact-link a:before {transform: translate(0);}
footer .ft-contact-link a:after {transform: translate(-100%)}
footer .ft-contact-link a:hover:before {
    transition: .3s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translate(100%)
}
footer .ft-contact-link a:hover:after {
    transition: .3s cubic-bezier(0.77, 0, 0.175, 1) .3s;
    transform: translate(0)
}

/*casestudy*/
.casestudy-dropdown .dropdown-menu {width: 100%;}
.casestudy-dropdown a.dropdown-item {padding-right: 1rem;}
h3.has-underline:after {
content: "";
border-bottom: 1px solid #dbdbdb;
height: 1px;
width: 100%;
display: block;
margin-top: 10px;
}
#sidebar-banner.sfixed {
position: fixed;
top: 80px;
z-index: 10;   
}
.casestudy-dropdown button, .casestudy-dropdown .button.is-hovered, .casestudy-dropdown .button:hover, .casestudy-dropdown .button.is-active, .casestudy-dropdown .button:active, .casestudy-dropdown .button.is-focused, .casestudy-dropdown .button:focus, .news-button a.button, .news-button a.button:hover {
width: 200px;
background-color: initial;
border-color: initial;
color: initial;
}

/*pagination*/
.pagination h2 {display: none;}
a.page-numbers, .page-numbers.current,  .next.page-numbers, .prev.page-numbers {
margin-bottom: 0;
margin-top: 0;
font-size: 1em;
justify-content: center;
margin: .25rem;
padding-left: .5em;
padding-right: .5em;
text-align: center;
-moz-appearance: none;
-webkit-appearance: none;
align-items: center;
border: 1px solid #dbdbdb;
border-radius: .375em;
display: inline-flex;
height: 2.5em;
padding-bottom: calc(.5em - 1px);
padding-top: calc(.5em - 1px);
position: relative;
vertical-align: top;    
}
.content ul.page-numbers, .pagination .nav-links {
flex-grow: 1;
flex-shrink: 1;
align-items: center;
display: flex;
text-align: center;
justify-content: center;
order: 2;
flex-wrap: wrap;
margin-top: inherit;
margin-left: inherit;    
}
.content ul.page-numbers, .page-numbers li {list-style: none;}
.page-numbers li a, .page-numbers.current {
border-color: #dbdbdb;
color: #363636;
min-width: 2.5em;
}
.page-numbers li a:hover, .pagination-next:hover, .pagination-previous:hover, a.page-numbers:hover {
border-color: #b5b5b5;
color: #363636;
}
.next.page-numbers, .prev.page-numbers {
padding-left: .75em;
padding-right: .75em;
white-space: nowrap;
}
.pagination.is-centered .next.page-numbers {order: 3;}
.pagination.is-centered .prev.page-numbers {order: 1;}
.page-numbers.current {
background-color: #f75748;
border-color: #f75748;
color: #fff;
}
.page-numbers.current, .next.page-numbers:active, .prev.page-numbers:active {
box-shadow: inset 0 1px 2px rgb(10 10 10 / 20%);
} 

/*recruit*/
.recruit-fix {min-height:100vh;}
.recruit-fix div.maxheight-2 {position: relative;padding-bottom: 4rem!important;}
.recruit-fix div.maxheight-2 a.more-link {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
}
.recruit-fix a.more-link {text-decoration: underline;}

@media screen and (max-width: 991px) {
.contact .box-with-border h3 {font-size: 18px;}
}

/*20220706 fix-contact*/
.quick-contact {
    right: 2em;
    position: fixed;
    bottom: 2em;   
}
.quick-contact .click-icon {
    background-color: #F75748;
    border-radius: 50%;
    color: #fff;
    font-size: 2em;
    box-sizing: content-box;
    padding: 8px;
    cursor: pointer;
}
.quick-contact .click-icon span {
    position: relative;
    z-index: 1;
    line-height: 0;
}
.quick-contact .click-icon::after {
    -webkit-animation: shadow-drop-2-center 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2s infinite both;
    animation: shadow-drop-2-center 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2s infinite both;
    background-color: #F75748;
    content:"";
    display: block;
    position: absolute;
    border-radius: 50%;
    height: 3rem;
    width: 3rem;
}
.quick-contact .click-icon i {
    position: relative;
    z-index: 1;
}
.quick-contact-form {
    position: fixed;
    text-align: center;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    top: 0;
    bottom: 0;
    min-height: 100vh;
    background-color: #d1d1d1ad;
}
.quick-contact-form .columns {min-height: 100vh;}
.quick-contact-form .column {
    text-align: center;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2%;
    position: relative;
    max-width: 500px;
    min-height: 528px;
    width: 100%;
}
.quick-contact-form span.closebtn {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1005;
    line-height: 1;
}
.quick-iframe-content .tabs li i {font-size: 1.5em;}
.quick-iframe-content .tabs li a {
    text-align: center;
    flex-direction: column;
}
.quick-iframe-content .tabs li.is-active a {color: #000000;}
.form-iframe label, .form-iframe input, .form-iframe a, .form-iframe .wpcf7-not-valid-tip, .form-iframe .button, .form-iframe .textarea {font-size: 14px;}
.form-iframe div.wpcf7 .wpcf7-spinner {
    display: inline-block;
    margin: 0 0 0 10px;
    position: absolute;
}
input[type=checkbox], .fieldset-cf7mls .downloadpdf input[type="checkbox"] {
    cursor: pointer;
    position: relative;
    -webkit-appearance: none;
    background-color: #fff;
    color: #363636;
    display: inline-block;
    font-size: 12px;
    border: 1px solid #000;
    border-radius: 2px;
    width: 1em;
    height: 1em; 
}
input[type=checkbox]:checked:after {
    content: "\2228";
    position: absolute;
    top: -10px;
    font-size: 1.5em;
}
.form-iframe div.wpcf7 .wpcf7-spinner::after {display: none;}
.form-iframe .control {flex-grow: 1;}
.grecaptcha-badge {visibility: hidden;}

@media screen and (max-width: 466px) {
  .quick-iframe-content .tabs a {padding: 0.75em 0.25em;}
  .quick-contact-form .column {min-height: 500px;}
  .form-iframe .has-text-weight-bold.is-size-5 {font-size: 1.1rem!important;}  
}
.quick-contact-form iframe, .form-iframe {width: 100%; height: 100%; min-height: 475px;} 
.privacy .wpcf7-list-item {margin-left:0;}
.field-body>.field {flex: 1;}
.privacy-fontsize {font-size:13px;}

/*form update 20220922*/
.button[disabled] {
    background-color: #F75748;
    border-color: #F75748;
}

@media only screen and (max-width: 767px) {
.downloadpdf span.wpcf7-list-item {margin-bottom: 2em;}
}
.select-arrow::after {
    border: 3px solid transparent;
    border-radius: 2px;
    border-right: 0;
    border-top: 0;
    content: " ";
    display: block;
    height: 0.625em;
    margin-top: -0.4375em;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: rotate(-45deg);
    transform-origin: center;
    width: 0.625em;
    border-color: #363636;
    right: 1.125em;
    z-index: 4;
}
.select-arrow select{padding-right: 3em;}

/*API*/
.content .api-eyecatch h1 {font-size: 4.5dvw; line-height: 1.3;}
.content .api-eyecatch p {font-size: 1.48dvw; line-height: 1.5;}
.circle-frame {
    border-radius: 50%;
    width: 220px;
    height: 220px;
    margin: auto;
    text-align: center;
    box-shadow: 0 .5em 1em -.125em rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#accordion_first {max-width: 640px;margin: auto;}
#accordion_first .message-header:after {
    border: 3px solid transparent;
    border-radius: 2px;
    border-right: 0;
    border-top: 0;
    content: " ";
    display: block;
    height: 0.625em;
    border-color: #fff;
    margin-top: -0.375em;
    right: 1.125em;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: rotate(-45deg);
    transform-origin: center;
    width: 0.625em;
}
#accordion_first p {width: 100%; margin-bottom: 0;}
#accordion_first .message-header a {text-decoration:none; display:block;padding: 0.75em 1em;}
#accordion_first .is-collapsible {
  height: 0;
  overflow-y: hidden;
  transition: height 0.2s ease;
}
#accordion_first .is-collapsible.is-active {transition: height 0.2s ease;}
#accordion_first .is-collapsible.message-body {padding: 0 !important;}
#accordion_first .is-collapsible.message-body .message-body-content {padding: 1.25em 1.5em;}

/*subpage*/
.content {line-height: 2;}
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {line-height: 1.75;}
.breadcrumb li+li::before {color: #0A0A0A;}
.is-underlined {
    text-decoration: none !important;
    border-bottom: 1px solid #0A0A0A;
    padding-bottom: 0.2em;
}

@media only screen and (min-width: 1025px) and (max-width: 1407px) {
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {

}

@media only screen and (max-width: 768px) {
    .content .api-eyecatch h1 {
        font-size: 9dvw;
        text-align: center;
        line-height: 1.2;
        margin-bottom: 25px;
        letter-spacing: 2px;
    }
    .content .api-eyecatch p {font-size: 4dvw;text-align: center;}
    .content .api-eyecatch p br {display: none;}
    .columns.mobile-scroll {
        display: flex;
        overflow-x: auto; /* 啟用橫向滾動 */
        flex-wrap: nowrap;
        gap: 16px; /* 卡片之間的間距 */
        padding-left: 16px; /* 左側內距，避免內容貼邊 */
        padding-right: 16px; /* 右側內距，避免內容貼邊 */
        scroll-snap-type: x mandatory; /* 滾動時每張卡片吸附在視窗中央 */
        justify-content: initial!important;
        margin-top:20px;
        align-items: stretch;
    }
    .columns.mobile-scroll+p {margin-top:30px;}
    .columns.mobile-scroll .column {
        width: 80vw; /* 每張卡片的寬度 */
        flex: 0 0 auto;
        scroll-snap-align: start; /* 滾動時對齊起始位置 */
        background-color: #fff;
        border-radius: 8px; /* 圓角 */
        box-shadow: inset 0 0 0 2px #dbdbdb; 
        padding: 16px; /* 增加內距 */
    }
    .columns.mobile-scroll.circle-frame-fix .column {padding: 5px;}
    .columns.mobile-scroll .column .circle-frame {
        border-radius: initial;
        width: 100%;
        height: 100%;
        text-align: center;
        box-shadow: none;        
    }

    /* 隱藏水平滾動條（選用） */
    .columns.mobile-scroll::-webkit-scrollbar, .vertexai-lp .wp-gr .grw-row-xs {
        display: none!important;
    }    
}