


/* ID滾動 */
html {
    scroll-behavior: smooth;
  }
/* ------------------------------------------------- */

/* 圖片預覽 */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.808);
    overflow: hidden;
}
.modal-content {
    padding: 0px;
    text-align: center;
    position: absolute;
    top: 150px;
    bottom: -10px; /*10*/
    left: 0;
    right: 0;
    margin: auto;
    max-height: 100%;
    overflow-y: auto;
}
.preview-image {
    max-height: calc(100% - 20px);
    max-width: 100%;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}
@media (max-width: 768px) {
    .modal-content {
        margin: 8% auto;
    }
}
/* ------------------------------------------------- */
/* 影片 */
video {
    max-width: 100%;
    height: auto;
    border: 1px solid #2e271f;
    padding: 10px;
}
.video-container {
    max-width: 100%;
    height: auto;
    padding: 10px;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}
.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
/* ------------------------------------------------- */
/* 切換語言 */
/* <style> */
.chinese-version {
    display: block;
}
.english-version {
    display: none;
}
.switch-button {
    background-color: rgb(105, 83, 58);
    border-radius: 10px;
    padding: 3px 20px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    margin-top: 50px;
}
        
/* </style> */

/* ------------------------------------------------- */
/* hr分隔線顯示 */
@media screen and (max-width: 768px) {
    #hr00a {
        display: block;
        /* 在手機上顯示 */
    }
}

@media screen and (min-width: 769px) {
    #hr00a {
        display: none;
        /* 在電腦上隱藏 */
    }
}
/* ------------------------------------------------- */
/* 字出現 */
.price {
    display: inline-block;
    margin-right: 10px;
}
@media (max-width: 768px) {
    .price {
        display: none;
    }
    .mobile-text {
        font-size: 12px;
    }
}
@media (min-width: 768px) {
    .mobile-br {
        display: none;
    }
}
.colored-text2 {
    color: rgb(255, 232, 198);
}
/* ------------------------------------------------- */

    /* LINEa2 */
    .line-button-2-video {
        position: fixed;
        right: -45px;
        bottom: 100px; /* 调整第二组按钮的位置(原設定200較高,第1組是100) */
        z-index: 1000;
        transition: right 0.5s;
    }
    .line-button-2-video:hover {
        right: 20px;
    }
    /* 一樣的 */
    .line-button-2-activities {
        position: fixed;
        right: -45px;
        bottom: 550px; /* 调整第二组按钮的位置(原設定200較高,第1組是100) */
        z-index: 1000;
        transition: right 0.5s;
    }
    .line-button-2-activities:hover {
        right: 20px;
    }
    /* ---------------------------- */
    .line-button-2 {
        position: fixed;
        right: -45px;
        bottom: 50px; /* 调整第二组按钮的位置(原設定200較高,第1組是100) */
        z-index: 1000;
        transition: right 0.5s;
    }
    .line-button-2:hover {
        right: 20px;
    }
    .modal2 {
        display: none;
        position: fixed;
        z-index: 1001;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.7);
        color: #000000;
    }
    .modal2-content {
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        padding: 20px;
        border-radius: 5px;
        width: 90%;
        max-width: 400px;
    }
    .modal2-close {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        font-size: 40px;
        padding: 5px;
    }
    @media (max-width: 600px) {
        .modal2-content {
            width: 90%;
        }
    }

/* ------------------------------------------------- */
/* 時段電話號碼 */
@media screen and (min-width: 769px) {
    #phone-number1 {
        line-height: 2;
    }
}
@media screen and (max-width: 768px) {
    #phone-number1 {
        line-height: 0.1;
    }
}
/* ------------------------------------------------- */
/* 分享到社群 */
.styled-link {
    display: inline-block;
    margin: 5px;
    padding: 4px 15px;
    background-color: #4267B2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 17px;
}

.styled-link:hover {
    background-color: #365899;
}
.styled-link img {
    vertical-align: middle;
    margin-top: -4px;
    margin-left: 3px;
}
/* 分享按鈕靠右 */
.button-container {
    text-align: right;
}
.button-container a {
    font-size: 14px;
}


.modal-share {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}

.modal-share-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    /* width: 80%; */
    text-align: left;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .modal-share-content {
        width: 650px;
        margin: 250px auto 0;
    }
}
@media (max-width: 769px) {
    .modal-share-content {
        width: 95%;
        margin: 200px auto 0;
    }
}

.close-share {
    color: #aaa;
    float: right;
    font-size: 60px;
    margin-top: -45px;
    font-weight: bold;
}

