@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300;400;500&display=swap');  /*日本漢字可支援中文-圓體*/

/* 20260112 */

/* 取消新版chrome搞出來的黑框bug */
*, *:focus {
	outline: none;
}
button:active, button.active, button:focus, button.focus {
	outline: none;
	border: none;
	box-shadow: none !important;
}



/* ==================================================
   Color顏色
================================================== */
body {
	--bgcolor: #23232d;
	--white: #fff;
	--pink: #f6a8cf;
	--pinkW: #ffc8d2;
	--yallow:#fffaa5;
	--light-yallow:#fafde8;
	--blue:#253464;
}
.white {
	color: var(--white);
}
.pinkW {
	color: var(--pinkW);
}
.yallow {
	color: var(--yallow);
}


/* ==================================================
   BS內建
================================================== */
main {
	overflow: clip; /* 隱藏捲軸避免bug, 原本用 hidden 會導致 .nav 的 position:sticky; 失效 */

	background-image: url(../imgs/bg.jpg);
	background-position: center top; /*左右 上下*/
	background-size:contain;
	/*background-size:cover;*/
	background-repeat: repeat-y;
}

/*桌上型 xxl~*/
@media (min-width: 1920px) { 
	main {
		background-size:cover;
	}
}

footer {
	font-family: 'Kiwi Maru'; /*日本漢字可支援中文-圓體*/
	font-size: 1.025em;
	color: var(--white); 
	font-weight: 500;
	background-repeat: repeat-x;
	background-image: url(../imgs/footer.png);
	background-position: left top;
	padding: 1.5em 0 .5em;
}

.img-fluid {
    /*max-width:auto;*/
	max-width:100%;
	width:100%;
}

body {
	/*padding-top:65px; 搭配Header區固定置頂，記得不能用margin,容易和其它相衝*/
	margin: 0 auto;
	min-width:340px; 
	margin-top: 40px;
	background-color: var(--bgcolor);

}

/* 1em等同於15px ~ 1rem等同於16px;*/
body,p,td {
	font-size: 1.025em;
	color: var(--white); 
	/*font-family: 'Noto Sans TC',Arial,-apple-system,Segoe UI,Roboto,sans-serif; 繁中-黑體*/
	font-family: -apple-system, Segoe UI, Roboto, "微軟正黑體", "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-weight: 500;
	line-height: 1.4;
	font-family: 'Kiwi Maru'; /*日本漢字可支援中文-圓體*/

}
h2 {
	font-size: 2.65em;
	line-height:1.2;
	letter-spacing: 0.35em;
	margin-bottom:0.5rem; 
}
h3 {
	font-size: 1.65em;
	color:var(--pinkW);
	letter-spacing: 0.05em;
}
h4 {
	font-size: 1.375em;
}
h5 {
	font-size: 1.315em;
	line-height:1.55;
}
h6 {
	font-size: 1.2em;
	font-weight: 500;
	line-height:1.4;
	margin-bottom:0.5em; 
}
p {
	text-align: justify;
	margin-bottom:0.85em; 
	line-height:1.45;
}

a {
	color: var(--white);
	text-decoration:none; 
	/*text-decoration:underline;*/
}
a:hover {
	color: var(--white);
	text-decoration:none;
}

/*
a.link {
	color: var(--white);
	text-decoration:underline;
}
a.link:hover {
	color: var(--pink);
	text-decoration:none;
}
*/

ol.tc li {
	padding-left:10px; 
}

dl, ol, ul {
    margin-bottom:0;
}

hr,
hr:not([size]) {
    margin: 1em 0;
    color: inherit;
    background-color: var(--white);
    height: 2px;
    border: 0;
    opacity: 1;
}

hr.dotted {
	background-color:transparent;
	border: none; /* 移除原本的邊框 */
    height: 3px;  /* 點的高度（直徑） */
    background-image: radial-gradient(circle, var(--white) 1px, transparent 1px);
    /* 第一個數值 10px 就是「點到點的中心距離」，改大間距就會變寬 */
    background-size: 7px 3px;   
    background-repeat: repeat-x;
    background-position: center;
    width: 100%;
	margin: 0 0 1em;
}

table td {
	vertical-align: top;
}



