/* TOP */
body #mainContentsContainer > .productsTopContainer{
	width: 100%;	
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.productsTopContainer a, .productsTopContainer:after{
  width: 30%;
  display: block;
  margin-top: 10px;
  margin-bottom: 40px;
  font-weight: bold;
	font-size: 11pt;
}

.productsTopContainer:after{
  content: "";
}

.productsTopContainer a > div{
  width: 100%;
  height: 0;
  padding-top: 60%;
  position: relative;
  overflow: hidden;
}

.productsTopContainer a > div > img{
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* RUBBER PRODUCTS */
.rubberProductsH1{
  position: relative;
  margin-top: 0;
  margin-bottom: 30px;
}

.rubberProductsH1 > img{
	width: 100%;
  height: auto;
}

.rubberProductsH1 > div{
	position: absolute;
	top: 0;
	left: 0;
	height: 0;
	border-top: 40px solid black;
	border-right: 40px solid transparent;
	width: 240px;
}

.rubberProductsH1 > div > div{
	color: white;
	font-weight: bold;
	position: absolute;
	top: -36px;
	left: 20px;
	width: 220px;
	font-size: 16pt;
}

body #mainContentsContainer > .rubberProductsContainer{
	width: 100%;	
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.rubberProductsContainer > a, .rubberProductsContainer:after{
  width: 30%;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  display: block;
}

.rubberProductsContainer:after{
  content: "";
}

.rubberProductsContainer > a > div{
  width: 100%;
  height: 0;
  padding-top: calc(60% + 32px);
  position: relative;
  overflow: hidden;
}

.rubberProductsContainer > a > div > img{
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.rubberProductsContainer > a > div > div{
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: black;
	padding: 4px 2px;
}

.rubberProductsContainer > a > div > div > div{
	color: white;
	font-weight: bold;
	text-align: center;
}

.rubberProductsContainer > a > div > div > div:before,
.toughLongTopContainer > a > div > div > div:before{
	content: "＞ ";
}

/* OKAYASU BRAND */
body #mainContentsContainer > .productToughLongIntroduction{
	width: 80%;	
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 40px auto 60px auto;
	border-bottom: 1px solid black;
	padding: 0 5% 40px 5%;
}

.productToughLongIntroduction > img{
	width: 35%;
}

.productToughLongIntroduction > div{
	width: 60%;
}

.productToughLongIntroduction a{
	border-radius: 3px;
  background: rgb(0,0,191); /* Old browsers */
  background: -moz-linear-gradient(top, rgb(0,0,191) 0%, rgb(0,0,159) 72%, rgb(0,0,127) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgb(0,0,191) 0%,rgb(0,0,159) 72%,rgb(0,0,127) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgb(0,0,191) 0%,rgb(0,0,159) 72%,rgb(0,0,127) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0000bf', endColorstr='#00007f',GradientType=0 ); /* IE6-9 */
	color: white;
	font-size: 16pt;
	text-align: center;
	padding: 10px 10px;
}


body #mainContentsContainer > .okayasuBrandFourColumnContainer{
	width: 100%;	
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
  margin: 0 0 30px 0;
}

.okayasuBrandFourColumnContainer a, .okayasuBrandFourColumnContainer:after{
  width: 22%;
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.okayasuBrandFourColumnContainer:after{
  content: "";
}

.okayasuBrandFourColumnContainer a > div{
  width: 100%;
  height: 0;
  padding-top: 75%;
  position: relative;
  overflow: hidden;
}

.okayasuBrandFourColumnContainer a > div > img{
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

body #mainContentsContainer > .toughLongTopContainer{
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 20px;
	margin-bottom: 30px;
}

.toughLongTopContainer a{
	width: 44%;
	height: 5rem;
	display: flex;
	margin: 2rem 3%;
	align-items: center;
	background-color: rgb(242, 242, 242);
	position: relative;
}

.toughLongTopContainer a:before{
	position: absolute;
	width: 3%;
	height: 96%;
	top: 2%;
	left: 1%;
	content: "";
}

.toughLongTopContainer a > div:first-child{
	width: 43%;
	margin-left: 7%;
	font-weight: bold;
}

.toughLongTopContainer a > div:first-child > span{
	font-size: 10pt;
}

.toughLongTopContainer a > div:nth-child(2){
	width: 48%;
	margin-left: 1%;
	margin-right: 1%;
	display: flex;
	justify-content: center;
}

.toughLongTopContainer a > div:nth-child(2) > img{
	width: 50%;
}

.toughLongTopContainer a.toughLongTopContainer_a:before{
	background-color: rgb(79, 137, 234);
}

.toughLongTopContainer a.toughLongTopContainer_b:before{
	background-color: rgb(79, 113, 190);
}

.toughLongTopContainer a.toughLongTopContainer_c:before{
	background-color: rgb(33, 44, 140);
}

.toughLongTopContainer a.toughLongTopContainer_d:before{
	background-color: rgb(104, 52, 154);
}

.productCarousel > div:first-child{
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	margin-top: 40px;
	margin-bottom: 20px;
}

.productCarousel > div:first-child > div:first-child,
.productCarousel > div:first-child > div:last-child{
	width: 5%;
	font-weight: 900;
	transform: scaleY(2);
	height: 50px;
	font-size: 24pt;
	text-align: center;
	opacity: 0;
}

.productCarousel > div:first-child > div:first-child.shown,
.productCarousel > div:first-child > div:last-child.shown{
	opacity: 1;
	cursor: pointer;
}

.productCarousel > div:first-child > div:first-child{
	margin-right: 3%;
}

.productCarousel > div:first-child > div:last-child{
	margin-left: 3%;
}

	
.productCarousel > div:first-child > div:nth-child(2){
	width: 48%;
	height: 350px; /* for loading */
	background-size: cover;
	background-position: center;
}

.productCarousel > div:nth-child(2){
	width: 100%;
	margin-bottom: 50px;
}

.productCarousel > div:nth-child(2) > ul{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;	
}

.productCarousel > div:nth-child(2) > ul > li{
	width: 18%;
	margin-left: 1%;
	margin-right: 1%;
	margin-bottom: 2%;
	list-style: none;
	cursor: pointer;
	background-size: cover;
	background-position: center;
}

.productDetail{
	width: 70%;
	min-height: 100px; /* for loading */
	margin: 0 auto;
	text-align: center;
}

.productCharateristic dt{
	border-bottom: 3px solid #00007F;
	font-size: 16pt;
	font-weight: bold;
	width: 150px;
	margin: 0 auto 15px auto;
	letter-spacing: 0.2em;
	text-align: center;
}

.productCharateristic dd{
	width: 80%;
	margin: 0 auto 30px auto;
	text-align: center;
}

.productCharateristic dd:not(.withoutIndent){
	text-indent: 20px;	
}

body #mainContentsContainer > .productDownloadButton,
body #mainContentsContainer > .productShoppingButton,
body #mainContentsContainer > .productsListButton{
	/* generally defined at common.bottomButton */
	display: flex;
	border-radius: 3px;
  background: rgb(0,0,191); /* Old browsers */
  background: -moz-linear-gradient(top, rgb(0,0,191) 0%, rgb(0,0,159) 72%, rgb(0,0,127) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgb(0,0,191) 0%,rgb(0,0,159) 72%,rgb(0,0,127) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgb(0,0,191) 0%,rgb(0,0,159) 72%,rgb(0,0,127) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0000bf', endColorstr='#00007f',GradientType=0 ); /* IE6-9 */
	color: white;
	width: 300px;
	height: 60px;
	font-size: 18pt;
	text-align: center;
	justify-content: center;
	align-items: flex-start;
	margin: 0 auto;
	outline: none;
	cursor: pointer;
}

body #mainContentsContainer > .productsListButton{
	padding: 10px 0;
	height: 40px;
	margin-bottom: 50px;
}

.productDownloadButton > img, .productShoppingButton > img{
	width: 30px;
	margin: 15px 10px;
}

.productDownloadButton div{
	margin: 5px 10px;
	font-weight: bold;
	font-size: 14pt;
	line-height: 26px;	
}

.productShoppingButton div{
	margin: 15px 10px;
	font-weight: bold;
	font-size: 16pt;
}

#mainContentsContainer .productSubtitle{
	border-left: 10px solid #00007F;
	padding-left: 10px;
	font-size: 16pt;
	letter-spacing: 0.1em;
}

