section {
	min-height: 100vh;
	width: 100%;
}

img {
	max-width: 100%;
}

.header {
	text-align: center;
	padding-top: 50px;
}
.header-bg {
	position: fixed;
	width: 100%;
	height: 180px;
	top: 0;
	z-index: -1;
	background: url('../img/main/main.jpg') no-repeat;
	background-position: center 50%; 
	background-attachment: scroll;
}

.bg-white {
	background-color: #fff;
}

.container {
	width: 100%;
	max-width: 1120px;
	margin: 0px auto;
	padding: 70px 30px;
	box-sizing: border-box;
}

.row {
	display: flex;
	justify-content: space-around;
  	align-items: center;
}

.col {
	display: inline-block;
}

.star {
	display: block;
	background-color: #e2ce35;
	width: 300px;
	height: 300px;
	position: relative;
	margin: 40px 20px;
	padding: 20px;
    box-sizing: border-box;
	animation-name: obj;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
.star:hover {
	cursor: pointer;
}
.col .star + .star {
	margin: 80px 20px 40px;
}

.star-img, .star-title {
	overflow: hidden;
	height: 100%;
	position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.star img {
    height: 100%;
    width: auto;
    position: absolute;
    z-index: 0;
    top: 0;
    max-width: none;
    left: -9999px;
    right: -9999px;
    margin: auto;
    transition: all 0.8s ease 0.2s;
}
.star img.verticle {
	width: 100%;
	height: auto;
}
.star-title {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.star h5, .star p {
	margin: 0;
	width: 100%;
    text-align: center;
    line-height: 1.5;
    z-index: 2;
    transition: all 0.6s ease;
    font-family: 'Noto Sans CJK TC', 'PingFang TC', 'Heiti TC', 'Noto Sans TC', source-han-sans-traditional, 'Microsoft JhengHei', sans-serif;
	color: #1a4e76;
	font-size: 20px;
	font-weight: 600;
	padding: 15px 20px;
    background: #e2ce35;
    opacity: 1;
    box-sizing: border-box;
    position: relative;
}
.star h5 span {
	font-size: 14px;
	margin-right: 10px;
}
.star .p-l {
	padding: 15px 10px 15px 30px;
}
.star .p-r {
	padding: 15px 30px 15px 10px;
}
.star p {
	z-index: 1;
	height: 100%;
	max-height: 0px;
	font-size: 20px;
	display: flex;
	justify-content: center;
    align-items: center;
    padding: 0 30px;
    overflow: hidden;
    color: rgba(26, 78, 118, .0);
    transition: max-height 0.6s ease 0.2s, color 0.4s ease;
}
.star h5 {
	transition: all 0.6s ease 0.2s;
}
.star p::before {
	content: '“';
	font-size: 60px;
	position: absolute;
	top: 0;
	left: 0;
}
/* .star:hover p {
	max-height: 100%;
	color: rgba(26, 78, 118, 1.0);
    transition: max-height 0.6s ease, color 0.6s ease 0.2s;
} */
.star:hover h5 {
	transform: translateY(100%);
}
.star:hover::before {
	opacity: 0;
}
.star:hover img {
	transform: scale(1.3);
}
.star::before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #e2ce35;
	opacity: 0.5;
	z-index: 1;
	transition: opacity 0.6s ease;
	mix-blend-mode: hard-light ;
}

/* .star:hover::before {
	opacity: 0;
} */


.star::after {
	content: '';
	position: absolute;
	width: 300px;
	height: 300px;
	background-image: url('../img/main/300x300_leaf.png');
	background-repeat: no-repeat;
	background-size: contain;
	left: 0;
	bottom: 0;
	pointer-events: none;
	z-index: 5;
}
#star-1 { width: 294px; height: 232px; animation-duration: 5s; margin-left: 50px;}
#star-2 { width: 265px; height: 250px; animation-duration: 7s; margin-bottom: 60px;}
#star-3 { width: 230px; height: 300px; animation-name: obj2; animation-duration: 4.5s; margin-top: 120px;}
#star-4 { width: 223px; height: 230px; animation-duration: 8s; margin-left: 0px;}
#star-5 { width: 272px; height: 220px; animation-name: obj2; animation-duration: 6.5s; margin-top: 120px;}
#star-6 { width: 262px; height: 252px; animation-duration: 4.8s;}
#star-7 { width: 300px; height: 260px; animation-name: obj2; animation-duration: 5.5s; margin-top: -30px;}
#star-8 { width: 254px; height: 235px; animation-duration: 6.2s; margin-top: 120px;}
#star-9 { width: 310px; height: 249px; animation-duration: 5.8s; margin-top: -30px;}
#star-10 { width: 366px; height: 237px; animation-duration: 4.5s; margin-top: 80px;}

#star-1::after { width: 250px; left: -42%; bottom: -66px; background-image: url('../img/main/300x300_leaf.png'); }
#star-2::after { width: 190px; left: 65%; bottom: -65px; background-image: url('../img/main/300x300_lantern.png'); }
#star-3::after { width: 220px; left: 18%; bottom: 98px; background-image: url('../img/main/300x300_light.png'); }
#star-4::after { width: 155px; left: 75%; bottom: -188px; background-image: url('../img/main/300x300_fish.png'); }
#star-5::after { width: 198px; left: -14%; bottom: -190px; background-image: url('../img/main/300x300_car1.png'); }
#star-6::after { width: 195px; left: -45%; bottom: -9px; background-image: url('../img/main/300x300_document.png'); }
#star-7::after { width: 177px; left: -2%; bottom: 51px; background-image: url('../img/main/300x300_boy.png'); }
#star-8::after { width: 155px; left: 92%; bottom: -193px; background-image: url('../img/main/300x300_company.png'); }
#star-9::after { width: 213px; left: 70%; bottom: -159px; background-image: url('../img/main/300x300_girl.png'); }
#star-10::after { width: 200px; left: 76%; bottom: -182px; background-image: url('../img/main/300x300_fish_equipment.png'); }

@keyframes obj{
	0% {transform: translate(0, 0);}
	50% {transform: translate(20px, 10px);}
	100% {transform: translate(0, 0);}
}
@keyframes obj2{
	0% {transform: translate(20px, 10px);}
	50% {transform: translate(0, 0);}
	100% {transform: translate(20px, 10px);}
}

.counter {
	font-size: 14px;
	font-weight: bold;
	font-family: arial;
	letter-spacing: 1px;
	color: #e2ce35;
	position: absolute;
	top: -20px;
	left: 0;
	pointer-events: none;
	-webkit-user-select: none; 
	-moz-user-select: none;
}
.counter.right {
	left: auto;
	right: 0;
}
.counter::before {
	content: '';
	display: inline-block;
	width: 22px;
	height: 14px;
	background: url('../img/main/icon-view.png') no-repeat;
	background-size: contain;
	margin-bottom: -2px;
	margin-right: 7px;
}
.show-sm {
	display: none;
}

@media only screen and (max-width: 768px) {
	#menuToggle {
		top: 35px;
    	left: 80px;
	}
	.header {
		padding-top: 85px;
	}
	.container {
		overflow: hidden;
		padding-top: 40px;
	}
	.show-sm {
		display: block;
	}
	.star h5 {
		font-size: 19px;
	}
	.row {
		display: block;
		text-align: center;
	}
	.star {
		max-width: 250px !important;
		max-height: 250px !important;
		animation-name: obj !important;
		animation-play-state: paused;
		margin: 35px auto !important;
	}
	.col .star + .star {
		margin-top: 80px !important;
	}
	.counter.right {
		left: 0;
		right: auto;
	}
	.star::after {
		animation-name: obj;
		animation-timing-function: linear;
		animation-iteration-count: infinite;
	}
	.star .p-l, .star .p-r, .star h5 {
		padding: 15px 15px;
	}
	#star-1 { margin-left: 0px !important; }
	#star-2 { margin-right: -20px !important; }
	#star-3 { margin-left: -10px !important; }
	#star-4 { margin-right: -10px !important; }
	#star-5 { margin-left: -10px !important; }
	#star-6 { margin-right: -30px !important; }
	#star-7 { margin-left: -10px !important; }
	#star-8 { margin-right: -30px !important; }
	#star-9 { margin-left: -20px !important; margin-bottom: 60px !important;}
	#star-10 { margin-right: -20px !important; }

	#star-1::after { animation-duration: 6s; left: -60%;}
	#star-2::after { animation-duration: 8s; animation-name: obj2; }
	#star-3::after { animation-duration: 5s; left: 28%; bottom: -17px; }
	#star-4::after { animation-duration: 7s; animation-name: obj2; }
	#star-5::after { animation-duration: 4s; left: 40%; bottom: -188px; }
	#star-6::after { animation-duration: 6s; animation-name: obj2; left: -20%; bottom: -40px; width: 165px; }
	#star-7::after { animation-duration: 8s; width: 140px; left: -20%; bottom: -60px; }
	#star-8::after { animation-duration: 5s; animation-name: obj2; width: 105px; left: -20%; bottom: -235px;}
	#star-9::after { animation-duration: 7s; width: 173px; left: 54%; bottom: -235px;}
	#star-10::after { animation-duration: 4s; animation-name: obj2; width: 179px; left: -32%; bottom: -204px;}
	@keyframes obj{
		0% {transform: translate(0, 0);}
		50% {transform: translate(10px, 5px);}
		100% {transform: translate(0, 0);}
	}
	@keyframes obj2{
		0% {transform: translate(10px, 5px);}
		50% {transform: translate(0, 0);}
		100% {transform: translate(10px, 5px);}
	}
	.footer-style {
		padding: 30px 30px;
	}
}