@charset "utf-8";
/* Helper ----------------------------- */

.img-resp {
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
}

.container {
	width: 1200px;
}

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

/* Base ------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
	font-size: 15px;
}

.pic {
}

.pic-ls {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	list-style-type: none;
}

.pic-item {
	width: 25%;
	padding: 15px;
}

.pic-item > a {
	position: relative;
	display: block;
	height: 100%;
	text-decoration: none;
	border: solid 1px #ccc;
}

.pic-title,
.pic-desc {
	margin-top: 5px;
	margin-bottom: 5px;
}

.pic-intro {
	margin: 15px;
}

.pic-title {
	font-size: 1.2em;
	color: orange;
}

.pic-desc {
	font-size: 0.9em;
	color: #666;
	line-height: 1.5;
}

.pic-tag {
	position: absolute;
	top: -10px;
	left: -10px;
	padding: 5px 10px;
	line-height: 1;
	color: #fff;
	font-size: 12px;
	background-color: orange;
	border-radius: 3px 3px 3px 0;
}

.pic-tag::before {
	content: "";
	z-index: -1;
	position: absolute;
	top: 12px;
	left: -10px;
	border: solid 10px transparent;
	border-right-color: brown;
}

.pic-item-spec .pic-tag {
	background-color: red;
}

@media screen and (max-width: 1024px) {
	.container {
		width: auto;
	}
	.pic-item {
		width: 33.33333%;
	}
}

@media screen and (max-width: 768px) {
	.img-resp {
		width: 100%;
	}
	.pic-item {
		width: 50%;
	}
}

@media screen and (max-width: 480px) {
	.pic-item {
		width: 100%;
		order: 2;
	}
	.pic-item-spec {
		order: 1;
	}
}
