.rectangle {
    position: relative;
    border-radius: 15px;
    background-color: #ffffff;
}

.rectangle .row {
    text-align: left;
}

@media (min-width: 767px) {

    .rectangle .activity_title {
        font-size: 18px;
    }

    .rectangle .activity_info {
        min-height: 85px;
    }
}

@media (min-width: 990px) {
    .rectangle-m {
        margin-left: 10rem !important;
        margin-right: 10rem !important;
        padding-left: 6rem !important;
        padding-right: 6rem !important;
    }
    .activity .rectangle {
        width: 32%!important;
        flex: 0 0 32%;
    }
    .bgcoupon-img {
        margin-top: -265px;
    }
}

.row {
    margin: unset;
}

.header {
    font-size: 40px;
    font-weight: 600;
}

.header1 {
    font-size: 30px;
    font-weight: 600;
}

.header2 {
    font-size: 30px;
}

.header3 {
    font-size: 18px;
    font-weight: 600;
}
.header4 {
    font-size: 16px;
    font-weight: 600;
}

.h250 {
    height: 250px;
}

.h300 {
    height: 300px;
}

.h650 {
    height: 650px;
}

.text {
    font-size: 14px;
    font-weight: 500;
}

.text2 {
    font-size: 16px;
    font-weight: 500;
}

.text3 {
    font-size: 18px;
    font-weight: 500;
}

.text4 {
    font-size: 20px;
    font-weight: 500;
}

.text5 {
    font-size: 22px;
    font-weight: 500;
}

.text6 {
    font-size: 24px;
    font-weight: 600;
}

.text7 {
    font-size: 26px;
    font-weight: 600;
}

.text-red-light {
    color: #f15270;
}

.text-red {
    color: #a5134b;
}

.text-blue {
    color: #294edc;
}

.text-orange {
    color: #f79f00;
}

.text-gray {
    color: #747474;
}

.text-align-center {
    text-align: center;
}

.text-green {
    color: #009245;
}

.text-purple {
    color: #6526f9;
}

.text-overflow {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    max-height: 58px;
}

.btn-fit {
    width: 100%;
    height: 100%;
}

.btn-back {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 264px;
    height: 60px;
    color: #fff;
    border: none;
    border-radius: 34px;  
    color: #fff;
    box-shadow: 0 25px 30px -15px rgba(101, 38, 249, 0.6);
    background-image: linear-gradient(to bottom, #a013fb, #6526f9);
}

.btn-back:hover {
    box-shadow: 0 25px 30px -15px rgba(137, 47, 206, 0.6);
}

.btn-back:hover {
    color: #fff;
}
@media (max-width: 767px) {
    .rectangle {
        text-align: left;
    }
}

.recommend-m-img {
    display: none;
}
.recommend-w-img {
    /*display: none;*/
}

.mb-5rem {
    margin-bottom: 5rem !important;
}

/* 活動頁3頁 */
#activity_pages {
    background-color: #f9efc0;
}

#activity_pages img {
    width: 100%;
}

#activity_pages .title {
    text-align: center
}

#activity_pages .activity_pages_img {
    display: block;
}

#activity_pages .activity_pages_img_m {
    display: none;
}

#activity_pages .rectangle {
    border: solid 1px #f9efc0;
}

.notice {
    background-repeat: no-repeat;
    background-image: url(https://image.meimaii.com/upload/image/z66RfXzl8JvxPHpshCYWRLTQFAGtJKvSfbRKC8sR.png) ,
    linear-gradient(to bottom, #ffeeb8 , #ffeeb8 );
    background-size: 100%;
    background-position: top;
}

.notice .rectangle-title {
    text-align: left;
    margin-top: 13vw !important;
}

.activity_title_img {
    margin-top: -13vw;
}
#activity_pages .notice img {
    width: 360px;
    max-width: 100%;
}

#activity_pages .activity_title_img img{
    width: 900px;
    max-width: 100%;
}
.notice .notice_ul {
    padding-left: 20px;
    list-style-type: decimal;
    word-break: break-all;
}

.notice .notice_ul div {
    margin-left: -10px;
}

@media (max-width: 769px) {
    #activity_pages .activity_pages_img {
        display: none;
    }

    #activity_pages .activity_pages_img_m {
        display: block;
    }

    #activity_pages .list .list_img {
        height: 52px;
        line-height: 52px;
        background-size: contain;
    }

    #activity_pages .notice img {
        width: 100%;
        height: auto;
    }

    .notice .notice_ul div {
        margin-left: -15px;
    }
    .rectangle {
        text-align: left;
    }
    .rectangle {
        position: relative;
        border-radius: 15px;
        background-color: #ffffff;
    }
    #activity_pages .activity_title_img {
        overflow: hidden;
    }
    #activity_pages .activity_title_img img{
        width: 900px;
        max-width: 160%;
        margin-left: -30%;
    }
    .notice .rectangle-title {
        text-align: left;
        margin-top: 25vw !important;
    }
    .activity_title_img {
        margin-top: -25vw;
    }
}

#activity_pages .rectangle {
    border: solid 1px #f9efc0;
}