@charset "UTF-8";
/*
 * フッター（本体フロントと同一デザイン）
 *
 * 本体 Laravel の ECREW本体/public/assets/css/scss/layout/_footer.scss を移植したもの。
 * 参照元マークアップ: ECREW本体/resources/views/layouts/candidate/default.blade.php のフッター部分
 *
 * ・本体は html font-size 87.5%(14px)→xl で 100%(16px) の rem 設計。WP は 16px 固定のため px 変換。
 * ・ブレイクポイントは本体を踏襲（sm=576 / md=768 / lg=992 / xl=1200 / xxl=1400）。
 * ・内側コンテナ幅は本体 .container-lg（lg=936 / xl=1116 / xxl=1200）を .footer__container として再現。
 * ・to-top ボタンは本体 .page-top を移植。可視化クラスは common.js に合わせ .is-visible を使用
 *   （本体の .is-fadein を .is-visible に読み替え）。
 * ・本体ヘッダー／フッターを変更した場合は当ファイルと footer-content.php の手動追随が必要。
 */
/* コンテナ（本体 .container-lg 相当） */
.footer__container {
  width: 100%;
  margin-inline: auto;
}
@media screen and (min-width: 992px) {
  .footer__container {
    max-width: 936px;
  }
}
@media screen and (min-width: 1200px) {
  .footer__container {
    max-width: 1116px;
  }
}
@media screen and (min-width: 1400px) {
  .footer__container {
    max-width: 1200px;
  }
}

/* 左右の基本余白（本体 .px-basic 相当） */
.footer-link__content {
  padding-right: 20px;
  padding-left: 20px;
}

/* ==== ページトップボタン（本体 .page-top を単一要素に集約） ==== */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  opacity: 0;
  border: none;
  border-radius: 50%;
  visibility: hidden;
  background-color: #F01C3D;
  transition: transform 0.18s ease, visibility ease 0.18s, box-shadow 0.18s ease, opacity 0.18s ease, background-color 0.18s ease;
  box-shadow: 0 4px 14px rgba(240, 28, 61, 0.4), 0 2px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
@media screen and (min-width: 576px) {
  .page-top {
    width: 56px;
    height: 56px;
  }
}

.page-top:hover {
  transform: translateY(-3px);
  background: #d6122f;
  box-shadow: 0 8px 20px rgba(240, 28, 61, 0.5), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.page-top:active {
  transform: translateY(-1px);
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.page-top svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.8;
}
@media screen and (min-width: 576px) {
  .page-top svg {
    width: 16px;
    height: 16px;
  }
}

.page-top .txt {
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
  letter-spacing: 0.06em;
  line-height: 1;
}
@media screen and (min-width: 576px) {
  .page-top .txt {
    font-size: 12px;
  }
}
@media screen and (min-width: 1200px) {
  .page-top .txt {
    font-size: 12px;
  }
}

/* ==== フッター上段：リンク集 ==== */
.footer-link__content {
  border-top: 1px solid #F01C3D;
}

.footer-link__section {
  padding-top: 14px;
  padding-bottom: 14px;
}

.footer-link__section:not(:last-of-type) {
  border-bottom: 1px solid #E7E7E7;
}

.footer-link__inner {
  padding-top: 14px;
  padding-bottom: 16px;
}

.footer-link__title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #F01C3D;
  margin-top: 0;
  margin-bottom: 5px;
}
@media screen and (min-width: 1200px) {
  .footer-link__title {
    font-size: 14px;
  }
}

.footer-link__title + .footer-link__inline-list {
  margin-top: 8px;
}

.footer-link__title-list {
  margin-top: 2px;
}
@media screen and (min-width: 768px) {
  .footer-link__title-list {
    display: flex;
    align-items: baseline;
  }
}

.footer-link__inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  font-size: 12px;
  margin-left: -0.72em;
  list-style: none;
}
@media screen and (min-width: 1200px) {
  .footer-link__inline-list {
    width: 88%;
    font-size: 13px;
  }
}

.footer-link__inline-item {
  display: flex;
  align-items: center;
}

.footer-link__inline-item:not(:last-of-type)::after {
  content: "";
  display: block;
  width: 1px;
  height: 1em;
  background-color: #E7E7E7;
}

.footer-link__inline-link {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: #848484;
  padding: 0 0.72em;
}
@media screen and (min-width: 1200px) {
  .footer-link__inline-link {
    font-size: 13px;
  }
}

