/* #region 基本样式 */
.module {
    margin-top: 100px;
}

.module>.content {
    margin-top: 100px;
}

.banners .banner {
    height: 1000px;
}

/* #endregion */

/* #region 品牌 */
#brand {
    display: none;
}

.brand .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.brand .list>li {
    position: relative;
    width: 310px;
    height: 360px;
    text-align: center;
}

.brand .list .img {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.brand .list .info {
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    color: #fff;
    font-weight: normal;
    letter-spacing: 0em;
}

.brand .list .subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
    height: 80px;
    background: rgba(255, 248, 242, 0.6);
}

.brand .list .subtitle img {
    width: 38px;
    height: 38px;
}

.brand .list .subtitle h3 {
    color: rgba(77, 37, 0, 1);
    font-size: 28px;
    line-height: 38px;
}

.brand .list .sublist {
    box-sizing: border-box;
    position: absolute;
    left: -100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 280px;
    font-size: 20px;
    text-align: left;
    background: rgba(0, 0, 0, 0.6);
    transition: 0.3s;
}

.brand .list>li:hover .sublist {
    left: 0;
    transition: 0.3s;
}

.brand .list .sublist ul {
    width: 90%;
}

.brand .list .sublist ul>li {
    position: relative;
    margin-top: 5px;
    padding-left: 15px;
}

.brand .list .sublist ul>li::before {
    position: absolute;
    left: 0;
    top: 14px;
    width: 4px;
    height: 4px;
    content: "";
    background: #ffffff;
    border-radius: 50%;
}

/* #endregion */

/* #region 服务 */
.project {
    overflow: hidden;
    position: relative;
}

.project .align {
    display: flex;
    text-align: center;
}

.project .first {
    justify-content: center;
    gap: 54%;
    margin-top: 100px;
}

.project .second {
    justify-content: center;
    gap: 48%;
    margin-top: 90px;
}

.project .third {
    justify-content: center;
    gap: 25%;
    margin-top: 65px;
}

.project .fourth {
    justify-content: center;
    margin-top: -65px;
}

.project .item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.project .item:nth-child(2n + 1) {
    flex-direction: row-reverse;
}

.project .fourth .item {
    flex-direction: column;
}

.project .item .box {
    position: relative;
    flex-shrink: 0;
    width: 156px;
    height: 156px;
}

.project .item .img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.project .item .img::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: #b99677;
    transition: 0.3s;
}

.project .item:hover .img::after {
    background: rgba(185, 150, 119, 0.7);
    transition: 0.3s;
}

.project .item .box>img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70px;
    height: 81px;
    transform: translate(-50%, -50%);
}

.project .item h3 {
    color: #4d2500;
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 0em;
}

.project .middle {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: -1;
    width: 698px;
    height: 698px;
    transform: translateX(-50%);
}

.project .middle::after {
    position: absolute;
    left: 50%;
    top: -16.5%;
    z-index: -1;
    width: 100%;
    height: 100%;
    transform: translateX(-50%) rotate(135deg);
    content: "";
    border-radius: 50%;
    border-top: 8px solid rgba(77, 37, 0, 0.8);
    border-right: 8px solid rgba(77, 37, 0, 0.8);
    border-bottom: 8px solid transparent;
    border-left: 8px solid transparent;
}

.project .middle .project-img {
    overflow: hidden;
    position: relative;
    width: 490px;
    height: 490px;
    margin: 0 auto;
    border-radius: 50%;
}

.project .middle img {
    width: 100%;
    height: 100%;
}

/* #endregion */

/* #region 环境 */
.comfort .grid {
    display: grid;
    grid-template-columns: 398px 268px 158px 158px 398px;
    grid-template-rows: 252px 358px;
    grid-template-areas:
        "box1 box2 box3 box4 box5"
        "box1 box6 box6 box6 box5";
    gap: 30px;
    height: 640px;
}

