/* 输入框错误样式 */
.error {
    border-color: red;
}

/* 提示消息样式 */
.alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1000;
}

/* 加载覆盖层样式（可选） */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* 浮動選單 */
.scrollToTop {
    right: 25px;
    bottom: 5%;
    z-index: 20;
    border-radius: 40px;
    padding: 0 8px 0 8px;
}

.scrollToTop a {
    display: block;
}

.news_list_block {
    position: relative;
    border-bottom: 1px dotted #888;
}

.news_list_block_top {
    position: relative;
    border-top: 1px dotted #888;
}

.go-top img {
    width: 50px;
    height: 50px;
}

.scrollToTop .go-top img {
    opacity: 1;
}

.scrollToTop_contact.line_type {
    border-radius: 50px;
}

.scrollToTop_contact.contact_type {
    width: 50px;
    height: 50px;
    padding-top: 8px;
    background-color: rgba(122, 185, 165, 1);
    border-radius: 10px;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.2) !important;
}

.scrollToTop_contact.contact_type img {
    width: 35px !important;
    height: auto !important;
    margin: auto;
    top: -6px;
    position: relative;
}

.scrollToTop_contact.line_type svg {
    border-radius: 50%;
    width: 50px;
    fill: #727171;
    opacity: 1;
    background: #fff;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.2) !important;
}

.scrollToTop_contact i {
    width: 50px;
    height: 50px;
    font-size: 30px;
    color: #fff;
    padding-top: 8px;
    background-color: rgba(114, 113, 113, 1);
    border-radius: 50%;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.2) !important;
}

.scrollToTop a.phone i {
    padding-top: 11px;
}

/* common */
body {
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%;
    max-width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    /* font-family: "noto-medium", sans-serif; */
    /* font-family: "Microsoft JhengHei", sans-serif; */
    font-size: 1.3rem;
    background: #f7f7f7;
}

* {
    box-sizing: border-box;
}

section {
    position: relative;
}

body.ReservationOpen,
body.calculateOpen,
body.BookingOpen {
    overflow-y: hidden;
}

.disabled {
    pointer-events: none;
}

.icon-touch {
    cursor: pointer;
}

ul,
li {
    list-style: none;
    padding: 0;
}

a:hover {
    color: #f48400;
}

strong {
    font-weight: normal;
}

/* 下拉選單 */
.common-select {
    font-size: 20px;
    padding: 8px 10px 10px 10px;
    border: 1px solid #aaa;

}

.common-select option {
    text-align: center;
}

/* 加載動畫樣式 */
/* .loading-option {
    background: url('../../images/common_icon/loading.gif?v=20240815') no-repeat center center;
    background-size: 50px;
    background-size: 16px 16px;
    height: 20px;
    display: inline-block;
} */

/* ====Zoom In HOVER圖片進場效果 START ====*/
/*Zoom In with Brightness*/
.effects_img {
    overflow: hidden;
}

.effects_zoomIn img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: transform 1s ease-in-out, filter 1s ease-in-out;
    transition: transform 1s ease-in-out, filter 1s ease-in-out;
    filter: brightness(1);
    /* 初始亮度 */
}

/* 控制放大的方向 - 從上方進場 */
.effects_zoomIn.hover-top img {
    transform-origin: top;
}

.effects_zoomIn.hover-top:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    filter: brightness(1.05);
    /* 放大時增加亮度 */
}

/* 控制放大的方向 - 從下方進場 */
.effects_zoomIn.hover-bottom img {
    transform-origin: bottom;
}

.effects_zoomIn.hover-bottom:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    filter: brightness(1.05);
    /* 放大時增加亮度 */
}

/* 控制放大的方向 - 從左側進場 */
.effects_zoomIn.hover-left img {
    transform-origin: left;
}

.effects_zoomIn.hover-left:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    filter: brightness(1.05);
    /* 放大時增加亮度 */
}

/* 控制放大的方向 - 從右側進場 */
.effects_zoomIn.hover-right img {
    transform-origin: right;
}

.effects_zoomIn.hover-right:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    filter: brightness(1.05);
    /* 放大時增加亮度 */
}

/* ====Zoom In HOVER圖片進場效果 END ====*/
/*反白顏色*/

*::selection {
    background: #ec881d;
    color: #fff;
}

*::-moz-selection {
    background: #ec881d;
    color: #fff;
}

img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

img {
    image-rendering: -moz-crisp-edges;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}


/* 錨點 */

.scrolldown {
    position: absolute;
    height: 74px;
    width: 100%;
    z-index: 9;
    display: block;
}

.scrolldown.efirst {
    top: -46px;
}

.scrolldown.elast {
    bottom: -21px;
}

