html {
    /* scroll-behavior: smooth; */
    text-size-adjust: 100%;
    /* 標準屬性 */
    -webkit-text-size-adjust: 100%;
    /* Safari/Chrome */
    -moz-text-size-adjust: 100%;
    /* Firefox Android */
    -ms-text-size-adjust: 100%;
    /* 舊 IE/Edge */
}
html,
body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    /* iOS、Android 禁止自動字體縮放 */
}
*{
    --heading-font-color: #333;
    --body-font-color: #7a7a7a;
    --bg-dark-1-rgb : 50 , 50 , 50;
}
:root {
  --primary-color: #7FAFC2;
  --primary-color-rgb: 128, 82, 49;
  --secondary-color: #4F7F94;
  --secondary-color-rgb: 128, 82, 49;
  --bg-color: #EAF4F7;
  --bg-color-1: #7FAFC2;
  --bg-color-2: #4F7F94;
  --bg-color-3: rgb(80, 80, 80);
}
.bg-color {
    background: var(--bg-color);
}
.bg-color-1 {
    background: var(--bg-color-1);
}
.bg-color-2 {
    background: var(--bg-color-2);
}
body {
    background: #fff;
}
h3 {
    font-size: 24px;
}
h4 {
    font-size: 22px;
}
p {
    color: #7a7a7a;
    font-size: 16px;
}
@media (min-width: 992px) {
    h3 {
        font-size: 26px;
    }
    h4 {
        font-size: 24px;
    }
    p {
        font-size: 18px;
    }
}
.line-clamp-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}
.line-clamp-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.line-clamp-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
/* 文章設定 */
.article_content img {
    width: 100% !important;
    height: auto !important;
    display: block;
}
.article_content iframe {
    width: 100% !important;
    height: 100% !important;
}
@media (min-width: 992px){
    .article_content img {
        max-width: 900px !important;
        max-height: 100% !important;
    }
    .article_content iframe {
        width: 100% !important;
        height: 100% !important;
    }
}
/* 懸浮按鈕 */
.scroll-icon {
    position: fixed;
    right: 20px;
    bottom: 125px;
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: block;
    border-radius: 50%;
    z-index: 9999;
}
.scroll-icon a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--bg-color-1);;
    border-radius: 50%;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    margin-bottom: 10px;
}
.scroll-icon a img {
    max-width: 20px;
}
#back-to-top {
    display: block;
}
#back-to-top:before {
    font-weight: 600;
}
#back-to-top.hide {
    bottom: -60px;
}
@media (min-width:768px) {
    .scroll-icon {
        bottom: 140px;
    }
    .scroll-icon ,#back-to-top{
        right: 30px;
        width: 45px;
        height: 45px;
    }
    .scroll-icon a {
        width: 45px;
        height: 45px;
        line-height: 45px;
    }
    #back-to-top {
        padding-top: 5px;
    }
}
/* 導覽列 */
header.header-mobile ,header.smaller  {
    background: #fff;
}
#menu-btn {
    color: #333;
}
header .logo-main {
    display: block;
    max-height: 80px;
}
header.smaller #mainmenu li a ,header.header-mobile #mainmenu li a {
    color: #333;
}
#mainmenu >li>a:hover , header.smaller #mainmenu li a:hover ,header.header-mobile #mainmenu li a:hover  {
    color: #7FAFC2;
}
#mainmenu >li.current>a , header.smaller #mainmenu li.current a ,header.header-mobile #mainmenu li.current a  {
    color: #7FAFC2;
    font-weight: 700;
}
@media (min-width: 1200px) {
    #mainmenu >li>a {
        font-size: 18px;
        font-weight: 500;
    }
}
@media (max-width: 991px) {
    header .logo-main {
        max-height: 60px;
    }
    header.header-mobile #mainmenu li a{
        width: 100%;
        font-size: 16px;
    }
}
/* 輪播大圖 */
.swiper {
    background: transparent;
}
.text-start h2{
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 10px;
}
#section-intro p {
    font-size: 18px;
    color: #fff;
}
.sm-hide .wow {
    font-size: 18px;
    font-weight: 500;
}
.sw-overlay{
    background: -webkit-linear-gradient(0deg,rgba(1, 1, 1, 0.1) 0%, rgba(1, 1, 1,1) 90%);
    background: -moz-linear-gradient(0deg,rgba(1, 1, 1, 0.1) 0%, rgba(1, 1, 1, 1) 90%);
    background: linear-gradient(0deg,rgba(1, 1, 1, 0.1) 0%, rgba(1, 1, 1, 1) 90%);
}
@media (min-width: 992px) {
    .text-start h2 {
        font-size: 35px;
        margin-bottom: 30px;
    }
    #section-intro p {
        font-size: 20px;
    }
}
.swiper-slide {
    background: #7FAFC2;
}
/* About Us */
.subtitle {
    color: #4F7F94;
    margin-bottom: 10px;
}
.subtitle ~ h3 {
    color: #333;
}
a.btn-main.fx-slide span {
    font-weight: 500;
    letter-spacing: 1px;
}
a.btn-main.fx-slide::before,a.btn-main:visited {
    font-weight: 500;
    letter-spacing: 1px;
    color: #fff;
}
a.btn-main, a.btn-main:active, a.btn-main:focus, a.btn-main:visited, .btn-main, input[type=button].btn-main, a.btn-line, #mainmenu li ul.mega a.btn-main {
    padding: 8px 30px;
}
@media (min-width: 992px) {
    .subtitle ~ p {
        font-size: 18px;
    }
    .abs a.btn-main {
        margin-right: 10px;
    }
    a.btn-main.fx-slide span ,a.btn-main.fx-slide::before,a.btn-main:visited  {
        font-size: 17px;
    }
    a.btn-main, a.btn-main:active, a.btn-main:focus, a.btn-main:visited, .btn-main, input[type=button].btn-main, a.btn-line, #mainmenu li ul.mega a.btn-main {
        padding: 10px 30px;
    }
}
/* counter */
.de_count {
    text-align: center;   
}
/* 精選設計作品 */
.hover:hover [class^=boximg] img {
    transform: translate(-50%,-50%) scale(1.2);
}
.gradient-edge-bottom {
    background: linear-gradient(0deg, rgba(1, 1, 1, 0.85) 0%, rgba(1,1,1, 0) 100%);
}
@media (min-width: 992px) {
    #services-carousel h3 {
        font-size: 22px;
    }
}
/* OUR SERVICES */
.dot-hover .abs {
    line-height: 50px;
}
/* 設計方法 */
.approachSec  .subtitle , .approachSec  .subtitle ~ h3 {
    color: #EAF4F7;
}
.approachSec p , .approachSec h6 {
    color: #fff;
}
.approachSec .de-step-arrow::after {
    content: none;
}
@media (min-width: 992px) {
    .approachSec p {
        padding: 0 10px;
    }
}
/* 裝修流程 */
.processSec i {
    color: #7FAFC2;
}
.processSec span {
    color: #EAF4F7;
}
.processSec h4 , .processSec p {
    color: #fff;
}
.processSec .btn-main span {
    color: #fff;
}
@media (min-width: 992px) {
    .processSec h4 {
        font-size: 22px;
    }
}
/* 先了解預算，再安心開始+常見問題 */
@media (min-width: 992px) {
    .accordion-section-title {
        font-size: 20px;
    }
    .accordion-section-content {
        font-size: 18px;
    }
}
/* 裝潢知識 */
.hover:hover h4 {
    color: #4F7F94;
    font-weight: 500;
}
/* cta */
@media (min-width: 992px) {
    .ctaSec {
        margin: 10px;
    } 
    .ctaSec .cta-btn{
        margin-top: 8%;
        margin-left: 5%;
        
    }
}
/* footer */
.footer-logo {
    text-align: center;
}
.footer-logo img {
    max-width: 150px;
}
.text-light a {
    color: #fff;
    transition: all 0.3s ease-in;
}
.text-light a:hover {
    color: #7FAFC2;
}
.widget h3 a {
    font-size: 20px;
    text-transform: none;
}
.widget ul li {
    margin: 8px 0;
}
@media (min-width: 992px) {
    .widget li a {
        font-size: 18px;
    }
    .widget .fs-16 {
        font-size: 18px;
    }
    .widget > h3 {
        font-size: 28px;
    }
    .widget h3 a  {
        font-size: 24px;
    }
    .footer-middle .widget {
        padding-left: 15px;
    }
}
/* breadcrumb */
.breadcrumbSec h2 {
    font-size: 34px;
    line-height: 1.3;
}
.text-light .crumb a{
    color: #fff;
    opacity: 1;
    font-size: 18px;
}
.text-light .crumb a:hover {
    color: #4F7F94;
}
.crumb li {
    font-weight: normal;
}
.breadcrumbSec .gradient-edge-bottom {
    z-index: -1;
    background: linear-gradient(0deg, rgba(1, 1, 1, 0) 10%, rgba(1, 1, 1, 0.6) 90%);
}
@media (max-width:991px) {
    .breadcrumbSec {
        top: 80px;
    }
    .breadcrumbSec h2 {
        font-size: 24px;
    }
    .innerPage-pt {
        padding-top: 150px;
    }
    .text-light .crumb a {
        font-size: 16px;
    }
}
/* 常見問題 */
.faqPage .container {
    max-width: 1000px;
}
/* 頁碼 */
.pagination {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: 60px auto 0;
    text-align: center;
    padding: 20px 0;
}
.pagination ul {
    display: inline-block;
    padding: 0;
    margin: 0;
}
.pagination li {
    display: inline;
}
.pagination a {
    margin: 0 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #303030;
    float: left;
    padding: 8px 10px;
    text-decoration: none;
    line-height: 1.4;
}
.pagination a.active {
    background-color: #7FAFC2;
    color: #fff;
    font-weight: 700;
}
.pagination li:hover a {
    background-color: #7FAFC2;
    color: #fff;
    font-weight: 700;
}
.pagination li:first-child:hover img {
    content: url(../img/icon/arrow-icon3.png);
}
.pagination li:last-child:hover img {
    content: url(../img/icon/arrow-icon1.png);
}
/* 裝潢知識/2026 室內裝潢一坪多少錢？完整預算解析 */
.blogdetailPage .row{
    justify-content: center;
}
.blogdetailPage h4 {
    margin-bottom: 0;
}
/* 費用說明 */

