/* ヘッダーナビ全体の高さ指定 */
nav {
  height: 70px;
}

/* 通常ナビリンク（左側メニュー） */
.nav-link {
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}

.nav-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* 採用情報・お問い合わせなど右側リンク共通 */
.btn-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 70px;
  border-radius: 0;
  color: white;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.3s;
  margin-left: 10px;
}

/* 採用ボタン */
.btn-recruit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 30px;
  background: linear-gradient(to right, #3399ff, #66ccff);
  color: white;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0;
  transition: 0.3s;
}

/* お問い合わせボタン */
.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 30px;
  background: linear-gradient(to right, #3366cc, #00ccff);
  color: white;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0;
  transition: 0.3s;
  line-height: 1;
}

/* ボタンホバー共通 */
.btn-header:hover {
  opacity: 0.85;
  text-decoration: none;
}

body {
  padding-top: 70px;
}

/* モバイル用（ハンバーガーメニュー展開時の見た目調整） */
@media (max-width: 767.98px) {
  /* ハンバーガー展開エリア全体の背景を白に */
  .navbar-collapse {
    background-color: #fff !important;
    padding: 1rem 0;
  }

  /* メニューリストを中央寄せ */
  .navbar-nav {
    align-items: center !important;
  }

  /* メニュー内のリンク色を黒に */
  .navbar-nav .nav-link {
    color: #000 !important;
  }

  /* 採用情報・お問い合わせボタンも中央配置＆幅固定 */
  .btn-recruit,
  .btn-contact {
    width: 220px !important;
    margin: 10px auto;
    text-align: center;
  }
}

img.img-fluid {
  object-fit: cover;
  height: 200px;
}

/* 採用情報テキストカラム：PCは下寄せ、スマホは縦中央寄せ */
.recruit-text-col {
  min-height: 500px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  text-align: left;
}

@media (max-width: 767.98px) {
  .recruit-text-col {
    justify-content: center !important;
    min-height: auto;
    text-align: center; /* スマホは中央寄せに */
  }
}
/* スマホ対応：会社案内セクション内の画像群がはみ出さないように */
@media (max-width: 767.98px) {
  .custom-flex-wrap {
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .custom-flex-wrap a {
    flex: 0 0 auto;
  }
}