/*ipad 橫式lg ~ 直式md */
@media (min-width: 768px) and (max-width: 1199.98px) { 
	h3 {
		font-size: 1.45em;
	}
	h4 {
		font-size: 1.2em;
	}
	h5 {
		font-size: 1.175em;
	}
	.trafficBox .radiusBox h5 {
		margin-bottom: .25em;
	}
	h6 {
		font-size: 1.125em;
	}
}


/*ipad 直式 md*/
@media (min-width: 768px) and (max-width: 991.98px) { 
	body,p {
		font-size: 0.95em;
	}
	h2 {
		font-size: 1.85em;
	}
	h3 {
		font-size: 1.35em;
		letter-spacing: 0;
	}
	h4 {
		font-size: 1.125em;
	}
	h5 {
		font-size: 1.15em;
	}
	h6 {
		font-size: 1em;
	}
}


/*手機版~*/
@media (max-width: 767.98px) { 
	body {
		margin-top: 60px;
	}
	body,p {
		font-size: 1em;
	}
	h2 {
		font-size: 1.35em;
		margin-bottom: .15em;
	}
	h3 {
		font-size: 1.285em;
	}
	h4 {
		font-size: 1.175em;
	}
	h5 {
		font-size: 1.075em;
	}
	h6 {
		font-size: 1.035em;
	}
	.tc {
		font-size: 0.9em;
	}
	.g-5, .gy-5 {
		--bs-gutter-y: 1.5em;
	}
}


/* ==================================================
   漢堡按鈕-旋轉X
================================================== */
.navbar-toggler {
	padding: 0;
	border-radius: 0;
	background-color: none;
	border: none;
}

/*Hamburger Menu to X css*/
.navbarX {
	width: 25px;
	height: 18px;
	background-color: transparent !important;
	position: relative;
	float: right;
	margin-right: 0;
	cursor: pointer;
}

@media (min-width:992) {  /*手機版以外767px, md平板直式以外992px*/
	.navbarX {
		display:none;
	}
}

.navbarX i {
	background: var(--white);
	border-radius: 2px;
	width: 100%;
	height: 3px;
	content: "";
	display: block;
}

.navbarX i:nth-child(1) {
	animation: outT 0.8s backwards;  /*若要取消進場動畫*/
	animation-direction: reverse;
}

.navbarX i:nth-child(2) {
	margin: 5px 0;
	animation: outM 0.8s backwards;  /*若要取消進場動畫*/
	animation-direction: reverse;
}

.navbarX i:nth-child(3) {
	animation: outBtm 0.8s backwards; /*若要取消進場動畫*/
	animation-direction: reverse;
}

.navbarX.active i:nth-child(1) {
	animation: inT 0.8s forwards;
}

.navbarX.active i:nth-child(2) {
	animation: inM 0.8s forwards;
}
.navbarX.active i:nth-child(3) {
	animation: inBtm 0.8s forwards;
}

@keyframes inM {
	50% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(45deg);
	}
}

@keyframes outM {
	50% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(45deg);
	}
}


@keyframes inT {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(9px) rotate(0deg);
	}
	100% {
		transform: translateY(7px) rotate(135deg);/*微上調2px*/
	}
}

@keyframes outT {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(9px) rotate(0deg);
	}
	100% {
		transform: translateY(7px) rotate(135deg);
	}
}

@keyframes inBtm {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-9px) rotate(0deg);
	}
	100% {
		transform: translateY(-9px) rotate(135deg);
	}
}

@keyframes outBtm {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-9px) rotate(0deg);
	}
	100% {
		transform: translateY(-9px) rotate(135deg);
	}
}


/* ==================================================
   區域
================================================== */
section + section {
	padding-top:6em;
}

/*嵌fb影片RWD*/
.fb-iframe {
	width:100%;
	height:auto;
	border:none;
	overflow:hidden;
	aspect-ratio:1.78; /*物件及背景固定比例:寬除以高*/
}

#A {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 99;
}
#A img {
	padding-top: 6em;
}

#F .Box:hover {
	box-shadow: rgba(240, 150, 170, 0.35) 0px 0px 6em,
	            inset rgba(240, 150, 170, 0.35) 0px 0px 3em;
}

/*多張背景圖,結尾要用逗號區隔*/
.bgA {
	background: url(../imgs/bg01.gif) no-repeat center top/contain,
		        url(../imgs/bg02.gif) repeat-y center top/contain;
	background-color: var(--skin);
	overflow: hidden;
}


/*ipad 橫式lg ~ 直式md */
@media (min-width: 768px) and (max-width: 1199.98px) { 
	#F .col-sm-7 {
		padding-left: 0;
	}
}


