@charset "UTF-8";
@import "../bootstrap.css";
@import "../swiper-bundle.min.css";
@import "./../bootstrap-icons.min.css";
@import "../fancybox.css";
@import "../reset.css";

.main-header {
  position: relative;
  z-index: 999;
  background-color: #fff;
  position: sticky;
  top: 0;
  left: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .main-header {
    border-bottom: 6px solid #F5EDC6;
    outline: 4px solid #000;
  }
}

.main-header::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 80.833333%;
  height: 14px;
  background: #C0A325;
  clip-path: polygon(1% 0%, 100% 0%, 100% 100%, 0% 100%);
}

@media (max-width: 992px) {
  .main-header::after {
    display: none;
  }
}

.main-header::before {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 33.4375%;
  height: 14px;
  background: linear-gradient(90deg, #000 0%, #666 100%);
  clip-path: polygon(0% 0%, 100% 0%, 97% 100%, 0% 100%);
}

@media (max-width: 992px) {
  .main-header::before {
    display: none;
  }
}

.navbar {
  width: 77.291666%;
  margin: auto;
  position: relative;
  padding: 20px 0 30px;
}

@media (max-width: 1260px) {
  .navbar {
    width: 83%;
  }
}

.navbar-brand {
  width: 400px;
}

.navbar-brand img {
  width: 100%;
  vertical-align: middle;
}

.navbar-nav {
  gap: 1.875vw;
}

@media (max-width: 1260px) {
  .navbar-nav {
    gap: 1rem;
  }
}

@media (max-width: 992px) {
  .navbar-nav {
    padding-top: 48px;
    width: 88%;
    gap: 24px;
  }
}

/**** 導航動畫 ****/
.navbar-nav li > a {
  color: #333;
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 下划线 */
.navbar-nav li > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #C32145, #FF4081);
  transition: width 0.4s ease;
}

/* 悬停效果 */
.navbar-nav li:hover > a {
  color: #C32145;
}

.navbar-nav li:hover > a::after {
  width: 100%;
}

/* 添加图标动画 */
.navbar-nav li > a i {
  transition: transform 0.4s ease;
}

.navbar-nav li:hover > a i {
  transform: translateX(5px) rotate(90deg);
}

/****** 導航動畫結束 ****/

.navbar-nav li > a {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
}

@media (max-width: 1260px) {
  .navbar-nav li > a {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .navbar-nav li > a {
    font-size: 18px;
  }
}

.navbar-nav .nav-item .dropdown-toggle {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-item .dropdown-toggle::after {
  content: none;
}

.navbar-nav .nav-item > a {
  color: black;
  font-size: 1.139896vw;
  font-weight: 400;
  letter-spacing: 2.2px;
  padding: 0 0.84vw;
  margin-top: 0.5em;
}

.navbar-nav .nav-item > a:hover {
  color: #002a89;
}

.navbar-nav .nav-item .dropdown-menu {
  padding: 0;
  border-radius: 0;
  border: none;
  width: 208px;
}

.navbar-nav .nav-item .dropdown-menu > li {
  padding: 0.8em 1.2em;
}

.navbar-nav .nav-item .dropdown-menu > li:hover {
  background-color: #002a89;
}

.navbar-nav .nav-item .dropdown-menu > li:hover a {
  color: #fff;
}

.navbar-nav .nav-item .dropdown-menu > li > a {
  font-size: 1.042vw;
  font-weight: 400;
  letter-spacing: 0.1em;
  display: block;
  text-decoration: none;
  color: black;
}

@media (width < 992px) {
  .main-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
  }
  
  .navbar-brand {
    width: 254px;
    margin-left: 36px;
  }
  
  .navbar-brand img {
    width: 100%;
    vertical-align: middle;
  }
  
  .navbar {
    padding: 24px 0 25px;
    width: 93%;
  }
  
  .navbar-toggler {
    margin-right: 24px;
  }
  
  a.nav-link.top-navbar-item.dropdown-toggle.show {
    background-color: #002a89;
    color: #fff;
  }
}

@media (width < 400px) {
  .navbar-brand {
    width: 200px;
  }
}


.section-index-banner .swiper {
  width: 100%;
  height: 100%;
}

.section-index-banner .swiper-slide {
  position: relative;
}

.section-index-banner .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-index-banner .swiper-button-prev {
  left: 0px;
}

.section-index-banner .swiper-button-next {
  right: 0px;
}

.section-index-banner .swiper-button-prev,
.section-index-banner .swiper-button-next {
  width: 43px;
}

.section-index-banner .swiper-button-prev img,
.section-index-banner .swiper-button-next img {
  width: 100%;
  vertical-align: middle;
}

@media (max-width: 992px) {
  .section-index-banner .swiper-button-prev,
  .section-index-banner .swiper-button-next {
    width: 30px;
  }
}

.section-index-banner .swiper-button-next:after,
.section-index-banner .swiper-button-prev:after {
  content: none;
}

.section-index-banner .swiper-pagination {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.1em;
  font-style: italic;
  margin-bottom: 32px;
}

@media (max-width: 992px) {
  .section-index-banner .swiper-pagination {
    font-size: 20px;
    margin-bottom: 16px;
  }
}

.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background-color: #fff;
  opacity: 1;
  border-radius: 8px;
  transition: 0.2s;
}

@media (max-width: 992px) {
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

.swiper-pagination-bullet-active {
  background-color: #C3A521;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 8px;
}

.indexSwiper-text {
  position: absolute;
  top: 43%;
  left: 15.833333%;
}

@media (max-width: 992px) {
  .indexSwiper-text {
    width: 83%;
    top: 22%;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
  }
}

.indexSwiper-text h2 {
  font-size: 2.5vw;
  font-weight: 500;
  color: #fff;
  margin-bottom: 42px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .indexSwiper-text h2 {
    font-size: 24px;
    margin-bottom: 0.8rem;
  }
}

.indexSwiper-text h3 {
  font-size: 1.66666vw;
  font-weight: 600;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


@media (max-width: 992px) {
  .indexSwiper-text h3 {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  .swiper-button-next:after,
  .swiper-button-prev:after {
    display: none;
  }
}


body {
  font-family: "Noto Sans TC", "Hind Guntur", sans-serif;
  line-height: 1.5;
  overflow-x:hidden;
}

/* hb.icon */
.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #000;
  position: absolute;
  height: 3px;
  width: 23.73px;
  border-radius: 3px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-button::before {
  content: "";
  margin-top: -8px;
}

.menu-button::after {
  content: "";
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(45deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-45deg);
}

/* FOR漢堡圖示show/hide */
@media (max-width: 992px) {
  .menu-button-container {
    display: flex;
  }
}

/* bs漢堡相關設定 */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.hb-btn-container {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 3px solid #C3A521;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.scroll-top { position: fixed;top: 80vh;right: 3.33333vw; width: 60px;z-index: 999999; cursor: pointer; }
@media (max-width: 992px) { .scroll-top { width: 50px; right: 2rem;}}
@media (max-width: 500px) {.scroll-top {  display: none;}.scroll-top img { width: 100%; vertical-align: middle;}
}

/* 底部设计 */
/* 底部设计 */
.main-footer {
    background: linear-gradient(135deg, #2C2416 0%, #3C2F1E 100%);
    color: #fff;
    padding: 70px 0 25px; /* 减小底部padding */
    position: relative;
    overflow: hidden;
    font-family: 'Noto Sans TC', sans-serif;
}

/* 容器 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 金色装饰线 */
.footer-decorative-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #C3A521 20%, 
        #E8C64A 50%, 
        #C3A521 80%, 
        transparent 100%);
}

/* 公司理念部分优化 */
.company-philosophy {
    margin-bottom: 60px;
    text-align: center;
}

.philosophy-title {
    font-size: 2rem;
    color: #E8C64A;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.philosophy-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #C3A521;
    border-radius: 2px;
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.philosophy-item {
    padding: 35px 25px;
    background: rgba(195, 165, 33, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(195, 165, 33, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E8C64A, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.philosophy-item:hover {
    transform: translateY(-8px);
    border-color: #C3A521;
    background: rgba(195, 165, 33, 0.08);
    box-shadow: 0 10px 30px rgba(195, 165, 33, 0.1);
}

.philosophy-item:hover::before {
    transform: translateX(100%);
}

.philosophy-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #E8C64A;
    opacity: 0.9;
}

.philosophy-item h3 {
    font-size: 1.4rem;
    color: #E8C521;
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.3;
}

.philosophy-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* 联系信息与社交媒体整合 */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.contact-section {
    text-align: left;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(195, 165, 33, 0.15), rgba(232, 198, 74, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #E8C64A;
    font-size: 1.4rem;
    border: 1px solid rgba(195, 165, 33, 0.2);
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: #E8C64A;
    margin-bottom: 8px;
    font-weight: 400;
    letter-spacing: 1px;
}

.contact-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.contact-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #E8C64A;
}

.fax {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

/* 社交媒体部分优化 */
.social-section {
    text-align: center;
    padding: 20px;
    background: rgba(195, 165, 33, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(195, 165, 33, 0.1);
}

.social-title {
    font-size: 1.5rem;
    color: #E8C64A;
    margin-bottom: 25px;
    font-weight: 300;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 10px 5px 10px;
    background: rgba(195, 165, 33, 0.08);
    border-radius: 10px;
    color: #E8C64A;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(195, 165, 33, 0.15);
}

.social-icon:hover {
    background: #C3A521;
    color: #2C2416;
    transform: translateY(-5px);
    border-color: #C3A521;
    box-shadow: 0 5px 20px rgba(195, 165, 33, 0.3);
}

.social-text {
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 300;
    opacity: 0.9;
}



.business-hours {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(195, 165, 33, 0.1);
}

/* 版权信息优化 */
.copyright-section {
    text-align: center;
    border-top: 1px solid rgba(195, 165, 33, 0.15);
    padding-top:20px;
}

.copyright-divider {
    position: relative;
    margin: 0 -20px 25px -20px; /* 负边距使其超出容器 */
    height: 1px;
    background: rgba(195, 165, 33, 0.2);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    padding: 10px 0;
}

/* 背景装饰元素 */
.footer-bg-element {
    position: absolute;
    opacity: 0.02;
    z-index: 0;
}

.bg-circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #C3A521, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.bg-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #C3A521, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

/* 响应式设计优化 */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .social-icons {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 50px 0 20px; /* 响应式中也减小padding */
    }
    
    .philosophy-title {
        font-size: 1.6rem;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .philosophy-item {
        padding: 25px 20px;
    }
    
    .social-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .copyright-divider {
        margin: 0 -15px 20px -15px;
    }
}

@media (max-width: 480px) {
    .philosophy-title {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .contact-text h4 {
        font-size: 1.1rem;
    }
    
    .social-icon {
        min-height: 80px;
        padding: 12px;
    }
    
    .social-symbol {
        font-size: 1.5rem;
    }
    
    .copyright-text {
        font-size: 0.8rem;
    }
    
    .copyright-divider {
        margin: 0 -10px 20px -10px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-philosophy,
.footer-content,
.copyright-section {
    animation: fadeInUp 0.6s ease forwards;
}

.company-philosophy {
    animation-delay: 0.1s;
}

.footer-content {
    animation-delay: 0.2s;
}

.copyright-section {
    animation-delay: 0.3s;
}

.contact-icon i {
    font-size: 1.4rem; /* 调整图标大小 */
}

.social-icon i {
    font-size: 1.8rem;
}

/************************************************** 關于我們 ***************************/
      
        .page-container {
            max-width: 1200px;
            width: 96%;
            margin:0 auto;
        }
        
        .indexabout{padding-top:80px;padding-bottom:80px;}
        .page-title01 {
            text-align: center;
            padding-bottom: 80px;
            position: relative;
        }
        
        .page-title01 h1 {
            font-size: 3.2rem;
            color: #2c3e50;
            font-weight: 300;
            letter-spacing: 3px;
            position: relative;
            display: inline-block;
        }
        
        .page-title01 h1:after {
            content: '';
            position: absolute;
            width: 100%;
            height: 1px;
            background-color: #e0e0e0;
            bottom: -15px;
            left: 0;
        }
        
        .page-title01 h1 span {
            font-weight: 600;
            color: #C3A521;
        }
        
        .about-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
        }
        
        .image-section {
            flex: 1;
            min-width: 280px;
            height: 600px;
            background-size: cover;
            background-position: center;
            position: relative;
            overflow: hidden;
            border-radius: 2px;
            width:100%;
        }

        
        
        .image-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 30%);
        }
        
        .image-section:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 40%;
            background: linear-gradient(to top, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
        }
        
        .text-section {
            flex: 1;
            min-width: 280px;
            padding-left: 80px;
            padding-right: 20px;
        }
        
        .text-section p {
            margin-bottom: 40px;
            font-size: 1.25rem;
            color: #5a5a5a;
            font-weight: 300;
            letter-spacing: 0.5px;
            position: relative;
        }
        
        .text-section p:first-child {
            font-size: 1.4rem;
            line-height: 1.8;
            color: #444;
            margin-bottom: 60px;
        }
        
        .text-section p:first-child:before {
            content: '"';
            position: absolute;
            top: -25px;
            left: -15px;
            font-size: 5rem;
            color: rgba(140, 120, 81, 0.15);
            font-family: Georgia, serif;
            line-height: 1;
        }
        
        .text-section p:last-child {
            padding-left: 20px;
            border-left: 2px solid #e8e2d6;
        }
        
        /* 查看更多按鈕樣式 */
        .more-button-container {
            margin-top: 50px;
            display: flex;
            justify-content: flex-start;
        }
        
        .more-button {
            display: inline-flex;
            align-items: center;
            background: transparent;
            color: #C3A521;
            border: 1px solid #C3A521;
            padding: 14px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            letter-spacing: 1px;
            font-size: 1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .more-button:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: all 0.5s ease;
        }
        
        .more-button:hover {
            background-color: #f8f6f2;
            border-color: #C3A521;
            padding-right: 40px;
            padding-left: 40px;
        }
        
        .more-button:hover:before {
            left: 100%;
        }
        
        .more-button .arrow {
            margin-left: 10px;
            transition: transform 0.3s ease;
        }
        
        .more-button:hover .arrow {
            transform: translateX(5px);
        }

        
    
        
        /* 回應式設計 */
        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
            }
            
            .image-section img{
                height: 400px;
                display: block;
                margin:0 auto;
                margin-bottom: 60px;
            }
            
            .text-section {
                padding-left: 20px;
                padding-right: 20px;
            }
            
            .page-title01 h1 {
                font-size: 2.5rem;
            }

              .page-title01 {
            padding-bottom: 40px;
        }

            .indexabout{padding-top:40px;padding-bottom:40px;}

              /* 查看更多按鈕樣式 */
        .more-button-container {
            margin-top: 0px;
        
        }
                .text-section p:first-child {
           
            margin-bottom: 30px;
        }
        }
        
        @media (max-width: 576px) {
            .page-title01 h1 {
                font-size: 2rem;
            }
            
            .image-section img{
              width:100%;
              height:auto;

            }
            
            .text-section p {
                font-size: 1.1rem;
            }
            
            .text-section p:first-child {
                font-size: 1.2rem;
            }
            
            .more-button {
                padding: 12px 25px;
                font-size: 0.95rem;
            }
            
         
        }
        
        /* 淡入動畫 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .image-section, .text-section {
            animation: fadeIn 1.2s ease-out;
        }
        
        /* 文字段落出現動畫 */
        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .text-section p, .more-button-container {
            animation: slideUp 0.8s ease-out forwards;
            opacity: 0;
        }
        
        .text-section p:first-child {
            animation-delay: 0.3s;
        }
        
        .text-section p:last-child {
            animation-delay: 0.6s;
        }
        
        .more-button-container {
            animation-delay: 0.9s;
        }
        


        .index-portfolio {
  padding: 136px 0;
 background: #f9f7f2;;
}
@media (max-width: 992px) {
  .index-portfolio {
    padding: 60px 0 130px;
  }
}
.index-portfolio .index-portfolio-main {
  width: 57.8125%;
  margin: auto;
}
@media (max-width: 992px) {
  .index-portfolio .index-portfolio-main {
    width: 83%;
  }
}
.index-portfolio .index-portfolio-main h2 {
  font-size: 48px;
  font-weight: 600;
  font-family: "Noto Serif TC", sans-serif;
  text-align: center;
  color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 992px) {
  .index-portfolio .index-portfolio-main h2 {
    font-size: 28px;
  }
}
.index-portfolio .index-portfolio-main h2::after {
  content: "";
  display: flex;
  width: 100px;
  border-top: 8px solid #C0A424;
  margin-top: 2rem;
  margin-bottom: 80px;
}
@media (max-width: 992px) {
  .index-portfolio .index-portfolio-main h2::after {
    width: 60px;
    border-top: 8px solid #C0A424;
    margin-top: 1rem;
    margin-bottom: 30px;
  }
}
.index-portfolio .index-portfolio-main .swiper-button-prev:after,
.index-portfolio .index-portfolio-main .swiper-rtl .swiper-button-next:after,
.index-portfolio .index-portfolio-main .swiper-button-next:after,
.index-portfolio .index-portfolio-main .swiper-rtl .swiper-button-prev:after {
  content: "";
}
.index-portfolio .index-portfolio-main .swiper-button-next,
.index-portfolio .index-portfolio-main .swiper-button-prev {
  display: block;
  width: 55px;
  color: #000000;
}
.index-portfolio .index-portfolio-main .swiper-button-next:hover,
.index-portfolio .index-portfolio-main .swiper-button-prev:hover {
  color: #000;
  opacity: 1;
}
.index-portfolio .index-portfolio-main .swiper-button-next {
  right: 0;
  left: auto;
  transform: translateX(calc(100% + 40px));
}
@media (max-width: 992px) {
  .index-portfolio .index-portfolio-main .swiper-button-next {
    top: 105%;
    right: 50%;
    left: auto;
    transform: translateX(100%);
  }
}
.index-portfolio .index-portfolio-main .swiper-button-prev {
  left: 0;
  right: auto;
  transform: translateX(calc(-100% - 40px));
}
@media (max-width: 992px) {
  .index-portfolio .index-portfolio-main .swiper-button-prev {
    top: 105%;
    left: 50%;
    transform: translateX(-100%);
  }
}

@media (max-width:600px) {
  .index-portfolio .index-portfolio-main .swiper-button-prev {
    top: 108%;
    left: 50%;
    transform: translateX(-100%);
  }
    .index-portfolio .index-portfolio-main .swiper-button-next {
    top: 108%;
    right: 50%;
    left: auto;
    transform: translateX(100%);
  }
}
@media (max-width:370px) {
  .index-portfolio .index-portfolio-main .swiper-button-prev {
    top: 105%;
    left: 50%;
    transform: translateX(-100%);
  }
    .index-portfolio .index-portfolio-main .swiper-button-next {
    top: 105%;
    right: 50%;
    left: auto;
    transform: translateX(100%);
  }
}

.index-portfolio-item {
  text-decoration: none;
  background-color: #fff;
}
.index-portfolio-item:hover .index-portfolio-pic img {
  scale: 1.2;
}
.index-portfolio-item .index-portfolio-pic {
  width: 100%;
  aspect-ratio: 543/400;
  overflow: hidden;
}
.index-portfolio-item .index-portfolio-pic img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: middle;
  scale: 1;
  transition: 0.2s ease-in-out;
}
.index-portfolio-item .index-portfolio-content {
  padding: 2rem;
  width: 100%;
}
.index-portfolio-item .index-portfolio-content p {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #5b5b5b;
}
.index-portfolio-item .index-portfolio-title {
  padding-bottom: 24px;
  margin-bottom: 24px;
  position: relative;
  border-bottom: 1px solid #cccccc;
}
.index-portfolio-item .index-portfolio-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: #C0A424;
  transform: translateY(1px);
}
.index-portfolio-item .index-portfolio-title h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #000000;
  font-family: "Noto Serif TC", sans-serif;
}

.index-portfolio-content-tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 24px;
  gap: 8px;
}
.index-portfolio-content-tag span {
  font-size: 16px;
  font-weight: 600;
  background-color: #C0A424;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
}



.page-header{background:linear-gradient(rgba(255,255,255,.9),rgba(255,255,255,.8)),url('/web/images/header_bg.jpg');background-size:cover;background-position:center;padding:100px 20px;text-align:center;margin-bottom:40px}

.page-title{font-size:3rem;color:#2c2416;margin-bottom:15px;font-weight:300}

.page-subtitle{font-size:1.2rem;color:#666;max-width:700px;margin:0 auto}

@media (max-width:768px){.page-title{font-size:2.2rem}}

@media (max-width:480px){page-header{padding:70px 20px}}

.animated-arrow{color:#000}
.page-base-pagination-main {
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
  padding-top: 80px;
}
.page-base-pagination-main ul {
  margin: 0 2.91666667vw;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}
@media (max-width: 992px) {
  .page-base-pagination-main ul {
    gap: 1rem;
  }
}
.page-base-pagination-main ul li a {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-family: "Lato", sans-serif;
  text-decoration: none;
  color: #000000;
}

@media (max-width: 992px) {
  .page-base-pagination-main ul li a {
    font-size: 16px;
  }
  &.active {
          background-color: #C0A424;
          color: white;
          font-weight: 600;
          box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
        }
}

.page-base-pagination-arrow {
  font-size: 14px;
  border: none;
  background-color: transparent;
}

.subpadding{padding-top:60px;padding-bottom:60px;}

@media (max-width: 768px) {
.subpadding{padding-top:10px;padding-bottom:20px;}}