.price-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: 3px;
    color: #8b8175;
}

.price-header h2 {
    margin: 0 0 20px;
    font-size: 42px;
    font-weight: 500;
    color: #292724;
}

.price-header p {
    margin: 0;
    line-height: 1.9;
}
.price-table {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-top: 1px solid #D5E5EA;
}

.price-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-bottom: 1px solid #D5E5EA;
    border-right: 1px solid #D5E5EA;
}

.price-title {
    position: relative;
    padding: 45px 40px;
    background: #7FAFC2;
    border-right: 1px solid #D5E5EA;
}

.price-number {
    display: block;
    margin-bottom: 15px;
    font-size: 12px;
    letter-spacing: 2px;
    color: #fff;
}

.price-title h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
}


.price-content {
    padding: 40px 50px;
}

.price-content > p {
    margin: 0 0 12px;
    line-height: 1.8;
}

.price-content small {
    font-size: 15px;
    color: #84959C;
}

.price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 18px 0;
    border-bottom: 1px solid #E8F0F2;
}

.price-item:first-of-type {
    padding-top: 0;
}

.price-item:last-of-type {
    border-bottom: none;
}

.price-item span {
    font-size: 16px;
    color: #7A7A7A;
}

.price-item strong {
    font-size: 20px;
    font-weight: 500;
    color: #4F7F94;
    white-space: nowrap;
}

