@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@charset "UTF-8";

*{
	margin: 0;
	padding: 0;
	border:0;
	outline:0;
	box-sizing: border-box;
}

html {
  line-height: 1.25; 
  -webkit-text-size-adjust: 100%; 
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

b,
strong {
  font-weight: bolder;
}


small {
  font-size: 80%;
}


sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

main {
  display: block;
}

hr {
  box-sizing: content-box; 
  height: 0; 
  overflow: visible;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.25;
}

button,
input {
  overflow: visible;
  text-transform: none;
}


button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
}

a{
	outline: 0;
	border: 0;
	text-decoration: none;
	color: inherit;
}

a.btn_uderline{
	text-decoration: underline;
}


img{
	vertical-align: middle;
}

.small{
	font-size: 0.6em;
	vertical-align: super;
}


html,body{
	font-family: "Roboto", "Microsoft JhengHei", "微軟正黑", sans-serif;
}

.header_nav{
	position: absolute;
	top: 0;
/*	position: fixed;*/
	z-index: 999;
	box-sizing: border-box;
	margin: auto;
    padding: 0.75em 0.95em;
	width: 100%;
	background: rgba(0,0,0,0);
	transition: .4s;
}

.header_nav .nav_wrap{
	display: flex;
  display: -ms-flexbox;
  flex-wrap: wrap;
	justify-content:space-between;
	align-items:center;
}

.header_nav a.logo{
	transform: scale(1);
	transform-origin: center;
	transition: .4s;
}

.header_nav a.logo img{
	display: block;
	width: 100%;
	height: auto;
}

.header_nav a.logo_main{
	width: 31vw;
	max-width: 182px;
	/* min-width: 199px; */
	transform-origin: left;
}

.header_nav a.logo_subs{
	width: 17vw;
	max-width: 97.7px;
    /* min-width: 103px; */
    transform-origin: right;
}

.header_nav.is-active{
	position: fixed;
	top: 0;
	padding: 1em 1.8em;
	z-index: 999;
	background: rgba(0,0,0,1);
	transition: .4s;
}

.header_nav.is-active a.logo{
	transform: scale(0.9);
	transition: .4s;
}

footer{
	background: #444;
	font-size: 3.65vw;
	line-height: 1.8;
	letter-spacing: 0.05em;
	color:#fff;
}

footer p{
	font-weight: 400;
}

footer a{
	color:#fff;
	display: inline-block;
}

footer a:hover {
  color: #aaa;
}

footer .footer_wrap{
	margin: auto;
	padding: 3.6em 1.6em;
	max-width: 1600px;
}

footer .container{
	padding: 3em 0;
}

footer .wrap_head{
	display: flex;
  display: -ms-flexbox;
  flex-wrap: wrap;
	align-items: flex-start;
	justify-content:space-between;
	flex-direction:column;
}

footer .contact_content p{
	line-height: 1.5;
	text-align: left;
}

footer .contact{
	display: flex;
	display: -ms-flexbox;
	align-items: center;
	flex-wrap: wrap;
	line-height: 1.8;
}

footer .btn_content{
	display: flex;
	display: -ms-flexbox;
	flex-wrap: wrap;
	justify-content:flex-start;
}

footer .btn {
	margin-right: 5%;
	margin-top: 4%;
	width: 15%;
}

footer .btn img{
	width: 100%;
	height: auto;
}

footer .contact::before{
	display: none;
	content:"";
	margin-right: 1em;
	padding-bottom: 3.897637em;
	width: 3.5em;
	height: 0;
	background: url(../images/icon_phone.png) no-repeat left center;
	background-size: contain;
}

footer p.copyright{
	margin: 30px 0 0 0;
	font-size: 0.75em;
	line-height: 1.8;
	font-weight: normal;
	text-align: justify;
}
.btn_top{
	position: fixed;
	right: 0;
	bottom: 0;
	display: none;
}

.btn_top.is-active{
	display: block;
}

/* .lightbox{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
	height: 100%;
	width: 100%;
	z-index: 1001;
	background: rgba(0, 0, 0, 0.8);
}

.lightbox.is-active{
	display: flex;
	display: -ms-flexbox;
	flex-wrap: wrap;
}

.box_modal{
	position: absolute;
	height: 95%;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	justify-content: center;
	align-items: center;
	display: none;
	margin: auto;
	width: 95%;
	background: #fff;
	box-sizing: border-box;
}

.modal_info{
	overflow-y: auto;
	overflow-x: hidden;
}

.box_modal.is-active{
	display: flex;
}

.box_modal .btn_close{
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1002;
	width: 2em;
	min-width: 35px;
	height: 2em;
	min-height: 35px;
	box-sizing: border-box;
	color: transparent;
}

.box_modal .btn_close::before,.box_modal .btn_close::after{
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	display: block;
	content:"";
	width: 55%;
	height: 55%;
	margin: auto;
	z-index: 9;
	border-top: 2px solid #80C7FB;
	transform-origin: center;
}


.box_modal .btn_close::before{
	transform: rotate(45deg) translate(0 ,45%);
	
}
.box_modal .btn_close::after{
	transform: rotate(-45deg) translate(0 ,45%);
}


.box_modal .modal_content img{
	display: block;
	width: 100%;
	height: auto;
}

.box_modal .modal_media::before{
	content: "";
	display: block;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}

.box_modal .media_item{
	position: relative;
}

.box_modal .modal_media iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.box_modal .media_item::before {
	content: "";
	display: block;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}

.box_modal .media_item iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
} */

@media screen and (max-width:768px){
	.header_nav{
		padding: 4.5vw;
	}
}

@media screen and (min-width:768px){
	.header_nav{
		padding: 3.5vw;
	}

	footer{
		font-size: 1.4vw;
	}
	footer .footer_wrap{
		padding: 2.5em 4.5em;
	}	
	footer .contact::before{
		display: block;
	}
	footer .wrap_head{
		flex-direction:row;
		align-items: center;
	}
	footer .btn_content{
		justify-content:flex-end;
	}

	footer .btn {
		margin-left: 5%;
		margin-right: 0;
		margin-top: 0;
		width: 16.5%;
		max-width: 100px;
	}
}
@media screen and (min-width:991px){
	footer{
		font-size: 1.2vw;
	}
	.header_nav{
		padding: 1.5vw 2.3vw 0;
	}
	.header_nav.is-active a.logo{
		transform: scale(0.8);
	}
	.header_nav a.logo_main{
		max-width: 176.89px;
	}

	.header_nav a.logo_subs{
		max-width: 95px;
	}

}

@media screen and (min-width:1200px){
	footer{
		font-size: 1.15vw;
	}
	.box_modal{
		width: 80%;
		height: max-content;
	}
}

@media screen and (min-width:1600px){
	html,body{
		font-size: 1.1vw;
	}

	footer .container {
    width: 79%;
	}

	.header_nav a.logo_main{
		max-width: 15.7vw;
	}

	.header_nav a.logo_subs{
		max-width: 7vw;
	}
	.box_modal .btn_close::before,.box_modal .btn_close::after{
		border-width: 3px;
	}
}





