/* ==============================
   採用サイト共通CSS
   ============================== */

/* ── ヘッダー ── */
.recruit-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  z-index: 200;
  box-sizing: border-box;
}

.recruit-header__inner {
  max-width: 1366px;
  height: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

/* ロゴ */
.recruit-header__logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.recruit-header__logo-link:hover {
  opacity: 0.8;
}
.recruit-header__logo-link img {
  display: block;
  width: 284px;
  height: 41px;
}

/* 採用情報セクション */
.recruit-header__section {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}
.recruit-header__section-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  color: #4783c1;
  line-height: 160%;
  letter-spacing: 0.45px;
  white-space: nowrap;
  padding: 6px 0;
}
.recruit-header__section-label::before,
.recruit-header__section-label::after {
  content: "";
  display: block;
  width: 75px;
  height: 1px;
  background: #4783c1;
  flex-shrink: 0;
}
.recruit-header__section-label::before {
  margin-bottom: 6px;
}
.recruit-header__section-label::after {
  margin-top: 6px;
}

/* 右エリア（ユーティリティ + ナビ） */
.recruit-header__right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 0 10px;
  padding-left: 20px;
}

/* ユーティリティボタン列 */
.recruit-header__util {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.recruit-header__util-btn {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

/* お問い合わせボタン */
.recruit-header__util-btn--contact {
  background-color: #4783c1;
  border-color: #4783c1;
  color: #ffffff;
  gap: 8px;
}
.recruit-header__util-btn--contact:hover {
  background-color: #ffffff;
  border-color: #4783c1;
  color: #4783c1;
}
.recruit-header__util-contact-label {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  color: inherit;
  line-height: 160%;
  padding: 0;
}
.recruit-header__util-contact-arrow {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 7px;
  height: 10px;
}
.recruit-header__util-contact-arrow-img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 10px;
}
.recruit-header__util-contact-arrow-img--hover {
  opacity: 0;
}
.recruit-header__util-btn--contact:hover
  .recruit-header__util-contact-arrow-img--default {
  opacity: 0;
}
.recruit-header__util-btn--contact:hover
  .recruit-header__util-contact-arrow-img--hover {
  opacity: 1;
}
.recruit-header__util-contact-tel {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: "Montserrat", sans-serif;
}
.recruit-header__util-contact-tel-label {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: inherit;
  line-height: normal;
  text-transform: uppercase;
}
.recruit-header__util-contact-tel-num {
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  color: inherit;
  line-height: normal;
  text-transform: uppercase;
}

/* 採用エントリーボタン */
.recruit-header__util-btn--entry {
  background-color: #0169b9;
  border-color: #0169b9;
  width: 134px;
  justify-content: center;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 160%;
  letter-spacing: 0.39px;
}
.recruit-header__util-btn--entry:hover {
  background-color: #ffffff;
  border-color: #0169b9;
  color: #0169b9;
}

/* コーポレートサイトボタン */
.recruit-header__util-btn--corporate {
  background-color: #2d5166;
  border-color: #2d5166;
  width: 164px;
  justify-content: center;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 160%;
  letter-spacing: 0.39px;
}
.recruit-header__util-btn--corporate:hover {
  background-color: #ffffff;
  border-color: #2d5166;
  color: #2d5166;
}

/* ナビゲーション */
.recruit-header__nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.recruit-header__nav-item {
  position: relative;
}
.recruit-header__nav-item--has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.recruit-header__nav-link {
  display: block;
  padding: 2px 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: #2f4a66;
  line-height: 160%;
  letter-spacing: 0.48px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.recruit-header__nav-link:hover {
  color: #4783c1;
}
.recruit-header__nav-link--active {
  color: #2f4a66;
}

/* ドロップダウンアイコン */
.recruit-header__nav-item--has-dropdown > .recruit-header__nav-link::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 4px;
  vertical-align: middle;
}

/* ドロップダウンメニュー */
.recruit-header__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -14px;
  width: 372px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #0e212f;
  box-shadow: 0 6px 20px rgba(47, 74, 102, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 10;
  overflow: hidden;
}
.recruit-header__nav-item--has-dropdown:hover .recruit-header__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.recruit-header__dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.recruit-header__dropdown-item:not(:last-child)
  .recruit-header__dropdown-link::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 30px;
  width: 312px;
  height: 1px;
  background: #a5b7c8;
}
.recruit-header__dropdown-link {
  position: relative;
}
.recruit-header__dropdown-link {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 30px 15px;
  text-decoration: none;
  color: #0e212f;
  transition: background-color 0.15s;
}
.recruit-header__dropdown-link:hover {
  background-color: transparent;
}
.recruit-header__dropdown-num {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  white-space: nowrap;
}
.recruit-header__dropdown-num-text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: #0e212f;
  line-height: 160%;
  letter-spacing: 0.48px;
}
.recruit-header__dropdown-num-idx {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: #0e212f;
  line-height: 160%;
  letter-spacing: 0.48px;
}
.recruit-header__dropdown-dept {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: #0e212f;
  line-height: 160%;
  letter-spacing: 0.48px;
  flex: 1;
  margin-left: 15px;
}
.recruit-header__dropdown-arr {
  display: block;
  width: 6px;
  height: 11px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ==============================
   フッター
   ============================== */
.recruit-footer {
  background-color: #ffffff;
}

.recruit-footer__inner {
  max-width: 1366px;
  margin: 0 auto;
  padding: 48px 40px 40px;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  box-sizing: border-box;
}

/* 左カラム: ロゴ・住所 */
.recruit-footer__left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recruit-footer__logo {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.4;
}
.recruit-footer__logo-corp {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #2f4a66;
  letter-spacing: 0.05em;
}
.recruit-footer__logo-name {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #2f4a66;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.recruit-footer__address {
  font-family: "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 23px;
  letter-spacing: 0.42px;
  color: #2f4a66;
}
.recruit-footer__address a {
  color: inherit;
  text-decoration: none;
}

.recruit-footer__corp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f4a66;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 200%;
  letter-spacing: 0.24px;
  text-decoration: none;
  transition: color 0.2s;
}
.recruit-footer__corp-link:hover {
  color: #4783c1;
}
.recruit-footer__corp-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.recruit-footer__corp-icon img {
  display: block;
  width: 16px;
  height: 16px;
  aspect-ratio: 1 / 1;
}