/*手機版*/
@media (max-width: 767.98px) { 
	section + section {
		padding-top: 2.5em;
	}
}


/* ==================================================
   自定.按鈕
================================================== */
.enfont {
	font-family: Arial;
	font-weight: normal;
}
.bigfont {
	font-size: 125%;
}
.tc {
	font-size: .95em;
	line-height:1.5;
	text-align:left;
}
.text-shadow {
	text-shadow: 0px 0px 15px var(--bgcolor);  /*暈染效果*/
}

/*標題文字居中中線*/
.midline {
	display:flex;
	justify-content: space-between;
	align-items: center;
	--space:.75rem;
	margin: 2.5em 0;
}
.midline:before,
.midline:after {
    content: '';
	display: block;
	flex-grow:1; 
	height:2px;
	background-color:var(--white);
}
.midline:before {
	margin-right:var(--space); 
}
.midline:after {
	margin-left:var(--space); 
}

/*縮排*/
.indent {
	/* 設定首行縮排 1.5 個字元寬度 */
    text-indent: 1.85em;
    
    /* 確保元素是塊級元素，縮排才會生效 
    display: block;	
	*/
}

.max-width {
	width: 280px;
}
.min-hight {
	display: flex;
	white-space:normal; /*可以拆行*/
	align-items: center;  /*一律對齊中線*/
	min-height: 110px;
}

.p-LR {
	padding-left: 1em;
	padding-right: 1em;
}
.title-Lbar {
	border-left: var(--yallow) solid 2px;
	padding-left: 5px;
	line-height: 1;
}

img.book {
	width:50%;
	max-width:100%; 
	height:auto;
	margin:0 auto;
}

a.btn-more {
	width: 150px;
	display: inline-block;
	margin-top:3em;
}
img.title {
	width:40%;
	max-width:100%; 
	height:auto;
	margin-top:1.5em; 
	margin-bottom:2.5em;
}
img.title-takeaStroll {
	width:50%;
	max-width:100%; 
	height:auto;
	margin-top:1.5em; 
	margin-bottom:.5em;
}
img.schedule {
	width:100%;
	max-width:950px; 
	height:auto;
}

/*圓框*/
.Box,
.radiusBox {
	border:var(--white) solid 1px;
}
.radiusBox {
	border:var(--white) solid 1px;
	border-radius: .5em;
	padding: 2em 3em;
}
.Box p.tc {
	margin-right: .5em;
	margin-bottom: .25em;
	font-size: 13px;
}

/*偵測捲軸-開花*/
.openFlower {
	transition: all 0.5s ease-in-out;
	transform: scale(0);
}
.openFlower.show {
	transform: scale(1);
}
.timeline li.fadeInup.highlight .openFlower {
	transform: scale(1);
}
.flowerBox:hover .openFlower,
.flowerBox:focus .openFlower {
	transform: scale(1);
}
.flowerBox {
	position:relative;
}
.flower1,
.flower2 {
	position: absolute;
	z-index: 9;
}
.flower1 {
	left:-1.5em;
	top: -1em;
	width:4em;
}
.flower2 {
	left:3em;
	top:-1em;
	width:2.25em;
}


/*偵測捲軸-背景動態光暈*/
.glow {
	width:60%;
	position: absolute;
	z-index: 0; /*最低層*/
	top:0;
	right: -50%;
	opacity: 1;
	transition: all 5s ease-in-out;
}
.glow.highlight {
	right: 60%;
	opacity: 0.5;
}
section > .container {
	position: relative;
	z-index: 1; /*不要被光暈壓到*/
}


/* ipad~桌機*/
@media (min-width: 768px) { 
	/*glowShow屬於一直存在著*/
	.glowShow-xs {
		display: none;
	}
}

/*ipad 橫式lg ~ 直式md */
@media (min-width: 768px) and (max-width: 1199.98px) { 
	.glow {
		width:80%;
		right: -65%;
	}
}

/*手機版*/
@media (max-width: 767.98px) { 
	.glow {
		width:150%;
		top:10%;
		right: -100%;
		transition: all 3s ease-in-out;
	}
	.glow.highlight {
		right: 20%;
	}
	#C .glow {
		top:35%;
	}
	/*glowShow屬於一直存在著*/
	.glowShow-xs {
		width:200%;
		position: absolute;
		z-index: 0; /*最低層*/
		bottom: 15%;
        right: -80%;
		opacity: 0.5;
	}
}



