/* CSS Document */

body {	-webkit-text-size-adjust:100%; font-family: 'Lato', 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:1170px; width: 100%; margin:0 auto; text-align:left; position:relative; clear:both;}

#content { font-size: clamp(16px, 1.3vw, 18px); line-height:1.6; color: #4b4b4b; letter-spacing: 0; font-weight: 400; padding-top: 150px;}

.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%;}
.demo-section.no-ad-gap { padding-top: 70px;} /* +20260918 路由未設定廣告banner(fn-fn-ad-inner)時麵包屑貼齊header會被固定定位左上角logo(z-index:10002)蓋住，補高避開 */

.font-size-15 { font-size: 15px;}
.font-size-18 { font-size: clamp(16px, 1.3vw, 18px);}
.font-size-19 { font-size: clamp(17px, 1.4vw, 19px);}
.font-size-20 { font-size: clamp(18px, 1.5vw, 20px);}
.font-size-21 { font-size: clamp(18px, 1.6vw, 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-Noto-Serif { font-family: "Noto Serif TC", sans-serif;}

.color-blue { color: #0a4594;}
.color-green { color: #009fb4;}
.color-white { color: #fff;}
.color-block-gray { color: #333;}
.color-black { color: #111;}
.color-red { color: #d71518;}

.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.6; font-size: clamp(16px, 1.3vw, 18px);}

.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: calc(20px + 4%);}

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

.banner-tool-pagination { position: absolute; z-index: 4; left: 10.5%; width:190px;; top: auto; height: auto;bottom: 30%;}
.banner-tool-pagination .swiper-pagination { top:auto !important; bottom: auto !important; text-align: left;}

.banner-tool-pagination .swiper-pagination-bullet-active:after { background: #d70c19; border: 1.5px solid #d70c19 !important;}
.banner-tool-pagination .swiper-pagination-bullet { margin: 0 5px !important; background: rgba(0,0,0,.35); opacity: 1; width: 17px; height: 17px; position: relative; border-radius: 100%;}
.banner-tool-pagination .swiper-pagination-bullet:after { width: 13px; height: 13px; position: absolute; content: ""; top:50%; left: 50%; transform: translate(-50%, -50%); border: 1.5px solid #fff; border-radius: 100%;}

.title-en-1 { color: #d71518; font-weight: 900; line-height: 1; text-transform: uppercase; padding-bottom: calc(10px + 1%);}
.title-en-2 { color: #7f8080; font-weight: 300; line-height: 1.1;font-size: clamp(30px, 3.5vw, 48px); padding:0 0  calc(20px + 2%) 0; margin: 0;font-family: 'Lato', sans-serif;}

.idx-link-section { padding: 0 60px 40px 60px; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between;}
.idx-link-section > div { width: calc((100% - 14px) / 3); background: #f1f1f1; position: relative; margin-bottom: 20px;}
.idx-link-pto { position: relative; display: block; height: 428px;}
.idx-link-pto:hover .idx-link-over-bg { background: rgba(215,21,24,.85); height: 100%;}
.idx-link-pto:hover .idx-link-content-btn { height: 60px;}
.idx-link-pto > img { object-fit: cover; width: 100%; height: 100%;}
.idx-link-pto:after { position: absolute; content: ""; bottom: 0; left: 0; width: 100%; height: 8px; background: #d71518; z-index: 5;}

.idx-link-over-bg { position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: rgba(0,0,0,.45); z-index: 3; transition: all 0.25s ease-out 0s;}
.idx-link-content { position: absolute; bottom: 0; left: 0; z-index: 4; transition: all 0.4s ease-out 0s; padding: 40px calc(20px + 1.5%); color: #fff;}
.idx-link-content-title { line-height: 1.1;font-size: 2.8vw; font-weight: 900; padding-bottom: 14px;}
.idx-link-content-data { font-size: 16px; line-height: 1.2; padding-bottom: 12px;}
.idx-link-content-btn { width: 60px; height: 0px; border-radius: 100%; background: #fff; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center;transition: all 0.1s ease-out 0s;overflow: hidden;}
.idx-link-content-btn img { width: 30px;}

.idx-link-bottom { padding: 30px 15px 10px 15px; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between;}
.idx-link-bottom > a { width: calc(50% - 9px); margin-bottom: 20px; background: #fff; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; padding: 15px;}
.idx-link-bottom > a:hover { background: #d71518;}
.idx-link-bottom > a:hover > div:nth-of-type(1) { filter: brightness(0) invert(1);}
.idx-link-bottom > a:hover > div:nth-of-type(2) { color: #fff;}
.idx-link-bottom > a:hover > div:nth-of-type(3) { background: #fff;}
.idx-link-bottom > a:hover > div:nth-of-type(3):after { border-color: #d71518;}
.idx-link-bottom > a > div:nth-of-type(1) { width: 35px; text-align: center;}
.idx-link-bottom > a > div:nth-of-type(2) { width: calc(100% - 30px - 18px); padding: 0 7px; line-height: 1.3; font-size: 16px;}
.idx-link-bottom > a > div:nth-of-type(3) { width: 18px; height: 18px; border-radius: 100%; background: #d5d5d5; position: relative;}
.idx-link-bottom > a > div:nth-of-type(3):after { content: ""; position: absolute; width: 6px; height: 6px; border-width: 1.5px 1.5px 0 0; border-style: solid; border-color: #fff; transform: translate(-50%, -50%) rotate(45deg) ; top:50%; left: 42%;}

.about-section { margin-bottom: calc(20px + 4%); background: #f1f1f1; display: flex; flex-direction: row; flex-wrap: wrap;}
.about-section > div:nth-of-type(1) { width: calc(50% - 42px); position: relative; padding: calc(20px + 4%) 0 calc(20px + 4%) 5%;}
.about-logo-name { position: absolute; left: 8%; width: 10%; top:42px;}
.about-content { max-width: 545px; margin: 0 0 0 auto; position: relative; z-index: 3;}
.about-section > div:nth-of-type(2) { width: calc(50% + 42px); position: relative;}
.about-section > div:nth-of-type(2):before { content: ""; position: absolute; z-index: 3; background: url("../images/about-pto-bg.png") no-repeat top right; background-size: 100% 100%; width: 365px; height: 100%;}
.about-section > div:nth-of-type(2) img { object-fit: cover; width: 100%; height: 100%;}

.btn-type-1 {display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center;}
.btn-type-1 > div:nth-of-type(1) { color: #7f8080; padding-right: 8px;}
.btn-type-1:hover > div:nth-of-type(1) { color: #d71518;}
.btn-type-1:hover > div:nth-of-type(2) { transform: scale(2);}
.btn-type-1 > div:nth-of-type(2) { width: 18px; height: 18px; border-radius: 100%; background: #d71518; position: relative;transition: all 0.3s ease-out 0s; transform-origin: 0% 50%;}
.btn-type-1 > div:nth-of-type(2):after { content: ""; position: absolute; width: 6px; height: 6px; border-width: 1.5px 1.5px 0 0; border-style: solid; border-color: #fff; transform: translate(-50%, -50%) rotate(45deg) ; top:50%; left: 42%;}

.idx-application-section { padding-bottom: calc(20px + 5%); display: flex; flex-direction: row; flex-wrap: wrap;}
.idx-application-section > div:nth-of-type(1) { width: 36%; padding-left: 8%; padding-top: 55px; padding-right: 55px;}
.idx-application-section > div:nth-of-type(2) { width: 64%; padding-right: 8%; overflow: hidden;}
.idx-application-list {  position: relative;}

.idx-application .swiper-slide { position: relative; border-top: 5px solid #515151; border-bottom: 5px solid #a4a4a4;transform: scale(0.85) !important;}
.idx-application .swiper-slide-active { transform: scale(1) !important;border-bottom: 5px solid #d71518;}
.idx-application .swiper-slide > img { width: 100%;}
.idx-application-content { position: absolute; z-index: 3; bottom: 0; left: 0; width: 100%; padding: 25px 20px; text-align: center; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.9) 10%, rgba(0,0,0,0) 100%); font-size: clamp(18px, 1.5vw, 20px); line-height: 1.1; min-height: 120px; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center;}

.idx-application-tool { position: absolute; top:50%; transform: translateY(-50%); left: 0; width: 100%; z-index: 3;}
.idx-application-btn { width: 46px; height: 46px; border-radius: 100%; background: #d71518; box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.16); display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; position: absolute;}
.idx-application-btn img {  width: 20px; filter: invert(1);}
.application-button-prev { left: 0;}
.application-button-next { right: 0;}

.idx-news-section { background: url("../images/idx-news-bg.jpg") no-repeat top center / cover; padding: calc(20px + 3.5%) 5% calc(20px + 1%) 5%;}
.idx-news-section .title-en-2 { padding-bottom: calc(10px + 1%);}

.idx-news { overflow: hidden; padding: 20px;}
.idx-news .swiper-slide { background: #fff; border-bottom-right-radius: 65px; box-shadow: 0px 7px 20px 0px rgba(0,0,0,0.06)}

.idx-news-pto { display: block; padding-bottom: 70.8%;}
.idx-news-pto img { transition: all 0.4s ease-out 0s; }
.idx-news-pto:hover img { transform: scale(1.1);}
.idx-news-content { padding: 30px;}
.idx-news-date { margin-bottom: 12px; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center;}
.idx-news-date > img { display: inline-block; margin-right: 8px;}
.idx-news-date > div { font-size: 13px; font-weight: 500; color: #717171;}
.idx-news-title { color: #65666b; font-size: 18px; min-height: 75px; margin-bottom: 15px; line-height: 1.4; font-weight: 700;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;}
.idx-news-btn { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center;}
.idx-news-btn:hover > div:nth-of-type(1) { background: #c01120;}
.idx-news-btn:hover > div:nth-of-type(1) > img:nth-of-type(1) { display: none;}
.idx-news-btn:hover > div:nth-of-type(1) > img:nth-of-type(2) { display: block;}
.idx-news-btn:hover > div:nth-of-type(2) { color: #c01120;}
.idx-news-btn:hover > div:nth-of-type(3) > div { width: 100%; background: #c01120;}
.idx-news-btn > div:nth-of-type(1) { width: 43px; height: 43px; border-radius: 100%; box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1); position: relative;}
.idx-news-btn > div:nth-of-type(2) { width: 110px; line-height: 1; text-align: right; padding-right: 10px; color: #7f8080; }
.idx-news-btn > div:nth-of-type(3) { width: calc(100% - 43px - 110px); position: relative;}
.idx-news-btn > div:nth-of-type(3) > div { width: 20px; height: 1px; background: #999999;transition: all 0.2s ease-out 0s; }
.idx-news-btn > div:nth-of-type(1) img { position: absolute; top:50%; left: 50%; transform: translate(-50%, -50%); width: 16px;}
.idx-news-btn > div:nth-of-type(1) img:nth-of-type(2) { filter: invert(1); display: none;}

.news-tool-pagination { width:100%; text-align: center; padding-top: 30px;}
.news-tool-pagination .swiper-pagination { top:auto !important; bottom: auto !important; text-align: left;}

.news-tool-pagination .swiper-pagination-bullet-active:after { background: #d70c19; border: 1.5px solid #d70c19 !important;}
.news-tool-pagination .swiper-pagination-bullet { margin: 0 5px !important; background: rgba(0,0,0,.35); opacity: 1; width: 17px; height: 17px; position: relative; border-radius: 100%;}
.news-tool-pagination .swiper-pagination-bullet:after { width: 13px; height: 13px; position: absolute; content: ""; top:50%; left: 50%; transform: translate(-50%, -50%); border: 1.5px solid #fff; border-radius: 100%;}


@media only screen and (max-width: 1365px) {
	.idx-link-bottom > a { width: 100%;}
}
@media only screen and (max-width: 1279px) {
	body { padding-bottom: 50px;}
	#content { padding-top: 70px;}
	
	#content , .p-layout { }
	
	.banner-pc { display: none !important}
	.banner-mobile { display: block !important; }
	
	.idx-link-pto { height: 340px;}
	
	.about-logo-name { display: none;}
	
	.idx-application-section > div:nth-of-type(1) { width: 100%; padding-left: 5%; padding-top: 0; padding-bottom: 30px; padding-right: 5%;}
	.idx-application-section > div:nth-of-type(2) { width: 100%; padding-right: 5%; padding-left: 5%;}
}

@media only screen and (max-width: 1023px) {
	
}
@media only screen and (max-width: 980px) {
	.idx-link-section { padding: 0 5% 20px 5%;}
	.idx-link-section > div { width: 100%;}
	
	.idx-link-content-title { font-size: clamp(24px, 2.5vw, 30px);}
	
	.about-section > div:nth-of-type(1) { width: 100%; padding: calc(20px + 4%) 5%;}
	.about-section > div:nth-of-type(2) { width: 100%; }
	.about-content { max-width: 100%;}
	.about-section > div:nth-of-type(2):before { display: none;}
}
@media only screen and (max-width: 768px) {
	.banner { margin-bottom: 40px;}
	.banner-tool-pagination { left: 0; width:100%;; bottom: -10px;}
	.banner-tool-pagination .swiper-pagination { text-align: center; transform: scale(0.7);}
	
	.idx-application-content { min-height: inherit;}
	.idx-application-btn { width: 34px; height: 34px; }
	.idx-application-btn img {  width: 15px;}
}
@media only screen and (max-width: 640px) {
	
}
@media only screen and (max-width: 570px) {
	
}

@media only screen and (max-width: 414px) {
	
	
}

@media only screen and (max-width: 320px) {
	
	
}