@charset "UTF-8";
/* ==========================================================
   入職お祝い金：トップのバナー ＋ 採用情報ページ内のセクション
   テーマフォルダ直下に置いてください（style.css と同じ階層）
   ========================================================== */

:root {
  --bonus-green: #3e8f3e;
  --bonus-green-dark: #2f7330;
  --bonus-green-pale: #e9f6e2;
  --bonus-accent: #e8590c;
  --bonus-text: #333;

  /* ▼ バナーの位置：既存の .recruit-banner（top:230px / right:calc(100%/6) / 幅150px）の真下・中央揃え
       採用ボタン画像の高さが150pxでない場合は --bonus-top を調整してください */
  --bonus-width: 200px;
  --bonus-top: 390px;                          /* 230px + 画像の高さ約150px + 余白10px */
  --bonus-right: calc(100% / 6 - 25px);        /* 幅の差 (200-150)/2 だけ右へ寄せて中央揃え */
}

/* ---------- 既存の採用ボタン：スクロール時に固定ナビの下へ隠れるよう重なり順を下げる
   （元の style.css では z-index: 9999 のため、固定ナビの上に重なっていた） ---------- */
.recruit-banner { z-index: 10; }

/* ---------- トップのバナー（既存の採用ボタンと同じ absolute 配置） ---------- */
.bonus-banner {
  position: absolute;
  top: var(--bonus-top);
  right: var(--bonus-right);
  z-index: 10;
  display: block;
  width: var(--bonus-width);
  box-sizing: border-box;
  background: #fff;
  border: 2px solid var(--bonus-green);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: var(--bonus-text);
  line-height: 1.3;
  transition: transform .2s, box-shadow .2s;
}
.bonus-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .24);
  text-decoration: none;
  opacity: 1;
}
.bonus-banner span { display: block; }
.bonus-banner__label {
  background: var(--bonus-green);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: .12em;
  padding: 5px 0;
}
.bonus-banner__amount {
  padding: 6px 4px 2px;
  color: var(--bonus-accent);
  font-weight: bold;
  white-space: nowrap;
}
.bonus-banner__amount small { font-size: 13px; color: var(--bonus-text); }
.bonus-banner__amount strong { font-size: 34px; line-height: 1; margin: 0 1px 0 3px; }
.bonus-banner__amount em { font-size: 18px; font-style: normal; margin-right: 3px; }
.bonus-banner__more {
  font-size: 12px;
  color: var(--bonus-green-dark);
  padding: 0 0 7px;
}
.bonus-banner__more::after { content: " ▶"; font-size: 9px; }

/* スマホ：1行のコンパクト表示 */
@media screen and (max-width: 768px) {
  /* スマホ：.recruit-banner（top:80px / right:15px / 幅100px）の真下 */
  :root {
    --bonus-top: 186px;
    --bonus-right: 5px;
    --bonus-width: 120px;
  }
  .bonus-banner { border-radius: 8px; }
  .bonus-banner__label { font-size: 12px; padding: 3px 0; letter-spacing: .05em; }
  .bonus-banner__amount { padding: 4px 2px 0; }
  .bonus-banner__amount small { font-size: 10px; }
  .bonus-banner__amount strong { font-size: 22px; }
  .bonus-banner__amount em { font-size: 13px; }
  .bonus-banner__more { font-size: 10px; padding-bottom: 4px; }
}

/* ---------- 採用情報ページ（/contents/recruit/）内のセクション ---------- */
.contents-bonus {
  padding-bottom: 7em;
  margin-bottom: 2.5em;
  border-bottom: 1px solid #ccc;
  position: relative;
}
@media screen and (max-width: 768px) {
  .contents-bonus { padding-bottom: 3em; }
}

.bonus-page {
  /* 下層ページはサイトのテーマカラー（青緑）に合わせる */
  --bonus-green: #00797f;
  --bonus-green-dark: #005d62;
  --bonus-green-pale: #e8f5f5;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  color: var(--bonus-text);
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}
.bonus-page * { box-sizing: border-box; }

