:root {
    --banner-ratio-720: calc(100vw * (720 / 720)); /* 預設比例 */
    --banner-ratio-1024: calc(100vw * (720 / 1024));
    --banner-ratio-1440: calc(100vw * (624 / 1440));
    --banner-ratio-1280: calc(100vw * (624 / 1280));
    --banner-ratio-1920: calc(100vw * (624 / 1920));

    --ab-bg-1024: calc(100vw * (512 / 1024));
    --ab-bg-1440: calc(100vw * (1080 / 1440));
    --ab-bg-1280: calc(100vw * (720 / 1280));
    --ab-bg-1920: calc(100vw * (1080 / 1920));
    --ab-bg-1080: calc(100vw * (1920 / 1080));
    --ab-bg-750: calc(100vw * (1334 / 750));

    /* --pro-bg-1024: calc(100vw * (720 / 1024));
      --pro-bg-1440: calc(100vw * (1200 / 1440));
      --pro-bg-1280: calc(100vw * (1080 / 1280));
      --pro-bg-1920: calc(100vw * (1200 / 1920)); */
}

html,
body {
    scroll-behavior: smooth;
    background: linear-gradient(to right, #f2e5da, #e5c9b5);
}

p {
    color: #71706e;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.nav-dropdown {
    border-top: 5px solid #f8e5ce !important;
    background: white !important;
}

@media (max-width: 992px) {
    .nav-dropdown {
        width: max-content !important;
        border-left: unset;
        border-right: unset;
        border-bottom: unset;
    }
}

@media (min-width: 992px) {
    .nav-dropdown {
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
    }
}

.dropdown-item:not(:last-child)::after {
    position: relative;
    width: 100%;
    height: 1px;
    text-align: center;
    content: "";
    display: block;
    margin: 0 auto;
    margin-top: 5px;
    background-color: #c9a15acc;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #c9a15acc;
}

.navbar .navbar-nav .nav-link {
    color: #36322f !important;
}

.navbar .navbar-nav .nav-link {
    margin-right: 23px;
}

.navbar .navbar-nav .nav-link {
    font-size: 18px;
}

.dropdown-item {
    /* color: #c9a15a !important; */
    color: #71706e !important;
    font-size: 15px;
    font-weight: 600;
}

#hero {
    min-height: auto !important;
}

#hero .item1,
#hero .item2,
#hero .item3 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: calc(100vw * (315 / 851));
    /* width: 100vw; */
}

#hero .item1 {
    background-image: url(../images/Banner/hero.png);
}
#hero .item2 {
    background-image: url(../images/Banner/2.png);
}
/* #hero .item3 {
  background-image: url(../images/00-hp/banner03_624.jpg);
} */

/* @media (max-width: 768px) {
  #hero .item1,
  #hero .item2,
  #hero .item3 {
    height: var(--banner-ratio-720);

  }
} */
/* height: 100vw; 以正方形顯示 */
/* @media (min-width: 768px) and (max-width: 1024px) {
  #hero .item1,
  #hero .item2,
  #hero .item3 {
    height: var(--banner-ratio-1024);
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  #hero .item1,
  #hero .item2,
  #hero .item3 {
    height: var(--banner-ratio-1280);
  }
}

@media (min-width: 1280px) and (max-width: 1440px) {
  #hero .item1,
  #hero .item2,
  #hero .item3 {
    height: var(--banner-ratio-1440);
  }
}

@media (min-width: 1440px) {
  #hero .item1,
  #hero .item2,
  #hero .item3 {
    height: var(--banner-ratio-1920);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #hero .item1 {
    background-image: url(../images/00-hp/banner01_1024.jpg);
  }
  #hero .item2 {
    background-image: url(../images/00-hp/banner02_1024.jpg);
  }
  /* #hero .item3 {
    background-image: url(../images/00-hp/banner03_1024.jpg);
  } */
/* } */

/* @media (min-width: 1024px) and (max-width: 1280px) {
  #hero .item1 {
    background-image: url(../images/00-hp/banner01_1280.jpg);
  }
  #hero .item2 {
    background-image: url(../images/00-hp/banner02_1280.jpg);
  }
  #hero .item3 {
    background-image: url(../images/00-hp/banner03_1280.jpg);
  }
}

@media (min-width: 1280px) and (max-width: 1440px) {
  #hero .item1 {
    background-image: url(../images/00-hp/banner01_1440.jpg);
  }
  #hero .item2 {
    background-image: url(../images/00-hp/banner02_1440.jpg);
  }
  #hero .item3 {
    background-image: url(../images/00-hp/banner03_1440.jpg);
  }
}

@media (min-width: 1440px) {
  #hero .item1 {
    background-image: url(../images/00-hp/banner01_1920.jpg);
  }
  #hero .item2 {
    background-image: url(../images/00-hp/banner02_1920.jpg);
  }
  #hero .item3 {
    background-image: url(../images/00-hp/banner03_1920.jpg);
  }
} */

.site-navbar {
    background-color: #995a3b !important;
    position: fixed !important;
    box-shadow: 0 0px 10px 2px rgba(26, 26, 26, 0.2);
}

