/*-------------------捲動相關設定-----------------------*/
#content {
	position: absolute;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

body {/*背景色*/
	background: #b7e6f0;
	transition: 1s;
}

#scroll-proxy {/*網頁高度*/
	height: 800vh;
}

#content .pic {/*單張圖片*/
	width: 100%;
	height: 100%;
	position: absolute;
	background-size: contain;
	background-color: transparent;
	background-position: center bottom;
	background-repeat: no-repeat;

	transition: 1.2s ease;
	pointer-events: none;
}

#environment {/*透視*/
	position: fixed;
	width: 100%;
	height: 100%;
	perspective: 800px;
}

#content {
	transform-style: preserve-3d;
}

.bye{ /*雲朵消失使用的class*/
	opacity:0;
}

/*-----------------------連結按鈕---------------------------*/
.btn {
	display: block;
	width: 120px;
	height: 40px;
	font-size: 18px;
	line-height: 38px;
	color: white;
	margin:30px auto;
	box-sizing: border-box;
	text-align: center;
	border-radius: 25px;
	box-shadow: 0 0 1px 1px rgba(0,50,100,.1);
	background-color: rgba(255, 165, 105,.7);
	border:solid 1px rgba(255, 165, 105,.9);
	transition: .4s;
	cursor:pointer;
}

.btn:hover {
	background-color: rgba(255, 165, 105,1);
}


/*-----------------------SECTION 0---------------------------*/
/*-----------------------SECTION 0(前景)---------------------*/
#f_01 {
	background-image: url(./../images/index/BG_frontpage_01_m1.png);

	transform: translate3d( 0, 0, 0) scale(1);
}

.gobtn {
	position: absolute;
	width: 180px;
	height: 180px;
	left: 65%;
	top: 20%;
	border-radius: 50%;
	background-color: #fdc78b;
	background: url(./../images/loading_sun.svg);
	background-size: contain;
	transition:.2s ease-out;
	pointer-events: auto;
	animation:shining 20s infinite linear;
}

.apply {
	color: #f49c6a;
	position: absolute;
	top: 265px;
    right: 460px;
	z-index: 51;
	pointer-events: none;
}

.gobtn:hover{
	animation-play-state:paused;
}

.gobtn:hover:after{
	display: block;
	content: '';
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #fff;
	opacity: .5;
	position: absolute;
	top: 0;right: 0;bottom: 0;left: 0;
	margin:auto;
	animation:popup 1s forwards;
}

@keyframes shining{
	from{transform: rotateZ(0deg); }
	  to{transform: rotateZ(360deg);}
}

@keyframes popup {
	0% {
		transform: scale(0);
		opacity: .8;
	}
	50% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.5);
		opacity: 0;
	}
}

#f_02 {
	background-image: url(./../images/index/BG_frontpage_02_c1.png);
	animation: cloud_a 5s ease-in-out infinite alternate;

	transform: translate3d( 45%, -18%, -1000px) scale(2);
}
/*-----------------------SECTION 0(中間區塊)-----------------*/
#f_02_logo {
	background-image: url(./../images/index/frontpage_logo.png);

	transform: translate3d( 0, -40%, -900px) scale(0.65);
	pointer-events: none;
}

.slogan{
	font-size: 11vw;
	width: 420px;
	height: 53px;
	transform: translate3d( 140%, 1900%, -900px) scale(2.8);
	text-align: center;
	pointer-events: none;
	background: url(./../images/see.png);
}
/*-----------------------SECTION 0(背景)---------------------*/
#f_03 {
	background-image: url(./../images/index/BG_frontpage_03_m2.png);

	transform: translate3d( 0, 0, -3000px) scale(4.8);
}

#f_04 {
	background-image: url(./../images/index/BG_frontpage_04_m3.png);

	transform: translate3d( 0, 0, -4000px) scale(6);
}

#f_05 {
	background-image: url(./../images/index/BG_frontpage_05_c2.png);
	animation: cloud_b 50s ease-in-out infinite alternate,
			   cloud_a 3s ease-in-out infinite alternate;

	transform: translate3d( -120%, -420%, -5000px) scale(11);
}

#f_06 {
	background-image: url(./../images/index/BG_frontpage_06_m4.png);

	transform: translate3d( 0, 60%, -5000px) scale(7.3);
}

/*-----------------------SECTION 1---------------------------*/
/*-----------------------SECTION 1(中間區塊)-----------------*/
#s_01_adevents {
	width: 1200px;
	height: 517px;
	transform: translate3d( 20%, 60%, -5050px) scale(6);
	position: absolute;
	pointer-events: none;
	/*background: rgba(0,0,0,.2);*/
}