.footer-link__sub-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3846153846;
  color: #161616;
  flex: 0 0 17.25em;
  margin-top: 0;
  margin-bottom: 0.25em;
}
@media screen and (min-width: 768px) {
  .footer-link__sub-title {
    margin-top: 0;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1200px) {
  .footer-link__sub-title {
    font-size: 13px;
  }
}

/* ==== フッター下段：ロゴ・ナビ・コピーライト ==== */
.footer__content {
  color: #fff;
  background-color: #F01C3D;
  padding-top: 28px;
  padding-right: 24px;
  padding-bottom: 22px;
  padding-left: 24px;
}
@media screen and (min-width: 768px) {
  .footer__content {
    padding-top: 30px;
    padding-right: 0;
    padding-bottom: 52px;
    padding-left: 0;
  }
}

.footer__content__inner {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}
@media screen and (min-width: 768px) {
  .footer__content__inner {
    flex-direction: row;
    align-items: flex-start;
    column-gap: 0;
  }
}

.footer__logo {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}
@media screen and (min-width: 768px) {
  .footer__logo {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding-bottom: 0;
    border-bottom: none;
    text-align: start;
  }
}
@media screen and (min-width: 1200px) {
  .footer__logo {
    flex: 0 0 16.666%;
    max-width: 16.666%;
  }
}

.footer__logo__picture__img {
  display: inline-block;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7471%) hue-rotate(32deg) brightness(98%) contrast(106%);
}

@media screen and (min-width: 768px) {
  .footer__nav {
    flex: 0 0 66.666%;
    max-width: 66.666%;
    padding-top: 24px;
  }
}
@media screen and (min-width: 1200px) {
  .footer__nav {
    flex: 0 0 83.333%;
    max-width: 83.333%;
  }
}

.footer__menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .footer__menu-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    row-gap: 0.5em;
    column-gap: 20px;
    margin-left: auto;
    background-color: transparent;
    border-radius: 0;
    font-size: 13px;
  }
}

.footer__menu-link {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  padding: 14px 16px;
  background-color: #F01C3D;
  color: #fff;
  font-weight: 600;
  transition: background-color ease 0.3s;
}
@media screen and (min-width: 768px) {
  .footer__menu-link {
    display: inline-block;
    padding: 0;
    background-color: transparent;
    font-weight: 500;
  }
}

@media (hover: hover) {
  .footer__menu-link:hover {
    color: #fff;
    background-color: #c12a39;
    opacity: 1;
  }
}
.footer__menu-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #FFF;
  border-bottom: 1.5px solid #FFF;
  transform: translateY(-50%) rotate(-45deg);
}
@media screen and (min-width: 768px) {
  .footer__menu-link::after {
    content: none;
  }
}

.footer__copyright {
  margin-top: 22px;
  margin-bottom: 0;
  opacity: 0.8;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.03em;
}
@media screen and (min-width: 768px) {
  .footer__copyright {
    opacity: 1;
    letter-spacing: normal;
    text-align: right;
  }
}
@media screen and (min-width: 1200px) {
  .footer__copyright {
    font-size: 13px;
  }
}

/* 特別オファー導線 + コピーライトの行。md 以上はコピーライトの左隣に並べて右寄せにする（本体 .footer__bottom の移植） */
.footer__bottom {
  margin-top: 22px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .footer__bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    column-gap: 24px;
  }
}
.footer__bottom .footer__copyright {
  margin-top: 14px;
}
@media screen and (min-width: 768px) {
  .footer__bottom .footer__copyright {
    margin-top: 0;
  }
}
.footer__offer-link {
  display: inline-block;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  transition: opacity 0.3s;
}
@media screen and (min-width: 768px) {
  .footer__offer-link {
    font-size: 13px;
  }
}
.footer__offer-link:hover {
  opacity: 0.7;
  color: #fff;
}

.footer__sns {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}
@media screen and (min-width: 768px) {
  .footer__sns {
    justify-content: flex-start;
  }
}
.footer__sns-link {
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: opacity 0.3s;
}
.footer__sns-link:hover {
  opacity: 0.7;
  color: #fff;
}

/* お問い合わせラベルの SP 改行（本体 .d-sm-none 相当：sm 以上で非表示） */
@media screen and (min-width: 576px) {
  .d-sm-none {
    display: none;
  }
}

/*
 * リンク一覧の文字サイズ固定（保険）
 * 一部 WP ページで勤務地／職種／こだわり条件のリンクが 16px になる事象が出るため、
 * 本体フロントと同一（12px／xl 13px・グレー・weight500・padding 0 0.72em）を高優先度で固定する。
 * ページ固有 CSS 等の上書きに勝てるよう .footer-link__content スコープ＋!important。
 */
.footer-link__content .footer-link__inline-list {
  font-size: 12px !important;
}
@media screen and (min-width: 1200px) {
  .footer-link__content .footer-link__inline-list {
    font-size: 13px !important;
  }
}

.footer-link__content .footer-link__inline-link {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #848484 !important;
  padding: 0 0.72em !important;
}
@media screen and (min-width: 1200px) {
  .footer-link__content .footer-link__inline-link {
    font-size: 13px !important;
  }
}