.close-share:hover,
.close-share:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* ------------------------------------------------- */
/* 預覽地圖 */
@media screen and (max-width: 768px) {
	iframe {
	  height: 300px;
	}
  }
@media (min-width: 769px) {
	iframe {
		height: 500px;
	  }
}
/* 分享按鈕靠右 */
.button-container3 {
    color: #000000;
	/* text-align: right; */
}
.button-container3 a {
    font-size: 14px;
}
/* 框上下調整 */
.modal-share-content3 {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    /* width: 80%; */
    text-align: left;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .modal-share-content3 {
        width: 650px;
        margin: 100px auto 0;
    }
}
@media (max-width: 769px) {
    .modal-share-content3 {
        width: 95%;
        margin: 100px auto 0;
    }
}
/* ------------------------------------------------- */
/* 框框有網址 */
#urlInput {
    background-color: white;
    color: black;
    border: 1px solid rgb(214, 214, 214);
    margin-bottom: 15px;
}
/* ------------------------------------------------- */
/* 固右下角選單 */
#circle-btn {
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: #b7c9d8; /* 叉背景 */
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

#circle-btn img {
    width: 60%;
    height: auto;
    display: block;
    margin: auto;
}

.menuUU {
    position: fixed;
    bottom: 70px;
    right: 4px;/* 隱藏按鈕靠右10~20 */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: transform 0.3s ease;
}

.menuUU a {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #365899;
    border-radius: 50%;
    margin-bottom: 10px;
    text-align: center;
    line-height: 40px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.menuUU a:hover {
    transform: scale(1.1);
}

.menuUU.hidden {
    transform: translateX(100%);
}
/* ------------------------------------------------- */
/* 捷運 */
.image-border {
    border: 1px solid rgb(148, 177, 231);
}
/* ------------------------------------------------- */

/* BR換行 */
@media (min-width: 736px) {/* 大於或等於769 */
    .mobile-break {
        display: none;
        margin-top: -50em;
    }
    .mobile-break2 {
        display: block;
        margin-top: -2.5em;
    }
    .hr-de {
        display: none; /* 隱藏水平線 */
    }
}
@media (max-width: 980px) {/* 小於980 */
    .mobile-break {
        display: block;
        margin-bottom: -1.5em;
    }
    .mobile-break2 {
        display: block;
        margin-top: 0em;
    }
    .hr-de {
        display: block; /* 顯示水平線 */
    }
}
/* ------------------------------------------------- */
/* 下拉文章 */
a:hover, a:focus {
    text-decoration: none;
    outline: none;
}

.panel {
    border: none;
    border-radius: 5px;
    box-shadow: none;
    margin-bottom: 10px;
    background: transparent;
}

.panel-heading {
    padding: 0;
    border: none;
    border-radius: 5px;
    background: transparent;
    position: relative;
}

.panel-title a {
    display: block;
    padding: 20px 30px;
    margin: 0;
    background: rgba(0,0,0,0.4);
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
    position: relative;
}

.panel-title a.collapsed {
    border: none;
}

.panel-title a:before,
.panel-title a.collapsed:before {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    width: 30px;
    height: 30px;
    line-height: 27px;
    text-align: center;
    font-size: 25px;
    font-weight: 900;
    color: #fff;
    position: absolute;
    top: 15px;
    right: 30px;
    transform: rotate(180deg);
    transition: all .4s cubic-bezier(0.080, 1.090, 0.320, 1.275);
}

.panel-title a.collapsed:before {
    color: rgba(255,255,255,0.5);
    transform: rotate(0deg);
}

/* 柔和展開與收合動畫 */
.panel-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    padding: 0 30px;
}

.panel-collapse.show {
    max-height: 500px; /* 根據內容高度調整 */
    padding: 20px 30px;
}

.panel-body {
    background: rgba(0,0,0,0.1);
    font-size: 15px;
    color: #fff;
    line-height: 28px;
    letter-spacing: 1px;
    border-top: none;
    border-radius: 5px;
    width: 100%;
}
/* ------------------------------------------------- */
/* ------------------------------------------------- */
/* 下拉文章A001 */
li a {
    text-decoration: none;
}
/* ------------------------------------------------- */
/* ------------------------------------------------- */
/* 酒後不開車，安全有保障 */
.video-wrapper {
    position: relative;
    padding: 56.25% 0 0 0; /* 16:9 */
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-warning {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 16px;
    font-weight: bold;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    width: 100%;
    box-sizing: border-box;
}
/* ------------------------------------------------- */
/* ------------------------------------------------- */