/* CSS Document */

body {	-webkit-text-size-adjust:100%; font-family: 'Noto Sans TC', sans-serif; overflow-x: hidden; position: relative; background: #fafafa; }
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:1440px; width: 100%; margin:0 auto; text-align:left; position:relative; clear:both;}

#content { font-size: 17px; line-height:1.7; color: #333; letter-spacing: 0; font-weight: 400; padding-top: 0px;}

.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: 3%; padding-right: 3%;}

.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.6vw, 21px);}
.font-size-22 { font-size: clamp(20px, 1.7vw, 22px);}
.font-size-24 { font-size: clamp(20px, 1.9vw, 24px);}
.font-size-28 { font-size: clamp(22px, 2.2vw, 28px);}
.font-size-30 { font-size: clamp(22px, 2.5vw, 30px);}
.font-size-32 { font-size: clamp(22px, 2.6vw, 32px);}
.font-size-36 { font-size: clamp(22px, 3.3vw, 36px); line-height: 1.3;}
.font-size-40 { font-size: clamp(26px, 3.3vw, 40px); line-height: 1.3;}
.font-size-42 { font-size: clamp(26px, 3.3vw, 42px); line-height: 1.3;}
.font-size-44 { font-size: clamp(26px, 3.5vw, 44px); line-height: 1.3;}
.font-size-48 { font-size: clamp(26px, 3.5vw, 48px); line-height: 1.3;}
.font-size-60 { font-size: clamp(32px, 4vw, 60px); line-height: 1.2;}

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

