/*header*/
.head-left.rec-head {
  width: 330px;
  height: 100%;
}
.head-left.rec-head.flex h1 {
  width: 230px;
  height: 57px;
}
.head-left.rec-head.flex h1 a {
  display: block;
  width: 100%;
  height: 100%;
}
.head-left.rec-head.flex p {
  width: 75px;
  text-align: center;
  color: #138AFA;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 0.45px;
  padding: 7px 0;
  border-top: 1px solid #138AFA;
  border-bottom: 1px solid #138AFA;
}
@media screen and (max-width: 1247px) {
  .head-left.rec-head {
    width: 276px;
  }
  .head-left.rec-head.flex h1 {
    width: 68%;
    height: auto;
    aspect-ratio: 187/46;
  }
  .head-left.rec-head.flex h1 img {
    width: 100%;
    max-height: none;
  }
}
/* ==========================================================================
   PC用環境（1248px以上）でのデフォルト非表示設定
   ========================================================================== */
@media (min-width: 1248px) {
  .menu-btn, .drawer-nav {
    display: none !important;
  }
}
/* ==========================================================================
   スマートフォン・タブレット用スタイル（1247px以下で有効）
   ========================================================================== */
@media (max-width: 1247px) {
  /* PC用ナビゲーションを非表示 */
  .header-nav {
    display: none;
  }
  .recruit {
    position: relative;
    z-index: 10001;
    background-color: #ffffff;
  }
  /* メニュー展開時、ヘッダーを上部に完全固定 */
  body.is-drawer-open .recruit {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent !important;
  }
  .head-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5.8% 8px;
  }
  .head-left img {
    max-height: 44px;
    width: auto;
    display: block;
  }
  /* ハンバーガーボタン（ヘッダーよりさらに前面へ） */
  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    aspect-ratio: 1 / 1;
    background-color: #003894;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 10002;
    flex-shrink: 0;
  }
  .menu-btn__bars {
    display: block;
    width: 18px;
    height: 8px;
    position: relative;
  }
  .menu-btn__bar {
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
  }
  .menu-btn__bar:nth-child(1) {
    top: 0;
  }
  .menu-btn__bar:nth-child(2) {
    bottom: 0;
  }
  .menu-btn.is-active .menu-btn__bar:nth-child(1) {
    top: 3px;
    transform: rotate(45deg);
  }
  .menu-btn.is-active .menu-btn__bar:nth-child(2) {
    bottom: 3px;
    transform: rotate(-45deg);
  }
  /* ------------------------------------------------------------------------
     ドロワーメニュー（すり抜け・ズレを完全に防ぐ設定）
     ------------------------------------------------------------------------ */
  .drawer-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /*height: 100dvh;*/
    background-color: #ffffff;
    z-index: 10;
    padding-top: 64px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding-bottom: 40px;
  }
  .drawer-nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .drawer-nav__list {
    list-style: none;
    padding: 0 20px 60px 20px;
    margin: 0;
  }
  .drawer-nav__item {
    border-bottom: 1px solid #FFF;
  }
  .drawer-nav__link {
    display: flex;
    align-items: center;
    padding: 15px 0 15px 22px;
    text-decoration: none;
    position: relative;
    color: #191E2E;
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%; /* 28.8px */
    letter-spacing: 0.54px;
  }
  .drawer-nav__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: #003894;
    border-radius: 50%;
  }
  .drawer-nav__link::after {
    content: "";
    width: 4px;
    height: 7px;
    aspect-ratio: 4/7;
    background-image: url("../image/common/spmenuicon.svg");
    position: absolute;
    right: auto;
    bottom: auto;
    left: 5px;
    top: 26px;
  }
  .rec-sp-menuback {
    background: #C5E2FF;
    padding-top: 35px;
    padding-bottom: 40px;
    margin-bottom: 30px;
  }
  .drawer-nav .link-btn_recruit {
    margin: 0 auto;
  }
  .link-btn_recruit.catch-link-btn.entrybtn a {
    background: #136CFA;
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 160%; /* 24px */
    letter-spacing: 0.45px;
  }
  .is-drawer-open .head-wrapper {
    background: #fff;
  }
  .link-btn_recruit.catch-link-btn.tocorprate a{
    border: 1px solid #003894;
  }
}
/*footer*/
.entry-content {
  padding: 77px 0 70px;
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% 500px;
  background-color: #003894;
  position: relative;
  z-index: 5;
}
.entry-content .content {
  width: clamp(331px, 88.2667vw, 980px);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
/* --- ここを修正：疑似要素ではなく、backimage自体に背景画像を仕込む --- */
.entry-content div.backimage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px; /* デスクトップデザインの指定サイズ */
  z-index: 1;
  /* 元のimgタグを表示させない代わりに、CSSで背景として一括指定 */
  background-image: url('../image/recrit-common/bg-entry.jpg'); /* 実際のパスに合わせて調整してください */
  background-size: cover;
  background-position: center;
  /* ★これが発生条件：背景を画面に完全固定する指定 */
  background-attachment: fixed;
}
/* HTMLのimgタグ自体は非表示にして、CSSの背景に委ねる */
.entry-content div.backimage picture {
  display: none;
}
/* 暗めのマスク（オーバーレイ） */
.entry-content div.backimage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #191e2e;
  opacity: 0.6;
  z-index: 2;
}
/*.entry-content div.backimage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  z-index: 0;
}
.entry-content div.backimage img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.entry-content div.backimage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #191e2e;
  opacity: 0.6;
}*/
@media screen and (max-width: 1247px) {
  .entry-content {
    padding: 40px 0 60px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% 500px;
    background-color: #003894;
    position: relative;
  }
  .entry-content .content {
    width: clamp(331px, 88.2667vw, 980px);
    max-width: 980px;
    margin: 0 auto;
  }
  .entry-content div.backimage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 0;
  }
  .entry-content div.backimage img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  .entry-content div.backimage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #191e2e;
    opacity: 0.6;
  }
}
.entry-content h2 {
  position: relative;
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 38px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  margin-bottom: 33px;
}
.entry-content h2 span {
  display: block;
  color: #fff;
  font-family: Montserrat;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}
