@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css); 
a {
    text-decoration: none;
}
#main{
    background-color: #eee;
}
/* 修改 bootstrap */
.row {
    margin-right: 0;
    margin-left: 0;
    display: flex;
    justify-content: center;
}
@media screen and (max-width: 767px) {
	.row {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	.group1{
		order: 2;
		-webkit-order: 2;
	}
	.group2{
		order: 1;
		-webkit-order: 1;
		text-align: center;
	}
	.group3{
		order: 3;
		-webkit-order: 3;
	}
}
.container{
	width: 100%;
    max-width: 1140px;
    text-align: justify;
	font-family: 微軟正黑體;
}
.form-control {
	height: 50px;
	margin: .2rem 0;
}
.form-control{
	background-color: #fff;
}
.groupTitle {
    padding: 20px;
    clear: both;
    font-size: 18px;
}
.checkbox{
	width: calc(25% - 10px);
	max-width: calc(277.5px - 10px);
	float: left;
	background-color: #fff;
	margin-right: 10px;
}
.tourdata{
	width: 75%;
	float: left;
}
@media(max-width:768px){
  .bigimg{
    height: 175px;  
  }
  .bigimg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
@media screen and (max-width: 767px) {
	.checkbox, .tourdata{
		width: 100%;
		max-width: 100%;
		margin-right: 0px;
	}
}
/* 修改 bootstrap */
/* 修改 bootstrap daterangepicker*/
.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
	min-width: 20px;
}
/* 修改 bootstrap daterangepicker*/
@media screen and (max-width: 767px){
	.hidden-sm-down {
	    display: none;
	}
}
@media screen and (min-width: 767px){
	.form-ui{
		padding-top: 15px;
	}
}
.checkbox-item{
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}
.form-group label {
    font-size: 18px;
}
.closecustomselect{
	padding: 5px;
}
/* -- TourBox -- */
.tourBox {
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  position: relative;
  background: #fff;
  border-radius: 2px;
}
.tourBox .tripRecommendText {
  position: absolute;
  top: -37px;
  left: 10px;
  color: #fff;
  display: none;
}
.tourBox .saleTagsBox {
  position: absolute;
  top: 10px;
  left: -5px;
  z-index: 1;
  display: none;
}
.tourBox .saleTagsBox .saleTags {
  position: relative;
  padding: 3px 7px;
}
.tourBox .saleTagsBox .saleTags span {
  padding: 0 3px;
}
.tourBox .saleTagsBox .saleTags.redBox {
  background: #f44336;
  color: #fff;
}
.tourBox .saleTagsBox .saleTags:before,
.tourBox .saleTagsBox .saleTags:after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}
.tourBox .saleTagsBox .saleTags:before {
  bottom: -5px;
  left: 0;
  border-width: 5px 0 0 5px;
  border-color: #b71c1c transparent transparent transparent;
}
.tourBox .saleTagsBox .saleTags:after {
  top: 0;
  right: -15px;
  border-width: 15px 0 15px 15px;
  border-color: transparent transparent transparent #f44336;
}
.tourBox .imgGroup {
  -webkit-flex: none;
  flex: none;
  width: 250px;
  overflow: hidden;
  position: relative;
}
.tourBox .tripImg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  text-decoration: none;
}
.tourBox .dayPriceBox {
  position: absolute;
  left: 20px;
  bottom: 10px;
  z-index: 1;
}
.tourBox .dayPriceBox .originPrice {
  display: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.tourBox .dayPriceBox .originPrice span {
  text-decoration: line-through;
}
.tourBox .dayPriceBox .dayPrice {
  color: #fff;
  font-size: 14px;
}
.tourBox .dayPriceBox .dayPrice span {
  color: #ff9800;
  font-size: 23px;
  font-weight: 700;
}
.tourBox .imgMask {
  position: absolute;
  padding-bottom: 48%;
  bottom: 0;
  left: 0;
  right: 0;
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}
.tourBox .tourInfo {
  -webkit-flex: initial;
  flex: initial;
  position: relative;
  display: -webkit-inline-flex;
  display: -moz-inline-flex;
  display: -ms-inline-flex;
  display: inline-flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  vertical-align: top;
  align-content: space-between;
  flex-direction: row;
}
.tourBox .tourInfo > div {
  width: 100%;
}
.tourBox .tourInfo .infoGroup {
  padding: 20px 20px 5px;
}
.tourBox .tourInfo .infoGroup .evalBox {
  overflow: hidden;
  transform: scale(0.8);
  transform-origin: left top;
}
.tourBox .tourInfo .infoGroup .travelName,
.tourBox .tourInfo .infoGroup .ratingBox {
  color: #777;
  float: left;
}
.tourBox .tourInfo .infoGroup .ratingBox {
  padding: 1px 0 0 5px;
}
.tourBox .tourInfo .infoGroup .strokeName {
  clear: both;
  margin-top: 5px;
  overflow: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #333;
}
.tourBox .tourInfo .infoGroup .strokeName strong {
  color: #333;
  font-size: 18px;
}
.tourBox .tourInfo .infoGroup .strokeName h2 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.tourBox .tourInfo .infoGroup .locate {
  display: inline-block;
  font-size: 12px;
  color: #757575;
  font-weight: bold;
  background: #f5f5f5;
  vertical-align: middle;
  padding: 0 5px;
  margin-top: 5px;
}
.tourBox .tourInfo .infoGroup .locate .material-icons {
  font-size: 12px;
  color: #bdbdbd;
  line-height: 18px;
  vertical-align: bottom;
}
.tourBox .tourInfo .infoGroup .locate h3 {
  font-size: 12px;
  display: inline;
  font-weight: 700;
}
@media screen and (max-width: 499px) {
  .tourBox .tourInfo {
    display: block;
    min-height: 100%;
  }
}
@media not all and (min-resolution: 0.001dpcm) {
  .tourBox .tourInfo {
    min-height: 350px;
  }
}
@media screen and (max-width: 500px) {
  .tourBox .tourInfo {
    min-height: auto;
  }
}
.tourBox:hover .tripImg {
  /*-webkit-transform: scale(1.1);
  transform: scale(1.1);*/
}
/* ----- 直式 tourBox ----- */
@media (max-width: 767px) {

	#resultTours {
	  max-width: 1140px;
	  margin: 0 auto;
	  display: block;
	  padding: 0;
	}
	#resultTours .tourBox {
	  height: 100%;
	  flex-direction: column;
	}
	#resultTours .tourBox .imgGroup {
	  width: 100%;
	  height: 0;
	  padding-bottom: 56.25%;
	}
	#resultTours .tourInfo {
	  height: 100%;
	}
	#resultTours .newTourBox {
	  -webkit-flex: none;
	  flex: none;
	  width: calc(100% / 3 - 10px);
	  margin-left: calc(10px * 3 / 2);
	  margin-bottom: calc(10px * 3 / 2);
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
	}
	#resultTours .newTourBox:nth-child(3n+1) {
	  margin-left: 0;
	}
}
.preFlag {
    margin: 5px 20px;
    font-size: 0;
}
.preFlag .tag[rel='forTripMember'] {
    padding: 0;
    font-size: 0;
    border: none;
    background: transparent;
}
.preFlag .tag {
    display: inline-block;
    margin: 5px 2px;
    border-radius: 15px;
    font-size: 12px;
    padding: 0 7px;
    color: #E20EA1;
    background: #fff;
    border: 1px #E20EA1 solid;
    cursor: default;
}
@media (max-width: 767px) {
	.preFlag .tag[rel='forTripMember'] {
	    width: 100%;
	}
}
.preFlag .tag[rel='forTripMember'] span {
    font-size: 12px;
    border: 1px #00c853 solid;
    border-left-width: 0;
    padding: 2px 7px;
    color: #00c853;
    background: #fff;
}
.preFlag .tag[rel='forTripMember'] span:first-child {
    background: #00c853;
    color: #fff;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
}
.preFlag .promotion_text{
	font-size: 15px;
    border-left-width: 0;
    padding: 2px 5px 2px 2px;
    color: #FF4D4D;
    background: #fff;
	border: 0;
}
.preFlag .tag.tripressoTag[data-toggle="popover"], .preFlag .tag.discountTag[data-toggle="popover"] {
    position: relative;
    padding-right: 18px;
}
.preFlag .tag.tripressoTag[data-toggle="popover"]:after, .preFlag .tag.discountTag[data-toggle="popover"]:after {
    content: "\e88f";
    font-size: 12px;
    font-family: 'Material Icons';
    line-height: 0;
    vertical-align: middle;
    padding-left: 2px;
    position: absolute;
    top: 9px;
}
.preFlag .tag[rel='forTripMember'] span:last-child {
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}
.dateFavoriteBox {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    border-top: 1px #d2d2d2 solid;
}
.newTourBox {
    margin-bottom: 15px;
    position: relative;
    width: 100%;

}
.newTourBox .dateFavoriteBox .dateBox {
    width: calc(100% - 10px);
}
.dateFavoriteBox .dateBox {
    -webkit-flex: initial;
    flex: initial;
    width: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    padding: 15px 20px;
    position: relative;
}
.dateFavoriteBox .dateBox .dateList {
    width: calc(100% - 50px);
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    overflow:hidden;
    white-space: nowrap;
	text-overflow: ellipsis;
}
/*用寬度隱藏限時促銷與保證出團的date*/
@media (max-width: 590px) {
	.dateFavoriteBox .dateBox .dateList {
		width: 405px;
	}
}
@media (max-width: 505px) {
	.dateFavoriteBox .dateBox .dateList {
		width: 320px;
	}
}
@media (max-width: 420px) {
	.dateFavoriteBox .dateBox .dateList {
		width: 235px;
	}
}
@media (max-width: 335px) {
	.dateFavoriteBox .dateBox .dateList {
		width: 150px;
	}
}
.dateFavoriteBox .dateBox .dateList .flagGroupStatus {
    display: none;
    font-size: 14px;
    position: relative;
    margin-right: 20px;
}
.newTourBox .dateFavoriteBox .dateBox .dateList .flagGroupStatus:nth-child(1), .newTourBox .dateFavoriteBox .dateBox .dateList .flagGroupStatus:nth-child(2), .newTourBox .dateFavoriteBox .dateBox .dateList .flagGroupStatus:nth-child(3), .newTourBox .dateFavoriteBox .dateBox .dateList .flagGroupStatus:nth-child(4), .newTourBox .dateFavoriteBox .dateBox .dateList .flagGroupStatus:nth-child(5) {
    display: inline;
}
.dateFavoriteBox .dateBox .dateList .flagGroupStatus:nth-child(1), .dateFavoriteBox .dateBox .dateList .flagGroupStatus:nth-child(2), .dateFavoriteBox .dateBox .dateList .flagGroupStatus:nth-child(3) {
    display: inline;
}
.dateFavoriteBox .dateBox .dateList .flagGroupStatus[rel='guarantee'] a {
    color: #FF0000;
}

