/* CSS Document */

body {	-webkit-text-size-adjust:100%; font-family: 'Noto Sans TC', sans-serif; overflow-x: hidden; position: relative; }
img {	border:0; }

/* Reset ================================================================================= */

a { text-decoration:none; transition: all 0.4s ease-out 0s; }
a:hover { text-decoration:none; }

* { box-sizing: border-box;}

.content-Box { max-width:1280px; width: 100%; margin:0 auto; text-align:left; position:relative; clear:both;}

#content { font-size: clamp(18px, 1.5vw, 20px); line-height:1.5; color: #333; letter-spacing: 0; font-weight: 400; padding-top: 120px;}

.photo-fit img { object-fit: cover; width: 100%; height: 100%; position: absolute; z-index: 1; left: 0; top: 0;}

.photo {line-height: 0; height: 0; padding-bottom: 40%; overflow: hidden; position: relative; z-index: 1; margin-bottom: 0px;}
.imgCenter {position: absolute; top: 0; left: 0; right: 0; bottom: 0; line-height: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; z-index: 2;}
.imgCenter img {max-height: 100%;}

.demo-section { padding-left: 5%; padding-right: 5%;}

.font-size-15 { font-size: 15px;}
.font-size-18 { font-size: clamp(16px, 1.3vw, 18px);}
.font-size-20 { font-size: clamp(18px, 1.5vw, 20px);}
.font-size-21 { font-size: clamp(18px, 1.5vw, 21px);}
.font-size-22 { font-size: clamp(20px, 1.7vw, 22px);}
.font-size-24 { font-size: clamp(20px, 1.9vw, 24px);}
.font-size-26 { font-size: clamp(20px, 2.1vw, 26px);}
.font-size-28 { font-size: clamp(24px, 2.2vw, 28px);}
.font-size-30 { font-size: clamp(24px, 2.5vw, 30px);}
.font-size-32 { font-size: clamp(26px, 2.7vw, 32px);}
.font-size-34 { font-size: clamp(26px, 2.9vw, 34px);}
.font-size-36 { font-size: clamp(28px, 3.3vw, 36px); line-height: 1.3;}
.font-size-40 { font-size: clamp(28px, 3.5vw, 40px); line-height: 1.3;}
.font-size-42 { font-size: clamp(30px, 3.5vw, 42px); line-height: 1.3;}
.font-size-44 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.3;}
.font-size-48 { font-size: clamp(34px, 3.5vw, 48px); line-height: 1.3;}
.font-size-50 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.3;}
.font-size-60 { font-size: clamp(40px, 4vw, 60px); line-height: 1.2;}
.font-size-70 { font-size: clamp(40px, 4.4vw, 70px); line-height: 1.1;}

.font-Serif { font-family: "Noto Serif TC", sans-serif;}