#mainContentsContainer .productSubSubtitle{
	margin-bottom: 10px;
	font-size: 16pt;
	letter-spacing: 0.1em;
}

body #mainContentsContainer > .productOkayasuBrandContainer{
	width: 100%;	
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;	
}

.productOkayasuBrandContainer a, .productOkayasuBrandContainer:after{
  width: 18%;
	margin-right: 2%;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: bold;
}

.productOkayasuBrandContainer a > div{
  width: 100%;
  height: 0;
  padding-top: 60%;
  position: relative;
  overflow: hidden;
}

.productOkayasuBrandContainer a > div > img{
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#mainContentsContainer > ul{
	padding-left: 50px;
	padding-right: 30px;
	inline-size: initial;
}

#mainContentsContainer p, #mainContentsContainer table{
	margin-left: 14px;
	text-indent: 0;
}

.storesInScreen{
	position: absolute;
	list-style: none;
	text-align: left;
	top: 67px;
	background-color: rgba(255, 255, 255, 1);
	border: 2px solid #1D2088;
	width: 130px;
	height: 108px;
}

.storesInScreen:not(.shown){
	display: none;	
}

.storesInScreen > li{
	width: calc(100% - 10px);
	height: 30px;
	padding: 2px 5px;
}

.storesInScreen > li > a{
	color: rgb(11, 48, 142);
	display: block;
	width: 100%;
	height: 100%;
	font-weight: bold;
}
#mainContentsContainer ul.storesInScreen > li > a{
	text-decoration: none;	
}
.storesInScreen > li > a > img{
	width: 30px;
	margin-top: 2px;
	margin-bottom: -8px;
	margin-right: 10px;
	margin-left: 8px;
}