/*合作廠商logo列表*/
.ftlogo {
    margin-bottom: 4em;
    display: flex;
    justify-content: space-around;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.ftlogo .list-inline-item:not(:last-child) {
    margin-right: 1em;
	margin-bottom: 2em;
}
.ftlogo img {
	width:auto !important;
	height:5em;
}


.btn-close {
	z-index: 1;
	transition: all 0.5s ease-out;
	background: url(../imgs/x.svg) center / 2em auto no-repeat;
	opacity: 1;
}
.btn-close:hover {
	transform: rotate(180deg);
}

/*
.btn-link {
	animation:rhythmX 2s ease-out infinite;
	display:inline-block;
}
.btn-link img {
	transition: all 0.5s;
	width: clamp(65px, 8em, 200px);
}
*/

.trafficBox {
	max-width: 1000px;
	margin: 0 auto;
	margin-top: -4em;
}
.trafficBox .radiusBox {
	margin-top: 2em;
}

.trafficBox .radiusBox hr {
	margin: 3.25em auto;
}



/*手機版*/
@media (max-width: 767.98px) {
	img.title {
		width: 85%;
		margin-top:1em; 
		margin-bottom:1em;
	}
	img.title-takeaStroll {
		width:110%;
		margin-top: 3em;
	}
	.trafficBox {
		margin-top:-1em;
	}
	.trafficBox .radiusBox {
		padding: 1em 1.25em;
	}
	.trafficBox .radiusBox h5 {
		margin-bottom: 0.5em;
	}
	.trafficBox .radiusBox hr {
		margin: 1.25em auto;
	}
	a.btn-more {
		width: 110px;
		margin-top:2em;
	}
	img.book {
		width:85%;
	}
	.min-hight {
		min-height:auto;
	}
	.midline {
		margin: 2em 0 1em;
	}
	.ftlogo {
		margin-bottom: 2em;
		flex-wrap: wrap;
	}
	.ftlogo img {
		height: 3.75em;
	}
	.flower1 {
		left: -1em;
		width:2.85em;
	}
	.flower2 {
		left:2em;
		width:1.5em;
	}
}


/*手機版*/
@media (max-width: 449.98px) {
	.ftlogo {
		max-width: 260px;
	}
}


/*ipad 直式 md*/
@media (min-width: 768px) and (max-width: 991.98px) { 
	img.title {
		width: 60%;
	}
	img.title-takeaStroll {
		width:85%;
	}
	a.btn-more {
		width: 120px;
	}
	.trafficBox .radiusBox {
		padding: 1em 1.5em;
	}
	.p-LR {
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
}

/*ipad 橫式 lg*/
@media (min-width: 992px) and (max-width: 1199.98px) { 
	.trafficBox .radiusBox {
		padding: 1em 1.5em;
	}
	img.title {
		width: 50%;
	}
	img.title-takeaStroll {
		width:65%;
	}
}



/* ==================================================
   主視覺 mainKV
================================================== */
.mainKVBox {
	background: url(../imgs/mainKV-sky.jpg) no-repeat center top/cover; 
	position:relative;
	aspect-ratio: 1.3; /*mainKV尺寸的寬除以高得到數據*/
	overflow: hidden;
}
.mainKV {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 4;
}
.logo-hanami {
	position: absolute;
	top: 2em;
	width: 28%;
	z-index: 9;
	
}
img.ad {
	position: absolute;
	bottom:40%;
	right: 2%;
	width: 45px;
	z-index: 6;
}
.mainKV-site {
	position: absolute;
	top: 30%;
	left: 29%;
	width: 1.5%;
	z-index: 5;
}
.mainKV-treeL01 {
	position: absolute;
	bottom:32%;
	left: -3%;
	width: 18%;
	z-index: 5;
}
.mainKV-building {
	position: absolute;
	bottom: 41%;
	left: 14%;
	width: 14.5%;
	z-index: 2;
}
.mainKV-treeL {
	position: absolute;
	bottom:36%;
	left: -3%;
	width: 33%;
	z-index: 1;
}
.mainKV-date {
	position: absolute;
	top: 34%;
	right: 21%;
	width: 8.25%;
	z-index: 6;
}
.mainKV-treeR {
	position: absolute;
	bottom:40%;
	right: -3%;
	width:23%;
	z-index: 1;
}

.title01 {
	width:45%;
	max-width:350px; 
	height:auto;
}
#eventModal .title01 {
	padding-top:3em;
	padding-bottom:2em;
}


/*桌上型*/
@media (min-width: 1200px) { 
	.mainKVBox {
		background-attachment: fixed;
	}
}


/*ipad 橫式 lg*/
@media (min-width: 992px) and (max-width: 1199.98px) { 
	.mainKVBox {
		aspect-ratio: 1.25;
	}
	.mainKV {
		bottom: -0.5%;
	}
	img.ad {
        bottom: 31%;
    }
}


/*ipad 橫式lg ~ 直式md */
@media (min-width: 768px) and (max-width: 1199.98px) { 
	img.ad {
		bottom:38%;
	}
	.mainKV-site {
		top: 27%;
		width: 2%;
	}
	.mainKV-date {
		top: 30%;
		right: 18%;
		width: 10%;
	}
	#A.title01 {
		width: 22%;
	}
}

