/* 通用樣式 */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

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

/* part 1 banner圖樣式 */
.banner {
    background: url("https://www.cashbackisl.com/jp/wp-content/themes/cashback/assets/images/rewardActivity-background.webp");
    height: 490px;
    max-width: 1900px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0;
    background-size: cover;
    margin-top: 130px;
}

.banner-font2 {
    font-size: 24px;
    color: white;
    font-weight: 700;
    text-align: center;
}

/*part 2 參加方法樣式*/
.method {
    background: #F5F5F5;
    max-width: 1240px;
    width: auto;
    border-radius: 25px;
    margin: 50px auto 30px;
}

.method-title {
    background: url("../images/method_background.png") bottom;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    width: auto;
    padding: 50px 0;
    background-size: cover;

}

.method-of-participation {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    padding: 20px;
    background: #000000;
    margin-bottom: 30px;
}

.method-of-participation h2 {
    color: #F4CF3E;
    font-size: 32px;
    text-align: center;
    font-weight: 800;
}

.detailed {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 定义两列，每列占据一半的空间 */
    grid-template-rows: 1fr 1fr; /* 定义两行，每行占据一半的空间 */
    justify-content: center;
    align-items: stretch;
    justify-items: center;
    padding: 0 30px;
    column-gap: 40px;

}

.method-detail {
    font-family: 'Noto Sans JP';
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0;
    column-gap: 15px;
    width: 95%;
    border-bottom: #D3D3D3 3px solid;
}

.method-detail h3 {
    font-weight: 400;
    font-family: 'Arial Black';
    font-size: 48px;
    line-height: 40px;
    font-style: italic;
}

.method-detail p {
    font-size: 22px;
    text-align: justify;
    font-weight: 400;
    padding: 0 10px;
    line-height: 40px;
}

.method-detail a {
    font-size: 22px;
    text-decoration: underline;
}

.method-detail a:hover {
    color: #F4CF3E;
    transition: 0.3s;
}

.method-detail strong {
    font-weight: 700;
}

.note {
    font-size: 14px;
    padding: 30px 0 0 40px;
}

.start-time {
    position: relative;
    width: 60%;
    padding: 10px 5px 0 5px;
    margin-top: 60px;
    background: transparent;
}

.start-time::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #D3D3D3;
    border-bottom: none;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    transform: perspective(50px) rotateX(5deg);
    transform-origin: bottom;
    z-index: 1;
}

.start-time p {
    font-size: 24px;
    line-height: 47px;
    font-weight: 700;
    color: #00000099;
}

/*part 3 註冊登錄引流樣式*/
.register {
    background: url("../images/register-backgroud.webp") round;
    max-width: 1240px;
    width: auto;
    padding: 100px 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    flex-direction: column;
    margin-bottom: 30px;
}

.register-button {
    display: flex;
    column-gap: 40px;
    padding-bottom: 50px;
    width: 60%;
}

