@charset "UTF-8";

@import url("../content.css");


#prd-navi h3 {
	color: #fff;
	font-size: 138.5%;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	//width: calc(100% - 20px);
	width: 100%;
	margin: 30px auto 0;
	padding-top: 7px;
	padding-bottom: 6px;
	background-color: #0a517c;
	display: block;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	-o-box-sizing: border-box; 
	-ms-box-sizing: border-box; 
	box-sizing: border-box;
}

#prd-navi ul {
	margin: 0;
	padding: 20px 0px 3.225806451%;
	/*border-bottom: 1px solid #392b21;*/
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap; 
	flex-wrap: wrap;
}

#prd-navi ul:last-of-type {
	padding-bottom: 10px;
}

#prd-navi ul > li {
	font-size: 22px;
	//width: 31.7460317%;
	width: calc((400 / 1240) * 100%);
	//height: 250px;
	height: auto;
	margin: 0 0.806451612% 1.612903225%; /* left,right = 10px , bottom = 20px  */
	display: block;
	position:relative;
	overflow: hidden;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	-o-box-sizing: border-box; 
	-ms-box-sizing: border-box; 
	box-sizing: border-box;
}

#prd-navi ul > li:nth-of-type(3n+1) {
	margin-left: 0;
}

#prd-navi ul > li:nth-of-type(3n) {
	margin-right: 0;
}

@-moz-document url-prefix() { 
	#prd-navi ul > li {
	margin-bottom: 0.909090em;
	}
}
	
#prd-navi ul > li > a {
	color: #fff;
	text-decoration:none;
	width: 100%;
	margin: 0;
	display: block;
	position: relative;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	-o-box-sizing: border-box; 
	-ms-box-sizing: border-box; 
	box-sizing: border-box;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

#prd-navi ul > li > a:hover {
	color: #07b3fe;
}

#prd-navi ul > li > a:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	background-color: rgba(0, 0, 0, 0);
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	-o-box-sizing: border-box; 
	-ms-box-sizing: border-box; 
	box-sizing: border-box;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

#prd-navi ul > li > a:hover:before {
	background-color: rgba(0, 0, 0, .54);
}

#prd-navi ul > li > a:after {
	content: "\f00e";
	color: rgba(255, 255, 255, 0);
	font: 32px "FontAwesome";
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0);
	width: calc((32 / 400) * 100%);
	height: calc((32 / 250) * 100%);
	margin: auto;
	position: absolute;
	top: 36%;
	left: 0;
	right: 0;
	z-index: 2;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

#prd-navi ul > li > a:hover:after {
	color: rgba(255, 255, 255, 1);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

#prd-navi ul > li > a > h4 {
	color: rgba(255, 255, 255, 0);
	font-size: 16px;
	text-align: left;
	width: 90%;
	height: auto;
	margin: auto;
	padding: .5em 1em;
	position: absolute;
	top: 15%;
	right: 0;
	left: 0;
	z-index: 2;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

#prd-navi ul > li > a:hover > h4 {
	color: rgba(255, 255, 255, 1);
	
}

#prd-navi ul > li > a > p {
	color: rgba(255, 255, 255, 0);
	font-size: 14px;
	text-align: left;
	width: 90%;
	height: auto;
	margin: auto;
	padding: .5em 1em;
	background-color: rgba(0, 0, 0, 0);
	position: absolute;
	top: 60%;
	right: 0;
	left: 0;
	z-index: 2;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	-o-box-sizing: border-box; 
	-ms-box-sizing: border-box; 
	box-sizing: border-box;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

#prd-navi ul > li > a:hover > p {
	color: rgba(255, 255, 255, 1);
	background-color: rgba(0, 0, 0, .5);
}

.rice > a, .protein > a, .metacon > a, .allepro > a, .t-paste > a, .m-wash > a, .threeway-cw > a, .mild-wash > a, .limitee > a, .ar-plus > a, .cablock > a, .uv-gel > a, .gel-balm > a, .hydrop-plus > a {
	height: 0;
	padding-top: 72.265625%;
	padding-top: calc((289 / 400) * 100%);
	overflow: hidden;
	-webkit-background-size: cover!important;
	-moz-background-size: cover!important;
	background-size: cover!important;
}

.rice > a {
	background: url(../../images/products-navi/prd-nav_rice.png) 0 0 no-repeat;
}

