/*
 * iweb52-style30
 *
 * Copyright 2017, TANK
 * 
 * 
 * 2017 / 4 / 27
 */


.wow {
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
	-webkit-animation-duration: 1.5s;
	animation-duration: 1.5s;
}

.tit {
	margin-bottom: 30px;
	animation-name: fadeInDown;
	-webkit-animation-name: fadeInDown;
}

.tit h3 ,
.tit p {
	color: #717171;
	font-size: 24px;
	font-weight: normal;
	text-align: center;
}

.tit h3 span {
	font-size: 32px;
	vertical-align: initial;
}

.tit p {
	font-size: 20px;
}


/* + newsWrap
*----------------------------------------------------------------------------*/
#newsWrap {
	overflow: hidden;
	padding-bottom: 30px;
	background: #fcfcfc;
}

#newsWrap .tit {
	height: 178px;
	background: url(/images/30/index/img-newTit.png) no-repeat 50% 0;
}

#newsWrap ul li {
	position: relative;
	float: left;
	width: 33%;
}
#newsWrap .tit h3, #newsWrap .tit p {
    color: #ffffff;
}
#newsWrap ul li .date ,
#newsWrap ul li .date:before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}

#newsWrap ul li .date:before {
	content: "";
	width: 30px;
	height: 2px;
	background: #d1b084;
	display: block;
}

#newsWrap ul li .newPhoto {
	margin: 0 auto;
	width: 200px;
	height: 200px;
	border-radius: 50%;
}

#newsWrap ul li h3 ,
#productWrap ul li h3 a {
	overflow: hidden;
	margin: 10px 0;
	height: 22px;
	text-align: center;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

#newsWrap ul li h3 a {
	color: #645e55;
	font-size: 16px;
}


/* + productWrap
*----------------------------------------------------------------------------*/
#productWrap {
	overflow: hidden;
	padding: 30px 0;
	background: url(/images/30/index/img-productBg.jpg) no-repeat fixed center top / cover;
}

#productWrap .tit h3 ,
#productWrap .tit p {
	color: #ffffff;
}

#serviceWrap .tit h3 ,
#serviceWrap .tit p {
	color: #565656;
}

#productWrap ul {
	overflow: hidden;
}

#productWrap ul li {
	float: left;
	margin: 10px 1%;
	width: 23%;
	animation-name: fadeInUp;
	-webkit-animation-name: fadeInUp;
}

#productWrap ul li:nth-child(2) {
	-webkit-animation-delay: 0.5s;
}

#productWrap ul li:nth-child(3) {
	-webkit-animation-delay: 1s;
}

#productWrap ul li:nth-child(4) {
	-webkit-animation-delay: 1.5s;
}

#productWrap ul li:nth-child(5) {
	-webkit-animation-delay: 2s;
}

#productWrap ul li:nth-child(6) {
	-webkit-animation-delay: 2.5s;
}

#productWrap ul li:nth-child(7) {
	-webkit-animation-delay: 3s;
}

#productWrap ul li:nth-child(8) {
	-webkit-animation-delay: 3.5s;
}

#productWrap ul li .productPhoto a {
	overflow: hidden;
	position: relative;
}

#productWrap ul li .productPhoto a:after {
	position: absolute;
	width: 100%;
	height: 100%;
	top: -100%;
	background: url(/images/30/index/logo.png) rgba(0,0,0,0.5) no-repeat 50%;
	display: block;
	content: "";
	transition: all 0.4s ease;
}

#productWrap ul li:hover .productPhoto a:after {
	top: 0;
}

#productWrap ul li h3 a {
	margin: 0;
	height: 30px;
	color: #fff;
	font-weight: bold;
	text-align: left;
}