.s_01_ade{
	width: 366px;
	height: 517px;
	margin:0 25px;
	float: left;
	box-shadow: 0 5px 20px rgba(0,50,100,.05);
	transform: scale(0);
	transition: 1s cubic-bezier(0.700, 0, 0.405, 1.425);
	box-sizing: border-box;
	padding: 77px 80px;

}
.s_01_ade:first-child{
	margin-left: 0;
	background: url(./../images/index/ad1.png) 0 0 no-repeat;
	background-size: contain;
}

.s_01_ade:nth-child(2){
	background: url(./../images/index/ad2.png) 0 0 no-repeat;
	background-size: contain;
}

.s_01_ade:last-child{
	margin-right: 0;
	background: url(./../images/index/ad3.png) 0 0 no-repeat;
	background-size: contain;
}

.s_01_ade > p{
	writing-mode: tb-rl;
	font-size: 14px;
	color: #888;
	transition:.5s .4s;
}

.s_01_ade:hover > p{ /*hover文字消失*/
	opacity:0;
	transition: .5s;
}

.s_01_ade:first-child:hover {
	background: url(./../images/index/adh1.png) 0 0 no-repeat;
	background-size: contain;
}

.s_01_ade:nth-child(2):hover {
	background: url(./../images/index/adh2.png) 0 0 no-repeat;
	background-size: contain;
}

.s_01_ade:last-child:hover {
	background: url(./../images/index/adh3.png) 0 0 no-repeat;
	background-size: contain;
}
/*-----------------------SECTION 1(背景)-----------------*/
#s_01 {
	background-image: url(./../images/index/BG_spring_01_f1.png);

	transform: translate3d( 150%, 180%, -6000px) scale(5);
	right:-150%;
}

#s_02 {
	background-image: url(./../images/index/BG_spring_02_f2.png);

	transform: translate3d( 260%, -120%, -7000px) scale(12);
	right:-450%;
}

#s_03 {
	background-image: url(./../images/index/BG_spring_03_m1.png);

	transform: translate3d( 0, 0, -8000px) scale(10.1);
	left:-550%;
	transition: 3s;
}

#s_04 {
	background-image: url(./../images/index/BG_spring_04_m2.png);

	transform: translate3d( 0, 0, -9000px) scale(11.3);
	left:-1000%;
}

#s_05 {
	background-image: url(./../images/index/BG_spring_05_m3.png);

	transform: translate3d( 0, 0, -9050px) scale(11.3);
	right:-1000%;
}

/*-----------------------SECTION 2---------------------------*/
/*----------------------SECTION 2 (前景)---------------------*/
#su_01 {
	background-image: url(./../images/index/BG_summer_01_f1.png);

	transform: translate3d(220%,220%, -10000px) scale(6);
	top:500%;

	animation: skewlily 3s ease-in-out infinite alternate; 
}

/*----------------------SECTION 2 (中間區塊)-----------------*/
#s_02_container{
	width: 100vw;
	height: calc(100vh - 120px);
	transform: translate3d( 0, 0, -10050px) scale(9);
	position: absolute;
	top: 620px;	right: 0; bottom: 0; left: 0;
	margin:0 auto;
	pointer-events: none;
	/*background: rgba(0,0,0,.2);*/
}

.survey{
	width: 550px;
	height: 550px;
	background: url(./../images/index/main_survey.png) 0 0 no-repeat;
	background-size: contain;
	transform:scale(0);
	transition: 1s cubic-bezier(0.700, 0, 0.405, 1.425);

	position: absolute;
	top: 0;	right: 0; bottom: 0; left: 0;
	margin:auto;
}

.survey > p{
	color:#888;
	font-size: 18px;
	line-height: 30px;
	text-align: center;
	margin-top:270px;
}

/*--------------------SECTION 2 (泡泡)---------------------*/
.bubble{
	position: absolute;
	transform:scale(0);
	transition: 1s cubic-bezier(0.700, 0, 0.405, 1.425);
	font-size: 1.8em;
	font-weight: bold;
}

.b1{top:0;left:3%; transition-delay:.6s;}
.b2{top:10%;left:20%; transition-delay:.2s;}
.b3{top:40%;left:10%; transition-delay:.5s;}
.b4{top:70%;left:20%; transition-delay:.3s;}
.b5{top:5%;right:20%; transition-delay:.2s;}
.b6{top:20%;right:5%; transition-delay:.5s;}
.b7{top:42%;right:16%; transition-delay:.3s;}

/*--------------------SECTION 2 (泡泡hover文字-hover以js控制)---------------------*/
.bubble p{
	position: absolute;
	color:#fff;
	z-index: 2;
	display: none;
}

