@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* 首頁廣告圖片 20241217 */
body.hideWindow {
	overflow: hidden;
}

.indexImg {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 999999;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	background: rgba(255, 255, 255, .5);
	padding: 20px;
}

.indexImg::before {
	content: '';
	width: 100%;
	height: 100%;
	backdrop-filter: blur(5px);
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}

.indexImg_cont {
	position: relative;
	z-index: 5;
	overflow: hidden;
	max-width: 100%;
	max-height: 100%;
	display: flex;
}

.indexImg_cont form {
	max-height: 100%;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.indexImg_close {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 20;
	font-size: 20px;
	padding: 10px;
	line-height: 1;
	cursor: pointer;
	background: rgba(255, 255, 255, .3);
}

.indexImg_check {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	/* width: 100%; */
	padding: 10px;
}

.indexImg_check input+label {
	padding-left: 10px;
}

.swiper-indexImg {
	width: 100%;
	max-height: calc(100% - 2em);
	max-width: 100%;
	overflow: hidden;
}

.swiper-indexImg a {
	max-width: 100%;
	max-height: 100%;
	display: block;
}

.swiper-indexImg img {
	max-width: 100%;
	max-height: 80vh;
	display: block;
}




/*首頁*/
.bannerindex {
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: fixed;
	--swiper-navigation-color: #dfdfdf;
	--swiper-pagination-color: #dfdfdf;
	--swiper-pagination-bullet-inactive-color: #dfdfdf;
	--swiper-pagination-bullet-size: 10px;
	--swiper-pagination-bullet-inactive-opacity: .5;
	--swiper-pagination-bullet-horizontal-gap: 5px;
}

.bannerindex * {
	-webkit-transition: ease .3s;
	-moz-transition: ease .3s;
	-ms-transition: ease .3s;
	-o-transition: ease .3s;
	transition: ease .3s;
}

.swiper-banner {
	width: 100%;
	height: 100vh;
	position: absolute;
	left: -50%;
	margin-left: 50%;
}

.swiper-banner .swiper-slide img {
	width: 100%;
	max-width: 100%;
	/* height: 100vh */
	height: auto;
	display: block;
}

.effect1 img {
	transform: scale(1.05, 1.05) translate(5%, 5%);
	transform: scale(1.05, 1.05) translate(0.5%, 0.5%);
	/*tr     =    (sc-1)/2sc*100%              */
	/* --1.25       0.25/2.5*100%=10%          */
}

.leftUp img {
	-webkit-animation-name: leftUp;
	animation-name: leftUp;
}

@-webkit-keyframes leftUp {
	0% {
		transform: scale(1.05, 1.05) translate(0.5%, 0.5%);
	}

	100% {
		transform: scale(1.05, 1.05) translate(-0.5%, -0.5%);
	}
}

@keyframes leftUp {
	0% {
		transform: scale(1.05, 1.05) translate(0.5%, 0.5%);
	}

	100% {
		transform: scale(1.05, 1.05) translate(-0.5%, -0.5%);
	}
}

.moveRight img {
	-webkit-animation-name: moveRight;
	animation-name: moveRight;
}

@-webkit-keyframes moveRight {
	0% {
		transform: scale(1.05, 1.05) translate(-0.5%, 0);
	}

	100% {
		transform: scale(1.05, 1.05) translate(0.5%, 0);
	}
}

@keyframes moveRight {
	0% {
		transform: scale(1.05, 1.05) translate(-0.5%, 0);
	}

	100% {
		transform: scale(1.05, 1.05) translate(0.5%, 0);
	}
}

.moveDown img {
	-webkit-animation-name: moveDown;
	animation-name: moveDown;
}

@-webkit-keyframes moveDown {
	0% {
		transform: scale(1.05, 1.05) translate(0, -0.5%);
	}

	100% {
		transform: scale(1.05, 1.05) translate(0, 0.5%);
	}
}

@keyframes moveDown {
	0% {
		transform: scale(1.05, 1.05) translate(0, -0.5%);
	}

	100% {
		transform: scale(1.05, 1.05) translate(0, 0.5%);
	}
}

.centerBig img {
	-webkit-animation-name: centerBig;
	animation-name: centerBig;
}

@-webkit-keyframes centerBig {
	100% {
		transform: scale(1.05, 1.05);
	}
}

@keyframes centerBig {
	100% {
		transform: scale(1.05, 1.05);
	}
}

.rightDownBig img {
	-webkit-animation-name: rightDownBig;
	animation-name: rightDownBig;
}

@-webkit-keyframes rightDownBig {
	100% {
		transform: scale(1.05, 1.05) translate(0.5%, 0.5%);
	}
}

@keyframes rightDownBig {
	100% {
		transform: scale(1.05, 1.05) translate(0.5%, 0.5%);
	}
}

.swiper-banner .swiper-slide img {
	animation-duration: 5s;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 5s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-fill-mode: forwards;
}

/* .swiper-pagination {
	bottom: 15px;
	left: 50%;
	margin-left: -45px;
} */

/* .swiper-banner .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0 5px;
}

.swiper-banner .swiper-slide img {
	opacity: 0 !important;
}

.swiper-banner .swiper-slide-active img {
	opacity: 1 !important;
}
*/

.mobile_wp {
	display: none;
}

.sb_marquee {
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	padding: .5em 0;
}

.sb_marquee p {
	display: inline-block;
    margin: 0;
}

@media screen and (max-width: 768px) {
	.bannerindex {
		position: relative;
		height: 0;
		padding-bottom: 47%
	}

	.swiper-banner {
		left: 0;
		margin: 0;
	}

	.swiper-banner .swiper-slide img {
		height: auto;
	}

	#content_main {
		margin-top: 0;
	}
}




