/* 頁面回到最頂平滑滾動效果 */
html {
	scroll-behavior: smooth;
}

.arrow_icon img {
	box-shadow: none !important;
/*future roadmap頁面箭頭圖片去掉陰影*/
}

.samplerequest-checkbox {
	flex-direction: row !important;
	gap: 35px !important;
}

.grunion-label-required {
	color: red;
/*表單內的必填提示更改成紅色*/
}

.service-marketing-button {
	transition: all .2s ease-out;
/*news裡company-news按鈕文字移入變色*/
}

.service-marketing-button a:hover {
	color: #ffffff;
/*news裡company-news按鈕文字移入變色*/
}

/* 首頁圖片跟其他地方的圖片不要有陰影 */
.wp-block-image.no-shadow-img img {
	box-shadow: none !important;
}

/* 服務行銷-需求詢問 */
.contact-form .grunion-checkbox-multiple-options legend {
	font-size: 15px;
	font-weight: 500;
/* 複選項標題設定 */
}

input.checkbox-multiple {
	border-color: #c4c4c4 !important;
	transition: all .15s ease-out;
/* 需求詢問複選項框框 */
}

input.checkbox-multiple:hover {
	border-color: #3c9d9a !important;
/* 需求詢問複選項框框移入變色 */
}

input.checkbox-multiple::before {
	border-color: red !important;
/* 需求詢問複選項框框內的勾勾 */
}

input.checkbox-multiple:checked {
	color: white !important;
/* 需求詢問複選項框框內點擊後的勾勾背景色 */
}

input.grunion-field {
	color: #808080;
/* input文字框的預設狀態 */
}

textarea.grunion-field {
	color: #808080;
	height: 150px;
	min-height: 150px;
	max-height: 300px;
	resize: vertical;
/* textarea文字框的預設狀態，限制文字框範圍拉動限制 */
}

input.text.grunion-field::placeholder {
	font-weight: 100;
	color: #cccccc;
/* 一般文字輸入欄位預設提示文字顏色 */
}

input.text.grunion-field:hover::placeholder {
	opacity: 1 !important;
/* 當滑鼠移入一般文字欄位時，預設文字顏色不會變淡 */
}

input.text.grunion-field:focus:not(:hover)::placeholder {
	opacity: 1 !important;
/* 當輸入中滑鼠移出一般文字欄位失去焦點時，預設文字顏色不會變淡 */
}

textarea.grunion-field::placeholder {
	font-weight: 100;
	color: #cccccc;
/* 多行文字輸入欄位預設提示文字顏色 */
}

.wp-block-jetpack-contact-form input:not([type="checkbox"]):focus,textarea:focus {
	outline: 2px solid #A6DDDD;
/* 當輸入時所有input(除去勾勾選項)、textarea相關的輸入欄位，例如(名字、email、一般文字、多行文字、日期)時 邊框變色 */
}

/* 討論區設定 */
.wp-block-avatar img {
	border-radius: 50%;
/* 用戶頭像變圓形 */
}

.wp-block-comment-author-name {
	margin-bottom: -7px;
/* 留言區塊用戶名範圍 */
}

.forum-block {
	box-shadow: 7px 7px 7px rgba(0, 0, 0, 0.2);
/* 留言區塊陰影 */
}

.has-border-color:has(a:hover) {
	background-color: #3C9D9A;
	transition: all .2s ease-out;
/* 回復按鈕文字移入父元素改背景色 */
}

.comment-reply-link:hover {
	color: #ffffff;
	transition: all .2s ease-out;
/* 回復按鈕文字移入改色 */
}

label[for="email"]::after {
	content: " (Not Public)";
	color: #B3B3B3;
/* email欄位的多加文字 */
}

label[for="url"]::before {
	content: "Company Name or ";
	font-size: 18px;
	color: #3C9D9A;
	visibility: visible;
/* 確保顯示 */
/* 公司名稱欄位的顯示前段文字 */
}

label[for="url"]::after {
	content: " (Not Public)";
	font-size: 18px;
	color: #B3B3B3;
	visibility: visible;
/* 公司名稱欄位的顯示後段文字 */
}

.forum-block p {
	margin-top: -7px;
	margin-bottom: 10px;
/* 留言內容區塊範圍 */
}

