@charset "utf-8";

/**思源宋體**/

@import url('https://fonts.googleapis.com/css?family=Noto+Serif+TC&display=swap');
body {
    font-family: "微軟正黑體", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
    background: #fefefa;
    margin: 0;
    padding: 0;
    color: #232323;
}

/* 錨點top偏移矯正 height of sticky header */
/* html{
    scroll-padding-top: 75px !important;
} */


.jumptarget {
    scroll-margin-top: 100px;
  }

/* .jumptarget::before {
    content:"";
    display:block;
    height: 75px;
    margin: -75px 0 0;
  } */

.top-without-brand {
    /* 使手機無法左右浮動 */
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

h1 {
    scroll-margin-top: 50px
  }

/* :target:before {
    content: "";
    display: block;
   margin-top: -150px;
   height: 150px;
   visibility: hidden;
} */

.text-center{
    text-align: center;
}

section {
    display: block;
}

* {
    box-sizing: border-box;
}

strong {
    font-weight: bold;
}

area {
    outline: 0;
}

img[usemap] {
    border: none;
    height: auto;
    max-width: 100%;
    width: auto;
}

.clearfix {
    clear: both;
}

a {
    color: #5d656c;
    text-decoration: none;
}

li {
    list-style: none;
}

#header,
.header,
.header img,
#footer,
.footer,
.footer img {
    padding: 0;
    margin: 0;
    margin-bottom: -2px;
    overflow: hidden;
    width: 100%;
}

/*******************
bg setting
*******************/




/*******************
hr setting
*******************/

hr.title-hr {
    width: 72px;
    height: 1px;
}

hr.mission-hr {
    background: #cecece;
    width: 60%;
    margin: 0 auto;
}


/*******************
btn setting
*******************/

.btn-wrapper {
    width: 100%;
    margin: 20px auto;

}

.btn-wrapper .btn {
    display: inline-table;
}

.btn {
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 1px;
    width: 18%;
    height: 1.8vw;
    text-align: center;
    padding-top: 0.7%;
    border-radius: 20px;
}
.btn-info {
    display: inline-block;
    margin-left: 2%;
    background: #3672a5;
    color: #fff;
}
.btn:hover {
    background: #003399;
    transition: all .2s linear;
    cursor: pointer;
}
/*******************
font setting
*******************/

.event-wrap {
    /*** 思源宋體+futura ***/
    /*    font-family: futura-pt, Helvetica, Arial, sans-serif, 'Noto Serif TC';*/
    /*** only思源宋體 ***/
    /*    font-family: 'Noto Serif TC', serif;*/
    /*** 如果讀不到思源宋體，用回微軟正黑體 ***/
    font-family: futura-pt, Helvetica, Arial, sans-serif, "微軟正黑體", "Microsoft JhengHei";
}
.title {
    margin: 7% 33% 3%;
    width: 34%;
}

/*color*/
.text-theme {
    color: #59ffdd;
}
.text-black {
    color: #232323;
}
.text__theme{
    color: #fff;
}
.text__yellow{
    color: #ebfa69;
}
.text__green{
	color:#33ffff;
}

/*******************
kv
*******************/

.kv-wrap {
    position: relative;
    margin-top: 150px;
}

.kv-title-wrap {
    width: 100%;
    position: absolute;
    bottom: -3%;
}
.kv-img-wrap img {
    width: 100%;
}

.kv-title {
    width: 100%;
    margin: 15px auto;
    font-size: 45px;
    font-weight: 600;
    line-height: 58px;
    letter-spacing: 1px;
}

.kv-btn-wrap ul {
    width: 100%;
    margin: 0 auto -5vw;
    text-align: center;
}

.kv-btn-wrap ul li {
    width: 15%;
    /* height: 52px; */
    display: inline-table;
    font-size: 20px;
    overflow: hidden;
    text-align: center;
    margin-right: 30px;
}

.kv-btn-wrap ul li i {
    font-size: 50px;
    position: relative;
    top: 6px;
}

.kv-btn-wrap ul li i.fa-envelope, .kv-btn-wrap ul li i.fa-line {
    font-size: 65px;
    position: relative;
    margin-top: -13px;
    top: 14px;
}

.kv-btn-wrap ul li .kv-btn-text {
    position: relative;
    top: -8px;
}

.kv-btn-wrap ul a:hover li {
    background: #3bffea;
    transition: all .2s linear;
}

/*CSS濾鏡*/
.hover_filter:hover{
	filter: saturate(150%);

}
/*******************
scroll
*******************/


/* scroll */

.scroll-wrap {
    text-align: center;
    padding-bottom: 30px;
}

.scroll-type {
    width: 100%;
    height: 56px;
    margin: 0 auto;
    text-align: center;
    padding-top: 10px;
    -webkit-animation: arrow 1s infinite;
    animation: arrow 1s infinite;
}

.scroll-text {
    font-size: 12px;
    font-size: 600;
    margin-top: 10px;
    color: #232323;
}

@keyframes arrow {
    0% {
        padding-top: 10px;
    }
    100% {
        padding-top: 20px;
    }
}



/*******************
pop-up
*******************/


/***** popup's controler *****/

.popup__btn{
    margin: 7% 0 20px 38%;
    padding-top: 3px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: opacity 200ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}
/******** 簽到區域 **********/
.point-warp{
	background-color: #95ceea;
	padding: 3vw;
	margin-top: -1vw;
}
.point_bg_L {
    position: absolute;
    width: 17%;
    margin: 2.2% auto auto -3%;
}
.point_bg_R {
    position: absolute;
    margin: 2.2% auto auto 80%;
    width: 17%;
}
.point-box {
    background-color: #6699cc;
    border-radius: 20px;
    width: 65%;
    margin: 0 auto;
    padding: 3% 0;
}
.point-box p {
    color: #fff;
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    padding: 2%;
}
.point-box ul {
    text-align: center;
    width: 80%;
    margin: auto;
    /*margin-left: -10%;*/
}
.point-box ul li a{
	display: inline-block;
	position: relative;
	width: 150px;
	height: 150px;
	margin: auto 1% 2%;
}
.point-box ul li a:hover{
	filter: saturate(150%);
}
.point-box ul li a img{
	position: absolute;
	width: 100%;
	height: 100%;
}
.point_tbc{
	z-index: 30;
}
.point_success{
	z-index: 20;
}
.point_timeout{
	z-index: 10;
}
.point-btn {
    text-align: center;
    padding-bottom: 2%;
}
/***** popup's appearance *****/


/* Modal */
.popup_link {
    font-size: 1em !important;
    color: #e44e9a !important;
    background-color: white !important;
    padding: 0 !important;
}
.popup_link:hover{
	color: #e27e20 !important;
}
.pop-modal {
    background-color: rgba(0, 0, 0, .65);
    display: none;
    overflow: auto;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 8%;
}


/* Modal Content */

.modal-content {
    position: relative;
    top: 0px;
    width: 600px;
    margin: 0 auto;
    background-color: #434343;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.modal-animated-in {
    animation: totop-in .3s ease;
}

.modal-animated-out {
    animation: totop-out .3s ease forwards;
}

.modal-header {
    background-color: #3672a5;
    width: 100%;
    height: 60px;
    line-height: 60px;
    padding-left: 20px;
}

.modal-content .close {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #6699cc;
    width: 60px;
    height: 60px;
    color: #fff;
    line-height: 60px;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
}

.modal-content .close:hover {
    background-color: #fff;
    color: #222;
}

.modal-header h3 {
    color: #fff;
    font-weight: bolder;
    font-size: 20px;
}


/* Modal Body */

.modal-body {
    padding: 20px 27px 20px 20px;
    line-height: 1.3vw;
    font-size: 15px;
    color: #003399;
    background-color: #fff;
}

.modal-body h3 {
    font-size: 1.5em;
    line-height: 2em;
}

.modal-body-inner {
    overflow-y: auto;
    height: 350px;
    padding: 0 30px 0 10px;
}

.modal-body-inner hr {
    width: 97%;
}

.modal-body-inner h3 {
    margin-bottom: 5px;
}

.modal-body-inner::-webkit-scrollbar-track {
    background-color: #99c5eb;
}

.modal-body-inner::-webkit-scrollbar {
    width: 5px;
    background-color: #0033a9;
}

.modal-body-inner::-webkit-scrollbar-thumb {
    background-color: #003399;
}

.modal-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.modal-body ul li {
    position: relative;
    margin-left: 30px;
    margin-bottom: 1vw;
    list-style-type: decimal-leading-zero;
}

.modal-body ul li::before {
    position: absolute;
    color: #5cc560;
    left: -20px;
    top: 10px;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.modal-body a.link {
    color: #003399;
    font-size: 1em;
    background-color: inherit;
    padding: 0;
    text-decoration: underline;
}

.modal-body a:hover.link {
    background-color: inherit;
}

.modal-body a {
    color: #fff;
    background-color: #f88ca7;
    font-size: 1.1em;
    font-weight: bold;
    padding: 0.5% 5%;
    border-radius: 15px;
}

.modal-body a:hover {
    background-color:#b94260;
    transition: all .2s linear;
}

.modal-body-text-wrap {
    margin: 2vw auto;
    margin-top: 5%;
}

.modal-body-text {
    font-size: 1em;
}

.modal-body-text-wrap h5 {
    color: #00bcd4;
    font-size: 15px;
}

.modal-sec-text li {
    color: #00bcd4;
    margin-left: 8% !important;
    list-style-type: circle !important;
}

/* Modal Footer */

.modal-footer {
    background-color: #656464;
    width: 100%;
    height: 60px;
    line-height: 60px;
    padding-left: 20px;
}
/*******************商品推薦 event highlight*******************/
.product_wrap {
    background-image: url(../images/bg_product.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -1%;
}
.eh_wrap {
    background-image: url("../images/bg_event.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -1%;
}
.eh {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    padding: 3.5vw 16px 1.3vw 16px;
    box-sizing: border-box;
}
.eh_title {
    width: 40%;
    height: auto;
    margin: 0px auto 2vw auto;
}
.product {
    width: 100%;
    max-width: 60%;
    margin: 0 auto;
    padding: 3.5vw 16px 1.3vw 16px;
    box-sizing: border-box;
}
.product_title{
    width: 40%;
    height: auto;
    margin: 0px auto 2vw auto;
}
.eh_flexG3_container {
    width:100%; /*電腦版宮格總寬度-可調整*/
    margin:0px auto;
    display:flex;
    display: -webkit-flex;
    flex-wrap:wrap;
    justify-content:space-between;
    transition:  0.2s;
    padding:0;
    box-sizing: border-box;
}
.eh_flexG3_container a, .eh_flexG3_container img {
    width:100%;
    height:auto;
    display:block;
}    
.eh_flexG3_item {
    flex-basis: 30.5%;
    margin-bottom: 1.5vw;
    background-color: white;
    padding-bottom: 25px;
}
.eh_item{
	flex-basis: 23.5%;
}
.eventInfo {
  padding: 8px 0;
  text-align: center;
}
.eventTitle {
    font-size: 1.4em;
    font-weight: bold;
    line-height: 2.5em;
    color: #e44e9a;
}
.eventDesc {
  font-size: 16px;
  line-height: 24px;
  color: #333;
}
.btn_event {
  width: 36%;
  margin:0 auto;
  color: #fff;
  background-color: #000;
  margin-top:0.5vw;
}
/*lively*/
.livelyBtn {
    font-size: 1em;
    color: #fff;
    background-color: #000;
    height: 1.5vw;
    line-height: 1.5vw;
    padding: 0 8px !important;
    text-align: center;
    transition: 0.2s transform ease-in-out;
    position: relative;
    z-index: 0;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 0;
}
.livelyBtn::after {
  background-color: #e44e9a; /*hover背景顏色*/
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-100%, 0) rotate(10deg);
  transform-origin: top left;
  transition: 0.2s transform ease-out;
  z-index: -1;
  box-sizing: border-box;
}
.livelyBtn:hover::after {
  transform: translate(0, 0);
}
.livelyBtn:hover {
  color: #fff; /*hover文字顏色*/
  /*transform: scale(1.03);*/
}


/***** Keyframes for popup's showing up *****/

@keyframes totop-in {
    0% {
        top: 600px;
        opacity: 0;
    }
    100% {
        top: 0;
        opacity: 1;
    }
}

@keyframes totop-out {
    0% {
        top: 0px;
        opacity: 1;
    }
    100% {
        top: -100%;
        opacity: 0;
    }
}

.point-box ul a .point_tbc {
    display: block;
}

.point-box ul a .point_success {
    display: none;
}

.point-box ul a .point_timeout {
    display: none;
}

.point-box ul a.notyet {
    opacity: 0.5;
}

.point-box ul a.success .point_tbc {
    display: none;
}

.point-box ul a.success .point_success {
    display: block;
}

.point-box ul a.success .point_timeout {
    display: none;
}

.point-box ul a.timeout .point_tbc {
    display: none;
}

.point-box ul a.timeout .point_success {
    display: none;
}

.point-box ul a.timeout .point_timeout {
    display: block;
}