.register-button a {
    font-family: Noto Sans JP;
    background: linear-gradient(to bottom, #F4CF3E, #FFFFFF);
    font-size: 32px;
    font-weight: 900;
    line-height: 40px;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
}

.register-button a:hover {
    text-decoration: underline;
    background: linear-gradient(to bottom, #FFFFFF, #F4CF3E);
    transition: 0.5s;
}

.register p {
    color: #ffffff;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
}

.register strong {
    color: #F4CF3E;
}

.register span {
    font-size: 32px;
    color: #F4CF3E;
    line-height: 60px;
    text-align: center;
    font-weight: 900;
}

/*part 4 合作夥伴樣式*/
.partner {
    flex-direction: column;
    row-gap: 20px;
}

.partner-detail {
    background: #f5f5f5;
    width: 100%;
    max-width: 1240px;
    align-items: flex-start;
    padding: 20px 0;
}

.logo img {
    max-width: 210px;
}

.partner-name {
    border-bottom: solid 3px #D9D9D9;
    padding-bottom: 10px;
}

.partner-name h2 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
}

.partner-desc {
    padding-top: 20px;
    column-gap: 15px;
    align-items: flex-start;
    width: 100%;
}

.partner-text {
    padding: 0 15px;
    width: 75%;
}

.partner-grid {
    display: grid;
    column-gap: 30px;
    row-gap: 10px;
    justify-content: flex-start;
    width: 75%;
}

.account-type {
    font-size: 16px;
    line-height: 30px;
    flex-direction: column;
    row-gap: 10px;
    align-items: flex-start;
    margin: 0;
    justify-content: flex-start
}

.account-type h3 {
    font-size: 24px;
    line-height: 30px;
}

.platform {
    background: #000000;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding: 12px 10px;
    color: #f5f5f5;
    font-size: 24px;
    text-align: center;
    font-weight: 700;
}

.platform:hover {
    background: #f5db68;
    color: #000000;
    transition: 0.3s;
}

.platform-flex {
    flex-direction: column;
    row-gap: 10px;
    align-items: stretch;
}

/*part 5 利用規約樣式*/
.announcements {
    background: black;
    width: 100%;
    max-width: 1024px;
    column-gap: 15px;
    border-radius: 10px;
    margin: 50px auto;
}

.announcements h2 {
    color: #F4CF3E;
    font-size: 28px;
    font-weight: 700;
    line-height: 90px;
}

.announcements-text {
    align-items: flex-start;
    column-gap: 20px;
    justify-content: space-between;
    margin-left: 0;
}

.announcements-text p {
    font-size: 14px;
}

.announcements-text h3 {
    font-size: 36px;
    font-style: italic;
    line-height: 45px;
    font-weight: 700;
    font-family: Arial Black;
}

.announcements-content {
    max-width: 960px;
    flex-direction: column;
    margin-bottom: 50px;
}

.announcements-content hr {
    border: none; /* 移除默认的边框 */
    border-top: 3px solid #D3D3D3; /* 添加顶部边框作为分隔线 */
    margin: 30px 0; /* 可选：上下留白 */
    width: 100%;
}

/*底部banner广告l*/
#campaign00 {
    transition: 0.6s;
}

.button-title {
    font-size: 18px;
    font-weight: bold;
    color: #D3D3D3;
}

.button-sub {
    font-size: 16px;
    color: #D3D3D3;
    line-height: inherit;
}

.fixed-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    background: rgba(0, 0, 0, 0.72);
}

.banner-container {
    max-width: 1240px; /* 调整最大宽度 */
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
}

/*文章界面用*/
.banner-container-1 {
    max-width: 1400px; /* 调整最大宽度 */
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
}

.camp_body {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 30px;
    height: 100%;
}

/* 垂直排列样式 */
.text-content.vertical-layout {
    flex-direction: column;
    display: flex;
    justify-content: center;
    width: 66%; /* 保持原始宽度比例 */
}

.text-content h2 {
    color: #D3D3D3;
    font-size: 18px;
    font-weight: 700;
    text-align: center; /* 保持居中 */
}

.text-content p {
    font-size: 16px;
    opacity: 0.9;
    color: #D3D3D3;
    text-align: center; /* 调整为左对齐 */
}

/* 按钮样式更新 */
.camp_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid #ccc;
    background-color: #3ca748;
    height: 60px;
    width: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.camp_btn:hover {
    background-color: #32943c;
    border-color: #aaa;
}

.cta-button {
    width: 30%; /* 保持原始宽度比例 */
    padding: 6px 0;
}

@media screen and (max-width: 1400px) {
    .account-type h3 {
        font-size: 20px;
    }

}

@media screen and (max-width: 1240px) {
    .register {
        margin: 0 10px;
    }

    .method, .partner {
        margin: 30px 10px;
    }

    .announcements {
        width: auto;
        margin: 50px 10px;
    }
}

