main#main {
    max-width: 100%!important;
    margin: auto;

}
.top_bk {
    top: 0;
height: 100%;
    background-size: cover;
    background-position: center right;
}
@media screen and (max-width:1024px) {
    .top_bk {
            top: 7%;
    background-position: center center;
}

    }


/*section_01*/
section#section_01 {
    text-align: center;
    position: relative;
    /* margin-bottom: 26px;*/
    margin-bottom: 1.354vw;
}
img.line {
        animation: floatUpDown 3s ease-in-out infinite;
}
section#section_01 h2{
font-weight: 700;
/*font-size: 50px;*/
font-size: 2.604vw;
line-height: 130%;
letter-spacing: 0;
color: #00321D;
/*margin-top: 20px;*/
margin-top: 1.042vw;

}
section#section_01 p {
    font-family: "Noto Serif TC", Arial, serif;
font-weight: 500;
/*font-size: 40px;*/
font-size: 2.083vw;
line-height: 130%;
letter-spacing: 0.3em;
text-align: center;
color: #D5B87C4D;
}
@media screen and (max-width:1024px) {
section#section_01 {
    padding: 30px 0 0 0;
}
img.line {
    height: 40px;
}
section#section_01 h2 {
    font-size: 26px;
    line-height: 130%;
margin-top: 0;
}
section#section_01 p {
font-size: 20px;
}
}

/*section_02*/
section#section_02 {
/* max-width: 1140px !important;*/
    max-width: 59.375vw !important;
    margin: auto;
    /*padding: 30px 20px 0 20px;*/
    padding: 1.563vw 1.042vw 0 1.042vw;
    z-index: 1;
    position: relative;
}
.sop.ay_grid.boxthree {
    /* grid-column-gap: 70px;*/
    grid-column-gap: 3.646vw;
}
.sop_item h3{
font-weight: 500;
/*font-size: 30px;*/
font-size: 1.563vw;
line-height: 130%;
letter-spacing: 0%;
text-align: center;
color: #00321D;
/*margin: 15px 0;*/
margin: 0.781vw 0;
}
.sop_item p{
font-weight: 400;
/*font-size: 20px;*/
font-size: 1.042vw;
line-height: 180%;
letter-spacing: 0;
}
@media screen and (max-width:1024px) {
section#section_02 {
    padding: 0px 20px 0 20px;
}
.sop.ay_grid.boxthree.fade-in-section.visible {
    grid-template-columns: 1fr;
    grid-row-gap: 25px;
}
.sop_item {
    grid-template-columns: 140px auto;
    display: grid
;
    grid-column-gap: 15px;
    align-items: center;
}
.sop_item h3 {
    font-size: 20px;
    text-align: left;
    margin: 0 0 5px 0;
}
.sop_item p {
    font-size: 16px;
    line-height: 160%;
}
}

/*section#section_03*/
section#section_03 {
    /*  margin-top: -128px;*/
    margin-top: -6.667vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.qrcode_content {
    position: relative;
    /*  max-width: 1120px;*/
    max-width: 58.333vw;
    margin: auto;
    /*padding: 20px 20px 120px 20px;*/
padding: 1.042vw 1.042vw 6.250vw 1.042vw;

}
section#section_03 h2 {
font-weight: 700;
/*font-size: 50px;*/
font-size: 2.604vw;
line-height: 130%;
letter-spacing: 0;
color: #fff;
/*margin-bottom: 40px;*/
    margin-bottom: 2.083vw;
}
.qrcode.ay_grid.boxtwo{
    /*grid-column-gap: 43px; */
        grid-column-gap: 2.240vw; 
}
.qrcode_item{
    background: #FFFFFFCC;
backdrop-filter: blur(10px);

box-shadow: 0px 4px 50px 0px #00000033;
border-radius: 40px;
/*border-radius: 2.083vw;*/
position: relative;
/*padding: 50px 0 0 0;*/
padding: 2.604vw 0 0 0;

}
.qrcode_item span {
    font-weight: 700;
    /* font-size: 20px;*/
    font-size: 1.042vw;
    line-height: 180%;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
    background: #00321D;
    position: absolute;
    border-top-left-radius: 40px;
   /* border-top-left-radius: 2.083vw;*/
    border-bottom-right-radius: 40px;
     /*border-bottom-right-radius: 2.083vw;*/
    top: 0;
    left: 0;
    /* padding: 6px 25px;*/
    padding: 0.313vw 1.302vw;
}


