@charset "UTF-8";

#page {
  overflow: visible !important;
}

.wrap {
  display: flex;
  justify-content: space-between;
  margin: 18px auto;
}

/*#category_kodawari .page_title {
  color: #654838;
  border-bottom: 3px solid #654838;
  padding-bottom: 24px;
  font-size: 35px;
  line-height: 1;
}

#category_kodawari .page_title:before,
#category_kodawari .page_title:after {
  display: none;
}*/

.sub-title {
  color: #654838;
  margin-bottom: 54px;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: .2em;
  text-align: center;
}

figure img {
  max-width: 100%;
}

a img:hover {
  opacity: .7;
}

/* main */
#main {
  width: 72.7%;
  max-width: 960px;
  order: 2;
}

#main section {
  margin-bottom: 60px;
}

@media screen and (max-width: 1024px) {
  #main {
    width: 66%;
  }

}


/* ブランド一覧 */
.sub-title-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin-bottom: 0;
  color: #fff;
  background-color: #654838;
}

.brand_inner {
  background-color: #fff;
  border: 1px solid #654838;
}

.brand_list {
  display: flex;
  flex-wrap: wrap;
}

.brand_list_item {
  width: 20%;
  border-left: 1px dotted #654838;
  border-top: 1px dotted #654838;
}

.brand_list_item:nth-child(5n+1) {
  border-left: 0;
}

.brand_list_item:nth-child(-n+5) {
  border-top: 0;
}

.brand_list_item a {
  display: block;
}

.brand_list_img {
  position: relative;
  height: 0;
  padding-top: 100%;
}

.brand_list_img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-position: 50% 50%;
  object-fit: scale-down;
}

@media screen and (min-width: 1320px) {
  .brand_list_img img {
    width: 194px;
    height: 180px;
  }
}



/*aside*/
aside#cat {
  width: 22.8%;
  order: 1;
}

aside#cat h3 {
  color: #654838;
  border-bottom: 2px solid #654838;
  padding: 22px 0;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: .1em;
  line-height: 1;
  text-align: center;
  font-weight: bold;
}

aside#cat li a {
  display: block;
  color: #654838;
  font-size: 17px;
  font-weight: bold;
  border-bottom: 1px dotted #654838;
  padding: 16px 22px 16px 18px;
  background: url("../img/category_arrow.png") 95% 50% / 8px 14px no-repeat;
  line-height: 1;
}

aside#cat li a:hover {
  opacity: 1;
  background-color: #f5f1ea;
}

aside#cat li.cat03 a span {
  display: block;
  padding-right: 15px;
}

/* side */
.side {
  height: 100%;
}

.side-stikcy {
  position: sticky;
  /* top: 0; */
  top: 100px;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  /* top: 0; */
  top: 100px;
}

.sticky:before,
.sticky:after {
  content: '';
  display: table;
}

.brand_wrap {
  width: 85%;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  aside#cat {
    width: 30%;
  }
}

.all_item_inner .item {
  position: relative;
  margin-top: 40px;
  margin-bottom: 0;
}

.all_item_inner .item .ranking {
  text-align: center;
  width: 100%;
  position: absolute;
  top: -38px;
  left: 0;
}

.all_item_inner .item:nth-child(5),
.all_item_inner .item:nth-child(6),
.all_item_inner .item:nth-child(7),
.all_item_inner .item:nth-child(8) {
  margin-top: 73px;
}

.search_cat .search_inner {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-wrap: wrap;
}

.search_cat .search_inner .cat_box {
  width: calc(50% - 10px);
  margin-bottom: 20px;
}

.search_cat .search_inner .cat_box:nth-child(even) {
  margin-left: 20px;
}

.search_cat .search_inner .cat_box a {
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  border: 1px solid #d5c5b7;
  border-radius: 5px;
}

.search_cat .search_inner .cat_box a .name {
  width: 290px;
  padding-left: 30px;
  font-weight: bold;
  font-size: 26px;
}

.search_cat .search_inner .cat013 a .name {
  font-size: 25px;
}

.search_cat .search_inner .cat_box a .img {
  width: 360px;
  margin: 0 0 0 auto;
  border-radius: 0px 5px 5px 0px;
}

.search_cat .search_inner .cat_box a .img img {
  border-radius: 0px 5px 5px 0px;
}

.all_item_inner .item .txt {
  height: 3em;
}

@media screen and (min-width: 768px) and (max-width:1280px) {

  .all_item_inner .item:nth-child(3),
  .all_item_inner .item:nth-child(4) {
    margin-top: 73px;
  }

  .search_cat .search_inner .cat_box {
    width: 100%;
  }

  .search_cat .search_inner .cat_box:nth-child(even) {
    margin-left: 0;
  }
}