body, button, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, input, select, textarea {
    font-family: "Helvetica Neue", Helvetica, Arial, "微軟正黑體", "微软雅黑", "メイリオ", "맑은 고딕", sans-serif;
    font-weight: 400;
}

body {
    line-height: 1.8;
    font-size: 20px;
    color: #212121;
    background: url(../images/bg01.png) repeat;
    background-color: #e7f5ff;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 16px;
    }
}

li {
    list-style: none;
}

@media screen and (max-width:768px) {
    /* body {
        font-size: 0.875rem;
    } */
    .h1 {
        font-size: 2rem;
    }
    .h2 {
        font-size: 1.75rem;
    }
    .h3 {
        font-size: 1.5rem;
    }
    .h4 {
        font-size: 1.25rem;
    }
    .h5 {
        font-size: 1rem;
    }
    .h6 {
        font-size: 0.875rem;
    }
}

.line-h14 {
    line-height: 1.4;
}

.line-h16 {
    line-height: 1.6;
}

.line-h18 {
    line-height: 1.8;
}

.font-weight-bolder {
    font-weight: 800 !important;
}

.content-fluid {
    /* container-fluid */
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.contentbox {
    /* container */
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (min-width: 576px) {
    .contentbox {
        max-width: 540px;
    }
}

@media screen and (min-width: 768px) {
    .contentbox {
        max-width: 720px;
    }
}

@media screen and (min-width: 992px) {
    .contentbox {
        max-width: 960px;
    }
}

@media screen and (min-width: 1200px) {
    .contentbox {
        max-width: 1140px;
    }
}

.rowline {
    /* row */
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/*-------------------- 共用顏色樣式 --------------------*/

.text-orange {
    color: #ff6600 !important;
}

.text-darkpink {
    color: #e0447f !important;
}

.text-blue {
    color: #2176eb !important;
}

.text-lightgreen {
    /* color: #7ec600; */
    color: #009d80 !important;
}

.btn-danger {
    color: #fff;
    background-color: #fe6e6e;
    border-color: #fe6e6e;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #fa3c3c;
    border-color: #fa3c3c;
}

#discount .btn-danger {
    color: #fff;
    background-color: #fe6e6e;
    border-color: #fe6e6e;
    transition: all 0.3s ease;
}

#discount .btn-danger:hover {
    background-color: #fa3c3c;
    border-color: #fa3c3c;
}

#discount .btn-outline-danger {
    font-weight: 600;
    color: #fa3c3c;
    border-color: #fe6e6e;
    border-width: 2px;
    transition: all 0.3s ease;
}

#discount .btn-outline-danger:hover {
    font-weight: 400;
    color: #fff;
    background-color: #fe6e6e;
    border-color: #fe6e6e;
}

#hotel_tw .btn-danger {
    color: #fff;
    background-color: #579af7;
    border-color: #579af7;
    transition: all 0.3s ease;
}

#hotel_tw .btn-danger:hover {
    background-color: #2f83f6;
    border-color: #2f83f6;
}

#hotel_tw .btn-outline-danger {
    font-weight: 600;
    color: #2f83f6;
    border-color: #579af7;
    border-width: 2px;
    transition: all 0.3s ease;
}

#hotel_tw .btn-outline-danger:hover {
    font-weight: 400;
    color: #fff;
    background-color: #579af7;
    border-color: #579af7;
}

#discount .activity_intro:hover .btn-danger {
    background-color: #fa3c3c;
    border-color: #fa3c3c;
}

#hotel_tw .activity_intro:hover .btn-danger {
    background-color: #2f83f6;
    border-color: #2f83f6;
}

/*-------------------- 主視覺+頁籤 --------------------*/

#main_top>h1 {
    display: block;
    max-width: 0;
    max-height: 0;
    overflow: hidden;
    line-height: 0;
    font-size: 1px;
    padding: 0;
    margin: 0;
}

#main_top img[src*="top_heart.png"] {
    width: 36.04%;
    position: absolute;
    height: auto;
    bottom: 0;
    right:7%;
    animation-name: heartbeat;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes heartbeat {
    0% { -webkit-filter:saturate(1) contrast(1) brightness(1);filter:saturate(1) contrast(1) brightness(1); }
    50% { -webkit-filter:saturate(1.5) contrast(1.5) brightness(0.9);filter:saturate(1.5) contrast(1.5) brightness(0.9); }
    100% { -webkit-filter:saturate(1) contrast(1) brightness(1);filter:saturate(1) contrast(1) brightness(1); }
}

#main_top {
    width: 100%;
    height: 0;
    padding-bottom: 27.083%;
    position: relative;
    background: url(../images/top_1920x520.jpg) no-repeat center;
    background-size: cover;
}

