html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@font-face {
    font-family: 'Gensen';
    src: url(../fonts/GenSenRoundedTW-R.ttf) format('truetype');
    src: url(../fonts/GenSenRoundedTW-R.woff) format('woff');
    src: url(../fonts/GenSenRoundedTW-R.eot) format('embedded-opentype');
}

@font-face {
    font-family: 'Gensen L';
    src: url(../fonts/GenSenRoundedTW-L.ttf) format('truetype');
    src: url(../fonts/GenSenRoundedTW-L.woff) format('woff');
    src: url(../fonts/GenSenRoundedTW-L.eot) format('embedded-opentype');
}

@font-face {
    font-family: 'Gensen EL';
    src: url(../fonts/GenSenRoundedTW-EL.ttf) format('truetype');
    src: url(../fonts/GenSenRoundedTW-EL.woff) format('woff');
    src: url(../fonts/GenSenRoundedTW-EL.eot) format('embedded-opentype');
}

body {
    padding-right: 0px !important;
    font-size: 16px;
    font-family: "Montserrat", "微軟正黑體", "Microsoft JhengHei", sans-serif !important;
    letter-spacing: 1.5px;
    position: relative;
    min-height: 100vh;
}

/* ---- icon set ---- */
.material-symbols-sharp {
    font-variation-settings:
        'FILL'0,
        'wght'200,
        'GRAD'0,
        'opsz'20
}

/* ---- icon set end ---- */

/* ---- color root ---- */

:root {
    --main-color: #333;
    --vice-color: #dddddd;
    --red-color: #f74747;
}

/* ---- color root end ---- */

/* ---- basic setting ---- */

.section-page {
    padding: 80px 0;
}

@media (max-width: 992px) {
    .section-page {
        padding: 40px 0;
    }
}

.modal {
    padding-right: 0px !important;
}



a {
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;

}

a:focus,
a:hover {
    text-decoration: none;
    outline: 0;
    color: var(--main-color);
    cursor: pointer;
}

img {
    border: 0;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    width: 100%;
    height: auto;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
label {
    padding: 0;
    margin: 0;
    list-style: none;
}

input,
select,
textarea,
button {
    outline: none;
}

input:active,
select:active,
textarea:active,
button:active,
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

button {
    border: none;
    background-color: transparent;
}

select {
    -webkit-appearance: none;
    background-color: #fff;
    color: #333;
    height: 30px;
    line-height: 20px;
    background-image: url(../img/select-icon.svg);
    background-repeat: no-repeat;
    background-position: 98%;
    background-size: 12px;
}

/* 隱藏數字箭頭 */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.fm-group {
    margin-bottom: 15px;
}

.fm-group label {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-size: 16px;
}

.fm-group textarea,
.fm-group input,
.fm-group select {
    color: #555;
    letter-spacing: 1.5px;
    width: 100%;
    font-size: 16px;
    padding: 5px 0px !important;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #dedede;
    transition: .3s ease;
}

.fm-group input,
.fm-group select {
    height: 35px;
}

.fm-group textarea::placeholder,
.fm-group input::placeholder {
    color: #ccc;
}

.fm-group textarea:disabled,
.fm-group input:disabled,
.fm-group select:disabled {
    opacity: 1;
    background-color: #eee;
    color: #999;
    border: none;
    padding: 6px !important;
}


.checkbox {
    display: inline-flex;
    align-items: center;
    margin: 5px 10px 5px 0;
}

.checkbox input[type='checkbox'] {
    width: 20px;
    height: 10px;
    margin: 0 10px 0 0;
    position: relative;
}

.checkbox input[type='checkbox']::before {
    position: absolute;
    top: -7px;
    left: -1px;
    width: 22px;
    height: 22px;
    content: '';
    display: block;
    border: 1px solid #dedede;
    background-color: #fff;
    transition: .3s ease;
}

.checkbox input[type='checkbox']::after {
    position: absolute;
    top: -6.5px;
    left: -1px;
    width: 22px;
    height: 22px;
    content: '\e5ca';
    font-family: 'Material Symbols Sharp';
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: var(--main-color);
    opacity: 0;
    transition: .3s ease;
}

.checkbox input[type='checkbox']:checked:before,
.checkbox input[type='checkbox']:checked:after {
    opacity: 1;
    border-color: rgba(36, 57, 95, 0.3);
}

.checkbox label {
    margin: 0;
    letter-spacing: 2px;
    color: #999;
    transition: .3s ease;
}

.checkbox input[type='checkbox']:checked+label {
    color: var(--main-color);
}

/* form */
.contact-form {
    padding: 2.5rem 3rem;
    background-color: #fff;
    border-bottom: 2px solid #eee;
    background-image: url(../img/form-bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 70%;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem 1rem;
    }
}

.recaptcha {
    margin: 0 0 15px;
}

.recaptcha .g-recaptcha {
    width: 250px;
    margin: 0 auto;
}

.swiper-pagination-bullet-active {
    background-color: var(--main-color);
}

/* bg */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    background-image: url(../img/bg.webp);
}

