body {
    font-family: "Inter";
    background: #f2f2f2;
    line-height: 1.5;
}

/* ---------------------頁首-------------------- */
.header {
    background: #232323;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.logo-main {
    display: flex;
    padding: 20px 20px 20px 0px;
}

h1 {
    padding: 12px 0;
    margin: 10px;
}

.logo-word {
    padding: 20px 0px 20px 0px;
    h1 {
        font-size: 30px;
        font-weight: 400px;
        line-height: 36px;
    letter-spacing: 5px;
    }
    h2 {
        font-size: 15px;
        font-weight: 400px;
        line-height: 1.5;
    }
}

.header-logo {
    display: flex;
    text-decoration: none;
    color: #fff;
    align-content: center;
}
/* 隱藏 burger */
input {
    display: none;
  }

.header-list {
    display: flex;
    list-style-type: none;
    font-size: 25px;
    
}

.header-link {
    text-decoration: none;
    color: #fff;
    top: 10px;
    padding: 30px;
    line-height: 40px;
}

.header-item-now {
    border-bottom: 5px solid #fff;
    padding: 30px 0px 0px 0px;
}

.header-item-now:hover {
    background-color: #000000;
}

.header-item {
    padding: 30px 0px 0px 0px;
}

.header-item:hover {
    background-color: #000000;
}

/* 頁首_手機板 */

@media (max-width: 1024px) {
    .logo-word h2 {
        font-size: 20px!important;
    }
    #rot h2 {
        font-size: 25px!important;
    }
}
@media (max-width: 576px) {
    .header {
        display: flex;
        justify-content: space-between;
        padding: 5px 20px;
    }

    .header div {
        width: 100%;
    }

    .header ul {
        width: 100%;
        align-items: center;
        justify-content: center;
    }


    #rot #rot_ctr1_bod_ctr3 h1 {
        font-size: 1.5rem!important;
        padding-top: 20px!important;
    }

    .logo-word h2 {
        font-size: 20px!important;
    }

    .logo-main {
        padding: 15px 15px 15px 0px;
        justify-content: center;
    }

    .logo-word {
        padding: 0;
        text-align: center;
    }

    .header-link {
        text-decoration: none;
        color: #fff;
        top: 10px;
        padding: 30px;
        line-height: 40px;
        font-size: 15px;
    }

    .header-item {
        padding: 10px 0px 0px 0px;
    }

    .header-item-now {
        border-bottom: 5px solid #fff;
        padding: 10px 0px 0px 0px;
    }

    .v-2 .needvertical {
        width: 100%;
        height: auto;
        position: static;
        transform: none;
    }

    .v-3 {
        display: block;
        width: 100%;
        height: auto;
    }
}

/* ---------------------首頁內容-------------------- */
.video-container {
    margin: 130px 200px 100px 200px;
    h3 {
        color: #824B82;
        font-size: 65px;
        font-weight: 700;
    }
    p {
        font-size: 35px;
        font-weight: 900;
        margin-top: 23px;
        text-align: center;
    }
}

.video-area {
    position: relative;
    margin-top: 19px;
    img {
        top: 19px;
        width: 100%;
    }
    iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 95%;
        height: 93%;
        transform: translate(-50%, -50%);
    }
}
.rectangle {
    width: auto;
    background-color: #824B82;
    border-radius: 150px;
    padding: 27px 60px;
    margin: 100px 0px 0px 0px;
    p {
        font-size: 32px;
        font-weight: 600;
        color: #fff;
        line-height: 1.5;
        text-align: center;
    }
    h4{
        font-size: 40px;
        font-weight: 600;
        color: #fff;
        line-height: 1.5;
        text-align: center;
    }
}

.content-area {
    margin-top: 60px;
}

.content {
    display: flex;
    img {
        width: 40px;
        height: 40px;
    }
    p {
        font-size: 27px;
        line-height: 2;
    }
}

.all-content {
    position: relative;
}

.content-picture {
    position: absolute;
    width: 5%;
    top: 0;
    right: 30%;
}

.theme {
    margin: 100px 200px 100px 200px;
}

.envor-pic {
    margin-top: 97px;
    img{
    width: 100%;}
}
@media (max-width: 1600px) {
    .content-picture {
        display: none;
    }
    .video-container {
        h3 {
            font-size: 56px;
        }
        p {
            font-size: 32px;
        }
    }
    .rectangle {
        h4{
            font-size: 36px;
        }
        p {
            font-size: 24px;
        }
    }
    }