.protein > a {
	background: url(../../images/products-navi/prd-nav_protein.png) 0 0 no-repeat;
}

.metacon > a {
	background: url(../../images/products-navi/prd-nav_meta-control.png) 0 0 no-repeat;
}

.allepro > a {
	background: url(../../images/products-navi/prd-nav_alleprotect.jpg) 0 0 no-repeat;
}

.threeway-cw > a {
	background: url(../../images/products-navi/prd-nav_3way-cw.png) 0 0 no-repeat;
}

.mild-wash > a {
	background: url(../../images/products-navi/prd-nav_mild-wash.png) 0 0 no-repeat;
}

.limitee > a {
	background: url(../../images/products-navi/prd-nav_limitee-blanc.png) 0 0 no-repeat;
}

.ar-plus > a {
	background: url(../../images/products-navi/prd-nav_ar-plus.png) 0 0 no-repeat;
}

.cablock > a {
	background: url(../../images/products-navi/prd-nav_cablock-mist.png) 0 0 no-repeat;
}

.uv-gel > a {
	background: url(../../images/products-navi/prd-nav_uv-gel.png) 0 0 no-repeat;
}

.gel-balm > a {
	background: url(../../images/products-navi/prd-nav_gel-balm.png) 0 0 no-repeat;
}

.t-paste > a {
	background: url(../../images/products-navi/prd-nav_tooth-paste.png) 0 0 no-repeat;
}

.m-wash > a {
	background: url(../../images/products-navi/prd-nav_mouth-wash.png) 0 0 no-repeat;
}

.hydrop-plus > a {
	background: url(../../images/products-navi/prd-nav_HYDROP-Plus.png) 0 0 no-repeat;
}


/* Minimum width 959px and Tablet */
@media all and (max-width: 960px) and (min-width: 680px) {
/*#prd-navi ul > li > a:after {
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
	
	#prd-navi ul > li > a > p {
		display: none;
	}*/
	
#prd-navi ul > li > a > h4 {
	font-size: 14px;
	text-align: left;
	width: 90%;
	padding: .3em 1em;
	top: 14%;
	right: 0;
	left: 0;
}

#prd-navi ul > li > a > p {
	color: rgba(255, 255, 255, 0);
	font-size: 12px;
	text-align: left;
	width: 90%;
	height: auto;
	margin: auto;
	padding: .4em 1em;
	background-color: rgba(0, 0, 0, 0);
	position: absolute;
	top: 60%;
	right: 0;
	left: 0;
	z-index: 2;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	-o-box-sizing: border-box; 
	-ms-box-sizing: border-box; 
	box-sizing: border-box;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

	
}


/* Phone Landscape (Retina) */
@media all and (max-width: 679px) {
	#prd-navi h3 {
		font-size: 14px;
		width: 100%;
		margin: 20px auto 0;
		padding: .3em 1.5em;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		-ms-border-radius: 3px;
		-o-border-radius: 3px;
		border-radius: 3px;
	}
	
	#prd-navi ul {
		padding: 4% 0px 0px;
	}
	
	#prd-navi ul:last-of-type {
		padding-bottom: 0;
	}
	
	#prd-navi ul > li {
		font-size: 15px;
		width: calc((100% - 16px) / 2);
		margin: 0 8px 16px; /* left,right = 15px , bottom = 30px  */
	}
	
	#prd-navi ul > li:nth-of-type(3n+1) {
		margin-left: 8px;
	}
	
	#prd-navi ul > li:nth-of-type(3n) {
		margin-right: 8px;
	}
	
	#prd-navi ul > li:nth-child(2n+1) {
		margin-left: 0;
	}
	
	#prd-navi ul > li:nth-of-type(2n) {
		margin-right: 0;
	}
	
	@-moz-document url-prefix() { 
		#prd-navi ul > li {
		margin-bottom: .8em;
		}
	}
	
	#prd-navi ul > li > a {
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		-ms-border-radius: 3px;
		-o-border-radius: 3px;
		border-radius: 3px;
	}
	
	#prd-navi ul > li > a > h4 {
	font-size: 13px;
	text-align: left;
	width: 90%;
	padding: .3em 1em;
	top: 14%;
	right: 0;
	left: 0;
}
	#prd-navi ul > li > a > p {
		display: none;
	}
	
	#prd-navi ul > li > a:after {
		font-size: 24px;
		width: 24px;
		height: 24px;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

}