@charset "UTF-8";

.brandlist__inner {
  max-width: 1000px;
  padding: 0;
  margin: 0 auto;
}

.brandlist img {
  width: 100%;
  vertical-align: bottom;
}

.brandlist-filter-search {
  position: relative;
  width: 464px;
  height: 40px;
  margin: 0 auto 48px;
}

.brandlist-filter-search::before {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 16px;
  height: 16px;
  content: '';
  background: url(https://brandavenue.r10s.jp/img/library/contents/cosmetics/20240328/icon_search.png) no-repeat;
  background-size: contain;
}

.brandlist-filter-search-field {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 40px !important;
  padding-left: 40px !important;
  font-size: 14px;
  background-color: #eceeef;
  border: none;
  border-radius: 2px;
}

.brandlist-filter-search-field::placeholder {
  font-weight: 400;
  color: #555e66;
}

.brandlist-filter-list {
  display: flex;
  justify-content: center;
}

.brandlist-filter-list::-webkit-scrollbar {
  display: none;
}

.brandlist-filter {
  box-sizing: border-box;
  height: 48px;
  padding: 0 10px;
  margin: 0 10px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 48px;
  color: #555e66;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border-bottom: 2px solid #d2d3d5;
  transition: background 0.2s ease-out;
}

.brandlist-filter:last-child {
  margin-right: 0;
}

.brandlist-filter.brandlist-filter--active {
  display: inline-block !important;
  padding-bottom: 4px !important;
  font-weight: bold !important;
  color: #1a1a1a !important;
  border-bottom: 2px solid #1a1a1a !important;
}

.brandlist-filter.disabled {
  color: #a0acb2 !important;
  pointer-events: none !important;
}

.brandlist-all {
  visibility: hidden;
  height: 0;
  opacity: 0;
}

.brandlist-all.brandlist-filter--active.brandlist-search--active {
  visibility: visible;
  height: auto;
  margin-top: 40px;
  opacity: 1;
}

.brandlist__loading {
  padding: 40px 0;
  text-align: center;
}

.brandlist__loading-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M13.8462%200V1.87774C18.5649%202.75576%2022.1538%206.92099%2022.1538%2011.9215C22.1538%2017.5566%2017.5985%2022.1418%2012%2022.1418C6.40154%2022.1418%201.84615%2017.5566%201.84615%2011.9215C1.84615%206.92099%205.43508%202.75576%2010.1538%201.87774V0C4.40492%200.895668%200%205.88409%200%2011.9215C0%2018.5916%205.37231%2024%2012%2024C18.6277%2024%2024%2018.5916%2024%2011.9215C24%205.88409%2019.5951%200.895668%2013.8462%200Z%22%20fill%3D%22%2369767B%22%2F%3E%3C%2Fsvg%3E);
  background-repeat: no-repeat;
  background-size: contain;
  animation: loadingAnimation 1s linear infinite;
}

.brandlist__list {
  position: relative;
  margin: 0 20px;
}

.brandlist__list-card {
  position: absolute;
  box-sizing: border-box;
  display: block;
  width: calc(20% - 10px);
  margin: 0 5px 10px;
  border: solid 1px #d1d1d1;
}

.brandlist__list-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px;
  background-color: transparent;
  transition: opacity 0.2s ease-out;
}

.brandlist__list-link:hover {
  opacity: 0.7 !important;
}

.brandlist__list-logo {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 1px;
}

.brandlist__list-logo img {
  width: auto;
  max-height: 100%;
  object-fit: contain;
}

.brandlist__list-thumb {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  padding-top: 8px;
  overflow: hidden;
}

.brandlist__list-thumb img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
