/*檢查框線*/
/*
* {
    outline: 1px solid red;
}
*/

body {
    font-family: "Helvetica", "Arial", "LiHei Pro", "黑體-繁", "微軟正黑體", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Helvetica", "Arial", "LiHei Pro", "黑體-繁", "微軟正黑體", sans-serif;
}

.row {
    --bs-gutter-x: 0;
}



.pd-ri-0 {
    padding-right: 0;
}

.text-lf {
    text-align: left;
}

.bd-gray-f6 {
    background-color: #f6f6f6;
}

.bg-golden {
    background-color: #5480a0;
    border: 1px solid #000;
}

.header-meta__action {
    float: right;
}

.btnNohover:hover {
    color: #5480a0 !important;
    cursor: default;
}

/*====================================*/
/*  Header
/*====================================*/


header .header-transparent {
    background-color: #fff;
    padding: 20px 50px;
    position: fixed;
    top: 0;
}


div.sticky {
    background-color: #fff;
    padding: 30px 50px 10px;
    position: fixed;
    top: 0;
    height: 100px;
}

.sticky-meta-header {
    position: absolute;
    right: 60px;
}

.header-primary-menu li>.menu-item-link {
    color: #000;
}

.sticky .header-primary-menu li>.menu-item-link {
    color: #333;
}

.header-meta__action li .action {
    color: #afafaf;
    height: 50px;
    width: 50px;
}

i.lastudioicon-menu-8-1 {
    font-size: 1.6rem;
}



.slider-section {
    position: relative;
    width: 100%;
    height: auto;
    /* 根據需要調整 */
    overflow: hidden;
}


.swiper-slide {
    width: 100%;
    /* 滿版 slide */
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    /* ✅ 圖片寬度百分比 */
    height: auto;
    /* ✅ 高度自動 */
    object-fit: cover;
    /* 避免變形，可改為 contain 看需求 */
    max-width: 100%;
    /* 防止圖片超出容器 */
    display: block;
}


.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.header-meta__action li {
    padding-top: 0;
    position: relative;
    margin: auto;
}


.slider-content-10__btn {
    margin-top: 20px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-transform: uppercase;
    width: 150px;
    line-height: 45px;
    font-size: 1rem;
    font-family: "Montaga", serif;
    font-weight: 400;
    height: auto;
    float: right;
}

.slider-content-10__btn.slider-btn-01:hover {
    background-color: #5480a0;
    color: #fff;
    border-color: #5480a0;
}

.slider-content-11 {
    position: absolute;
    left: 50%;
    bottom: 65px;
    transform: translate(-50%, -50%);
}

.slider-content-12 {
    position: absolute;
    left: 50%;
    bottom: 25%;
    transform: translate(-50%, -50%);
}



/*=============================*/
/* n2-banner  */
/*=============================*/

.ptpb-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.call-to-actions {
    width: 100%;
    height: auto;
    background-position: top left;
    background-color: #e4e8eb;
}

.call-to-action-text {
    display: inline-block;
}

.call-to-action-text h4 {
    background-color: #5480a0;
    display: inline-block;
    padding: 10px;
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.5rem;
    clear: both;
    float: left;
}

h3.call-to-action-box_title {
    background-color: #5480a0;
    color: #fff;
    font-size: 2.2rem;
    padding: 10px;
    display: inline-block;
    clear: both;
    float: left;
    margin-bottom: 20px;
}

ul.call-to-action-box_list {
    clear: both;
    font-size: 1.2rem;
    color: #000;
    font-weight: 500;
}

img.call-to-action-img {
    width: 80%;
}


/*=============================*/
/* n3-banner  */
/*=============================*/

img.call-to-action-img2 {
    width: 70%;
}

.call-to-actions .position-relative {
    text-align: center;
}

/*=============================*/
/* 服務項目  */
/*=============================*/

h4.section-title-02_title {
    background-color: #5480a0;
    display: inline-block;
    padding: 5px 15px;
    color: #fff;
}

.section-padding-01 .product-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.product-item_image img {
    width: 200px;
    height: auto;
}

h5.product-item_title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: "黑體-繁", "微軟正黑體", sans-serif;
    color: 000;
}

span.product-item_price {
    font-size: 1rem;
    font-family: "黑體-繁", "微軟正黑體", sans-serif;
    text-align: left;
    color: #444;
    font-weight: 600;
    margin: 10px 20px 0;
    display: block;
}