.color-blue { color: #0a4594;}
.color-green { color: #009fb4;}
.color-white { color: #fff;}
.color-black { color: #111;}

.align-center { text-align: center !important;}
.align-left { text-align: left !important;}
.align-right { text-align: right !important;}
.align-justify { text-align: justify!important;}

.weight-100 { font-weight: 100;}
.weight-300 { font-weight: 300;}
.weight-400 { font-weight: 400;}
.weight-500 { font-weight: 500;}
.weight-600 { font-weight: 600;}
.weight-700 { font-weight: 700;}
.weight-900 { font-weight: 900;}

.p-layout { padding: 0; margin:0 0 calc(20px + 2%) 0; font-weight: 400; line-height: 1.5; font-size: clamp(18px, 1.5vw, 20px);}

.layout-wrap { display: flex; flex-direction: row; flex-wrap: wrap;}
.layout-nowrap { display: flex; flex-direction: row; flex-wrap: nowrap;}

.hr-type-1 { padding: 0 !important; margin: 20px 0 !important;}

.title-type-1 { line-height: 1.3; padding-bottom: 10px;}
.title-type-2 { line-height: 1.3; padding-bottom: calc(15px + 1%);}

.banner { position: relative; margin-bottom: 30px;}

.banner-pc { display: block !important; width: 100%;}
.banner-mobile { display: none !important; width: 100%; }

.banner-tool-box { position: absolute; z-index: 4; left: 0; width:100%; top: auto; height: auto;bottom: calc(25px + 7%);}
.banner-tool-box .swiper-pagination { top:auto !important; bottom: auto !important; }

.banner .swiper-pagination-bullet-active { background: #c6010f !important;}
.banner .swiper-pagination-bullet { margin: 0 8px !important; background: #dedede; opacity: 1;}

.idx-about-section { background: url("../images/idx-about-bg.jpg") no-repeat top center / cover; background-attachment: fixed; padding: calc(20px + 6%) 0; background-color: #eaddcd; margin-bottom: calc(20px + 3%);}
.idx-about-content { max-width: 960px; width: 100%; margin: 0 auto 0 0; padding: 0 8%; font-size: clamp(20px, 1.7vw, 22px); line-height: 1.8;  }
.idx-about-pto { display: none;}

.title-1 { padding:0 0 20px 0; margin:0 0 0 0;font-size: clamp(30px, 3.5vw, 50px); font-weight: 900; color: #111; ; position: relative; line-height: 1.3; font-family: "Noto Serif TC", sans-serif; letter-spacing: 0;}

.btn-type-1 { display: block; width: 180px; line-height: 50px; color: #333 !important; text-align: center; font-size: 16px; border-radius: 30px;  position: relative; overflow: hidden; border: 1px solid #111;}
.btn-type-1 > span { position: relative; z-index: 2; font-size: clamp(18px, 1.5vw, 20px);font-weight: 400; letter-spacing: 0.1rem; color: #111;font-family: 'Noto Sans TC', sans-serif;}
.btn-type-1:after { background: #c6010f; bottom: 0; width: 0%; height: 100%; right: -10px; content: ""; display: block; position: absolute;transition: all 0.25s ease-out 0s; transform: skewX(-20deg);}
.btn-type-1:hover { border: 1px solid #c6010f;}
.btn-type-1:hover > span { color: #fff !important;}
.btn-type-1:hover:after { width: 120%; left: -10px;}

.title-2 { padding:0 calc(20px + 2%); margin:0 auto calc(25px + 1%) auto;font-size: clamp(28px, 3.8vw, 44px); font-weight: 900; color: #111; ; position: relative; line-height: 1.3; font-family: "Noto Serif TC", sans-serif; letter-spacing: 0; width: fit-content;}
.title-2:before { content: ""; position: absolute; width: 1px; height: 100%; background: #111; transform: rotate(30deg) translateY(-50%); left: 0; top:50%;}
.title-2:after { content: ""; position: absolute; width: 1px; height: 100%; background: #111; transform: rotate(30deg) translateY(-50%); right: 12%; top:50%;}

.loop-news { margin-bottom: calc(20px + 3%);}
.loop-news .owl-dots { display: none !important;}
.loop-news .owl-item {position: relative; opacity: 0.4;}
.loop-news .owl-item.center { opacity: 1;}
/*.loop-news .owl-item:hover {background: #525252;}
.loop-news .owl-item:hover .idx-news-pto img {transform: scale(1.05);}
.loop-news .owl-item:hover .news-list-btn > div {color: #b81c25;}
.loop-news .owl-item:hover .news-list-btn > img {filter: none;}
.loop-news .owl-item:hover .news-list-title, .loop-news .owl-item:hover .news-list-data {color: #fff;}*/
.loop-news .owl-nav { position: absolute; top:44%; transform: translateY(-50%); left: 0; width: 100%; z-index: 11; }
.loop-news .owl-prev, .loop-news .owl-next { position:absolute; z-index:100; top:50%; transform: translateY(-50%); background:#3e3e3e !important; width: 44px; height: 44px; border-radius: 100% !important; margin: 0 !important; }
.loop-news .owl-prev:hover, .loop-news .owl-next:hover { background:#c6010f !important;}
.loop-news .owl-prev:hover:before, .loop-news .owl-next:hover:before { filter:invert(0); }
.loop-news .owl-prev { left:20px; }
.loop-news .owl-next { right:20px;}
.loop-news .owl-prev:before, .loop-news .owl-next:before { content: "";font-family: 'Font Awesome 5 Free';font-weight: 900 !important;font-size:70px; color: #fff; opacity: 1;transition: all 0.4s ease-out 0s;  position: absolute; top:50%; left: 50%;  width: 12px; height: 12px; border-width: 1px 1px 0 0; border-color: #fff; border-style: solid;}
.loop-news .owl-prev:before {  transform: translate(-20%, -50%) rotate(-135deg); }
.loop-news .owl-next:before { transform: translate(-80%, -50%) rotate(45deg); }
.loop-news .owl-prev:hover:before, .loop-news .owl-next:hover:before { opacity: 1;}
.loop-news .owl-stage-outer {z-index: 2;}
.loop-news .owl-dots { position: absolute; z-index: 100; left: 50%; bottom: 5%; transform: translateX(-50%); text-align: center !important; padding: 0 0px; width: 100%; }
.loop-news .owl-dots .owl-dot span, .loop-news  .owl-dots .owl-dot span { background: transparent !important; width: 13px !important; height: 13px !important; margin: 10px !important; box-shadow:inset 0px 0px 0px 1.5px #fff;}
.loop-news .owl-dots .owl-dot.active span, .loop-news  .owl-dots .owl-dot:hover span { opacity: 1;background: #d70c19 !important; box-shadow:inset 0px 0px 0px 0px #fff;}

.idx-news-pto { padding-bottom: 50%; margin-bottom: 22px;}
.idx-news-name { text-align: center; font-weight: 500;font-size: clamp(20px, 1.7vw, 22px); color: #333;}

.idx-blog-section { background: #eaddcd; position:relative; padding: 40px 5% 0 5%; margin-bottom: calc(20px + 3%); overflow: hidden;}
.idx-blog-section .content-Box { z-index: 3;}
.idx-blog-bg-1 { position: absolute; left: 0; bottom: -70px; width: 33%;}
.idx-blog-bg-2 { position: absolute; right: 20px; top: -40px; width: 25%;}

.idx-blog-content { display: flex; flex-direction: row; flex-wrap: wrap;}
.idx-blog-content > div:nth-of-type(1) { width: 40%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; padding: 0 5%;}
.idx-blog-content > div:nth-of-type(2) { width: 60%; padding-top: calc(20px + 2%);}

.idx-blog-list { padding-bottom: 30px;}
.idx-blog-list > a { display: block; position: relative; border-bottom: 1px solid #c1c1c1; padding: 12px;}
.idx-blog-list > a:hover span { color: #c6010f;}
.idx-blog-list > a:before { position: absolute; content: ""; width: 32px; height: 32px; border-radius: 100%; background: #daa520; opacity: 0.3; left: 0; top: 5px;}
.idx-blog-list > a > span { position: relative; z-index: 2; color: #333; font-size: clamp(20px, 2.1vw, 26px);
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;}

.idx-pro-section { padding: 0 calc(20px + 2%) calc(20px + 4%) calc(20px + 3%);display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; grid-gap: 40px 20px;}
.idx-pro-section > a, .idx-pro-section > div { width: calc((100% - 80px) / 3); position: relative; z-index: 1;}
.idx-pro-section > a:hover .idx-pro-pto img, .idx-pro-section > div:hover .idx-pro-pto img { opacity: 0.3;}
.idx-pro-section > a:hover .idx-pro-over, .idx-pro-section > div:hover .idx-pro-over { opacity: 1;}
.idx-pro-pto { position: relative; z-index: 1; margin-bottom: 20px; }
.idx-pro-pto img { transition: all 0.4s ease-out 0s; }
.idx-pro-over { position: absolute; width: 60px; height: 60px; z-index: 3; top:50%; left: 50%; transform: translate(-50%, -50%); opacity: 0;}
.idx-pro-title { color: #333;}
.idx-pro-title span { display: block; font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; padding-bottom: 4px;}
.idx-pro-title a:hover {color: #C6010F;}

.idx-recommend-section { padding: 0 calc(20px + 2%) calc(20px + 4%) calc(20px + 3%);}

.loop-recommend { }
.loop-recommend .owl-dots { display: none !important;}
.loop-recommend .owl-item {position: relative; }
.loop-recommend .owl-nav { position: absolute; top:50%; transform: translateY(-50%); left: 0; width: 100%; z-index: 11; }
.loop-recommend .owl-prev, .loop-recommend .owl-next { position:absolute; z-index:100; top:50%; transform: translateY(-50%); background:#3e3e3e !important; width: 44px; height: 44px; border-radius: 100% !important; margin: 0 !important; }
.loop-recommend .owl-prev:hover, .loop-recommend .owl-next:hover { background:#c6010f !important;}
.loop-recommend .owl-prev:hover:before, .loop-recommend .owl-next:hover:before { filter:invert(0); }
.loop-recommend .owl-prev { left:20px; }
.loop-recommend .owl-next { right:20px;}
.loop-recommend .owl-prev:before, .loop-recommend .owl-next:before { content: "";font-family: 'Font Awesome 5 Free';font-weight: 900 !important;font-size:70px; color: #fff; opacity: 1;transition: all 0.4s ease-out 0s;  position: absolute; top:50%; left: 50%;  width: 12px; height: 12px; border-width: 1px 1px 0 0; border-color: #fff; border-style: solid;}
.loop-recommend .owl-prev:before {  transform: translate(-20%, -50%) rotate(-135deg); }
.loop-recommend .owl-next:before { transform: translate(-80%, -50%) rotate(45deg); }
.loop-recommend .owl-prev:hover:before, .loop-recommend .owl-next:hover:before { opacity: 1;}
.loop-recommend .owl-stage { margin: 0 auto;}
.loop-recommend .owl-stage-outer {z-index: 2;}
.loop-recommend .owl-dots { position: absolute; z-index: 100; left: 50%; bottom: 5%; transform: translateX(-50%); text-align: center !important; padding: 0 0px; width: 100%; }
.loop-recommend .owl-dots .owl-dot span, .loop-recommend  .owl-dots .owl-dot span { background: transparent !important; width: 13px !important; height: 13px !important; margin: 10px !important; box-shadow:inset 0px 0px 0px 1.5px #fff;}
.loop-recommend .owl-dots .owl-dot.active span, .loop-recommend  .owl-dots .owl-dot:hover span { opacity: 1;background: #d70c19 !important; box-shadow:inset 0px 0px 0px 0px #fff;}

.idx-recommend-content { position: relative; padding: 0 40px 40px 40px;transition: all 0.4s ease-out 0s;}
.idx-recommend-content:hover { transform: scale(0.95);}
.idx-recommend-content:hover .idx-recommend-btn { color: #c6010f;}
.idx-recommend-content:after { position:absolute; content: ""; z-index: -1; border-radius: 3vw; border: 1px solid #eaddcd; background: linear-gradient(0deg, #fff 0%, #eadece 100%); width: 100%; height: calc(100% - 90px); left: 0; bottom: 0;}
.idx-recommend-pto { width: 180px; border-radius: 100%; margin: 0 auto 25px auto; overflow:hidden;}
.idx-recommend-title { color: #333; font-size: clamp(24px, 2.2vw, 28px); line-height: 1.3; padding-bottom: 12px; font-weight: 500;}
.idx-recommend-data {  margin-bottom: 15px; line-height: 1.4; color: #333;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;}
.idx-recommend-btn { font-size: clamp(16px, 1.3vw, 18px); color: #333; text-decoration: underline;}

.idx-odm-top-section { padding-bottom: 30px; text-align: center; padding-left: 5%; padding-right: 5%;}

.idx-odm-content-box { padding-bottom: 25px;}
.idx-odm-content { background: #eaddcd; display: flex; flex-direction: row; flex-wrap: wrap; }
.idx-odm-content > div:nth-of-type(1) { width: calc(50% + 105px);}
.idx-odm-content > div:nth-of-type(1) img { object-fit: cover; width: 100%; height: 100%;}
.idx-odm-content > div:nth-of-type(2) { width: calc(50% - 105px); padding:calc(20px + 4%) 5%;}

.idx-odm-data { border-bottom: 1px solid #a2998f; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; padding-bottom: calc(20px + 4%); margin-bottom: calc(20px + 4%);}
.idx-odm-data > div:nth-of-type(1) { width: 130px; height: 130px; border-radius: 100%; border: 1px solid #333;display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center;}
.idx-odm-data > div:nth-of-type(1) img { max-width: 83px; max-height: 78px;}
.idx-odm-data > div:nth-of-type(2) { width: calc(100% - 130px); padding-left: calc(20px + 2%); line-height: 1.4;}
.idx-odm-data > div:nth-of-type(2) span { display: block;font-size: clamp(24px, 2.2vw, 28px); font-weight: 500; line-height: 1.3; padding-bottom: 6px;}

.idx-odm-btn {width: 100%; max-width: 400px;margin: 0 auto; line-height: 80px; text-align: center; border-radius: 20vw; color: #fff !important; font-weight: 700;font-size: clamp(24px, 2.5vw, 30px);background: linear-gradient(90deg, #ad7c0f 0%, #f3b600 50%, #ad7c0f 100%); display: block;}
.idx-odm-btn:hover { transform: scale(0.9);}

.idx-ce-section { background: #f1f1f1; padding: calc(20px + 3%) 5% calc(10px + 2%) 5%;}
.idx-ce-list { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; margin-right: -1.5vw;}
.idx-ce-list > div { margin-right: 1.5vw; padding-bottom: 20px;}

@media only screen and (max-width: 1279px) {
	body { padding-bottom: 45px;}
	#content { padding-top: 70px;}
	
	#content , .p-layout { }
	
	.banner { margin-bottom: 15px;}
	.banner-pc { display: none !important}
	.banner-mobile { display: block !important; }
	
	.idx-about-section { background: url("../images/idx-about-bg.jpg") no-repeat top center / auto 100%; background-color: #eaddcd;}
	
	.idx-odm-content > div:nth-of-type(1) { width: 100%; order: 2;}
	.idx-odm-content > div:nth-of-type(2) { width: 100%; order: 1; padding:calc(20px + 4%) 5%;}
	.idx-odm-data { padding-bottom: calc(20px + 2%); margin-bottom: calc(20px + 2%);}
}

@media only screen and (max-width: 980px) {
	.idx-blog-bg-1 { bottom: -30px; }
	.idx-blog-bg-2 { top: -20px; right: 0; }
	
	.idx-pro-section > a, .idx-pro-section > div { width: calc((100% - 40px) / 3);}
    .idx-pro-over {display: none!important;}
	
	.idx-recommend-pto { width: 100px;}
	.idx-recommend-content:after { height: calc(100% - 50px);}
	
}
@media only screen and (max-width: 768px) {
	.idx-about-section { /*background: linear-gradient(90deg, #eaddcd 35%, rgba(255,255,255,0) 100%),  url("../images/idx-about-bg.jpg") no-repeat 60% 50% / auto 100%;*/ background: #eaddcd; padding-bottom: 0;}
	.idx-about-content { margin-bottom: 40px; padding: 0 5%;}
	.idx-about-pto { display: block;}
	
	.loop-news .owl-item {  opacity: 1;}
	.loop-news .owl-prev { left:0px;transform: translateY(-50%) scale(0.6);  }
	.loop-news .owl-next { right:0px; transform: translateY(-50%) scale(0.6); }
	
	.idx-blog-content > div:nth-of-type(1) { width: 100%; justify-content: center;}
	.idx-blog-content > div:nth-of-type(1) img { max-width: 200px;}
	.idx-blog-content > div:nth-of-type(2) { width: 100%; padding-top: calc(20px + 2%); padding-bottom: 20px;}
	.idx-blog-bg-1 { display: none;}
	.idx-blog-bg-2 { width: 45%; top:30px;}
	
	.idx-pro-section { padding-left: 5%; padding-right: 5%; grid-gap: 0;}
	.idx-pro-section > a, .idx-pro-section > div { width: 100%; padding-bottom: 35px;}
	
	.idx-recommend-section  { padding-left: 5%; padding-right: 5%;}
	.loop-recommend .owl-prev { left:-20px;transform: translateY(-50%) scale(0.6);  }
	.loop-recommend .owl-next { right:-20px; transform: translateY(-50%) scale(0.6); }
	
	.idx-odm-btn { line-height: 70px; max-width: 300px;}
	
}
@media only screen and (max-width: 640px) {
	.loop-news .owl-nav { top:40%;}
	
	.idx-odm-data > div:nth-of-type(1) { width: 80px; height: 80px; padding: 14px;}
	.idx-odm-data > div:nth-of-type(1) img { max-width: 50px; max-height: 60px;}
	.idx-odm-data > div:nth-of-type(2) { width: calc(100% - 80px);}
	
	.idx-ce-list { margin-right: 0; flex-wrap: wrap;}
	.idx-ce-list > div { margin:0; padding-left: 1vw; padding-right: 1vw; width: 25%; text-align: center;}
	.idx-ce-list > div > img { max-height: 100px;}
}
@media only screen and (max-width: 570px) {
	
}

@media only screen and (max-width: 414px) {
	.loop-news .owl-nav { top:35%;}
	
}

@media only screen and (max-width: 320px) {
	.idx-about-content .title-1 > br { display: none;}
}