input[type="submit"] {
	width: 150px;
	color: #3C9D9A !important;
	background-color: #DDF1CE !important;
	transition: all .3s ease-out !important;
/* 討論區留言送出鈕預設 */
}

input[type="submit"]:hover {
	font-weight: 600;
	background-color: #CBFBA0 !important;
/* 討論區留言送出鈕移入 */
}

.comment-form {
	display: flex;
	flex-direction: column;
/* 討論區留言表單格式用Flexbox布局順序 */
}

.comment-form-author,.comment-form-email {
	order: 0;
/* name跟email排序0 */
}

.comment-form-comment {
	order: 1;
/* Comment排序1 */
}

.form-submit.wp-block-button,.comment-subscription-form,.post-subscription-form {
	order: 2;
/* 送出按紐跟下方選項排序2 */
}

.form-submit.wp-block-button {
	margin-bottom: 30px;
/* 討論區留言送出鈕範圍 */
}

.comment-subscription-form {
	margin-top: -10px;
	margin-bottom: -10px;
/* 討論區留言送出鈕下面選項範圍 */
}

/* news文章設定 */
.page-numbers {
	color: #bfbfbf;
/* 頁碼的基本顏色 */
}

.current {
	font-size: 24px;
	color: #3C9D9A;
	font-weight: 700;
	text-decoration: underline;
/* 當前頁碼改色變粗 */
}

/* 上一頁按鈕 */
.wp-block-query-pagination-previous-arrow.is-arrow-chevron {
	margin-left: 10px;
/* 上一頁符號位置 */
}

.wp-block-query-pagination-previous {
	color: #8AC3C7 !important;
	line-height: 40px;
	width: 40px;
/* 上一頁預設顏色與符號範圍位置 */
}

.wp-block-query-pagination-previous:hover {
	color: #3C9D9A !important;
	transition: all .15s ease-out;
/* 上一頁移入換顏色 */
}

/* 下一頁按鈕 */
.wp-block-query-pagination-next-arrow.is-arrow-chevron {
	margin-left: 10px;
/* 下一頁符號位置 */
}

.wp-block-query-pagination-next {
	color: #8AC3C7 !important;
	line-height: 40px;
	width: 40px;
/* 下一頁預設顏色與符號範圍位置 */
}

.wp-block-query-pagination-next:hover {
	color: #3C9D9A !important;
	transition: all .15s ease-out;
/* 下一頁移入換顏色 */
}

.taxonomy-category.wp-block-post-terms a:hover {
	color: #3C9D9A;
	font-weight: 600;
/*文章返回分類*/
}

div.crowdsignal-forms__branding {
	display: none;
/*隱藏 Crowdsignal 的品牌標識*/
}

.jetpack-sharing-button__service-label {
	display: none !important;
/*隱藏商品頁面的分享按鈕文字*/
}

/*燈箱圖片放大後的背景色*/
.scrim {
	background-color: rgba(0, 0, 0, 0.85) !important;
/*圖片放大後背景黑色半透明*/
}

/* 限制文字區塊內顯示正常 */
.entry-content p {
	word-wrap: break-word;
/* 兼容舊版 IE 瀏覽器長單字區塊內換行 */
	overflow-wrap: break-word;
/* 現代標準屬性長單字正確換行 */
	white-space: normal;
/* 文字正常規則換行不保留多餘空格 */
}

/* news的預設狀態 */
.cat-links a {
	padding-left: 10px;
	padding-right: 10px;
	font-size: 15px;
	color: #ffffff;
	background-color: #3C9D9A;
	pointer-events: none;
	font-weight: 500;
/* news的分類取消連結與字體設定*/
}

.entry-meta {
	padding-left: 20px;
/* news列表區塊範圍*/
}

.entry-wrapper {
	border-left: 4px solid transparent;
/* 預設透明 */
	padding-top: 6px;
	padding-bottom: 3px;
	padding-left: 30px;
/* news列表區塊範圍*/
}

/* RD卡片選單預設狀態 */
.rd-one-column-block {
	border: 3px solid transparent;
	min-height: 410px;
/* RD的卡片區塊預設*/
}

.rd-one-column-block img {
	width: 100%;
	height: 100%;
	object-fit: cover;
/* RD的卡片圖片預設*/
}

.rd-card-group {
	overflow: hidden;
/* RD的卡片圖片不超過群組區塊*/
}

