.p-sub-category {
  margin: 30px 10px;
  padding: 0;
  list-style-type: none;
}

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

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

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

.p-sub-category__link {
  display: 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: .8em;
}

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

@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;
  }
}

/*カテゴリCSS*/
ul.main{
  display: flex;
  list-style-type: none;
  padding: 0;
  width: 100%;
}
li.li_top_group{
  display: flex;
  align-self: auto;
  flex: 1;
  border-right: 1px solid #fff;
  min-width: 0;
}

li.li_top_group:nth-child(1){/*期間限定*/
  background:red;
}

li.li_top_group:nth-child(2){/*フルーティ*/
  background:#ff1493;
}

li.li_top_group:nth-child(3){/*マイルド*/
  background:#66cdaa;
}

li.li_top_group:nth-child(4){/*ビター*/
  background:#00bfff;
}

li.li_top_group:nth-child(5){/*トップオブトップ*/
  background:#ff4500;
}

li.li_top_group:nth-child(1):hover{/*期間限定*/
  background:#E15652;
}

li.li_top_group:nth-child(2):hover{/*フルーティ*/
  background:#E196BA;
}

li.li_top_group:nth-child(3):hover{/*マイルド*/
  background:#8EC3B1;
}

li.li_top_group:nth-child(4):hover{/*ビター*/
  background:#8AC5F2;
}

li.li_top_group:nth-child(5):hover{/*トップオブトップ*/
  background:#E15652;
}

li.li_top_group:last-child{
  border-left: 1px solid #fff;
}
.a_top_group{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 1em;
  color: #fff;
  text-decoration: none;
  text-align: center;
  /* background: #81cac4; */
  word-break: break-all;
  box-sizing: border-box;
}
/*a.a_top_group:hover{
  background:#f5deb3;
  color:#70BFB7;
}*/