/*
 * iweb52-style26
 *
 * Copyright 2017, TANK
 * 
 * 
 * 2016 / 01 / 25
 */


/* + products
*----------------------------------------------------------------------------*/
#products ul {
	overflow: hidden;
}

#products ul li {
	overflow: hidden;
	position: relative;
	float: left;
	width: 25%;
	animation-name: fadeInUp;
	-webkit-animation-name: fadeInUp;
}

#products ul li .productPhoto {
	overflow: hidden;
	width: 100%;
	height: 100%;
}

#products ul li .productPhoto a.photo {
	background-size: cover;
	-webkit-transition: -webkit-transform 1s;
	-moz-transition: -moz-transform 1s;
	transition: transform 1s;
}

#products ul li:hover .productPhoto a.photo {
	transform: scale(1.1);
}

#products ul li .info {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: -100%;
	background: rgba(0, 0, 0, 0.4);
	-webkit-transition:  all 0.4s ease;
	-moz-transition:  all 0.4s ease;
	transition:  all 0.4s ease;
}

#products ul li:hover .info {
	top: 0;
}

#products ul li .info a {
	padding: 45% 0;
	display: block;
	text-align: center;
	color: #fff;
}

#products ul li .info a strong {
	overflow: hidden;
	height: 24px;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	font-size: 25px;
}

#products ul li .info a b {
	margin-top: 15px;
	padding: 5px 20px;
	display: inline-block;
	background: #286eab;
	border-radius: 30px;
	color: #fff;
}

#products h4 {
	margin: 10px 0;
	font-size: 20px;
}


/* + prodImg
*----------------------------------------------------------------------------*/
.prodImg {
	position: relative;
	margin: 0 auto;
	width: 80%;
	background: #efeeee;
}

.prodImg a.prev ,
.prodImg a.next {
	position: absolute;
	top: 30%;
	font-size: 90px;
	color: #fff;
	text-shadow: 0 0 6px #848484;
}

.prodImg a.next {
	right: 0;
}

.prodImg ul li {
	overflow: hidden;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: auto 100%;
}

.prodImg ul li img {
	width: 100%;
}


/* + orderfunction
*----------------------------------------------------------------------------*/
.orderfunction {
	margin-bottom: 20px;
	padding: 55px 30px 10px;
	border-bottom: 1px #eae6e6 solid;
	animation-name: fadeInUp;
	-webkit-animation-name: fadeInUp;
}

.orderfunction p {
	width: 32%;
	display: inline-block;
	font-size: 18px;
	color: #4c4a4a;
}

.orderfunction p label {
	vertical-align: bottom;
}

.orderfunction p input[type="tel"] {
	width: 60px;
	border: 1px #ccc solid;
}

.orderfunction p input[type="button"] {
	padding: 2px 10px;
	background: #ffcc66;
	color: #222;
}


/* + prod-art
*----------------------------------------------------------------------------*/
.prod-art ul {
	margin-top: 70px;
	border-bottom: 1px #ccc solid;
}

.prod-art ul li {
	display: inline-block;
}

.prod-art ul li a {
	padding: 10px 40px;
	display: block;
	background: #9e9b9b;
	color: #fff;
	line-height: 30px;
	transition: all 0.3s ease-in 0s;
}

.prod-art ul li.active a {
	padding: 15px 40px;
	margin-top: -14px;
	cursor: default;
	background: #fc6;
	border-top: 3px solid #000000;
	color: #444;
	font-size: 18px;
}


/* + ask
*----------------------------------------------------------------------------*/
.content-wrap .ask {
	overflow: hidden;
	margin: 30px 0 0;
	text-align: right;
}

.content-wrap .ask a {
	padding: 10px 20px;
	display: inline-block;
	vertical-align: middle;
	background: #e6a82d;
	color: #fff;
	font-size: 18px;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	padding-right: 2.2em;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-ms-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

.content-wrap .ask a:before {
	content: url(/images/ask.png);
	position: absolute;
	right: 1em;
	padding: 1px 1px 0;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
}

.content-wrap .ask a:hover:before ,
.content-wrap .ask a:focus:before ,
.content-wrap .ask a:active:before {
	animation: askIcon 1s infinite alternate ease-in-out;
	-webkit-animation: askIcon 1s ease-in-out;
	-moz-animation: askIcon 1s ease-in-out;
	-ms-animation: askIcon 1s ease-in-out;
	-o-animation: askIcon 1s ease-in-out;
}

@-webkit-keyframes askIcon {
  16.65% { -webkit-transform: translateX(6px); }
  33.3% { -webkit-transform: translateX(-5px); }
  49.95% { -webkit-transform: translateX(4px); }
  66.6% { -webkit-transform: translateX(-2px); }
  83.25% { -webkit-transform: translateX(1px); }
  100% { -webkit-transform: translateX(0); }
}

@-moz-keyframes askIcon {
  16.65% { -moz-transform: translateX(6px); }
  33.3% { -moz-transform: translateX(-5px); }
  49.95% { -moz-transform: translateX(4px); }
  66.6% { -moz-transform: translateX(-2px); }
  83.25% { -moz-transform: translateX(1px); }
  100% { -moz-transform: translateX(0); }
}

@-ms-keyframes askIcon {
  16.65% { -ms-transform: translateX(6px); }
  33.3% { -ms-transform: translateX(-5px); }
  49.95% { -ms-transform: translateX(4px); }
  66.6% { -ms-transform: translateX(-2px); }
  83.25% { -ms-transform: translateX(1px); }
  100% { -ms-transform: translateX(0); }
}

@-o-keyframes askIcon {
  16.65% { -o-transform: translateX(6px); }
  33.3% { -o-transform: translateX(-5px); }
  49.95% { -o-transform: translateX(4px); }
  66.6% { -o-transform: translateX(-2px); }
  83.25% { -o-transform: translateX(1px); }
  100% { -o-transform: translateX(0); }
}

@keyframes askIcon {
  16.65% { transform: translateX(6px); }
  33.3% { transform: translateX(-5px); }
  49.95% { transform: translateX(4px); }
  66.6% { transform: translateX(-2px); }
  83.25% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}


/************ = 適應性 = ************/
/* +width:1280 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1280px) {
	.prodImg {
		width: 100%;
	}
}

/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	#products ul li {
		width: 50%;
	}
	.prodImg a.prev ,
	.prodImg a.next {
		font-size: 50px;
	}
	.prodImg ul li img {
		height: 300px;
	}
	.orderfunction p {
		width: 49%;
	}
	.orderfunction p:last-child {
		margin-top: 10px;
		width: 100%;
	}
	.prod-art ul li.active a {
		padding: 15px 10px;
	}
	.prod-art ul li a {
		padding: 10px;
	}
}

/* +width:480 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
}

/* +width:450 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 450px) {
	#products ul li ,
	.orderfunction p {
		width: 100%;
	}
}