/*Functional-clothing的卡片選單預設狀態*/
.functional-card {
	border: 6px solid transparent;
	min-height: 410px;
	transition: all .2s ease-out;
/* Functional-clothing的卡片區塊預設*/
}

.functional-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all .3s ease-out;
/* Functional-clothing的卡片圖片預設*/
}

/*SmartHealthBra-card的卡片選單預設狀態*/
.SmartHealthBra-card {
	border: 6px solid transparent;
	min-height: 300px;
	transition: all .2s ease-out;
/* SmartHealthBra-card的卡片區塊預設*/
}

.SmartHealthBra-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all .3s ease-out;
/* SmartHealthBra-card的卡片圖片預設*/
}

/* more按鈕預設狀態 */
summary {
	padding: 2px 0;
/* more按鈕初始上下多2px讓游標移入時頁面不會放大跳動 */
}

/* 通用樣式 */
.no-underline a {
	text-decoration: none;
}

:root a:not(.wp-element-button) {
	text-decoration: none;
}

.custom-column-link {
	position: relative;
/* 區塊添加連結功能上半部 */
}

.custom-column-link a.overlay-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	display: block;
	text-indent: -9999px;
/* 區塊添加連結功能下半部 */
}

.wp-block-column {
	position: relative;
}

.wp-block-column > a {
	position: absolute;
	top: -20px;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	text-indent: -9999px;
/* 隱藏連結文本 */
}

/* 首頁按鈕樣式 */
a.wp-block-button__link.wp-element-button:hover {
	color: #3C9D9A;
	font-weight: 600;
	background-color: #D6FFB2;
	transition: all .3s ease-out;
/* 右上按鈕游標移入 */
}

button:hover {
	font-weight: 600;
	background-color: #D6FFB2;
	transition: all .15s ease-out;
/* 下方按鈕游標移入 */
}

/* 首頁選單樣式 */
.wp-block-navigation .wp-block-navigation__submenu-icon {
	display: none;
/* 主選單移除箭頭顯示 */
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon {
	display: block;
/* 展開選項箭頭顯示 */
}

a.wp-block-navigation-item__content:hover {
	font-weight: 600;
	cursor: pointer;
	text-shadow: 0 0 7px rgba(255, 255, 255, 0.6);
	transition: all .2s ease-out;
/* 主選單游標移入 */
}

ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
	box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.4);
	background-color: rgba(255, 255, 255, 0.7) !important;
	border-left: 5px solid #ddf1ce !important;
	min-width: 220px !important;
/* 整個下拉選單預設狀態 */
}

li.wp-block-navigation-item .wp-block-navigation-link {
	font-size: 17px !important;
	color: #595959;
	border-bottom: 1.5px solid #d4d4d4;
	transition: background-color .2s ease-out;
/* 下拉選單的連結選項預設狀態 */
}

li.wp-block-navigation-item .wp-block-navigation-link:hover {
	font-weight: 700;
	color: #3C9D9A;
	background-color: #e6f5f4;
	width: 220px;
	border-top: 6px solid #e6f5f4;
	border-bottom: 6px solid #d0f2f0;
	border-left: 7px solid #65c9c6 !important;
/* 下拉選單的連結選項游標移入 */
}

ul.wp-block-navigation__submenu-container.Cloth-type-function-menu.wp-block-navigation-submenu {
	box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.4);
	background-color: rgba(255, 255, 255, 0.7) !important;
/* 整個子選單預設狀態 */
}

.Cloth-type-function {
	font-size: 17px !important;
	color: #595959;
	border-bottom: 1.5px solid #d4d4d4;
	min-width: 220px !important;
	transition: background-color .2s ease-out;
/* 展開選項預設狀態 */
}

.Cloth-type-function:hover {
	font-weight: 700;
	color: #3C9D9A;
	background-color: #e6f5f4;
	border-top: 6px solid #e6f5f4;
	border-bottom: 6px solid #d0f2f0;
	border-left: 7px solid #65c9c6 !important;
/* 展開選項游標移入 */
}

li.wp-block-navigation-item:hover > .wp-block-navigation-item__content {
	font-weight: 600;
	text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
/* 當游標進入主選單項目時，字體加粗 */
}

li.wp-block-navigation-item:not(:hover) .wp-block-navigation-item__content {
	font-weight: normal;
/* 當游標離開下拉選單或子選單時，恢復主選單字體 */
}