.dateFavoriteBox .dateBox .dateList .flagGroupStatus[rel='timeLimit'] a {
    color: #FF8800;
}
.dateFavoriteBox .dateBox .dateList .flagGroupStatus[rel='blue'] a {
    color: #0080FF;
}
.toolTipBox {
    display: inline-block;
    position: relative;
    text-align: center;
}
.dateFavoriteBox .dateBox .dateList .flagGroupStatus[rel='guarantee'] .toolTipTextBox {
    background-color: #FF0000;
}
.dateFavoriteBox .dateBox .dateList .flagGroupStatus[rel='blue'] .toolTipTextBox {
    background-color:#0080FF;
}
.dateFavoriteBox .dateBox .dateList .flagGroupStatus[rel='timeLimit'] .toolTipTextBox {
    background-color: #FF8800;
}
.dateFavoriteBox .dateBox .dateList .flagGroupStatus .toolTipTextBox {
    font-size: 13px;
}
.dateFavoriteBox .dateBox .toolTipBox .toolTipTextBox {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
.toolTipBox .toolTipTextBox {
    visibility: hidden;
    width: 65px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 1s;
    font-size: 13px;
    line-height: 1;
}
.dateFavoriteBox .dateBox .dateMore {
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}
.dateFavoriteBox .dateBox .dateMore a {
    color: #999;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-decoration: none;
}





/*------------------------------------2018ste-------------------------------------*/
/*手機版MENU三條線與側邊攔*/
body {
    font: 13px/1.4 "Open Sans", sans-serif;
}
body:after {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    cursor: pointer;
    transition: 0.8s;
}
body.openMenu {
    overflow: hidden;
}
body.openMenu:after {
    visibility: visible;
    opacity: 1;
}
#openMenu {
    width: 48px;
    display: inline-block;
    padding: 12px;
    height: 50px;
    vertical-align: top;
}
#openMenu:hover {
    color: #000;
}
#Country, #date, #cityarea, #searchInput{
    width: calc(100% - 90px);
    display: inline;
}
#date {
    width: calc(100% - 110px);
}

