﻿@charset "UTF-8";
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 4rem;
}
@media (max-width: 767px) {
  .location-grid {
    gap: 25px;
  }
}
@media (max-width: 1199px) {
  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.loc-card {
  position: relative;
  border-radius: 30px;
  padding: 50px 30px 40px;
  color: #fff;
  min-height: 140px;
  background-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.38s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}
@media (max-width: 767px) {
  .loc-card {
    padding: 40px 30px 40px;
  }
}
.loc-card .cover-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
  text-decoration: none;
}
.loc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.loc-card .badge {
  position: absolute;
  top: 22px;
  left: -12px;
  background-color: #a9362e;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 13px 7px;
  border-radius: 0;
  line-height: 1;
}
@media (max-width: 767px) {
  .loc-card .badge {
    top: 15px;
  }
}
.loc-card .badge::before {
  content: " ";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 8px 0;
  border-color: transparent #732823 transparent transparent;
  left: 0;
  bottom: -8px;
}
.loc-card .title {
  margin: 28px 0 5px;
  font-weight: 700;
  font-size: 18px;
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  outline: none;
}
.loc-card .title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.95);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
  pointer-events: none;
}
.loc-card .area {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  font-size: 15px;
}
.loc-card .area .area-text {
  opacity: 0.75;
  font-size: 14px;
}
.loc-card .area .pin-ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-color: #f9c3c9;
  -webkit-mask: url("../../../../images/Templates/LocationTemplates/T001/add.png") no-repeat center/contain;
  mask: url("../../../../images/Templates/LocationTemplates/T001/add.png") no-repeat center/contain;
}
.loc-card .decor {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 62px;
  height: 62px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.4;
  pointer-events: none;
}
.loc-card .kind-name {
  position: absolute;
  top: 58px;
  font-size: 12px;
  opacity: 0.5;
  font-weight: 400;
}
@media (max-width: 767px) {
  .loc-card .kind-name {
    top: 49px;
  }
}

/* 顏色與右下角裝飾圖 */
.loc-card.card--s1 {
  background-color: #7e81c0;
}
.loc-card.card--s1:hover {
  background-color: #575aaf;
}
.loc-card.card--s1 .decor {
  background-image: url("../../../../Images/Templates/LocationTemplates/T001/01.png");
}

.loc-card.card--s2 {
  background-color: #4160b4;
}
.loc-card.card--s2:hover {
  background-color: #4f76df;
}
.loc-card.card--s2 .decor {
  background-image: url("../../../../Images/Templates/LocationTemplates/T001/02.png");
}

.loc-card.card--s3 {
  background-color: #5eb9db;
}
.loc-card.card--s3:hover {
  background-color: #3bb0db;
}
.loc-card.card--s3 .decor {
  background-image: url("../../../../Images/Templates/LocationTemplates/T001/03.png");
}

.loc-card.card--s4 {
  background-color: #3b8285;
}
.loc-card.card--s4:hover {
  background-color: rgb(74.671875, 164.53125, 168.328125);
}
.loc-card.card--s4 .decor {
  background-image: url("../../../../Images/Templates/LocationTemplates/T001/04.png");
}

.loc-search .input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}
.loc-search .select-wrap {
  position: relative;
  display: block;
  flex: 1 1 320px;
  user-select: none;
  /* 反轉 */
}
.loc-search .select-wrap select {
  width: 100%;
  height: 56px;
  padding: 0 48px 0 24px;
  border-radius: 9999px;
  border: 1px solid #dedede;
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  /* 關閉各瀏覽器預設 focus */
  outline: none !important;
}
.loc-search .select-wrap select:focus {
  outline: none !important;
}
.loc-search .select-wrap select:focus-visible {
  outline: none !important;
}
.loc-search .select-wrap select:focus {
  border-color: #c9c9c9;
  box-shadow: 0 0 19px 2px rgba(96, 98, 155, 0.1294117647);
}
.loc-search .select-wrap::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.35s ease;
  pointer-events: none;
  opacity: 0.9;
}
.loc-search .select-wrap.is-open::after {
  transform: translateY(-60%) rotate(-135deg);
}
.loc-search .btn-search {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 56px;
  padding: 0 18px 0 22px;
  border-radius: 9999px;
  border: 1px solid #eeeeee;
  background: #f3f3f3;
  color: #111;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.08s ease, background 0.3s ease;
}
.loc-search .btn-search svg {
  width: 20px;
  height: 20px;
}
.loc-search .btn-search:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #7e81c0;
  color: #fff;
}
.loc-search .btn-search:active {
  transform: translateY(1px);
}
.loc-search .btn-search:focus-visible {
  outline: 4px solid rgba(0, 0, 0, 0.06);
}
@media (max-width: 991px) {
  .loc-search .select-wrap {
    flex: 1 1 260px;
  }
  .loc-search .btn-search {
    flex: 1 1 260px;
    justify-content: space-between;
  }
}
@media (max-width: 575px) {
  .loc-search .input-row {
    gap: 14px;
  }
  .loc-search .select-wrap, .loc-search .btn-search {
    flex-basis: 100%;
  }
}

