/* ==reset.css================= */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, <strong>h4</strong>, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset, img {
	border:0;
}
address, caption, cite, code, dfn, em, strong, th, var {
	font-style:normal;
	font-weight:normal;
}
ol, ul {
	list-style:none;
}
caption, th {
	text-align:left;
}

q:before, q:after {
	content:'';
}
abbr, acronym {
	border:0;
}

/* ==共用區================= */

*{
	margin:0;
	padding:0;
	box-sizing:border-box;
}

html, body{ 
	font-family:Arial, Helvetica, "微軟正黑體", sans-serif;
	-webkit-text-size-adjust:none;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	width:100%;
	height:100%;
	min-width: 1000px;
	background:linear-gradient( 90deg, #ffc852, #ffc852 100%);
}


/* ==電腦版=========== */

#TOP{
	width:100%;
	height:70px;
	background-color:#fff;
    position: fixed;
    top: 0;
    z-index: 99999;
}

#LOGO{
	width:200px;
	height:40px;
	background-image:url(LOGO.png);
	background-size:cover;
	margin-left:45px;
    margin-top: 15px;
	float: left;
	
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
    src='LOGO.png',
    sizingMethod='scale');
}

#LOGO a{
    display: block;
    width:200px;
	height:40px;
    margin-left:45px;
    margin-top: 15px;
}

#KV{
	width: 100%;
	height: 0;
    background-image: url("KV_web.webp");
	padding-bottom: 33.33%;
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
	position: relative;
	margin-top: 70px;
}

#title{
	display: block;
	width: 28%;
	height: 0;
    background-image: url("title.webp");
	padding-bottom: 21.7%;
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
	position: absolute;
	top: 23.8%;
	left: 56%;
}

.nowopen2 a{
	display: block;
	width: 17%;
	color: #fff;
	text-decoration: none;
	text-align: center;
	font-size: 1.6vw;
	font-weight: bold;
	background-color: #323d47;
	border-radius: 50px;
	border: 1.6px solid #4e6274;
	-webkit-user-select:none;
	padding: 0.8% 0;
	position: absolute;
	top: 79%;
	left: 14.7%;
}
.nowopen2 a:hover{ transform: scale(0.97);}

.openadd a{
	display: block;
	width: 17%;
	color: #fff;
	text-decoration: none;
	text-align: center;
	font-size: 1.6vw;
	border-radius: 50px;
	border: 1.6px solid #fff;
	background-color: rgba(63,107,159,0.5);
	-webkit-user-select:none;
	padding: 0.8% 0;
	position: absolute;
	top: 79%;
	left: 32.5%;
}
.openadd a:hover{ transform: scale(0.97);}



#BONUS1{
	display: block;
	width: 80%;
	height: 0;
    background-image: url("BONUS1.webp");
	padding-bottom: 11.304%;
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
	margin-top: 4%;
	margin-left: 10%;
}

#BONUS2{
	display: block;
	width: 80%;
	height: 0;
    background-image: url("BONUS2.webp");
	padding-bottom: 13.912%;
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
	margin-top: 2%;
	margin-left: 10%;
}

#BONUS{
	width: 100%;
	margin: 2% 0 4% 0;
	background-color: #1ea4d8;
	padding: 4% 10%;
}

#BONUS3{
	display: block;
	width: 100%;
	height: 0;
    background-image: url("BONUS3.webp");
	padding-bottom: 17.39%;
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
}


p{
	font-size: 1.2em;
	line-height: 1.8;
	color: #323d47;
	text-align: justify;
	margin-top: 5px;
	margin-bottom: 10px;
	clear: both;
}

p.matter{
    display: block;
    text-align: center;
    font-size: 1.6em;
    color: #323d47;
    font-weight: bold;
    text-decoration: none;
    -webkit-user-select:none;
 }
 
p.PLps{
	display: none;
}

span.redBLOCK{
 	color: #fff;
	background-color: #f76670;
	padding: 1% 3%;
	border-radius: 50px;
 }
 
span.red{
 	color: #f76670;
 }

span.bold{
	font-weight: bold;
}

span.small{
	font-size: 0.8em;
	line-height: 2.2;
}