.qrcode_item h3{
font-weight: 500;
/*font-size: 30px;*/
font-size: 1.563vw;
line-height: 180%;
letter-spacing: 0;
text-align: center;
color:#00321D;
}
.qrcode_item p{
font-weight: 400;
/*font-size: 18px;*/
font-size: 0.938vw;
line-height: 180%;
letter-spacing: 0;
text-align: center;
color: #525252;
/* margin: 0 70px;*/
    margin: 0 3.646vw;
}
img.line_qr {
    /*max-width: 333px;*/
    max-width: 17.344vw;
    margin: auto;
    text-align: center;
    display:block; 
}
img.popup_qr {
 
    animation: floatUpDown 3s ease-in-out infinite;
}
.popup_qr{
   position: absolute;
   /* right: -17px;*/
    right: -0.885vw;
    top: 32%;
    /*max-width: 126px;*/
    max-width: 6.563vw;
    transition-duration: 0.5s;
}
.qrcode_item:hover .popup_qr {
    transform: scale(1.1);
}
p.qrcode_button{
    display: none;
}
@media screen and (max-width:1024px) {
section#section_03 {
    margin-top: 38px;
}
section#section_03 h2 {
    font-size: 26px;
    margin-bottom: 20px;
}
    .qrcode_content {
        padding: 48px 20px 51px 20px;
    }
    .qrcode_item span {
    font-size: 14px;
    border-top-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 6px 13px;
}
.qrcode_item {
    border-radius: 16px;
    padding: 44px 0 25px 0;
}
.qrcode_item h3 {
    font-size: 16px;
}
.qrcode_item p {
    font-size: 14px;
    line-height: 180%;
    margin: 0 10px;
}
img.line_qr,img.line_qr ,.popup_qr{

    display: none;
}
.qrcode_item.left_fade_in,.qrcode_item.right_fade_in {
    opacity: 1;
    transform: translateX(0);
}
.qrcode.ay_grid.boxtwo {
    grid-column-gap: 10px;
}
p.qrcode_button{

font-size: 16px;
line-height: 180%;
color: #00321D;
border-radius:50px ;
display: block;
        padding: 6px 0;
        margin-top: 15px;
}
p.ocard{
background: #FFEA00;
}
p.line{
background: #4CC764;
}
}
/*section_04*/
section#section_04 {
position: relative;
/*padding: 89px 20px 100px 20px;*/
padding: 4.635vw 1.042vw 5.208vw 1.042vw;
background-color: #f0f9ec;
}
.section_04_content {
    background: #fff;
    /* border-radius: 50px;*/
    border-radius: 2.604vw;
    /* border-top: 7px solid #EBC136;*/
    border-top: 0.365vw solid #EBC136;
    /*border-bottom: 7px solid #EBC136;*/
        border-bottom: 0.365vw solid #EBC136;
        /*max-width: 1000px;*/
        max-width: 52.083vw;
        margin: auto;
        /* padding: 50px;*/
        padding: 2.604vw;

}
.section_04_content img {
 width: 100%;

}
.join_img {
        margin-bottom: 10px;
        cursor: pointer;
        transition: transform 0.2s;
    }
    .join_img:hover {
        transform: scale(1.05);
    }
 .lightbox {
 display: none;                /* 初始隱藏 */
    position: fixed;              /* 固定於螢幕 */
    z-index: -2;                /* 確保在最上層 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);

    align-items: center;          /* 垂直置中 */
    justify-content: center;      /* 水平置中 */
        flex-direction: column;
}
    .lightbox-content {
   max-width: 90%;               /* 限制圖片寬度 */
    max-height: 90vh;             /* 限制高度，不超出視窗 */
    object-fit: contain;          /* 保持比例 */
    border-radius: 4px;           /* 可選：讓圖片圓角一點 */
    box-shadow: 0 0 20px rgba(0,0,0,0.6); /* 可選：柔和陰影 */
    }
    .close {
 
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
        right: 30px;
    width: 100%;
    text-align: right;
    position: relative;
    }
    .close:hover {
        color: #ccc;
    }
@media screen and (max-width:1024px) {
    section#section_04 {

padding: 40px 20px 40px 20px;
}
.section_04_content {
    border-radius: 16px;
    border-top: 5px solid #EBC136;
        border-bottom: 5px solid #EBC136;
     
padding: 15px 10px;
}
}
/*section#section*/
@media screen and (max-width:1024px) {

section#section_02,section#section_03,section#section_04 ,.qrcode_content,.section_04_content{
    max-width:100% !important;
}
    }