/* 右カラム: ナビゲーション */
.recruit-footer__nav {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.recruit-footer__nav-top {
  flex-shrink: 0;
}
.recruit-footer__nav-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2f4a66;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: 160%;
  letter-spacing: 0.48px;
  text-decoration: none;
  transition: color 0.2s;
}
.recruit-footer__nav-top-link:hover {
  color: #4783c1;
}

.recruit-footer__nav-divider {
  width: 1px;
  height: 76px;
  background: #2f4a66;
  flex-shrink: 0;
}

.recruit-footer__nav-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 30px;
  row-gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.recruit-footer__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2f4a66;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.45px;
  text-decoration: none;
  transition: color 0.2s;
}
.recruit-footer__nav-link:hover {
  color: #4783c1;
}
.recruit-footer__nav-arrow {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.recruit-footer__nav-arrow img {
  display: block;
  width: 5px;
  height: 8px;
}

/* コピーライト */
.recruit-footer__bottom {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.recruit-footer__copy small {
  color: #1f2021;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
}

/* ------------------------------------------------------------
   SPハンバーガーメニューボタン
   ------------------------------------------------------------ */
.recruit-header__menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: none;
  background-color: #0169b9;
  cursor: pointer;
  padding: 0;
}
.recruit-header__menu-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 10px;
}
.recruit-header__menu-icon::before,
.recruit-header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  transition:
    transform 0.3s ease,
    top 0.3s ease;
}
.recruit-header__menu-icon::before {
  top: 0;
}
.recruit-header__menu-icon::after {
  top: 8px;
}
.recruit-header__menu-btn[aria-expanded="true"]
  .recruit-header__menu-icon::before {
  top: 4px;
  transform: rotate(45deg);
}
.recruit-header__menu-btn[aria-expanded="true"]
  .recruit-header__menu-icon::after {
  top: 4px;
  transform: rotate(-45deg);
}
.recruit-header__menu-text {
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.45px;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
}

