/* 縮小失敗。正在傳回未縮小的內容。
(317,51): run-time error CSS1038: Expected hex color, found '#fff0'
(317,56): run-time error CSS1019: Unexpected token, found ' '
(317,56): run-time error CSS1042: Expected function, found ' '
(317,56): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(534,20): run-time error CSS1038: Expected hex color, found '#aaaa'
(559,21): run-time error CSS1038: Expected hex color, found '#fff5'
(566,21): run-time error CSS1038: Expected hex color, found '#fffa'
 */
/* CSS Document */

/* main */
.highspeed {
	display: block;
	width: 100%;
	margin-top: 100px;
}

.menu-box *, .stroke-box *, .switch-panel * {
	position: relative;
	list-style: none;
	text-decoration: none;
	box-sizing: border-box;
	transition: 0.2s linear;
}

.highspeed img {
	width: 100%;
}


/* aside */
.aside {
	position: fixed;
	top: 100px;
	left: 0;
	display: block;
	background-color: #fff;
	width: 20%;
	max-width: 400px;
	min-width: 320px;
	height: calc(100vh - 100px);
	padding: 0px 4px 40px 46px;
	overflow: hidden;
}

	.aside.ending {
		position: absolute;
		top: unset;
		bottom: 0;
	}

	.aside .logo {
		background-color: #fff;
		margin: 40px 24px;
		z-index: 200;
	}

		.aside .logo.mobile {
			display: none;
		}

		.aside .logo img {
			width: auto;
		}


/* mobile nav-burger */
#m_nav {
	position: absolute;
	visibility: hidden;
	z-index: -1000;
}

.nav-burger {
	position: fixed;
	top: 80px;
	right: 24px;
	display: none;
	justify-content: center;
	align-items: center;
	padding: 20px 8px;
	cursor: pointer;
	z-index: 200;
	transition: 0.3s;
}

	.nav-burger span, .nav-burger span:before, .nav-burger span:after {
		position: absolute;
		display: block;
		width: 36px;
		height: 3px;
		background-color: #1e2777;
		transition: 0.3s;
	}

	.nav-burger span {
		position: relative;
	}

		.nav-burger span:before {
			content: "";
			bottom: 12px;
		}

		.nav-burger span:after {
			content: "";
			top: 12px;
		}

#m_nav:checked ~ .nav-burger span {
	background-color: transparent;
}

	#m_nav:checked ~ .nav-burger span:before {
		bottom: 0;
		transform: rotate(45deg);
	}

	#m_nav:checked ~ .nav-burger span:after {
		top: 0;
		transform: rotate(-45deg);
	}

/* nav */
.nav {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	height: calc(100vh - 300px);
	margin: 20px 0;
	padding: 0;
	overflow-y: auto;
	scrollbar-width: none;
}

	.nav .part {
		display: block;
	}

		.nav .part .title {
			display: flex;
			align-items: center;
			color: #333;
			font-size: 20px;
			cursor: default;
		}

			.nav .part .title:before {
				content: "◆";
				display: inline-block;
				margin-right: 12px;
				font-size: 0.75em;
			}

		.nav .part .list {
			display: block;
			margin: 20px 0 20px 40px;
			padding: 0 16px 24px;
			border-left: 1px solid #eb6100;
		}

	.nav .li-item {
		display: block;
		margin: 4px;
	}

		.nav .li-item a {
			display: inline-block;
			padding: 8px 0;
			color: #333;
			font-size: 16px;
		}

			.nav .li-item a:hover, .li-item.active a {
				color: #eb6100;
			}

/* content */
.content {
	right: 0;
	display: block;
	width: 80%;
	max-width: calc(100% - 320px);
	min-width: calc(100% - 400px);
	margin: 0 0 0 auto;
	overflow: hidden;
}

.banner {
	display: block;
	width: 100%;
}

	.banner .swiper-wrapper {
		height: auto;
	}

.bn-img {
	background-position: center;
	background-size: cover;
	height: auto;
	padding-bottom: 44.79%;
	outline: unset;
}

/* menu-box */
.menu-box {
	background-color: #fff;
}

	.menu-box ul {
		display: flex;
		flex-wrap: wrap;
	}

	.menu-box .li-item a {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 8px;
		font-size: 18px;
		color: #333;
		text-align: center;
	}

	.menu-box .main-list {
		padding: 8px 0;
	}