.b1 p{top:105px;left:80px;}
.b2 p{top:100px;left:50px;}
.b3 p{top:115px;left:70px;}
.b4 p{top:105px;left:95px;}
.b5 p{top:90px;right:30px;}
.b6 p{top:98px;right:47px;}
.b7 p{top:108px;right:60px;}

/*--------------------SECTION 2 (泡泡hover文字陰影)---------------------*/
.b1:hover:before{
	transition:.2s;
	top:105px;left:80px;
	position:absolute;
	content:"雪山？";
	display: block;
	color:#1d6281;
	-webkit-filter:blur(8px);
	-moz-filter:blur(5px);
	-ms-filter:blur(5px);
	-o-filter:blur(5px);
	filter:blur(5px);
}
.b2:hover:before{
	transition:.2s;
	top:100px;left:50px;
	position:absolute;
	content:"審馬陣山？";
	display: block;
	color:#1d6281;
	-webkit-filter:blur(8px);
	-moz-filter:blur(5px);
	-ms-filter:blur(5px);
	-o-filter:blur(5px);
	filter:blur(5px);
}
.b3:hover:before{
	transition:.2s;
	top:115px;left:70px;
	position:absolute;
	content:"合歡東峰？";
	display: block;
	color:#1d6281;
	-webkit-filter:blur(5px);
	-moz-filter:blur(5px);
	-ms-filter:blur(5px);
	-o-filter:blur(5px);
	filter:blur(5px);
}
.b4:hover:before{
	transition:.2s;
	top:105px;left:95px;
	position:absolute;
	content:"玉山？";
	display: block;
	color:#1d6281;
	-webkit-filter:blur(5px);
	-moz-filter:blur(5px);
	-ms-filter:blur(5px);
	-o-filter:blur(5px);
	filter:blur(5px);
}
.b5:hover:before{
	transition:.2s;
	top:90px;right:30px;
	position:absolute;
	content:"南湖大山？";
	display: block;
	color:#1d6281;
	-webkit-filter:blur(5px);
	-moz-filter:blur(5px);
	-ms-filter:blur(5px);
	-o-filter:blur(5px);
	filter:blur(5px);
}
.b6:hover:before{
	transition:.2s;
	top:98px;right:47px;
	position:absolute;
	content:"松蘿湖？";
	display: block;
	color:#1d6281;
	-webkit-filter:blur(5px);
	-moz-filter:blur(5px);
	-ms-filter:blur(5px);
	-o-filter:blur(5px);
	filter:blur(5px);
}
.b7:hover:before{
	transition:.2s;
	top:108px;right:60px;
	position:absolute;
	content:"雪主東？";
	display: block;
	color:#1d6281;
	-webkit-filter:blur(5px);
	-moz-filter:blur(5px);
	-ms-filter:blur(5px);
	-o-filter:blur(5px);
	filter:blur(5px);
}

/*--------------------SECTION 2 (背景)---------------------*/
#su_02 {
	background-image: url(./../images/index/BG_summer_02_m1.png);

	transform: translate3d( 0, 0, -13000px) scale(14.5);
	top:1000%;
}

#su_03 {
	background-image: url(./../images/index/BG_summer_03_m2.png);

	transform: translate3d( 0, 0, -15000px) scale(17);
	top:1800%;
}

#su_04 {
	background-image: url(./../images/index/BG_frontpage_05_c2.png);

	transform: translate3d( 110%, -770%, -15050px) scale(19);
	animation: cloud_b 20s ease-in-out infinite alternate,
			   cloud_c 3s ease-in-out infinite alternate; 
}

#su_05 {
	background-image: url(./../images/index/BG_summer_05_m3.png);

	transform: translate3d( 420%, 120%, -16000px) scale(10.3);
	top:1800%;
}


/*-----------------------SECTION 3---------------------------*/
/*-----------------------SECTION 3 (前景)--------------------*/
#fa_01 {
	background-image: url(./../images/index/BG_fall_01_f01.png);

	transform: translate3d(-540%,400%, -16000px) scale(10.5);
	top:800%;

	animation: skewgrass 3s ease-in-out infinite alternate; 
}

#fa_02 {
	background-image: url(./../images/index/BG_fall_02_m01.png);

	transform: translate3d( 0, 0, -18000px) scale(19.5);
	top:1000%;
}

/*----------------------SECTION 3 (中間區塊)-----------------*/
#fa_02_container{
	width: 100vw;
	height: calc(100vh - 120px);
	transform: translate3d( 0, 0, -18050px) scale(16);
	position: absolute;
	top: 720px;	right: 0; bottom: 0; left: 0;
	margin:0 auto;
	pointer-events: none;
	/*background: rgba(0,0,0,.2);*/
}