.full-bleed {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 101vw;
}

.slick-slide img {
  border-radius: 30px 30px 0 0;
}

.slick .slick-prev, .slick .slick-next {
  width: 45px;
  height: 45px;
}

.slick .slick-prev {
  left: 0%;
}

.slick .slick-next {
  right: 0%;
}

.home_Location {
  padding: 3rem 0;
  background-color: #fafbfd;
}
.home_Location .tab-content {
  width: 1320px;
  margin: 0 auto;
}
@media (max-width: 1400px) {
  .home_Location .tab-content {
    width: 95%;
  }
}
.home_Location h3 {
  text-align: center;
  font-size: 25px;
  margin-bottom: 1.5rem;
  color: #1c1c1c;
  font-weight: 700;
}
.home_Location .nav-pills {
  justify-content: center;
  margin-bottom: 20px;
}
.home_Location .nav-pills .nav-link {
  background-color: #fff;
  color: #cdad7d;
  border: 2px solid #cdad7d;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 29px;
  border-radius: 30px;
  margin: 0 5px;
  position: relative;
  transition: all 0.5s;
}
.home_Location .nav-pills .nav-link.is-active {
  background-color: #cdad7d;
  color: #fff;
}
.home_Location .nav-pills .nav-link.is-active::before {
  bottom: -13px;
  opacity: 1;
}
@media (max-width: 575px) {
  .home_Location .nav-pills .nav-link.is-active::before {
    bottom: -11px;
  }
}
.home_Location .nav-pills .nav-link::before {
  content: " ";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 10px 0 10px;
  border-color: #cdad7d transparent transparent transparent;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  transition: all 0.3s;
  opacity: 0;
  z-index: -1;
}
.home_Location .h2 .txt-tw {
  background: url(../../../../images/templates/LocationTemplates/default/h_icon05.svg) no-repeat 20px center #60629b;
}
.home_Location .h2 .txt-en {
  color: #d2d5dd;
}
.home_Location .more_a a {
  color: #000;
}
.home_Location .more_a a:hover {
  color: #cdad7d;
}
.home_Location .item {
  position: relative;
  margin: 20px 20px;
  box-shadow: 0 0 18px rgba(205, 173, 125, 0.368627451);
  border-radius: 40px;
  transition: all 0.5s;
}
.home_Location .item:hover {
  transform: scale(1.02);
}
.home_Location .item:hover .pic img {
  opacity: 0.7;
}
.home_Location .item .fatured {
  font-size: 14px;
  color: #fff;
  background-color: #a9362e;
  position: absolute;
  text-align: center;
  padding: 3px 13px;
  display: table;
  z-index: 1;
  left: -19px;
  top: 15px;
}
.home_Location .item .fatured::before {
  content: " ";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 19px 8px 0;
  border-color: transparent #732823 transparent transparent;
  left: 0;
  bottom: -8px;
}
.home_Location .item .tit {
  padding: 20px;
  border-radius: 0 0 40px 40px;
  background-color: #fff;
  min-height: 142px;
}
.home_Location .item .tit .title {
  font-weight: bold;
  color: #090909;
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 5px;
}
.home_Location .item .tit .place {
  background: url("../../../../images/templates/locationtemplates/default/add.svg") no-repeat left center;
  padding-left: 15px;
  color: #222344;
  font-size: 15px;
  margin-bottom: 5px;
}
.home_Location .item .pic {
  border-radius: 40px 40px 0 0;
  position: relative;
  overflow: hidden;
}
.home_Location a {
  display: block;
}

/* ---- 首頁搬移下方四塊 ---- */
.home-cb {
  background-color: #fafbfd;
  padding: 0 1rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 1400px) {
  .home-cb {
    padding: 0 3rem 2rem;
  }
}
.home-cb .central_box {
  background-color: #fff;
  box-shadow: 0 0 12px #cdad7d;
  border-radius: 50px;
  padding: 20px 0;
  margin: 0 auto;
  transform: translateY(-25px);
  width: 1320px;
}
.home-cb .central_box .vr_icon {
  transform: scale(0.65);
}
.home-cb .central_box span {
  font-size: 19px;
}
@media (max-width: 767px) {
  .home-cb .central_box span {
    font-size: 17px;
  }
}
.home-cb .central_box ul {
  gap: 0 10px;
  flex-wrap: unset;
}
.home-cb .central_box ul li {
  position: relative;
  width: calc((100% - 20px) / 4);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 24px;
}
.home-cb .central_box ul li::before {
  content: " ";
  display: block;
  position: absolute;
  background-color: #6e6e6e;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 26px;
}
.home-cb .central_box ul li:last-child::before {
  display: none;
}