.main-list .li-item {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 8px;
}

	.main-list .li-item a {
		background-color: #fff;
		width: 112px;
		height: 66px;
		border: 1px solid #333;
		border-radius: 4px;
	}

	.main-list .li-item:hover a, .main-list .li-item.active a {
		background: linear-gradient(0deg, #db5b01, #fd7901);
		color: #fff;
		border: 1px solid #fd7901;
	}

.menu-box .sec-list {
	background-color: #eee;
	margin: 0 0 0 8px;
}

.sec-list .li-item {
	display: inline-block;
}

	.sec-list .li-item a {
		display: block;
		width: 116px;
		margin: 0 1px 0 0;
		padding: 12px 12px 12px 32px;
		text-overflow: ellipsis;
		text-align-last: justify;
		white-space: nowrap;
		overflow: hidden;
	}

		.sec-list .li-item a:before {
			position: absolute;
			top: 50%;
			left: 16px;
			content: "";
			display: block;
			background-color: #eb6100;
			width: 4px;
			height: 20px;
			transform: translateY(-50%);
		}

	.sec-list .li-item:hover a, .sec-list .li-item.active a {
		background-color: #d2d2d2;
	}

.sec-list.fixed-top {
	position: fixed;
	top: 100px;
	right: 0;
	width: calc(80%);
	max-width: calc(100% - 328px);
	min-width: calc(100% - 408px);
	box-shadow: 4px 2px 8px rgba(0,0,0,0.2);
	z-index: 50;
}

/* stroke box */
.stroke-box {
	margin: 40px 0;
}

	.stroke-box .subject {
		width: 100%;
		padding: 8px;
	}

.subject:before {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-right: 12px;
	border-style: solid;
	border-color: transparent transparent transparent #eb6100;
	border-width: 8px 0 8px 8px;
	vertical-align: text-top;
}

.subject .title {
	display: inline-block;
	margin: 8px 0;
	color: #eb6100;
	font-size: 36px;
	-webkit-box-reflect: below -12px linear-gradient(#fff0 25%, #fff3 100%);
}

.subject .slogn {
	margin: 8px 0 8px 24px;
	color: #7e7d7d;
	font-size: 17px;
}

.stroke-group {
	margin: 40px 0;
}

	.stroke-group .anchor {
		position: absolute;
		top: -80px;
	}

	.stroke-group .group-title {
		background-color: #eee;
		margin: 8px 0 8px 8px;
		padding: 12px 16px;
		color: #eb6100;
		font-size: 20px;
	}

.stroke-list {
	display: block;
}

.list-wrap {
	display: grid;
	grid-template-columns: repeat(2, minmax(auto, 1fr));
	grid-gap: 16px;
	margin: 16px 8px;
}

.stroke {
	display: block;
	background-color: #fff;
	font-size: 16px;
	border-bottom: 1px dotted #b4b5b5;
	overflow: hidden;
}

	.stroke:hover {
		background-color: #f9f9f9;
	}

	.stroke .pic {
		display: none;
		width: 100%;
		height: 200px;
		overflow: hidden;
	}

	.stroke .cover-img {
		display: block;
		background-position: center;
		background-size: cover;
		width: 100%;
		height: 100%;
		transition: 3s ease-in;
	}

	.stroke:hover .cover-img {
		transform: scale(1.05);
		transition: 6s ease-out;
	}

	.stroke .title {
		margin: 16px 7em 16px 16px;
		color: #333;
		line-height: 1.5em;
		text-align: justify;
		text-overflow: ellipsis;
		overflow: hidden;
	}

	.stroke .price {
		position: absolute;
		top: 0;
		right: 0;
		margin: 0 16px;
		padding: 16px 0;
		color: #eb6100;
		text-align: right;
	}


/* switch 圖文切換 */
#chkbox_switch {
	position: absolute;
	visibility: hidden;
	z-index: -1000;
}

.switch-panel {
	position: relative;
	display: flex;
	align-items: center;
}

.aside .switch-panel {
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: #fff;
	width: 100%;
	padding: 20px 64px 60px;
}

.content .switch-panel {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: none;
	justify-content: flex-end;
	margin: 24px 8px 0;
	text-align: right;
}

.switch-panel .text {
	display: inline-block;
	color: #333;
	font-size: 16px;
	cursor: default;
}

.text.sw-text {
	color: #eb6100;
}

.switch-chkbox {
	display: inline-block;
	background-color: #fe7d30;
	width: 48px;
	height: 20px;
	margin: 0 12px;
	border-radius: 12px;
	cursor: pointer;
}

	.switch-chkbox:before {
		position: absolute;
		top: 50%;
		left: 28px;
		content: "";
		display: block;
		background-color: #f9f9f9;
		width: 24px;
		height: 24px;
		border-radius: 50%;
		box-shadow: 0 2px 3px rgba(0,0,0,0.3);
		transform: translateY(-50%);
		transition: 0.2s ease;
	}

	.switch-chkbox:active:before {
		box-shadow: 0 2px 6px rgba(0,0,0,0.5);
		transform: scale(1.2) translateY(-50%);
	}

/* 圖文切換開關 */
#chkbox_switch:checked ~ section .text.sw-text {
	color: #333;
}