/* ==為什麼選擇元富=========== */
#OneMillion{
	width: 60%;
	margin: 0 auto;
}

img.OMpic1{
	display: block;
	margin: 4% auto 0 auto;
	width: 40%;
	clear: both;
}

img.OMpic2{
	display: block;
	margin: 4% auto 0 auto;
	width: 50%;
	clear: both;
}

ul#OMfour{ display: block; width: 100%;}

li.OMfour_a, .OMfour_b, .OMfour_c, .OMfour_d{
	display: block;
	float: left;
	width: 25%;
	height: 0;
	padding-bottom: 24%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-top: 3%;
	margin-bottom: 6%;}
li.OMfour_a{ background-image: url("OMfour_a.webp");}
li.OMfour_b{ background-image: url("OMfour_b.webp");}
li.OMfour_c{ background-image: url("OMfour_c.webp");}
li.OMfour_d{ background-image: url("OMfour_d.webp");}

ul#OMapp{ display: block; width: 100%;}

li.OMapp_a a, .OMapp_b a, .OMapp_c a, .OMapp_d a, .OMapp_e a{
	display: block;
	float: left;
	width: 20%;
	height: 0;
	padding-bottom: 31.25%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-top: 3%;
	margin-bottom: 10%;
	}
li.OMapp_a a{ background-image: url("OMapp_a.webp");}
li.OMapp_b a{ background-image: url("OMapp_b.webp");}
li.OMapp_c a{ background-image: url("OMapp_c.webp");}
li.OMapp_d a{ background-image: url("OMapp_d.webp");}
li.OMapp_e a{ background-image: url("OMapp_e.webp");}

ul#OMapp li a:hover{
	transform: scale(0.98);
}


/* ==注意事項=========== */
.precautions{
    width: 80%;
    margin: 0% auto;
	clear: both;	
}

.precautionsBOX{
    width: 100%;
    display: block;
    background-color:rgba(255,255,255,1.0);
    padding: 5% 5% 5% 4%;
	border-radius: 80px;
	border: 5px solid #1ea4d8;
}

h2{
	font-size: 1.4em;
	line-height: 1.6;
	color: #1ea4d8;
}

ul#note{
    margin-top: 8px;
    font-size: 1em;
    line-height: 2;
    text-align: justify;
    padding-left: 3em;
    list-style-type:decimal;
    color: #323d47;
}

ul#note li{
    margin-top: 0;
}

ul.noteSS{
    text-indent: -1.5em;
    padding-left: 1.7em; 
}

a.yellowlink{ color: #1ea4d8; font-weight: bolder;}

/* ==頁尾=========== */
#bottomINFO{
	width: 100%;
	background-color: #fff;
	margin-top: 4%;
	padding: 4% 0 0% 0;
	border-top: 4px solid #f4f5f8;
}

#BOX{
	width: 24%;
	margin: 0 auto;
	overflow: hidden;
}

h3{
	text-align: center;
	color: #323d47;
	font-size: 1.4vw;
}

ul.social{
	width: 100%;
	margin-top: 5%;
}

ul.social li{
	display: block;
	width: 25%;
	float: left;
	-webkit-user-select:none;
}

ul.social li img{
	width: 70%;
	margin-left: 15%;
}

ul.social li a{
	display: block;
	width: 100%;
	float: left;
	text-decoration: none;
	-webkit-user-select:none;
}

ul.social li a:hover{
	transform: scale(0.95);
}

#warning{
    width: 80%;
    font-size: 1.1em;
    font-weight: bold;
    color: #323d47;
    clear: both;
    text-indent: -3em;
    padding-left: 3em;
	margin: 5% 10% -16px 10%;
}

footer {
	padding: 20px 0 16px 0;
	display: block;
	font-size: 16px;
	letter-spacing: 1px;
	text-align: center;
	color: #323d47;
	line-height: 1.3;
	clear: both;
	background-size: 100%;
	background-color: #f4f5f8;
}

.cis{
	font-size:0.5em;
	color:#dededd;
	padding-left: 10px;
	padding-bottom: 10px;
}