/*ipad 直式 md*/
@media (min-width: 768px) and (max-width: 991.98px) { 
	.mainKVBox {
		aspect-ratio: 0.8;
	}
	.logo-hanami {
		top: 7em;
		width: 40%;
		margin-left: 5%;
	}
	.mainKV {
		left: -12.5%;
		bottom: -0.5%;
		width: 130%;
	}
	.mainKV-site {
		top: 33%;
		left: 20%;
		width: 2.5%;
	}
    .mainKV-date {
        right: 7%;
        width: 15%;
    }
	.mainKV-treeL {
		bottom: 33%;
	}
	.mainKV-treeL01 {
		bottom: 30%;
	}
	.mainKV-building {
		bottom: 35%;
	}
	.mainKV-treeR {
		bottom: 33%;
	}
	img.ad {
        bottom: 32%;
    }
}


/*手機版*/
@media (max-width: 767.98px) { 
	.mainKVBox {
		aspect-ratio: 0.65;
	}
	.logo-hanami {
		top: 7%;
        width: 55%;
        margin-left: 6.5%;
	}
	.mainKV {
		left: -20%;
		width: 150%;
	}
	.mainKV-date {
		top: 27%;
        right: 3%;
        width: 20%;
	}
	.mainKV-site {
		top: 36%;
        left: 17%;
		width: 3.75%;
	}
	.mainKV-building {
		bottom: 33%;
		left: 16%;
		width: 18%;
	}
	.mainKV-treeR {
		bottom: 33%;
		width: 25%;
	}
	.mainKV-treeL {
		bottom: 30%;
		width: 40%;
	}
	.mainKV-treeL01 {
		bottom: 26%;
		width: 22%;
	}
	img.ad {
		bottom: 31%;
		right: 3%;
		width: 30px;
	}
	#A.title01 {
		width: 30%;
	}
	#eventModal .title01 {
		width: 60%;
	}
}



/* ==================================================
   slickArticle 輪播圖文樣版
================================================== */
.slickArticle {
	width: 100%;
}
.slickArticle .articleWrapper {
	height: auto;
	padding: 0 1em;
}
/*白底圓角*/
.slickArticle .boxRadius {
	height: 100%;
	border-radius: 1.5rem; /*圓角*/
	overflow: hidden;
	box-shadow: 0 .5rem .75rem rgba(0,0,0,.15); 
	background-color:var(--white);
}

/*一般設定
.slickArticle .article {
	height: 100%;
	overflow: hidden;
}
*/
.slickArticle .article h4 {
	border-top:#000 solid 2px;
	border-bottom:#000 solid 2px;
	display:inline-block;
	padding:0.25em 1em;
}

.slickArticle .slick-track {
	display: flex;
}

.slickArticle li img {
	display: block;
	width:100%;
	transition: all 0.5s;
}
.slickArticle li .txt {
	padding: 1.35rem 0 .5rem;
}


/*手機版~*/
@media (max-width: 767.98px) { 
	.slickArticle .article {
		border-radius: 1rem; /*圓角*/
	}
	.slickArticle li .txt {
		padding: 1.25rem 1.25rem .35rem;
	}
}


/******************* slick start ******************/
.slick,
.slickVideo,
.slickArticle{
	margin-bottom: 0; /* 覆寫 slick-theme.css 的 .slick-slider 的 margin-bottom: 30px; */
}