a:hover {
	color: #72B5B3;
}

a.TOP:hover {
	font-size: 30px;
/* 下方top按鈕游標移入 */
}

/* 商品分類橫幅樣式 */
img.wp-image-6476 {
	border-bottom-right-radius: 30px;
/* 只針對右下角加圓角 */
	box-shadow: 8px 8px 12px 0 rgba(0, 0, 0, 0.25);
/* 陰影（可留可不留） */
}

figure.wp-block-image.aligncenter.size-full.is-resized.has-custom-border img {
	transition: all .15s ease-out;
/* 分類橫幅游標預設狀態 */
}

figure.wp-block-image.aligncenter.size-full.is-resized.has-custom-border:hover img {
	-webkit-filter: brightness(1.12);
	transform: scale(1.03);
/* 分類橫幅游標移入 */
}

figure.wp-block-image.aligncenter.size-full.is-resized.has-custom-border:active img {
	-webkit-filter: brightness(0.9);
	transform: scale(0.97);
/* 分類橫幅游標點擊 */
}

/* 商品陳列卡片樣式 */
body.page-template.page-template-wp-custom-template.page .wp-block-column .wp-block-group:hover {
	background-color: #F8F6F6;
	box-shadow: inset 0 0 13px 5px rgba(0, 0, 0, 0.05);
	transition: all .15s ease-out;
/* 商品陳列卡片游標移入 */
}

body.page-template.page-template-wp-custom-template.page .wp-block-column:hover img {
	transform: scale(0.95);
	filter: brightness(0.95);
	transition: all .15s ease-out;
/* 商品陳列卡片圖片游標移入 */
}

body.page-template.page-template-wp-custom-template.page .wp-block-column:hover h2 {
	filter: brightness(1.1);
	transform: translate(0px, -9px) scale(0.95);
	transition: all .15s ease-out;
/* 商品陳列卡片標題游標移入 */
}

body.page-template.page-template-wp-custom-template.page .wp-block-column:hover h1 {
	filter: brightness(1.1);
	transform: translate(9px, -9px);
	transition: all .15s ease-out;
/* 商品陳列卡片文字游標移入 */
}

body.page-template.page-template-wp-custom-template.page .wp-block-column .wp-block-group:active {
	filter: brightness(0.98);
	transition: all .15s ease-out;
/* 商品陳列卡片游標點擊 */
}

body.page-template.page-template-wp-custom-template.page .wp-block-column:active img {
	transform: scale(0.9);
	filter: brightness(0.85);
	transition: all .15s ease-out;
/* 商品陳列卡片圖片游標點擊 */
}

body.page-template.page-template-wp-custom-template.page .wp-block-column:active h2 {
	filter: brightness(0.9);
	transition: all .1s ease-out;
/* 商品陳列卡片標題游標點擊 */
}

body.page-template.page-template-wp-custom-template.page .wp-block-column:active h1 {
	filter: brightness(0.9);
	transition: all .1s ease-out;
/* 商品陳列卡片文字游標點擊 */
}

/* RD卡片選單樣式 */
.rd-one-column-block:hover {
	border-color: #3c9d9a;
	background-color: #FFFFFF;
	box-shadow: 7px 10px 10px rgba(0, 0, 0, 0.3);
	transition: all .2s ease-out;
/* RD的卡片滑鼠移入*/
}

.rd-one-column-block:hover img {
	transform: scale(1.2);
	filter: brightness(1.1);
	transition: all .3s ease-out;
/* RD的卡片圖片滑鼠移入*/
}

.rd-one-column-block:hover .rd-img-shadow {
	box-shadow: none !important;
	filter: none !important;
/* RD的卡片滑鼠移入時圖片陰影消失*/
}

.rd-one-column-block:hover h3 {
	filter: brightness(1.1);
/* RD的卡片文字滑鼠移入*/
}

/* Functional-clothing卡片選單樣式 */
.functional-card:hover {
	border-color: #3c9d9a;
	background-color: #FFFFFF;
	box-shadow: 7px 10px 10px rgba(0, 0, 0, 0.3);
/* Functional-clothing的卡片滑鼠移入*/
}

.functional-card:hover img {
	transform: scale(1.1);
	filter: brightness(1.1);
/* Functional-clothing的卡片圖片滑鼠移入*/
}