@media (max-width: 1200px) {
    .video-container,.theme {
        margin: 100px 150px;}
    .video-container {
        h3 {
            font-size: 48px;
        }
        p {
            font-size: 28px;
        }
    }
    .rectangle {
        h4{
            font-size: 32px;
        }
        p {
            font-size: 18px;
        }
    }
    .content-area {
        margin-top: 45px;
    }
    .content {
        img {
            width: 40px;
            height: 40px;
        }
        p {
            font-size: 22px;
        }
    }
}
@media (max-width: 991px) {
    .video-container,.theme {
    margin: 60px 100px;}
    .video-container {
        h3 {
            font-size: 28px;
        }
        p {
            font-size: 18px;
        }
    }
    .rectangle {
        padding: 15px 50px;
        h4{
            font-size: 28px;
        }
        p {
            font-size: 14px;
        }
    }
    .content-area {
        margin-top: 30px;
    }
    .content {
        img {
            width: 30px;
            height: 30px;
        }
        p {
            font-size: 18px;
        }
    }
}
@media (max-width: 576px) {
    .video-container,.theme {
    margin: 30px;}
    .envor-pic {
        margin-top: 30px;
    }
    .video-container {
        h3 {
            font-size: 18px;
        }
        p {
            font-size: 12px;
        }
    }
    .rectangle {
        padding: 10px 35px;
        h4{
            font-size: 20px;
        }
        p {
            font-size: 10px;
        }
    }
    .content-area {
        margin-top: 15px;
    }
    .content {
        img {
            width: 15px;
            height: 15px;
        }
        p {
            font-size: 12px;
        }
    }

    .v-2 .needvertical {
        width: 100%;
        height: auto;
        position: static;
        transform: none;
    }

    .v-3 {
        display: block;
        width: 100%;
        height: auto;
    }
}
/* ---------------------頁尾-------------------- */
.footer-container {
    background-color: #232323;
    padding: 60px 200px;
}

.footer {
    display: flex;
    justify-content: space-between;
}

.contact {
    margin-top: 30px;
    img {
        width: 30px;
        height: 30px;
    }
    a {
        text-decoration: none;
        color: #fff;
        font-size: 25px;
    }
    
}
.left-footer p {
    font-size: 35px;
    font-weight: 900;
    color: #fff;
}

.right-footer {
    text-align: right;
    align-content: center;
    img {
        width: 125px;
        height: 125px;
    }
}
.link-footer {
    text-align: right;
    line-height: 1.5;
    p {
        font-size: 30px;
        font-weight: 400;
        color: #fff;
    }
    a {
        text-decoration: none;
        font-size: 20px;
        font-weight: 400;
        color: #fff;
    }
}
/* 頁尾_手機版 */
@media (max-width: 1200px) {
    .link-footer {
        text-align: center;
        line-height: 1;
        margin-top: 28px;
        p {
            font-size: 24px;
        }
        a {
            font-size: 14px;
        }
    }
    .left-footer p {
        font-size: 32px;}
    .contact a {
        font-size: 24px;
    }
}
@media (max-width: 991px) {
    .footer-container {
        padding: 45px 75px;
    }
    .link-footer {
        text-align: center;
        line-height: 1;
        margin-top: 28px;
        p {
            font-size: 18px;
        }
        a {
            font-size: 10px;
        }
    }
    .left-footer p {
        font-size: 24px;}
    .contact a {
        font-size: 18px;
    }
}
@media (max-width: 576px) {
    .footer-container {
        padding: 30px 30px;
    }

    .contact {
        margin-top: 5px;
        a {
            font-size: 10px;
        }
        img {
            width: 12px;
            height: 12px;
        }
    }
    .left-footer p {
        font-size: 12px;
        font-weight: 900;
        color: #fff;
    }

    .link-footer p {
        font-size: 7px;
    }

    .link-footer a {
        font-size: 5px;
    }

    .right-footer img {
        width: 60px;
        height: 60px;
    }
}

/* 服務項目 */
.serv-container {
    margin: 140PX 200PX;
}