.btn-arrowL,
.btn-arrowR {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width:3.75%;
	cursor: pointer;
	/*--x:calc(100% + 0.25em);*/
	--x:calc(100% + 0.05em);
	opacity: 1;
}
.btn-arrowL {
	right: var(--x);
	padding-right:5px; 
	margin-right:15px; 
}
.btn-arrowR {
	left: var(--x);
	padding-left:5px;
	margin-left:15px; 
}

.btn-arrowL:hover,
.btn-arrowR:hover {
	opacity: 0.85;
}

.slick-dots {
	bottom: -1.5em;
}
.slick-dots li {
	width: 10px;
	height: 10px;
	margin: 0 5px;
}
.slick-dots li button {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: none;
	background: var(--blue);
}
.slick-dots li button:hover,
.slick-dots li button:focus,
.slick-dots li.slick-active button {
	background: var(--pink);
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li button:before,
.slick-dots li.slick-active button:before {
	display: none;
}
/******************* slick end ********************/



/*手機版~*/
@media (max-width: 767.98px) { 
	.slick-dots li {
		width: 10px;
		height: 10px;
		margin: 0 3px;
	}
	.btn-arrowL,
	.btn-arrowR {
		width:8%;
	}
	.btn-arrowL {
		padding-right:-0.75em;
		margin-right:-0.75em; 
	}
	.btn-arrowR {
		padding-left:-0.75em;
		margin-left:-0.75em; 
	}
}


/* ==================================================
   modal lightbox 背景濾鏡模糊
================================================== */
.modal {
	backdrop-filter: blur(1rem); /*backdrop-filter 背景濾鏡模糊*/
	-webkit-backdrop-filter: blur(1rem);
}

/*因為加了 backdrop-filter 背景濾鏡模糊,所以透明度的過度效果要特別移除*/
.modal.fade {
	/*transition: opacity .15s linear;*/
	transition: none;
}
.modal-header .btn-close {
    padding: 1rem 1rem;
}
#eventModal .modal-content {
	border: none;
	border-radius: 0.5rem;
	padding: 0 3.5em 10em;
	background: var(--bgcolor);
	box-shadow: 0 0 20em rgba(240,150,170, 0.5); 

	background-size:cover;
	background-repeat: no-repeat;
	background-image: url(../imgs/bg-lightbox.jpg);
	background-position: left bottom;
}

/*手機版*/
@media (max-width: 767.98px) {
	/*手機版滿寬時取消上方左右圓角*/
	.modal-header .btn-close {
		padding: .5rem .5rem;
		opacity: 1;
	}
	.modal-dialog {
		margin: 1.5em;
	}
	#eventModal .modal-content {
		padding: 0 0.5em 10em;
	}
}

/*ipad 橫式lg ~ 直式md */
@media (min-width: 768px) and (max-width: 1199.98px) { 
	#eventModal .modal-dialog {
		width: 90%;
		max-width: 700px;
		margin: 1.75rem auto;
	}
}

/*桌上型 xl*/
@media (min-width: 1200px) { 
	#eventModal .modal-dialog {
		width: 900px;
		max-width: 900px;
		margin: 1.75rem auto;
	}
}

/*桌上型 xxl*/
@media (min-width: 1600px) { 
	#eventModal .modal-dialog {
		width: 1100px;
		max-width: 1100px;
		margin: 1.75rem auto;
	}
}



/* ==================================================
   動畫 animation
================================================== */
a.zoom img {
	transition: all 1s cubic-bezier(0, .71, .4, 1);
	transform: scale(1);	
}
a.zoom:hover img {
	transform: scale(1.15);	
	position: relative;
	z-index:99; /*永遠疊在最上層*/ 
}



/*自動輪播-尺寸大小*/
.eff-sizeloop {
	animation: sizeloop 2s ease-in-out both infinite alternate;
}
@keyframes sizeloop { /*keyframes對應動畫名 sizeloop*/
	0% {
		transform: scale(1);/*等比拉大*/
		opacity: 0.75;
	}
	100% {
		transform: scale(1.1);
		opacity: 1;
	}
}

/*自動輪播-尺寸大小*/
.eff-sizeloop1 {
	animation: sizeloop1 1s ease-in-out both infinite alternate;
}
@keyframes sizeloop1 { /*keyframes對應動畫名 sizeloop*/
	0% {
		transform: scale(1);/*等比拉大*/
		opacity: 0.75;
	}
	100% {
		transform: scale(1.025);
		opacity: 1;
	}
}

