.p-sub-category {
  margin: 30px 10px;
  padding: 0;
  list-style-type: none;
}
ul.p-sub-category{
  text-align:center;
}
.p-sub-category a{
    text-decoration: none;
    color: #333;
    display: inline-block;
}

span.item-search{
    padding: 5px;
    background-color: #f4f4f6;
    color:#012643;
}

@media only screen and (max-width: 769px){
span.item-search{
display:block;
  }
}

.p-sub-category::after {
  display: block;
  clear: both;
  content: '';
}

.p-sub-category__item {
  float: left;
  box-sizing: border-box;
  width: 50%;
  padding: 10px 5px;
  display: block;
}

.p-sub-category__image {
  display: block;
  margin-bottom: 10px;
}

.p-sub-category__link {
  display: inline-block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-sub-category__link:hover {
  opacity: .66;
}

.p-sub-category__link:active {
  opacity: 1;
}

.p-sub-category__name {
  line-height: 1.3;
  position: relative;
  display: block;
  padding-left: .4em;  
}

/**
.p-sub-category__name::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '-';
}
**/

.p-sub-category__name::before {
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (min-width: 600px) {
  .p-sub-category {
    margin-right: 0;
    margin-left: 0;
  }

  .p-sub-category__item {
    width: 25%;
    padding: 15px 10px;
  }

  .p-sub-category__item:nth-child(4n + 1) {
    clear: both;
  }
}

@media screen and (max-width: 599px) {
  .p-sub-category__item:nth-child(2n + 1) {
    clear: both;
  }
}

.nav_child_category{
  font-size:0;
  padding:0;
}
.nav_child_category li{
  display: inline-block;
  margin:5px;
}

#rankingItem .item-image {
    display: block;
    max-width: 500px;
    width: 50%;
    float: left;
    margin: 0 20px 60px 20px;
}
.item-detail .item-image {
    font-size: 140%;
    color: #012643;
    line-height: 1.6;
    font-weight: 500;
}

#rankingItem li {
    clear: both;
    list-style: none;
}

#rankingItem .item-image img {
    max-width: 380px;
    width: 100%;
}


#rankingItem .item-wrapper {
    display: block;
    float: right;
    max-width: 520px;
    width: 43%;
    margin-bottom: 60px;
}

#rankingItem .item-rank {
    display: block;
    width: 80px;
    height: auto;
    text-align: center;
    font-weight: 500;
    font-size: 100%;
    padding: 5px;
    background-color: #f4f4f6;
    color: #012643;
}

#rankingItem .item-title {
    font-size: 100%;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

#rankingItem .item-price {
    font-size: 90%;
}

#rankingItem .btn_detail {
    width: 75%;
    margin-top: 30px;
}
.btn_detail {
    padding: 0;
    border: 1px solid #012643;
    border-radius: 4px;
    line-height: 40px;
    min-height: 40px;
    text-align: center;
    color: #012643;
}

#rankingItem {
    display: block;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

#rankingItem ul {
    margin: 0;
    padding: 0;

}

#rankingItem .rank1 {
    background-color: #E5B859;
    color: #FFF;
}
#rankingItem .rank2 {
    background-color: #888D99;
    color: #FFF;
}
#rankingItem .rank3 {
    background-color: #f4f4f6;
    color: #012643;
}

#rankingItem a {
    text-decoration: none;
    color: #000;
}

.btn_detail:active, .btn_detail:hover, .btn_detail:focus {
    background-color: #012643;
    color: #fff;
}
.btn_detail {
    padding: 0;
    border: 1px solid #012643;
    border-radius: 4px;
    line-height: 40px;
    min-height: 40px;
    text-align: center;
    color: #012643;
}
p.ranking-description{
  text-align:center;
  font-size:90%;
}

@media only screen and (max-width: 769px){
	#rankingItem .item-image {
	  	 max-width: 769px;
    	width: 100%;
    	margin: 0 0px 10px 0px;
      text-align:center;
	}	
	#rankingItem .btn_detail {
   	 	width: 100%;
    	margin-top: 20px;
	}
  	#rankingItem .item-wrapper {
    display: block;
    float: left;
    width: 100%;
    margin-bottom: 60px;
    max-width: 520px;
	}
}

.category_description {
    border: 4px double #ddd;
    margin: 2em 0;
    padding: 2em;
    line-height: 1.7;
    text-align:left;
   font-size:80%;
}