.intro {
    border-left: 10px solid #824B82;
    border-right: 10px solid #824B82;
    color: #824B82;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.5;
    padding: 0px 90px;
    text-align: center;
}

.serv-content, .serv-content-right, .serv-content-left {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    align-items: center;

}
.service-left, .service-right{
    width: 45%;
}
.serv-pic img{
    width: 100%;
}
.serv-list {
    font-size: 35px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 10px;
}

.serv-time {
    font-size: 35px;
    display: flex;
    font-weight: 500;
    line-height: 4;
    align-items: center;
    img{
        width: 50px;height: 50px;
    }
}

.serv2 {
    margin-top: 120px;
}

.service-center {
    text-align: center;
    font-size: 35px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 30px;
}
hr{
    display: none;
    border: 1px solid #824B82;
    width: 100%;
    margin: 20px 0px;
}
/* 服務項目-手機板 */
@media (max-width: 1200px) {
    .serv-container {
        margin: 80PX 100PX;
    }
    .intro {
        font-size: 24px;
        line-height: 2;
        padding: 0px 75px;
    }
    .serv-content {
        margin-top: 10px;
        flex-direction: column;
        text-align: center;
    }
    .serv-list {
        font-size: 24px;
    }
    .serv-time {
        font-size: 24px;
        justify-content: center;
        line-height: 2;
        margin-top: 10px;
        img{
            width: 15px;height: 15px;
        }
        
    }
    .service-center {
        font-size: 24px;
    }
    .service-left, .service-right{
        width: 100%;
        text-align: center;
    }
    .rectangle {
        margin: 20px 0px 0px 0px;}
        hr{
            display: grid;
        }
        .serv-content-right{
            flex-direction: column-reverse;
        } .serv-content-left {
            flex-direction: column;
        }
}
@media (max-width: 991px) {
    .serv-container {
        margin: 60PX 60PX;
    }
    .intro {
        border-left: 5px solid #824B82;
    border-right: 5px solid #824B82;
        font-size: 18px;
        font-weight: 700;
        padding: 0px 60px;
    }
    .serv-content {
        margin-top: 10px;
        flex-direction: column;
        text-align: center;
    }
    .serv-list {
        font-size: 18px;
    }
    .serv-time {
        font-size: 18px;
        justify-content: center;
        line-height: 2;
        margin-top: 10px;
        img{
            width: 15px;height: 15px;
        }
        
    }
    .service-center {
        font-size: 18px;
    }
    .service-left, .service-right{
        width: 100%;
        text-align: center;
    }
    .rectangle {
        margin: 20px 0px 0px 0px;}
        hr{
            display: grid;
        }
        .serv-content-right{
            flex-direction: column-reverse;
        } .serv-content-left {
            flex-direction: column;
        }
}
@media (max-width: 576px) {
    .serv-container {
        margin: 35PX 30PX;
    }
    .intro {
        border-left: 5px solid #824B82;
    border-right: 5px solid #824B82;
        font-size: 8px;
        line-height: 2;
        padding: 0px 10px;
    }
    .serv-content {
        margin-top: 10px;
        flex-direction: column;
        text-align: center;
    }
    .serv-list {
        font-size: 12px;
    }
    .serv-time {
        font-size: 12px;
        justify-content: center;
        line-height: 2;
        margin-top: 10px;
        img{
            width: 15px;height: 15px;
        }
        
    }
    .service-center {
        font-size: 12px;
    }
    .service-left, .service-right{
        width: 100%;
        text-align: center;
    }
    .rectangle {
        margin: 20px 0px 0px 0px;}
        hr{
            display: grid;
        }
        .serv-content-right{
            flex-direction: column-reverse;
        } .serv-content-left {
            flex-direction: column;
        }
}

/* 好評推薦 */
.recom-container {
    margin: 140px 200px;
}

.intro {
    margin-bottom: 40px;
h3 {
    color: #824B82;
    font-size: 65px;
    line-height: 1.5;
}}

.blogger {
    display: inline-flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
    img {
        width: 15%;
    }
}

.bgr-content {
    border: 5px solid #824B82;
    width: 75%;
    color: #824B82;
    padding: 37px;
    font-size: 30px;
    font-weight: 700;
    div{
        text-align: right;
        color: #824B82;
    }
}

.bgr-word {
    color: #000;
    line-height: 1.5;
    font-size: 25px;
    font-weight: 500;
}