.comfort .box {
    overflow: hidden;
    box-shadow: 4px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.comfort .box:nth-child(1) {
    grid-area: box1;
}

.comfort .box:nth-child(2) {
    grid-area: box2;
}

.comfort .box:nth-child(3) {
    grid-area: box3;
}

.comfort .box:nth-child(4) {
    grid-area: box4;
}

.comfort .box:nth-child(5) {
    grid-area: box5;
}

.comfort .box:nth-child(6) {
    grid-area: box6;
}

.comfort .img {
    width: 100%;
    height: 100%;
}

.comfort .img img {
    transition: 0.3s;
}

.comfort .box:hover img {
    transform: scale(1.2);
    transition: 0.3s;
}

/* #endregion */

/* #region 医生 */
#doctor {
    display: none;
}

.doctor .content {
    position: relative;
}

.doctor .container {
    width: 1280px;
    height: 645px;
}

.doctor .view {
    display: flex;
    gap: 50px;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.doctor .box {
    position: relative;
    width: 381px;
    height: 100%;
}

.doctor .box .img {
    width: 100%;
    height: 100%;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);
}

.doctor .box .info {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 176px;
    padding: 42px 0;
    text-align: center;
    font-weight: normal;
    letter-spacing: 0em;
    background: rgba(77, 37, 0, 0.9);
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.doctor .box:hover .info {
    height: 186px;
    transition: 0.3s;
}

.doctor .box .info h3 {
    color: #ffffff;
    font-size: 30px;
}

.doctor .box .info p {
    margin-top: 16px;
    color: #cccccc;
    font-size: 22px;
}

.doctor .first {
    width: 493px;
}

.doctor .first .img {
    width: 453px;
    height: 100%;
    margin: 0 auto;
}

.doctor .first .info {
    height: 209px;
    padding: 15px 40px 40px 40px;
    transition: 0.3s;
}

.doctor .first:hover .info {
    height: 219px;
    transition: 0.3s;
}

.doctor .first .info::before {
    position: absolute;
    left: 0;
    top: -161px;
    width: 0;
    height: 0;
    content: "";
    border-left: 493px solid transparent;
    border-bottom: 161px solid rgba(77, 37, 0, 0.9);
}

.doctor .first .info h3 {
    position: absolute;
    top: -81px;
    right: 40px;
    font-size: 60px;
}

.doctor .first .info span {
    display: block;
    color: #ffffff;
    font-size: 30px;
    text-align: right;
}

.doctor .first .info p {
    margin-top: 14px;
    font-size: 22px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.doctor .doctors-button-prev,
.doctor .doctors-button-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    width: 40px;
    height: 74px;
    background: url(/static/pc/icon/021.png) no-repeat center;
    background-size: 100% 100%;
    cursor: pointer;
}

.doctor .doctor-button-prev,
.doctor .doctor-button-next {
    display: none;
}

.doctor .doctors-button-next {
    right: 0;
    transform: translateY(-50%) rotate(180deg);
}

.doctor .doctors-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* #endregion */

/* #region 案例 */
.case .content {
    position: relative;
}

.case .container {
    width: 1232px;
    height: 840px;
}

.case .box {
    position: relative;
    width: 100%;
    height: 100%;
}

.case .box .img {
    overflow: hidden;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 0;
    transform: translateY(-50%);
    width: 606px;
    height: 710px;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);
}

.case .box .img img {
    transition: 0.3s;
}

.case .box .img:hover img {
    transform: scale(1.2);
    transition: 0.3s;
}

.case .box .info {
    box-sizing: border-box;
    position: relative;
    width: 749px;
    height: 100%;
    padding: 110px 70px;
    font-weight: normal;
    letter-spacing: 0em;
    background: #b99677;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);
}

.case .box .info>h4 {
    color: #ffffff;
    font-size: 36px;
}

.case .box .info>h4:not(:first-child) {
    margin-top: 41px;
}

.case .box .info>h4:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.case .box .info>p {
    margin-top: 41px;
    color: #eeeeee;
    font-size: 26px;
    line-height: 150%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
}

.case .box .link {
    position: absolute;
    bottom: 110px;
    display: flex;
    gap: 9px;
    text-align: center;
}

.case .box .more {
    display: none;
}