.price-description {
    margin-bottom: 25px !important;
    color: #7A7A7A !important;
}


.price-main {
    display: flex;
    align-items: baseline;
    gap: 15px;
    padding: 10px 0 25px;
}

.price-main span {
    font-size: 16px;
    color: #55514b;
}

.price-main strong {
    font-size: 20px;
    font-weight: 500;
    color: #4F7F94;
}

.price-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 18px;
    background: #EAF4F7;
}

.price-note i {
    margin-top: 5px;
    font-size: 13px;
    color: #4F7F94;
}

.price-note p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #526871;
}
.payment-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-left: 18px;
}

.payment-note i {
    font-size: 13px;
    color: #7FAFC2;
}

.payment-note p {
    margin: 0;
    font-size: 15px;
    color: #667A83;
}
@media (min-width: 992px) {

    .price-item span {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .price-header {
        margin-bottom: 40px;
    }
    .price-header h2 {
        font-size: 30px;
    }
    .price-header p br {
        display: none;
    }
    .price-row {
        display: block;
        border-right: none;
        border-bottom: none;
    }
    .price-title {
        padding: 25px 25px;
        border-right: none;
        border-bottom: 1px solid #D5E5EA;
    }
    .price-number {
        display: inline-block;
        margin: 0 12px 0 0;
    }
    .price-title h3 {
        display: inline-block;
        font-size: 19px;
    }
    .price-content {
        padding: 25px;
    }
    .price-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
    .price-item strong {
        font-size: 18px;
    }
    .price-main strong {
        font-size: 28px;
    }
}
/* 預約諮詢 */
.contactPage .col-md-12 {
    color: #4F7F94;
}
.contactPage .col-md-12 a {
    color: #333;
    transition: all 0.3s ease-in;
    text-transform: none;
}
.contactPage .col-md-12 a:hover {
    color: #4F7F94;
}
input.btn-main:hover {
    background: #4F7F94;
}
.captcha-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.captcha-box .captcha-container {
    flex-shrink: 0;
    /* 防止圖片被壓縮 */
}
.captcha-box .captcha-container .captcha-img {
    height: 40px;
}
/* 關於我們 */
.aboutPage img{
    width: 100%;
    max-width: 400px;
}
.aboutPage2 {
    padding: 150px 0;
}
.aboutPage2 h3 {
    margin-bottom: 15px;
}
.aboutPage2 p {
    color: #fff;
    margin-bottom: 5px;
    font-weight: 500;
}
.aboutPage2 .sw-overlay{
    background: -webkit-linear-gradient(0deg,rgba(1, 1, 1, 0.4) 0%, rgba(1, 1, 1,1) 100%);
    background: -moz-linear-gradient(0deg,rgba(1, 1, 1, 0.4) 0%, rgba(1, 1, 1, 1) 100%);
    background: linear-gradient(0deg,rgba(1, 1, 1, 0.4) 0%, rgba(1, 1, 1, 1) 100%);
}
@media (min-width: 992px) {
    .aboutPage1 {
        padding: 150px 0;
    }
    .aboutPage2 h3 {
        font-size: 30px;
    }
    .aboutPage2 p {
        font-size: 20px;
        margin-bottom: 8px;
    }
}
@media (max-width: 767px) {
    .aboutPage2 {
        padding: 80px 0;
    }
}