.main {
    width: 1024px;
    height: 768px;
    position: relative;
    top: calc((100% - 768px)/2);
    left: calc((100% - 1024px)/2);
}
.main>.wrap {
    position: absolute;
    width: 100%;
    height: 100%;

    padding-left: 200px;
    padding-top: 50px;
}

.main>.wrap>article{
    width: 400px;
    display: inline-block;
    vertical-align: middle;
    /* margin-left: 200px; */
    margin-right: -4px;
}
.main>.wrap>.map{
    display: inline-block;
    vertical-align: middle;
    margin-right: -4px;
}
.titleBox {
    position: relative;
    display: inline-block;
}
/*畫面中的物件*/
.sec {
    z-index: -1;
    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    -o-pointer-events: none;
    -ms-pointer-events: none;
    pointer-events: none;
}
.sec-1 {
    position: fixed;
    /* left: -45%;
    bottom: -15%; */
    left: -20px;
    bottom: -20px;
    z-index: 10;
}
.sec-2 {
    position: fixed;
    /* right: -45%;
    bottom: -15%; */
    right: -20px;
    bottom: -20px;
    /* z-index: 20; */
}
.sec-3 {
    position: absolute;
    left: -10%;
    top: 5%;
}
/*台灣地圖*/
.map {
    width: 400px;
    height: 440px;
    background: url(../img/map.png) no-repeat center/contain;
    position: relative;
}
.map>ul>li {
    position: absolute;
    display: none;
}
.map>ul>li .picBox{
    width: 100px;
    height: 100px;
    display: block;
    border-radius: 100%;
    border: 3px #fff solid;
    position: relative;
}
.map>ul>li .picBox::before{
    content: '';
    width: 50px;
    height: 50px;
    display: block;
    background: url('../img/flag.svg') no-repeat center/contain;
    position: absolute;
}
.map>ul>li .picBox p {
    display: none;
}
/*台灣地圖裡的景點照片*/
.map>ul>li.selectAims-1 .picBox{
    background: url(../img/P01.jpg) no-repeat center/cover;
}
.map>ul>li.selectAims-2 .picBox {
    background: url(../img/p02.jpg) no-repeat center/cover;
}
.map>ul>li.selectAims-3 .picBox {
    background: url(../img/P03.jpg) no-repeat center/cover;
}
.map>ul>li.selectAims-4 .picBox {
    background: url(../img/P04.jpg) no-repeat center/cover;
}
.map>ul>li.selectAims-5 .picBox {
    background: url(../img/P05.jpg) no-repeat center/cover;
}
.map>ul>li.selectAims-6 .picBox {
    background: url(../img/P06.jpg) no-repeat center/cover;
}
.map>ul>li.selectAims-7 .picBox {
    background: url(../img/P07.jpg) no-repeat center/cover;
}
.map>ul>li.selectAims-8 .picBox {
    background: url(../img/P08.jpg) no-repeat center/cover;
}
.map>ul>li.selectAims-9 .picBox {
    background: url(../img/P09.jpg) no-repeat center/cover;
}
.map>ul>li.selectAims-10 .picBox {
    background: url(../img/P10.jpg) no-repeat center/cover;
}
/*台灣地圖裡的景點照片 結束*/
.selectAims-1 {
    left: 64%;
    top: 4%;
}
.selectAims-2 {
    left: 10%;
    top: 31%;
}
.selectAims-3 {
    left: 42%;
    top: 53%;
}
.selectAims-4 {
    left: 13%;
    top: 31%;
}
.selectAims-5 {
    left: 43%;
    top: 79%;
}
.selectAims-6 {
    left: 12%;
    top: 30%;
}
.selectAims-7 {
    left: 37%;
    top: 55%;
}
.selectAims-8 {
    left: 45%;
    top: 11%;
}
.selectAims-9 {
    left: 11%;
    top: 60%;
}
.selectAims-10 {
    left: 61%;
    top: 0%;
}


