@charset "UTF-8";
/* 社長メッセージ専用CSS */

/* ------------------------------------------------------------
footer表示/非表示 カスタマイズ
------------------------------------------------------------ */
body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) {
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  width: 134rem;
  height: auto;
  margin: 0 auto 8rem;
  padding: 4.4rem 7rem;
  order: -1;
  background-color: #30438d !important;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-head__heading {
  gap: 1.6rem;
  align-items: flex-end;
  flex-direction: row;
  width: auto;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-head__heading-en {
  color: #fff;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-head__heading-en::before {
  display: none;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-head__heading-ja {
  padding-bottom: 0.7rem;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link {
  gap: 0 6rem;
  width: 100%;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link__item {
  width: calc(50% - 3rem) !important;
  height: 7rem;
  border-bottom: 1px solid #455695;
  transition: border-color 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link__item .component-arrow {
  display: block;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link__item .footer-link__background {
  display: none;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link__item.is-current {
  opacity: 0.3;
  pointer-events: none;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link__item.is-current .component-arrow {
  display: none;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-body {
  display: contents;
}

body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-banner {
  position: absolute;
  top: 3rem;
  left: 40rem;
}

body.is-message .footer-link__item:has([href*="/recruit/mid-career/message"]) {
  opacity: 0.3;
  pointer-events: none;
}

body.is-message .footer-link__item:has([href*="/recruit/mid-career/message"]) .component-arrow {
  display: none !important;
}



@media screen and (max-width: 768px) {
  body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) {
    gap: 1rem;
    width: 35.4rem;
    margin: 0 auto 5rem;
    padding: 4rem 2rem 2.8rem;
  }

  body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-head__heading-ja {
    font-size: 1.2rem;
  }

  body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link {
    flex-direction: column;
  }

  body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link__item {
    width: 100% !important;
    height: 5rem;
  }

  body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link__item a {
    padding: 0;
  }

  body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-body {
    display: flex;
    margin-top: 2rem;
    margin-left: auto;
  }

  body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-banner {
    position: relative;
    inset: initial;
    z-index: 1;
  }
}


@media screen and (min-width: 769px) {
  body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-head__heading-en {
    font-size: 5rem;
  }
}


@media (hover: hover) {
  body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link__item:hover {
    border-color: #fff;
  }
}


@media (hover: none) {
  body.is-message .footer-head__item:has([href*="/recruit/mid-career/message"]) .footer-link__item:active {
    border-color: #fff;
  }
}

/* -------------------------------
ここまで
------------------------------- */


/* ------------------------------------------------------------
他パーツカスタマイズ
※※レイアウトが崩れるのでmain.CSSと統合しないこと※※
------------------------------------------------------------ */

.article {
  padding-bottom: 10rem;
}

.article__inner {
  padding-bottom: 9rem;
}

.article .article-header__inner {
  padding: 5rem 10rem 5rem;
}

.article .article-header .article-line {
  bottom: auto;
}

.article .article-header {
  height: 28.4rem;
}

/* メッセージタイトル内に氏名が無いパターン（v2） */
.article .article-header.v2 {
  height: 15.4rem;
}

.component-profile__name {
  font-size: 3.2rem;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .article .article-header,
   .article .article-header.v2 {
    height: auto;
    margin-top: 1rem;
  }

  .article .article-header__inner {
    padding: 4rem 1.5rem 4rem;
  }

  .article {
    padding-bottom: 4rem;
  }

  .article__inner {
    padding-bottom: 7rem;
  }

  .component-profile__name {
    font-size: 2rem;
    line-height: 0.5;
  }
}
/* -------------------------------
ここまで
※※レイアウトが崩れるのでmain.CSSと統合しないこと※※
------------------------------- */