/* 百大品牌 */
.brands {
  background-color: #4e78ff;
  padding: 40px 0;
}
@media screen and (max-width: 767.98px) {
  .brands {
    padding: 25px 0;
  }
}
.brands .container {
  max-width: 95%;
  width: 1100px;
  padding: 30px 30px 14px;
  border-radius: 15px;
  position: relative;
  border: 2px solid #fffd54;
  -webkit-box-shadow: 0 0 0 2px #ff4800, 0 0 20px 0 #ff4800,
    0 0 0 2px #ff4800 inset, 0 0 20px 0 #ff4800 inset;
  box-shadow: 0 0 0 2px #fffd54, 0 0 20px 0 #ff4800c, 0 0 0 2px #ff4800 inset,
    0 0 20px 0 #ff4800 inset;
}
.brands__line1 {
  position: absolute;
  top: -20px;
  right: -30px;
  z-index: 2;
  pointer-events: none;
}
.brands__line2 {
  position: absolute;
  bottom: -20px;
  left: -30px;
  z-index: 2;
  pointer-events: none;
}
@media screen and (max-width: 767.98px) {
  .brands__line1 {
    width: 7%;
    right: -20px;
  }
  .brands__line2 {
    width: 7%;
    left: -20px;
  }
}
@media screen and (max-width: 767.98px) {
  .brands .container {
    max-width: 90%;
    padding: 10px 10px 0;
  }
}
.brands__title {
  text-decoration: none;
  display: block;
  padding: 10px;
  margin-bottom: 20px;
  position: relative;
  background-image: url("../img/brands_titlebg.jpg");
  background-size: cover;
  border: 1px solid #ffec6b; /* %內光暈 */
  border-radius: 15px 15px 0 0;
  -webkit-box-shadow: 0 0 20px #ffc64b;
  box-shadow: 0 0 20px #ffc64b;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.brands__title:hover,
.brands__title:active,
.brands__title:focus {
  text-decoration: none;
}
@media screen and (max-width: 767.98px) {
  .brands__title {
    margin-bottom: 15px;
  }
}
.brands__title img {
  width: 7%;
}
.brands__text {
  font-size: 60px;
  margin: 0;
  color: #fee800;
  font-style: italic;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0px #c57708;
}
.brands__text span {
  font-size: 0.7em;
}
@media screen and (max-width: 991.98px) {
  .brands__text {
    font-size: 6vw;
  }
}

@media screen and (max-width: 767.98px) {
  .brands__text {
    font-size: 5.5vw;
    text-shadow: none;
  }
}
.brands__link {
  padding: 15px;
  display: block;
  text-align: center;
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #fffa71;
  -webkit-box-shadow: 0 0 15px #fffa71, 0 -6px 10px #fffa71 inset;
  box-shadow: 0 0 15px #fffa71, 0 -6px 10px #fffa71 inset;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.brands__link:hover {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}

@media screen and (max-width: 767.98px) {
  .brands__link {
    border-radius: 10px;
    padding: 10px;
  }
}

.brands [class^="col"] {
  margin-bottom: 16px;
  padding: 0 8px;
}

@media screen and (max-width: 767.98px) {
  .brands [class^="col"] {
    margin-bottom: 10px;
    padding: 0 5px;
  }
}
.brands .row {
  margin-left: -8px;
  margin-right: -8px;
}

@media screen and (max-width: 767.98px) {
  .brands .row {
    margin-left: -5px;
    margin-right: -5px;
  }
}
