

/* 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(94, 94, 94, 0.849);
}
.modal-content {
    padding: 0px;
    text-align: center;
    position: absolute;
    top: 80px;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: 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: 12% auto;
    }
}

/* ------------------------------------------------------------------- */


/* 影片 */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}
.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
/* ------------------------------------------------------------------- */
/* LINEa2 */
.line-button-2 {
    position: fixed;
    right: -45px;
    bottom: 40px; /* 调整第二组按钮的位置(原設定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%;
    }
}
/* ------------------------------------------------------------------- */
/* 分享到社群 */
.styled-link {
    display: inline-block;
    margin: 5px;
    padding: 3px 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: -1px;
    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;
    margin: 100px auto 0;
    padding: 20px;
    border: 1px solid #888;
    /* width: 80%; */
    text-align: left;
    border-radius: 10px;
}

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

.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;
}

/* ------------------------------------------------------------------- */
/* 字出現 */
.price {
    display: inline-block;
    margin-right: 10px;
}
@media (max-width: 768px) {
    .price {
        display: none;
    }
    .mobile-text {
        font-size: 12px;
    }
    .mobile-break2 {
        display: block;
        /* margin-top: -2.5em; */
    }
}
@media (min-width: 768px) {
    .mobile-br {
        display: none;
    }
    .mobile-break2 {
        display: block;
        margin-top: -2em;
    }
}
.colored-text2 {
    color: rgb(255, 232, 198);
}
/* ------------------------------------------------------------------- */

/* 時段電話號碼 */
#phone-number-x1 {
    font-size: 16px;
    letter-spacing: -0.02em;
    
}
@media screen and (min-width: 768px) {
    #phone-number-x1 {
        font-size: 205px;
        line-height: 1.3;
    }
}

/* ------------------------------------------------------------------- */
/* 預覽地圖 */
@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;
}
/* ------------------------------------------------------------------- */
/* 框框有網址 */
#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);
}
/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */