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


/* 影片a1 */
video {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    padding: 10px;
}
/* .video-container001 {} */

.video-container {
    max-width: 100%;
    height: auto;
    padding: 10px;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 15px;
}

.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 15px;
}
/* ------------------------------------------------- */

/* LINEa1 */
.line-button {
    position: fixed;
    right: -45px;
    bottom: 50px;
    z-index: 1000;
    transition: right 0.5s;
}
.line-button:hover {
    right: 20px;
}
.modal {
    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);
}
.modal-content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 400px;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 40px;
    padding: 5px;
}
@media (max-width: 600px) {
    .modal-content {
        width: 90%;
    }
}
/* ------------------------------------------------- */

/* 字出現 */

.price {
    display: inline-block;
    margin-right: 10px;
}
@media (max-width: 768px) {
    .price {
        display: none;
    }
    .mobile-text {
        font-size: 13px;
    }
}
/* BR換行 */
@media (min-width: 769px) {
    .mobile-break {
        display: none;
    }
    .mobile-break2 {
        display: none;
    }
}
@media (max-width: 768px) {
    .mobile-break {
        display: block;
        margin-top: -1.8em;
        /* margin-bottom: 0.2em; */
    }
    .mobile-break2 {
        display: none;
    }
}
/* ------------------------------------------------- */

/* <!--時段號碼 開始 --> */
#phone-number {
    font-size: 17px;
}
@media screen and (min-width: 768px) {
    #phone-number {
        font-size: 24px;
    }
}
/* ------------------------------------------------- */
/* 分享到社群 */
.styled-link {
    display: inline-block;
    margin: 5px;
    padding: 2px 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;
    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: -40px;
    font-weight: bold;
}

.close-share:hover,
.close-share:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* ------------------------------------------------- */
/* 三層以上擬態框 */
.button-container-com {
    width: 50px;
    height: 50px;
    background: #01bef0;
    color: #fff;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 2px 2px 2px #d4d4d4;
    cursor: pointer;
    position: fixed; /* 修改为 fixed */
    bottom: 100px; /* 调整为你想要的距离 */
    right: 20px; /* 调整为你想要的距离 */
    overflow: hidden;
}
.button-container-com:hover{
    background: #01b3df;
    box-shadow: none;
}
.button-container-com a {
    font-size: 14px;
}
.button-container-com>i{
    font-size: 25px;
}
.iconfont {
    font-family: "iconfont" !important;
    font-size: 24px; /* 增大图标尺寸 */
    font-style: normal;
    color: #ffffff; /* 设置图标颜色为白色 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
  
.styled-link-com {
text-decoration: none; /* 去掉底线 */
}
.chat-message-num{ /* 3 */
    display: inline-block;
    height: auto;
    min-width: 10px;
    padding: 3px 5px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 10px;
    margin-right: 15px;
    margin-top: 14px;
    color: #fff;
    background: #f46266;
    position: fixed; /* 修改为 fixed */
    bottom: 140px;
    right: -3px;
    overflow: hidden;
}
.modal-share-com {
    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.753); 
}

.modal-share-content-com {
    background-color: #fefefe;
    margin: 150px auto 0;
    padding: 20px;
    border: 1px solid #888;
    text-align: left;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
}

@media (min-width: 768px) {
    .modal-share-content-com {
        width: 80%;
        max-width: 600px;
    }
}
@media (max-width: 480px) {
    .modal-share-content-com {
        width: 100%;
        max-width: 320px;
    }
}
.close-share-com {
    color: #aaa;
    float: right;
    font-size: 60px;
    margin-top: -15px;
    font-weight: bold;
}

.close-share-com:hover,
.close-share-com:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.homeh2 {
    margin: 13px;
    font-size: 20px;
    letter-spacing: -0.4px; /* 文字間距小一點 */
}

.content-padding {
    padding: 0px 5px;
    font-size: 15px;
    max-width: 400px;
}

.return-link {
    color: #aaa;
    text-decoration: none;
    font-size: 20px;
    left: 10px;
    font-weight: bold;
}

.return-link:hover {
    color: #888;
    text-decoration: none;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -20px;
}
/* ------------------------------------------------- */
/* 預覽地圖 */
@media screen and (max-width: 768px) {
	iframe {
	  height: 300px;
	}
  }
@media (min-width: 769px) {
	iframe {
		height: 500px;
	  }
}
/* 分享按鈕靠右 */
/* .button-container3 {
	text-align: right;
} */
.button-container3 a {
    font-size: 14px;
}
/* ------------------------------------------------- */
/* 框框有網址 */
#urlInput {
    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%);
}
/* ------------------------------------------------- */
/* 星星 */
.stars {
    position: relative;
    display: inline-block;
    font-size: 30px;
    color: #ccc; /* 灰色星星 */
}

.stars::before {
    content: "★★★★★"; /* 固定的5顆星 */
    display: block;
}

.stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    width: 0%;
    color: #ffc107; /* 黃色星星 */
}
  


/* ------------------------------------------------- */
/* 酒後不開車，安全有保障 */
.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;
    width: 100%;
    box-sizing: border-box;
}
/* ------------------------------------------------- */
/* ------------------------------------------------- */