@charset "utf-8";

/*====================
  EXPERTISE用
====================*/
.l-contentsExpertise_title {
  font-family: var(--mwsans-semibold);
  font-weight: 400;
  font-size: 14rem;
  line-height: calc(120 / 140);
  text-transform: uppercase;
  padding: 4rem 3rem;
  border-top: 0.1rem solid #000;
}

@media screen and (max-width: 1199px) {
  .l-contentsExpertise_title {
    font-size: 6rem;
    line-height: normal;
    padding: 2rem 4.5rem 4rem 2rem;
    border-top: 0.1rem solid #000;
  }
}

.l-contentsExpertise_list {
  display: flex;
  flex-direction: column;
}

.l-contentsExpertise_list--item {
  display: flex;
  justify-content: space-between;
  transition: 0.5s ease-in-out;
  padding: 4rem 3rem;
}

@media screen and (max-width: 1199px) {
  .l-contentsExpertise_list--item {
    padding: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsExpertise_list--item {
    display: block;
  }
}

.l-contentsExpertise_list--item::after {
  flex-basis: 6rem;
  display: block;
  content: "";
  min-height: 100%;
  background: url("../images/common/vector-right.svg") no-repeat;
  background-size: contain;
  background-position: center;
}

@media screen and (max-width: 767px) {
  .l-contentsExpertise_list--item {
    display: block;
  }
}

@media screen and (max-width: 1199px) {
  .l-contentsExpertise_list--item::after {
    width: 100%;
    height: 3.65rem;
    margin-top: 2rem;
    background-size: contain;
    background-position: left center;
  }
}

.l-contentsExpertise_list--item_brand {
  transition: 0.5s ease-in-out;
  font-size: 9.2rem;
  line-height: 1;
}

@media screen and (max-width: 1199px) {
  .l-contentsExpertise_list--item_brand {
    font-size: 3.7rem;
  }
}

.l-contentsExpertise_list--item_brand img {
  width: auto;
  height: 1em;
}

.l-contentsExpertise_list--item_head {
  display: block;
  font-size: 6.6rem;
  line-height: 1;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

@media screen and (max-width: 1199px) {
  .l-contentsExpertise_list--item_head {
    font-size: 3.6rem;
    line-height: calc(42.48 / 36);
    margin-top: 1.2rem;
  }
}

.l-contentsExpertise_list--item_description {
  font-size: 2rem;
  line-height: calc(18.88 / 20);
  text-transform: uppercase;
  width: 100%;
}

@media screen and (max-width: 1199px) {
  .l-contentsExpertise_list--item_description {
    font-size: 1.6rem;
    line-height: calc(18.88 / 16);
    margin: 1rem 0.2rem 0;
  }
}

/*----- 企業ごとで色を変える -----*/
/* MacCan */
.l-contentsExpertise_list--item.maccan {
  background-color: #06f;
}

/* FUTURE BRAND */
.l-contentsExpertise_list--item.futurebrand {
  background-color: #00ac42;
}

/* CRAFT */
.l-contentsExpertise_list--item.craft {
  background-color: #ff5e01;
}

/* MRM */
.l-contentsExpertise_list--item.mrm {
  background-color: #8e86ff;
}

/* PERTNER AGENCIES */
.l-contentsExpertise_list--item.pertneragency {
  background-color: #cccccc;
}

/*----- ホバー時 -----*/
.l-contentsExpertise_list--item:hover {
  color: #fff;
  background: #000;
}

.l-contentsExpertise_list--item:hover::after {
  filter: invert(1);
}

.l-contentsExpertise_list--item:hover .l-contentsExpertise_list--item_brand {
  filter: invert(1);
}
