@charset "utf-8";

/*====================
  INNOVATION
====================*/
.l-contentsCareers {
  color: #000;
  background: #fff;
}

/*----------
  MV
----------*/
.l-contentsCareers_mv {
  padding: 7rem 19% 3rem;
}

@media screen and (max-width: 1199px) {
  .l-contentsCareers_mv {
    padding: 7rem 24% 3rem;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsCareers_mv {
    padding: 5.5rem 15%;
  }
}

.l-contentsCareers_mv--title {
  font-weight: 400;
  font-size: 4.4rem;
  line-height: calc(60 / 44);
  text-align: center;
}

@media screen and (max-width: 1199px) {
  .l-contentsCareers_mv--title {
    font-size: 2.4rem;
    line-height: 1.5;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsCareers_mv--title {
    font-size: 2rem;
    line-height: 1.5;
  }
}

.l-contentsCareers_mv--category {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 5.5rem;
}

@media screen and (max-width: 1199px) {
  .l-contentsCareers_mv--category {
    gap: 1.6rem;
    margin-top: 4rem;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsCareers_mv--category {
    flex-direction: column;
    align-items: center;
    margin-top: 3.2rem;
  }
}

.l-contentsCareers_mv--category_item {
  transition: all 0.3s ease;
  flex-basis: 20rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 1.4rem;
  /* line-height: 6rem; */
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  height: 6rem;
  border: solid 0.2rem #000;
  background: #000;
  position: relative;
}
  
@media screen and (max-width: 767px) {
  .l-contentsCareers_mv--category_item {
    flex-basis: auto;
    width: 20rem;
  }
}
  
.l-contentsCareers_mv--category_item p {
  font: inherit;
  line-height: 1.4;
}


@media screen and (max-width: 767px) {
  .l-contentsCareers_mv--category_item {
    flex-basis: auto;
    width: 20rem;
  }
}

.l-contentsCareers_mv--category_item span {
  /* position: absolute; */
  font-size: 0.8rem;
  top: 15px;
  right: 0;
  bottom: 0;
  left: 0;
  /* margin: auto; */
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.l-contentsCareers_mv--category_item:hover {
  color: #000;
  background: #fff;
}

.l-contentsCareers_mv--brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-top: 9.5rem;
}

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

.l-contentsCareers_mv--brand_item {
  filter: brightness(0);
}

@media screen and (max-width: 767px) {
  .l-contentsCareers_mv--brand_item {
    flex-basis: auto;
  }
}

.l-contentsCareers_mv--brand_item--inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.l-contentsCareers_mv--brand_item img {
  object-fit: contain;
}

/*----- ブランドごと -----*/
/* MacCANN */
.l-contentsCareers_mv--brand_item.maccan img {
  width: 8.9rem;
}

/* MRM */
.l-contentsCareers_mv--brand_item.mrm img {
  width: 5.5rem;
}

/* MacCANN HEALTH */
.l-contentsCareers_mv--brand_item.mccann-health img {
  width: 8.1rem;
}

/* momentum */
.l-contentsCareers_mv--brand_item.momentum img {
  width: 11.6rem;
}

/* CRAFT */
.l-contentsCareers_mv--brand_item.craft img {
  width: 6.3rem;
}

/* UM */
.l-contentsCareers_mv--brand_item.united-mccann img {
  width: 3.9rem;
}

/*----------
  一覧
----------*/
.l-contentsCareers_list {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
  .l-contentsCareers_list {
    flex-direction: column;
  }
}

.l-contentsCareers_list--item,
.l-contentsCareers_list--head {
  overflow: hidden;
  position: relative;
  flex-basis: calc(100% / 3);
  height: 29rem;
}

@media screen and (max-width: 1199px) {
  .l-contentsCareers_list--item,
  .l-contentsCareers_list--head {
    flex-basis: 50%;
  }
}

/*----- 画像 -----*/
@media screen and (max-width: 767px) {
  .l-contentsCareers_list--item {
    flex-basis: auto;
    width: 100%;
    height: auto;
  }
}

.l-contentsCareers_list--item_link--text {
  transition: 0.3s ease;
  opacity: 0;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 12%;
  background: rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 767px) {
  .l-contentsCareers_list--item_link--text {
    opacity: 1;
    position: static;
    padding: 3.5rem 10% 11rem;
    background: none;
  }
}

.l-contentsCareers_list--item_link--text_title {
  font-size: 1.8rem;
  line-height: 1.4;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .l-contentsCareers_list--item_link--text_title {
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #000;
  }
}

.l-contentsCareers_list--item_link--image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 767px) {
  .l-contentsCareers_list--item_link--image {
    height: 25rem;
  }
}

/* ホバー時 */
.l-contentsCareers_list--item:hover .l-contentsCareers_list--item_link--text {
  opacity: 1;
}

/*----- 中心のコンテンツ -----*/
.l-contentsCareers_list--head {
  transition: 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

@media screen and (max-width: 767px) {
  .l-contentsCareers_list--head {
    display: none;
  }
}

.l-contentsCareers_list--head_title {
  font-weight: 600;
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.l-contentsCareers_list--head_title:not(:first-child)::before {
  display: block;
  content: "";
  width: 2.4rem;
  height: 0.2rem;
  margin: 1.6rem auto;
  background: currentColor;
}

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

/*----- 順番を並び替える -----*/
.l-contentsCareers_list--item[data-index="0"] {
  order: 1;
}

.l-contentsCareers_list--item[data-index="1"] {
  order: 2;
}

.l-contentsCareers_list--item[data-index="2"] {
  order: 3;
}

.l-contentsCareers_list--item[data-index="7"] {
  order: 4;
}

.l-contentsCareers_list--head {
  order: 5;
}

.l-contentsCareers_list--item[data-index="3"] {
  order: 6;
}

.l-contentsCareers_list--item[data-index="6"] {
  order: 7;
}

.l-contentsCareers_list--item[data-index="5"] {
  order: 8;
}

@media screen and (max-width: 767px) {
  .l-contentsCareers_list--item[data-index="5"] {
    display: none;
  }
}

.l-contentsCareers_list--item[data-index="4"] {
  order: 9;
}

@media screen and (max-width: 1199px) {
  .l-contentsCareers_list--item[data-index="4"] {
    display: none;
  }
}

/*----- 全体用 -----*/
.l-contentsCareers_list--gallery {
  display: none;
}