#chkbox_switch:checked ~ section .text.sw-pic {
	color: #eb6100;
}

#chkbox_switch:checked ~ section .switch-chkbox:before {
	left: -4px;
	transition: 0.2s ease;
}

/* 圖文切換 */
#chkbox_switch:checked ~ section .list-wrap {
	grid-template-columns: repeat(5, minmax(auto, 1fr));
}

#chkbox_switch:checked ~ section .stroke {
	background-color: #f3f3f3;
	border-bottom: unset;
	border-radius: 8px;
}

	#chkbox_switch:checked ~ section .stroke:hover {
		box-shadow: 0 1px 8px 1px rgba(0,0,0,0.2);
		transform: scale(1.02);
	}

	#chkbox_switch:checked ~ section .stroke .pic {
		display: block;
	}

	#chkbox_switch:checked ~ section .stroke .title {
		display: -webkit-box;
		min-height: 48px;
		margin: 16px;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	#chkbox_switch:checked ~ section .stroke .price {
		position: static;
		padding: 12px 0;
		font-size: 20px;
		border-top: 1px dotted #b4b5b5;
	}

/* overwrite */
/* swiper */
.dots .swiper-pagination-bullet {
	width: 13px;
	height: 13px;
	background-color: #aaaa;
	border: 1px solid #fff;
	opacity: 1;
	box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.dots .swiper-pagination-bullet-active {
	background-color: #fff;
}

.highspeed .banner .arrow {
	width: 28px;
	height: 92px;
	margin: 0;
	transform: translateY(-50%);
}

	.highspeed .banner .arrow:focus {
		outline: none;
	}

	.highspeed .banner .arrow:before, .arrow:after {
		position: absolute;
		content: "";
		display: block;
		background-color: #fff5;
		width: 3px;
		height: 53px;
		box-shadow: 0 0 4px rgba(0,0,0,0.4);
	}

	.highspeed .banner .arrow:hover:before, .arrow:hover:after {
		background-color: #fffa;
	}

	.highspeed .banner .arrow:before {
		top: 0;
		transform-origin: top;
	}

	.highspeed .banner .arrow:after {
		bottom: 0;
		transform-origin: bottom;
	}
/*
    .highspeed .banner .swiper-button-prev.arrow, .highspeed .banner .swiper-button-next.arrow {    width: 28px;    height: 92px;    margin: 0;    transform: translateY(-50%);}
    .highspeed .banner .swiper-button-prev.arrow:focus, .highspeed .banner .swiper-button-next.arrow:focus {outline: none;}
    .highspeed .banner .swiper-button-prev.arrow:before, .highspeed .banner .swiper-button-prev.arrow:after,
    .highspeed .banner .swiper-button-next.arrow:before, .highspeed .banner .swiper-button-next.arrow:after {position: absolute;content: "";display: block;background-color: #fff5;width: 3px;height: 53px;box-shadow: 0 0 4px rgba(0,0,0,0.4);        }
    .highspeed .banner .swiper-button-prev.arrow:hover:before, .highspeed .banner .swiper-button-prev.arrow:hover:after,.highspeed .banner .swiper-button-next.arrow:hover:before, .highspeed .banner .swiper-button-next.arrow:hover:after {    background-color: #fffa;    }
    .highspeed .banner .swiper-button-prev.arrow:before,.highspeed .banner .swiper-button-next.arrow:before {    top: 0;    transform-origin: top;    }
    .highspeed .banner .swiper-button-prev.arrow:after,.highspeed .banner .swiper-button-next.arrow:before {    bottom: 0;    transform-origin: bottom;    }
        */
.highspeed .banner .swiper-button-prev:before, .swiper-button-prev:after {
	right: 0;
}

.highspeed .banner .swiper-button-next:before, .swiper-button-next:after {
	left: 0;
}

.highspeed .banner .swiper-button-prev:before, .swiper-button-next:after {
	transform: rotate(30deg);
}

.highspeed .banner .swiper-button-prev:after, .swiper-button-next:before {
	transform: rotate(-30deg);
}

.highspeed .banner .swiper-button-next, .highspeed .banner .swiper-button-prev {
	background-image: none;
}


/* RWD */
@media screen and (max-width:1600px) {
	/* 圖文切換 */
	#chkbox_switch:checked ~ section .list-wrap {
		grid-template-columns: repeat(4, minmax(auto, 1fr));
	}
}