/* 自動輪播-不停左右擺動 */
.eff-xloop {
	animation: xloop 2s ease-in-out both infinite alternate;
}
@keyframes xloop { /*@keyframes對應動畫名 xloop*/
	0% {
		transform:translateX(0%); 
	}	
	100% {
		transform:translateX(-3%);
	}
}

/*播放進場-小至大*/
.animation-fadeS {
	animation: fadeS 2s ease-in-out both;
}
@keyframes fadeS { /*keyframes對應動畫名 fadeS*/
	0% {
		transform: scale(.75);/*等比拉大*/
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

/*播放進場-左邊淡入 fadeLIn*/
.animation-fadeLIn {
    animation:fadeLIn 2s ease-in-out 1.0s both;
}
@keyframes fadeLIn { /*@keyframes對應動畫名fadeLIn*/
	0% {
		opacity:0;
		transform:translateX(-50px);
	}
	100% {
		opacity:1;
		transform:translateX(0%);
	}
}

/*播放進場-右邊淡入 fadeRIn*/
.animation-fadeRIn {
    animation:fadeRIn 2s ease-in-out 1.0s both;
}
@keyframes fadeRIn { /*@keyframes對應動畫名fadeRIn*/
	0% {
		opacity:0;
		transform:translateX(50px);
	}
	100% {
		opacity:1;
		transform:translateX(0%);
	}
}



/*手機版~*/
@media (max-width: 767.98px) { 
	a.zoomBig:hover img {
		transform: scale(1.75);
	}
}


/*區塊偵測出場*/
.inout {
	opacity:0;
	transition:all 1s;
	/*transition: all .5s cubic-bezier(0, .71, .4, 1);*/
	transform:translateY(100px);
}
.inout.highlight {
	opacity:1;
	transform:translateY(0);
}

/*旋轉360度*/
.eff-rotate360 {
	animation: rotate360 10s linear infinite; 
}
@keyframes rotate360 { 
	0% {
		transform:rotate(0);
	}
	100% {
		transform:rotate(360deg);
	}
}

/*律動Y*/
@keyframes rhythmY {
  0% {
    transform:translate(0,0); /*原點X,Y*/
  }
  50% {
    transform:translate(0,5%); /*一樣要從原點來計算*/
  }
}

/*律動X*/
@keyframes rhythmX {
  0% {
    transform:translate(0,0); /*原點X,Y*/
  }
  50% {
    transform:translate(5%,0); /*一樣要從原點來計算*/
  }
}



/* ==================================================
   RWD
================================================== */

/*手機版*/
@media (max-width: 767.98px) { 
	.pt-5 {
		padding-top: 1.5em !important;
	}
	.g-5, .gx-5 {
		--bs-gutter-x: 1.5rem;
	}
	.mt-5 {
		margin-top: 1.25em !important;
	}
}


/*ipad 橫式lg ~ 直式md */
@media (min-width: 768px) and (max-width: 1199.98px) { 
	.mt-5 {
		margin-top: 1.85em !important;
	}
	.mb-4 {
		margin-bottom: 0.85em !important;
	}
	.mb-5 {
		margin-bottom: 1.85em !important;
	}
}


/*ipad 直式切換*/
@media (max-width: 768px) {
	.container {
		min-width: none;
		max-width: none;
		width: 93.5%;
	}
	
	/******************* slick start ******************/
	.slickPN.prev {
		margin-left:0;
	}
	.slickPN.next {
		margin-right:0;
	}
	
	.slick-dots{
		width:100%;
		right:auto;
		top:auto;
		margin:0;
		display:flex !important;
		justify-content: center;
		align-items: center;
	}
	.slick-dots li{
		margin:0 5px;
	}
	.slick-dots li+li{
		margin-top:0;
	}
	/******************* slick end ********************/
	
}


/*ipad 直式 md以上*/
@media (min-width: 768px) { 
	.container {
		min-width: none;
		max-width: none;
		width: 90%;
	}
}


/*桌上型 xl~*/
@media (min-width: 1200px) and (max-width: 1599.98px) { 
	.container {
		min-width: 1000px;
		max-width: 1350px;
		width: 85%;
	}
}

@media (min-width: 1600px) { 
	.container {
		min-width:auto;
		max-width:auto;
		width: 75%;
	}
}