/* ==懸浮按鈕=========== */
#PastLink {
	display: none;
    width: 120px;
    height: auto;
    position: fixed;
	right: 1%;
	bottom: 5%;
	z-index: 9999;    
}

#PastLink ul.PL{
    width:  100%;
    height: auto;
    display: block;
}
	
#PastLink li.PL1 a{
    display: block;
    width:  100%;
    height: 0;
	padding-bottom: 125%;
	background-size: cover;
    background-image: url("pastLink.gif");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	text-indent: -9999999px;
}

#PastLink li.PL1 a:hover{    
     transform: scale(0.95);
}




@media screen and (max-width: 736px) {
	
	html, body{
		min-width: 320px;	}
	
	body:before {
		content: "";
		background-image: inherit; 
        position: fixed; 
        right: 0;
		bottom: 0;
        -webkit-background-size: cover; 
        -moz-background-size: cover; 
        -o-background-size: cover; 
        background-size: cover;
        z-index: -1;
	}

    #TOP{ height:50px; }
	#LOGO{ width:150px; height:30px; margin-left:20px; margin-top: 10px; }
    #LOGO a{ width:150px; height:30px; margin-left:0; margin-top: 0; }
	
	#KV{
		width: 100%;
		padding-bottom: 150%;
		background-image: url("KV_m.webp");
		margin-top: 50px;
	}
	
	#title{
		width: 64%;
		padding-bottom: 49.6%;
		top: 46%;
		left: 16%;
	}
	
	.nowopen2 a{
		width: 47%;
		font-size: 1em;
		border-radius: 30px;
		border: 1px solid #4e6274;
		padding: 3% 0;
		top: 87%;
		left: 4%;
	}
	.nowopen2 a:hover{ transform: scale(1);}

	.openadd a{
		width: 44%;
		font-size: 1em;
		border-radius: 30px;		
		border: 1px solid #fff;
		background-color: rgba(89,135,188,0.5);
		padding: 3% 0;
		top: 87%;
		left: 52%;
	}
	.openadd a:hover{ transform: scale(1);}



	#BONUS1{
		display: block;
		width: 92%;
		height: 0;
		background-image: url("BONUS1_m.webp");
		padding-bottom: 93.84%;
		background-repeat: no-repeat;
		background-size:cover;
		background-position: center;
		float: none;
		margin-left: 4%;
		margin-bottom: 5%;
	}

	#BONUS2{
		display: block;
		width: 92%;
		height: 0;
		background-image: url("BONUS2_m.webp");
		padding-bottom: 144.9%;
		background-repeat: no-repeat;
		background-size:cover;
		background-position: center;
		float: none;
		margin-left: 4%;
	}

	#BONUS{
		width: 100%;
		margin: 9% auto 0% auto;
		background-color: #1ea4d8;
		padding: 10% 4%;
		overflow:hidden;
	}
	
	#BONUS3{
		display: block;
		width: 100%;
		height: 0;
		background-image: url("BONUS3_m.webp");
		padding-bottom: 175%;
		background-repeat: no-repeat;
		background-size:cover;
		background-position: center;
	}

	h1{ font-size: 1.1em; text-align: center;}
	
	h2{
		font-size: 1.2em;
		line-height: 1.6;
		color: #fff;
		background-color: #1ea4d8;
		text-align: center;
		margin-left: -2em;
		margin-right: -3%;
	}

	p{
		font-size: 1em;
		line-height: 1.6;
		margin-top: 0px;
	}
	
	p.matter{
		font-size: 1.6em;
		color: #1ea4d8;
	 }
	 
	p.PLps{
		display: block;
		font-size: 16px;
		line-height: 2;
		font-weight: bolder;
		text-align: center;
		color: #87afda;
	}

	span.small{
		font-size: 0.8em;
		line-height: 2.2;
	}
	
	a.bluelink{ color: #2bcdfc;}
	
    
	/* ==為什麼選擇元富=========== */
	#OneMillion{
		width: 100%;
		padding: 2% 5%;
		background-color:rgba(255,255,255,1);
	}

	img.OMpic1{
		margin: 12% auto 0 auto;
		width: 80%;
	}
	
	img.OMpic2{
		margin: 8% auto 0 auto;
		width: 94%;
	}

	ul#OMfour{ margin-top: 6%;}

	li.OMfour_a, .OMfour_b, .OMfour_c, .OMfour_d{
		float: none;
		width: 100%;
		padding-bottom: 30%;
		margin-top: 0%;
		margin-bottom: 1%;}
	li.OMfour_a{ background-image: url("OMfourM_a.webp");}
	li.OMfour_b{ background-image: url("OMfourM_b.webp");}
	li.OMfour_c{ background-image: url("OMfourM_c.webp");}
	li.OMfour_d{ background-image: url("OMfourM_d.webp");}

	ul#OMapp{ margin-top: 6%;}

	li.OMapp_a a, .OMapp_b a, .OMapp_c a, .OMapp_d a, .OMapp_e a{
		float: none;
		width: 100%;
		padding-bottom: 44%;
		margin-top: 0%;
		margin-bottom: 1%;}
	li.OMapp_a a{ background-image: url("OMappM_a.webp");}
	li.OMapp_b a{ background-image: url("OMappM_b.webp");}
	li.OMapp_c a{ background-image: url("OMappM_c.webp");}
	li.OMapp_d a{ background-image: url("OMappM_d.webp");}
	li.OMapp_e a{ background-image: url("OMappM_e.webp");}
	
	ul#OMapp li a:hover{ transform: scale(1);}


	/* ==注意事項=========== */	
    .precautions{
        width: 100%;
		background-color: #fff;
		padding-top: 10%;
    }

    .precautionsBOX{
        width: 100%;
		margin-top: 0%;
		margin-bottom: 0%;
		background-color:rgba(103,96,154,0);
		padding: 1% 3% 10% 0%;
        border-radius: 0;
		border: 0px;
    }


    ul#note{
        font-size: 1em;
        line-height: 1.5;		
		padding-left: 2em;
    }

    ul#note li{ margin-top: 0; }

    ul.noteS{ margin-top: 0; margin-bottom: 0; }

