/*======================================
COMMON ---------------------------------
======================================*/

/* HEAD TAG --------------------------*/
h1 {
  color: #870000;
  font-size: 150%;
  font-weight: bold;
  padding-left: .25em;
  border-left: .25em solid #870000;
  margin-bottom: 1em;
  box-sizing: border-box;
}

/* PRODUCT LIST HEAD -----------------*/
#productlist_head {
  color: #fff;
  font-size: 150%;
  background: #870000;
  width: 100%;
  padding: .5em;
  border-left: 0;
  border-radius: 16px;
  margin-bottom: .5em;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
#productlist_head h2 {
  font-size: 100%;
}
#productlist_head h2,
#productlist_head p {
  margin: 0;
}
#productlist_head .productlist_number {
  font-size: 66%;
  font-weight: normal;
  text-align: right;
}
#productlist_head:before {
  content: none;
}
#productlist_head:after{
  content: none;
}

/* FOR SP ----------------------------*/
@media (max-width:980px) {
  h1 {
    display: flex;
    text-align: center;
    align-items: center;
    padding-left: 0;
    border-left: 0;
  }
  h1::before,
  h1::after {
    content: "";
    flex-grow: 1;
    border-bottom: 3px double #870000;
  }
  h1::before {
    margin-right: 2%;
  }
  h1::after {
    margin-left: 2%;
  }

  /* PRODUCT LIST HEAD ---------------*/
  #productlist_head {
    flex-flow: column;
  }
  #productlist_head h2,
  #productlist_head p,
  #productlist_head .productlist_number {
    text-align: center;
    width: 100%;
  }
}



/*======================================
CONTENT --------------------------------
======================================*/

.itemListAnchor, .sub_lists > li a {
  display: block;
  box-sizing: border-box
}
.itemListAnchor {
  color: #8b665c;
  font-size: 120%;
  text-align: center;
  background: #f0d988;
  padding: .5em 1.5em;
  border: 2px solid #fff;
  border-radius: 16px;
  position: fixed;
  right: .5%;
  bottom: .25em;
  transition: .3s;
  z-index: 1000
}
#cate-top {
  color: #333;
  text-align: center;
  width: 100%
}
#cate-top .cate-top-img {
  width: 100%;
  display: block;
  margin-bottom: 3em;
  aspect-ratio: 4/1
}
#cate-top ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline
}
.cate-top-txt h3 {
  font-size: 150%;
  line-height: 1.5em;
  font-weight: 700;
  margin-bottom: .5em
}
#sh-cate-search, .cate-top-txt p, .cg_freespace_01, .cg_freespace_02 {
  width: 100%;
  padding: 0;
  margin-bottom: 3em;
}
.cate-top-txt ul {
  justify-content: center;
  flex-wrap: nowrap
}
.cate-top-txt ul:first-of-type {
  border-top: 1px solid #8e8e8e;
  border-bottom: 1px dashed #555
}
.cate-top-txt ul:nth-of-type(2) {
  border-bottom: 1px solid #8e8e8e;
  margin-bottom: 3em
}
.cate-top-txt ul li {
  padding: 10px 0;
  margin-right: 5%
}
ul.cate-top-banner li, ul.cate-top-child li, ul.cate-top-menu li {
  font-size: 80%;
  line-height: 1.5em;
  margin: 0 2% 1em 0
}
.cate-top-txt ul li:last-child, .sub_lists > li:nth-child(4n), ul.cate-top-banner li:last-child, ul.cate-top-banner li:nth-child(3n), ul.cate-top-child li:nth-child(10n), ul.cate-top-menu li:nth-child(8n) {
  margin-right: 0
}
.cate-top-txt p {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.cate-top-txt a {
  color: #870000;
  text-decoration: underline;
}
.cate-top-blog,
.cate-top-blogs {
  line-height: 1.5em;
  margin-top: 1em;
  margin-left: auto;
}
span.cate-top-blog {
  display: flex;
  flex-direction: column;
}
span.cate-top-blogs {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: right;
}
span.cate-top-blogs a {
  padding-left: 3%;
}

ul.cate-top-banner, ul.cate-top-child, ul.cate-top-menu {
  margin-bottom: 2em
}
ul.cate-top-banner, ul.cate-top-menu {
  justify-content: flex-start
}
ul.cate-top-child li {
  width: calc((100% - 18%)/ 10)
}
ul.cate-top-menu li {
  width: calc((100% - 14%)/ 8)
}
ul.cate-top-menu li a {
  font-size: 110%;
  font-weight: bold;
  display: block;
}
ul.cate-top-banner li {
  width: calc(96% / 3)
}
#sh-cate-search {
  width: 100%;
  display: flex
}
#sh-cate-search .search-detail-cg {
  display: none
}
#sh-cate-search .sh-con-search-box {
  width: calc(100% - 5em);
  height: 3em;
  border: 1px solid #870000;
  border-radius: 16px 0 0 16px;
  box-sizing: border-box
}
#sh-cate-search .sh-con-search-btn {
  width: 5em;
  height: 3em;
  border: 0;
  border-radius: 0 16px 16px 0;
  background: url(https://file001.shop-pro.jp/PA01005/739/images/mode/icon-search-cr.png) center center/40% no-repeat #870000
}
.sub_lists {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px
}
.sub_lists > li {
  margin-bottom: 1em;
  width: calc(97% / 4);
  margin-right: 1%
}
.sub_lists > li a {
  text-align: center;
  background: #f0f0f0;
  width: 100%;
  padding: .5em 1em;
  border-radius: 16px;
  transition: color .3s, background .3s
}
@media (max-width:980px) {
  .itemListAnchor {
    width: 96%;
    left: 50%;
    transform: translateX(-50%)
  }
  .itemListAnchor:hover {
    animation: none
  }
  span.cate-top-blogs {
    width: auto;
    flex-direction: column;
  }
  span.cate-top-blogs a {
    padding-left: 0;
  }
  ul.cate-top-child li {
    width: calc((100% - 10%)/ 5);
    margin-right: 2%;
    margin-bottom: 1em
  }
  ul.cate-top-child li:nth-child(10n) {
    margin-right: 2%
  }
  .sub_lists > li:nth-child(2n), ul.cate-top-child li:nth-child(5n) {
    margin-right: 0
  }
  ul.cate-top-child li a {
    font-size: 90%;
    line-height: 1.2em
  }
  ul.cate-top-child li a img {
    width: 3em;
    display: block;
    margin: 0 auto .25em
  }
  ul.cate-top-menu li {
    width: calc((100% - 5%)/ 6);
    margin-right: 1%
  }
  ul.cate-top-menu li:nth-child(8n) {
    margin-right: 1%
  }
  ul.cate-top-menu li:nth-child(6n) {
    margin-right: 0
  }
  .sub_lists > li {
    width: calc(98% / 2);
    margin-right: 2%;
    margin-bottom: 10px
  }
}