/*整個內容body*/
body{
	background-image:url(../images/bg.jpg);
}
/*最上面橫幅與大圖*/
.logo{
	height: 55px;
	margin-left:10%;
}
.topbutton{
	margin-right:1%; 
	font-size:16px;
	font-weight:bold;
	color:#FFFFFF;
}
.transparent{
	-moz-opacity:0.5;
	filter:alpha(opacity=33);
	border:0px;
}
.normal{
	border:0px;
}
/*LINE好友按鈕*/
.line-button{
	width:100%;
	height:250px;
	text-align:center;
	z-index: 1;
	position: relative;
	max-width: 1140px;
	margin: 0 auto;
}
.line-button img{
	width:100%;
}
/*「手機版」LINE好友按鈕*/
@media (max-width:768px) {
	.line-button{
		height:350px;
	}
	.line-button-img{
		display:none;
	}
	.line-button img{
		max-width: 350px;
		width: 90%;
		margin: auto;
	}
}
@media (min-width:768px) {
	.line-button-img-phone{
		display:none;
	}
	
}
/*頁尾*/
footer {
	background-color: #FFF;
	-webkit-box-shadow: 0px 0px 8px hsla(0,0%,0%,0.50);
	box-shadow: 0px 0px 8px hsla(0,0%,0%,0.50);
	text-align: center;
	font-size: 14pt;
	padding-top: 30px;
	padding-bottom: 30px;
	z-index: 1;
	position: relative;
}
.img-radius{
	display:inline-block;
	display:relative;
	width:200px;
	height:200px;
	overflow:hidden;
	border-radius:50%;
	border-color:#FFFFFF;
	border-width:10px;
	border-style:solid;
}
.img-radius:hover{
	box-shadow: 0 1px 3px 2px rgba(128,128,128,.4);
}
.img-radius img{
	width:auto;
	height:100%;
	margin-left:-25px;
	margin-right:-25px;
}
/*各個行程整個框*/
.mix{
	display:inline-block;
	width:21%;
	margin:1.5% 1.5% ;
	border-color:#FFFFFF;
	border-width:10px;
	border-style:solid;
}
/*各個行程圖片跟內容之滑鼠停留在上面時*/
.mix:hover{
	box-shadow: 0 1px 3px 2px rgba(128,128,128,.4);
}
/*「手機版」各個行程整個框*/
@media (max-width:768px) {
	.mix{
		width:23%;
		margin-left:0.5%;
		margin-right:0.5%;
		border-width:5px;
	}
}
@media (max-width: 480px) {
	.mix{
		width:40%;
		border-width:2px;
	}
	.mix-frame{
		text-align:center;
	}	
}
/*行程上面國家之橫條圖*/
.mix-frame{
	text-align: center;
	overflow: hidden;
}
.country-color{
	height:45px;
	background-repeat: no-repeat;
	background-position: center;
}
.country-id{
	height: 50px;
}
.country-id-TOP10{
	height:3%;
}
/*「手機版」行程上面國家之橫條圖*/
@media (max-width:768px) {
	.country-color{
		height: 35px;
	}
	.country-id{
		height: 50px;
	}
	.country-id-TOP10{
		height:5%;
	}
}
/*整個行程區塊*/
#container{
	margin-left:10%;
	margin-right:10%;
	margin-bottom:3%;
}
/*各個行程圖片跟內容*/
figure{
	background-color: #FFFFFF;
}
/*各個行程圖片跟內容之小圖*/
figure img{
	width: 100%;
}
/*行程標題*/
.travelname{
	height:44px;/*不得已加這個*/
	width:98%;
	margin-top:3%;
	margin-left:2%;
	margin-right:2%;
	display: inline-block;
	font-size: 16px;
	text-align:left;
	color: #000000;
}
/*行程促銷說明*/
.travelname2{
	height:22px;/*不得已加這個*/
	width:98%;
	margin-top:5%;
	margin-left:2%;
	display: inline-block;
	font-size: 12pt;
	text-align:left;
	color:#BF0060;
	font-weight:bold;
}
/*行程價格*/
.sprice{
	width: 100%;
	display: inline-block;
	margin-left:2%;
	color: #f13424;
	font-size: 30px;
	font-weight: bold;
	text-align:left;
	font-family: Century Gothic, Helvetica, Arial,"微軟正黑體",Microsoft JhengHei, sans-serif;
}
/*價格後面"起"字*/
.priceup{
	margin-left:-4%;
	color: #888;
	font-size: 13px;
	font-style: italic;
	font-family: Microsoft JhengHei, PMingLiU, Microsoft YaHei;
}
@media (max-width: 1120px) {
	.travelname{
		height:40px;/*不得已加這個*/
	}
	/*行程促銷說明*/
	.travelname2{
		height:40px;/*不得已加這個*/
	}
}