/* ---- RWD ---- */
@media (max-width: 1199px) {
  .home_Location .central_box {
    margin: 20px 15px;
    padding: 10px 0;
  }
  .home_Location .central_box .vr_icon {
    transform: scale(0.8);
  }
  .home_Location .central_box span {
    font-size: 20px;
  }
}
@media (max-width: 992px) {
  .home_Location .slick .slick-next {
    right: -10px;
  }
  .home_Location .slick .slick-prev {
    left: -10px;
  }
  .home_Location > .container {
    max-width: 100%;
  }
  .home_Location .central_box {
    margin: 20px 15px;
    padding: 10px 0;
  }
  .home_Location .central_box .vr_icon {
    transform: scale(0.8);
  }
  .home_Location .central_box span {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .home_Location {
    padding: 40px 0 50px;
  }
  .home_Location .slick .slick-next,
  .home_Location .slick .slick-prev {
    top: 36%;
  }
  .home_Location .slick .slick-next:hover, .home_Location .slick .slick-next:focus,
  .home_Location .slick .slick-prev:hover,
  .home_Location .slick .slick-prev:focus {
    background-size: 25%;
  }
  .home_Location .item {
    margin: 20px 20px;
    border-radius: 30px;
  }
  .home_Location .item .pic {
    border-radius: 20px 20px 0 0;
  }
  .home_Location .item .tit {
    border-radius: 0 0 20px 20px;
    padding: 10px;
    min-height: auto;
  }
  .home_Location .item .fatured {
    font-size: 14px;
    padding: 3px 10px;
    left: -10px;
  }
  .home_Location .item .fatured::before {
    border-width: 0 10px 6px 0;
    bottom: -5px;
  }
  .home-cb {
    padding: 0 1rem 2rem;
  }
  .home-cb .central_box {
    margin: 0 20px 20px;
    padding: 0;
    box-shadow: none;
  }
  .home-cb .central_box .vr_icon {
    transform: scale(0.8);
  }
  .home-cb .central_box span {
    transform: translateY(-9px);
  }
  .home-cb .central_box ul {
    flex-wrap: wrap;
    gap: 0;
  }
  .home-cb .central_box ul li {
    width: 50%;
    flex-direction: column;
    font-size: 18px;
    padding: 1.5rem 2.5rem;
  }
  .home-cb .central_box ul li:first-child {
    background-color: #e9e5de;
    border-radius: 30px 0 0 0;
  }
  .home-cb .central_box ul li:nth-child(2) {
    background-color: #ededed;
    border-radius: 0 30px 0 0;
  }
  .home-cb .central_box ul li:nth-child(3) {
    background-color: #ededed;
    border-radius: 0 0 0 30px;
  }
  .home-cb .central_box ul li:last-child {
    background-color: #e9e5de;
    border-radius: 0 0 30px 0;
  }
  .home-cb .central_box ul li img {
    width: 80%;
    margin: 0 auto 5px;
    display: table;
  }
  .home-cb .central_box ul li:nth-child(2)::before {
    display: none;
  }
  .home-cb .central_box ul li::before {
    height: 36px;
    right: -10px;
  }
  .more_a {
    transform: translateY(20px) !important;
  }
}
@media (max-width: 575px) {
  .home_Location .nav-pills .nav-link {
    font-size: 16px;
    padding: 8px 15px;
    border-width: 2px;
  }
  .home_Location .nav-pills .nav-link::before {
    transform: scale(0.6);
  }
  .home_Location .nav-pills .nav-link.active::before {
    bottom: -14px;
  }
}
/* 淡入淡出 */
.wid-Location {
  opacity: 1;
  transition: opacity 0.2s ease; /* 要和 JS 的 200ms 一致 */
}

.wid-Location.is-fading {
  opacity: 0;
}

/* slick 觸控滑動與頁面滾動 */
.wid-Location,
.wid-Location .slick-track {
  touch-action: pan-y !important;
}

.wid-Location .slick-list {
  overflow: hidden;
}

.no-data {
  text-align: center;
  padding-bottom: 3rem;
  font-size: 17px;
  color: #666;
}

/* 提示圓點外層*/
.loc-hint {
  position: relative;
  display: inline-block;
  z-index: 2;
}
@media (max-width: 1050px) {
  .loc-hint {
    display: none;
  }
}

/* 黑底 ? 圓點 */
.hint-dot {
  position: absolute;
  display: inline-flex;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  cursor: help;
  user-select: none;
  top: -195px;
  left: 225px;
}

/* 顯示 ? 符號 */
.hint-dot::before {
  content: "?";
  line-height: 1;
  transform: translateY(-1px);
}

.hint-dot::after {
  content: attr(data-tip);
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(12px, -50%);
  white-space: nowrap;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.hint-dot:hover::after,
.hint-dot:focus::after {
  opacity: 1;
  transform: translate(16px, -50%);
}

.hint-dot:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}
