@charset "utf-8";

/*
  File Name   : brand.css
  Description : コンテンツエリア関係 他
*/

/* brand-list-wrap
============================================================ */
.brand-list-wrap {
  display: flex;
  flex-wrap: wrap;
}
.brand-list-wrap li {
  width: calc((100% - 40px * 3) / 4);
  margin-right: 40px;
  margin-bottom: 40px;
}
.brand-list-wrap li:nth-child(4n) {
  margin-right: 0;
}
.brand-list-wrap li .logo-block span {
  width: 100%;
  height: 150px;
  line-height: calc(150px - (10px + 10px));
  padding: 10px;
  text-align: center;
  display: inline-block;
  border: solid 1px #e6e6e6;
}
.brand-list-wrap li .logo-block span img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}
.brand-list-wrap li .name-block {
  margin-top: 15px;
}
.brand-list-wrap li .name-block .name {
  display: block;
  position: relative;
  padding-right: 20px;
}
.brand-list-wrap li a:hover {
  text-decoration: none;
  opacity: .7;
}
.brand-list-wrap li a .name::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 0;
  width: 16px;
  height: 16px;
  background: url(../img/common/icon-arrow-right-bl-16px.svg) 0 0 no-repeat;
  background-size: 16px;
}
.brand-list-wrap li a[target="_blank"] .name::after {
  background: url(../img/common/icon-blank-bl-16px.svg) 0 0 no-repeat;
  background-size: 16px;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  .brand-list-wrap {
    display: flex;
    flex-wrap: wrap;
  }
  .brand-list-wrap li {
    width: calc((100% - 20px * 1) / 2);
    margin-right: 20px;
    margin-bottom: 20px;
  }
  .brand-list-wrap li:nth-child(4n),
  .brand-list-wrap li:nth-child(2n) {
    margin-right: 0;
  }
  .brand-list-wrap li .logo-block span {
    width: 100%;
    height: 150px;
  }
  .brand-list-wrap li .logo-block span img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
  }
  .brand-list-wrap li .name-block {
    margin-top: 15px;
  }
  .brand-list-wrap li a:hover {
    opacity: 1;
  }
}


