
/*設定視窗邊界為0*/
 * {
	margin: 0;
	padding: 0;
 }

/*設定字型及捲軸*/
body {
	font-family: 'Noto Sans TC','Arial';
	overflow-y: scroll;
	overflow-x: hidden;
}

/*設定高度*/
html {
	height: 100%;
}

/*設定整體的固定背景圖*/
body {
		width: 100%;
		background-image:url(images/web-bg.jpg);
		background-repeat: no-repeat;
		background-position: center;
		background-attachment: fixed;
		z-index: -1;
}

body:before {
		content: ' ';
		position: fixed;
		z-index: -1;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: url(images/web-bg.jpg) center 0 no-repeat;
		background-size: cover;
}

/*白色透明的主要區塊*/
.main {
	width: 50%;
	height: auto;
	background-color: rgba(69, 93, 124, 0.75);
	margin: 0 auto;
	margin-top: 8rem;
	padding: 5rem;
	display: flex;
	flex-direction: column;
	 justify-content: center;
	align-items: center;
}

.item {
  width: 70%;
  margin: 1.5rem;
  display: flex;
 flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FFF;
  font-size: 2rem;
  line-height: 180%;
}

.sitem {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: black;
  font-size: 1.5rem;
  line-height: 180%;
}

/*靠左對齊*/
.itemleft {
  width: 70%;
  display: flex;
 flex-direction: column;
  justify-content: left;
  align-items: left;
  text-align: left;
  color: black;
  font-size: 2rem;
  line-height: 180%;
}

/*圖片RWD*/
.responsive {
	display: block;
	max-width: 100%;
	height: auto;
}

.responsive2 {
	max-width: 50%;
	height: auto;
}

.responsive3 {
	max-width: 50%;
	height: auto;
	-webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(65%, transparent) , to(rgba(250, 250, 250, 0.4)));
}

/*標題*/
.toptitle
{
	text-align: center;
	padding: 1rem;
}

/*影片RWD*/
.embed-mv { 
	position: relative; 
	padding-bottom: 46.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
}

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

/*大標*/
.bigtitle {
	font-size: 3rem;
	color: #FFF;
	line-height: 180%;
	font-weight: 700;
}

/*小標*/
.smalltitle {
	font-size: 2rem;
	line-height: 180%;
	font-weight: 700;
	margin-top: 1.5rem;
}

.smalltitle2 {
	font-size: 1.5rem;
	line-height: 180%;
	font-weight: 300;
	margin-top: 1.5rem;
	color:#FFF;
	text-align: center;
}

.smalltitle3 {
	font-size: 1.5rem;
	line-height: 180%;
	margin-bottom: 1.5rem;
}

.smalltitle4 {
	font-size: 1.5rem;
	line-height: 180%;
	font-weight: 300;
	margin-top: 1.5rem;
	color:#FFF;
	text-align: center;
}

/*版權宣告*/
.footer {
	width:100%;
	text-align:center;
	padding:1rem; 
	font-size:1rem;
	color: #FFF;
}

/*往下箭頭的CSS*/
.container {
	margin: 0 auto;
	margin-top:0%;
	display: flex;
  position: relative;
  width: 24px;
  height: 24px;
}

.chevron {
  position: absolute;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}

.chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

.text {
  display: block;
  margin-top: 75px;
  margin-left: -30px;
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .25;
  animation: pulse 2s linear alternate infinite;
}

@keyframes pulse {
  to {
    opacity: 1;
  }
}


/*表單*/
input[type="radio"] {
  opacity: 0;
}
input[type="radio"]:checked+label:before,input[type="radio"]+label:before {
  content: "";
  height: 2rem;
  width: 2rem;
  display: block;
  border: .125rem solid #aaa;
  border-radius: 50%;
  position: absolute;
  margin-left: -2.5rem;
  margin-top: 0.8rem;
}
input[type="radio"]:checked+label:before {
  box-shadow: .125rem .125rem 0 #fff inset, -.125rem -.125rem 0 #fff inset, -.125rem .125rem 0 #fff inset, .125rem -.125rem 0 #fff inset,.3rem  .3rem 0 #aaa inset,-1rem -1rem 0 #bbb inset; 
}
label {
  display: inline-block;
  cursor: pointer;
  margin-left: 2.5rem;
}

input[type=text],input[type=password] {
    width: 50%;
    padding: 10px 20px;
    margin: 5px 0px;
    box-sizing: border-box;  
}

.myButton {
	background-color:#0f2142;
	border-radius:9px;
	border:0px solid #29668f;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	font-weight:bold;
	padding:16px 31px;
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
}

.myButton:hover {
	background-color:#8888A8;
}

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

.bigtitle2 {
	font-size: 1.5rem;
	color:#ff628d;
	font-weight: 700;
}


/*手機版改寫CSS*/
@media only screen and (max-width: 800px) {
	body {
			width: 100%;
			background-image:url(images/mb-bg.jpg);
			background-repeat: no-repeat;
			background-position: center top;
			background-attachment: fixed;
			z-index: -1;
	}


	body:before {
			content: ' ';
			position: fixed;
			z-index: -1;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			background: url(images/mb-bg.jpg) center top no-repeat;
			background-size: cover;
	}
	

.responsive2 {
	max-width: 75%;
	height: auto;
}
	.container {
		margin-top:0%;
	}
	
	.main {
		width: 90%;
		padding: 1rem;
		margin:auto 0;
		margin-top: 6rem;
	}
	
	.item {
	  width: 90%;
	  margin: 1rem;
	  display: flex;
	 flex-direction: column;
	  justify-content: center;
	  align-items: center;
	  text-align: center;
	  font-size: 1.2rem;
	  line-height: 150%;
	}
	
	.bigtitle {
		font-size: 1.5rem;
	}
	.bigtitle2 {
		font-size: 1rem;
	}


	.smalltitle {
		font-size: 1.2rem;
		margin-top: 0.5rem;
	}

	.smalltitle2 {
		font-size: 1rem;
		line-height: 180%;
		margin-top: 1.5rem;
		text-align: center;
	}

	.smalltitle3 {
		font-size: 0.9rem;
		font-weight: 500;
		line-height: 180%;
		margin-bottom: 1.5rem;
	}


	.itemleft {
	  width: 100%;
	  font-size: 1rem;
	}
	
	input[type="radio"]:checked+label:before,input[type="radio"]+label:before {
	  content: "";
	  height: 1rem;
	  width: 1rem;
	  display: block;
	  border: .125rem solid #aaa;
	  border-radius: 50%;
	  position: absolute;
	  margin-left: -1.5rem;
	  margin-top: 0.3rem;
	}
	input[type="radio"]:checked+label:before {
	  box-shadow: .125rem .125rem 0 #fff inset, -.125rem -.125rem 0 #fff inset, -.125rem .125rem 0 #fff inset, .125rem -.125rem 0 #fff inset,.3rem  .3rem 0 #aaa inset,-0.5rem -0.5rem 0 #bbb inset; 
	}
	label {
	  display: inline-block;
	  cursor: pointer;
	  margin-left: 1.5rem;
	}
	.footer {
		width:90%;
		padding:1rem; 
		font-size:0.8rem;
		margin:auto 0;
	}
	
.smalltitle4 {
	font-size: 1rem;
	line-height: 180%;
	font-weight: 300;
	margin-top: 1.5rem;
	color:#FFF;
	text-align: center;
}
	
}