/*「手機版」行程*/
@media (max-width:768px) {
	#container{
		margin-left:0%;
		margin-right:0%;
	}
	.travelname{
		width:100%;
		font-size: 11px;
	}
	.travelname2{
		width:100%;
		font-size: 10px;
	}
	.sprice{
		font-size: 26px;
	}
}


@media (max-width: 480px) {
	.travelname{
		height:38px;/*不得已加這個*/
		font-size: 13px;
	}
	.travelname2{
		height:19px;/*不得已加這個*/
		font-size: 11px;
	}
	.sprice{
		font-size: 16px;
	}
	.priceup{
		font-size: 6px;
	}
}
@media (max-width: 370px) {
	.priceup{
		font-size: 5px;
	}
}
select.input-sm{
	height:100%;
}

/*------------------------------------2024/7ste-------------------------------------*/
/* 關鍵字反亮 */
.highlight { 
  background-color: yellow;
  font-weight: bold;
}
/* 搜尋器 */
.searchForm{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* 如果內容寬度超過容器寬度，這行會允許內容換行 */
  width: 100%;
  margin: 0 auto; /* 確保容器自身居中 */
}

/* 排序按鈕(最低價格、出發日、天數) */
.menu {
  display: flex;
  position: relative;
  justify-content: space-around; /* 使子項目在父容器中均勻分佈 */
  align-items: center; /* 垂直置中 */
  max-width: 1100px;
  width: 100%;
  margin: 0 auto; /* 將.menu容器本身在父容器中置中 */
}
.menu-item {
  font-size: 16px;
  color: #333;
  padding: 10px 20px;
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: center; /* 使文本在每個項目中居中 */
  position: relative; /* 使每個項目內的底線可以相對定位 */
}
.menu-item:hover {
  color: #67b0d1;
}
/* 按鈕底線 */
.indicator {
  position: absolute;
  bottom: 0;
  height: 3px;
  background-color: #67b0d1;
  transition: left 0.4s ease, width 0.4s ease;
  display: none;
}
/* 取代 hr 線條 */
.menu-hr {
  max-width: 1100px;
  width: 100%;
  border-bottom: 1px solid #ccc;
  margin: 10px auto;
}
/* 響應式設計：針對手機版 */
@media (max-width: 768px) {

  .menu-item {
      width: 100%; /* 菜單項目寬度為100% */
      text-align: center; /* 垂直排列的項目居中對齊 */
      padding: 15px 0; /* 調整垂直間距 */
  }
  .indicator {
      display: block; /* 手機版也顯示指示器 */
  }
}