/*=============================*/
/* 服務流程  */
/*=============================*/
.section-title-03 p {
    color: #000;
}

.features-card-item-02__title {
    font-family: "黑體-繁", "微軟正黑體", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.features-card-item-02__icon .svg-icon {
    width: 120px;
    height: 120px;
}


/*=============================*/
/* 頁面top Bg  */
/*=============================*/

.breadcrumb::after {

    background-color: rgb(3 0 29 / 40%);
}

/*=============================*/
/* 關於我們  */
/*=============================*/

.hr {
    display: inline-block;
    height: 1px;
    padding: 0px;
    margin-top: 5px;
    margin-bottom: 25px !important;
    background: #f8f8f8;
    border: none;
}

.hr-primary {
    border-top: 3px solid #2388d9;
}

.divider-lg {
    width: 170px;
    height: 3px !important;
}

.text-primary {
    color: #2388d9 !important;
}

.line-height-15 {
    line-height: 1.5;
}

html *:last-child {
    margin-bottom: 0;
}

html .offset-top-22 {
    margin-top: 22px;
}

html .offset-top-27 {
    margin-top: 27px;
}

html .offset-top-34 {
    margin-top: 34px;
}

.site-title {
    font-weight: 700;
    text-transform: capitalize;
    font-size: 40px;
    color: #0C4C93;
    margin-top: 5px;
    margin-bottom: 0;
}

h4 {
    font-size: 1.15rem;
}

.about_title.section-title-03__title {
    font-size: 1.6rem;
    color: #5480a0;
}

.about_title i.fa-solid.fa-phone {
    font-size: 1.3rem;
    padding-right: 10px;
}

.category-item__content {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.category-item__title {
    font-family: "黑體-繁", "微軟正黑體", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.category-item p {
    margin-top: 10px;
    padding: 0 30px;
    font-size: 1rem;
    color: #555;
    text-align: left;
}

.about-list-wrapper {
    position: relative;
    display: block;
    margin-top: 32px;
}

.about-list {
    position: relative;
    display: block;
}

.about-list li {
    position: relative;
    display: flex;
    align-items: center;
}

.about-list li .icon {
    position: relative;
    display: flex;
    align-items: center;
}

.about-list li .icon span {
    font-size: 20px;
    color: #4BA1ED;
}

.about-list li .text {
    margin-left: 16px;
}

/*=============================*/
/* 服務項目  */
/*=============================*/

.services-item4 {
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: all .5s ease-in-out;
    box-shadow: 0 3px 24px rgb(0 0 0 / 10%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.services-item4:hover {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
}


.services-icon4 {
    background: #000055;
    width: 80px;
    height: 80px;
    line-height: 80px;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    font-size: 40px;
    box-shadow: -5px 5px 0 #00BBEF;
}


.services-content4 {
    margin: 25px 0;
}

.services-title4 {
    font-size: 1.1rem;
    margin-bottom: 10px !important;
    text-align: center;
}

/*服務區域*/

.service-area {
    position: relative;
}

.py-120 {
    padding: 120px 0;
}

.service-item {
    border-radius: 10px;
    background: #DEE5EB;
    overflow: hidden;
    box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
    transition: all .5s ease-in-out;
    margin: 20px;
}

.service-item:hover {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
}

.service-img {
    position: relative;
    width: 100%;
    height: 120px;
    background-color: #a7a7a7;
}

.service-img::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 110%;
    height: 60px;
    -webkit-clip-path: polygon(50% 0%, 0 100%, 100% 100%);
    clip-path: polygon(50% 0%, 0 100%, 100% 100%);
    background-color: #DEE5EB;
    z-index: 2;
}

.service-img::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 110%;
    height: 70px;
    -webkit-clip-path: polygon(50% 0%, 0 100%, 100% 100%);
    clip-path: polygon(50% 0%, 0 100%, 100% 100%);
    background-color: #ffffff;
    z-index: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    line-height: 100px;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 43px 0px rgb(12 12 12 / 16%);
    box-shadow: 0px 0px 43px 0px rgb(12 12 12 / 16%);
    margin-left: auto;
    margin-right: auto;
    margin-top: -100px;
    background: #fff;
    color: #fff;
    font-size: 35px;
    position: relative;
    text-align: center;
    z-index: 3;
}

.service-icon::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #5480a0;
    z-index: -1;
}

.service-content {
    padding: 40px 25px 25px 25px;
}

.service-title {
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-title a {
    color: #5480a0;
    font-size: 25px;
}

.service-content p {
    color: #6c7176;
}


.theme-btn {
    font-size: 16px;
    color: #ffffff;
    padding: 12px 30px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    text-transform: capitalize;
    position: relative;
    cursor: pointer;
    border-radius: 50px;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    border: none;
    background: #51acfb;
    box-shadow: 0 3px 24px rgb(0 0 0 / 10%);
}

.service-content .theme-btn {
    margin-top: 20px;
}


.theme-btn::before {
    content: "";
    position: absolute;
    left: -1px;
    bottom: -1px;
    width: 20px;
    height: 20px;
    background: #5480a0;
    border-radius: 50px;
    z-index: -1;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
}

.pl-48 {
    padding-left: 48px;
}

/*=============================*/

/* 設定箭頭動畫 */
.arrow {
    transition: transform 0.3s ease-in-out;
}

/* 當選單展開時，旋轉 180 度 */
.collapsed .arrow {
    transform: rotate(0deg);
    color: #333;
}

.lastudioicon-down-arrow {
    transform: rotate(180deg);
    color: #5480a0;
}

.list-inside li {
    list-style: inside;
}

.section.section-padding-03 .accordion-item:not(:first-of-type) {
    border-top: 1px solid rgba(0, 0, 0, .125);
}

/*=============================*/
.ml-15 {
    margin-left: 15px;
}

.blog-post-two {
    margin-bottom: 80px;
}

.blog-post-two__title {
    margin-bottom: 20px;
}


.align-flex-start {
    align-items: flex-start !important;
}


.product-active .swiper-button-next,
.product-active .swiper-button-prev,
.product-active-two .swiper-button-next,
.product-active-two .swiper-button-prev,
.product-active-three .swiper-button-next,
.product-active-three .swiper-button-prev {
    background-color: #5480a0;
    color: #fff;
}

.product-active .swiper-button-next:hover,
.product-active .swiper-button-prev:hover,
.product-active-two .swiper-button-next:hover,
.product-active-two .swiper-button-prev:hover,
.product-active-three .swiper-button-next:hover,
.product-active-three .swiper-button-prev:hover {
    background-color: #c7c7c7;
}

.product-item-style-01 {
    overflow: hidden;
    border-radius: unset;
    position: relative;
}

.product-item-style-01_content {
    padding: 20px 3px;
}

.product-item-style-01_title {
    margin-bottom: 6px;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: "黑體-繁", "微軟正黑體", sans-serif;
    line-height: 1.5;
}

.product-item-style-01_price {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    line-height: 1.5;
    margin-bottom: 0;
    font-family: "黑體-繁", "微軟正黑體", sans-serif;
}

.deal-two_bg {
    background-size: cover !important;
}

/*====================================*/
/* 防水達人來分享
/*====================================*/

.blog-post-two img {
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    padding: 0 20px 0 0;
}

.blog-post-two__content {
    padding-bottom: 30px;
}


/*====================================*/
/* 實績案例
/*====================================*/
.pr-10 {
    padding-right: 10px;
}

.sidebars_widget__category ul {
    padding-left: 1.5em;
    /* 子選單縮排 */
    list-style-type: circle;
}

.has-submenu {
    cursor: pointer;
    position: relative;
}

.arrow {
    font-size: 12px;
    margin-left: 6px;
}

h3.text-secondary {
    font-size: 1.3rem;
    font-weight: 600;
}

.default-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.gallery a {
    position: relative;
    display: block;
}

.gallery a .img-wrapper {
    display: none;
}

.gallery a:hover .img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cases-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: all 0.3s ease;
}

/*====================================*/
/* scroll-top + btn
/*====================================*/

.fixed-links {
    position: fixed;
    right: 30px;
    bottom: 110px;
    z-index: 998;
}

.fixed-links a.fixed-img {
    position: relative;
    right: 0;
    bottom: -5px;
    z-index: 99;
    width: 50px;
    height: 50px;
    cursor: pointer;
    visibility: inherit;
    display: block;
    margin-bottom: 5px;
}

.fixed-links .fixed-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
    z-index: 999;
}



.scroll-top {
    background-color: #dcdcdd;
    border: 1px solid #dcdcdd;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    right: 32px;
}

.scroll-top i {
    font: normal normal normal 1.3em / 1 LaStudioIcons;
    color: #5480a0;
}

.scroll-top:hover {
    background-color: #5480a0;
}

#scroll-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#scroll-top.show {
    opacity: 1;
    visibility: visible;
}


