@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap');

/*動畫效果*/
.inviewzoomIn{transform:scale(0,0);-webkit-transform:scale(0,0);transition:.8s}
.TitlezoomIn{transform:scale(1,1);-webkit-transform:scale(1,1)}

.srcollBtn{width:1420px;margin:0 auto;position:relative}
.srcollBtn p{cursor: pointer; position:absolute;left:0px;top:-20px;z-index:997;padding:16px 19px;background:#252525;color:#fff;text-align:center;font-size:13px;font-family:'Roboto';font-weight:500}
.srcollBtn p span{display:inline-block}
.srcollBtn p::after{content:"";position:absolute;left:50%;top:-20px;display:block;width:1px;height:30px;background:#fff}

#video{margin-top:120px}
#video .videowrap{position:relative;width:1420px;overflow:hidden;margin:0 auto;}
#video .videobox{position:relative;width:100%;}
#video .video-bg img{position: relative;width: 100%;min-height: 430px; background:url(/images/25/movie_screen.png) left top;z-index:2}
#video video{width:100%;position:absolute;left: 0px; top: 0px;}
#video .video-info{position:absolute;left:14%;top:11%;z-index:20;color:#fff;width:400px}
#video .video-info .title span{color:#ef1234;font-size:14px;font-family:'Roboto';font-weight:700;display:block}
#video .video-info .title h3{padding-bottom:22px;position:relative;font-size:40px;color:#fff;font-weight:900;line-height:1.4}
#video .video-info .title h3::after{content:"";display:block;position:absolute;left:0;top:100%;width:40px;height:6px;background:#fff}
#video .video-info .desc{padding-top:30px;font-size:22px;font-weight:bold}
#video .video-info .videobtn{padding-top:30px}
#video .video-info .videobtn a{width:180px;height:37px;line-height:37px;display:inline-block;border:1px solid #fff;text-align:center;color:#fff;font-weight:400;background:#000;transition:background ease 0.4s}
#video .video-info .videobtn a:hover{background:#c81c28}

#ssbanner{padding:60px 0px}
#ssbanner .workframe{overflow: hidden;}
#ssbanner .ssbanner-item{display:block;background-repeat:no-repeat;background-size:cover;position:relative;height:340px;width: 33.333%;}
#ssbanner .ssbanner-item::after{content:"";position:absolute;left:0px;top:0px;width:100%;height:100%;background:#00000026;z-index:2}
#ssbanner .ssbanner-item a{display:block;position:relative;width:100%;height:100%;z-index:3;box-sizing:border-box}
#ssbanner .ssbanner-item a:hover{border:20px solid rgba(239,18,52,1)}
#ssbanner .ssbanner-item:nth-child(2n) a:hover{border:20px solid rgba(255,164,54,1)}
#ssbanner .ssbanner-item:nth-child(3n) a:hover{border:20px solid rgba(60,54,255,1)}
#ssbanner .ssbanner-item a::after{content:"";position:absolute;left:0px;bottom:0px;height:0%;width:100%;background:rgba(255,255,255,0.75);transition:ease .6s}
#ssbanner .ssbanner-item a:hover::after{height:100%}
#ssbanner .ssbanner-item a p{transition:unset;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:20px;z-index:5;text-align:center;font-weight:bold;box-sizing:border-box;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}
#ssbanner .ssbanner-item a p span{text-align:center;display:block;width:65px;letter-spacing:3px;margin:0 auto;background:linear-gradient(to bottom,transparent 0%,transparent 60%,#ef1234 60%,#ef1234 95%)}
#ssbanner .ssbanner-item:nth-child(2n) a p span{background:linear-gradient(to bottom,transparent 0%,transparent 60%,#ffa436 60%,#ffa436 95%)}
#ssbanner .ssbanner-item:nth-child(3n) a p span{background:linear-gradient(to bottom,transparent 0%,transparent 60%,#3c36ff 60%,#3c36ff 95%)}
#ssbanner .ssbanner-item a:hover p{left:8%;bottom:20px;top:auto;transform:none;text-align:left;color:#000;padding:0px;width:calc(100% - 60px);background:unset}
#ssbanner .ssbanner-item a:hover p span{display:none}
#ssbanner .bxslider{margin-top:24px;}

/* 各標題區塊 */
.sectionTitle{margin-bottom:30px}
.sectionTitle h2{font-family:'Roboto',sans-serif;color:#ef1234;font-size:34px;font-weight:900;line-height:1.1;display:inline-block;width:70%}
.sectionTitle .readM{float:right;margin-top:5px}
.sectionTitle .readM a{font-size:14px;font-family:'Roboto';font-weight:700;transition:color ease 0.4s}
.sectionTitle .readM a img{margin-right:8px}
.sectionTitle .readM a:hover{color:#ef1234}
.sectionTitle h2 span{display:inline-block;margin-left:23px;padding-left:23px;position:relative;font-size:18px;font-weight:900;color:#000;vertical-align:middle;line-height:1.1}
.sectionTitle h2 span::after{content:"";display:block;position:absolute;left:0;top:-3px;width:1px;height:23px;border-left:1px dotted #b8b8b8}

#products{padding:60px 0px;background:#fafafa}
#products .product-content{}
#products .product-content ul{display:flex;flex-wrap:wrap;background:#fafafa}
#products .product-content ul li{width:calc((100% / 4) - 14px);margin:7px 7px;position:relative}
#products .product-content ul li a{background-size:cover;position:relative;border-radius:5px;box-shadow:0 1px 4px rgba(0,0,0,0.23)}
#products .product-content ul li a::after{content:"";position:absolute;left:0px;top:0px;width:100%;background:rgba(0,0,0,0.7);height:0%;transition:ease .3s}
#products .product-content ul li a:hover::after{height:calc(100% - 57px)}
#products .product-content ul li a i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:24px;color:#fff;transition:ease .3s;opacity:0;z-index:3}
#products .product-content ul li a:hover i{opacity:1}
#products .product-content ul li .protitle{position:absolute;bottom:0px;left:0px;width:100%;height:57px;background:rgba(0,0,0,0.85);color:#fff;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 10px;box-sizing:border-box}
#products .product-content ul li .protitle p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.swiper-container{width:100%;height:100%}

#aboutBox .swiper-slide > div{background-size:130% auto;background-position:75% 75%;transition:1s linear 2s}
#aboutBox .swiper-slide-active > div,#aboutBox .swiper-slide-duplicate-active > div{transition:15s linear;background-size:100% auto;background-position:50% 50%}
#aboutBox{position:relative;padding:0px 0px 40px}
#aboutBox .workframe{position:absolute;width:100%;height:100%;top:0px;left:0px;z-index:5}
#aboutBox .workframe .about-content{position:relative;width:1200px;margin:0 auto;height:100%;z-index:6}
#aboutBox .workframe .about-content > div{width:580px;height:100%;padding:45px;box-sizing:border-box}
#aboutBox .swiper-slide > div img{min-height:520px}
#aboutBox .workframe .about-content > div b{font-size:14px;font-weight:bold;color:#fff}
#aboutBox .workframe .about-content > div h3{padding-top:20px;padding-bottom:20px;position:relative;font-size:32px;font-weight:700;color:#fff}
#aboutBox .workframe .about-content > div h3::after{content:"";display:block;position:absolute;left:0;bottom:0;width:40px;height:6px;background:#fff}
#aboutBox .workframe .about-content > div p{margin-top:20px}
#aboutBox .workframe .about-content > div p a.more{display:block;border:2px solid #fff;color:#fff;text-align:center;font-size:20px;padding:14px 0;transition:background ease .4s,color ease .4s;color:#fff}
#aboutBox .workframe .about-content > div p a.more:hover{background:#fff;color:rgba(239,18,53,1)}
#aboutBox .workframe .about-content > div .info{display:inline-block;padding-top:20px;font-size:17px;font-weight:700;letter-spacing:0.05em;line-height:1.8;color:#fff;max-height:215px;overflow:hidden}
#aboutBox .swiper-container{height:520px;width:100%;background-size:cover;background-repeat:no-repeat}
#bookbox{padding:50px 0px}

.grid {
  background: #EEE;
  max-width: 100%;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */

.grid-sizer,
.grid-item {
  width: 50%;
}

.grid-item {
  height: 250px;
  float: left;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.grid-item::after{
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,transparent 0%,rgba(0,0,0,0.1) 40%,rgba(0,0,0,0.1) 40%,rgba(0,0,0,0.4) 100%);
  transition: background ease 0.4s;
}
.grid-item:hover::after{background:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,0.1) 30%,rgba(0,0,0,0.3) 60%,rgba(0,0,0,0.7) 100%)}

.grid-item:nth-child(2n+1){
  height: 500px;
}

.grid-item:nth-child(6n+1){
  height:250px; 
}

.grid-container{position:relative;background-color:#FDFDFD;color:#492645}
.grid-item .txt-content{position:absolute;left:3%;bottom:2%;width:94%;z-index: 10;}
.grid-item .txt-content .cate-date{color:#fff;font-size:10px;font-family:'Roboto';font-weight:500}
.grid-item .txt-content .cate-date span{display:inline-block;font-size:12px;font-weight:700;position:relative}
.grid-item .txt-content .cate-date span.cate{padding-right:10px;margin-right:8px}
.grid-item .txt-content .cate-date span.cate::after{content:"";display:block;position:absolute;right:0;top:7px;width:1px;height:8px;background:rgba(255,255,255,0.7)}
.grid-item h3{width:100%;margin:0 auto;color:#fff;font-size:16px;font-weight:700;padding:0}

.grid-item .book-link::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
}



#NPBox{padding:80px 0px;background:#fafafa}
#newBox ul{display:flex;flex-wrap:wrap}
#newBox ul li{width:calc((100% / 4) - 24px );margin-bottom:28px;height:230px;overflow:hidden;border-bottom:1px solid #e5e5e5;transition:border-bottom ease 0.4s}
#newBox ul li:hover{border-bottom:1px solid rgba(0,0,0,0.8)}
#newBox .news-photo a{display:block;background-repeat:no-repeat;background-size:cover;background-position:center;transition:opacity ease 0.4s}
#newBox ul li:hover .news-photo a{opacity:.8}
#newBox .news-cate-date .cate{width:84px;height:26px;text-align:center;display:inline-block;line-height:26px;color:#fff;font-size:14px;font-weight:bold;background:#ef1234}
#newBox .news-cate-date .date{display:inline-block;height:26px;line-height:26px;color:#ef1234;font-size:15px;font-weight:bold;font-family:'Roboto';box-sizing:border-box;padding:0 5px}
#newBox ul li:nth-child(2n) .news-cate-date .cate{background:#1258ef}
#newBox ul li:nth-child(2n) .news-cate-date .date{color:#1258ef}
#newBox .news-title{padding-top:13px;font-size:14px;line-height:1.7;font-weight:400}
#newBox .news-title a{font-family:"Noto Sans JP";overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width: 100%;display: inline-block;}

.otherBox{padding:60px 0px}
.otherBox.noneCI{display: none;}
.otherBox .item{height:350px;background:#fafafa;box-sizing:border-box;position:relative;margin:0 5px}
.otherBox .item::after{content:"";position:absolute;left:0px;top:0px;width:0%;height:100%;transition:ease .25s;background:#69676730}
.otherBox .item:hover::after{width:100%}
.otherBox .item article{width:100%;height:100%;position:relative;z-index:10}
.otherBox .item article .othertitle{top:8%;position:absolute;left:8%;transition:ease .3s}
.otherBox .item article .othertitle h3{position:relative;z-index:5;font-size:20px}
.otherBox .item article .othertitle::before,.otherBox .item article .othertitle::after{content:"";position:absolute;left:0px;bottom:5px;width:100%;height:8px;transition:ease .3s;z-index:0}
.otherBox .item article .othertitle::before{background:#ef1234;transition-delay:.2s}
.otherBox .item article .othertitle::after{width:0%;background:#1258ee}
.otherBox .item:hover article .othertitle::before{width:0%}
.otherBox .item:hover article .othertitle::after{width:100%;transition-delay:.2s}
.otherBox .item article font{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:85%;font-size:16px}


@media screen and (max-width: 1480px) {
  #aboutBox .workframe .about-content{width: 85%;}
  
}
@media screen and (max-width: 1480px) and (min-width: 1025px){
  .workframe{width: 82%;}
}
@media screen and (max-width: 1420px) {
	#video .videowrap,.srcollBtn{width: 100%;}
}
@media screen and (max-width: 1024px) {
  .workframe{width: 90%;}
  #aboutBox .workframe .about-content > div h3{font-size: 28px;}
  #aboutBox .workframe .about-content > div .info{font-size: 15px;}
  #aboutBox .workframe .about-content > div p a.more{padding: 10px 0px;font-size: 17px;}
	#aboutBox { overflow: hidden; }
	#products .item > div { width: 100%; }
}
@media screen and (max-width: 960px) {
	#videoWrap{height: 430px;}
	#youtube{margin-top: -150px;}
	#aboutBox .item.c1 , #aboutBox .item.c2 , #NPBox #newBox { width: 100%; }
	#aboutBox .item.c1 h3 , #aboutBox .item.c1 font { text-align: left; }
	#aboutBox .firstBox:before { width: 206px; top: 40px; bottom: auto; }
	#aboutBox .item.c2 .box:first-child { background-size: cover; }
	#aboutBox .item.c2 .box:first-child article { padding-top: 60px; width: calc(100% - 120px); background-color: rgba(255, 255, 255, 0.37); }
	#NPBox .bgBox { top: 0; }
	#NPBox #leftPhoto:before { bottom: 100px; }
	#NPBox #leftPhoto:after { height: 100px; }
}
@media screen and (max-width: 900px) {
  #newBox .news-cate-date .cate{width: 76px;}
  #newBox .news-cate-date .date{font-size: 13px;}
  #videoWrap{height: 380px;}
  #youtube{margin-top: -200px;}
  #video video{width: 120%;}
}
@media screen and (max-width: 900px) and (min-width: 769px){
  #newBox .news-cate-date .date{padding: 0px;font-size: 12px;}
}
@media screen and (min-width: 769px) {
  #newBox ul li{margin: 0 16px 28px;}
  #newBox ul li:nth-child(4n+1){margin: 0 16px 28px 0px;}
  #newBox ul li:nth-child(4n){margin: 0 0px 28px 16px;}
  #products .product-content ul li:nth-child(4n+1){margin-left: 0px;}
  #products .product-content ul li:nth-child(4n){margin-right: 0px;}
}
@media screen and (max-width: 768px) {

  #newBox .news-photo a img{width: 100%;}
  #newBox ul li{height: auto;}
  #newBox .news-cate-date .cate{height: 60px;line-height: 60px;width: 100px;font-size: 16px;}
  #newBox .news-cate-date .date{font-size: 24px;}
  #newBox .news-title{font-size: 20px;}
  #video video{min-width: 870px;}
  .srcollBtn{height: 56px;text-align: center;}
  .srcollBtn p{position: static;width: 50%;margin: 0 auto;margin-top: -30px;}
  #aboutBox .workframe .about-content{width: 100%;}
  #aboutBox .workframe .about-content > div{width: 80%;margin: 0 auto;padding: 60px 30px;background-image: none !important;}
  #video .video-info{width: 270px;}
  #video .video-info .title h3{font-size: 25px;}
  #video .video-info .desc{font-size: 20px;}
  #products .product-content ul li{width: calc((100% / 2) - 7px)}
  #products .product-content ul li:nth-child(2n+1){margin-left: 0px;}
  #products .product-content ul li:nth-child(2n){margin-right: 0px;}
  .grid-container{display: flex;flex-wrap: wrap;}
  .grid-item,
  .grid-item:nth-child(2n+1),
  .grid-item:nth-child(6n+1){
    height: auto;
  }


  #newBox ul li{width: 100%; padding: 15px 0px;}

}

@media screen and (max-width: 580px) {
  .sectionTitle h2{font-size: 28px;width: 100%;}
  .sectionTitle .readM{float: none;margin-top: 15px;}
  #aboutBox .workframe .about-content > div{width: 90%;padding: 45px 20px;}
  #aboutBox .swiper-slide > div{
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
  }


  
}
@media screen and (max-width: 540px) {
  #youtube{margin-top: -282px;}
}
@media screen and (max-width: 480px) {
  #video video{min-width: 880px;}
  #newBox ul li .news-right{width: 35%;}
  #newBox .news-cate-date .cate{
    height: 33px;
    line-height: 33px;
    width: 84px;
    font-size: 14px;
  }
  #newBox .news-cate-date .date{font-size: 4.5vw;}
  #newBox .news-title{font-size: 3.2vw;}
  .grid-sizer,
  .grid-item {
    width: 100%;
  }

}
@media screen and (max-width: 420px) {
  
  #video .video-info{width: 180px;}
  #video .video-info .title h3{font-size: 22px;}
  #video .video-info .desc{font-size: 16px;}
  #video .video-info .title h3::after{height: 4px;}


}
@media screen and (max-width: 374px) {
  #youtube{width: 120%}

}
@media screen and (max-width: 480px) {
	#aboutBox .firstBox:before , #aboutBox .firstBox .iconBox { display: none; }
	#aboutBox .item.c2 .box , #aboutBox .item.c2 .box:nth-child(2) { width: 100%; }
	#NPBox #leftPhoto .box { width: calc((100% / 2) - 20px); }
	#products .item .proList ul li { width: calc(100% / 2); }
}
@media screen and (max-width: 450px) {
}