/* footer跑版問題 */
.tourdata.group3 {
  height: auto;
  min-height: 66px; 
}



/* -----2024.12.31----- */

.special_container{
  width: 1240px;
  height: 660px;
  margin: 10px auto;
  display: flex;
  flex-direction: column; 
}

.icon-with-lines {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  background-color:#FFFFFF;
  margin:10px 0px;
}

.icon-with-lines::before,
.icon-with-lines::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc; /* 線條的顏色和粗細 */
  margin: 0 10px; /* 線條與圖示之間的距離 */
}
.icon-with-lines img {
  max-height: 100px; /* 控制圖示大小 */
}




.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 686px;
}

.carousel-item {
  min-width: 100%;
  position: relative;
  text-align: center;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.carousel-controls button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-controls button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-indicators {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.carousel-indicators .indicator.active {
  background: rgba(255, 255, 255, 1);
}



/* ----------2025.01.02 simonA4 區域分類CSS---------- */
.area-title {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 80px;
  padding: 8px 0 14px;
  color: #71324d;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: bold;
  line-height: 1.25;
  text-align: center;
}
.area-title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  width: min(100%, 620px);
}
.area-title-line::before,
.area-title-line::after {
  content: '';
  flex: 1 1 0;
  max-width: 120px;
  height: 1px;
  background-color: #dca6b8;
}
.area-title-name {
  display: inline;
  min-width: 0;
  overflow-wrap: anywhere;
}
.area-title-name::before,
.area-title-name::after {
  content: '';
  display: inline-block;
  width: .64em;
  height: .64em;
  vertical-align: .02em;
  background-color: #b95579;
  -webkit-mask: url("../images/sakura4.png") center / contain no-repeat;
  mask: url("../images/sakura4.png") center / contain no-repeat;
}
.area-title-name::before { margin-inline-end: .24em; }
.area-title-name::after { margin-inline-start: .24em; }
.area-tohoku-detail {
  display: block;
  margin-top: 4px;
  color: #795965;
  font-size: 40px;
}
@media (max-width: 768px) {
  .area-title-line::before,
  .area-title-line::after {
    max-width: 46px;
  }
  .area-tohoku-detail {
    font-size: 18px;
  }
}

.sakura-tour-intro {
  padding: clamp(22px, 4vw, 40px) 16px;
  background-color: #ffdee9;
  text-align: center;
}
.sakura-tour-intro h2 {
  margin: 0 0 8px;
  color: #71324d;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
}
.sakura-tour-intro p {
  margin: 0;
  color: #624856;
  font-size: 16px;
  line-height: 1.6;
}


.nav-menu {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f3bf64;
}
.nav-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 6px 12px;
  padding: 10px clamp(8px, 3vw, 36px);
}
.nav-scroll {
  display: none;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 2px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.nav-btn::before {
  content: '';
  flex: 0 0 0.75em;
  width: 0.75em;
  height: 0.75em;
  background-color: currentColor;
  -webkit-mask: url("../images/sakura4.png") center / contain no-repeat;
  mask: url("../images/sakura4.png") center / contain no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  .nav-btn.active::before {
    animation: sakura-nav-spin 6s linear infinite;
  }
}

@keyframes sakura-nav-spin {
  to { transform: rotate(360deg); }
}

.nav-btn:hover,
.nav-btn:focus-visible,
.nav-btn.active {
  background-color: #fff;
  color: #f3bf64;
}
@media (max-width: 768px) {
  .nav-menu {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    align-items: center;
  }
  .nav-track {
    grid-column: 2;
    grid-row: 1;
    flex-wrap: nowrap;
    justify-content: safe center;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px 2px;
    gap: 4px;
  }
  .nav-track::-webkit-scrollbar {
    display: none;
  }
  .nav-btn {
    font-size: 20px;
  }
  .nav-scroll:not([hidden]) {
    display: grid;
    place-items: center;
    justify-self: center;
    grid-row: 1;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #626262;
    color: #fff;
    cursor: pointer;
  }
  .nav-scroll::before {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }
  .nav-scroll-prev { grid-column: 1; }
  .nav-scroll-next { grid-column: 3; }
  .nav-scroll-prev::before { transform: translateX(1px) rotate(135deg); }
  .nav-scroll-next::before { transform: translateX(-1px) rotate(-45deg); }
}

/* ----------2025.01.03 simonA5 GoTop按鈕---------- */
#goTop {
  display: none;
  position: fixed;
  bottom: 5px; /* 與下方的距離, 也可改為百分比, 即為距離螢幕下方的百分比 */
  right: 5px; /* 與右方的距離 */
  width: 60px; /* 按鈕原始寬度 */
  height: 60px; /* 按鈕原始高度 */
  opacity: 0.4; /* 按鈕原始透明度 */
  z-index: 99999;
  cursor: pointer;
  transition: all 0.5s; /* 動畫效果 持續期間 */
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
}
#goTop:active {
  opacity: 0; /* 按下時淡出 */
  transform: scale(0.1); /* 按下時稍微縮小 */
}
@media(max-width: 768px) {
  #goTop {
    width: 45px;
    height: 45px;
    bottom: 10px;
    right: 10px;
    opacity: 0.6; /* 手機版稍微提高透明度 */
  }
}

