@import url("reset.css");

*{
    margin:0;
    padding:0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    font-family: Arial,"Microsoft JhengHei","Heiti TC","sans-serif";
}

img{
    display: block;
}

html{
    scroll-behavior: smooth;
}
.seo-h1,.seo-h2,.seo-h3,
.seo-h4,.seo-h5,.seo-h6{
    margin: 0px;
    padding: 0px;
    height: 0px;
    width: 0px;
    transform: scale(0);
} 

h2

:target{
    scroll-margin-top: 100px;
}

a{
    text-decoration: none;
}

a:hover{
    text-decoration: none;
}






section{
    width: 100%;
    height: auto;
    overflow: hidden;
    /* background-color: #fff; */
}

section > div{
    max-width: 1300px;
    margin: 30px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: stretch;
}

section > div > .box{
    width: 50%;
    margin: 50px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    align-content: stretch;
}

.box > .box_img{
    width: 30%;    
}

.box > .box_text{
    margin-left: 2%;
    width: 68%;
}

.box > .box_text > h3{
    font-weight: bold;
    padding-top: 10px;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.8px;
}

.box > .box_text > div{
    padding: 10px 0;
}

.box > .box_text > div > p{
    font-size: 15px;
    line-height: 28px;
    letter-spacing: 0.3px;
}
.box > .box_text > div > p > a{
    color: #00a19b;
    font-weight: bold;
    text-decoration: underline;
}

.box > .box_text > div ul{
    font-size: 15px;
    line-height: 28px;
    letter-spacing: 0.3px;
}

.note{
    font-size: 13px;
    line-height: 24px;
    padding: 10px 0 0 0;
    letter-spacing: 0.4px;
    color: #565656;
}

.note_red{
    font-size: 13px;
    line-height: 24px;
    margin: 0 0 0 1em;
    text-indent: -1em;
    padding: 10px 0 0 0;
    letter-spacing: 0.4px;
    color: #F8524C;
}

em{
    font-style: normal;
    color: #F8524C;
    font-weight: bold;
}


.winter{
    background-size: contain;
    background: url('../img/kv_og/travel-campaign_bg.png') bottom center;
    background-repeat: no-repeat;
    padding-bottom: 200px;

}

.box > .box_text > time{
    font-size: 12px;
    color: #00a19b;
    border-style: solid;
    border-width: 1px;
    display: inline;
    padding: 3px 8px;
}

.modal-title{
    font-size: 16px;
    font-weight: bold;
    margin-left: 0.3em;
}

.modal-body > ol{
    list-style-type: dism;
    font-size: 14px;
    color: #595959;
    line-height: 30px;
    margin-left: 1.5em;
    text-align: justify;
}

.modal-body li li{
    counter-increment: my-counter;
    margin-left: 1.2em;
    text-indent: -1.2em;
}

.modal-body li li::before {
  content: "("counter(my-counter) ")";
}

.modal-body a{
    color: #00a19b;
    text-decoration: underline;
}


/*--PC------------------------------------------------------------*/
@media screen and (max-width:1200px) {
    section > div{
        width: 95%;
    }
    aside > div{
        width: 90%;
    }
    .s-v{
        width: 46%;
    }
    section > div.flex_box{
        width: 90%;
    }
}

/*--iPad pro------------------------------------------------------------*/
@media screen and (max-width:1024px) {
    .flex_box > div > div > p {
        height: 120px;
    }
}

/*--Pad------------------------------------------------------------*/
@media screen and (max-width:920px) {
    .s-v{
        width: 50%;
    }
    .flex_box > div > img {
        width: 120px;
    }
}

/*--iPad-----------------------------------------------------------*/
@media screen and (max-width:768px) {



    section > div {
        width: 92%;
        justify-content: center;
    }

    section > div > .box{
        width: 100%;
    }

    .box > .box_text {
        width: 75%;
    }

    aside > div > ol{
        margin-left: 1.4em;
        text-align: left;
        line-height: 28px;
    }
    .s-v{
        width: 56%;
    }
    .flex_box{
        align-items: flex-start;
    }

    .flex_box > div{
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 20px;
    }

    .flex_box > div > img{
        width: auto;
        height: 100px;
        margin: 8% 8% 8% 0;
    }

    .flex_box > div > div {
        padding: 0;
        width: 100%;
    }

    .flex_box > div > div{
        padding: 10px 5px 10px 15px;
    }

    .flex_box > div > div > p {
        height: 85px;
    }
}
/*--Mobile-----------------------------------------------------------*/
@media screen and (max-width:540px) {
    }

    .box > .box_text > h3{
        font-size: 18px;
    }

    .modal-body > ol{
        text-align: left;
    }
    .s-v {
        width: 80%;
    }
    section > h2.h2-esun-wallet{
        font-size: 26px;
    }
    .flex_box > div {
        margin: 0 0 30px 0;
    }
    .flex_box > div > div > p{
        height: 180px;
        /* height: auto; */
    }
    .flex_box .btn_s{
        width: 110px;
    }
    #winter{
        background-size: contain;
        background: url('../img/kv_og/travel-campaign_bg_m.png') bottom center;
        background-repeat: no-repeat;
    }

/*--Mobile small small -----------------------------------------------------------*/
@media screen and (max-width:375px){
    .flex_box > div > div > p{
        height: auto;
    }
}





/*-- li 點點----------------------------------------------------*/
  .dot{
    list-style-type: disc;   /* 實心圓點 */
  }
  /*-- nav 文字顏色----------------------------------------------------*/
.text_orange a{
    color: darkorange;
    font-weight:600;
}
.text_green a{
    color: #00a19b;
    font-weight:600;
}
.text_green a:hover{
    color: #5fc7b9;
    font-weight:600;
}


@media screen and (max-width:590px){
section > div > .box{
    display: inline-block;
}

.box > .box_img {
  width: 100%; 
}

.box > .box_text {
  width: 100%; 
  margin-left: 0; /* 移除左邊距 */
  /* 其他文字樣式 */
    }
}

