.main-sect { /* main的section */
    padding: 40px;
}
.spot-sect-1 {  /* 位置指引的第一個區塊 */
    
}
.spot-sect-title-1 { /* 位置指引的標題 */
    position: relative;
    margin-bottom: 40px;
    padding: 20px 0;
    font-size: 1.5rem;
    font-weight: bold;
}
.spot-sect-title-1::after {
    content: '';
    position: absolute;
    display: block;
    width: 70px;
    height: 2px;
    left: 0;
    bottom: 0;
}
.spot-sect-title-1::before {
    content: '';
    position: absolute;
    display: block;
    width: 230px;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: #f0f0f0;
}
.spot-list { /* 週邊導覽的圖文連結清單(ul容器) */

}
.spot-list::after {
    content: '';
    display: block;
    clear: both;
}
.spot-list li { /* 週邊導覽的圖文連結清單(li) */
    float: left;
}
.spot-list a { /* 週邊導覽的圖文連結清單 */
    position: relative;
    display: block;
    width: 100%;
    box-shadow: 1px 1px 4px rgba(0,0,0,.4);
}
.spot-list-img { /* 週邊導覽的圖文連結清單的圖容器 */
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    overflow: hidden;
    background-color: #f0f0f0;
}
.spot-list-img::before {
    content: attr(photo-by);
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: 0;
    left: 0;
    padding-right: 8px;
    font-size: 0.8em;
    text-align: right;
    line-height: 20px;
    color: #f0f0f0;
    background-color: rgba(0,0,0,0.2);
    z-index: 5;
}
.spot-list-img img { /* 週邊導覽的圖文連結清單的圖 */
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 4;
}
.spot-list-txt { /* 週邊導覽的圖文連結清單的文字主容器 */
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    margin: auto;
    padding: 2px 5px 0;
    opacity: 0;
    text-align: left;
    overflow: hidden;
    z-index: 6;
}
.spot-list-head { /* 週邊導覽的圖文連結清單的文字-景點名字 */
    line-height: 1.6;
    font-size: 1.2rem;
    font-weight: bold;
    overflow: hidden;
}
.spot-list-addr { /* 週邊導覽的圖文連結清單的文字-景點地址 */

}
.spot-list-dist { /* 週邊導覽的圖文連結清單的文字-景點距離 */
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
    font-family: 'Franklin Gothic Medium', Arial;
}
.spot-list-icon { /* 週邊導覽的圖文連結清單的連結icon(3a獨有動態產生) */
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    right: 0;
    bottom: 20px;
    left: 0;
    margin: 10px auto;
    background: url('../images/i5.png') no-repeat center center;
    background-size: 100% 100%;
}

.spot-more-btn { /* 週邊導覽的閱讀更多按鈕 */
    display: block;
    width: 200px;
    margin: 20px auto 0; /* 要把清單的 margin-bottom 考慮進去 所以margin-top不能直接用40px */
    text-align: center;
    font-weight: bold;
}
.spot-more-btn::after {
    content: '...';
    display: inline;
}   


@media screen and (min-width: 1000px) {
    .main-sect { /* main的section */
        padding: 0 12% 40px;
    }
    .spot-list li { /* 週邊導覽的圖文連結清單(li) */
        width: 30%;
        margin-left: 1.5%;
        margin-right: 1.5%;
        margin-bottom: 2.5%;
    }
    .spot-list li:nth-of-type(3n+1) { /* 週邊導覽的圖文連結清單(li) */
        width: 31.5%;
        margin-left: 0;
        margin-right: 2%;
    }
    .spot-list li:nth-of-type(3n+2) { /* 週邊導覽的圖文連結清單(li) */
        width: 31.5%;
        margin-left: .75%;
        margin-right: .75%;
    }
    .spot-list li:nth-of-type(3n+3) { /* 週邊導覽的圖文連結清單(li) */
        width: 31.5%;
        margin-left: 2%;
        margin-right: 0%;
    }
}
@media screen and (min-width: 768px) and (max-width: 999px) {
    .main-sect { /* main的section */
        padding: 0 5% 40px;
    }
    .spot-list li { /* 週邊導覽的圖文連結清單(li) */
        width: 48%;
        margin-left: 1%;
        margin-right: 1%;
        margin-bottom: 2%;
    }
    .spot-list li:nth-of-type(odd) { /* 週邊導覽的圖文連結清單(li) */
        width: 49%;
        margin-left: 0;
        margin-right: 1%;
    }
    .spot-list li:nth-of-type(even) { /* 週邊導覽的圖文連結清單(li) */
        width: 49%;
        margin-left: 1%;
        margin-right: 0%;
    }
}
@media screen and (min-width: 768px) {
    .main-sect { /* main的section */ 
        
    }
    .spot-list-txt:hover { /* 週邊導覽的圖文連結清單的文字主容器 */
        opacity: 1;
    }
}
@media screen and (max-width: 767px) {
    .main-sect { /* main的section */
        padding: 0 5% 40px;
    }
    .spot-list li { /* 週邊導覽的圖文連結清單(li) */
        width: 100%;
        margin-bottom: 5%;
    }
    .spot-list-txt { /* 週邊導覽的圖文連結清單的文字主容器 */
        opacity: 1;
    }
}