/* ----------2025.01.06 simonA7 介紹頁---------- */
.illustrate-container {
  margin: 24px auto;
}
.illustrate_content img {
  display: block;
  width: 100%;
  aspect-ratio: 38 / 25;
  object-fit: cover;
}
.illustrate_title {
  margin: 10px 0 6px;
  color: #71324d;
  font-size: 20px;
  font-weight: bold;
}
.illustrate_title_span {
  font-size: 16px;
}
.illustrate_text {
  color: #51273d;
  font-size: 15px;
  line-height: 1.65;
}

/* ----------2025.01.14 simonA8---------- */

#footerfunc ul li a {
	display: inline-block;
	line-height: 100%;
	font-size: 14px;
	color: #666666;

}
#footerfunc ul li a:hover {
	display: inline-block;
	line-height: 100%;
	font-size: 14px;
	color: #666666;
}
#footerfunc .dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    display: none;
    margin-top: -1px;
    width:180px;
    height:150px;
    text-align:left;
}
#footerfunc .dropdown-menu li:hover .sub-menu {
    display: block;
    width:180px;
    height:150px;
    text-align:left;
}
#footerfunc .dropdown:hover .dropdown-menu {
    display: block;
    width:180px;
    height:150px;
    text-align:left;
}
#footerfunc .nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
    width:180px;
    height:150px;
    text-align:left;
    line-height:200%;
}
#footerfunc .navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
#footerfunc .navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}
#footer {
	clear:both;
	width:100%;
	height:150px;
	position:relative;
	list-style: none;
	top:0;
	left:0;
	/*z-index:999 !important;*/
	z-index:99;
    background-color: #67b0d1;
	text-align:center;
}

