﻿
body {
    background-image: url(../images/bg.jpg);
}

p {
    margin:0;
    padding:0;
}
.color_red {
    color: #ea0000;
}
.color_blue {
    color: #009CEA;
}
input {
    outline: none;
    border: 1px #cccccc solid;
    padding:8px 8px;
}
select {
    outline: none;
    border: 1px #cccccc solid;
    padding: 8px 8px;
}
.event_note a {
    color: #029ED8;
}




/* ======= Desktop ====== */
@media screen and (min-width: 769px) {
    .float_l {
        float: left;
    }

    .float_r {
        float: right;
    }

    /* ======= Header ====== */
    header {
        margin-top: 0;
        width: 100%;
        height: 60px;
        max-height:60px;
        background-color: #fff;
        border-bottom: 1px #767676 solid;
        position: fixed;
        z-index: 999;
    }

    .header-wrap {
        margin: 0 auto;
        width: 1100px;
    }

    header .header-wrap .testweb {
        float: left;
        margin: 12px 0 0 10px;
        padding: 5px 15px;
        color: #fff;
        font-weight: bold;
        font-size: 24px;
        background-color: darkred;
        border-radius: 30px;
    }

    logo {
        float: left;
        margin-top: 0;
        background-image: url(../../images/indexlogo.png);
        background-repeat: no-repeat;
        width: 380px;
        height: 60px;
        text-indent: 101%;
        overflow: hidden;
        white-space: nowrap;
    }

    login {
        float: right;
        cursor: pointer;
    }

    .rgs {
        line-height: 60px;
    }

    .rgs a {
        color: #4c4c4c;
        text-decoration: none;
        font-size: 15px;
    }

    .rgs a:hover {
        color: #5ac5ee;
    }

    .header_gap {
        padding-top: 60px;
    }
    /*====== Footer ======*/
    footer {
        padding: 20px 0;
        width: 100%;
        min-width:1100px;
        color: #fff;
        background-color: #767676;
        text-align: center;
        line-height: 30px;
    }

    .mobile-bottom {
        display: none;
    }
    /* ======= 全頁背景圖 ====== */
    .wrap {
        background-image: url(../images/maplebg.png);
        background-position: 0 0;
        background-size: contain,100%;
        min-width: 1000px;
    }
    /* ======= 浮動選單 ====== */
    .float_bt_box {
        position: fixed;
        right: 10%;
        top: 38%;
        text-indent: -9999px;
    }

    .float_bt_box .float_bt1 a {
        display: block;
        margin-bottom: 5px;
        width: 80px;
        height: 80px;
        background-image: url(../images/quick_menu_01.png);
        background-repeat: no-repeat;
    }

    .float_bt_box .float_bt2 a {
        display: block;
        margin-bottom: 5px;
        width: 80px;
        height: 80px;
        background-image: url(../images/quick_menu_02.png);
        background-repeat: no-repeat;
    }

    .float_bt_box .float_bt3 a {
        display: block;
        margin-bottom: 5px;
        width: 80px;
        height: 80px;
        background-image: url(../images/quick_menu_03.png);
        background-repeat: no-repeat;
    }

    .float_bt_box .float_bt4 a {
        display: block;
        margin-bottom: 5px;
        width: 80px;
        height: 80px;
        background-image: url(../images/quick_menu_04.png);
        background-repeat: no-repeat;
    }
    /* ======= 主圖 ====== */
    .top_kv {
        margin: 0 auto;
        width: 100%;
        min-width:1100px;
        height: 729px;
        min-height: 729px;
        background-image: url(../images/kv.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .m_kv img {
        display:none;
    }
    .kv_bt {
        display:none;
    }
    .kv_bt_pc {
        display:block;
        margin: 0 auto;
        padding-top:650px;
        width: 342px;
        height: 68px;
    }

    .kv_bt_pc .bt_join_top a {
        margin: 0 auto;
        display: block;
        border: none;
        outline: none;
        text-indent: -9999px;
        text-align: center;
        width: 342px;
        height: 68px;
        text-decoration: none;
        background-image: url(../images/bt_go.png);
        background-repeat: no-repeat;
        cursor: pointer;
    }
    /* ======= 標題-共用 ====== */
    .event_title {
        margin: 0 auto;
        width: 1100px;
        height: 120px;
        background-position: center bottom;
    }

    .event_title h3 {
        margin: 0;
        padding: 0;
        text-indent: -9999px;
    }

    .title_1 {
        height: 120px;
        background-image: url(../images/title_01.png);
    }
    .title_2 {
        height: 120px;
        background-image: url(../images/title_02.png);
    }
    .title_3 {
        height: 120px;
        background-image: url(../images/title_03.png);
    }
    .event_m_title {
        display:none;
    }
    .main_box {
        margin: 0 auto 50px auto;
        width: 1100px;
        padding: 50px 0;
        background-color: #fff;
    }
    .main_box::after {
        content: "";
        height: 0;
        clear: both;
        overflow: hidden;
        display: block;
        visibility: hidden;
    }/*修正高度塌陷問題*/

    /* ======= 人氣好評保養廠 ====== */
    .event_box1 {
        margin: 0 auto;
        width: 1100px;
    }
    .store_wrap{
        margin:0 auto;
        width:800px;
    }
    .store_wrap::after {
        content: "";
        height: 0;
        clear: both;
        overflow: hidden;
        display: block;
        visibility: hidden;
    }
    /*修正高度塌陷問題*/
    .store_box {
        margin: 0 auto;
        width:750px;
    }
    .store_hr{
        margin:0 auto 50px auto;
        width:866px;
        height:50px;
        border-bottom:2px #ccc solid;
    }
    .store_img_box {
        display: inline-block;
        width: 350px;
        height: 217px;
        padding: 5px;
        -webkit-box-shadow: 0px 0px 5px 3px rgba(204,204,204,0.3);
        box-shadow: 0px 0px 5px 3px rgba(204,204,204,0.3);
        overflow: hidden;
    }
    .store_img_box img {
        width:350px;
        max-width:350px;
        max-height:217px;
        height:auto;
        object-fit:cover;
    }
    .store_infor_box {
        display: inline-block;
        width: 350px;
        height: 217px;
        padding: 5px;
        text-align: center;
    }
    .store_infor_box .store_name {
        margin-top:10px;
        color: #434343;
        font-size:43px;
        font-weight: bold;
        line-height: 45px;
    }
    .store_infor_box .store_slogan {
        color: #3f3f3f;
        font-size: 21px;
        font-weight: bold;
        line-height: 28px;
    }
    .store_infor_box .store_tag {
        display: inline-block;
        margin: 5px auto 0 auto;
        padding: 0 8px;
        font-size: 15px;
        line-height: 30px;
        color: #fff;
        border-radius: 50em;
        background-color: #434343;
    }
    .store_bottom {
        margin:0 auto;
        width:330px;
    }
    .store_infor_box .store_location {
        margin:15px 0 0 80px;
        display: block;
        width:150px;
        min-height:22px;
        line-height:22px;
        font-size: 15px;
        color: #3f3f3f;
        background-image: url(../images/locaton.png);
        background-repeat: no-repeat;
    }
    .store_infor_box .store_star {
        margin: 5px 0 0 80px;
        display: block;
        text-indent: 15px;
        width: 150px;
        font-size: 15px;
        color: #3f3f3f;
        background-image: url(../images/star.png);
        background-repeat: no-repeat;
        background-position: left center;
    }
    .store_star_grade {
        font-size:32px;
        font-family:Arial;
    }
    .sore_booking a {
        display: block;
        text-indent:-9999px;
        width:96px;
        height:90px;
        background-image: url(../images/pc_reservation.png);
    }
    .sore_booking a:hover {
        opacity:0.8;
    }
    /* ======= 活動登錄 ====== */
    .event_box2 {
        margin: 0 auto;
        width: 1100px;
    }
    .q_form {
        display: block;
        height: 60px; /* 高度與navbar相同, 用來補上被navbar覆蓋的高度 */
        margin-top: -60px; /* 高度與navbar相同, 將頁面內容拉近, 不要造成額外空白 */
        visibility: hidden; /* 隱藏 */
    }
    .form_top {
        margin: 0 auto;
        width: 660px;
        color: #434343;
        font-size:18px;
        line-height: 30px;
    }
    .form_hr {
        margin: 0 auto 20px auto;
        width: 90%;
        height: 20px;
        border-bottom: 2px #ccc solid;
    }
    .form_box {
        margin: 0 auto;
        width: 660px;
    }
    .form_box .item {
        display: inline-block;
        width: 275px;
        height: 50px;
        line-height: 50px;
        font-size: 18px;
        color: #434343;
    }
    .form_box .textbox {
        display:inline-block;
        width:calc(100% - 291px);
        height:50px;
    }
    .form_box .addr {
        display: inline-block;
        margin-left: 279px;
        width: calc(100% - 291px);
        height: 50px;
    }
    .form_box .textbox input ,.addr input {
        width: calc(100% - 16px);
    }
    .form_box select {
        width:182px;
    }
    .form_box .selgap {
        margin-right:0px;
    }
    .form_box .subtext {
        display: flex;
        margin-left: 279px;
        width: calc(100% - 291px);
        font-size:13px;
    }
    .agree_box {
        margin:30px auto 30px auto;
        width:700px;
        color: #434343;
        font-size:13px;
        line-height: 25px;
        vertical-align:middle;
    }
    .agree_gap {
        padding-bottom:40px;
    }
    .agree_box .agree_check {
        float: left;
        width: 20px;
    }
    .agree_box .agree_text {
        float:right;
        width:calc(100% - 20px);
    }
    .agree_box input[type=checkbox] {
        width: 15px;
        height: 15px;
        vertical-align: middle;
    }

    .bt_join, .bt_join a {
        margin: 0 auto;
        display:block;
        border:none;
        outline:none;
        text-align:center;
        width: 342px;
        height: 68px;
        text-decoration: none;
        background-image: url(../images/btn.jpg);
        background-repeat: no-repeat;
        cursor:pointer;
    }
    .bt_join:hover, .bt_join a:hover {
        opacity:0.8;
    }

    /* ======= 活動辦法 ====== */
    .event_box3 {
        margin: 0 auto;
        width: 1100px;
    }
    .event_box3 .line_gap {
        padding-bottom:20px;
    }
    .event_note {
        margin: 0 auto;
        width: 800px;
    }
    
    .event_box3 h2 {
        margin: 20px 0;
        padding: 0;
        text-indent: 10px;
        font-size: 24px;
        line-height: 30px;
        color: #00a3dd;
        border-left: 10px #00a3dd solid;
    }
    .event_box3 p {
        margin: 0;
        padding: 0;
        font-size: 18px;
        color: #4f4f4f;
        line-height:50px;
    }
    .event_box3 ul {
        margin: 0 0 0 25px;
        padding: 0;
        list-style: outside;
    }
    .event_box3 li {
        font-size: 18px;
        color: #4f4f4f;
        line-height: 36px;
    }
    /* 彈跳背景遮罩 */
    .dialogWrap {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        padding-top: 100px; /* Location of the box */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
        z-index: 9999;
    }

    /*======= 彈跳示窗 =======*/
    .dialogBox {
        max-width: 500px;
        background-color: #fefefe;
        margin: 0 auto;
        padding: 20px;
        border: 1px solid #888;
        line-height: 30px;
        text-align: center;
    }

    /* 關閉按鈕 */
    .boxBt {
        margin: 20px auto 0 auto;
        background-color: #639BD5;
        color: #fff;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 10px;
        text-decoration:none;
    }

    .boxBt:hover {
        opacity: 0.8;
    }
}



/* ======= Phone ====== */
@media only screen and (max-width: 768px) {
    .m_float_l {
        float: left;
    }

    .m_float_r {
        float: right;
    }
    /*========= Header ========*/
    header {
        top: 0;
        position: fixed;
        width: 100%;
        min-height: 60px;
        background-color: white;
        border-bottom: 1px #767676 solid;
        z-index: 20000;
    }

    #mobile-loginbar {
        background-color: white;
    }

    .header-wrap {
        padding: 0;
        z-index: 1200;
    }

    logo {
        float: left;
        margin-top: 15px;
        background-image: url(../../images/logo_M.png);
        background-repeat: no-repeat;
        background-position: 5px center;
        width: 215px;
        height: 33px;
        text-indent: -9999px;
        overflow: hidden;
        white-space: nowrap;
        z-index: 1200;
    }

    login {
        width: 100%;
        cursor: pointer;
    }

    .rgs {
        float: right;
        text-align:right;
        padding-top: 5px;
        padding-right: 10px;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        width: 125px;
        line-height:60px;
        text-overflow: ellipsis;
    }

    .rgs a {
        color: #4c4c4c;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
    }

    .rgs a:hover {
        color: #5ac5ee;
    }
    .header_gap {
        padding-top:80px;
    }
    /*====== Footer ======*/
    footer {
        width: 100%;
        clear: both;
    }


    .copyright {
        display: none;
    }

    .mobile-copyright {
        display: block;
        margin-bottom: 50px;
        width: 100%;
        padding: 20px 0;
        text-align: center;
        font-size: 12px;
        line-height: 16px;
        background-color: #494949;
        color: #999999;
    }

    .mobile-bottom {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 50px;
        min-height: 50px;
        background-color: #05a2d8;
        z-index: 999;
    }

    footer a {
        text-align: center;
        color: white;
        text-decoration: none;
    }

    footer .bottom-bt1 a {
        float: left;
        display: block;
        line-height: 50px;
        width: 33%;
    }

    footer .bottom-bt2 a {
        float: left;
        display: block;
        line-height: 50px;
        width: calc(34% - 2px);
        border-right: 1px #fff solid;
        border-left: 1px #fff solid;
    }

    footer ul {
        width: 100%;
    }

    footer li {
        float: left;
    }

    footer li a {
        display: block;
        height: 50px;
        text-align: center;
        color: white;
        font-size: 1em;
        text-decoration: none;
    }

    footer li a.bt {
        width: 100%;
    }

    footer li a.bt-ct {
        width: 100%;
        border-right: 1px #fff solid;
        border-left: 1px #fff solid;
    }

    /* ======= 主圖 ====== */
    .top_kv {
        display:none;
    }
    .m_kv {
        width:100%;
        min-width:380px;
    }
    .m_kv img {
        width: 100%;
        height: auto;
    }

    /* ======= 浮動選單 ====== */
    .float_bt_box {
        display:none;
    }
    /* ======= 標題-共用 ====== */
    .event_title {
        margin: 0 auto;
        width: 100%;
    }

    .event_title h3 {
        display: none;
    }

    .event_m_title img {
        width:100%;
        height:auto;
    }

    .main_box {
        margin: -5px auto 10px auto;
        width: 100%;
        padding: 30px 0;
        background-color: #fff;
    }

    .main_box::after {
        content: "";
        height: 0;
        clear: both;
        overflow: hidden;
        display: block;
        visibility: hidden;
    }
    /*修正高度塌陷問題*/
    .kv_bt_pc {
        display:none;
    }
    .kv_bt {
        margin: 20px auto;
    }
    .kv_bt .bt_join_top a {
        margin: 0 auto;
        display: block;
        border: none;
        outline: none;
        text-indent:-9999px;
        text-align: center;
        width: 342px;
        height: 68px;
        text-decoration: none;
        background-image: url(../images/bt_go.png);
        background-repeat: no-repeat;
        cursor: pointer;
    }
    /* ======= 人氣好評保養廠 ====== */
    .event_box1 {
        margin: 0 auto;
        width: 100%;
        min-width:380px;
    }

    .store_wrap {
        margin: 0 auto;
        width: 100%;
    }
    .store_box {
        margin: 0 auto;
        width: 100%;
    }

    .store_hr {
        margin: 0 auto 30px auto;
        width: 100%;
        border-bottom: 2px #ccc solid;
    }

    .store_img_box {
        margin:0 auto;
        width: 350px;
        height: 217px;
        padding: 5px;
        -webkit-box-shadow: 0px 0px 5px 3px rgba(204,204,204,0.3);
        box-shadow: 0px 0px 5px 3px rgba(204,204,204,0.3);
        overflow: hidden;
    }

    .store_img_box img {
        width: 350px;
        max-width: 350px;
        max-height: 217px;
        height: auto;
        object-fit: cover;
    }

    .store_infor_box {
        margin: 0 auto;
        width: 350px;
        height: 217px;
        padding: 5px;
        text-align: center;
    }

    .store_infor_box .store_name {
        margin-top: 10px;
        color: #434343;
        font-size: 43px;
        font-weight: bold;
        line-height: 45px;
    }

    .store_infor_box .store_slogan {
        color: #3f3f3f;
        font-size: 21px;
        font-weight: bold;
        line-height: 28px;
    }

    .store_infor_box .store_tag {
        display: inline-block;
        margin: 5px auto 0 auto;
        padding: 0 8px;
        font-size: 15px;
        line-height: 30px;
        color: #fff;
        border-radius: 50em;
        background-color: #434343;
    }

    .store_bottom {
        margin: 0 auto;
        width: 330px;
    }

    .store_infor_box .store_location {
        margin: 15px 0 0 80px;
        display: block;
        width: 150px;
        min-height: 22px;
        line-height: 22px;
        font-size: 15px;
        color: #3f3f3f;
        background-image: url(../images/locaton.png);
        background-repeat: no-repeat;
    }

    .store_infor_box .store_star {
        margin: 5px 0 0 80px;
        display: block;
        text-indent: 15px;
        width: 150px;
        font-size: 15px;
        color: #3f3f3f;
        background-image: url(../images/star.png);
        background-repeat: no-repeat;
        background-position: left center;
    }

    .store_star_grade {
        font-size: 32px;
        font-family: Arial;
    }

    .sore_booking a {
        display: block;
        text-indent: -9999px;
        width: 96px;
        height: 90px;
        background-image: url(../images/pc_reservation.png);
    }

    .sore_booking a:hover {
        opacity: 0.8;
    }
    /* ======= 活動登錄 ====== */
    .event_box2 {
        margin: 0 auto 40px auto;
        width: 100%;
    }
    .q_form {
        display: block;
        height: 70px; /* 高度與navbar相同, 用來補上被navbar覆蓋的高度 */
        margin-top: -70px; /* 高度與navbar相同, 將頁面內容拉近, 不要造成額外空白 */
        visibility: hidden; /* 隱藏 */
    }
    .form_top {
        margin: 0 auto;
        padding:0 20px;
        color: #434343;
        font-size: 18px;
        line-height: 30px;
    }


    .form_box {
        margin: 20px auto 0 auto;
        padding:0 30px;
    }

    .form_box .item {
        display: block;
        width: 100%;
        padding-top:10px;
        height: 50px;
        line-height: 50px;
        font-size: 18px;
        color: #434343;
    }

    .form_box .textbox {
        display: inline-block;
        width: 100%;
        height: 50px;
    }

    .form_box .addr {
        display: inline-block;
        width: 100%;
        height: 50px;
    }

    .form_box .textbox input, .addr input {
        width: calc(100% - 16px);
    }

    .form_box select {
        width: 49%;
    }

    .form_box .selgap {
        margin-right: 0px;
    }

    .form_box .subtext {
        display: flex;
        width: 100%;
        font-size: 13px;
    }

    .agree_box {
        margin: 30px auto 30px auto;
        padding:0 30px;
        color: #434343;
        font-size: 13px;
        line-height: 25px;
        vertical-align: middle;
    }


    .agree_gap {
        padding-bottom: 10px;
    }

    .agree_box .agree_check {
        float: left;
        width: 20px;
    }

    .agree_box .agree_text {
        float: right;
        width: calc(100% - 20px);
    }
    .agree_gap::after {
        content: "";
        height: 0;
        clear: both;
        overflow: hidden;
        display: block;
        visibility: hidden;
    }

    /*修正高度塌陷問題*/

    .agree_box input[type=checkbox] {
        width: 15px;
        height: 15px;
        vertical-align: middle;
    }

    .bt_join, .bt_join a {
        margin: 0 auto;
        display: block;
        border: none;
        outline: none;
        text-align: center;
        width: 342px;
        height: 68px;
        text-decoration: none;
        background-image: url(../images/btn.jpg);
        background-repeat: no-repeat;
        cursor: pointer;
    }

    /* ======= 活動辦法 ====== */
    .event_box3 {
        margin: 0 auto;
        width: 100%;
        padding-bottom:40px;
    }

    .event_box3 .line_gap {
        padding-bottom: 10px;
    }

    .event_note {
        padding:0 20px;
    }

    .event_box3 h2 {
        margin: 20px 0 20px 5px;
        padding: 0;
        text-indent: 10px;
        font-size: 24px;
        line-height: 30px;
        color: #00a3dd;
        border-left: 10px #00a3dd solid;
    }

    .event_box3 p {
        margin: 0;
        padding: 0;
        font-size: 18px;
        color: #4f4f4f;
        line-height: 40px;
    }

    .event_box3 ul {
        margin: 0 0 0 25px;
        padding: 0;
        list-style: outside;
    }

    .event_box3 li {
        font-size: 18px;
        color: #4f4f4f;
        line-height: 30px;
    }
    /* 彈跳背景遮罩 */
    .dialogWrap {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        padding-top: 100px; /* Location of the box */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
        z-index: 9999;
    }

    /*======= 彈跳示窗 =======*/
    .dialogBox {
        max-width: 300px;
        background-color: #fefefe;
        margin: 0 auto;
        padding: 20px;
        border: 1px solid #888;
        line-height: 30px;
        text-align: center;
    }

    /* 關閉按鈕 */
    .boxBt {
        margin: 20px auto 0 auto;
        background-color: #639BD5;
        color: #fff;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 10px;
        text-decoration: none;
    }

    .boxBt:hover {
        opacity: 0.8;
    }
}