.recom-end {
    display: flex;
    justify-content: space-between;
margin: 10px 0px;
}
h5{
display: none;
font-size: 24px;
font-weight: 700;
color: #824B82;
}
h6{
    display: none;
    font-size: 14px;
    text-align: center;
    font-weight: 900;
}

.recom-video {
    position: relative;
    width: 30%;

    .needvertical {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 95%;
        height: 93%;
        transform: translate(-50%, -50%);
    }
    img {
        top: 19px;
        width: 100%;
    }
}


.recom-video {
    position: relative;
    width: 30%;

    iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 95%;
        height: 93%;
        transform: translate(-50%, -50%);
    }
    img {
        top: 19px;
        width: 100%;
    }
}

.recom-word {
    border: 5px solid #824B82 !important;
    padding: 64px 39px;
    margin-left: 72px;
    width: 30%;
    align-content: center;
    h4 {
        color: #824B82;
        align-items: center;
        font-size: 3vw;
        font-weight: 700;
        text-align: center;
        line-height: 1.5;
    }
    p {
        color: #000;
        font-size: 30px;
        font-weight: 900;
        text-align: center;
        line-height: 1.5;
        /* margin-top: 38px; */
    }
}

/* Responsive adjustments for h4 */
@media (max-width: 1600px) {
    .recom-word {
        padding: 45px 10px;
        h4 {
            font-size: 2vw;
        }
        p {
            font-size: 24px;
            /* margin-top: 38px; */
        }
    }
}
@media (max-width: 1200px) {
    .recom-container {
        margin: 80px 100px;
    }
    
    .intro {
        margin-bottom: 40px;
    h3 {
        font-size: 48px;
    }}
    .blogger {
        img {
            width: 15%;
        }
    }
    .bgr-content {
        padding: 25px;
        font-size: 25px;
    }
    .bgr-word {
        font-size: 25px;
    }
    .recom-word {
        padding: 30px 10px;
        h4 {
            font-size: 32px;
        }
        p {
            font-size: 18px;
            margin-top: 38px;
        }
    }
}
@media (max-width: 991px) {
    .recom-container {
        margin: 60px 60px;
    }
    
    .intro {
        margin-bottom: 40px;
    h3 {
        font-size: 32px;
    }}
    .blogger {
        img {
            width: 20%;
        }
    }
    .bgr-content {
        padding: 15px;
        font-size: 18px;
        width: 70%;
    }
    .recom-word {
        display: none;
    }
    .bgr-word {
        font-size: 18px;
    }
    .recom-video {
        margin: 0 auto;
    }
    .recom-end {
        display: flex;
        justify-content: space-between;
        margin: 10px 0px;
    }
    h5{
        display:block;
        font-size: 24px;
        font-weight: 700;
    }
    h6{
        display: block;
        font-size: 14px;
        text-align: center;
        font-weight: 900;
    }
}
@media (max-width: 576px) {
    span{
        display: none;
    }
    .recom-container {
        margin: 35px 30px;
    }
    
    .intro {
        margin-bottom: 40px;
    h3 {
        font-size: 18px;
    }}
    .blogger {
        img {
            width: 20%;
        }
    }
    .bgr-content {
        padding: 8px;
        font-size: 12px;
        width: 70%;
    }
    .bgr-word {
        font-size: 12px;
    }
    .recom-word {
        display: none;
    }
    .recom-video {
        margin: 0 auto;
    }
    .recom-end {
        display: flex;
        justify-content: space-between;
        margin: 10px 0px;
    }
    h5{
        display: block;
        font-size: 18px;
        font-weight: 700;
    }
    h6{
        display: block;
        font-size: 12px;
        text-align: center;
        font-weight: 900;
    }
}

.v-2 .needvertical {
    background: none;
}

.v-2 .needvertical iframe,
.v-2 .needvertical video {
    width: 100%;
    height: auto;
}

@media only screen and (max-width: 600px) {

    .v-2 .needvertical iframe,
    .v-2 .needvertical video {
        width: 100%;
        height: 100%;
    }
}

.needvertical {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95%;
    height: 93%;
    transform: translate(-50%, -50%);
}


.v-3 {
    display:none;
}

@media (max-width: 991px) {
    .v-3 {
        display:block;
        height:800px;
}
}