.case .box .link a {
    box-sizing: border-box;
    display: inline-block;
    width: 300px;
    height: 68px;
    font-size: 26px;
    line-height: 68px;
}

.case .box .link a:nth-child(1) {
    color: #fff;
    border: 1px solid #ffffff;
}

.case .box .link a:nth-child(2) {
    color: #333333;
    background: #ffffff;
}

.case .case-button-prev,
.case .case-button-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    width: 40px;
    height: 74px;
    background: url(/static/pc/icon/021.png) no-repeat center;
    background-size: 100% 100%;
    cursor: pointer;
}

.case .case-button-next {
    right: 0;
    transform: translateY(-50%) rotate(180deg);
}

.case .case-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* #endregion */

/* #region 资讯 */
#news {
    display: none;
}

.news .content {
    display: flex;
    gap: 60px;
    height: 747px;
}

.news .box {
    position: relative;
    width: 720px;
    height: 100%;
}

.news .box .img {
    width: 680px;
    height: 100%;
    margin: 0 auto;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);
}

.news .box .info {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 203px;
    padding: 20px 40px 40px 40px;
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 0em;
    background: rgba(77, 37, 0, 0.9);
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.news .box:hover .info {
    height: 213px;
    transition: 0.3s;
}

.news .box .info::before {
    position: absolute;
    left: 0;
    top: -156px;
    width: 0;
    height: 0;
    content: "";
    border-left: 720px solid transparent;
    border-bottom: 156px solid rgba(77, 37, 0, 0.9);
}

.news .box .info a {
    display: block;
    width: 100%;
    height: 100%;
}

.news .box .info p {
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news .box .more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    color: #fff;
}

.news .newest {
    flex: 1;
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 0em;
}

.news .newest h3 {
    color: #333333;
    font-size: 40px;
}

.news .list {
    width: 660px;
    margin-top: 16px;
}

.news .list li {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 80px;
    row-gap: 16px;
    padding-left: 16px;
    color: #999;
}

.news .list li:not(:first-child) {
    margin-top: 24px;
}

.news .list li::before {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 8px;
    height: 8px;
    content: "";
    background: #b99677;
    border-radius: 50%;
}

.news .list li>p {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news .list .more {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news .list .more a {
    display: none;
    color: #b99677;
}

.news .list .active {
    padding: 0;
    padding-bottom: 24px;
    color: #666;
    border-bottom: 1px solid #cccccc;
}

.news .list .active::before {
    content: none;
}

.news .list .active p {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news .list .active .more {
    width: 100%;
    font-size: 26px;
}

.news .list .active a {
    display: block;
}

.news .news-button-prev,
.news .news-button-next {
    display: none;
}

/* #endregion */

/* #region 适配 */
@media screen and (max-width: 768px) {

    /* #region 基本样式 */
    .module {
        margin-top: 1rem;
    }

    .module>.content {
        margin-top: 1rem;
    }

    .banners .banner {
        height: 11.05rem;
    }

    /* #endregion */

    /* #region 品牌 */
    .brand .list {
        display: none;
    }

    #brand {
        display: block;
        width: 18rem;
        height: 7.525rem;
        margin: 0 auto;
        padding: 15px 0;
    }

    #brand .box {
        position: relative;
        width: 6rem;
        height: 8rem;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    #brand .box .img {
        overflow: hidden;
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
    }

    #brand .box .info {
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding: 1.125rem 0;
        color: #fff;
        font-weight: normal;
        letter-spacing: 0em;
        background: rgba(185, 150, 119, 0.9);
    }

    #brand .swiper-slide {
        display: flex;
        align-items: center;
    }

    #brand .swiper-slide-active {
        z-index: 1;
    }

    #brand .swiper-slide-active .box {
        transform: scale(1.25);
        transition: 0.3s;
    }

    #brand .box .info>img {
        width: 1rem;
        height: 0.9375rem;
    }

    #brand .box .info>h3 {
        position: relative;
        padding-bottom: 0.25rem;
        font-size: 0.75rem;
        line-height: 0.75rem;
        transform: scale(0.8);
    }

    #brand .box .info>h3::after {
        position: absolute;
        left: 50%;
        bottom: -1px;
        width: 1.25rem;
        height: 0.0625rem;
        transform: translateX(-50%);
        content: "";
        background: #fff;
        border-radius: 1px;
    }

    #brand .box .info>p {
        font-size: 0.75rem;
        line-height: 0.575rem;
        text-align: center;
        white-space: nowrap;
        transform: scale(0.5) ;
        transform-origin: 14% 0;
        width: 150%;
    }

    #brand .box .info>p:nth-child(3) {
        margin-top: 0.25rem;

    }

    /*#brand .box .info>p:nth-child(4) {*/
    /*    transform-origin: 40% 0;*/
    /*}*/

    /*#brand .box .info>p:nth-child(5) {*/
    /*    transform-origin: 50% 0;*/
    /*}*/

    /* #endregion */

    /* #region 服务 */
    .project .first {
        gap: 40%;
        margin-top: 1.25rem;
    }

    .project .second {
        gap: 34%;
        margin-top: 0.75rem;
    }

    .project .third {
        gap: 15%;
        margin-top: 0.5rem;
    }

    .project .fourth {
       margin-top: -1.0rem; 
    }

    .project .item {
        gap: 0;
        width: 25%;
    }

    .project .item .box {
        width: 2.15rem;
        height: 2.15rem;
    }

    .project .item .img::after {
        background: linear-gradient(180deg,
                rgba(185, 150, 119, 0.8) 0%,
                #b99677 100%);
    }

    .project .item:hover .img::after {
        background: linear-gradient(180deg,
                rgba(185, 150, 119, 0.8) 0%,
                #b99677 100%);
    }

    .project .item .box>img {
        width: 0.75rem;
        height: 0.8125rem;
    }

    .project .item>h3 {
        font-size: 0.75rem;
        line-height: 0.75rem;
        transform: scale(0.7);
        white-space: nowrap;
    }

    .project .middle {
        width: 7.6rem;
        height: 7.6rem;
    }

    .project .middle::after {
        top: -13.5%;
        border-top: 3px solid rgba(77, 37, 0, 0.8);
        border-right: 3px solid rgba(77, 37, 0, 0.8);
        border-bottom: 3px solid transparent;
        border-left: 3px solid transparent;
    }

    .project .middle .project-img {
        width: 5.925rem;
        height: 5.925rem;
    }

    .project .middle img {
        width: 100%;
        height: 100%;
    }

    /* #endregion */

    /* #region 环境 */
    .comfort .grid {
        grid-template-columns: 6rem 1fr 3.06rem 3.06rem 6rem;
        grid-template-rows: 3.9rem 3.72rem;
        gap: 0.18rem;
        height: 7.8rem;
    }

    /* #endregion */

    /* #region 医生 */
    #doctors {
        display: none;
    }

    #doctor {
        display: block;
    }

    .doctor .container {
        position: relative;
        width: 17rem;
        height: 8.4rem;
        margin: 0 auto;
    }

    .doctor .img-card {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .doctor .img-card .img {
        position: absolute;
        left: 0;
        top: 0;
        width: 5.6rem;
        height: 100%;
    }

    .doctor .img-card .card {
        box-sizing: border-box;
        position: absolute;
        right: 0;
        bottom: 0;
        width: 13.7rem;
        height: 6rem;
        padding: 0.25rem 1rem 0.3125rem 3.24rem;
        color: #593413;
        font-weight: normal;
        letter-spacing: 0em;
        background: linear-gradient(270deg,
                #b99677 0%,
                rgba(185, 150, 119, 0.2) 99%);
    }

    .doctor .img-card .card>h3 {
        font-size: 1rem;
    }

    .doctor .img-card .card>span {
        display: inline-block;
        font-size: 0.75rem;
        transform: scale(0.8);
        transform-origin: 0 0;
    }

    .doctor .img-card .card>p {
        width: 140%;
        color: #fff8f2;
        font-size: 0.75rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        transform: scale(0.7);
        transform-origin: 0 0;
    }

    .doctor .doctors-button-prev,
    .doctor .doctors-button-next {
        display: none;
    }

    .doctor .doctor-button-prev,
    .doctor .doctor-button-next {
        position: absolute;
        left: 16px;
        top: 50%;
        z-index: 10;
        transform: translateY(-50%);
        display: block;
        width: 0.625rem;
        height: 1.125rem;
        background: url(/static/pc/icon/021.png) no-repeat center;
        background-size: 100% 100%;
        cursor: pointer;
    }

    .doctor .doctor-button-next {
        left: auto;
        right: 16px;
        transform: translateY(-50%) rotate(180deg);
    }

    .doctor .doctor-button-disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    /* #endregion */

    /* #region 案例 */
    .case .container {
        width: 16.425rem;
        height: 11.125rem;
    }

    .case .box .img {
        top: 53%;
        width: 8.9rem;
        height: 9.75rem;
        box-shadow: none;
    }

    .case .box .info {
        padding: 1rem;
        width: 9.1rem;
    }

    .case .box .info>h4 {
        font-size: 0.75rem;
        transform: scale(0.8);
        transform-origin: 0 0;
    }

    .case .box .info>h4:not(:first-child) {
        margin-top: 0px;
    }

    .case .box .info>h4:nth-child(2) {
        width: 120%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .case .box .info>p {
        margin-top: 0px;
        width: 200%;
        font-size: 0.625rem;
        -webkit-line-clamp: 9;
        transform: scale(0.5);
        transform-origin: 0 0;
    }

    .case .box .link {
        display: none;
    }

    .case .box .more {
        position: absolute;
        left: 32%;
        bottom: 20px;
        display: block;
        color: #ffffff;
        font-size: 0.75rem;
        line-height: 0.625rem;
        white-space: nowrap;
        transform: scale(0.8);
        transform-origin: 0 0;
    }

    .case .box .more::after {
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 100%;
        height: 0.0625rem;
        content: "";
        background: #ffffff;
    }

    .case .case-button-prev,
    .case .case-button-next {
        left: 16px;
        width: 0.625rem;
        height: 1.125rem;
    }

    .case .case-button-next {
        left: auto;
        right: 16px;
    }

    /* #endregion */

    /* #region 资讯 */
    #news {
        display: block;
    }

    .news .content {
        position: relative;
        height: auto;
    }

    .news .box {
        display: none;
    }

    .news .newest {
        display: none;
    }

    .news .container {
        width: 17.4rem;
        height: 14.45rem;
    }

    .news .item {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .news .item .img {
        width: 100%;
        height: 100%;
    }

    .news .item .info {
        box-sizing: border-box;
        position: absolute;
        top: 0;
        display: block;
        width: 100%;
        height: 100%;
        padding: 1.56rem;
        color: #ffffff;
        font-weight: normal;
        letter-spacing: 0em;
        background: rgba(185, 150, 119, 0.9);
    }

    .news .item .info>h3 {
        font-size: 0.875rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .news .item .info>p {
        margin-top: 1rem;
        width: 125%;
        font-size: 0.75rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 6;
        transform: scale(0.8);
        transform-origin: 0 0;
    }

    .news .item .link {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 26px;
    }

    .news .item .link>a {
        box-sizing: border-box;
        display: block;
        width: 10.25rem;
        height: 1.92rem;
        color: #593413;
        font-size: 0.75rem;
        text-align: center;
        line-height: 1.92rem;
        border: 1px solid #593413;
    }

    .news .news-button-prev,
    .news .news-button-next {
        position: absolute;
        left: 16px;
        top: 50%;
        z-index: 10;
        transform: translateY(-50%);
        display: block;
        width: 0.625rem;
        height: 1.125rem;
        background: url(/static/pc/icon/021.png) no-repeat center;
        background-size: 100% 100%;
        cursor: pointer;
    }

    .news .news-button-next {
        left: auto;
        right: 16px;
        transform: translateY(-50%) rotate(180deg);
    }

    .news .news-button-disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    /* #endregion */
}

/* #endregion */