.section-title-01 {
    padding-bottom: 30px;
}

.deal-two_content {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.container.custom-container {
    padding-left: 30px;
    padding-right: 30px;
}

.icon-text22 {
    display: flex;
    align-items: center;
}

.icon-text22 img {
    width: 24px;
    /* 根據你實際圖示大小設定 */
    margin-right: 8px;
}

.icon-text22 span {
    display: inline-block;
    text-indent: -2px;
    /* 負值等於圖示寬度 + 間距 */
    padding-left: 2px;
    /* 同樣的數值推整段 */
    line-height: 2;
    font-family: "黑體-繁", "微軟正黑體", sans-serif;
    color: #000;
    font-size: 1.1rem;
}





/*====================================*/
/*  footer
/*====================================*/
footer .footer-widget-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

footer .custom-container {
    margin: 0 auto;
    padding: 0 30px;
}

footer .logo-dark {
    display: contents;
}

footer .footer-widget__logo {
    margin: 0 auto;
    text-align: center;
    position: relative;
}

footer .footer-widget__logo:after {
    display: block;
    content: "";
    flex-grow: 1;
    border-top: 2px solid rgb(84, 128, 160);
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 100%;
    z-index: 1;
}


footer .footer-copyright {
    background-color: #5480a0;
}

footer .footer-copyright-text {
    font-size: 0.9rem;
    color: #fff;
}

a.logo-dark img {
    width: 15%;
    margin-bottom: 50px;
}

.btn-outline-darkBlue {
    border-color: #5480a0;
    color: #5480a0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    font-size: 1.3rem;
    font-weight: 500;
}

.display-inline-grid {
    display: inline-grid;
    justify-content: center;
}

.footer-widget__title {
    font-size: 1.5rem;
    color: #5480a0;
}

.footer-widget__link {
    list-style-type: none;
    padding-bottom: 15px;
    font-size: 1.1rem;
}

ul.footer-widget__link {
    display: inline-flex;
    flex-direction: column;
}

ul.footer-widget__link li {
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    letter-spacing: 1px;
    color: #5480a0;
    font-size: 1rem;
    flex-wrap: wrap;
}

.footer-widget__link li a {
    letter-spacing: 1px;
    color: #5480a0;
    font-size: 1rem;
    padding-left: 5px;
    padding-right: 5px;
    font-family: "Roboto", "Open Sans", "Lato", sans-serif;
}

.pt-20 {
    padding-top: 20px;
}



.float-left {
    float: left;
}

span.deal-two_subtitle img {
    margin: 10px auto;
    padding: 5px 10px 5px 0;
}



/*====================================*/
/* media
/*====================================*/

@media only screen and (min-width: 1600px) {
    .call-to-action .call-to-action-box__title {
        font-size: 2rem;
    }

    .contact-section2_bg .custom-container {
        padding: 0 100px;
    }

    .header-section {
        padding: 20px 0;
    }

}

@media only screen and (min-width: 1200px) and (max-width: 1599px) {
    .category-item__title {
        font-size: 2rem;
    }

    .blog-post-two__title {
        font-size: 1.3rem;
        font-weight: 600;
        padding: 5px;
    }
}

@media only screen and (min-width: 992px) {
    .pcbanner {
        position: relative;
        top: 50px;
        margin-bottom: 35px;
    }
}

@media only screen and (max-width: 1199px) {

    ul.call-to-action-box_list {
        font-size: 1.05rem;
    }

    img.call-to-action-img2 {
        width: 80%;
    }
}


@media only screen and (max-width: 991px) {

    .header-logo a img {
        width: 200px;
    }

    .pcbanner {
        margin-bottom: 25px;
    }

    .pcbanner {
        position: relative;
        top: 31px;
    }

    .header-transparent {
        background-color: #000;
    }

    .header-meta__action li>.menu-item-link2 {
        display: none;
    }

    .swiper {
        height: auto;
    }

    .single-slider {
        top: 90.61px;
    }


    .testimonial-four_borderleft {
        left: 12%;
    }

    .testimonial-four_borderright {
        right: 13%;
        bottom: 35%;
    }

    .sell-banner_bg {
        height: 355px;
    }

    .Mptlfb-501710 {
        padding: 50px 17px 10px;
    }

    .call-to-action-text h4 {
        font-size: 1.2rem;
    }

    h3.call-to-action-box_title {
        font-size: 1.4rem;
    }

    ul.call-to-action-box_list {
        font-size: 1.1rem;
        line-height: 1.5;
    }


}


@media only screen and (min-width: 768px) and (max-width: 991px) {
    .breadcrumb2 {
        padding: 90px 0 0;
    }

    .category-item p {
        padding: 0 20px;
    }

    .blog-sidebar-right .sidebars {
        padding: 40px 0px;
    }

    .section-padding-04 {
        padding-top: 50px;
    }
}


@media only screen and (min-width: 768px) {

    .product-active .swiper-button-prev,
    .product-active-two .swiper-button-prev,
    .product-active-three .swiper-button-prev {
        left: -55px;
    }

    .product-active .swiper-button-next,
    .product-active-two .swiper-button-next,
    .product-active-three .swiper-button-next {
        right: -55px;
    }
}

@media only screen and (max-width: 768px) {
    .md-dsnone {
        display: none;
    }
}

@media only screen and (max-width: 767px) {

    .pcbanner {
        margin-bottom: 25px;
    }


    .contact-section2_bg {
        padding: 60px 30px;
    }

    .call-to-action-02-content .container {
        max-width: 300px;
    }

    .call-to-action-02-meta-item {
        height: 60px;
    }

    .call-to-action-02 .call-to-action-02-content__sub-title {
        font-size: 1rem;
    }

    footer .footer-widget__logo {
        margin-bottom: 30px;
    }

    footer .footer-widget__logo img {
        width: 25%;
    }

    .breadcrumb2 {
        padding: 60px 0 10px;
    }

    .member-order tr {
        border-radius: 15px;
    }

    .testimonial-four_borderleft {
        left: 10px;
    }

    .testimonial-four_borderright {
        right: 0;
        bottom: 33%;
    }

    .sell-banner_bg {
        height: 270px;
        padding: 0;
    }

    .slider-active .swiper-pagination {
        bottom: 0;
    }

    .product-item-style-01 {
        width: 80%;
    }

    .product-active .swiper-button-prev,
    .product-active-two .swiper-button-prev,
    .product-active-three .swiper-button-prev {
        left: -7px;
    }

    .product-active .swiper-button-next,
    .product-active-two .swiper-button-next,
    .product-active-three .swiper-button-next {
        right: -7px;
    }

    .blog-sidebar-right .sidebars {
        padding: 50px 20px;
    }

}

@media (min-width: 576px) {
    .section-container .member-nav .nav-item .active {
        border-bottom: 2px solid #5480a0;
    }
}

@media (max-width: 576px) {

    .sm-plr20 {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-right: 21px;
    }
}

@media (max-width: 575px) {
    span.deal-two_subtitle {
        display: inline-flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    .sm-plr15 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }


}

@media only screen and (max-width: 568px) {
    .icon-text22 {
        align-items: flex-start;
    }
}

@media only screen and (max-width: 480px) {

    .pcbanner {
        margin-bottom: 25px;
    }

    .newsletter-section .newsletter {
        padding: 0 65px;
    }

    a.logo-dark img {
        width: 50%;
    }

    .about-schedule_time {
        text-align: left;
    }

    .sell-banner_bg {
        height: 240px;
    }

    .team-2-wrapper {
        width: 100%;
    }

    .about-schedule_name {
        font-size: 1.2rem;
        font-weight: 600;
    }

    span.deal-two_subtitle {
        flex-direction: column;
    }

}


@media only screen and (min-width: 1200px) and (max-width: 1599px),
only screen and (max-width: 767px) {
    .call-to-action .call-to-action-box {
        padding: 25px 30px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 991px),
only screen and (max-width: 767px) {
    .section-title-10.aboutImg img {
        width: 100%;
    }
}


/*=================================*/

.content img {
    height: unset !important;
}

/*box-img 1x1*/
.box-img {
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.box-img img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*box-img 16x9*/
.box-img-16-9 {
    overflow: hidden;
    width: 100%;
    padding-top: calc(9 / 16 * 5%);
    position: relative;
}

.box-img-16-9 img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: unset;
    width: 100%;
    height: auto;
    object-fit: cover;
}



/*box-img 5x4*/
.box-img-5-4 {
    overflow: hidden;
    width: 100%;
    padding-top: calc(4 / 5 * 100%);
    position: relative;
}

.box-img-5-4 img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*box-img 4x5 直式*/
.box-img-4-5 {
    overflow: hidden;
    width: 100%;
    padding-top: calc(5 / 4 * 100%);
    position: relative;
}

.box-img-4-5 img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}