#productWrap ul li a.more {
	color: #fff;
}
#productWrap ul {
	overflow: hidden;
	position: relative;
	margin: -10px 0 30px;
	padding: 50px 0 35px;
	z-index: 1;
}
#productWrap ul li {
	float: left;
	width: 30%;
	animation-name: fadeInUp;
	-webkit-animation-name: fadeInUp;
}
#productWrap ul li .item {
	padding: 20px 30px;
}
#productWrap ul li .item .circle {
	position: relative;
	margin: 0 auto 15px;
	width: 114px;
	height: 114px;
	border: 1px rgba(255, 255, 255, 0.8) solid;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	box-sizing: border-box;
	text-align: center;
	font-size: 55px;
	line-height: 114px;
    color: #5cd0ff;
}
#productWrap ul li .item:hover .circle {
	animation: flipInX 1.5s both;
	-webkit-animation: flipInX 1.5s both;
	animation-duration: 1s;
	-webkit-animation-duration: 1s;	
}
@keyframes flipInX{
	0%{ transform: perspective(400px) rotateX(90deg); animation-timing-function: ease-in; opacity:0; }
	40%{ transform: perspective(400px) rotateX(-20deg); animation-timing-function: ease-in; }
	60%{ transform: perspective(400px) rotateX(10deg); opacity: 1; }
	80%{ transform: perspective(400px) rotateX(-5deg); }
	to{ transform:perspective(400px); }
}
@-webkit-keyframes flipInX{
	0%{ -webkit-transform: perspective(400px) rotateX(90deg); -webkit-animation-timing-function: ease-in; opacity:0; }
	40%{ -webkit-transform: perspective(400px) rotateX(-20deg); -webkit-animation-timing-function: ease-in; }
	60%{ -webkit-transform: perspective(400px) rotateX(10deg); opacity: 1; }
	80%{ -webkit-transform: perspective(400px) rotateX(-5deg); }
	to{ -webkit-transform:perspective(400px); }
}
#productWrap ul li .item .circle:before {
	position: absolute;
	width: 124px;
	height: 124px;
	border: 2px rgba(255, 255, 255, 0.8) solid;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	box-sizing: border-box;
	left: -6px;
	top: -6px;
	z-index: -1;
	content: "";
}
#productWrap ul li .item p {
	text-align: center;
	font-size: 20px;
	color: #ffffff;
}
#productWrap ul li .item article {
	text-align: center;
	font-size: 15px;
	color: #ffffff;
}

/* + serviceWrap
*----------------------------------------------------------------------------*/
#serviceWrap {
	overflow: hidden;
	padding: 30px 0;
	background-size: cover;
}

#serviceWrap ul li {
	position: relative;
	margin: 10px 0;
	float: left;
	width: 25%;
	color: #565656;
	text-align: center;
	animation-name: fadeInUp;
	-webkit-animation-name: fadeInUp;
}

#serviceWrap ul li a {
	color: #565656;
}


#serviceWrap ul li:nth-child(2) {
	-webkit-animation-delay: 0.5s;
}

#serviceWrap ul li:nth-child(3) {
	-webkit-animation-delay: 1s;
}
#serviceWrap ul li:nth-child(4) {
	-webkit-animation-delay: 1.5s;
}

#serviceWrap ul li:after {
	position: absolute;
	width: 8px;
	height: 99px;
	background: url(/images/30/index/img-serviceLine.png) no-repeat 0 0;
	top: 20%;
	right: 0;
	display: block;
	content: "";
}

#serviceWrap ul li:last-child:after {
	background: none;
}

#serviceWrap ul li:hover img ,
#serviceWrap ul li:hover h3 ,
#serviceWrap ul li:hover p {
	animation: animatedIcon 1s;
	-webkit-animation: animatedIcon 1s;
	-moz-animation: animatedIcon 1s;
	-ms-animation: animatedIcon 1s;
	-o-animation: animatedIcon 1s;
}

@keyframes animatedIcon { 
	0%{ transform:scale(1);}
	25%{ transform:scale(1.2); }
	50%{ transform:scale(1); }
	75%{ transform:scale(1.2); }
	100%{ transform:scale(1); }
}
@-o-keyframes animatedIcon { 
	0%{ transform:scale(1);}
	25%{ transform:scale(1.2); }
	50%{ transform:scale(1); }
	75%{ transform:scale(1.2); }
	100%{ transform:scale(1); }
}
@-webkit-keyframes animatedIcon { 
	0%{ transform:scale(1);}
	25%{ transform:scale(1.2); }
	50%{ transform:scale(1); }
	75%{ transform:scale(1.2); }
	100%{ transform:scale(1); }
}
@-moz-keyframes animatedIcon { 
	0%{ transform:scale(1);}
	25%{ transform:scale(1.2); }
	50%{ transform:scale(1); }
	75%{ transform:scale(1.2); }
	100%{ transform:scale(1); }
}
@-ms-keyframes animatedIcon { 
	0%{ transform:scale(1);}
	25%{ transform:scale(1.2); }
	50%{ transform:scale(1); }
	75%{ transform:scale(1.2); }
	100%{ transform:scale(1); }
}

