@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Quicksand:wght@300;400;500;600;700&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat+Subrayada:wght@400;700&display=swap');
*,
*:before,
*:after{
 box-sizing: border-box;
}
html, body {
	margin: 0;
	padding: 0;
	font-family: "Quicksand","Microsoft JhengHei",serif;
}
ul,li {
	margin: 0; 
	padding: 0;
	list-style-position:outside;
	list-style-type:none;
}
#axis {
	min-width: 1000px;
	overflow: hidden;
}
.swiper-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-transition-property: -webkit-transform;
	-moz-transition-property: -moz-transform;
	-o-transition-property: -o-transform;
	-ms-transition-property: -ms-transform;
	transition-property: transform;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box
}
.swiper-slide {
	-webkit-flex-shrink: 0;
	-ms-flex: 0 0 auto;
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	position: relative
}

/* ------------------- photosSwiper ----------------------- */

.photosSwiper {
	position: relative;
	line-height: 1;
}
.photosSwiper .swiper-container {
	max-width: 520px;
	width: 86%;
	margin: 0 auto;
	overflow: visible;
	position: relative;
	z-index: 1;
}
.photosSwiper .swiper-slide a {
	color: #ffffff;
	display: block;
	position: relative;
	overflow: hidden;
}
.photosSwiper .swiper-slide .img {
	position: relative;
	z-index: 1;
	height: auto;
	padding: 61.7% 0 0;
	overflow: hidden;
}	
.photosSwiper .swiper-slide .img img {
	width: 100%;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.photosSwiper .swiper-slide .date {
	width: 80px;
	height: 80px;
	border-radius: 80px;
	background: rgba(0,33,71,0.8);
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-align: center;
}
.photosSwiper .swiper-slide .date .year {font-size: 14px;}
.photosSwiper .swiper-slide .date .day {font-size: 24px;}

.photosSwiper .swiper-slide .layer {
	width: 100%;
	height: 80px;
	position: absolute;
	z-index: 2;
	left: 0;
	bottom: 0;
	background: rgba(0,0,0,0.6);
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	/* transition: all 0.4s ease-out; */
	transition: all 0.7s cubic-bezier(.31,1.05,.49,.99);
	text-align: center;
}
.photosSwiper .swiper-slide .box1 { 
	width: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	position: relative;
}
.photosSwiper .swiper-slide .shoulder {
	font-family: "Montserrat","Microsoft JhengHei",serif;
	font-size: 16px;
	color: #000;
	padding: 5px;
	background-color: #dbe101;
	position: absolute;
	left: 0;
}	
.photosSwiper .swiper-slide .title {font-size: 24px;}
.photosSwiper .swiper-slide .box2 {
	transition: all 0;
	max-height: 0;
	padding: 0;
}
.photosSwiper .swiper-slide .excerpt {
	font-size: 14px;
	line-height: 24px;
	padding: 30px;
	position: relative;
	text-align: center;
	opacity: 0;
	transform: translateY(30px);
}
.photosSwiper .swiper-slide .box1::before {
	content: "";
	border-top: 1px solid rgba(255,255,255,0.4);
	position: absolute;
	width: 100%;
	margin-top: 30px;
	transform: scale(0, 1);
	transition: all 0.2s ease;
}
.photosSwiper .swiper-slide .btn {
	height: 30px;
	transition: all 0.6s ease;
	display: flex;
	justify-content: center;
	opacity: 0;
	transform: translateY(10px);
}

.photosSwiper .swiper-slide .btn span {
	line-height: 30px;
	border: 1px solid rgba(255,255,255,0.6);
	border-radius: 3px;
	width: 145px;
	font-size: 14px;
	text-align: center;
	transition: all 0.6s ease;
}
.photosSwiper .swiper-slide .btn span:hover {
	background: rgba(0,0,0,0.6);
	color: rgba(255,255,255,1);
}

/*左右切換按鈕*/
.photosSwiper .controller li {
	position: absolute;
	z-index: 2;
	top: 50%;
	width: 60px;
	height: 60px;
	background: rgba(0,0,0,0.2);
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transform: translateY(-50%);
	transition: all 0.4s ease;
}
.photosSwiper .controller li:hover {
	background: rgba(0,0,0,0.6); 
}	
.photosSwiper .controller li.prev {left: 30px;}
.photosSwiper .controller li.next {right: 30px;}
.photosSwiper .controller li:before {
	content: "";
	display: block;
	width: 15px;
	height: 15px;
	border-color: rgba(255,255,255,0.8);
	border-style:solid;
	border-width: 1px 0 0 1px;
}
.photosSwiper .controller li.prev:before {
	transform: rotate(-45deg);
	margin-right: -5px;
}
.photosSwiper .controller li.next:before {
	transform: rotate(135deg);
	margin-left: -5px;
}



@media screen and (min-width: 768px) {
.photosSwiper .swiper-slide:hover .layer { 
	height: 100%;
	background: rgba(0,0,0,0.8);
}
.photosSwiper .swiper-slide:hover .box2 {
	max-height: 160px;
	transition: all 0.8s cubic-bezier(.31,1.05,.49,.99);
}
.photosSwiper .swiper-slide:hover .layer .excerpt {
	transition: all 0.6s ease 0.65s;
	opacity: 1;
	transform: translateY(0);
}
.photosSwiper .swiper-slide:hover .layer .box1::before {
	transition: all 0.6s  cubic-bezier(.31,1.05,.49,.99) 0.3s;
	transform: scale(1,1);
}
.photosSwiper .swiper-slide:hover .btn {
	transition: all 1.4s  cubic-bezier(.31,1.05,.49,.99) 0.95s;
	opacity: 1;
	transform: translateY(0);
}
}



@media screen and (max-width: 599px) {
.photosSwiper .swiper-slide .date {
	width: 60px;
	height: 60px;
	border-radius: 60px;
	top: 10px;
	left: 10px;
}
.photosSwiper .swiper-slide .date .year {font-size: 12px;}
.photosSwiper .swiper-slide .date .day {font-size: 18px;}	
.photosSwiper .swiper-slide .layer,
.photosSwiper .swiper-slide .box1 {
	height: 70px;
}	
.photosSwiper .swiper-slide .shoulder {
	width: 60px;
	font-size: 12px;
	padding-top: 8px;
	background-color: #dbe101;	
	position: relative;
	margin: 0 auto 8px;
	line-height: 6px;
}	
.photosSwiper .swiper-slide .title {font-size: 18px;}	
}



@media screen and (max-width: 1199px) {
html,body {font-family: "Rajdhani","cwTeXHei","Microsoft JhengHei",serif;}	
#axis {
	min-width: 100%; 
	min-width: 320px;
	}
}


@media screen and (max-width: 991px) {
.photosSwiper .controller li {
	width: 40px;
	height: 40px;
}
.photosSwiper .controller li:before {
	width: 10px;
	height: 10px;
	border-width: 1px 0 0 1px;
	margin: 0;
}
.photosSwiper .controller li.prev {left: 2%;}
.photosSwiper .controller li.next {right: 2%;}
}