/* 全局樣式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Microsoft JhengHei', Arial, sans-serif;
    list-style: none;
}

:root {
	--brown: #6d4019;
	--orange: #F48B21;
	--dark: #222;
	--white: white;
	--yellow: #FCD418;
}
html {
    background-color: #222;
}
body {
	font-size: 1.5rem;
    width: 1000px;
    margin: 5px auto;
	background-color: var(--white);
	overflow-x: hidden;
}

a {
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}


.head {
    display: grid;
    grid-template-columns: 243px 757px;
    gap: 0;
	font-size: 20px;
	font-weight: bolder;
	text-align: right;
	color: var(--dark);
	background-color: var(--white);
}
.logo img {
	width: 243px;
	position: absolute;
}
.tel ul {
    display: grid;
	grid-template-columns: 282px 142px 303px;
	gap: 10px;
	padding-right: 10px;
	height: 58px;
	align-items: center;
}

.tel ol {
	display: grid;
	grid-template-columns: 200px 174px 156px 156px;
	gap: 20px;
	font-size: 18px;
	padding-right: 10px;
	height: 58.5px;
	align-items: center;
	background-color: var(--orange);
}
.tel a:link {
	color: var(--dark);
}
.tel a:visited {
	color: var(--dark);
}
.tel a:hover {
	color: var(--orange);
}

.contant {
	display: grid;
	grid-template-columns: 150px 700px 150px;
}

.menu {
	background-color: var(--brown);
}

.menu ul {
	display: grid;
	font-size: 16px;
	color: var(--white);
}
.menu ul li {
	padding: 20px 0 20px 15px;
	border-bottom: 1px dotted var(--orange);
}
.menu ul li:first-child {
	font-weight: bold;
	color: var(--yellow);
	padding-left: 22px;
}
.menu a:link {
	color: var(--white);
}
.menu a:visited {
	color: var(--white);
}
.menu a:hover {
	color: var(--yellow);
}

.menu ol {
	font-size: 12px;
	padding: 10px 0 0;
	color: var(--yellow);
}
.menu ol li {
	padding: 10px;
}
.menu-about {
	padding: 0 10px;
}

.product{
	font-size: 14px;
}
.product h2 {
	text-align: center;
	padding-top: 25px;
	color: var(--orange);
}
.product ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	text-align: center;
	padding: 15px;
}
.product ul img {
	width: 180px;
}
.product a:link {
	color: var(--brown);
}
.product a:visited {
	color: var(--brown);
}
.product a:hover {
	color: var(--orange);
}
.product ol {
	padding: 15px;
}
.product-desc {
	padding: 15px;
	text-align: justify;
	color: var(--brown);
}

.both-menu {
	background-color: var(--brown);
}
.both-menu li {
	padding: 10px 10px 0;
}
.both-menu img {
	width: 130px;
	border-radius: 10px;
}
.bg {
	background-color: #E9790A;
	width: 100%;
	padding: 20px; /* 内边距，避免内容贴边 */
	box-sizing: border-box; /* 盒模型优化 */
}

/* 材質頁 */
.material ol li img {
	width: 100%;
	padding: 15px 10px 15px 20px;
}

.cloth {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	padding: 10px;
}

.cloth div:first-child img {
	width: 335px;
}

.cloth ul {
	display: grid;
	grid-template-columns: 60px auto;
	gap: 10px;
	padding-bottom: 15px;
}

.cloth p {
	font-size: 14px;
	text-align: justify;
	padding-top: 3px;
	margin-top: 3px;
	border-top: 1px dotted var(--orange);
}

.back {
	display: grid;
	grid-template-columns: auto;
	justify-items: center;
	padding: 10px;
}

.brim {
	font-size: 14px;
	text-align: justify;
	padding: 10px;
}
.brim ul, .brim ol, .brim-title {
	width: 510px;
	margin: 0 auto;
	padding: 30px 0;
}
.brim-banner img,
.brim-title img {
	width: 100%;
}
.brim ul {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 10px;
	border-top: 1px dotted var(--orange);
}
.brim ol {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 10px;
	border-top: 1px dotted var(--orange);
}
.brim p {
	padding-top: 5px;
}
.brim-big-image img {
	width: 100%;
}


/* 大图弹窗核心样式 */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.modal-content {
	max-width: 90%;
	max-height: 90%;
}
.close-btn {
	position: absolute;
	top: 20px;
	right: 30px;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	user-select: none;
}
.close-btn:hover {
	color: #ccc;
}