@charset "UTF-8";

header {
	height: 100% !important;
}

.logo-box {
	float: left;
	width: 20%;
	height: 95px;
	padding: 15px 0 0 70px;
}

nav {
	float: left;
	width: 78%;
	padding-right: 2%;
}

/*---上方選單---*/
.top-menu-box {
	color: #999;
	font-size: 0.9em;
	text-align: right;
	padding: 15px 0;
}
.top-menu-box a, .top-menu-box a:visited {
	display: block;
	color: #999;
	text-decoration: none;
}
.top-menu-box a:hover {
	color: #555;
}
.top-menu-box li {
	display: inline-block;
	padding-left: 2%;
}
.top-menu-box .arrow-up {
	width: 7px;
	height: auto;
	transition: .3s;
	margin-left: 5px;
}

/*---上方下拉選單---*/
.sub-dropdown-content {
	position: absolute;
	font-size: 0.9em;
	text-align: left;
    background-color: #fff;
    min-width: 100px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border: solid 1px #eee;
    z-index: 99;
}
.sub-dropdown-content li {
	display: block;
    padding: 5px 10px;
    text-decoration: none;    
}
.sub-dropdown-content li:hover {
	background: #f5f5f5;
}

/*---上方下拉選單-動作---*/
.dropdown-menu-sub span {
	cursor: pointer;
}
.dropdown-menu-sub > span:focus ~ div {
	display: block;  
}
.dropdown-menu-sub > ul {
	position: absolute;
	z-index: 999;
	visibility: hidden;
	transition: visibility 0.5s;
	opacity: 0;
}
.dropdown-menu-sub > span:focus ~ ul {
	visibility: visible;
	opacity: 1;	
}
.dropdown-menu-sub span:focus img {
	transform: rotate(180deg);
	transition: .3s;
}

/*---主選單---*/
.menu-box {	
	font-size: 1em;
	text-align: right;
}
.menu-box a, .menu-box a:visited {
	display: block;
	color: #e8ad00;
	text-decoration: none;
}
.menu-box a:hover {
	color: #be832a;
}
.menu-box li {
	display: inline-block;	
}
.menu-box .gap {
	padding-left: 8%;
}

/*---手機選單---*/
.menu_icon {
	display: none;
	position: relative;
	top: 17px;
	left: 20px;
	z-index: 99;
 	float: left;
 	cursor: pointer;
    width: 32px;
    height: 32px;
}
.menu_icon .bar {
    position: relative;
    top: 10px;
    left: 0;
    display: block;
    border-radius: 2px;
    width: 32px;
    height: 5px;
    color: #ccc;
    background-color: currentColor;
    -webkit-transition: background 300ms;
    -o-transition: background 300ms;
    transition: background 300ms;
}
.menu_icon .bar::before, .menu_icon .bar::after {
    content: "";
    position: absolute;
    left: 0;
    border-radius: 2px;
    width: 32px;
    height: 5px;
    color: inherit;
    background-color: currentColor;
    -webkit-transition-property: top, bottom, -webkit-transform;
    transition-property: top, bottom, -webkit-transform;
    -o-transition-property: transform, top, bottom;
    transition-property: transform, top, bottom;
    transition-property: transform, top, bottom, -webkit-transform;
    -webkit-transition-duration: 300ms;
    -o-transition-duration: 300ms;
    transition-duration: 300ms;
}
.menu_icon .bar::before {
    top: -10px;
}
.menu_icon .bar::after {
    bottom: -10px;
}
.is--menu_on .menu_icon .bar {
    background-color: transparent;
}
.is--menu_on .menu_icon .bar::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.is--menu_on .menu_icon .bar::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.is--menu_on .menu_wrap {
    left: 0;
    opacity: 1;
}

li.hide-lg {
		display: none;
}
 
@media only screen and (max-width: 1024px) {
	.logo-box img {
		width: 140px;
	}
	.logo-box {
		padding: 20px 0 0 50px;
	}
	.menu-box .gap {
		padding-left: 7%;
	}
}

@media only screen and (max-width: 992px) {	
	.menu-box .gap {
		padding-left: 5%;
	}
}

@media only screen and (max-width: 768px) {
	li.hide-lg {
		display: block;
	}
	li.hide-md {
		display: none;
	}
	.menu_wrap {
        position: absolute;
        left: -100%;
        top: 60px;
        z-index: 9;
        width: 100%;
		height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        overflow: hidden;
        opacity: 0;
        -webkit-transition: left 400ms cubic-bezier(0.215, 0.61, 0.355, 1), opacity 400ms;
        -o-transition: left 400ms cubic-bezier(0.215, 0.61, 0.355, 1), opacity 400ms;
        transition: left 400ms cubic-bezier(0.215, 0.61, 0.355, 1), opacity 400ms;
    }
	.logo-box {
		float: none;
		width: 100%;
		height: 60px;
		text-align: center;
		padding: 8px 20px;
	}
	.logo-box img {
		width: auto;
		height: 45px;
	}	
	.top-menu-box {
		font-size: 1em;
		text-align: left;
		padding-left: 10px;
	}
	.menu-box {	
		position: absolute;
		top: 55px;
		left: 0;
		width: 100%;
		font-size: 1.15em;
		text-align: left;
		z-index: 9;
		padding: 0 20px;
	}
	.menu-box li {
		display: block;	
		border-top: solid 1px #ddd;
		padding: 15px 0;
	}
	.menu-box .gap {
		padding-left: 0;
	}
	.menu_icon {
		display: block;
	}
	.link-dark a, .link-dark a:visited {
		color: #000;
	}
	.link-dark a:hover {
		color: #999;
	}
}

/*-------------Banner-------------*/
.bn-box {
	max-width: 1280px;
	margin: 15px auto 60px;
}

.bn-01, .bn-02, .bn-03 {
	float: left;
}
.bn-04 {
	float: right;
}
.bn-01, .bn-02, .bn-03 {
	margin-right: 2%;
}

.col-bn {	
	position: relative;
	width: 23.5%;
	overflow: hidden;
}
.col-bn img {
	width: 100%;
	transform: scale(1,1);
	transition: all 0.3s ease-out;
}
.col-bn a:hover img {
	transform: scale(1.1,1.1);
}
.col-bn .mask {	
	position: absolute;
	top: 0;
	left: 0;	
	z-index: 1;
	width: 100%;
	height: 100%;
	color: #fff;
	font-size: 26px;
	text-align: center;
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
    opacity: 0;
    background-color: rgba(0,0,0, 0.5);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.col-bn:hover .mask {
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}
.col-bn .mask::before{
	content: '';
    width: 0;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}
.col-bn .mask span {
	display: inline-block;
    vertical-align: middle;
}

@media (max-width: 992px) {
	.bn-box {
		width: 90%;
	}
	.col-bn {
		width: 48%;
	}
	.bn-01, .bn-03 {
		float: left;
	}
	.bn-02, .bn-04 {
		float: right;
	}
	.bn-01, .bn-02, .bn-03 {
		margin-right: 0;
	}
	.bn-01, .bn-02 {
		margin-bottom: 4%;
	}
}

.soical-box {
	width: 100%;
	text-align: center;	
}
.soical-box a {
	margin: 0 5px;
	transition: .3s;
}
.soical-box a:hover {
	filter: opacity(.7);
	-webkit-filter: opacity(.7);	
}

footer {
	width: 100%;
	color: #999;
	font-size: 0.6em;
	text-align: center;
	padding: 30px 0; 
	margin: 0 auto;
}