@media screen and (max-width: 991px) {
    #main_top {
        width: 100%;
        height: 0;
        padding-bottom: 52.33%;
        background: url(../images/top_1200x628.jpg) no-repeat center;
        background-size: cover;
    }
    #main_top img[src*="top_heart.png"] {
        display: none;
    }
}

@media screen and (max-width: 575px) {
    #main_top {
        width: 100%;
        height: 0;
        padding-bottom: 71.11%;
        background: url(../images/top_900x640.jpg) no-repeat center;
        background-size: cover;
    }
}

.nav_bar {
    position: relative;
    margin: -30px auto 0 auto;
    background-color: #579af7;
    width: 80%;
    max-width: 827px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    z-index: 999;
}

.nav_bar .col-6 {
    position: relative;
    text-align: center;
    margin: 13px 0;
    height: 48px;
}

.nav_bar .col-6:first-child {
    border-right: 1px solid #99d1ff;
}

.nav_bar .col-6>img {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.nav_bar .col-6>img:hover {
    filter: drop-shadow(5px 5px 0 #2a7cee);
    margin: -1px 0 0 -1px;
}

@media screen and (max-width: 767px) {
    .nav_bar {
        width: 90%;
    }
    .nav_bar .col-6 {
        height: 35px;
    }
    .nav_bar .col-6>img {
        transform: scale(0.7) translate(-50%, -50%);
        transform-origin: 0 0;
    }
}

/* Safari 6.1+ */

/* @media screen and (max-width: 767px) and (-webkit-min-device-pixel-ratio:0){
    .nav_bar>ul li:nth-of-type(1), .nav_bar>ul li:last-of-type {
        height: 3.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

} */

/*-------------------- 卡片區 #thanktxt_info --------------------*/

#thanktxt_info .contentbox>div {
    width: 90%;
    background: url(../images/bg03.png) no-repeat center;
    background-size: contain;
}

.thanktxt_txt_area {
    position: relative;
    text-align: center;
    padding: 100px 0;
    margin: 40px 0;
}

.thanktxt_txt_area>img {
    position: absolute;
    right: -50px;
    bottom: 0;
}

@media screen and (max-width: 991px) {
    .thanktxt_txt_area>img {
        right: -110px;
        transform: scale(0.85);
    }
}

@media screen and (max-width: 767px) {
    .thanktxt_txt_area {
        margin: 40px 0;
        padding: 0;
    }
    .thanktxt_txt_area>img {
        position: static;
        transform: scale(0.9);
    }
    .thanktxt_txt_area>span {
        display: block;
    }
    #thanktxt_info .contentbox>div {
        margin: 0 auto;
    }
}

/*-------------------- theme --------------------*/

.contentbox_main {
    padding: 60px 0 50px;
}

#hotel_tw {
    background: url(../images/bg02.gif) repeat;
}

.theme_area {
    margin-bottom: 80px;
}

.activity_intro {
    position: relative;
    transition: box-shadow 0.3s ease;
}

.activity_intro>a {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.activity_intro>.rowline {
    position: relative;
    justify-content: flex-end;
}

.theme_pic {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    flex: 0 0 53%;
    max-width: 53%;
    z-index: 9;
}

.theme_txt {
    margin-top: 70px;
    flex: 0 0 53%;
    max-width: 53%;
    z-index: 8;
    transition: all 0.3s ease;
}

.theme_pic .title_area {
    position: absolute;
    top: 20px;
    left: -30px;
    text-align: left;
}

@media screen and (max-width: 767px) {
    .activity_intro>.rowline {
        flex-direction: column;
    }
    .theme_pic {
        position: relative;
        flex: 0 0 100%;
        max-width: 100%;
        z-index: 1;
    }
    .theme_txt {
        margin-top: 0;
        flex: 0 0 100%;
        max-width: 100%;
        z-index: 1;
    }
    .theme_pic .title_area {
        top: 20px;
        left: 0;
    }
}

#discount .theme_pic .title_area h3 {
    position: relative;
    padding: 8px 15px;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    background-color: #ff9e9d;
    color: #ffffff;
    margin: 0;
    z-index: 12;
}

#discount .theme_pic .title_area h2 {
    position: relative;
    padding: 10px 25px;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    background-color: #fe6e6e;
    color: #ffffff;
    margin: -6px 0 0 15px;
    z-index: 11;
}

#hotel_tw .theme_pic .title_area h3 {
    position: relative;
    padding: 8px 15px;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    background-color: #99d1ff;
    color: #ffffff;
    margin: 0;
    z-index: 12;
}

#hotel_tw .theme_pic .title_area h2 {
    position: relative;
    padding: 10px 25px;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    background-color: #579af7;
    color: #ffffff;
    margin: -6px 0 0 15px;
    z-index: 11;
}

.theme_pic>img {
    width: 100%;
    transition: all 0.3s ease;
}