#footer_wrap {
	margin:0 auto;
	width:980px;
	position:relative;
	text-align:center;
}

#footer .company {
	text-align:center;
	float:left;
	margin:5px;
	padding:0;
}
#footer .globalcompany {
	text-align:center;

	margin:5px;
	padding:0;
}
#footer .globalcompany p {
	margin:0 5px 0;
	padding:0;
	font-size:12pt;
	line-height:1.8em;
	color: #f8f8f8;
}


#footer .icon {
	float:left;
	margin:10px auto;
	padding:0;
}

#footer p {
	margin:0 5px 0;
	padding:0;
	font-size:10pt;
	line-height:1.8em;
	color: #f8f8f8;
}
#footer p.footer_fb {
	margin:15px 0 0 12px;
}

#footer p a:link, #footer p a:visited { color:#006ec5; text-decoration:none}
#footer p  a:hover, #footer p a:active { text-decoration:underline}

#footer_csf {
	clear:both;
	width:100%;
	height:100px;
	position:relative;

	list-style: none;
	top:0;
	left:0;
	z-index:999 !important;
    background-color: #67b0d1;
	text-align:center;
}

#footer_wrap_csf {
	margin:0 auto;
	width:980px;
	position:relative;
	text-align:center;
}
#footer_csf p {
	margin:0 5px 0;
	padding:0;
	font-size:10pt;
	line-height:1.8em;
	color: #f8f8f8;
}

.nav-tabs{
  display: flex; 
  justify-content: center;
}