.scrolldown a {
    display: block;
    width: 62px;
    height: 62px;
    margin: 0 auto;
    padding-top: 14px;
}

.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

.container-max800 {
    max-width: 800px;
}

.container-max860 {
    max-width: 860px;
}

article {
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
}

/* 去除 Firefox 和 Google Chrome 上的虛線 */

input[type="email"],
input[type="button"],
input[type="submit"],
input[type="text"],
textarea,
button {
    appearance: none;
}

textarea {
    resize: none;
}

a,
a:hover,
button {
    outline: none !important;
    outline: medium none !important;
    text-decoration: none !important;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}


/* Remove controls from Firefox */

input[type=number] {
    appearance: textfield;
}


/* Re-applies the controls on :hover and :focus */

input[type="number"]:hover,
input[type="number"]:focus {
    appearance: number-input;
}

input[type='number'] {
    appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

*:focus {
    outline: none;
}

textarea:focus {
    outline: none;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.clear {
    clear: both;
}


/* 使格線系統無間距 Class Rules */

.row.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.row.no-gutters>[class^="col-"],
.row.no-gutters>[class*=" col-"] {
    padding-right: 0;
    padding-left: 0;
}


/* apple ipad/iphone樣式去除 */
input[type="button"],
input[type="submit"],
input[type="reset"] {
    appearance: none;
}

textarea {
    appearance: none;
}

.wc100 {
    width: 100%;
}


/*麵包屑*/
.crumb_main {
    width: 100%;
    top: 80px;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    text-align: left;
    height: 50px;
    line-height: 50px;
    padding: 0 0 0 15px;
}

.crumb_main ol {
    list-style: none;
    padding-left: 0;
    color: #6c6c6c;
}

.crumb_main li {
    position: relative;
    display: inline-block;
    letter-spacing: 1.5px;
}

.crumb_main li+li:before {
    position: relative;
    content: ">";
    padding: 0 3px;
    color: #e9f1f5;
}

.crumb_main a,
.crumb_main a:hover {
    color: #e9f1f5;
}

/*麵包屑 end*/
/* checkbox */
.checkbox_1 {
    display: inline-flex;
    cursor: pointer;
    position: relative;
}

.checkbox_1>input {
    width: 20px;
    height: 20px;
    /* remove default browser styling */
    -webkit-appearance: none;
    -mox-appearance: none;
    -o-appearance: none;
    appearance: none;
    /* custom styling */
    background-color: #fff;
    border: 2px solid #e84e6d;
    border-radius: 0px;
    cursor: pointer;
    outline: none;
    transition-duration: 0.3s;
    margin-right: 8px;
}

.checkbox_1>input:checked {
    border: 2px solid #e84e6d;
    background-color: #fff;
}


/* style checkmark symbol */

.checkbox_1>input:checked+span::before {
    color: #e84e6d;
    content: "\2713";
    text-align: center;
    display: block;
    position: absolute;
    left: 5px;
    top: -1px;
}

.checkbox_1>input:active {
    border: 2px solid #5ac5c9;
}

.checkbox_1>input:focus+label::before {
    outline: #5d9dd5 solid 1px;
    box-shadow: 0 0px 8px #5e9ed6;
}

/* checkbox end */

/* 部分html優化 */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}

h1,
h2,
h3 {
    font-weight: 700;
}

h3 {
    font-size: 1.5625rem;
}

nav ul {
    list-style: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body:before {
    position: absolute;
    content: "mobile";
    /*手機*/
    visibility: hidden
}

/* 牙齒icon */
.icon_tooth_before,
.icon_tooth_after {
    display: inline-block;
    width: 33px;
    height: 33px;
    background-image: url(../../images/contact/tooth_01.svg?v=20240815);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    position: relative;
    top: -3px;
}

.icon_tooth_before {
    background-image: url(../../images/contact/tooth_01.svg?v=20240815);
}

.icon_tooth_after {
    background-image: url(../../images/contact/tooth_02.svg?v=20240815);
}

.info_submit {
    display: inline-block;
    width: 150px;
    height: 46px;
    line-height: 42px;
    padding-bottom: 5px;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

.info_submit:hover {
    background: #560c81;
    color: #ffca37;
}

@media (min-width: 768px) {
    body:before {
        content: "pad";
        /*平板*/
    }
}

@media (min-width: 1170px) {
    body:before {
        content: "desktop";
        /*電腦*/
    }
}

@media (min-width: 992px) {
    .crumb_main {
        padding: 0 0 0 35px;
    }

    body:before {
        content: "tablet";
        /*小電腦*/
    }
}

@media only screen and (max-width : 991px) {
    .f_logo img {
        width: 150px;
    }
}

@media (max-width: 991px) {
    .scrollToTop {
        right: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .crumb_main {
        top: 70px;
    }
}

@media screen and (max-width: 767px) {
    .crumb_main {
        top: 70px;
    }

    .scrollToTop {
        right: 15px;
        padding: 20px 11px 20px 11px;
        transform-origin: bottom right;
        transform: scale(0.88);
        font-weight: bold;
    }

    .scrollToTop span {
        font-size: 20px;
        line-height: 27px;
        font-weight: bold;
    }
}

.common-anchor {
    margin-top: -90px !important;
    padding-top: 90px;
}

.bg-ffffff {
    background-color: #fff;
}

.bg-f9f9f9 {
    background-color: #f9f9f9;
}

.bg-info {
    background: linear-gradient(to bottom, rgba(252, 252, 252, 1) 0%, rgba(251, 251, 251, 1) 60%, rgba(255, 255, 255, 1) 100%);
}

.bg-fbfbfb {
    background-color: #fbfbfb;
}

.bg-fefefe {
    background-color: #fefefe;
}

.bg-eae5e1 {
    background-color: #eae5e1;
}

.bg-fb836d {
    background-color: #fb836d;
}

.bg-og {
    background-color: #e07d19;
}

.bg-coffee {
    background-color: #976859;
}

.bg-coffee-2 {
    background-color: #723e00;
}

.bg-og-1 {
    background-color: rgba(244, 231, 211, 0.6);
}

.bg-gray-1 {
    background-color: rgba(200, 200, 200, 0.15);
}

.bg-gray-2 {
    background-color: #5e5e5e;
}

.bg-blue-1 {
    background-color: #f3f8ff;
}

.bg-black-1 {
    background-color: #777;
}

.bg-blue-1 {
    background-color: #7088C4;
}

.bg-silver-1 {
    /* Permalink - use to edit and share this gradient. 固定鏈接 - 用於編輯和分享此漸變： https://colorzilla.com/gradient-editor/#a1dbff+-1,cbebff+25,ffffff+57,ffffff+100&1+0,0.6+100 */
    background: linear-gradient(to bottom, rgba(161, 219, 255, 1) -1%, rgba(163, 220, 255, 1) 0%, rgba(203, 235, 255, 0.9) 25%, rgba(255, 255, 255, 0.77) 57%, rgba(255, 255, 255, 0.6) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

.w-25 {
    width: 25%;
}

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

/* 線段動畫效果 */
.line-container {
    position: relative;
    width: 100px;
    height: 1px;
}

.line {
    position: absolute;
    width: 0;
    height: 1px;
    background-color: black;
    top: 50%;
    /* 调整线段的垂直位置 */
    left: 0;
    opacity: 0;
}

.line#line1 {
    top: 10px;
    left: 50px;
}

.line#line2 {
    top: 50px;
    background: #0067a8;
}

.line#line3 {
    top: 80px;
    left: 110px;
    background: #ccc;
}

@keyframes draw-line {
    0% {
        width: 0;
        opacity: 1;
    }

    50% {
        width: 100%;
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 0;
    }
}

/* 線段動畫效果 end */

/* 圖片hover效果 */
.common_hover1 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    padding: 0 0px;
    z-index: 15;
}

.common_hover1 .thumbex {
    margin: 0 0;
    width: 100%;
    min-width: 250px;
    max-width: 435px;
    height: 300px;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    outline: 2px solid white;
    outline-offset: -15px;
    background-color: blue;
    box-shadow: 5px 10px 40px 5px rgba(0, 0, 0, 0.5);
}

.common_hover1 .thumbex .thumbnail {
    overflow: hidden;
    min-width: 250px;
    height: 300px;
    position: relative;
    opacity: 0.88;
    backface-visibility: hidden;
    transition: all 0.4s ease-out;
}

.common_hover1 .thumbex .thumbnail img {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    height: 115%;
    width: auto;
    transform: translate(-50%, -50%);
    backface-visibility: hidden;
}

.common_hover1 .thumbex .thumbnail span {
    position: absolute;
    z-index: 2;
    top: calc(150px - 20px);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 50px;
    margin: 0 45px;
    text-align: center;
    font-size: 24px;
    color: white;
    font-weight: 300;
    font-family: "Raleway", sans-serif;
    letter-spacing: 0.2px;
    transition: all 0.3s ease-out;
}

.common_hover1 .thumbex .thumbnail:hover {
    backface-visibility: hidden;
    transform: scale(1.15, 1.15);
    opacity: 1;
}

.common_hover1 .thumbex .thumbnail:hover span {
    opacity: 0;
}

/* 圖片hover效果 end */

[data-aos] {
    transition-property: transform, opacity;
    transition-duration: 0.8s;
    /* 可以調整這裡來增強柔和感 */
    transition-timing-function: ease-in-out;
    /* 緩動效果 */
}