.activity_intro:hover .theme_pic>img {
    filter: contrast(1.3);
    -webkit-filter: contrast(1.3);
}

#discount .theme_txt {
    background-color: #ffd8d7;
    padding: 40px 40px 40px 90px;
}

#discount .activity_intro:hover .theme_txt {
    background-color: #ffbfbf;
}

#hotel_tw .theme_txt {
    background-color: #c4e4ff;
    padding: 40px 40px 40px 90px;
    /* padding: 110px 40px 110px 90px; */
}

#hotel_tw .activity_intro:hover .theme_txt {
    background-color: #a4d5ff;
}

.theme_txt h4 {
    display: inline-block;
    padding: 0 3px;
    margin-bottom: 16px;
}

.theme_txt ul {
    padding-inline-start: 0;
}

.theme_txt li {
    padding-left: 24px;
    margin-bottom: 8px;
}

.theme_txt li:last-child {
    margin-bottom: 24px;
}

.theme_txt li>span {
    margin-left: -20px;
}

.theme_txt>img {
    position: absolute;
    top: 45%;
    right: -10%;
}

@media screen and (max-width: 1199px) {
    #discount .theme_txt>img {
        top: 35%;
        right: -15%;
        transform: scale(0.9);
    }
    #hotel_tw .theme_txt>img {
        top: 40%;
        right: -15%;
        transform: scale(0.9);
    }
}

@media screen and (max-width: 991px) {
    #discount .theme_txt, #hotel_tw .theme_txt {
        padding: 30px 30px 30px 60px;
    }
    /* #hotel_tw .theme_txt {
        padding: 80px 30px 80px 60px;
    } */
    #discount .theme_txt>img {
        top: 50%;
        right: 80%;
        transform: scale(0.8);
    }
    #discount .theme_txt>img, #hotel_tw .theme_txt>img {
        top: 50%;
        right: 80%;
        transform: scale(0.8);
    }
}

@media screen and (max-width: 767px) {
    #discount .theme_txt, #hotel_tw .theme_txt {
        padding: 35px;
    }
    #discount .theme_txt>img {
        top: 65%;
        right: 0;
        transform: scale(0.6) translate(0, -50%);
        transform-origin: 100% 0;
    }
    #hotel_tw .theme_txt>img {
        top: 0;
        right: 0;
        transform: scale(0.6) translate(0, -50%);
        transform-origin: 100% 0;
    }
}

.theme_txt img[src*="icon-heart.png"] {
    float: left;
    position: relative !important;
    top: 0;
    right: 0 !important;
    margin-right: 5px;
    transform: scale(1) !important;
}

.theme_txt>button {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

/*原本的看更多按鈕 .theme_txt .btn-success {
    position: absolute;
    bottom: 0;
    right: 0;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
} */

/*-------------------- 商品區 .sale_area --------------------*/

.hot_stuff {
    padding: 20px 0 50px 0;
}

@media screen and (max-width: 575px) {
    .hot_stuff {
        padding-bottom: 0;
    }
}

.hot_stuff .rowline>div {
    padding: 0 1rem 1rem 1rem;
}

@media screen and (min-width: 992px) {
    .hot_stuff .rowline>div {
        padding: 0 0.75rem 1.25rem 0.75rem;
    }
}

.sale_box {
    display: block;
    width: 100%;
    height: 100%;
    padding: 2px;
    background-color: #ffffff;
    border: 1px solid #808080;
    transition: all .2s ease-in-out;
}

#discount .sale_box:hover {
    text-decoration: none;
    border: 1px solid #fe6e6e;
    box-shadow: 0 0 0 2px #fe6e6e;
}

#hotel_tw .sale_box:hover {
    text-decoration: none;
    border: 1px solid #579af7;
    box-shadow: 0 0 0 2px #579af7;
}

.sale_box .sale_info {
    padding: 8px 8px 3px 8px;
}

.sale_box .sale_info>h4 {
    margin-top: 5px;
}

.sale_box .sale_info>p {
    font-size: 1.125rem;
}

.sale_box .sale_info>span {
    float: right;
}

@media screen and (max-width: 991px) {
    .sale_box .sale_info>h4 {
        font-size: 22px;
    }
    .sale_box .sale_info>p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

.sale_box .sale_info:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.morebtn_area {
    display: block;
    width: 100%;
    text-align: center;
    margin: 1rem 0;
}

/*-------------------- 注意事項 #vacation_note --------------------*/

#vacation_note p {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.125rem;
    background-color: #e7f5ff;
}

#btn_top {
    position: fixed;
    right: 5px;
    z-index: 999;
}

@media screen and (max-width:767px) {
    #vacation_note p {
        font-size: 1rem;
    }
    #btn_top {
        right: 0;
    }
}