/* 讓所有元素計算大小的標準以包含框線的大小為基準 */
* {
	/* border: 1px solid red; */
	box-sizing: border-box;
}

body {
    /* 將瀏覽器預設的留白歸零 */
    margin: 0px;
    /* 使用google字型 */
    font-family: 'Noto Sans TC', sans-serif;
	/* 隱藏超過視窗部分 */
	/*overflow: hidden;*/
	padding: 0px;
}

/* 固定背景 */
body, html {
	background: url(../images/pc_bg.jpg) no-repeat top center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/* 放置所有內容的容器 */
.container {
	width: 100%;
	height: auto;
    /* margin: 上下 左右; */
    margin: 0 auto;
}

/* 放置所有col的容器 */
.row {
    /* 讓此元素內的第一層元素預設橫向排列 */
    display: inline-flex;
    /* 不要自動縮放，放不下就換行  */
    flex-wrap: wrap;
}

.flexdiv {
	height: 100vh;
    display: flex;
	justify-content: center;
	align-items: center;
}

/* 放置所有區塊的容器 */
section {
  position: relative;
  width: 100%;
  height: 100vh;
}

.mouse a {
  color: #fff;
  font : normal 500 50px/1 'Noto Serif TC', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.mouse a:hover {
  opacity: .5;
}

.dmo1 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 2000;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.dmo2 {
  position: absolute;
  bottom: 40px;
  left: 50%;
  z-index: 2000;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.dmo3 {
  position: absolute;
  bottom: 40px;
  left: 50%;
  z-index: 2000;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.dmo4 {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 2000;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

/* 空div */
.emptydiv {
	width: 100%;
	height: 10px;
}

/* 底部按鈕 */
a {
  padding-top: 60px;
}
a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
a span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
a span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
a span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}
@-webkit-keyframes sdb {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* RWD IMAGE*/
.responsive {
	max-width: 100%;
	height: auto;
}

/* 大標區塊 */
.bigtitle {
	position: absolute;
	top: 12%;
	left: 50%;
	width: 15%;
	transform: translate(-50%, -50%); /* 3.使用translate讓元素移動自身的50%距離 */
	z-index: 100;
}

/* 大圖區塊 */
.mainpics {
	position: absolute;
	top: 58%;
	left: 50%;
	width: 80%;
	transform: translate(-50%, -50%); /* 3.使用translate讓元素移動自身的50%距離 */
	z-index: 10;
}

/* 小圖區塊 */
.secpics {
	position: absolute;
	top: 75%;
	left: 50%;
	width: 30%;
	transform: translate(-50%, -50%); /* 3.使用translate讓元素移動自身的50%距離 */
	z-index: 30;
}

/*鍊子*/
.chain {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
	z-index:99;
}

.Lchain {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
	z-index:99;
	width: 25%;
}
.Rchain {
	position: fixed;
	right: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
	z-index:99;
	width: 25%;
}

.Lchainimg {
	max-width: 100%;
}
.Rchainimg {
	max-width: 100%;
}

.onepage {
	width:100%;
	height: 100vh;
}

/* 第二區塊 */
.sectitle {
	max-width: 100%;
	color: #FFF;
}

/* 中標 */
.myh1 {
	font-size: 3rem;
	font-weight: 700;
	margin-top: 10px;
	/*text-shadow: black 0.1em 0.1em 0.1em;*/
	border-bottom: 2px solid white;
}

/* 小標 */
.myp {
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 180%;
	margin-top: 3em;
	/*text-shadow: black 0.1em 0.1em 0.1em;*/
}

.myp2 {
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 180%;
	/*text-shadow: black 0.1em 0.1em 0.1em;*/
	text-align: left;
}

.myp3 {
	font-size: 1rem;
	font-weight: 500;
	line-height: 180%;
	margin-top: 20px;
	/*text-shadow: black 0.1em 0.1em 0.1em;*/
}

/* 小區塊 */
.myblock {
	width: 50%;
	margin: 200px auto 0 auto;
	margin-top: 200px;
}

/*MV*/
.mymv {
	width: 50%;
	margin: 0 auto;
	margin-top: 20px;
}

/*RWD Youtube 以及 Vimeo*/
.video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;height:0;overflow:hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}


/* 分隔線 */
.myhr {
	width: 30%;
	margin: 1em 0;
}

/* 第三區塊 */
.thirdtitle {
	color: #FFF;
	width: 100%;
	padding: 2rem;
	margin: 50px auto;
	clear:both;
	background: rgb(128,99,148,0.8);
	text-align:center;
}

.halfdiv {
	width: 60%;
	margin: 0 auto;
}

/* 藍底標 */
.myh2 {
	font-size: 2.8rem;
	font-weight: 700;
	margin-top: 2.5em;
	margin-left: 19%;
	padding: 2% 0;
}

/* 第三區塊內文 */
.thirdcontent {
	max-width: 1440px;
	width: 75%;
	margin-left: 10%;
	color: #FFF;
	margin-top: 1.5em;
}

/* 贈品圖 */
.flexbox {
	width: 100%;
    display: flex;
}

.giftimg {
	width: 20%;
	margin: 60px;
}

.giftimg2 {
	width: 70%;
	margin-right: 40px;
}

/* 留言區 */
.msgblock {
	width: 100%;
	height: 100%;
	text-align:center;
	/*background: #0075AB;*/
}

.redfont {
	/*color:rgb(220,93,92);*/
	color: red;
	font-weight: 800;
}


.swfont {
	color: #FFF;
	font-size: 1rem;
	line-height: normal;
	text-align:center;
}

.mytable {
	width: 30%;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 180%;
	color: #FFF;
	padding-top: 175px;
}

.form-control {
  padding: 10px;
  margin: 5px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  vertical-align:top;
  width: 50%;
}
.form-control2 {
  padding: 10px;
  margin: 5px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  vertical-align:top;
  width: 100%;
}

.myButton {
	background-color:rgb(62,72,183);
	box-shadow: 0 5px 0 #000;
	border-radius:9px;
	border:0px solid #0075AB;
	display:inline-block;
	cursor:pointer;
	color:#FFF;
	font-weight: 700;
	font-size: 1.2rem;
	padding:16px 31px;
	text-decoration:none;
	transition: all .1s linear;
}

.myButton:active  {
  box-shadow: 0 2px 0 #000;
  transform: translateY(3px);
}

.myButton:active {
	position:relative;
	top:1px;
}

.msgarea {
	overflow-y: scroll; 
	height:100vh;
	width: 60%;
	background: rgb(128,99,148,0.8);
	margin: 0 auto;
	padding: 40px 60px;
}

.msgp {
	color: #FFF;
	font-size: 1.5rem;
	text-align: left;
	padding: 5px 10px;
	line-height: 180%;
}

.msgcom {
	color: #FFF;
	font-weight: 700;
}

.msgspan {
	color:#FFF;
}

.msgimg
{
	width: 300px;
	height: 200px;
	object-fit: cover;
	padding: 10px 30px 10px 0px;
}

/* 捲軸樣式 */
::-webkit-scrollbar {
  width: 5px;
  background: #FFF; 
  border-radius: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px grey; 
  border-radius: 5px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #004E73; 
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #008ED2; 
}

/* footer */
.myfooter {
	color:#FFF;
	font-size: 1rem;
	width: 100%;
}

.sicon {
	margin: 10px; font-size: 60px; color: white;
}

#section04 {
	height: auto;
}

/* Responsive Web Design 響應式網頁設計 */
/* CSS -> Media Query  */
/* 寬螢幕版 > 2000 */
/* 手機版 <= 767 */
@media screen and  (min-width: 1440px) and (max-width: 2000px) {
    /* 以下的選擇器只在視窗寬度 < 2000px 有效 */
	
	/* 大標區塊 */
	.bigtitle {
		width: 12%;
	}
	
	.halfdiv {
		width: 40%;
		margin: 0 auto;
	}
	
	.giftimg {
		width: 30%;
		margin: 0;
	}

	/* 大圖區塊 */
	.mainpics {
		position: absolute;
		top: 58%;
		left: 50%;
		width: 70%;
		transform: translate(-50%, -50%); /* 3.使用translate讓元素移動自身的50%距離 */
		z-index: 10;
	}

	.myh1 {
		font-size: 2rem;
	}
	
	.myp2 {
		font-size: 1.5rem;
	}

	/* 小區塊 */
	.myblock {
		width: 50%;
		margin: 0 auto;
		margin-top: 60px;
	}

	/* 第三區塊 */
	.thirdtitle {
		color: #FFF;
		width: 100%;
		padding: 2rem;
		margin: 50px auto;
		clear:both;
		background: rgb(128,99,148,0.8);
		text-align:center;
	}

	.msgarea {
		padding: 40px 60px;
	}

	.dmo2 {
	  bottom: 60px;
	}
	.dmo3 {
	  bottom: 20px;
	}
	.dmo4 {
	  bottom: 180px;
	}
	
	#section04 {
		height: 100vh;
	}
}

@media screen and  (min-width: 990px) and (max-width: 1440px) {
	
	/* 大標區塊 */
	.bigtitle {
		position: absolute;
		top: 10%;
		left: 50%;
		width: 12%;
		transform: translate(-50%, -50%); /* 3.使用translate讓元素移動自身的50%距離 */
		z-index: 100;
	}

	/* 大圖區塊 */
	.mainpics {
		width: 60%;
	}

	.myh1 {
		font-size: 1.5rem;
	}
	
	.myp2 {
		font-size: 1.2rem;
	}

	/* 小圖區塊 */
	.secpics {
		width: 30%;
	}

	/* 小標 */
	.myp {
		font-size: 1.5rem;
		margin-top: 1.5em;
	}

	/* 留言區 */
	.msgblock {
		width: 80%;
		margin: 0 auto;
		padding: 40px 60px;
	}
	
	.msgarea {
		width: 95%;
		padding: 40px 60px;
	}

	/* 小區塊 */
	.myblock {
		width: 60%;
		margin-top: 20px;
	}
	/*MV*/
	.mymv {
		width: 40%;
	}
	/* 第三區塊 */
	.thirdtitle {
		color: #FFF;
		width: 100%;
		padding: 2rem;
		margin: 30px auto;
	}
	.dmo2 {
	  bottom: 40px;
	}
	.dmo3 {
	  bottom: 20px;
	}
	.dmo4 {
	  bottom: 10px;
	}

	.mytable {
		width: 30%;
		font-size: 1.2rem;
		font-weight: 700;
		line-height: 180%;
		color: #FFF;
		padding-top: 30px;
	}

	.msgimg
	{
		width: 230px;
		height: 180px;
		object-fit: cover;
		padding: 10px 30px 10px 0px;
	}
	.giftimg {
		max-width: 195px;
		vertical-align:top;
		margin:30px;
	}

	.giftimg2 {
		max-width: 400px;
		margin-right: 40px;
		vertical-align:top;
	}

	.myButton {
		background-color:rgb(62,72,183);
		box-shadow: 0 5px 0 #000;
		border-radius:9px;
		border:0px solid #0075AB;
		display:inline-block;
		cursor:pointer;
		color:#FFF;
		font-weight: 700;
		font-size: 1rem;
		padding:8px 15px;
		text-decoration:none;
		transition: all .1s linear;
	}
	.form-control2 {
	  padding: 5px;
	  margin: 5px;
	  display: inline-block;
	  border: 1px solid #ccc;
	  border-radius: 4px;
	  box-sizing: border-box;
	  vertical-align:top;
	  width: 100%;
	}

	#section04 {
		height: 100vh;
	}

}

/* Responsive Web Design 響應式網頁設計 */
/* CSS -> Media Query  */
/* 寬螢幕版 > 2000 */
/* 手機版 <= 767 */
@media (max-width: 990px) {
    /* 以下的選擇器只在視窗寬度 <= 767px 有效 */

	/* 固定背景 */
	body {
		background: url(); 
		background-attachment: fixed;
		background-repeat: no-repeat;
		background-position:center top;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}
	
	body:before {
	  content: ' ';
	  position: fixed;
	  z-index: -1;
	  top: 0;
	  right: 0;
	  bottom: 0;
	  left: 0;
	  background: url(../images/mb_bg.png) center 0 no-repeat;
	  background-size: cover;
	}

}

/* 標題動畫 */
.tilt-in-top-1 {
	-webkit-animation: tilt-in-top-1 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: tilt-in-top-1 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2021-5-18 12:40:21
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation tilt-in-top-1
 * ----------------------------------------
 */
@-webkit-keyframes tilt-in-top-1 {
  0% {
    -webkit-transform: rotateY(30deg) translateY(-300px) skewY(-30deg);
            transform: rotateY(30deg) translateY(-300px) skewY(-30deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0deg) translateY(0) skewY(0deg);
            transform: rotateY(0deg) translateY(0) skewY(0deg);
    opacity: 1;
  }
}
@keyframes tilt-in-top-1 {
  0% {
    -webkit-transform: rotateY(30deg) translateY(-300px) skewY(-30deg);
            transform: rotateY(30deg) translateY(-300px) skewY(-30deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0deg) translateY(0) skewY(0deg);
            transform: rotateY(0deg) translateY(0) skewY(0deg);
    opacity: 1;
  }
}

.custom-file-input {
	color: transparent;
  }
  .custom-file-input::-webkit-file-upload-button {
	visibility: hidden;
  }
  .custom-file-input::before {
	content: '請選擇你要上傳的檔案';
	color: #FFF;
	display: inline-block;
	vertical-align:bottom;
	background: -webkit-linear-gradient(top, rgb(62,72,183), rgb(62,72,183));
	/*border: 1px solid #999;*/
	border-radius: 10px;
	padding: 5px 8px;
	outline: none;
	white-space: nowrap;
	-webkit-user-select: none;
	cursor: pointer;
	/*text-shadow: 1px 1px #fff;*/
	font-weight: 500;
	font-size: 16pt;
  }
  .custom-file-input:hover::before {
	border-color: black;
  }
  .custom-file-input:active {
	outline: 0;
  }
  .custom-file-input:active::before {
	background: -webkit-linear-gradient(top, rgb(62,72,183), rgb(62,72,183)); 
  }

.puff-in-hor {
	-webkit-animation: puff-in-hor 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
	        animation: puff-in-hor 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}
.fade-in-top {
	-webkit-animation: fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
/* ----------------------------------------------
 * Generated by Animista on 2021-7-14 15:42:20
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation puff-in-hor
 * ----------------------------------------
 */
@-webkit-keyframes puff-in-hor {
  0% {
    -webkit-transform: scaleX(2);
            transform: scaleX(2);
    -webkit-filter: blur(4px);
            filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes puff-in-hor {
  0% {
    -webkit-transform: scaleX(2);
            transform: scaleX(2);
    -webkit-filter: blur(4px);
            filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
/* ----------------------------------------------
 * Generated by Animista on 2021-7-14 15:44:45
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation fade-in-top
 * ----------------------------------------
 */
@-webkit-keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
