/*
 * iweb52-style16
 *
 * Copyright 2016, TANK
 * 
 * 
 * 2016 / 11 / 01
 */


/* + products
*----------------------------------------------------------------------------*/
#products h2 {
	font-family: 'cwTeXYen', serif;
}

#products ul {
	overflow: hidden;
}

#products ul li {
	margin: 10px 0;
	position: relative;
	float: left;
	width: 25%;
}

#products ul li .productPhoto ,
#products ul li .info {
	margin: 0 10px;
}


#products ul li .info {
	overflow: hidden;
	position: absolute;
	padding: 10px;
	border-top: 2px #fff solid;
	background: rgba(0,0,0,0.6);
	bottom: 0;
}

#products ul li .info h3 ,
#products ul li .info p {
	overflow: hidden;
	width: 75%;
	height: 22px;
	font-size: 12px;
	color: #fff;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

#products ul li .info h3 a {
	font-size: 18px;
	color: #fff;
}

#products ul li .info .more {
	position: absolute;
	right: 15px;
	bottom: 15px;
	z-index: 2;
}


/* + gallery
*----------------------------------------------------------------------------*/
#gallery {
	margin: 0 auto 20px;
	width: auto;
}


/* + orderfunction
*----------------------------------------------------------------------------*/
.orderfunction {
	padding: 5px 0;
	border-top: 1px #b9b9b9 solid;
	border-bottom: 1px #b9b9b9 solid;
	text-align: center;
}

.orderfunction p {
	margin: 5px 1%;
	width: 30%;
	display: inline-block;
	font-size: 16px;
}

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

.orderfunction p strong {
	color: #F40D11;
}

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

.orderfunction p input[type="button"] {
	margin-left: 5px;
	padding: 2px 10px;
	background: #b51919;
	color: #fff;
}


/* + prod-art
*----------------------------------------------------------------------------*/
.content-main .prod-art {
	margin: 20px 0;
}

.content-main .prod-art .pro-article ul {
	overflow: inherit;
}

.content-main .prod-art .pro-article ul li {
	position: relative;
	margin: 10px;
	margin-left: 0;
	float: none;
	width: auto;
	display: inline-block;
}

.content-main .prod-art .pro-article ul li a {
	padding: 10px 20px;
	border: 1px #727272 solid;
	color: #727272;
	font-size: 18px;
}

.content-main .prod-art .pro-article ul li.active a {
	background: #727272;
	color: #fff;
}

.content-main .prod-art .pro-article ul li.active:after {
	content: "";
	position: absolute;
	bottom: -25px;
	left: 37%;
	border: 15px solid transparent;
	border-bottom-color: #876f47;
}

.content-main .prod-art .tab_container {
	margin-bottom: 30px;
	padding: 20px 25px;
	background: #fdfdfd;
	line-height: 25px;
	margin-top: 15px;
	border: 1px solid #ddd;
	border-top: 4px solid #876f47;
	border-bottom: 4px solid #876f47;
}


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

@-webkit-keyframes hvr-icon-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
  }

  33.3% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }

  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }

  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes hvr-icon-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
  }

  33.3% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }

  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }

  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.content-main .ask a {
	padding: 10px 20px;
	display: inline-block;
	vertical-align: middle;
	background: #caa974;
	color: #fff;
	font-size: 18px;
	-webkit-transform: translateZ(0);
	transform: translateZ(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;
	transition-duration: 0.3s;
}

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

.content-main .ask a:hover:before ,
.content-main .ask a:focus:before ,
.content-main .ask a:active:before {
	-webkit-animation-name: hvr-icon-wobble-horizontal;
	animation-name: hvr-icon-wobble-horizontal;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: 1;
	animation-iteration-count: 1;
}


/************ = 適應性 = ************/
/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	#products ul li {
		width: 50%;
	}
}

/* +width:640 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 640px) {
	.orderfunction p {
		width: 47%;
	}
	.orderfunction p:last-child {
		width: 97%;
	}
}

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

/* +width:450 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 450px) {
	.content-main .prod-art .pro-article ul li {
		margin: 10px 0;
	}
	.content-main .prod-art .pro-article ul li a {
		padding: 10px;
		font-size: 16px;
	}
}