@media screen and (max-width:1280px) {
	/* 圖文切換 */
	#chkbox_switch:checked ~ section .list-wrap {
		grid-template-columns: repeat(3, minmax(auto, 1fr));
	}
}

@media screen and (max-width:1000px) {
	.aside .logo.web {
		display: none;
	}

	.aside .logo.mobile {
		display: block;
	}

	/* mobile nav-burger */
	.nav-burger {
		display: flex;
	}

	.nav {
		position: fixed;
		left: 0;
		top: 0;
		display: none;
		flex-direction: row;
		justify-content: center;
		width: 100%;
		height: 100vh;
		margin: 0;
		padding: 240px 20px 20px;
		z-index: 100;
	}

		.nav .li-item, .nav .li-item a {
			display: block;
		}

	#m_nav:checked ~ .nav {
		display: flex;
	}

	.nav .part {
		display: inline-block;
		margin: 0 0 0 20px;
	}

		.nav .part:first-child {
			margin: 0;
		}

		.nav .part .list {
			margin: 24px 0 40px;
			padding: 0 0 24px 24px;
		}

	.aside {
		position: static;
		width: 100%;
		max-width: unset;
		min-width: unset;
		height: 96px;
		padding: 0;
	}

		.aside .logo {
			position: fixed;
			top: 53px;
			width: 100%;
			margin: 0;
			padding: 16px 24px;
		}

		.aside .switch-panel {
			display: none;
		}

	.content {
		width: 100%;
		max-width: unset;
		min-width: unset;
		margin: 0;
	}

		.content .switch-panel {
			display: flex;
		}

	.menu-box .main-list {
		display: none;
	}

	.menu-box .sec-list {
		margin: 0;
	}

	.sec-list.fixed-top {
		top: 160px;
		width: 100%;
		max-width: unset;
		min-width: unset;
	}

	.stroke-group {
		margin: 0 0 20px;
	}

		.stroke-group .anchor {
			top: -240px;
		}

	.stroke-list {
		grid-template-columns: 1fr;
	}

	.stroke-box {
		margin: 12px 0 40px 8px;
	}

	/* 圖 */
	#chkbox_switch:checked ~ section .stroke-list {
		overflow-y: auto;
	}

	#chkbox_switch:checked ~ section .list-wrap {
		display: inline-flex;
		flex-wrap: nowrap;
	}

	#chkbox_switch:checked ~ section .stroke {
		width: 260px;
	}

	/* overwrite */
	.arrow {
		transform: translateY(-50%) scale(0.75);
	}
}

@media screen and (max-width:800px) {
	.subject .title {
		font-size: 28px;
	}

	.subject .slogn {
		font-size: 15px;
	}

	.stroke-group .anchor {
		top: -270px;
	}
}

@media screen and (max-width:640px) {
	.bn-img {
		padding-bottom: 70vw;
	}

	.content .switch-panel {
		position: static;
	}

	.list-wrap {
		grid-template-columns: 1fr;
	}

	.sec-list .li-item a {
		width: calc(100vw/5 - 1px);
		padding: 8px 8px 8px 16px;
		font-size: 16px;
	}

		.sec-list .li-item a:before {
			left: 6px;
			width: 3px;
		}

	/* overwrite */
	.dots .swiper-pagination-bullet {
		width: 10px;
		height: 10px;
	}
}


@media screen and (max-width:480px) {
	.nav {
		padding: 240px 12px 20px;
	}

		.nav .part {
			display: inline-block;
			margin: 0 0 0 20px;
		}

			.nav .part .list {
				padding: 0 0 24px 12px;
			}

	.sec-list .li-item a {
		width: calc(100vw/4 - 1px);
	}
}

@media screen and (max-width:360px) {
	.nav .li-item a {
		font-size: 15px;
	}
}