.entry-content p {
  position: relative;
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.48px;
  margin-bottom: 50px;
}
@media screen and (max-width: 1247px) {
  .entry-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  .entry-content h2 span {
    font-size: 1.5rem;
    letter-spacing: 0.45px;
    margin-bottom: 5px;
  }
  .entry-content p {
    position: relative;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.45px;
    margin-bottom: 40px;
  }
}
.entry-btn {
  position: relative;
  width: 100%;
  transition: 0.3s;
}
.entry-btn a {
  display: block;
  width: 460px;
  height: 297px;
  border-radius: 20px;
  background: #136cfa;
  padding: 40px 40px 45px;
}
.entry-btn a h3 {
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 35px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  margin-bottom: 9px;
}
.entry-btn a h3 span {
  display: block;
  color: #fff;
  font-family: Montserrat;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}
.entry-btn a p {
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.45px;
}
.entry-btn a .link-btn {
  display: flex;
  align-items: center;
  gap: 13px;
}
.entry-btn a .link-btn p {
  margin-bottom: 0;
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  letter-spacing: 0.48px;
}
.entry-btn a .btn-arrow {
  background-color: #00307d;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  border: 1px solid #00307d;
}
.entry-btn a .btn-arrow::after {
  content: "";
  width: 16px;
  height: 14px;
  background-position: top;
  background-image: url("../image/top/white-arrow.svg");
}
.entry-btn a:hover .btn-arrow {
  border: 1px solid #fff;
}
@media screen and (max-width: 1000px) {
  .entry-btn {
    flex-wrap: wrap;
    gap: 30px
  }
  .entry-btn a {
    display: block;
    width: 100%;
    height: auto;
    padding: 30px 28px 30px 30px;
  }
  .entry-btn a h3 {
    color: #fff;
    font-family: "Noto Sans JP";
    font-size: 2.4rem;
    margin-bottom: 15px;
  }
  .entry-btn a h3 span {
    margin-bottom: 5px;
  }
  .entry-btn a p {
    font-size: 1.4rem;
    line-height: 160%;
    letter-spacing: 0.42px;
    margin-bottom: 20px;
  }
  .entry-btn a .link-btn {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .entry-btn a .btn-arrow {
    width: 28px;
    height: 28px;
  }
  .entry-btn a .btn-arrow::after {
    content: "";
    width: 11.2px;
    height: 9.8px;
    background-position: top;
    background-image: url("../image/top/white-arrow.svg");
    background-size: cover;
  }
}
.rec_footer {
  width: 100%;
  background: #003894;
  padding-bottom: 60px;
}
.rec_footer-content {
  width: clamp(331px, 88.26vw, 876px);
  margin: 0 auto;
}
.rec_footer-content div.footer-logo {
  width: 325px;
  height: 75px;
  background-color: transparent;
  margin-bottom: 12px;
}
.footer-box {
  display: flex;
  padding-bottom: 30px;
  justify-content: space-between;
  border-bottom: 1px solid #fff;
  margin-bottom: 20px;
}
.footer-box .footer-left .address {
  color: #fff;
  font-feature-settings: "palt"on;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 200%;
  letter-spacing: 0.45px;
  margin-bottom: 13px;
}
.footer-box .footer-left .address span {
  display: block;
}
.footer-box .footer-left .telfax, .telfax span a {
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.45px;
  display: flex;
  gap: 11px;
  margin-bottom: 20px;
}
.telfax span a {
  margin-bottom: 0;
}
.btn-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  color: #003894;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 12px 12px 30px;
  border-radius: 50px;
  width: 240px;
  transition: 0.3s;
  font-family: "Noto Sans JP", sans-serif;
  border: 1px solid #fff;
}
.footer-right {
  width: 322px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-right li {
  margin-bottom: 10px;
}
.footer-right li a {
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 24px */
  letter-spacing: 0.45px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
}
.footer-bottom .footer-bottom-left a {
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 20.8px */
  letter-spacing: 0.39px;
}
.footer-bottom .footer-bottom-right small {
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 20.8px */
  letter-spacing: 0.39px;
}
@media screen and (max-width: 768px) {
  .rec_footer {
    width: 100%;
    background: #003894;
    padding-bottom: 40px;
  }
  .rec_footer-content {
    width: clamp(331px, 88.26vw, 876px);
    margin: 0 auto;
  }
  .rec_footer-content div.footer-logo {
    width: 245px;
    height: 57px;
    margin-bottom: 30px;
  }
  .footer-box {
    position: relative;
    display: block;
    padding-bottom: 114px;
    justify-content: space-between;
    border-bottom: 1px solid #fff;
    margin-bottom: 20px;
  }
  .footer-box .footer-left .address {
    font-size: 1.4rem;
    line-height: 180%; /* 25.2px */
    letter-spacing: 0.42px;
    margin-bottom: 10px;
  }
  .footer-box .footer-left .telfax, .telfax span a {
    line-height: 1.3; /* 25.2px */
    letter-spacing: 0.42px;
    display: flex;
    gap: 11px;
    margin-bottom: 25px;
  }
  .telfax span a {
    margin-bottom: 0;
  }
  .btn-contact {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 12px 12px 30px;
    border-radius: 50px;
    width: 242px;
    height: 64px;
  }
  .footer-right {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-right: 12%;
  }
  .footer-right li {
    margin-bottom: 15px;
  }
  .footer-right li a {
    font-size: 1.4rem;
    letter-spacing: 0.42px;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
  }
  .footer-bottom .footer-bottom-left a {
    color: #fff;
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 160%; /* 20.8px */
    letter-spacing: 0.39px;
  }
  .footer-bottom .footer-bottom-right small {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 160%; /* 19.2px */
    letter-spacing: 0.36px;
  }
}