#serviceWrap ul li h3 ,
#serviceWrap ul li p {
	margin: 12px auto;
	width: 75%;
	text-align: center;
	font-size: 17px;
}

#serviceWrap ul li h3 {
	padding-bottom: 5px;
	border-bottom: 2px #d1b084 dotted;
	font-size: 26px;
	text-align: center;
}

.left{overflow: hidden;
    margin: 0 auto;
    width: 1160px;
	background: #f8f8f8;}
.left .contact-way{margin:20px 0 0;}
.left .contact-way h3{text-align:center;color:#353535;font-size:26px;margin-bottom:10px;width: 96%;margin-right: 10px;line-height: 147%;}
.left .contact-way ul{text-align:center;}
.left .contact-way ul li{display:inline-block;}
#page-form{background:#f8f8f8;padding:15px 20px;}
#page-form form,
#page-form fieldset{margin:0;padding:0;border:0;}
#page-form p{overflow:hidden;color:#000;font-size:16px;margin:5px 0;}
#page-form label{float:left;width:100px;text-align:right;padding:5px 0;}
#page-form span{float:right;width:calc(100% - 110px);display:block;}
#page-form .ra span{width:auto;float:left;margin-left:10px;padding:5px 0;}
#page-form input[type="text"],
#page-form select{width:calc(100% - 22px);padding:5px 10px;}
#page-form input#Checknum{width:80px;margin-left:10px;}
#page-form select{width:calc(100% - 1px);}
#page-form p.send input{background:#0047a8;color:#fff;text-align:center;width:100%;padding:5px 0;border-radius:7px;font-size:18px;letter-spacing:0.2em;outline:none;margin-top:15px;}
#page-form h2{text-align:center;color:#9c9c9c;font-size:14px;margin-bottom:10px;}
#page-form h2 img{margin-right:5px;vertical-align:bottom;}
#page-form h2 b{display:inline-block;font-size:24px;color:#353535;margin-right:10px;vertical-align:baseline;}

/* + aboutWrap
*----------------------------------------------------------------------------*/
#aboutWrap {
	overflow: hidden;
	padding: 140px 0 30px;
}

#aboutWrap .tit h3 {
	text-align: left;
}

#aboutWrap .tit h4 {
	color: #33b0e3;
	font-size: 24px;
}

#aboutWrap .aboutBox ,
#aboutWrap .fbBox ,
#aboutWrap .adList ul li {
	float: left;
	width: 60%;
	background-color: rgba(255, 255, 255, 0.82);
}

#aboutWrap .aboutBox article {
	margin-bottom: 20px;
	color: #575757;
	font-size: 16px;
	line-height: 170%;
}

#aboutWrap .aboutBox a {
	padding: 5px 10px;
	display: inline-block;
	background: #535353;
	background: -moz-linear-gradient(left,  #535353 0%, #383737 100%);
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#535353), color-stop(100%,#383737));
	background: -webkit-linear-gradient(left,  #535353 0%,#383737 100%);
	background: -o-linear-gradient(left,  #535353 0%,#383737 100%);
	background: -ms-linear-gradient(left,  #535353 0%,#383737 100%);
	background: linear-gradient(to right,  #535353 0%,#383737 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#535353', endColorstr='#383737',GradientType=0 );
	color: #fff;
}

#aboutWrap .fbBox {
	margin-left: 5%;
	width: 35%;
}

#aboutWrap .adList ul {
	overflow: hidden;
	margin: 60px 0 30px;
}

#aboutWrap .adList ul li {
	margin: 10px 1%;
	width: 23%;
	animation-name: fadeInUp;
	-webkit-animation-name: fadeInUp;
}

#aboutWrap ul li:nth-child(2) {
	-webkit-animation-delay: 0.5s;
}

#aboutWrap ul li:nth-child(3) {
	-webkit-animation-delay: 1s;
}

#aboutWrap ul li:nth-child(4) {
	-webkit-animation-delay: 1.5s;
}

#aboutWrap .adList ul li a.photo ,
#bookWrap ul li a.photo ,
#bookWrap ul li .hoverBox {
	transition: all 0.4s ease;
}

#aboutWrap .adList ul li:hover a.photo {
	background-size: auto 120%;
}