.functional-card:hover .rd-img-shadow {
	box-shadow: none !important;
	filter: none !important;
/* Functional-clothing的卡片滑鼠移入時圖片陰影消失*/
}

.functional-card:hover .functional-card-group {
	box-shadow: none !important;
/* Functional-clothing的卡片滑鼠移入時文字群組陰影消失*/
}

.functional-card:hover h3 {
	filter: brightness(1.2);
/* Functional-clothing的卡片文字滑鼠移入*/
}

/* SmartHealthBra-card卡片選單樣式 */
.SmartHealthBra-card:hover {
	border-color: #3c9d9a;
	background-color: #FFFFFF;
	box-shadow: 7px 10px 10px rgba(0, 0, 0, 0.3);
/* SmartHealthBra-card的卡片滑鼠移入*/
}

.SmartHealthBra-card:hover img {
	transform: scale(1.21);
	filter: brightness(1.1);
/* SmartHealthBra-card的卡片圖片滑鼠移入*/
}

.SmartHealthBra-card:hover .rd-img-shadow {
	box-shadow: none !important;
	filter: none !important;
/* SmartHealthBra-card的卡片滑鼠移入時圖片陰影消失*/
}

.SmartHealthBra-card:hover .SmartHealthBra-card-group {
	box-shadow: none !important;
/* SmartHealthBra-card的卡片滑鼠移入時文字群組陰影消失*/
}

.SmartHealthBra-card:hover h3 {
	filter: brightness(1.2);
/* SmartHealthBra-card的卡片文字滑鼠移入*/
}

/* news滑鼠移入樣式*/
.entry-wrapper:has(h2:hover) {
	border-left: 10px solid #47BBB7;
	background-color: #F2F2F2;
	filter: brightness(1.02);
	box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.3);
	transition: all .15s ease-out;
/* news標題移入父元素背景變色+陰影*/
}

.entry-wrapper h2 a:hover {
	color: #47BBB7;
	transition: all .15s ease-out;
/* news標題移入變色*/
}

.news-company-news-button:has(a:hover) {
	background-color: #3C9D9A;
	transition: all .2s ease-out;
/*news裡company-news按鈕文字移入父元素背景變色*/
}

.news-company-news-button a:hover {
	font-weight: 600;
	color: #ffffff;
	transition: all .2s ease-out;
/*news裡company-news按鈕文字移入變色*/
}

.news-textile-news-button:has(a:hover) {
	background-color: #3C9D9A;
	transition: all .2s ease-out;
/*news裡textile-news按鈕文字移入父元素背景變色*/
}

.news-textile-news-button a:hover {
	font-weight: 600;
	color: #ffffff;
	transition: all .2s ease-out;
/*news裡textile-news按鈕文字移入變色*/
}

.group-shadow-box:has(h2:hover) {
	border-left: 10px solid #47BBB7;
	background-color: #F2F2F2;
	filter: brightness(1.02);
	box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.3);
	transition: all .15s ease-out;
/* 文章分類內的標題移入父元素背景變色+陰影*/
}

.group-shadow-box h2 a:hover {
	color: #47BBB7;
	transition: all .15s ease-out;
/* 文章分類內的標題移入標題變色*/
}

.wp-block-button__link.no-border-radius {
	text-transform: uppercase;
	color: #3C9D9A !important;
	background-color: #DDF1CE !important;
	transition: all .3s ease-out !important;
/* 文章下方訂閱按鈕預設狀態 */
}

.wp-block-button__link.no-border-radius:hover {
	font-weight: 600;
	background-color: #CBFBA0 !important;
/* 文章下方訂閱按鈕移入 */
}

/* more按鈕樣式 */
summary:hover {
	padding: 2px 10px;
	background-color: #3c9d9a;
	color: white;
	transition: all .15s ease-out;
/* more按鈕游標移入 */
}

details[open] summary,
details[open] summary:after {
	padding: 2px 10px;
	background-color: #3c9d9a;
	color: white;
/* more按鈕點擊後顏色固定 */
}

details div {
	animation: none;
/* 防止動畫立即執行 */
}

details[open] div {
	animation: slideDownContent .3s ease-in-out;
/* 每次展開時觸發動畫 */
}

@keyframes slideDownContent {
	from {
		opacity: 0;
		max-height: 0;
	}
	
	to {
		opacity: 1;
		max-height: 900px;
	/* more按鈕點擊展開動畫 */
	}
}