@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;
}


h1

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

a{
    text-decoration: none;
}

a:hover{
    text-decoration: none;
}

/*--kv------------------------------------------------------------*/
article{
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-top: 60px;
}


article > div{
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-top: 10%;
    background-image: url('../img/kv_jap.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

article > div > .kv_title{
    background-color: rgb(134, 51, 65, 0.8);
    width: 500px;
    height: auto;
    margin-bottom: 8%;
    padding: 30px 40px;
    color: #fff;
}

article > div > .kv_title > h1{
    font-size: 50px;
    line-height: 60px;
    letter-spacing: 1px;
    text-align: left;
    padding-bottom: 20px;
    font-weight: bold;
}

article > div > .kv_title > h2{
    font-size: 25px;
    font-weight: normal;
    line-height: 40px;
    letter-spacing: 3px;
    text-align: left;
}

/*--2025盛夏旅遊 banner----------------------------------------------*/
article#summer-vacation{
    background-color: #fffaec;
    padding-bottom: 60px;

    display: flex;
    justify-content: center;
}
.s-v{
    width: 42%;
    margin: 0 0;

    display: flex;
    justify-content: center;
}
.s-v img{
    width: 100%;
}
.s-v img.subtle-shadow{
    border-radius: 40px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.18);
}

/*--shop------------------------------------------------------------*/

/*--標題------------------------------------------------------------*/
/* 韓國通路 */
.title_blue{
    color: #0482aa; 
}

/* 日本通路 */
.title_red{
    color: #f8524c;
}

/*--背景色------------------------------------------------------------*/
section:nth-of-type(1) {
    /* background-color: #ffdddd; */
}

section:nth-of-type(2) {
    background-color: #ffdadc54;
    padding-bottom: 30px;
}

section:nth-of-type(3) {
    background-color: #dae5ff52;
    padding-bottom: 30px;
}

section > div{
    max-width: 1300px;
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: stretch;
}
section > div > h2 {
    display: block;
    width: 100%;
    margin-top: 100px;
}

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: 25%;    
}

.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;
    margin-bottom: 10px;

}

.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;
}

.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;
}

/*--玉山Wallet優惠條碼專區----------------------------------------------*/

section#esun-wallet-coupon-barcode{
    padding-top: 70px;
    background-color: #fffaec;
}

section > h2.h2-esun-wallet{
    font-size: 28px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 1px;
    text-align: center;
    color: #815325;
}
section > div.esun-wallet-store {
    margin: 10px auto 0px;
}

/*--推薦卡片------------------------------------------------------------*/

#rec-card{
    width: 100%;
    background-color: #fffcf4;
}
#rec-card h2 {
    font-size: 28px;
    line-height: 40px;
    font-weight: 600;
    text-align: center;
    padding: 100px 0 0 0;
    letter-spacing: 2px;
    color: #3cbaad;
    margin: 0 auto;
}

/*--Card--*/
section > div.flex_box{
    background-color: #fffcf4;
}
.flex_box{
    max-width: 1200px;
    height: auto;
    padding: 50px 0;
    margin: 0 auto;


    display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	align-content: stretch;
}

.flex_box > div{
    width: 48%;
    margin: 0 0 50px 0;
    background-color: rgb(255, 255, 255, 0.8);
    box-shadow: 0 0 5px 0 rgb(0, 0, 0, 0.1);
    border-radius: 30px;
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;;
	align-items: center;
	align-content: space-evenly;
}

.flex_box > div > img{
    width: 180px;
}

.flex_box > div > div{
    width: 80%;
}

.flex_box > div > div{
    padding: 25px 10px;
    width: 80%;
}

.flex_box > div > div > h3 {
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    color: #434343;
}

.flex_box > div > div > p{
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 25px;
    color: #434343;
    height: 70px;
    margin-bottom: 1rem;
}


/*--notice------------------------------------------------------------*/
aside{
    width: 100%;
    height: auto;
    overflow: hidden;
}

aside > div{
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    padding: 40px 0 25px 0;
    border-bottom: 1px solid #d9d9d9;
}

aside > div > p{
    font-size: 14px;
    color: #595959;
    font-weight: bold;
    line-height: 35px;
    margin-bottom: 0;
}

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


/*--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) {
    article > div > .kv_title{
        width: 100%;
        margin-bottom: 0;
        padding: 30px 20px;
        color: #fff;
    }
    .s-v{
        width: 50%;
    }
    .flex_box > div > img {
        width: 120px;
    }
}

/*--iPad-----------------------------------------------------------*/
@media screen and (max-width:768px) {
    article > div{
        padding-top: 80%;
    }

    article > div > .kv_title > h1{
        font-size: 40px;
        line-height: 60px;
        padding-bottom: 15px;
    }

    article > div > .kv_title > h2{
        font-size: 20px;
        line-height: 28px;
    }

    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) {
    article{
        padding-top: 56px;
    }

    .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; */
    }
}

/*--Mobile small -----------------------------------------------------------*/
@media screen and (max-width:430px){
    article#summer-vacation{
        padding-top: 60px;
    }
    .s-v {
        width: 80%;
    }
}

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





/* 花瓣1 */
.wobble-hor-bottom {
	-webkit-animation: wobble-hor-bottom 4s 2 both;
	        animation: wobble-hor-bottom 4s 2 both;
}

/* ----------------------------------------------
 * Generated by Animista on 2024-12-19 18:6:17
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation wobble-hor-bottom
 * ----------------------------------------
 */
 @-webkit-keyframes wobble-hor-bottom {
	0%,
	100% {
	  -webkit-transform: translateX(0%);
			  transform: translateX(0%);
	  -webkit-transform-origin: 50% 50%;
			  transform-origin: 50% 50%;
	}
	15% {
	  -webkit-transform: translateX(-30px) rotate(-6deg);
			  transform: translateX(-30px) rotate(-6deg);
	}
	30% {
	  -webkit-transform: translateX(15px) rotate(6deg);
			  transform: translateX(15px) rotate(6deg);
	}
	45% {
	  -webkit-transform: translateX(-15px) rotate(-3.6deg);
			  transform: translateX(-15px) rotate(-3.6deg);
	}
	60% {
	  -webkit-transform: translateX(9px) rotate(2.4deg);
			  transform: translateX(9px) rotate(2.4deg);
	}
	75% {
	  -webkit-transform: translateX(-6px) rotate(-1.2deg);
			  transform: translateX(-6px) rotate(-1.2deg);
	}
  }
  @keyframes wobble-hor-bottom {
	0%,
	100% {
	  -webkit-transform: translateX(0%);
			  transform: translateX(0%);
	  -webkit-transform-origin: 50% 50%;
			  transform-origin: 50% 50%;
	}
	15% {
	  -webkit-transform: translateX(-25px) rotate(-6deg);
			  transform: translateX(-25px) rotate(-6deg);
	}
	30% {
	  -webkit-transform: translateX(15px) rotate(6deg);
			  transform: translateX(15px) rotate(6deg);
	}
	45% {
	  -webkit-transform: translateX(-15px) rotate(-3.6deg);
			  transform: translateX(-15px) rotate(-3.6deg);
	}
	60% {
	  -webkit-transform: translateX(9px) rotate(2.4deg);
			  transform: translateX(9px) rotate(2.4deg);
	}
	75% {
	  -webkit-transform: translateX(-6px) rotate(-1.2deg);
			  transform: translateX(-6px) rotate(-1.2deg);
	}
  }
  