/* ハラスメント防止リンクエリアの余白調整 */
.p-recruit-harassment {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: left; /* 👈 中央から「左寄せ」に変更 */
}

/* リンクボタンの基本デザイン */
.c-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 320px; /* スマートフォンでも綺麗に収まる最小幅 */
  max-width: 100%;
  padding: 18px 32px;
  background-color: #1a355e; /* KBIブランドに合わせた上品なダークネイビー */
  color: #ffffff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  border-radius: 4px; /* 緩やかな角丸 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* 軽い浮き上がり */
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* アイコン領域 */
.c-link-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.c-link-btn__icon svg {
  stroke: #ffffff; /* 矢印の色を白に */
  stroke-width: 2px;
}

/* ✨ ホバー時のアニメーション（マウスを乗せた時） */
@media (hover: hover) {
  .c-link-btn:hover {
    background-color: #244880; /* 背景を少し明るいブルーに */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* 影を深くして立体感を出す */
    transform: translateY(-2px); /* ボタン自体がわずかに上に浮く */
  }

  /* ホバー時に矢印アイコンだけが右に少しスライドする演出 */
  .c-link-btn:hover .c-link-btn__icon {
    transform: translateX(4px);
  }
}

/* 📱 スマートフォン用の表示調整（幅いっぱいに広げる） */
@media (max-width: 767px) {
  .p-recruit-harassment {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .c-link-btn {
    display: flex;
    width: 100%;
    padding: 16px 20px;
    font-size: 14px; /* スマホ向けに文字サイズを微調整 */
  }
}
