
@import url("https://fonts.googleapis.com/css?family=Poppins:wght@300&display=swap");

/* reset --------------- */

@import url("https://fonts.googleapis.com/css?family=Poppins&display=swap");
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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, img { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after { content: ""; content: none; }
q:before, q:after { content: ""; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
:focus { outline: none; }
img { -moz-user-select: -moz-none; -ms-user-select: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }



/* style ---------------- */

body {
  font-family: 'Poppins','微軟正黑體', 'Microsoft JhengHei', Helvetica, sans-serif;
  font-size: 0.85em;
  letter-spacing: 0.1em;
  color: #333;
  background-color: #fbfbfb;
}

a {
  text-decoration: none;
  color: #333;
}

::selection {
  color: #fff;
  background: #a30808;
}

::-moz-selection {
  color: #fff;
  background: #a30808;
}

.wrapper {
  overflow: hidden;
}

.inner{
	width: 90%;
	max-width: 1100px;
	margin: auto;
}

.title_b{
	position: relative;
	display: inline-block;
	font-size: 2.4em;
	font-weight: 600;
	line-height: 0.5em;
}

.title_b:after{
	content: '';
	width: 100%;
	height: 1px;
	background-color: #999;
	display: inline-block;
	font-size: 2.4em;
	font-weight: 600;
}

.title_s{
	font-size: 1.5em;
	color: #a30808;
	margin-top: 5px;
}


/* kv ------------------- */

.kv{
	position: relative;
	width: 100vw;
	height: calc(100vw * 1080 / 1920);
	overflow: hidden;
}

.kv_text,
.kv_slogn,
.kv_logo,
.kv_phone,
.kv_bg{
	position: absolute;
}

.kv_text{
	color: #fff;
	font-size: 1.3em;
	top: 10%;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	-o-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	z-index: 1;
}

.kv_text_b{
	font-size: 3vw;
	font-weight: 600;
	text-align: center;
	margin-bottom: 10px;
}

.kv_slogn{
	width: 40%;
	top: 15%;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	-o-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	z-index: 1;
}

.kv_logo{
	width: 100%;
	left: 0;
	bottom: -6%;
	z-index: 2;
}

.kv_phone{
	width: 100%;
	left: 0;
	bottom: -6%;
	z-index: 1;
}

.kv_bg{
	width: 100%;
	background-size: cover;
	background-position: center;
	z-index: 0;
}



/* web ------------------ */

.web{
	padding: 120px 0;
}

.web_box{
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row-reverse;; 
}

.web_pic{
	width: 55%;
	position: relative;
	z-index: 2;
}

.web_pic img{
	width: 100%;
}

.web .title_b:before{
	content: '';
	width: 100%;
	height: 1px;
	background-color: #999;
	position: absolute;
	left: -100%;
	bottom: 0;
	font-size: 2.4em;
	font-weight: 600;
}

.web_pic video{
	width: 91%;
	position: absolute;
	top: 5.7%;
	left: 3.2%;
	z-index: 2;
}

/*.web_text{
	width: 40%;
}*/

.web_textin{
	font-size: 1.2em;
	margin-top: 50px;
}

.web_box2{
	display: flex;
	align-items: center;
	justify-content: space-between;
	
}

.web_layout{
	width: 33%;
	margin-top: 50px;
}

.web_layout img{
	width: 100%;
}

.web_layout .p_mb{
	display: none;
}

.web_pname{
	display: block;
	width: 150px;
	font-size: 1.2em;
	color: #fff;
	text-align: center;
	background-color: #000;
	padding: 5px;
	margin: 10px auto 0;
}

/* social ------------------ */

.social{
	background-color: #fff;
	padding: 120px 0 100px;
}

.social_box{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.social_pic{
	width: 40%;
	z-index: 2;
}

.social_pic img{
	width: 100%;
}

.social .title_b:before{
	content: '';
	width: 230%;
	height: 1px;
	background-color: #999;
	position: absolute;
	right: -230%;
	bottom: 0;
	font-size: 2.4em;
	font-weight: 600;
}

/*.social_text{
	width: 40%;
}*/

.social_textin{
	font-size: 1.2em;
	margin-top: 50px;
}

.social_ibox{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 50px;
}

.social_circle{
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #a30808;
	border-radius: 50%;
	margin-right: 20px;
}

.social_circle img{
	width: 50px;
	margin: auto;

}

.social_itext{
	font-size: 1.2em;
	margin-top: 10px;
}

.social_fbox{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 50px;
}

.social_fb{
	width: 30%;
}

.social_fb iframe{
	width: 100%;
	max-height: calc(1000px / 3);
	height: calc(90vw * 0.3);
	background-color: #fff;
}


/* animation ------------------ */

.kv_text_m {
  opacity: 0;
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
  -moz-transition: -moz-transform 0.5s, opacity 1s;
  -o-transition: -o-transform 0.5s, opacity 1s;
  -webkit-transition: -webkit-transform 0.5s, opacity 1s;
  transition: transform 0.5s, opacity 1s;
}
.kv_text_m.show {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}

.kv_logo {
  opacity: 0;
  -moz-transition: opacity 0.5s 1.5s;
  -o-transition: opacity 0.5s 1.5s;
  -webkit-transition: opacity 0.5s 1.5s;
  transition: opacity 0.5s 1.5s;
}
.kv_logo.show {
  opacity: 1;
}

.kv_phone{
  opacity: 0;
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
  -moz-transition: -moz-transform 0.5s 1s, opacity .5s 1s;
  -o-transition: -o-transform 0.5s 1s, opacity .5s 1s;
  -webkit-transition: -webkit-transform 0.5s 1s, opacity .5s 1s;
  transition: transform 0.5s 1s, opacity .5s 1s;
}
.kv_phone.show {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}

.mp {
  opacity: 0;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  -moz-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}
.mp.show {
  opacity: 1;
}

.mtp {
  opacity: 0;
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
  -moz-transition: -moz-transform 0.5s, opacity 0.5s;
  -o-transition: -o-transform 0.5s, opacity 0.5s;
  -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
  transition: transform 0.5s, opacity 0.5s;
}
.mtp.show {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}


@media screen and (max-width: 1400px) {
	.kv_text{
		width: 450px;
	}
}




@media screen and (max-width: 1100px) {
	.kv_text_b{
		font-size: 2.4em;
	}
}

@media screen and (max-width: 900px) {
	.kv_text{
		width: 410px;
		font-size: 1.2em;
	}

	.kv_text_b{
		font-size: 4vw;
	}


}

@media screen and (max-width: 768px) {
	.pc_block{
		display: none;
	}

	.kv_text{
		width: 60%;
	}

	.kv_text_b{
		width: 100%;
		font-size: 2em;
	}

	.kv{
		height: 100vw;
	}

	.kv_logo{
		bottom: 0;
	}

	.kv_phone{
		bottom: 0;
	}

	.kv_bg{
		width: none;
		height: 100%;
		background-size: cover;
		background-position: center;
		z-index: 0;
	}

	.web{
		padding: 80px 0;
	}

	.web_box{
		display: block;
	}

	.web_text{
		width: 100%;
		margin: 0 auto 30px;
	}

	.web_pname{
		width: 100%;
		box-sizing: border-box;
		margin-top: 10px;

	}

	.title_b{
		width: 100%;
	}

	.web .title_b:before{
		content: none;
	}

	.web_textin{
		margin-top: 30px;
	}

	.web_pic{
		width: 100%;
		margin: auto;
	}

	.web_box2{
		display: block;
	}

	.web_layout{
		width: 100%;
	}

	.web_layout .p_pc{
		display: none;
	}

	.web_layout .p_mb{
		display: block;
	}

	.social{
		padding: 80px 0 30px;
	}

	.social .title_b:before{
		content: none;
	}

	.social_textin{
		margin-top: 30px;
	}

	.social_ibox{
		margin-top: 30px;
	}
	


  	
}



@media screen and (max-width: 640px) {
	.kv_text{
		width: 90%;
		font-size: 1.1em;
	}

	.kv_text_b{
		text-align: left;
	}

	.social_pic{
		display: none;
	}

	.social_box{
		display: block;
	}

	.social_text{
		width: 100%;
		margin: 0 auto 30px;
	}

	.social_fbox{
		display: block;
	}

	.social_fb{
		max-width: 500px;
		width: 100%;
		margin: 0 auto 20px;
	}

	.social_fb iframe{
		width: 100%;
		max-height: 500px;
		height: 90vw;
		background-color: #fff;
	}

}