/* ------------------------------------------------------------
   SPナビゲーション（ハンバーガーメニュー中身）
   ------------------------------------------------------------ */
.recruit-sp-nav {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  height: calc(100% - 64px);
  background-color: #ffffff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
}
.recruit-sp-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.recruit-sp-nav__list {
  list-style: none;
  margin: 0;
  padding: 60px 22px 0;
}
.recruit-sp-nav__item {
  border-bottom: 1px solid rgba(14, 33, 47, 0.12);
}
.recruit-sp-nav__item:first-child {
  border-top: 1px solid rgba(14, 33, 47, 0.12);
}
.recruit-sp-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.48px;
  color: #2f4a66;
  text-decoration: none;
}
.recruit-sp-nav__link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2f4a66;
  margin-right: 12px;
}
.recruit-sp-nav__utils {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 22px 40px;
}
.recruit-sp-nav__util-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  text-decoration: none;
  box-sizing: border-box;
}
.recruit-sp-nav__util-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.recruit-sp-nav__util-label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.39px;
  text-transform: uppercase;
}
.recruit-sp-nav__util-title {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
}
.recruit-sp-nav__util-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
}
.recruit-sp-nav__util-card--entry {
  border-radius: 15px;
  background-color: #0169b9;
}
.recruit-sp-nav__util-card--entry .recruit-sp-nav__util-label,
.recruit-sp-nav__util-card--entry .recruit-sp-nav__util-title {
  color: #ffffff;
}
.recruit-sp-nav__util-card--corporate {
  border-radius: 15px;
  background-color: #ffffff;
  border: 1px solid #07344d;
}
.recruit-sp-nav__util-card--corporate .recruit-sp-nav__util-label,
.recruit-sp-nav__util-card--corporate .recruit-sp-nav__util-title {
  color: #07344d;
}

body.recruit-nav-open {
  overflow: hidden;
}

@media (min-width: 1029px) {
  .recruit-sp-nav {
    display: none;
  }
}

/* ------------------------------------------------------------
   タブレット〜スマートフォン（〜1028px）：ヘッダーをハンバーガーメニューに
   ------------------------------------------------------------ */
@media (max-width: 1028px) {
  .recruit-header {
    height: 64px;
  }
  .recruit-header__inner {
    padding: 0 30px;
    gap: 8px;
  }
  .recruit-header__logo-link {
    padding-right: 0;
  }
  .recruit-header__logo-link img {
    width: 187px;
    height: 27px;
  }
  .recruit-header__section {
    padding: 0 4px;
  }
  .recruit-header__right {
    display: none;
  }
  .recruit-header__menu-btn {
    display: flex;
    margin-top: 13px;
    margin-left: auto;
  }
}

/* ------------------------------------------------------------
   レスポンシブ（スマートフォン 〜560px）
   Figma: SP_16_人について ほか採用サイト共通ヘッダー/フッター
   ------------------------------------------------------------ */
@media (max-width: 560px) {
  .recruit-header__inner {
    padding: 0 22px;
  }

  /* フッター */
  .recruit-footer__inner {
    flex-direction: column;
    padding: 60px 22px 40px;
    gap: 32px;
  }
  .recruit-footer__logo {
    width: 256.289px;
    height: 37px;
    aspect-ratio: 284 / 41;
  }
  .recruit-footer__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .recruit-footer__nav-divider {
    display: none;
  }
  .recruit-footer__nav-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 0; /* 縦線が途切れないよう、項目の間隔は li の上下パディングで取る */
  }
  .recruit-footer__nav-list li {
    border-left: 1px solid #2f4a66;
    padding: 6px 0 6px 16px;
  }
  .recruit-footer__nav-link {
    font-size: 15px;
    line-height: 160%;
    letter-spacing: 0.45px;
  }
  .recruit-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 22px 32px;
  }
}

/* ==============================
   改行トークン（管理画面の [sp] / [pc]）
   [sp] = スマホのみ改行 / [pc] = PCのみ改行
   ============================== */
.recruit-br--sp {
  display: none;
}
.recruit-br--pc {
  display: inline;
}
@media (max-width: 560px) {
  .recruit-br--sp {
    display: inline;
  }
  .recruit-br--pc {
    display: none;
  }
}
