@charset "UTF-8";
/*
 * 2026-11 改修分（ヘッダーボタン・言語切替・会社概要）
 * style.css の後に読み込んで上書きする。
 * ※ style.css は SCSS からのコンパイル後に直接編集されているため、改修分はこのファイルに分けている。
 */

/* ------------------------------
   ヘッダーボタン（ピル型）
------------------------------ */
.headNav__Btn {
  border-radius: 9999px;
  border: 2px solid transparent;
}

.headNav__Btn--job {
  border-color: #CE2A38;
}
.headNav__Btn--job:hover {
  border-color: #f22335;
}

.headNav__Btn--company {
  border-color: var(--color-primary);
}
.headNav__Btn--company:hover {
  border-color: #0944a6;
}

/* 応募フォーム（白地＋赤枠） */
.headNav__Btn--entry {
  background-color: #fff;
  border-color: #CE2A38;
  color: #CE2A38;
}
.headNav__Btn--entry:hover {
  background-color: #CE2A38;
  color: #fff;
}
.headNav__Btn--entry .sep {
  margin: 0 0.3em;
  opacity: 0.6;
}

/* ------------------------------
   言語切替（プルダウン → テキスト表示）
------------------------------ */
.langSwitch {
  display: flex;
  align-items: center;
  gap: 0 0.6em;
  height: 40px;
  padding-left: 1em;
  margin-left: 0.25em;
  border-left: 1px solid #c8c8c8;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.langSwitch__current {
  color: var(--color-primary);
  font-weight: 700;
}
.langSwitch__link {
  color: #696969;
  text-decoration: none;
}
.langSwitch__link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.langSwitch__sep {
  color: #c8c8c8;
}

/* 言語切替はボタン群の右端へ */
.headNav__column .menu-icon {
  order: 10;
}

/* 1299px以下は応募フォームボタンを2段（応募フォーム／小さく Formulário / Entry Form）にして幅を抑える */
@media screen and (min-width: 768px) and (max-width: 1299px) {
  .headNav__Btn--entry {
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
  }
  .headNav__Btn--entry .sep {
    display: none;
  }
  .headNav__Btn--entry .sub {
    font-size: 0.75em;
    font-weight: 500;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1299px) {
  .headNav__Btn {
    white-space: nowrap;
    padding: 0 0.8em;
  }
  .headNav__Btn--por {
    font-size: 1.05vw;
  }
  .langSwitch {
    font-size: 1.0769230769vw;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .langSwitch {
    font-size: 1.2rem;
    padding-left: 0.75em;
  }
}

/* ------------------------------
   スマホ（〜767px）
   上段：MENU／ロゴ／言語切替、下段：3ボタンを横並び
------------------------------ */
@media screen and (max-width: 767px) {
  /* ボタン列に余白を取るため、ヘッダーを 100px → 120px にし、その分ページ先頭も下げる */
  .Header.Header {
    height: 120px;
  }
  .Fv,
  .Fv--under,
  .pgTitle.u-mt100 {
    margin-top: 120px !important;
  }

  .headNav__column {
    gap: 0 6px;
    padding: 6px 12px 8px;
    box-sizing: border-box;
  }

  .headNav__column .headNav__Btn,
  .headNav__column .headNav__Btn--por {
    width: calc((100% - 12px) / 3);
    max-width: calc((100% - 12px) / 3);
    min-height: 34px;
    border-radius: 8px;
    height: auto;
    padding: 0.15em 0.25em;
    font-size: 1.1rem;
    line-height: 1.25;
  }
  .headNav__Btn--por {
    font-size: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }
  .headNav__Btn--job {
    border-color: #CE2A38;
  }
  .headNav__Btn--company {
    border-color: var(--color-primary);
  }
  .headNav__Btn--entry {
    border-color: #CE2A38;
    flex-direction: column;
    gap: 0;
  }
  .headNav__Btn--entry .sep {
    display: none;
  }
  .headNav__Btn--entry .sub {
    font-size: 0.9rem;
    font-weight: 500;
  }

  .langSwitch {
    height: 30px;
    padding-left: 0;
    margin-left: 0;
    border-left: none;
    font-size: 1.2rem;
    gap: 0 0.4em;
  }
}

/* ------------------------------
   会社概要：取り組み（パートナーシップ構築宣言）
------------------------------ */
.partnershipLink {
  color: var(--color-primary);
  text-decoration: underline;
}
.partnershipLink:hover {
  text-decoration: none;
}
.partnershipLink i {
  margin-left: 0.35em;
  font-size: 0.85em;
}

/* ------------------------------
   お仕事カード（トップ・お仕事一覧・ポルトガル語版 共通）2026-11
   タイトルのリンクがカード全体を覆う絶対配置になっていて、
   画像がないとタイトルの文字がカード左上に詰まっていたため、
   文字は通常の位置に置き、カード全体のクリック範囲は ::before / ::after で確保する。
------------------------------ */
.topWork-Detail__label a {
  position: static;
  display: inline;
  width: auto;
  height: auto;
}
/* カードにマウスが乗ったら枠線を表示（枠線の疑似要素がカード全体を覆い、どこを押してもリンクになる） */
.topWork-Detail:hover .topWork-Detail__label a::before,
.topWork-Detail:hover .topWork-Detail__label a::after {
  width: 100%;
  height: 100%;
  opacity: 1;
}
/* 画像がないときは、タイトル上の余白を詰める */
.topWork-Detail__inner > .topWork-Detail__label:first-child {
  margin-top: 0.4em !important;
}

/* ------------------------------
   PC：ロゴとヘッダーボタンが重ならないようにする（2026-11）
------------------------------ */
/* 1300px以上：応募フォームボタンを2段にして幅を抑える */
@media screen and (min-width: 1300px) {
  .headNav__Btn--entry {
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
  }
  .headNav__Btn--entry .sep {
    display: none;
  }
  .headNav__Btn--entry .sub {
    font-size: 0.75em;
    font-weight: 500;
  }
  .headNav__Btn {
    white-space: nowrap;
    padding: 0 1.1em;
  }
}
/* 1300〜1599px：ボタンを少し小さく、ロゴを少し左・小さめに（日本語。ポルトガル語はロゴが左端なので対象外） */
@media screen and (min-width: 1300px) and (max-width: 1599px) {
  .headNav__column {
    gap: 0 8px;
  }
  .headNav__Btn {
    padding: 0 0.9em;
    font-size: 1.4rem;
  }
  .langSwitch {
    font-size: 1.3rem;
    padding-left: 0.8em;
    gap: 0 0.4em;
  }
  .Logo:not(.Logo--por) {
    min-width: 0;
    left: 44%;
    transform: translate(-50%, -50%);
  }
  .Logo:not(.Logo--por) a img {
    height: 64px;
  }
}
/* 1025〜1299px：タブレットと同じく、ヘッダーを全幅の白にしてロゴを左端へ */
@media screen and (min-width: 1025px) and (max-width: 1299px) {
  .Header__inner {
    width: 100%;
    max-width: 100%;
    clip-path: none;
    padding: 0 1.5%;
  }
  .Logo,
  .Logo--por {
    min-width: 0;
    left: 1.5%;
    transform: translateY(-50%);
  }
}
