@charset "UTF-8";

.mainframe {
	position: relative;
	padding: 0;
	margin: 0;
	background-color: #fff;
	display: flow-root;
	font-family: 'Lato', 'Noto Sans JP', 'Noto Sans TC', sans-serif;
	font-size: 15px;
}

.mainframe a {
	text-decoration: none;
}

.mainframe a:hover,
.mainframe a:focus {
	text-decoration: none;
}

.mainframe img {
	display: block;
	max-width: 100%;
}

.mainframe p,
.mainframe a,
.mainframe p a,
.mainframe p span {
	margin: 0;
	color: #000;
	font-size: 15px;
}

.mainframe h1 {
	font-family: 'Lato', 'Noto Sans JP', 'Noto Sans TC', sans-serif;
}
/*視窗移動接近圖片之後顯示*/
.lazy-load {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.show {
    opacity: 1;
}

@keyframes hero-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.mainframe .section__top {
	margin: 0 auto;
	padding: 0;
}

.mainframe .section__top picture,
.mainframe .section__top img {
	display: block;
	width: 100%;
	animation: hero-fade-in 1.1s ease-out both;
}

.mainframe .section__top img {
	width: 100%;
}

.mainframe .section__desc {
	padding: 5rem 3rem 4rem;
	text-align: center;
}

.mainframe .section__desc p {
	text-align: center;
}

.mainframe .section__desc p span {
	display: block;
	font-size: 15px;
	letter-spacing: 0.04em;
	line-height: 2.5;
}

.mainframe .breand-section {
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	margin: 0 auto;
}

.mainframe .breand-section h1 {
	width: 100%;
	font-size: 30px;
	text-align: center;
	letter-spacing:2px;
	margin: 100px 0 20px 0;
}

.mainframe .trend-block {
	width: 100%;
	clear: both;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 3% auto 0;
}

.mainframe .trend-box {
	width: 100%;
}

.mainframe .trend-box a {
	display: block;
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 2rem;
}

.mainframe .trend-box img {
	width: 100%;
	border-radius: 2rem;
}

.mainframe .trend-box a::after {
	content: "";
	position: absolute;
	right: 1.2rem;
	bottom: 1.2rem;
	width: 4rem;
    height: 4rem;
	background: url("../images/heart.svg") center center / contain no-repeat;
}

.mainframe .tittle {
	width: 100%;
	text-align: center;
}

.mainframe .tittle h1 {
	margin: 0 auto 5%;
	font-size: 40px;
	letter-spacing: 2px;
	font-weight: 300;
}

.mainframe .section__items {
	position: relative;
	display: flex;
	width: 48%;
	flex-direction: column;
}

.mainframe .section__items .item {
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
	padding-bottom: 2rem;
}

.mainframe .section__items .item .title {
	width: 100%;
	display: block;
	margin: 1.3rem 0;
	padding: 0;
	text-align: center;
}

.mainframe .section__items .item .title h1 {
	width: 100%;
	margin: 1.2rem 0;
	font-size: 28px;
	font-weight: 300;
	letter-spacing: 0.04em;
	line-height: 1.5;
}

.mainframe .section__items .item .inner {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	row-gap: 1rem;
	align-content: center;
	align-items: stretch;
}

.mainframe .section__items .item .inner a.col {
	display: flex;
	position: relative;
	width: calc(50% - 1rem);
	margin: 0 0.4rem 0.9rem;
	text-align: center;
	flex-direction: column;
	align-items: center;
	transition: all 0.2s ease-in-out;
}

.mainframe .section__items .item .inner a.col:hover {
	transform: translateY(5px);
}

.mainframe .section__items .item .inner a.col .item-top {
	width: 100%;
}

.mainframe .section__items .item .inner a.col .item-top .slide img {
	width: 100%;
}

.mainframe .section__items .item .inner a.col p {
	margin-top: 0.3rem;
	font-size: 12px;
}

.mainframe .section__items .item .inner a.col .item-bot {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 0.85rem;
}

.mainframe .section__items .item .inner a.col .item-bot p.item-name {
	margin: 0 0 10px 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04rem;
	line-height: 1.5;
	text-align: center;
}

.mainframe .section__items .item .inner a.col .item-bot .shop-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	padding: 0.6rem 1rem;
	background-color: #000;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
}

.mainframe .section__more {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 10rem auto;
}

.mainframe .section__more .button {
	padding: 1.2rem 3rem 1rem;
	background-color: #000;
	color: #fff;
	transition: all 0.2s ease-in-out;
}

.mainframe .section__more .button:after {
	content: ">";
	position: relative;
	top: 1px;
	margin-left: 0.5rem;
}

.mainframe .section__more .button:hover {
	transform: translateX(3px);
}

@media screen and (min-width: 1441px) {
	.mainframe .section__items .item .inner a.col {
		width: calc(50% - 0.4rem);
		flex-direction: row;
		align-items: center;
		gap: 8px;
		margin: 0 0.2rem 1rem;
	}

	.mainframe .section__items .item .inner a.col .item-top {
		width: 56%;
		flex-shrink: 0;
	}

	.mainframe .section__items .item .inner a.col .item-bot {
		width: 44%;
		align-items: flex-start;
		margin-top: 0;
	}

	.mainframe .section__items .item .inner a.col .item-bot p.item-name {
		text-align: left;
		line-height: 1.8;
		margin-bottom: 1.5rem;
	}
}

.mainframe #backtop {
	position: fixed;
	right: 15px;
	bottom: 100px;
	z-index: 5;
	display: none;
	width: 35px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease-in-out;
}

.mainframe #backtop img {
	display: inline-block;
	width: 35px;
	margin-top: 9px;
}

@media screen and (max-width: 1200px) {
	.mainframe .breand-section {
		max-width: 900px;
		justify-content: space-around;
	}
	.mainframe .section__top {
		padding: 0;
	}

	.mainframe .section__items .item {
		width: 98%;
		margin: 0 auto;
	}
}

@media screen and (max-width: 800px) {
	.mainframe .breand-section h1 {
		font-size: 30px;
	}
	.mainframe .section__items .item .inner a.col {
		width: calc(50% - 1rem);
		margin: 0 0.5rem 0.5rem;
	}

	.mainframe .section__items .item .inner a.col p {
		font-size: 12px;
	}

	.mainframe .section__items .item .inner a.col .item-bot p.item-name {
		margin:0 0 0.5rem 0;
		font-size: 12px;
	}
}

@media screen and (max-width: 768px) {
	
	.mainframe .tittle h1 {
		font-size: 24px;
	}
}

@media screen and (max-width: 600px) {
	.mainframe .section__desc {
		padding: 3rem 2.5rem 0;
	}
	.mainframe .breand-section {
		flex-direction: column;
	}
	.mainframe .section__items {
		width: 90%;
        margin: 0 auto;
	}
	
	.mainframe .section__items .item {
		width: 95%;
	}

	.mainframe .section__items .item .title h1 {
		font-size: 18px;
	}

	.mainframe .section__items .item .inner a.col {
		width: calc(50% - 1rem);
		margin: 0 0.25rem 0.5rem;
	}

	.mainframe .section__items .item .inner a.col:hover {
		transform: none;
	}

	.mainframe .trend-box a {
		border-radius: 1.5rem;
	}


	.mainframe .trend-box img {
		border-radius: 1.5rem;
	}

	.mainframe .trend-box a::after {
		right: 0.75rem;
		bottom: 0.75rem;
		width: 3.4rem;
		height: 3.4rem;
	}
}

@media screen and (max-width: 400px) {
	.mainframe .section__more {
		margin: 6rem auto 8rem;
	}
}