.color-white { color: #fff !important;}
.color-red { color: #dd181d !important;}
.color-orange { color: #e17a15 !important;}
.color-gray { color: #333 !important;}
.color-green { color: #32a2b0 !important;}
.color-black { color: #000 !important;}

.align-center { text-align: center !important;}
.align-left { text-align: left !important;}
.align-right { text-align: right !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 { margin: 0; padding:0 0 calc(20px + 1%) 0; font-weight: 400; line-height: 1.7; font-size: 17px;}

.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 { padding-bottom: calc(10px + 1%);line-height: 1.3;}

.banner { position:relative; margin-bottom: calc(20px + 4%);}
.banner-pc { }
.banner-mobile { display: none;}
.loop { margin-bottom: 0px;position: relative;}
.loop .owl-dots { display: none;}
.loop .owl-item {position: relative; }
.loop .owl-item a {display: block; width: 100%;}
.loop .owl-item > div {display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: center;}
.loop .owl-nav { position: absolute; bottom:28%;left:14%; width: 110px; z-index: 11; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between;;}
.loop .owl-prev, .loop .owl-next { position:absolute; z-index:100; top:50%; transform: translateY(-50%); background:transparent !important; width: 50px; height: 50px; border-radius: 0% !important; border: 1px solid #4b4b4b !important;  text-align: center; margin: 0 !important; }
.loop .owl-prev { left:0px; }
.loop .owl-next { right:0px;}
.loop .owl-prev:before, .loop .owl-next:before { font-family: 'Font Awesome 5 Free';font-weight: 900 !important;font-size:30px; color: #fff; opacity: 1;transition: all 0.4s ease-out 0s; display: block;width: 15px; height: 15px; background-size: contain; margin: 0 auto; background-repeat: no-repeat;}
.loop .owl-prev:before { background-image:url(../images/prev.png);content: "";margin-right: 15px;  }
.loop .owl-next:before { background-image:url(../images/next.png); content: ""; margin-right: 12px;  }
/*.loop .owl-prev:hover:before, .loop .owl-next:hover:before { opacity: 1;}*/
.loop .owl-prev:hover, .loop .owl-next:hover { }
.loop .owl-stage-outer {z-index: 2;}
.loop .owl-dots { position: absolute; z-index: 100; bottom: 20px; width: 100%; text-align: center !important; padding: 0 50px; }
.loop .owl-dots .owl-dot span, .loop  .owl-dots .owl-dot span { background: #a9a089 !important; width: 10px !important; height: 10px !important; border-radius: 100%;}
.loop .owl-dots .owl-dot.active span, .loop  .owl-dots .owl-dot:hover span { background: #333333 !important; }

.banner-number { position: absolute; z-index: 6; bottom: 26.5%; left: calc(12% + 170px);  text-align: center; height: auto; width: auto;}
.counter, .counters { font-size: 16px; display: inline-block; position: relative; font-weight: 500;}
.counter { color: #dd181d; padding-right: 15px; }
.counter:after { content: ""; position: absolute; width: 1px; height: 13px; transform: rotate(30deg); top: 9px; right: 4px; background: #333;}
.counters { font-size: 15px; color: #333; }

.banner-scroll { position: absolute; z-index: 5; left: 50%; bottom: 20px; transform: translateX(-50%);cursor: pointer;/*animation-name: line-animate;animation-duration: 2.5s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; */}
.banner-scroll img { width: 80px;transition: all 0.4s ease-out 0s;}
.banner-scroll:hover img { width: 70px;}

.bannerleft-bg { position: absolute; z-index: 2; pointer-events: none; width: 12%; bottom: -10%;}

.idx-about-section { position: relative; padding: 0 3% calc(20px + 2%) 3%;}
.right-red-box { position: absolute; width: 11.5%; right: 0; bottom: -15%; z-index: 1;}

.idx-about-content { display: flex; flex-direction: row; flex-wrap: wrap; position: relative; z-index: 3;}
.idx-about-content > div { width: 50%;}
.idx-about-content > div:nth-of-type(1) { padding-right: 4%;}

.title01 { font-size: clamp(22px, 2.5vw, 30px);; line-height: 1.2; font-weight: 500;font-family: 'Noto Sans TC', sans-serif;  margin: 0 0 calc(15px + 1%) 0; padding: 0 0 0 22px; position: relative;}
.title01:before { content: ""; position: absolute; width: 8px; height: 25px; border-radius: 4px; background: #dd181d; left: 0; top:50%; transform: translateY(-50%);}

.btn01 { width: 200px; height: 60px; padding: 0 20px; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; border: 2px solid #dd181d; position: relative; overflow: hidden; border-radius: 30px; }
.btn01:before, .btn01:after { content: ""; position: absolute; width: 250px; height: 250px; left: 50%; top: 60%; background: #dd181d; border-radius: 100%; transform:translate(-50%,-50%) scale(0.4);transition: all 0.4s ease-out 0s;}
.btn01:before { transform-origin: 0% 100%; }
.btn01:after { transform-origin: 100% 0%; top:40%;}
.btn01:hover:before, .btn01:hover:after { transform:translate(-50%,-50%) scale(1);}
.btn01 > div { font-size: clamp(16px, 1.3vw, 18px); color: #dd181d !important; position: relative; z-index: 2; line-height: 1; font-weight: 400;}
.btn01:hover > div { color: #fff !important;}

.idx-service-section { padding-top: calc(20px + 3.5%); padding-bottom: calc(20px + 1.5%); background: #f1f1f1;}
.idx-service-content { display: flex; flex-direction: row; flex-wrap: wrap; z-index: 3; padding-top: 30px;}
.idx-service-content > div { width: 20%; padding: 0 2vw 25px 2vw; display: flex; flex-direction: column; flex-wrap: wrap; }
.idx-service-content > div > div { width: 100%; text-align: center; }
.idx-service-pto { margin-bottom: 20px;}

.idx-news-section { padding-top: calc(20px + 3.5%); padding-bottom: calc(20px + 1.5%); position: relative;}
.left-red-box { position: absolute; width: 10%; left: 0; bottom: -15%; z-index: 1;}

.idx-news-box { position: relative; z-index: 2;}
.idx-news-title-box  { border-bottom: 1px solid #dadada; padding-bottom: 20px; margin-bottom: 40px; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center;}

.idx-news-tool { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; }
.idx-news-tool > div:nth-of-type(1) { margin-right: 2.5vw;}
.idx-news-tool > div:nth-of-type(2) { position:relative; width: 110px;}

.idx-news-content { position: relative; padding: 18px calc(20px + 4%);}
.idx-news-content:after { position: absolute; content: ""; width: 1px; height: 63%; background: #dadada; top: 0; right: 0;}
.idx-news-pto { margin-bottom: 20px; border-radius: 20px; overflow:hidden; padding-bottom: 65%; display: block;}
.idx-news-pto img { transition: all 0.4s ease-out 0s;}
.idx-news-pto:hover img { transform: scale(1.05);}

.idx-news-bottom-box { padding: 0 20px;}
.idx-news-info { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; margin:0 0 15px 0;}
.idx-news-tag { line-height: 1; padding: 4px 8px 6px 8px;; color: #fff; background: #dd181d; margin-right: 15px; border-radius: 5vw; font-size:13px;}
.idx-news-date { line-height: 1; color: #999999; font-size: 15px;}
.idx-news-title { font-weight: 500; line-height: 1.3; margin-bottom: 12px; display: block;}
.idx-news-title:hover { color: #dd181d;}
.idx-news-data { font-size: 16px; line-height: 1.3;white-space:nowrap; text-overflow : ellipsis; overflow:hidden; margin-bottom: calc(20px + 1.5%); color: #777;}
.idx-news-btn { display: block; position: relative; padding-bottom: 7px; padding-left: 20px; color: #616161; font-size: 14px;  letter-spacing: 0.05rem; width: fit-content; text-transform: uppercase;}
.idx-news-btn:before { position:absolute; content: ""; width: 7px; height: 7px; border-radius: 100%; background: #dd181d; left: 0;top:10px;}
.idx-news-btn:after { transition: all 0.4s ease-out 0s; position: absolute; content: ""; bottom: 0; right: 0; width: 0; height: 1px ;background: #dd181d;}
.idx-news-btn:hover:after { width: 100%; left: 0;}
.idx-news-btn:hover { color: #dd181d;}

.swiper-next, .swiper-prev { width: 50px !important; height: 50px !important; border-radius: 100%; background: #fff; position: absolute; z-index: 2; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; top:calc(50% - 20px);filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.2)); transform: translateY(-5px);}
.swiper-next:hover, .swiper-prev:hover { background: #dd181d;}
.swiper-next:after, .swiper-prev:after { content: ""; display: block; width: 14px; height: 12px ; border-width: 1px 1px 0 0; border-color: #111; border-style: solid;}
.swiper-next:hover:after, .swiper-prev:hover:after { border-color: #fff;}
.swiper-prev:after { transform: rotate(-135deg); margin-left: 4px;}
.swiper-next:after { transform: rotate(45deg); margin-right: 4px;}
.swiper-prev { left: 0px;}
.swiper-next { right: 0px;}

.idx-bottom-box { padding-top: calc(20px + 5%); padding-bottom: calc(20px + 2%); background: #f6f6f6;}
.idx-bottom-section { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start;}
.idx-bottom-section > div:nth-of-type(1) { width: 60%; padding-right: 5%;}
.idx-bottom-section > div:nth-of-type(2) { width: 40%; padding: 0 5%; position: relative;}

.idx-rules-list {display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; border-bottom: 1px solid #dddddd; padding-bottom: 25px; margin-bottom: 25px; line-height: 1.3;}
.idx-rules-tag { width: 78px; border-radius: 5vw; background: #dd181d; color: #fff;line-height: 1; padding: 4px 10px 6px 10px; font-size: 13px; text-align: center; margin-top: 15px;}
.idx-rules-date { width: 130px; padding-left: 14px; color: #999999; font-size: 16px; margin-top: 15px;}
.idx-rules-title { color: #333; width: calc(100% - 78px - 130px); display: block;display: flex; flex-direction: row; flex-wrap: wrap; align-items: center;}
.idx-rules-title img { width: 34px; display: inline-block; margin: 6px 10px;}
.idx-rules-title:hover { color: #dd181d;}

.welfare-Swiper { position:relative;}
.idx-welfare-link { border-radius: 20px; background: #fff; padding: 14px;display: block;}
.idx-welfare-pto { padding-bottom: 100%; margin-bottom: 12px; }
.idx-welfare-pto img { transition: all 0.4s ease-out 0s;}
.idx-welfare-pto:hover img { transform: scale(1.05);}
.idx-welfare-name { text-align: center; color: #333;font-size: clamp(18px, 1.5vw, 20px); line-height: 1.3;}

.swiper-next-welfare, .swiper-prev-welfare { width: 50px !important; height: 50px !important; border-radius: 100%; background: #fff; position: absolute; z-index: 2; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; top:53%; transform: translateY(-50%);filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.2)); }
.swiper-next-welfare:hover, .swiper-prev-welfare:hover { background: #dd181d;}
.swiper-next-welfare:after, .swiper-prev-welfare:after { content: ""; display: block; width: 14px; height: 12px ; border-width: 1px 1px 0 0; border-color: #111; border-style: solid;}
.swiper-next-welfare:hover:after, .swiper-prev-welfare:hover:after { border-color: #fff;}
.swiper-prev-welfare:after { transform: rotate(-135deg); margin-left: 4px;}
.swiper-next-welfare:after { transform: rotate(45deg); margin-right: 4px;}
.swiper-prev-welfare { left: 10px;}
.swiper-next-welfare { right: 10px;}


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

@media only screen and (max-width: 980px) {
	body { margin-bottom: 50px;}
	#content { padding-top: 60px; font-size: 16px;}
	.p-layout { font-size: 16px;}
	.banner-pc { display: none}
	.banner-mobile { display: block;}
	
	.loop .owl-nav, .banner-number { transform: scale(0.8); transform-origin: 100% 100%;}
	.loop .owl-nav { bottom: 52px;}
	.banner-number {  bottom: 40px; left: calc(12% + 135px);}
	
	.banner-scroll { display:none;}
	
	.idx-about-content > div { width: 100%;}
	.idx-about-content > div:nth-of-type(1) { padding-right: 0; order: 2; text-align: center;}
	.idx-about-content > div:nth-of-type(2) { order: 1;}
	
	.btn01 { width: 160px; height: 50px; padding: 0 20px; border-radius: 25px; }
	
	.right-red-box { bottom: -5%; }
	
	.idx-service-content { justify-content: center;}
	.idx-service-content > div { width: 33.33%; }
	
	.idx-bottom-section > div:nth-of-type(1) { width: 100%; padding-right: 0%;}
	.idx-bottom-section > div:nth-of-type(2) { width: 100%; max-width: 500px; margin: 0 auto;}
	.swiper-prev-welfare { left: 0px;}
	.swiper-next-welfare { right: 0px;}
}
@media only screen and (max-width: 768px) {
	
}
@media only screen and (max-width: 640px) {
	.left-red-box {bottom: -3%;}
	
	.idx-rules-list { padding-bottom: 15px; margin-bottom: 15px; }
	.idx-rules-title { width: 100%; padding-top: 8px;}
}
@media only screen and (max-width: 570px) {
	.loop .owl-nav, .banner-number { transform: scale(0.4);transform-origin: 0% 100%; }
	.loop .owl-nav { bottom: 20px; left: 20px;;}
	.banner-number {  bottom: 13px; left: 85px;}
	
	.bannerleft-bg { display:none;}
	
	.idx-service-content > div { width: 50%; }
	
	.idx-news-content { padding: 18px 10px;}
	.idx-news-content::after { display: none;}
}

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

}

@media only screen and (max-width: 320px) {
	.idx-news-tool { flex-direction: column; width: 100%;}	
	.idx-news-tool > div:nth-of-type(2) { margin: 40px 0 20px 0;}	

}