/* PANKUZU LIST ----------------------*/
#pankuzu_lists {
  margin-bottom: .5em;
}
.pankuzu_list {
  display: flex;
  flex-wrap: wrap;
}
.pankuzu_list li {
  line-height: 1.5em;
}
.pankuzu_list li:nth-child(n+2)::before {
  content: "";
  display: inline-block;
  width: .5em;
  height: .5em;
  transform: rotate(45deg);
  border-style: solid;
  border-color: #333;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 0;
  border-left-width: 0;
  vertical-align: middle;
  margin: 0 1em .2em;
}
.pankuzu_list li a {
  color: #333;
}

/* CATEGORY BOTTOM -------------------*/
#cate-bottom {
  color: #333;
  width: 100%
}
.cate-bottom-qa h3 {
  color: #870000;
  font-size: 150%;
  font-weight: bold;
  padding-left: .25em;
  border-left: .25em solid #870000;
  margin-bottom: 1em;
  box-sizing: border-box;
}
.cate-bottom-qa h4 {
  position: relative;
  padding: .5em .5em .5em 3em;
  background: #17397E;
  /*border: 1px solid #d8e3ee;*/
  border-radius: .5em .5em 0 0;
  font-size: 120%;
  font-weight: bold;
  line-height: 1.5em;
  color: #fff;
}
.cate-bottom-qa h4::before {
  content: "Q.";
  color: #fff;
  font-size: 150%;
  font-weight: bold;
  position: absolute;
  left: .5em;
  top: 50%;
  transform: translateY(-50%);
}
.cate-bottom-qa p,
.cate-bottom-qa > ul {
  position: relative;
  padding: .5em .5em .5em 3.5em;
  margin-bottom: 2em;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 6px 6px;
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}
.cate-bottom-qa p::before,
.cate-bottom-qa > ul::before {
  content: "A.";
  color: #870000;
  font-size: 150%;
  font-weight: bold;
  line-height: 1;
  position: absolute;
  left: .65em;
  top: .5em;
}
.cate-bottom-qa strong {
  font-weight: bold;
}
.cate-bottom-qa li {
  list-style-type: disc;
  line-height: 1.5em;
  margin-left: 1em;
}
.cate-bottom-qa ul li:not(:last-child) ul {
  margin-bottom: .5em;
}
.cate-bottom-qa ul li ul li {
  list-style-type: "- ";
}



@media (hover:hover) {
  .productlist_sort a:hover, ul.pagerlist li a:hover {
    background: #333;
    transition: color .3s, background .3s
  }
  .productlist_sort a:hover, .sub_lists > li a:hover, ul.pagerlist li a:hover {
    transition: color .3s, background .3s
  }
  .itemListAnchor:hover {
    color: #8b665c;
    animation: 2s infinite itemListAnchor
  }
  .pankuzu_list li a:hover {
    color: #870000;
    text-decoration: underline;
  }
  @keyframes itemListAnchor {
    0%, 100% {
      bottom: .25em
    }
    50% {
      bottom: .5em
    }
  }
  .sub_lists > li a:hover {
    color: #fff;
    background: #870000
  }
  .productlist_sort a:hover {
    color: #fff
  }
  ul.pagerlist li a:hover {
    color: #eee
  }
}