.selectAims-1 .picBox::before{
    left: 100%;
    top: 46%;
}
.selectAims-2 .picBox::before{
    left: -40%;
    top: 78%;
}
.selectAims-3 .picBox::before{
    left: 100%;
    top: 77%;
}
.selectAims-4 .picBox::before{
    left: -39%;
    top: 65%;
}
.selectAims-5 .picBox::before{
    left: 125%;
    top: 7%;
}
.selectAims-6 .picBox::before{
    left: -13%;
    top: -56%;
}
.selectAims-7 .picBox::before{
    left: -44%;
    top: 79%;
}
.selectAims-8 .picBox::before{
    left: 0%;
    top: -73%;
}
.selectAims-9 .picBox::before{
    left: -53%;
    top: -20%;
}
.selectAims-10 .picBox::before{
    left: -73%;
    top: -43%;
}


/*景點選項*/
.selectBox {
    width: 70%;
    margin: auto;
}
.selectBox>ul {
    overflow: hidden;
    text-align: center;
}
footer {
    position: absolute;
    width: 1024px;
    padding: 20px;
    left: calc((100% - 1024px)/2);
    bottom: 0;
}
@media screen and (max-width: 1136px) {
    .titleBox::after {
        display: none;
    }
    .sec {
        display: none;
    }
}
@media screen and (max-width: 1024px) {
    .background {
        position: static;
        overflow: auto;
        background-image: url('../img/background-page.png');
    }
    .main {
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        margin-top: 100px;
    }
    .main>.wrap {
        position: static;
        width: auto;
        height: auto;
        overflow: hidden;
        padding-left: 0;
        padding-top: 0;
        text-align: center;
    }
    .selectBox{width: 100%;}
    .selectBox>ul>li {
        display: block;
        width: 50%;
        float: left;
        margin: 0 0 10px;
    }
    footer {
        width: 100%;
        padding: 10px 20px;
        overflow: hidden;
        position: static;
        bottom: 0;
        left: 0;
    }
}
@media screen and (max-width: 960px) {
    .main>.wrap .map {
        width: 350px;
        height: 477px;
    }
    .selectBox {
        width: 450px;
    }
    .selectBox>ul>li {
        min-width: auto;
        width: 50%;
        margin: 0;
        padding: 5px;
    }
}
@media screen and (max-width: 900px) {
    .selectBox {
        width: 400px;
    }
}
@media screen and (max-width: 840px) {
    .main>.wrap .map {
        width: 300px;
        height: 409px;
    }
}
@media screen and (max-width: 768px) {
    .background {
        background-image: url(../img/background-mobile.png);
        background-size: cover;
        background-position: top;
    }
    .titleBox {
        display: block;
        text-align: center;
    }
    .main{
        margin-top: 0px;
    }
    .main>.wrap {
        padding: 50px 5% 0;
    }
    .main>.wrap article {
        overflow: hidden;
        min-height: 60px;
        width: 100%;
        display: block;
    }
    .main>.wrap article .titleBox,
    .main>.wrap .content {
        width: 80%;
        float: none;
        margin: auto;
    }
    .main>.wrap .content {
        padding: 0;
    }
    .main>.wrap .map {
        display: none;
    }
    .menuBtn {
        float: right;
    }
    .subtitleBox {
        display: block;
        text-align: center;
    }
    .selectBox {
        display: none;
    }
    footer{margin-top: 500px;}
}
@media screen and (max-width: 640px) {
    .titleBox img {
        width: 100%;
    }
    .subtitleBox img {
        width: 70%;
    }
}
@media screen and (max-width: 480px) {
    .main>.wrap {
        padding: 10px 5% 0px;
    }
    footer{
        margin-top: 300px;
    }
}
@media screen and (max-width: 400px) {
    footer{
        margin-top: 200px;
        padding: 10px;
    }
}
@media screen and (max-height: 768px) {
    .background {
        overflow-x: hidden;
        overflow-y: scroll;
    }
}