.bg2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url(../img/bg2.svg), url(../img/bg.webp);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 70%;
}

.bg3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url(../img/bg3.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 70%;
}

.sect-bg {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
    background-image: url(../img/sect-bg1.webp);
}

.sect-bg2 {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    z-index: -2;
    background-color: #fff;
    background-image: url(../img/bg3.png);
}

.sect-bg3 {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    z-index: -2;
    background-color: rgba(119, 136, 183, 0.8);
}

.sect-bg4 {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 90% cover;
    z-index: -2;
    background-image: url(../img/sect-bg3.svg);
}

/* font */

[class*=-gensen-font] {
    font-family: "Gensen L";
}

[class*=-h2] {
    font-size: 40px;
}

[class*=-h3] {
    font-size: 30px;
}

[class*=-h4] {
    font-size: 20px;
}

[class*=-h5] {
    line-height: 35px;
    font-size: 16px;
}

[class*=-h6] {
    line-height: 35px;
    font-size: 15px;
}

[class*=-smtext] {
    font-size: 14px;
}

[class*=white-] {
    color: #fff;
}

[class*=dark-] {
    color: #000;
}

[class*=gray-] {
    color: #535360;
}

[class*=ltgray-] {
    color: #cc9b34;
}

[class*=main-] {
    color: var(--main-color);
}

[class*=vice-] {
    color: var(--vice-color);
}

[class*=notice-] {
    color: var(--red-color);
}

[class*=-lighter] {
    font-weight: 300;
}

[class*=-bolder] {
    font-weight: 700;
}

[class*=-xlbolder] {
    font-weight: 800;
}

[class*=-ls0] {
    letter-spacing: 0;
}

[class*=-ls1] {
    letter-spacing: 1px;
}

[class*=-ls2] {
    letter-spacing: 2px;
}

[class*=-ls3] {
    letter-spacing: 3px;
}

[class*=lh1] {
    line-height: 1;
}

[class*=lh15] {
    line-height: 1.5;
}

[class*=lh2] {
    line-height: 2;
}



@media (max-width: 768px) {
    [class*=-h2] {
        font-size: 30px;
    }

    [class*=-h3] {
        font-size: 25px;
    }

    [class*=-h4] {
        font-size: 18px;
    }
}

.word-break {
    word-break: break-all;
}

/* bg-text */
.bg-text {
    background-color: #fff;
    padding: 2rem;
}

/* line */
.line-small {
    display: block;
    width: 80px;
    border-bottom: 1px solid #ccc;
    margin: 15px 0 17px;
}

.line-small.white {
    border-color: #fff;
}

.line-big {
    display: block;
    width: 80px;
    border: 3px solid #eee;
    margin: 15px 0 17px;
}

.line-end {
    margin: 0px -5px 0 auto;
    width: 50px;
    height: 1px;
    background-color: #ccc;
    transform: rotate(-45deg);
}

