@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/

/*上方選單右邊設定 臉書/LINE/電話/信箱
.tp_links a:before {寬高大小設定}
.tp_links a.me_tp_fb {}
.tp_links a.me_tp_fb:before {背景換圖/建議.SVG}
.tp_links a.me_tp_line {}
.tp_links a.me_tp_line:before {背景換圖/建議.SVG}
.tp_links a.me_tp_call {}
.tp_links a.me_tp_call:before {背景換圖/建議.SVG}
.tp_links a.me_tp_mail {}
.tp_links a.me_tp_mail:before {背景換圖/建議.SVG}
*/

/*電腦LOGO
.nav-brand {}
*/

/*手機LOGO
.nav-brand-m {}
*/

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/* =========================
   預設解除背景輪播
========================= */
#content_main {
	margin: 0;
}

.bannerindex,
.swiper-banner {
	position: static;
	height: auto;
	margin: 0;
}

.swiper-slide img {
	height: auto;
	max-height: 100vh;
	object-fit: cover;
}

@media screen and (max-width: 768px) {
	.bannerindex {
		padding: 0;
		margin: 0;
	}
}

/* =========================
   Header / Navigation
========================= */
.tp_links {
	display: none;
}

.nav-brand {
	width: 275px;
	padding: 12px;
	margin-left: 10px;
}

.main_header_area .container {
	max-width: 100%;
}

.main_header_area {
	background: var(--color-bg-dark);
	box-shadow: var(--shadow-header);
}

.pageIndex .main_header_area {
	background: var(--color-bg-header-page-index);
}

.navigation {
	padding: 10px 0 15px 210px;
}

.stellarnav li a {
	padding: 7px 20px;
	color: var(--color-text-primary);
	margin-right: 10px;
}

.stellarnav ul > li:hover > a {
	color: var(--color-secondary);
}

.stellarnav li.has-sub > a:after {
	border-top: 6px solid var(--color-text-primary);
}

/* 下拉選單 */
.stellarnav ul ul {
	background: var(--color-bg-dark);
}

.stellarnav li li:hover > a,
.stellarnav li li.has-sub:hover > a {
	color: var(--color-link-hover);
	padding-left: 19px;
	background: var(--color-bg-darker);
	margin: 0;
}

.pageIndex .header_area {
	position: fixed;
	width: 100%;
}

/* =========================
   Footer
========================= */
.footer_logo img {
	max-width: 250px;
	padding: 10px;
}

.copy {
	color: var(--color-text-primary);
	background: var(--color-bg-dark);
}

.copy a {
	color: var(--color-text-primary);
}

.footer_menu a {
	border: 1px var(--color-accent) solid;
	color: var(--color-text-primary);
	background: transparent;
	width: auto;
	text-align: center;
}

.footer_menu a:hover {
	background: var(--color-secondary);
}

.box_link a {
	display: none;
}

/* =========================
   相簿
========================= */
.pic-list .item {
	width: 100%;
}

.album_fixed_title {
	background: rgba(255, 255, 255, 0);
}

/* =========================
   文章
========================= */

.blog_box_edit > * {
	margin-bottom: 1rem;
}

.blog_box_edit {
	h1, h2, h3, h4, h5 {
		margin-top: 1rem;
		margin-bottom: 0.5rem;
	}
}

.blog_box_edit ul {
	list-style: disc;
}

.blog_box_edit ul, .blog_box_edit ol {
	margin-left: 1.5rem;
}

.blog_le .accordion > li:hover,
.blog_le .accordion > li.on_this_category {
	background: var(--color-secondary) !important;
}

.blog_list_le,
.blog_list_ri {
	display: block;
	width: 100%;
	padding: 3px;
}

.blog_back a.article_btn_prev,
.blog_back a.article_btn_next {
	background: var(--color-bg-dark);
}

.blog_back a.article_btn_back {
	background: var(--color-secondary);
}

/* =========================
   內容背景
========================= */
#content {
	background-color: var(--color-bg-darker);
}

/* =========================
   聯絡我們
========================= */
.contact_le_map a,
.contact_form li.last cite {
	background: var(--color-accent);
}

.contact_form li.last blockquote,
.contact_form li.last cite {
	border: 1px solid var(--color-accent);
}

.contact_content .information_left {
	width: 100%;
}

.contact_content .information_right {
	display: none;
}

.blank_letter,
.list_before {
	text-align: center;
}

.list_before.info li {
	padding-left: 32px;
	width: fit-content;
	margin: 5px auto;
}

/* =========================
   內頁 Banner
========================= */
.banner {
	background-size: cover !important;
	background: url(../images/banner/3.jpg) no-repeat bottom center;
	position: relative;
	height: 35vh;
}

.banner h5 {
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 50px;
	color: var(--color-text-primary);
	width: 90%;
	text-shadow: 2px 2px 7px var(--color-gray);
}

.banner h5:after {
	content: "瑞美室內裝修以最先進的3D虛擬實境技術，將尚未施工的空間以擬真方式完整呈現，讓您在動工前就能身歷其境";
	color: var(--color-text-primary);
	font-size: 22px;
	display: block;
	padding-top: 5px;
}

.banner.banA,
.banner.banB,
.banner.banC,
.banner.banD,
.banner.banE,
.banner.banblog {
	height: 35vh;
}

/* =========================
   RWD
========================= */
@media screen and (max-width: 1024px) {
	.me_tp_features {
		margin: auto;
	}

	.navigation {
		padding: 0;
	}
}

@media screen and (max-width: 768px) {
	#bottom_menu {
		display: block;
	}

	.footer.with_shopping_mode {
		padding: 30px 0 70px;
	}

	#to_top {
		bottom: 60px;
	}

	.header_area,
	.pageIndex .header_area {
		position: relative;
	}

	.banner {
		height: 200px;
		background-position: center;
	}

	.banner h5 {
		font-size: 36px;
	}

	.banner h5:after {
		font-size: 18px;
	}
}