@media (max-width: 768px) {
    .site-navbar {
        padding: unset !important;
    }
}

.text-995a3b {
    color: #995a3b !important;
}

.text-e69138 {
    color: #e69138 !important;
}
.text-cc914b {
    color: #cc914b !important;
}

.bg-995a3b {
    background-color: #995a3b !important;
}

.bg-e69138 {
    background-color: #e69138 !important;
}
.bg-cc914b {
    background-color: #cc914b !important;
}

.price-mob .card {
    box-shadow: 3px 3px 10px 3px rgba(90, 90, 90, 0.8);
    border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
}

.abs-01 {
}

.abs-01 h1 {
    font-size: 2.3rem;
}
.abs-01 h2 {
    font-size: 1.7rem;
    color: #995a3b;
}
.abs-01 h2 span {
    color: #cc914b;
}
.abs-01 h5 {
    font-size: 1.35rem;
    color: #71706e;
}
.abs-01-img {
    width: 20rem;
    height: 25rem;
    object-fit: cover;
    object-position: center top;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.about-img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    object-position: center 30%;
}

.bg-f2-e5 {
    background: linear-gradient(to right, #f2e5da, #e5c9b5);
}

.faq-item-box {
    background-color: #fff;
    padding: 20px 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.faq-item-a {
    display: none;
}

@media (max-width: 768px) {
    .faq-item-box {
        padding: 20px 1rem;
    }
}

@media (max-width: 992px) {
    .faq-contact-box img {
        position: relative;
        transform: unset;
    }
}

.faq-item-arrow-d .bi::before {
    color: black;
    font-weight: 800 !important;
}

.faq-item-arrow-p .bi::before {
    color: black;
    font-weight: 800 !important;
}

.faq-item-line {
    background: #cc914b;
    height: 1px;
    margin: 15px 0;
    width: 100%;
}

.footer {
    background-color: #995a3b !important;
}

.copyright {
    /* background: #7c7c7e !important; */
    font-size: 14px;
}

/* @media (max-width: 768px) {
    .copyright {
      margin-bottom: 40px;
    }
  } */

.copyright p {
    color: #f2e5da !important;
}

.copyright a {
    color: #f2e5da !important;
}

/* 桌機版：模擬 table header 與每一列的格式 */
.table-header {
    font-weight: bold;
    border-bottom: 2px solid #dee2e6;
    padding: 8px 0;
}
.table-row {
    border-bottom: 1px solid #dee2e6;
    padding: 8px 0;
}

/* 手機版：利用 data-label 屬性加上提示標籤 */
@media (max-width: 767.98px) {
    .d-table-cell[data-label]:before {
        content: attr(data-label) ": ";
        font-weight: bold;
        /* 可根據需求調整提示區塊的寬度 */
        width: 100px;
        display: inline-block;
    }
}

/* social-icon 圓形 */
.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #995a3b !important;
    color: #fff;
}
.social-icon:hover {
    background-color: #e69138 !important;
}

/* cta-button  長條方圓*/
.cta-button {
    width: 230px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #995a3b !important;
    color: #fff;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}
.cta-button:hover {
    background-color: #e69138 !important;
}
.cta-button {
    color: #fff;
    text-decoration: none;
}
.cta-button:hover {
    color: #fff;
}

.event * {
    word-wrap: break-word;
}

.w-fit {
    width: fit-content;
}

.price .nav-link {
    color: #995a3b !important;
    background-color: transparent !important;
    border: 1px solid #995a3b !important;
    border-radius: 0 !important;
    margin-left: 3px !important;
    margin-right: 3px !important;
}
.price .nav-link.active,
.price .show > .nav-link,
.price .nav-link:hover,
.price .nav-link:focus,
.price .nav-link:active {
    color: #fff !important;
    background-color: #995a3b !important;
    border: 1px solid #995a3b !important;
}

.site-logo img {
    width: 100%;
    height: auto;
    max-width: 200px;
    max-height: 100px;
}

.social-links-btn {
  position: fixed;
  z-index: 9;
  top: 50%;
  left: 2%;
  transform: translate(-5%, -50%);
  -webkit-transform: translate(-5%, -50%);
  -moz-transform: translate(-5%, -50%);
  -ms-transform: translate(-5%, -50%);
  -o-transform: translate(-5%, -50%);
}

.social-links-btn a {
  width: 4rem;
}

.social-links-btn-mobile {
  width: 100vw;
  height: 45px;
  z-index: 9;
}

.s-line-btn {
  background: linear-gradient(to top, #71a42c 0%, #a0c251 100%);
  height: 100%;
  border-right: 0.5px solid #fff;
  /* border-left: 0.5px solid #fff; */
}

.s-phone-btn {
  background: linear-gradient(to top, #D4AF37 0%, #f8b834 100%);
  height: 100%;
  /* border-right: 0.5px solid #fff; */
  border-left: 0.5px solid #fff;
}

.s-location-btn {
  background: linear-gradient(to top, #0281ff 0%, #2893ff 100%);
  height: 100%;
  /* border-right: 0.5px solid #fff; */
  border-left: 0.5px solid #fff;
}

.social-links-btn-mobile a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 50px;
}