.line{overflow: hidden;
    margin: 0 auto;
	margin-bottom: 54px;}
.line .contact-way h3{text-align:center;color:#353535;font-size:26px;margin-bottom:10px;letter-spacing: 0.2em;margin-right: 10px;line-height: 147%;}
.line .contact-way{margin:20px 0 0;}
.line .contact-way ul{text-align:center;}
.line .contact-way ul li{display:inline-block;}




/* + bookWrap
*----------------------------------------------------------------------------*/
#bookWrap {
	overflow: hidden;
	padding: 20px 0 40px;
	background: #f1f1f1;
}

#bookWrap ul {
	overflow: hidden;
}

#bookWrap ul li {
	position: relative;
	float: left;
	width: 25%;
}

#bookWrap ul li a.photo {
	background-size: 100% auto;
}

#bookWrap ul li:hover a.photo {
	background-size: 120% auto;
}

#bookWrap ul li .hoverBox {
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: -100%;
	background: rgba(0,0,0,0.4);
}

#bookWrap ul li:hover .hoverBox {
	bottom: 0;
}

#bookWrap ul li .hoverBox a {
	margin: 20% auto 0;
	padding: 40px 0;
	width: 60%;
	background: rgba(209,176,132,0.6);
	text-align: center;
	color: #fff;
	font-size: 22px;
	display: block;
}




/************ = 適應性 = ************/
/* +width:1024 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	#serviceWrap ul li h3 ,
	#serviceWrap ul li p {
		width: 80%;
	}
	#serviceWrap ul li p ,
	#bookWrap ul li .hoverBox a {
		font-size: 16px;
	}
	#bookWrap ul li .hoverBox a {
		padding: 20px 0;
	}
	.left {
   	    width: 90%;
 	    margin: 0 5% 30px;
	}
}
/************ = 適應性 = ************/
/* +width:980 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width:980px) {
.left .contact-way ul li{width:40%;}
.left .contact-way h3{font-size:23px;}
#aboutWrap .aboutBox article {
    background-color: rgba(255, 255, 255, 0.91);
    padding: 15px;
   }
.line .contact-way h3{font-size:23px;}
}

/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	#newsWrap .tit {
		height: auto;
		background: none;
	}	
	#newsWrap ul li .newPhoto {
		width: 100px;
		height: 100px;
	}
	#bookWrap ul li {
		width: 50%;
	}	
.left {width:80%;margin:0 10% 30px;}
}


/* +width:640 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 640px) {
	#newsWrap ul li {
		width: 50%;
	}
	#productWrap ul li {
		width: 48%;
	}
	#serviceWrap ul li ,
	#aboutWrap .aboutBox ,
	#aboutWrap .fbBox {
		width: 100%;
	}
	#serviceWrap ul li:after {
		background: none;
	}
	#aboutWrap .aboutBox ,
	#aboutWrap .fbBox {
		margin-bottom: 20px;
	}
	#aboutWrap .adList ul li {
		margin-top: 10px;
		width: 48%;
	}
.left {width:90%;margin:0 5% 30px;}

#newsWrap .tit h3, #newsWrap .tit p {
    color: #000;
}
}


/* +width:480 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
	#newsWrap ul li ,
	#bookWrap ul li {
		width: 100%;
	}
	#newsWrap ul li .newPhoto {
		width: 240px;
		height: 240px;
	}
	#newsWrap ul li .date {
		left: 30px;
	}
	#bookWrap ul li .hoverBox a {
		font-size: 20px;
		margin: 25% auto 0;
	}
	#boxfirst .left .contact-way ul li {
		width:50%;float:left;
	}
	.left{
		width:100%;margin:0 0 20px;
	}
	#aboutWrap {
   	    overflow: hidden;
  	    padding: 10px 0 0px;
	}	
.line .contact-way ul li{width:50%;float:left;}
}


/* +width:320 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 320px) {
	#newsWrap ul li .newPhoto {
		width: 80px;
		height: 80px;
	}
	#newsWrap ul li .date {
		left: 10px;
	}
	#productWrap ul li ,
	#aboutWrap ul li:nth-child(2) ,
	#aboutWrap ul li:nth-child(3) {
		width: 100%;
	}
	#aboutWrap ul li:nth-child(2) ,
	#aboutWrap ul li:nth-child(3) {
		margin-left: 0;
		margin-right: 0;
	}
}