body {
	background-color: #fff;
	font-family: Arial, 'Noto Sans TC', '微軟正黑體';
	color: #666;
}

select,
input,
body {
	font-size: 18px;
}


a {
	display: inline-block;
	transition: 500ms;
	text-decoration: none;
}


a:hover,
input[type="button"]:hover {

	filter: alpha(opacity=70);
	opacity: 0.70;
	text-decoration: none;
}

.main {
	width: 100%;
	max-width: 800px;
	display: block;
	margin: 0 auto;
	padding: 120px 3% 40px;

	text-align: center;
}



img {
	display: block;
}

header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 3;
	left: 0;
}

header>div {
	position: relative;
	background-color: #fff;
	padding: 15px 0;
}

header:After {
	content: "";
	position: absolute;
	bottom: -15px;
	background-image: url(../images/line.png);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100% 100%;
	left: 0;
	width: 100%;
	height: 15px;
	display: block;
}

.logo {
	display: block;
	margin: 0 auto;
	width: 150px;
}



h1,.h1 {
	display: block;
	width: 100%;
	text-align: center;
	font-weight: 700;
	font-size: 38px;
	margin: 5px 0 10px;
	line-height: 130%;
}

h1,
h2,
body .c_bu {
	color: #0b318f;
}

body .c_r {
	color: #c9151e;
}

h2,
.btn {
	font-size: 24px;
	font-weight: 500;
}

h2 {
	font-weight: 700;
}
.txt_38{
	font-size: 38px;
}
.txt_12{
	font-size: 12px;
	color: #666;
	text-align: left;
}
input[type="radio"],
input[type="checkbox"] {
	display: none;
}



input {
	-webkit-appearance: none;
}

select,
input {
	color: #666
}

select {
	height: 60px;
	width: 100%;
	background-image: url(../images/select.svg);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: auto 100%;
	border-radius: 4px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

select::-ms-expand {
	display: none;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select {
	width: 100%;
	border: 1px solid #cccccc;
	border-radius: 4px;
	padding: 16px;
	line-height: 1.15;
	background-color: #FFF;
}

input[type="submit"],
input[type="file"],
.btn {
	border: 0;
	background-color: #0b318f;
	color: #fff;
	padding: 15px 8px;
	border-radius: 4px;
	display: block;
	cursor: pointer;
	width: 50%;
	margin: 30px auto 0;
	transition: 500ms;
}

input[type="submit"]:hover,
input[type="file"]:hover {
	background-color: #0f41be;
}

.form {
	margin-top: 30px;
	text-align: left;
}
.form h3{
	margin-bottom: 10px;
  color: #333;
  font-weight: bold;
}
.form p {
	font-size: 12px;
	color: #8c9abf;
	padding: 7px 5px 0 5px;
}

.form li {
	margin-bottom: 20px;
	margin-top: 20px;
}


.checkbox {
	position: relative;
	color: #666;
	padding-left: 40px;
	padding-top: 5px;
}

.checkbox a {
	color: #0b318f;
	text-decoration: underline;
}

.checkbox label {
	width: 30px;
	height: 30px;
	background-color: #fff;
	border: 1px solid #CBCFE1;
	border-radius: 4px;
	display: block;
	cursor: pointer;
	position: absolute;
	top: 0;
	left: 0;
}

input[type="checkbox"]:checked+label,
input[type="checkbox"]:checked+label:hover {
	background-image: url(../images/Arrow_ok.svg);
	background-repeat: no-repeat;
	background-position: center center;
}

.ok_img {
	width: 130px;
	display: block;
	margin: 30px auto;
	opacity: 0;
	transform: scale(0.1);
}

.ok_txt {
	opacity: 0;
	
}

.loaded_style .ok_img {
	-webkit-animation: icon_vector .5s ease both;
	animation: icon_vector .5s ease both;
}

.loaded_style .ok_txt {
	-webkit-animation: icon_vectorTXT .5s ease both;
	animation: icon_vectorTXT .5s ease both;
}

@-webkit-keyframes icon_vector {
	from {
		opacity: 0;
		transform: scale(0.1);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes icon_vector {
	from {
		opacity: 0;
		transform: scale(0.1);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@-webkit-keyframes icon_vectorTXT {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes icon_vectorTXT {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (min-width: 801px) {
	.main {
		-webkit-box-shadow: 0 0 36px rgb(0 0 0 / 10%);
		box-shadow: 0 0 36px rgb(0 0 0 / 10%);
		background-image: url(../images/bg.png), url(../images/bg.jpg);
		background-repeat: no-repeat, repeat-x;
		background-position: bottom right, top center;
		background-size: 100%, auto;
	}
}

@media (max-width: 800px) {
	body,
	html {
		height: 100%;
	}
	body {
		background-image: url(../images/bg.png), url(../images/bg.jpg);
		background-repeat: no-repeat, repeat-x;
		background-position: bottom right, top center;
		background-size: 130%, auto;
	}
}

@media (max-width: 550px) {
	.main {
		padding: 120px 5% 40px;
	}
}


/*popup/////////////////////////////////////////*/

.popup {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 55;
  left: 0;
  top: 0;
}

.popup.open {
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup>div {
  background-color: #fff;
  width: 90%;
  max-width: 500px;
  padding: 40px 20px;
  text-align: center;
  border-radius: 20px;
}

.popup h2 {
  margin: 15px 0;
  font-size: 30px;
}
.popup img{
	margin-top: 0;
}
.popup .btn{
	background-color: #999;
	font-size: 20px;
}
.popup .btn:hover {
	background-color: #ccc;
}

/*點數兌換*/
.point_txt{
	position: relative;
/*	text-align: left;*/
	padding: 5% 0;
	margin: 5% 0;
	border-top: 1px solid #ccc;
	
}
.point_txt:not(.point_txt2){
	border-bottom: 1px solid #ccc;
}
.point_txt2{
	margin-bottom: 0;
}
.point_txt h2{
	
	line-height: 140%;
}

.btn_line{
	border: 1px solid #0f41be;
	color: #0f41be;
	padding: 5px 10px 8px;
	border-radius: 4px;
	margin-top: 10px;
}
.table_style{
	width: 100%;
	border-collapse: collapse;
}

.table_style td,.table_style th{
	vertical-align: middle;
	padding: 10px 0;
	border: 1px solid #ccc;
	text-align: center;
	width: 33%;
}
.table_style tr:nth-of-type(odd) td{
	background-color: #eeeded;
}
.table_style th{
	background-color: #666;
	color: #fff;
}