.storesInScreen:before,
.storesInScreen:after{
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.storesInScreen:before{
	border-color: rgba(11, 48, 142, 0);
	border-bottom-color: #0B308E;
	border-width: 9px;
	margin-left: -9px;
}

.storesInScreen:after{
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #ffffff;
	border-width: 6px;
	margin-left: -6px;
}

@media screen and (max-width: 767px){
  body #mainContentsContainer > .productsTopContainer,
	body #mainContentsContainer > .productOkayasuBrandContainer{
    width: 94%;
  }
  
  .productsTopContainer a{
    width: 49%;
    margin-bottom: 10px;
  }

  .productOkayasuBrandContainer a{
    width: 48%;
    margin-right: 2%;
  }

  
  .productsTopContainer a > div,
  .rubberProductsContainer a,
	.productOkayasuBlandContainer a > div{
		font-size: calc(12pt + 0.2vw);
	}

  body #mainContentsContainer > .rubberProductsH1,
  body #mainContentsContainer > .rubberProductsContainer{
    width: 85%;
  }
  
  .rubberProductsH1{
    margin-bottom: 10px;
	}
	
	.rubberProductsH1 > div{
		border-top: 30px solid rgba(0,0,0,0.5);
    border-right: 30px solid transparent;
    width: 220px;
	}

	.rubberProductsH1 > div > div{
		font-size: 14pt;
		top: -28px;
	}

  .rubberProductsContainer > a,
	.toughLongTopContainer > a{
    width: 100%;
  }
	
	.toughLongTopContainer > a{
		margin-top: 20px;
		margin-bottom: 20px;
	}
	
	.rubberProductsContainer > a > div{
		height: auto;
		padding-top: 0;
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-start;
	}
	
	.rubberProductsContainer > a > div > img,
	.toughLongTopContainer > a > div > img{
		width: 45%;
		height: 45%;
		position: static;
		top: 0;
		transform: translateY(0);
		align-self: flex-start;
	}

	.rubberProductsContainer > a > div > div,
	.toughLongTopContainer > a > div > div{
		width: 55%;
		padding: 25px 5px;
		position: relative;
		align-self: stretch;
	}
	
	.toughLongTopContainer > a > div > div{
		background-color: black;
		color: white;
		font-weight: bold;
		font-size: 16pt;
	}

	.rubberProductsContainer > a > div > div > div,
	.toughLongTopContainer > a > div > div > div{	
		position: absolute;
    width: calc(100% - 10px);
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
	}
  
	.rubberProductsContainer > a > div > div > div:before,
	.toughLongTopContainer > a > div > div > div:before{
		content: "";
	}
	
  body #mainContentsContainer > .okayasuBrandFourColumnContainer{
    width: 96%;	
  }
  
  .okayasuBrandFourColumnContainer a, .okayasuBrandFourColumnContainer:after{
    width: 100%;
    margin-bottom: 10px;
  }
  
  .okayasuBrandFourColumnContainer:after{
    content: "";
  }
	
	body #mainContentsContainer > .toughLongTopContainer{
		width: 94%;	
	}

	.toughLongTopContainer a{
		width: 100%;
	}

	body #mainContentsContainer > .productCarousel{
		width: 100vw;
	}
	
	.productCarousel > div:first-child{
	}
	
	.productCarousel > div:first-child > div:first-child,
	.productCarousel > div:first-child > div:last-child{
		width: 3%;
		margin-left: 2%;
		margin-right: 2%;
	}

	.productCarousel > div:first-child > div:nth-child(2){
		width: 86%;
	}
	
	.productCarousel > div:nth-child(2){
		overflow-x: scroll;
	}
	
	.productCarousel > div:nth-child(2) > ul{
		flex-wrap: nowrap;
		padding-left: 2vw;
		padding-right: 2vw;
	}
	
	.productCarousel > div:nth-child(2) > ul > li{
		width: 30vw;
		margin-left: 2vw;
		margin-right: 2vw;
	}	

	.productDetail{
		width: 96%;
	}
	
	body #mainContentsContainer > .productToughLongIntroduction{
		display: block;
	}
	
	.productToughLongIntroduction > img,
	.productToughLongIntroduction > div{
		width: 100%;		
	}
}