﻿
/************************************************************************************
RESET
*************************************************************************************/
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    /*vertical-align: baseline;*/
    background: transparent;
}
body {line-height: 1; -webkit-text-size-adjust: none;}
ol, ul { list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,q:before, q:after {content: ''; content: none;}
/* remember to define focus styles! */
:focus {outline: 0;}
/* remember to highlight inserts somehow! */
ins {text-decoration: none;}
del {text-decoration: line-through;}
/* tables still need 'cellspacing="0"' in the markup */
table {
   /* border-collapse: collapse;*/
    border-spacing: 0;
}
a img {border: none;}
img {max-width: 100%;image-rendering: -webkit-optimize-contrast;}
.clean { clear:both;}
a {color: #333333; text-decoration: none; blr:expression(this.onFocus=this.blur()); outline: none; /* for Firefox */hlbr:expression(this.onFocus=this.blur()); /* for IE */}
a:hover {text-decoration:none;-webkit-transition: all 0.3s;-moz-transition: all 0.3s;transition: all 0.3s;}
a:focus{ -moz-outline-style: none;}
picture{margin: 0; padding: 0;}
/*.b-box{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}*/

body {
	margin: 0;
	padding: 0;
	font-size:15px;
	overflow-x: hidden;
}
figure{margin: 0; padding: ;}

/*wow*/
.wow:first-child {
visibility: hidden;
visibility:visible \9;
}
*{box-sizing: border-box;}
html {
    scroll-behavior: auto !important; /* 禁止瀏覽器自動捲動 */
}
/*PC
-----------------------------------------------------------------*/

/*主框架*/
.container {
	width:100%;
	margin: auto;
	font-family: Verdana, 'Noto Sans TC';
}

.block-center {
	width: 100%;
    max-width: 1500px;
    margin: auto;
    clear: both;
    position: relative;
    padding: 6rem 0 4rem;
}
.block-main {
	width: 100%;
	clear: both;
	text-align: center;
}
header h1 {
    text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    width: 100%;
}
.main-banner{
	min-height: 770px;
	background-image: url('../images/head_bg.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}
.main-title,.friends{
	position: absolute;
	left: 0;
	right:0;
	margin: 0 auto;
	text-align: center;
}
.main-title{
	width: 707px;
	top:120px;
	z-index: 0;
}
.friends{
	width: 744px;
	top:404px;
	z-index: 1;
}
.main-mobile ,.main-mobile-phone {
	display: none;
	line-height: 0;
}

/*主選單*/
#navbar {
	width: 100%;
    clear: both;
    background: #fc4c02;
	border-top: 2px solid #12191c;
	border-bottom:  2px solid #12191c;
}
 #navbar.sticky {
    position: fixed;
    top: 40px; /* 依照你的需求固定在 40px */
    left: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	z-index: 10;
}
#navbar ul {
	width: 100%;
    clear: both;
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#navbar ul{
	width: 960px;
	height:auto;
	margin: 0 auto;
	display: flex;
	flex-wrap: nowrap;
}
#navbar ul>li{
	display: block;
}
#navbar ul>li>a{
	display: block;
    padding: 1.2rem 2rem;
    font-size: 1.7rem;
	font-weight: 900;
    color: #ffc600;
    letter-spacing: 1px;
    transition: all 0.3s linear;
}
#navbar ul>li>a:hover{
	background-color: #ffc600;
	color: #12191c;
}
#navbar a.active{
	background-color: #ffc600;
	color: #12191c;
}
/*內容區*/
#ONSALE,#FLASHSALE,#BOX3{
	background-position: center top;
	background-size:100%;
	background-repeat: repeat-y;
}
#ONSALE{background-image: url(../images/bg01.jpg);}
#FLASHSALE{background-image: url(../images/bg02.jpg);}
#BOX3{background-image: url(../images/bg03.jpg);}
.title_wraper{
	text-align: center;
	/*margin-bottom: 2rem;*/
}
/*.intro-content{
    margin: 0 auto 4rem;
    width: 75%;
    padding: 2rem;
    font-size: 22px;
    background: #fffad7;
    text-align: center;
    border-radius: 1rem;
}*/
.intro-content {
    margin: 0 auto 4rem;
    width: 75%;
    padding: 1rem;
    font-size: 22px;
    background: #c9191c;
    text-align: center;
    border-radius: 1rem;
}
.intro-content h2{
	line-height: 1.5;
}
.intro-inner {
    padding: 2rem 0;
    margin: 0px auto 2rem;
    width: 75%;
    text-align: center;
    font-size: 22px;
}
h2 {
    font-weight: 500;
    line-height: 1.4;
}
.white{color: white;}
.main_wraper{margin-bottom: 2rem;}
a.sale_wraper,a.product_wraper{
	display: block;
	background-color: white;
	border:2px solid #12191c;
	padding: 1rem;
	transition: all 0.3s linear;
}
a.sale_wraper{
	display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
}
.b_poster,.v_poster{
    position: relative;
}
.b_location_o,.location_o,.b_location_r,.location_r{
	color: white;
    display: inline-block;
    position: absolute;
	border-bottom-right-radius: 1rem;
}
.b_location_o,.location_o{background-color: #fc4c02;}
.b_location_r,.location_r{background-color: #ff4a8c;}

.b_location_o,.b_location_r {
    font-size: 1.2rem;
	padding: 0.5rem 1rem;
}
.location_o,.location_r{
	font-size: 1.2rem;
	padding: 0.5rem 1rem;

}
h3[class*="sale_h3"]{
	color: #12191c;
	font-weight: 700;
	font-size: 24px;
	letter-spacing: 1px;
	margin-bottom: 1rem;
}
h3.sale_h3_b {
    font-size: 30px;
    line-height: 1.2;
}
.inner {
    display: grid;
    min-height: 500px;
    padding: 1.5rem;
    width: calc(100% - 830px);
    align-content: space-around;
}
ul.b_sale_list {
    line-height: 2;
    font-size: 18px;
    letter-spacing: 1px;
    color: #565a5c;
}
i.big_i_b,i.i_b,i.big_i_g,i.i_g{
	margin-right: 0.5rem;
	font-style: normal;
}
i.big_i_b,i.i_b{color:#00a3e0;}
i.big_i_g,i.i_g{color:#3bc2a4;}

.price_wraper{text-align: right;}
.b_price{
	color: #d6001c;
	font-weight: 500;
}
span.price_big{
	font-size: 50px;
	font-weight: 700;
}
a.sale_wraper:hover,a.product_wraper:hover{
	background-color: #fbf7e8;
	transform: translateY(5px);
	border:2px solid #d6001c;
}
.sec_wraper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: row;
}
a.product_wraper{
	width: calc(100% / 3 - 1rem);
    margin-bottom: 2rem;
    margin-right: 1.5rem;
}
a.product_wraper:nth-child(3n){
	margin-right: 0;
}
.sale_h3{
	margin-top: 1rem;
	line-height: 1.3;
}
ul.sale_list {
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.product_inner {
    display: grid;
    align-content: space-between;
	min-height: 195px;
}
.price{
	font-size: 30px;
	font-weight: 700;
}
#back-top {
    left: unset !important;
    right: 1.5% !important;
    margin-left: 0 !important;
}

/*中間調度區
-----------------------------------------------------------------*/
@media screen and (max-width: 1600px) {
	#ONSALE,#FLASHSALE{
		background-size:cover;
	}
	
}
@media screen and (max-width: 1500px) {
	.block-center {
		width: 95%;
		margin: 0 auto;
		padding: 4rem 1rem;
	}
	ul.b_sale_list {
		line-height: 1.5;
		letter-spacing: 0;
	}
	.inner {
		width: 100%;
		min-height: auto;
		padding: 1rem;
	}
	.product_inner {
		min-height: 220px;
	}
	
}
@media screen and (max-width: 1300px) {
	h3[class*="sale_h3"] {
		font-size: 20px;
	}
}
@media screen and (max-width: 1060px) {
	html,
    body {
        width: 100%;
        min-height: 100%;
	}

}
@media screen and (max-width: 960px) {
	
	.all-menu ul.first_nav {
		width: 100%;
	}
	.all-menu ul.first_nav>li>a {
		padding: 1.2rem 1rem;
	}
	a.sale_wraper {
		flex-wrap: wrap;
	}
	a.product_wraper {
		width: calc(100% / 2 - 0.5rem);
		margin-bottom: 2rem;
		margin-right:0;
	}
	.sec_wraper {
		justify-content: space-between;
	}
	a.product_wraper:nth-child(3n){
		margin-right: 0;
	}
	h3.sale_h3_b {
		font-size: 24px;
	}
	
}

/*平板
-----------------------------------------------------------------*/

@media screen and (max-width: 768px) {
	#navbar{
		display: none;
	}
	.main-mobile {
		display: block;
	}

	.block-main {
		display: none;
	}
	
	.all-menu {
		display: none;
	}
	ul.sale_list {
		letter-spacing: 0;
	}
	
	ul.b_sale_list {
		font-size: 15px
	}
	span.price_big {
		font-size: 40px;
	}
	
	
}

	
/*中間調度區
-----------------------------------------------------------------*/
@media (max-width:600px) {

	.main-mobile {
		display: none;
	}

	.main-mobile-phone {
		display: block;
	}
	a.sale_wraper, a.product_wraper{
		padding: 0.75rem;
	}
	
	span.price_big {
		font-size: 30px;
	}
	.inner{padding: 1rem 0;}
	a.product_wraper {
		width: 100%;
	}
	.product_inner {
		min-height: auto;
	}
	#back-top {
		display: none !important;
	}
	.intro-content {
		width: 100%;
        margin: 0 auto 2rem;
        padding: 1rem;
        font-size: 16px;
        text-align: left;
    }
	.intro-inner {
		padding: 1rem 0;
		margin: 0px auto 1rem;
		width: 100%;
		text-align: center;
		font-size: 16px;
		color: white;
		line-height: 1.3;
		text-align: left;
	}
}
@media (max-width:500px) {
	h3.sale_h3_b,h3.sale_h3 {
		font-size: 20px;
	}
	
}

/*手機
-----------------------------------------------------------------*/

@media (max-width: 480px) {
	

}

@media (max-width: 320px) {
	
}