.no-gutter {
    margin-left: 0;
    margin-right: 0;
}

.no-gutter [class*=col-] {
    padding-left: 0;
    padding-right: 0;
}

.sm-gutter {
    margin-left: -5px;
    margin-right: -5px;
}

.sm-gutter [class*=col-] {
    padding-left: 5px;
    padding-right: 5px;
}

/* img */
.border-img {
    position: relative;
}

.border-img img {
    display: block;
    width: 90%;
    object-fit: contain;
}

.border-img::after {
    position: absolute;
    bottom: -40px;
    right: 10px;
    display: block;
    content: '';
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

@media (max-width: 992px) {
    .border-img img {
        margin: 0 auto;
    }

    .border-img::after {
        bottom: -20px;
        height: calc(100% - 20px);
        right: 0px;
    }
}

/* btn */
.btn-list {
    display: flex;
    justify-content: end;
}

.btn {
    position: relative;
    padding: 10px 30px;
    color: #ffffff;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    border: 1px solid #f7c72c;
    border-radius: 0px;
    background: #f7c72c;
}


.btn:hover {
    color: #fff;
    background: #636363;
}

/*.btn::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    display: block;
    content: '';
    background-color: var(--main-color);
    transition: .3s ease;
}
*/
./*btn::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    display: block;
    content: '';
    background-color: #ccc;
    transition: .3s ease;
}

.btn:hover::before {
    width: 100%;
    transition: .3s ease .3s;
}

.btn:hover::after {
    width: 0;
}*/

.btn-white {
    color: #fff;
}

.btn-white::before {
    background-color: #fff;
}

.btn-white:hover {
    color: rgba(255, 255, 255, 0.8);
}

.btn:focus,
.btn:active,
.btn:hover {
    box-shadow: none;
}

.btn-block {
    background-color: rgba(255, 255, 255, 0.8);
    width: fit-content;
    display: block;
    padding: .5rem 1.5rem;
    letter-spacing: 3px;
    color: #666;
}

.btn-block:hover {
    background-color: #fff;
}

/* ---- basic setting end ---- */


/* ---- gotop ---- */

.gotop {
    position: fixed;
    width: 45px;
    height: 180px;
    right: 15px;
    bottom: 50px;
    transition: display 0.5s ease-in-out;
    z-index: 10;
}

.gotop img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .gotop {
        width: 38px;
        right: 5px;
    }
}

/* ---- gotop end ---- */


/* ---- right link ---- */

.right-link {
    position: fixed;
    bottom: 220px;
    right: 15px;
    z-index: 99;
    width: 40px;
}

.right-link a {
    text-align: center;
    display: block;
}

.right-link img {
    width: 100%;
}


/* ---- right link end ---- */


/* ---- bottom link ---- */

.bottom-link {
    position: fixed;
    width: 100vw;
    bottom: 0;
    height: 50px;
    z-index: 10;
    background-color: rgba(230, 230, 230, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.bottom-link a:not(:last-of-type) {
    border-right: 1px solid rgba(255, 255, 255, 0.6);
}

.bottom-link a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.bottom-link img {
    width: 80%;
    height: 60%;
    object-fit: contain;
}

/* ---- bottom link end ---- */

/* ---- header ---- */

header {
    position: relative;
    height: 70px;
}

@media (max-width: 992px) {
    header {
        height: 55px;
    }
}

.fixed-top {
    z-index: 100;
    padding-right: 0px !important;
    background: #f7c72c;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 0 9px -3px #ccc;
}

.logo {
    width: 100%;
    height: 90px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .3s ease;
}


.logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.logo img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .logo {
        height: 70px;
    }

    .logo img {
        height: 100%;
    }
}

@media (max-width: 576px) {
    .logo {
        width: calc(100% - 70px);
    }

    .logo img {
        display: block;
        width: 100%;
    }
}

header .nav-menu {
    margin: 0;
    padding: 0;
    height: 100%;
}

@media(min-width: 992px) {
    header .nav-menu ul {
        display: flex;
        margin: 0;
        padding: 0;
        height: 100%;
    }
}

header .nav-menu>ul>li {
    position: relative;
    white-space: nowrap;
    list-style: none;
}

header .nav-menu>ul>li>a {
    display: block;
    position: relative;
    color: #333;
    height: 100%;
    padding: 0 15px;
    transition: .3s ease;
    font-size: 16.5px;
    letter-spacing: 3px;
    line-height: 70px;
    font-weight: 500;
}

header .nav-menu>ul>li::before {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 0%;
    top: 0;
    left: 0;
    background: rgb(255, 255, 255, 0.3);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 90%);
    transition: .5s ease;
}



