.favorite-tabs {
  width: 100%;
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 20px;
  display: flex;
}
.favorite-tabs a {
  width: 140px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  color: #6f788b;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 10px;
}
.favorite-tabs a::before {
  content: '';
  width: 100%;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
}
.favorite-tabs a.active {
  font-weight: bold;
  color: #4a4a4a;
}
.favorite-tabs a.active::before {
  height: 2px;
  background-color: #4a4a4a;
}

.member__favorite--brand__list--top {
  width: 100% !important;
}

.selection-control {
  display: flex;
  justify-content: flex-end;
}
.selection-control div::after {
  content: '|';
  margin: 0 20px;
}
.selection-control-submit {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: transparent;
  line-height: 1;
}
.selection-control-submit:hover {
  text-decoration: underline;
}

/* SP */
@media screen and (max-width: 800px) {
  .favorite-tabs {
    width: 100%;
    position: relative;
  }
  .favorite-tabs a {
    width: 50%;
  }
}

/* お気に入りブランド */
.brand-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 10px;
  margin-bottom: 20px;
}
.brand-item label {
  display: block;
  text-align: center;
}
.brand-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 10px;
}
.brand-item img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
.brand-logo {
  width: 90px;
  margin: 5px 0;
}
.brand-text {
  text-align: center;
  line-height: 1.2em;
}

/* SP */
.sp-brand-list {
  display: flex;
  flex-direction: column;
  background: #f3f3f3;
  margin: 0;
  gap: 10px;
  padding: 10px;
}
.sp-brand-item {
  background: white;
  border-radius: 10px;
}
.sp-brand-text span {
  font-size: 10px;
  color: #999;
}
.sp-brand-item {
  display: flex;
  align-items: center;
  padding: 15px;
}
.sp-brand-item a {
  display: block;
  text-decoration: underline;
}
.sp-brand-item input {
  margin-left: auto;
}

.sp-section-control-submit {
  width: 300px;
  height: 40px;
  margin: 0 auto;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #ccc;
  background: transparent;
  display: block;
  font-family: 'Yu Gothic', '游ゴシック', 'YuGothic', '游ゴシック体',
  'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', Meiryo, メイリオ,
  Helvetica, Arial, sans-serif;
}