/* 大圖切版 */
.bannerindex{
    font-family: "Rajdhani", sans-serif;
    padding: 0;
    position: relative;
    height: clamp(500px,64vw,960px);
    text-shadow: 0 0 20px #000,0 0 20px #000,0 0 20px #000;
    overflow: hidden;
}
.bannerindex .swiper-banner{
    position: static;
    margin: 0;
    height: 100%;
}
.bannerindex .swiper-slide{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 3%;
}
.bannerindex .swiper-slide a{
    padding: clamp(4.375rem, 2.344rem + 10.16vw, 12.5rem) 3%;
    position: relative;
    z-index: 1;
    width: 100%;
}
.bannerindex h3{
    font-size: clamp(1.25rem, -0.658rem + 3.98vw, 4.063rem);/*65-20*/
    position: relative;
    z-index: 3;
    font-family: "Montserrat", sans-serif;
    line-height: 110%;
}
.bannerindex h6{
    font-size: clamp(1.125rem, 0.277rem + 1.77vw, 2.375rem);/*38-18*/
    font-weight: 500;
    max-width: 760px;
    line-height: 120%;
}
.bannerindex h6 span{
    display: inline-block;
}
.bannerindex h4{
    font-size: clamp(1.063rem, 0.342rem + 1.5vw, 2.125rem);/*34-17*/
    font-weight: bold;
    margin-top: clamp(0.625rem, 0.363rem + 1.2vw, 0.938rem);
    color: #0051D6;
}
.bannerindex h4 span{
    display: inline-block;
}