header .nav-menu>ul>li:hover::before {
    height: 100%;
}

@media (max-width: 1440px) {
    header .nav-menu>ul>li>a {
        font-size: 15px;
        padding: 0 10px;
    }
}

header .nav-menu .active>a {
    color: var(--main-color);
    text-decoration: none;
}

header .nav-menu li:hover>a {
    color: var(--main-color);
    text-decoration: none;
}

header .nav-menu .drop-down ul {
    display: none;
    position: absolute;
    /*left: calc(0% - 35px);*/
    top: 100%;
    height: auto;
    z-index: 99;
    overflow: hidden;
    transition: ease all 0.3s;
    list-style: none;
}


header .nav-menu .drop-down li {
    min-width: 180px;
    position: relative;
    background: rgb(242 242 242 / 60%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: .3s ease;
}

header .nav-menu .drop-down>a {
    display: flex;
    align-items: center;
}

header .nav-menu .drop-down>a::after {
    content: '\e313';
    font-family: 'Material Symbols Sharp';
    display: block;
    margin: 0 0 0 3px;
}

header .nav-menu .drop-down ul a {
    display: block;
    height: 100%;
    width: 100%;
    font-size: 15px;
    padding: 10px 15px;
    letter-spacing: 3px;
    font-weight: 500;
    text-align: center;
    text-transform: none;
    color: #333;
}

header .nav-menu .drop-down ul .active,
header .nav-menu .drop-down ul li:hover {
    background-color: rgba(255, 255, 255, 0.95) !important;
}

header .nav-menu .drop-down ul .active>a,
header .nav-menu .drop-down ul li:hover>a {
    color: var(--main-color);
}

header .nav-menu>ul>.drop-down:hover>ul {
    display: block;
    animation-name: header-animate;
    animation-duration: .5s;
    animation-delay: 0ms;
    animation-timing-function: ease;
}


@keyframes header-animate {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}


.mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
    right: -280px;
    width: 280px;
    padding: 70px 0 0;
    background: #f3f3f3;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: 0.4s;
}

@media (max-width: 576px) {
    .mobile-nav {
        background-size: cover;
    }
}