/* ==置底按鈕=========== */
    #PastLink {
        width: 100%;
        height: auto;
        right: 0;
        bottom: 0;
		-webkit-user-select:none;
    }

    #PastLink ul.PL{
        width:  100%;
        height: 100%;
    }

    #PastLink li.PL1 a{
        background-image: none;
        width:  100%;
        height: auto;
        padding: 7% 0 1% 0;
		text-indent: 0;
        color: #fff;
        text-decoration: none;
        text-align: center;
        font-size: 1.7em;
        line-height: 13px;
        background-color:#323d47;
		font-weight: bolder;
		}

    #PastLink li.PL1 a:hover{    
         transform: scale(1);
    }

/* ==頁尾=========== */
    #bottomINFO{
		width: 100%;
		background-color: #fff;
		margin-top: 0%;
		padding: 8% 0 1% 0;
	}
	
	#BOX{
		width: 90%;
		margin: 3% auto 15% auto;
	}
	
	#BOX span {
        display: block;
        height: 7px;
	}

	h3{
		font-size: 8vw;
		line-height: 1.2;
	}

	ul.social{
		width: 90%;
		margin: 8% auto 5% auto;
	}

	ul.social li{
		display: block;
		width: 25%;
		float: left;
		-webkit-user-select:none;
	}

	ul.social li img{
		width: 86%;
		margin-left: 7%;
	}

	ul.social li a{
		display: block;
		width: 100%;
		float: left;
		-webkit-user-select:none;
	}

	ul.social li a:hover{ transform: scale(1); }

	#warning{
		width: 94%;
		font-size: 1em;
		text-align: justify;
		text-indent: -3em;
		padding-left: 3em;
		margin: 5% auto 2% auto;
	}
    
    footer{
        padding-top: 30px;
		padding-bottom: 100px;
        max-width: 100%;
        letter-spacing: 1px;
        font-size: 15px;
        line-height: 18px;
      }

    footer span {
        display: block;
        height: 7px;
	}
	
	.cis{
		font-size:0.5em;
		color:#dededd;
		padding-left: 2%;
		padding-bottom: 0;
	}
}