.bannerindex .swiper-wrapper .swiper-slide:nth-child(1){
    background: url(https://pic03.eapple.com.tw/ceramicpczh/index_banner/i_banner01.jpg) no-repeat center;
    background-size: cover;
}
.banner01,
.banner02{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1625px;
    margin: 0 auto;
    color: #FFF;
    font-size: clamp(0.938rem, 0.641rem + 0.62vw, 1.375rem);/*22-15*/
}
.bannerindex .swiper-slide:nth-child(1) var{
    position: absolute;
    width: 53vw;
    max-width: 1074px;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.swiper-slide-active .banner01 .b_text{
    animation: slide-fwd-left1 0.45s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
.banner01 .b_text i{
    display: block;
    line-height: 0;
    width: 85%;
    max-width: 720px;
    margin: clamp(0.938rem, 0.859rem + 0.39vw, 1.25rem) 0 clamp(1.25rem, 0.938rem + 1.56vw, 2.5rem);
}
.swiper-slide-active .b_text i{
    animation: slide-fwd-left2 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.1S both;
}
@keyframes slide-fwd-left1 {
    0% {
      -webkit-transform: translateZ(0) translateX(200px);
              transform: translateZ(0) translateX(200px);
    }
    100% {
      -webkit-transform: translateZ(160px) translateX(0px);
              transform: translateZ(160px) translateX(0px);
    }
  }
@keyframes slide-fwd-left2 {
    0% {
      -webkit-transform: translateZ(0) translateX(200px);
              transform: translateZ(0) translateX(200px);
    }
    50% {
      -webkit-transform: translateZ(160px) translateX(-100px);
              transform: translateZ(160px) translateX(-100px);
    }
    100% {
      -webkit-transform: translateZ(160px) translateX(0px);
              transform: translateZ(160px) translateX(0px);
    }
  }
.banner01 .b_text p{
    max-width: 850px;
    margin-top: clamp(0.938rem, 0.766rem + 0.86vw, 1.625rem);
    line-height: 180%;
    font-family: "Montserrat", sans-serif;
    line-height: 130%;
}
.banner01 .b_img ul{
    max-width: 690px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(1.25rem, 0.625rem + 3.13vw, 3.75rem);
    text-align: center;
}
.banner01 .b_img ul li{
    position: relative;
}
.banner01 .b_img ul li:before{
    content: '';
    background: url(https://pic03.eapple.com.tw/ceramicpczh/index_banner/i_banner01_02.png) no-repeat center;
    background-size: contain;
    position: absolute;
    width: clamp(0.938rem, 0.078rem + 4.3vw, 4.375rem);
    height: clamp(1.125rem, 0.844rem + 1.41vw, 2.25rem);
    right: -39%;
    top: 30%;
}
.banner01 .b_img ul li:last-child:before{
    display: none;
}
.banner01 .b_img p{
    font-size: clamp(0.875rem, 0.79rem + 0.18vw, 1rem);/*16-14*/
    font-family: "Montserrat", sans-serif;
}
.banner01 .b_img p b{
    display: block;
    font-size: clamp(0.938rem, 0.725rem + 0.44vw, 1.25rem);/*20-15*/
    margin: 15px 0 3px;
}
.banner01 .b_img p span{
    display: inline-block;
}


.bannerindex .swiper-wrapper .swiper-slide:nth-child(2){
    background: url(https://pic03.eapple.com.tw/ceramicpczh/index_banner/i_banner02.jpg) no-repeat center;
    background-size: cover;
}
.banner02{
    max-width: 1730px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.banner02 .b_text{
    padding-top: 5%;
}
.swiper-slide-active .banner02 .b_text{
    animation: slide-fwd-bottom1 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s both;
}
.banner02 .b_text i{
    display: block;
    line-height: 0;
    margin: clamp(1.25rem, 0.87rem + 1.9vw, 3.125rem) auto clamp(0.938rem, 0.748rem + 0.95vw, 1.875rem);
    width: 95%;
    max-width: 710px;
}
.swiper-slide-active .banner02 .b_text i{
    animation: slide-fwd-bottom2 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.1S both;
}
@keyframes slide-fwd-bottom1 {
    0% {
      -webkit-transform: translateZ(0) translateY(200px);
              transform: translateZ(0) translateY(200px);
    }
    100% {
      -webkit-transform: translateZ(160px) translateY(0px);
              transform: translateZ(160px) translateY(0px);
    }
  }
@keyframes slide-fwd-bottom2 {
    0% {
      -webkit-transform: translateZ(0) translateY(200px);
              transform: translateZ(0) translateY(200px);
    }
     50% {
      -webkit-transform: translateZ(160px) translateY(-200px);
              transform: translateZ(160px) translateY(-200px);
    }
    100% {
      -webkit-transform: translateZ(0) translateY(0);
              transform: translateZ(0) translateY(0);
    }
  }

.banner02 .b_img ul{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    max-width: 900px;
}
.banner02 .b_img ul li{
    margin: 0 -1.5%;
}
.banner02 .b_img ul li:nth-child(3){
    position: relative;
    z-index: 2;
}
.banner02 .b_img ul li:nth-child(4){
    position: relative;
    z-index: 1;
}
.banner02 .b_img ul li p{
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .bannerindex{
        height: clamp(870px,200vw,1372px);
        overflow: hidden;
    }
    .bannerindex .swiper-slide a{
        padding: clamp(2.5rem, 1.741rem + 3.8vw, 6.25rem) 3%;
    }
    .bannerindex h3{
        font-size: clamp(1.25rem, -0.843rem + 9.57vw, 3.75rem);/*60-20*/
    }
    .bannerindex h6{
        font-size: clamp(1.125rem, 0.392rem + 3.35vw, 2rem);/*32-18*/
    }
    .bannerindex h4{
        font-size: clamp(1.063rem, 0.382rem + 3.11vw, 1.875rem);/*30-17*/
    }
    
    .banner01,
    .banner02{flex-direction: column;}
    .bannerindex .swiper-slide:nth-child(1) var{
        width: 98vw;
        top: 78vw;
        bottom: unset;
    }
    .banner01 .b_text p{
        font-size: clamp(0.938rem, 0.467rem + 2.15vw, 1.5rem);/*24-15*/
    }
    .banner01 .b_img{
        margin: 36vw auto auto;
    }
    .banner01 .b_img ul li:before{
        width: clamp(1.25rem, -1.367rem + 11.96vw, 4.375rem);
        right: -25%;
        top: 8.5vw;
    }
    .banner01 .b_img ul li img{
        max-width: 80%;
        margin: 0 auto;
    }
    .banner01 .b_img p{
        font-size: clamp(0.625rem, 0.311rem + 1.44vw, 1rem);/*16-10*/
        letter-spacing: .1rem;
        line-height: 120%;
    }
    .banner01 .b_img p b{
        font-size: clamp(0.75rem, 0.331rem + 1.91vw, 1.25rem);/*20-12*/
        line-height: 120%;
    }

    .bannerindex .swiper-wrapper .swiper-slide:nth-child(2){
        background: url(https://pic03.eapple.com.tw/ceramicpczh/index_banner/i_banner02_rwd.jpg) no-repeat center;
        background-size: cover;
    }
    .banner02 .b_text{padding-top: 0; margin-bottom: clamp(1.25rem, 0.203rem + 4.78vw, 2.5rem);}
}
@media screen and (max-width: 600px) {
    .bannerindex .swiper-slide:nth-child(1) var{
        top: 88vw;
    }
    .banner01 .b_img{
        margin: 40vw auto auto;
    }
}
@media screen and (max-width: 480px) {
    .bannerindex{height: clamp(815px,220vw,990px);}
    .bannerindex .swiper-slide:nth-child(1) var{
        top: unset;
        bottom: 47vw;
    }
    .banner02 .b_img ul{flex-wrap: wrap;}
    .banner02 .b_img ul li{max-width: 33.3%;}
}
@media screen and (max-width: 400px) {
    .bannerindex .swiper-slide:nth-child(1) var{bottom: 55vw;}
    .banner01 .b_img ul{gap: 0;}
    .banner01 .b_img ul li:before{right: -12%;}
}