.bonus-hero {
  background: var(--bonus-green-pale);
  border-radius: 14px;
  padding: 36px 20px 32px;
  text-align: center;
  margin-bottom: 44px;
}
.bonus-hero__title {
  display: table;
  margin-left: auto !important;
  margin-right: auto !important;
  background: var(--bonus-green);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: .15em;
  padding: 4px 28px;
  border-radius: 999px;
  margin: 0 0 14px;
}
.bonus-hero__amount {
  margin: 0;
  font-weight: bold;
  color: var(--bonus-accent);
  line-height: 1.2;
}
.bonus-hero__amount small { font-size: 22px; color: var(--bonus-text); }
.bonus-hero__amount strong { font-size: 76px; margin: 0 4px 0 8px; }
.bonus-hero__amount em { font-size: 34px; font-style: normal; margin-right: 8px; }
.bonus-hero__lead { margin: 16px 0 0; font-size: 16px; }

.bonus-visual { margin: 0 0 20px; }
.bonus-visual img { display: block; width: 100%; height: auto; border-radius: 10px; }
.bonus-lead { margin: 0 0 44px; text-align: center; }
@media screen and (max-width: 768px) {
  .bonus-lead { text-align: left; margin-bottom: 32px; }
}

.bonus-section { margin-bottom: 44px; }
.bonus-section__title {
  font-size: 22px;
  font-weight: bold;
  color: var(--bonus-green-dark);
  border-left: 6px solid var(--bonus-green);
  border-bottom: 1px solid #c9e1e2;
  padding: 4px 0 6px 14px;
  margin: 0 0 18px;
  line-height: 1.5;
}
.bonus-section p { margin: 0 0 10px; }

.bonus-list { list-style: none; margin: 0; padding: 0; }
.bonus-list li { position: relative; padding-left: 1.5em; margin-bottom: 6px; }
.bonus-list li::before {
  content: "";
  position: absolute;
  left: .25em;
  top: .7em;
  width: .6em;
  height: .6em;
  border-radius: 50%;
  background: var(--bonus-green);
}

.bonus-table { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.bonus-table th,
.bonus-table td {
  border: 1px solid #c9e1e2;
  padding: 14px 16px;
  vertical-align: middle;
  text-align: left;
}
.bonus-table thead th {
  background: var(--bonus-green);
  color: #fff;
  text-align: center;
  font-weight: bold;
}
.bonus-table tbody th { background: var(--bonus-green-pale); font-weight: bold; width: 58%; }
.bonus-table tbody th span { display: block; font-weight: normal; font-size: 14px; }
.bonus-table td { text-align: center; font-weight: bold; font-size: 18px; white-space: nowrap; }
.bonus-table td span { display: block; font-weight: normal; font-size: 13px; white-space: normal; }

.bonus-note { font-size: 14px; color: #555; margin: 0 !important; }
.bonus-cond { list-style: none; margin: 0; padding: 0; }
.bonus-cond li { padding-left: 1.4em; text-indent: -1.4em; margin-bottom: 6px; }
.bonus-cond .is-caution { color: #d9230f; font-weight: bold; }
.bonus-caution {
  background: #fff6ef;
  border: 1px solid #f3c9a8;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 14px 0 0;
}

.bonus-cta { text-align: center; margin-top: 56px; }
.bonus-cta p { margin: 0 0 16px; }
.bonus-cta__btn {
  display: inline-block;
  min-width: 320px;
  max-width: 100%;
  background: var(--bonus-green);
  color: #fff !important;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none !important;
  padding: 16px 30px;
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--bonus-green-dark);
  transition: opacity .2s;
}
.bonus-cta__btn:hover { opacity: .85; }

@media screen and (max-width: 768px) {
  .bonus-page { font-size: 15px; }
  .bonus-hero { padding: 26px 12px 22px; margin-bottom: 32px; }
  .bonus-hero__title { font-size: 16px; }
  .bonus-hero__amount small { font-size: 16px; }
  .bonus-hero__amount strong { font-size: 54px; }
  .bonus-hero__amount em { font-size: 24px; }
  .bonus-hero__lead { font-size: 14px; text-align: left; }
  .bonus-section__title { font-size: 18px; }
  .bonus-table th, .bonus-table td { padding: 10px; }
  .bonus-table tbody th { width: 46%; font-size: 14px; }
  .bonus-table tbody th span { font-size: 12px; }
  .bonus-table td { font-size: 13px; padding: 10px 4px; }
  .bonus-cta__btn { min-width: 0; width: 100%; font-size: 16px; }
}