@media screen and (max-width: 1100px) {
    .platform {
        font-size: 18px;
        padding: 10px 20px;
    }

    .partner-detail {
        flex-direction: column;
    }

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

    .partner-text {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        padding-top: 20px;
    }

    .method-of-participation {
        width: 50%;
    }

    .register-button {
        width: 70%;
    }

    .text-content h2 {
        font-size: 16px;
    }

    .text-content p {
        font-size: 14px;
    }
    .logo img {
        max-width: 270px;
    }
}

@media screen and (max-width: 1024px) {
    .banner {
        margin-top: 0;
    }

    .method-detail h3,
    .announcements-text h3 {
        font-size: 38px;
    }

    .announcements-content,
    .banner-font2 {
        padding: 0 15px;
    }

    .register {
        width: auto;
        padding: 100px 10px;
    }

}

@media screen and (max-width: 968px) {
    .account-type h3 {
        font-size: 18px;
    }

    .platform {
        font-size: 18px;
        padding: 13px 15px;
    }


    .method-of-participation {
        width: 60%;
    }

    .start-time {
        width: 75%;
    }

    .detailed {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        padding: 0 10px;
    }

    .method-detail {
        justify-content: flex-start;
    }

    .register-button a {
        font-size: 25px;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        width: 70%;
    }

    .text-content.vertical-layout,
    .cta-button {
        width: 100%;
    }

    .text-content h2 {
        font-size: 15px;
    }

    .camp_btn {
        height: 30px;
    }

    .button-sub,
    .text-content p {
        display: none;
    }

    .camp_body {
        flex-direction: column;
    }
    .partner-text {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .partner-desc {
        flex-direction: column;
        row-gap: 20px;
    }

    .method-of-participation h2 {
        font-size: 26px;
    }

    .start-time {
        width: 85%;
    }

    .method-detail p,
    .banner-font2,
    .register p,
    .announcements-text p,
    .start-time p {
        font-size: 18px;
        line-height: 30px;
    }

    .method-detail a {
        font-size: 18px;
    }

    .account-type h3 {
        font-size: 24px;
    }

    .platform {
        font-size: 16px;
        padding: 15px 15px;
    }

    .account-type {
        align-items: flex-start;
        margin: 0;
    }

    .platform-flex {
        flex-direction: row;
        column-gap: 25px;
    }

    .banner {
        height: 400px;
    }

    .register-button {
        width: 85%;
    }

    .platform {
        width: 120px;
    }

    .register-button a {
        font-size: 20px;
        line-height: 20px;
    }

    .partner-name h2 {
        text-align: start;
    }

    .partner-grid {
        width: 100%;
    }


}

@media screen and (max-width: 576px) {
    .method-detail h3,
    .announcements-text h3 {
        font-size: 24px;
        line-height: 35px;
    }

    .method-detail p,
    .banner-font2,
    .register p,
    .announcements-text p {
        font-size: 16px;
        line-height: 25px;
    }

    .method-detail a {
        font-size: 16px;
    }

    .start-time p {
        font-size: 13px;
        line-height: 25px;
    }

    .method-of-participation h2 {
        font-size: 24px;
    }

    .announcements {
        margin: 30px 10px;
    }

    .announcements h2 {
        font-size: 32px;
    }

    .method-detail img {
        display: none;
    }

    .register-button a {
        font-size: 15px;
    }

    .announcements-content hr {
        margin: 20px 0;
    }

    .register-button {
        column-gap: 25px;
    }

    .register span {
        font-size: 24px;
    }

    .account-type h3 {
        font-size: 20px;
    }

    .banner {
        height: 350px;
        padding: 50px 0 0 0;
    }

    .register-button {
        width: 100%;
    }

    .method-title {
        margin-bottom: 30px;
    }

    .register {
        padding: 100px 10px 60px 10px;
    }

    .note {
        padding: 30px 0 0 20px;
        font-size: 10px;
    }

    .partner-grid {
        column-gap: 15px;
    }

    .platform {
        width: 125px;
        font-size: 14px;
        padding: 15px 0px;
    }

    .fixed-banner {
        display: none;
    }

    .partner-text {
        width: 95%;
    }
}