.mobile-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav a {
    display: block;
    position: relative;
    color: #767676;
    padding: 10px 20px;
    font-weight: 500;
    transition: 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav .active>a,
.mobile-nav li:hover>a {
    color: #0e0e0e;
    font-weight: 600;
    text-decoration: none;
}

.mobile-nav>ul>li {
    border-bottom: 1px solid rgb(208 208 208 / 81%);;
}

.mobile-nav>ul>li>a {
    padding: 15px 20px;
}

.mobile-nav .drop-down>a:after {
    padding-left: 10px;
    position: absolute;
    font-size: 18px;
    right: 15px;
    content: '\e313';
    font-family: 'Material Symbols Sharp';
}


.mobile-nav .drop-down ul {
    display: none;
    overflow: hidden;
}

.mobile-nav .drop-down li {
    padding-left: 20px;
}

.mobile-nav-toggle {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1001;
    border: 0;
    display: none;

    width: 70px;
    height: 70px;
    background: none;
    font-size: 25px;
    transition: all 0.3s;
    outline: none !important;
    line-height: 1;
}

@media (max-width: 992px) {
    .mobile-nav-toggle {
        height: 70px;
        width: 55px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.mobile-nav-toggle:hover {
    cursor: pointer;
}

.mobile-nav-toggle .mobilenav-line span {
    display: block;
    width: 20px;
    height: 1px;
    background-color: var(--main-color);
    transition: .3s ease;
}

.mobile-nav-toggle .mobilenav-line.active span {
    background-color: #242424;
}

.mobile-nav-toggle .mobilenav-line span:nth-of-type(2) {
    margin: 6px 0;
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(2) {
    opacity: 0;
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(1) {
    transform: rotate(45deg) translateY(11px) translateX(0px);
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(3) {
    transform: rotate(-45deg) translateY(-10px) translateX(-1px);
}

.mobile-nav-overly {
    width: 100%;
    height: 100%;
    z-index: 500;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(255, 255, 255, 0.3);
    opacity: .8;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow: hidden;
    display: none;
}

.mobile-nav-active {
    overflow: hidden;
}

.mobile-nav-active .mobile-nav {
    right: 0;
}


/* ---- header end ---- */




/* ---- banner ---- */

.carousel-control-next-icon {
    background-image: url(../img/banner-next.svg);
}

.carousel-control-prev-icon {
    background-image: url(../img/banner-prev.svg);
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 40px;
    height: 40px;
    transition: .3s ease;
}

@media (max-width: 992px) {

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 20px;
        height: 20px;
    }
}

.carousel-indicators li {
    width: 50px;
}

.carousel-caption {
    position: absolute;
    right: 0;
    top: 42%;
    left: 0;
    z-index: 10;
    /* padding: 0 50px; */
    color: #555;
    text-align: left;
}

.carousel-logo {
    width: 150px;
    object-fit: contain !important;
    display: block;
    margin: 0 auto 55px;
}

.carousel-caption h1 {
    font-size: 45px;
    letter-spacing: 3px;
    color: #fff;
    font-weight: 700;
    mix-blend-mode: color-burn;
    text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    animation-delay: 1s;
}

.carousel-caption h2 {
    text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    font-size: 38px;
    letter-spacing: 3px;
    color: #fff;
    /* background-color: rgba(0, 0, 0, 0.6); */
    font-weight: 600;
    animation-delay: 2s;
}

@media (max-width: 1440px) {

    .carousel-logo {
        width: 80px;
        margin: 0 auto 30px;
    }


}


@media (max-width: 768px) {
    .carousel-logo {
        width: 60px;
        margin: 0 auto 20px;
    }

    .carousel-caption h1 {
        font-size: 22px;
        letter-spacing: 1px;
    }
    .carousel-caption h2 {
        font-size: 20px;
        letter-spacing: 1px;
        text-align: center;
    }
}


.carousel-indicators {
    bottom: 0;
}

.carousel-item>img {
    object-fit: cover;
    /*object-position: 90%;
    min-height: calc(100vh - 105px);*/
}

/* ---- banner end ---- */


/* ---- inbanner ---- */
.inbanner {
    padding: 0px 0 50px;
}

.inbanner-img {
    object-fit: cover;
    height: 250px;
}

.inbanner-caption {
    padding: 40px 0 15px;
    border-bottom: 1px solid #d6d6d6;
}

.inbanner h1 {
    font-family: 'Gensen EL';
    font-weight: 700;
    letter-spacing: 5px;
    color: #333;
}

@media (max-width: 992px) {
    .inbanner {
        padding: 0px 0 20px;
    }

    .inbanner-img {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .inbanner h1 {
        font-size: 35px;
    }

    .inbanner-caption {
        padding: 20px 0 15px;
    }
}

@media (max-width: 576px) {
    .inbanner h1 {
        font-size: 30px;
    }
}

/* ---- inbanner end ---- */

/* ---- breadcrumb ---- */
.breadcrumb {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    margin: 10px 0;
    justify-content: end;
}

.breadcrumb-item a {
    color: #aaa;
    letter-spacing: 2px;
    font-size: 14px;
}

.breadcrumb-item.active a {
    color: var(--main-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '\e5cc';
    font-family: 'Material Symbols Sharp';
}

@media (max-width: 768px) {
    .breadcrumb-item a {
        font-size: 13px;
    }
}

/* ---- breadcrumb end ---- */
/* ---- category ---- */
.category {
    display: flex;
    flex-wrap: wrap;
}

.category li {
    margin: 0 15px 0 0;
}

.category li a {
    position: relative;
    display: block;
    padding: .3rem .1rem;
    text-align: center;
    color: #999;
    font-family: 'Gensen EL';
    font-weight: 800;
    letter-spacing: 3px;
    border-bottom: 1px solid #ccc;
    z-index: 1;
}

.category li a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 0%;
    height: 1px;
    background-color: var(--main-color);
    transition: .3s ease;
}

.category li.active a,
.category li:hover a {
    color: var(--main-color);
    border-color: transparent;

}

.category li.active a::after,
.category li:hover a::after {
    width: 100%;
}

@media(max-width: 992px) {
    .category {
        display: none;
    }
}

.categorySwiper .swiper-slide {
    width: fit-content;
    margin: 0 15px 0 0;
}

.categorySwiper .swiper-slide a {
    position: relative;
    display: block;
    padding: .3rem .1rem;
    text-align: center;
    color: #999;
    font-family: 'Gensen EL';
    font-weight: 800;
    letter-spacing: 3px;
    border-bottom: 1px solid #ccc;
}

.categorySwiper .swiper-slide a.active {
    border-bottom-color: var(--main-color);
    color: var(--main-color);
}

@media (min-width: 992px) {
    .categorySwiper {
        display: none;
    }
}

/* ---- category end ---- */

/* ---- pagination ---- */
.pagination {
    justify-content: center;
}

.pagination li {
    margin: 0 0 0 10px;
}

.pagination li a {
    display: flex;
    width: 40px;
    height: 30px;
    justify-content: center;
    align-items: center;
    color: #aaa;
    background-color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid #ccc;
}

.pagination li.active a,
.pagination li:hover a {
    background-color: #fff;
    color: var(--main-color);
    border-bottom-color: var(--main-color);
}

/* ---- pagination end ---- */
/* ---- video ---- */

.main-video {
    position: relative;
}

.main-video video {
    object-fit: cover;
    object-position: 50% 40%;
    height: 600px;
    width: 100%;
}

.main-video-caption {
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
    width: 100%;
}

.main-video-caption [class*='-h2'] {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 576px) {
    .main-video-caption {
        top: 20%;
    }
}

/* ---- video end ---- */

/* ---- service ---- */
.service-img {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.service-img img {
    display: block;
    width: 80%;
    object-fit: contain;
}

.service-timeline {
    position: relative;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    border-left: 1px solid #535360;
}

@media (max-width: 1440px) {
    .service-timeline {
        padding: 1.5rem 0;
    }
}

.sv-dot {
    position: absolute;
    top: calc(50% - 7.5px);
    left: -7.5px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background-color: #535360;
}

.sv-text {
    margin: 0 0 0 3rem;
    color: #535360;
    font-family: 'Gensen L';
    font-size: 18px;
    line-height: 40px;
}

@media (max-width: 992px) {
    .service-img img {
        width: 300px;
    }

    .service-timeline {
        display: block;
        width: 70%;
        margin: 0 auto;
        border-left: none;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }

    .sv-dot {
        display: none;
    }

    .sv-text {
        margin: 0;
        line-height: 35px;
    }
}

@media (max-width: 768px) {
    .service-timeline {
        width: 85%;
    }
}

@media (max-width: 576px) {
    .service-timeline {
        width: 100%;
    }

    .sv-text {
        font-size: 16px;

    }
}

.sign-img {
    display: block;
    margin: 40px 0 0 auto;
    width: 350px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .sign-img {
        width: 250px;
    }
}

.designer-icon {
    display: block;
    border-radius: 50%;
    width: 70%;
    margin: 0 auto 30px;
}

.ds-desc {
    width: 70%;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .designer-icon {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .designer-icon {
        width: 250px;
    }

    .ds-desc {
        width: 90%;
    }
}

/* ---- service end ---- */

/* ---- icon ---- */

.icon-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: relative;
}

.icon-item-num {
    position: absolute;
    top: 0px;
    left: 0px;
    font-weight: 200;
    font-size: 60px;
    line-height: 1;
    color: #ddd;
}

.icon-item img {
    object-fit: contain;
    width: 120px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .icon-item-num {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    .icon-item img {
        width: 90px;
    }

    .icon-item-num {
        font-size: 40px;
    }
}

/* ---- icon end ---- */


/* ---- link box ---- */
.link-box {
    display: block;
    background-color: #fff;
    padding: 4rem 3rem;
    text-align: center;
    font-family: "Montserrat", 'Gensen';
    font-size: 1.7rem;
    color: #535360;
    border-radius: .5rem;
    box-shadow: 0 0 15px rgba(31, 41, 114, 0.5);
    transition: .3s ease;
}

.link-box:hover {
    box-shadow: 0 0 5px rgba(31, 41, 114, 0.8);
}

.link-box.icon {
    padding: 1.3rem 3rem;
}

.link-box.dark {
    background-color: #A9B8E0;
    color: #fff;
}

.link-box .link-icon {
    display: block;
    width: 150px;
    margin: 0 auto 10px;
}

.link-box .link-btn {
    display: block;
    border: 1px solid #535360;
    width: fit-content;
    margin: 10px auto;
    padding: .2rem 1rem .3rem;
    font-size: 1.3rem;
    border-radius: .2rem;
}

.link-box.dark .link-btn {
    border-color: #fff;
}

@media (max-width: 576px) {
    .link-box {
        padding: 4rem 1rem;
    }

    .link-box.icon {
        padding: 1.3rem 3rem;
    }

    .link-box .link-btn {
        padding: .1rem .8rem;
    }
}

/* ---- link box end ---- */

/* ---- case ---- */
.case-box {
    display: block;
    /*padding: 1rem;*/
    background-color: rgba(255, 255, 255, 0.5);
    transition: .3s ease;
}

.case-box:hover {
    background-color: rgba(255, 255, 255, 1);
}

.case-img {
    height: 35%;
    width: 100%;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: .6s ease;
}

.case-box:hover .case-img img {
    transform: scale(1.1);
}

.case-title {
    margin: 10px 0 0 0;
    color: #666;
    font-size: 18px;
    letter-spacing: 2px;
    transition: .3s ease;
}

.case-box:hover .case-title {
    color: var(--main-color);
}

@media (max-width: 992px) {
    .case-box {
        padding: .5rem;
    }
}

.case-dt-sect {
    position: relative;
    margin: 0 0 30px;
}

@media (max-width: 992px) {
    .case-dt-sect {
        margin: 0;
    }
}

.case-dt-caption {
    position: absolute;
    width: 45%;
    height: 100%;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.75);
}

.case-dt-caption h1 {
    font-family: 'Gensen EL';
    font-weight: 800;
    letter-spacing: 5px;
    color: #555;
}

.case-dt-caption .breadcrumb {
    background-color: #fff;
    padding: 0 5px;
}

@media (max-width: 992px) {
    .case-dt-caption {
        position: relative;
        width: 100%;
        top: unset;
        right: unset;
        padding: 30px 0 10px;
        background-color: transparent;
    }

    .case-dt-caption h1 {
        text-align: center;
        font-size: 35px;
    }

    .case-dt-caption .breadcrumb {
        background-color: transparent;
        padding: 0px;
    }
}

@media (max-width: 768px) {
    .case-dt-caption h1 {
        font-size: 25px;
    }
}

.lg-outer .lg-thumb-item {
    border-radius: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    opacity: .7;
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
    border-color: #eee;
    opacity: 1;
}

/* ---- case end ---- */


/* ---- qa ---- */
.qa-box {
    padding: 2rem 3rem;
    background-color: #fff;
    transition: .3s ease;
    position: relative;
    margin: 0 0 1.5rem;
}

.qa-box.active,
.qa-box:hover {
    cursor: pointer;
}

.qa-box::after {
    position: absolute;
    content: '\e145';
    font-family: 'Material Symbols Sharp';
    top: 1.8rem;
    right: 3rem;
    font-size: 25px;
    font-weight: 100;
    transition: .3s ease;
}

.qa-box.active::after {
    transform: rotate(45deg);
    color: var(--red-color)
}

.qa-title {
    font-size: 20px;
    color: #666;
    font-family: 'Gensen EL';
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 25px;
    margin: 0 3.5rem 0 0;
    transition: .3s ease;
}

.qa-box.active .qa-title {
    color: var(--main-color)
}

.qa-ans {
    height: 0;
    margin: 0;
    padding: 0;
    transform: scaleY(0);
    font-size: 16px;
    letter-spacing: 2px;
    color: #999;
    line-height: 35px;
    transform-origin: top;
    transition: all .3s ease;
}

.qa-box.active .qa-ans {
    height: 100%;
    transform: scaleY(1);
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
    border-top: 1px solid #ddd;
}

@media (max-width: 768px) {
    .qa-box {
        padding: 1rem 1.5rem;
    }

    .qa-box::after {
        top: .7rem;
        right: 1.5rem;
    }

    .qa-title {
        font-size: 17px;
        margin: 0 2rem 0 0;
    }

}


/* ---- qa end ---- */
/* ---- contact ---- */
.map iframe {
    border: none;
    width: 100%;
    height: 350px;
}

.c-info {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border: 1px solid #e5e5e5;
}

.ci-t {
    min-width: 100px;
    width: 100px;
    font-family: 'Gensen EL';
    font-weight: 700;
}

.ci-ct {
    color: #999;
    word-break: break-all;
}

@media (max-width: 768px) {
    .c-info {
        padding: .5rem 1rem;
    }
}

/* ---- contact end ---- */

/* ---- main link ---- */
.main-link {
    display: block;
    padding: 1rem 2rem;

    color: #666;
    text-align: center;
    letter-spacing: 3px;
    background-color: #fff;
    border: 1px solid transparent;
}

.main-link:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: #e5e5e5;
}

/* ---- main link end ---- */


/* ---- footer ---- */


footer {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #fff;
    padding: 50px 0px 30px;
    letter-spacing: 1px;
        border-top: 1px solid #ccc;
}

.f-logo img {
    display: block;
    margin: 0 auto 10px;
    width: 120px;
}

.f-logo-dn img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 230px;
}

.f-info {
    color: var(--main-color);
    font-size: 15px
}

.f-info .fi-t {
    font-weight: 600;
    margin: 0 0 15px;
}

.fi-ct a {
    display: block;
    color: var(--main-color)
}

.f-sns li {
    margin: 0 5px 0 0;
}

.f-sns li a img {
    display: block;
    width: 90%;
    max-width: 35px;
}

@media (max-width: 768px) {
    .f-info {
        text-align: center;
        font-size: 15px;
        line-height: 22px;
    }

    .f-info .fi-t {
        margin: 0 0 8px;
    }
}

.copyright {
    color: #aaa;
    font-size: 13px;
    text-align: center;
}



@media (max-width: 768px) {
    footer {
        padding: 50px 0 70px;
    }
}

/* ---- footer end ---- */

/*--news--*/
.news-box {
        background: #fff;
    box-shadow: 0 0 10px -2px #ccc;
    padding: 10px;
    border: 1px solid #e0e0e0;
}
.news-img {
    height: auto;
    width: 100%;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: .6s ease;
}

.news-box:hover .news-img img {
    transform: scale(1.1);
}
.news-box:hover{
    box-shadow: 0 0 10px 2px #ccc;
}
.news-box .news-img {
    /*width: 35%;*/
}
.news-info{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}
.news-info p{
    color: #717171;
}
.omit-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/*--news end--*/