.illustrate-container,
.sakura-results.container {
  width: 100%;
  max-width: 1392px;
  padding-inline: clamp(16px, 3vw, 40px);
}
.sakura-results > .row {
  margin-inline: 0;
}
.sakura-results #resultTours {
  float: none;
  width: 100%;
  max-width: none;
  margin-inline: auto;
}
.illustrate,
.sakura-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.sakura-card-grid {
  margin-bottom: 28px;
}
#resultTours .sakura-card-grid > .newTourBox {
  min-width: 0;
  width: 100%;
  margin: 0;
}
#resultTours .sakura-card-grid .tourBox {
  box-sizing: border-box;
  flex-direction: column;
  height: 100%;
  border: 1px solid #efd8e0;
  border-radius: 16px;
  background: #fffdfb;
  box-shadow: 0 5px 18px rgba(107, 45, 70, .10);
  transition: box-shadow .2s ease;
}
#resultTours .sakura-card-grid .tourBox:hover,
#resultTours .sakura-card-grid .tourBox:focus-within {
  box-shadow: 0 9px 24px rgba(107, 45, 70, .19);
}
#resultTours .sakura-card-grid .imgGroup {
  width: 100%;
  height: auto;
  padding-bottom: 56.25%;
  border-radius: 15px 15px 0 0;
  background: #f4e5eb;
}
.sakura-card-grid .sakura-days {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #71324d;
  color: #fff;
  font-weight: 700;
}
#resultTours .sakura-card-grid .tourInfo {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  min-height: 0;
  overflow-wrap: anywhere;
  text-align: left;
}
.sakura-card-grid .tourInfo .infoGroup {
  padding: 14px 16px 4px;
}
.sakura-card-grid .tourInfo .infoGroup .strokeName strong {
  color: #51273d;
  font-size: 20px;
  line-height: 1.45;
}
.sakura-card-grid .tourInfo .infoGroup .locate {
  background: #e8f2ee;
  color: #315950;
}
.sakura-card-grid .sakura-location-pin {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  vertical-align: -2px;
  background-color: #315950;
  -webkit-mask: url("../images/location-pin.png") center / contain no-repeat;
  mask: url("../images/location-pin.png") center / contain no-repeat;
}
.sakura-card-grid .tourInfo .infoGroup .locate h3 {
  color: inherit;
}
.sakura-card-grid .preFlag {
  margin: 4px 14px;
  padding: 0;
}
.sakura-card-grid .preFlag .tag:not([rel='forTripMember']) {
  background: #faedf2;
  border-color: #eed0dc;
  color: #783652;
}
.sakura-card-grid .sakura-salefocus {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  margin: 8px 16px 0;
  padding: 0;
  color: #51273d;
  text-align: left;
  font-size: 14px;
  line-height: 1.45;
  list-style: none;
}
.sakura-card-grid .sakura-salefocus li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.sakura-card-grid .sakura-salefocus img {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.sakura-card-grid .sakura-salefocus span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sakura-card-grid .sakura-price {
  margin: 8px 16px 0;
  color: #963852;
  text-align: right;
  font-size: 14px;
}
.sakura-card-grid .sakura-price strong {
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}
.sakura-card-grid .dateFavoriteBox {
  border-top: 0;
}
.sakura-card-grid .dateFavoriteBox .dateBox {
  flex: 1 1 0;
  min-width: 0;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 5px;
  width: auto;
  margin: 8px 12px 0;
  padding: 10px 0 14px;
  overflow-x: auto;
}
.sakura-card-grid .dateFavoriteBox .dateBox .dateList {
  display: contents;
}
.sakura-card-grid .dateFavoriteBox .dateBox .dateList .flagGroupStatus,
.sakura-card-grid .dateFavoriteBox .dateBox .dateMore {
  flex: 0 0 max(58px, calc((100% - 20px) / 5));
  min-width: 0;
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
}
.sakura-card-grid .dateFavoriteBox .dateBox .flagGroupStatus .toolTipTextBox {
  width: auto;
  padding: 3px 2px;
  font-size: 11px;
}
.sakura-card-grid .dateFavoriteBox .flagGroupStatus a,
.sakura-card-grid .dateFavoriteBox .dateMore a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 50px;
  padding: 5px 3px;
  border: 1px solid #ecd6df;
  border-radius: 6px;
  background: #fff4f7;
  text-decoration: none;
  text-align: center;
}
.sakura-card-grid .dateFavoriteBox a:hover,
.sakura-card-grid .dateFavoriteBox a:focus {
  background: #f5dbe5;
}
.sakura-card-grid .dateFavoriteBox .dateBox .dateMore {
  position: static;
  transform: none;
}
.sakura-card-grid .dateFavoriteBox .dateMore a {
  color: #71324d;
}
.sakura-card-grid .tourBox .tripImg {
  transition: transform .4s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sakura-card-grid .tourBox:hover .tripImg {
    transform: scale(1.045);
  }
}
@media (max-width: 991px) {
  .illustrate,
  .sakura-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .illustrate,
  .sakura-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


#main.sakura-main {
  background-color: #f7e3eb;
  background-image: url("../images/sakura-background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

@media (max-width: 767px) {
  #main.sakura-main {
    background-attachment: scroll;
    background-position: center top;
    background-size: auto 100vh;
  }
}