.about{
	width: 550px;
	height: 550px;
	background: url(./../images/index/main_about.png) 0 0 no-repeat;
	background-size: contain;
	transform:scale(0);
	transition: 1s cubic-bezier(0.700, 0, 0.405, 1.425);

	position: absolute;
	top: 0;	right: 0; bottom: 0; left: 0;
	margin:auto;
}

.about > p{
	color:#888;
	font-size: 18px;
	line-height: 30px;
	text-align: center;
	margin-top:270px;
}

/*-----------------------SECTION 3 (背景)--------------------*/
#fa_03 {
	background-image: url(./../images/index/BG_fall_03_c1.png);

	transform: translate3d( 0, -250%, -19000px) scale(20);
	animation: cloud_b 20s -5s ease-in-out infinite alternate,
			   cloud_c 3s -5s ease-in-out infinite alternate;
}

#fa_04 {
	background-image: url(./../images/index/BG_fall_04_m02.png);

	transform: translate3d( 0, 0, -20000px) scale(22.4);
	top:1800%;
}

#fa_05 {
	background-image: url(./../images/index/BG_fall_05_c2.png);

	transform: translate3d( -50%, -1000%, -21000px) scale(25);
	animation: cloud_b 20s ease-in-out infinite alternate,
			   cloud_c 3s ease-in-out infinite alternate; 
}

#fa_06 {
	background-image: url(./../images/index/BG_fall_06_m03.png);

	transform: translate3d( 0, 0, -22000px) scale(24.5);
	top:2000%;
}

#fa_07 {
	background-image: url(./../images/index/BG_fall_07_sun.png);

	transform: translate3d( 700%, -2300%, -24000px) scale(20);
	top:0;
}


/*-----------------------SECTION 4---------------------------*/
/*----------------------SECTION 4 (中間區塊)-----------------*/
#w_01_container{
	width: 100vw;
	height: calc(100vh - 120px);
	transform: translate3d( 0, 0, -24000px) scale(20);
	position: absolute;
	top: 720px;	right: 0; bottom: 0; left: 0;
	margin:0 auto;
	pointer-events: none;
	/*background: rgba(0,0,0,.2);*/
}

.social{
	width: 550px;
	height: 550px;
	background: url(./../images/index/main_social.png) 0 0 no-repeat;
	background-size: contain;
	transform:scale(0);
	transition: 1s cubic-bezier(0.700, 0, 0.405, 1.425);

	position: absolute;
	top: 0;	right: 0; bottom: 0; left: 0;
	margin:auto;
}

.social > p{
	color:#888;
	font-size: 18px;
	line-height: 30px;
	text-align: center;
	margin-top:300px;
}
.social > div{
	margin:25px auto;
	text-align: center;
}
.social > div >a {
	font-size: 2em;
	padding:0 5px;
}

.fa:hover {
	color:#f9ad81;
}

#w_01 {
	background-image: url(./../images/index/BG_winter_01.png);

	transform: translate3d(0,250%, -24090px) scale(24.5);
	top:1000%;

	/*animation: skewgrass 3s ease-in-out infinite alternate; */
}

#w_02 {
	background-image: url(./../images/index/BG_winter_02.png);

	transform: translate3d( 0, 250%, -26000px) scale(27.5);
	top:2500%;
}

#w_03 {
	background-image: url(./../images/index/BG_winter_03_c.png);

	transform: translate3d( 0, -1600%, -28000px) scale(31);
	animation: cloud_b 20s -5s ease-in-out infinite alternate,
			   cloud_c 3s -5s ease-in-out infinite alternate; 
}


/*-----------------------動畫---------------------------*/
@keyframes cloud_a {
	0% {top: 0;}
	50% {top: 2%;}
	100% {top: 0;}
}

@keyframes cloud_b {
	0% {left: 0;}
	50% {left: 80%;}
	100% {left: 0;}
}

@keyframes cloud_c {
	0% {top: 0;}
	50% {top: 10%;}
	100% {top: 0;}
}

/*櫻花抖動尚未設定*/
@keyframes skewsakura { /*務必維持和原本的transform設定一樣，只改動skew*/
	0%{}
	50%{}
	100%{}
}

@keyframes skewlily { /*維持和原本的transform設定一樣，只改動skew*/
	0%{transform: translate3d(220%,220%, -10000px) scale(6.2) skewY(-1deg);}
	100%{transform: translate3d(220%,220%, -10000px) scale(6) skewY(0deg);}
}

@keyframes skewgrass { /*維持和原本的transform設定一樣，只改動skew*/
	0%{transform: translate3d(-540%,400%, -16000px) scale(10.5) skewY(2deg);}
	100%{transform: translate3d(-540%,400%, -16000px) scale(10.5) skewY(0deg);}
}