/* ======================================
   SALARY SIMULATOR — salary-simulator.css

   INDEX
   1.  Design Tokens (CSS Variables)
   2.  Reset & Base
   3.  Layout & Container
   4.  Sticky Result Bar (モバイル固定バー)
   5.  Site Header
   6.  Section — 共通
   7.  Step Badge
   8.  Employment Tabs (雇用形態)
   9.  Period Toggle (入社期間)
   10. Rate Table (歩合率表示)
   11. Input Grid & Labels
   12. Slider Styles
   13. Result Section (結果カード)
   14. Breakdown Grid (報酬内訳)
   15. Employee Benefits (正社員特典)
   16. Notice Section (注意事項)
   17. Utilities & Animations
   18. Responsive — Tablet (〜768px)
   19. Responsive — Mobile (〜599px)
   20. Responsive — XS (〜374px)
====================================== */


/* ======================================
   1. DESIGN TOKENS
   LPサイト (hairct-recruit.com) に合わせた配色
====================================== */
:root {
  /* ─ Brand Colors ─ */
  --bg:           #EDF9F5;    /* LP背景：ライトミント */
  --bg-card:      #ffffff;
  --mint:         #9CEFCD;    /* LPヘッダー：ミント */
  --mint-light:   #C8F5E8;
  --mint-bg:      #f0fdf8;
  --turquoise:    #33EFB5;    /* LPアクセント：ターコイズ */
  --pink:         #FF807D;    /* LPアクセント：ピンク/サーモン */
  --pink-light:   #FFADAB;
  --pink-bg:      #fff3f3;
  --dark-green:   #0f4030;    /* 結果カード背景 */
  --dark-green2:  #1a5a40;

  /* ─ Text ─ */
  --text:         #333333;    /* LP本文テキスト */
  --text-sub:     #75888E;    /* LPサブテキスト */
  --text-on-dark: rgba(255,255,255,0.9);
  --text-dim:     rgba(255,255,255,0.5);

  /* ─ Border & Shadow ─ */
  --border:       #DCF0E8;
  --shadow-sm:    3px 3px 4px 1px rgba(117,133,150,0.15); /* LP準拠 */
  --shadow-md:    0 4px 24px rgba(0,0,0,0.10);
  --shadow-pink:  0 4px 18px rgba(255,128,125,0.30);
  --shadow-glow:  0 8px 40px rgba(0,0,0,0.18);

  /* ─ Shape ─ */
  --radius:       12px;
  --radius-sm:    8px;
  --radius-pill:  100px;

  /* ─ Typography ─ */
  --font:         'Open Sans', 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', sans-serif;
}


/* ======================================
   2. RESET & BASE
====================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  padding-bottom: 72px; /* モバイル sticky bar の高さ分 */
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}


/* ======================================
   3. LAYOUT & CONTAINER
====================================== */
.wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.main {
  padding-top: 40px;
  padding-bottom: 60px;
}


/* ======================================
   4. STICKY RESULT BAR (モバイル固定バー)
   スマホ時、画面下部に結果を常時表示
====================================== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(135deg, var(--pink), #ff9a98);
  color: #fff;
  padding: 12px 24px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 24px rgba(255,128,125,0.35);
}

.sticky-label {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.sticky-amount {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* デスクトップでは非表示 */
@media (min-width: 769px) {
  .sticky-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}


/* ======================================
   5. SITE HEADER
   ミントグリーングラデーション背景
====================================== */
.site-header {
  background: linear-gradient(160deg, var(--mint) 0%, var(--turquoise) 100%);
  padding: 56px 24px 52px;
  text-align: center;
}

.header-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.45);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.header-title {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
  color: #1a3d2e;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.header-desc {
  font-size: 14px;
  color: #1a3d2e;
  line-height: 1.95;
  opacity: 0.8;
}

.header-desc strong {
  font-weight: 700;
  opacity: 1;
  background: rgba(255, 255, 255, 0.55);
  padding: 1px 6px;
  border-radius: 4px;
  color: #1a3d2e;
}


/* ======================================
   6. SECTION — 共通スタイル
====================================== */
.section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.section-head {
  margin-bottom: 20px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-top: 6px;
}

.section-note {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 4px;
  line-height: 1.6;
}


/* ======================================
   7. STEP BADGE
====================================== */
.step-badge {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.step-badge--result {
  background: #1a9a6a;
}


/* ======================================
   8. EMPLOYMENT TABS (雇用形態選択)
====================================== */
.tabs {
  display: flex;
  gap: 12px;
}

.tab {
  flex: 1;
  padding: 18px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fafafa;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tab:hover {
  border-color: var(--pink-light);
  background: var(--pink-bg);
}

.tab--active {
  border-color: var(--pink);
  background: var(--pink-bg);
  box-shadow: var(--shadow-pink);
}

.tab-icon {
  font-size: 24px;
  line-height: 1;
}

.tab-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tab-main {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.tab--active .tab-main {
  color: var(--pink);
}

.tab-sub {
  display: block;
  font-size: 11px;
  color: var(--text-sub);
}


/* ======================================
   9. PERIOD TOGGLE (入社期間)
====================================== */
.period-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.period-btn {
  flex: 1;
  padding: 16px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fafafa;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.period-btn:hover {
  border-color: var(--mint);
  background: var(--mint-bg);
}

.period-btn--active {
  border-color: var(--turquoise);
  background: var(--mint-bg);
  box-shadow: 0 2px 14px rgba(51, 239, 181, 0.25);
}

.period-main {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.period-btn--active .period-main {
  color: #1a8a60;
}

.period-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--border);
  color: var(--text-sub);
}

.period-badge--green {
  background: var(--mint);
  color: #1a5a40;
}


/* ======================================
   10. RATE TABLE (歩合率表示)
====================================== */
.rate-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--mint-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.rate-label {
  font-size: 12px;
  color: var(--text-sub);
}

.rate-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
}

.rate-unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-sub);
  margin-left: 1px;
}


/* ======================================
   11. INPUT GRID & LABELS
====================================== */
.inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}

.input-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-item--full {
  grid-column: 1 / -1;
}

.input-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.label-main {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.label-hint {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.5;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-row input[type="range"] {
  flex: 1;
  min-width: 0;
}

/* 固定/自動表示の行（スライダーなし）— 値を左寄せで強調 */
.slider-row--fixed {
  justify-content: flex-start;
}

.slider-row--fixed .val-badge {
  text-align: left;
}

.val-badge {
  flex-shrink: 0;
  min-width: 80px;
  text-align: right;
  line-height: 1;
}

.val-badge .val-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.val-unit {
  font-size: 12px;
  color: var(--text-sub);
  margin-left: 2px;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-sub);
  padding: 0 2px;
}


/* ======================================
   12. SLIDER STYLES
   ピンク色のカスタムスライダー
====================================== */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    to right,
    var(--pink) var(--fill, 30%),
    var(--border) var(--fill, 30%)
  );
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

/* Webkit (Chrome/Safari) */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--pink);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255, 128, 125, 0.40);
  transition: transform 0.15s, box-shadow 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 4px 16px rgba(255, 128, 125, 0.55);
}

input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.1);
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--pink);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255, 128, 125, 0.40);
}

input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}


/* ======================================
   13. RESULT SECTION (結果カード)
   ダークグリーン背景で結果を強調表示
====================================== */
.result-section {
  background: linear-gradient(145deg, var(--dark-green), var(--dark-green2));
  border-radius: var(--radius);
  padding: 44px 28px 36px;
  margin-bottom: 16px;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

/* 背景装飾 */
.result-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    rgba(51, 239, 181, 0.08),
    transparent
  );
  pointer-events: none;
}

.result-label {
  margin-bottom: 18px;
}

.result-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 8px;
  letter-spacing: 1px;
}

.result-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 14px;
}

.result-yen {
  font-size: 28px;
  font-weight: 400;
  color: var(--text-dim);
  padding-top: 14px;
}

.result-num {
  font-size: clamp(48px, 12vw, 76px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -3px;
  line-height: 1;
}

.result-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.8;
}


/* ======================================
   14. BREAKDOWN GRID (報酬内訳)
   結果カード内のグリッド
====================================== */
.breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: left;
}

.bd-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
}

.bd-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 6px;
  line-height: 1.4;
}

.bd-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--turquoise);
}


/* ======================================
   15. EMPLOYEE BENEFITS (正社員特典)
====================================== */
.emp-benefits {
  background: var(--mint-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 24px;
}

.benefits-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a8a60;
  margin-bottom: 14px;
}

.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.benefits-list li {
  font-size: 13px;
  color: var(--text-sub);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--turquoise);
  font-weight: 700;
}

.benefits-list strong {
  color: var(--pink);
  font-weight: 700;
}


/* ======================================
   16. NOTICE SECTION (注意事項)
====================================== */
.notice-section {
  text-align: center;
  padding: 16px 20px 48px;
}

.notice-section p {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 2;
}


/* ======================================
   17. UTILITIES & ANIMATIONS
====================================== */

/* 数値更新時の軽いアニメーション */
@keyframes numPulse {
  0%   { opacity: 0.65; transform: scale(0.96); }
  100% { opacity: 1;    transform: scale(1); }
}

.result-num.pulse {
  animation: numPulse 0.22s ease forwards;
}

/* セクション非表示 */
.hidden {
  display: none !important;
}


/* ======================================
   18. RESPONSIVE — TABLET (〜768px)
====================================== */
@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }

  .site-header {
    padding: 44px 20px 40px;
  }

  .breakdown {
    grid-template-columns: 1fr 1fr;
  }
}


/* ======================================
   19. RESPONSIVE — MOBILE (〜599px)
====================================== */
@media (max-width: 599px) {
  .main {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .section {
    padding: 22px 18px;
    margin-bottom: 12px;
  }

  /* タブを横並び（アイコン左、テキスト右） */
  .tabs {
    flex-direction: column;
    gap: 10px;
  }

  .tab {
    flex-direction: row;
    justify-content: flex-start;
    padding: 14px 18px;
    gap: 14px;
    text-align: left;
  }

  .tab-text {
    text-align: left;
  }

  .tab-icon {
    font-size: 22px;
  }

  /* 入力グリッド：1列 */
  .inputs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 歩合率テーブル：2列維持 */
  .rate-table {
    grid-template-columns: 1fr 1fr;
  }

  /* 内訳グリッド：2列 */
  .breakdown {
    grid-template-columns: 1fr 1fr;
  }

  /* 特典リスト：1列 */
  .benefits-list {
    grid-template-columns: 1fr;
  }

  /* スライダー値を少し小さく */
  .val-badge .val-num {
    font-size: 20px;
  }

  /* 結果カード */
  .result-section {
    padding: 36px 20px 28px;
  }

  .result-note {
    margin-bottom: 24px;
  }
}


/* ======================================
   20. RESPONSIVE — XS (〜374px)
   iPhone SE など超小型端末
====================================== */
@media (max-width: 374px) {
  .rate-table {
    grid-template-columns: 1fr;
  }

  .period-toggle {
    flex-direction: column;
  }

  .breakdown {
    grid-template-columns: 1fr;
  }

  .tabs {
    gap: 8px;
  }
}


/* ======================================
   21. REVERSE SIMULATOR (希望報酬から逆算)
   既存サイトとは独立した下部追加セクション
====================================== */
.step-badge--reverse {
  background: #14a577;
  letter-spacing: 1.5px;
}

.reverse-box {
  background: #f5f7f3;
  border-radius: var(--radius);
  padding: 30px 26px;
}

/* 上段：報酬ブロック ＋ 計算式 を横並び（1行固定・折り返し無効） */
.rev-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 24px 30px;
}

/* ── 報酬入力ブロック ── */
.rev-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rev-reward-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
}

.rev-reward-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rev-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 共通フィールド（白box） */
.rev-field {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #d9ded8;
  border-radius: 10px;
  padding: 11px 14px;
  min-width: 110px;
}

.rev-field input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

/* 報酬フィールド（強調：ターコイズ枠＋ターコイズ文字） */
.rev-field--reward {
  border-color: var(--turquoise);
  border-width: 2px;
  min-width: 160px;
}

.rev-field--reward input {
  color: #12a373;
}

/* 出力フィールド（月間入客数） */
.rev-field--out {
  border-color: #bfe9da;
  min-width: 96px;
}

.rev-out-num {
  font-size: 22px;
  font-weight: 700;
  color: #12a373;
}

/* 歩合率など幅の狭いフィールド */
.rev-field--narrow {
  min-width: 78px;
}

.rev-unit {
  font-size: 13px;
  color: var(--text-sub);
  white-space: nowrap;
}

/* ── 社会保険の吹き出し ── */
.rev-bubble {
  position: relative;
  background: #8f8350;
  color: #fff;
  font-size: 11px;
  line-height: 1.65;
  border-radius: 8px;
  padding: 10px 14px;
  max-width: 250px;
  margin-top: 4px;
}

.rev-bubble::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 30px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #8f8350;
}

/* ── 計算式 ── */
.rev-equation {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px;
}

.rev-eq-mark {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-sub);
  /* ラベル分のズレを補正し、入力欄（人/円 の単位）の高さに揃える */
  transform: translateY(14px);
}

.rev-eq-op {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-sub);
  /* ラベル分のズレを補正し、入力欄（人/円 の単位）の高さに揃える */
  transform: translateY(14px);
}

.rev-eq-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.rev-eq-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
}

.rev-eq-field-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rev-eq-unit {
  font-size: 13px;
  color: var(--text-sub);
  white-space: nowrap;
}

/* ── 計算ボタン ── */
.rev-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.rev-btn {
  background: #2b2b2b;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 15px 52px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.rev-btn:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ── 結果補足 ── */
.rev-result-note {
  text-align: center;
  font-size: 13px;
  color: var(--text);
  margin-top: 18px;
  line-height: 1.7;
}

.rev-result-note strong {
  color: #12a373;
  font-size: 17px;
  font-weight: 700;
}

/* ── レスポンシブ ── */
@media (max-width: 599px) {
  .reverse-box {
    padding: 22px 16px;
  }

  .rev-top {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* スマホでは計算式を縦積みにし、各項目を中央寄せ。
     「×」は各項目の間に中央配置して、縦並びの計算式として読めるようにする */
  .rev-equation {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  /* PC用の位置補正（translateY）はスマホでは不要なため解除。
     これにより「×」「=」が各項目の間に正しく中央配置される */
  .rev-eq-mark,
  .rev-eq-op {
    transform: none;
  }

  .rev-field input {
    font-size: 20px;
  }

  .rev-btn {
    width: 100%;
    padding: 15px 24px;
  }
}


/* ======================================
   22. CONTACT CTA (詳細シミュレーション誘導バナー)
   「目立つように」— ブランドのピンク／サーモン系グラデで強調
====================================== */
.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--pink), #ff9a98);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 26px 30px;
  border-radius: var(--radius);
  margin: 4px 0 16px;
  box-shadow: var(--shadow-pink);
  transition: transform 0.15s, box-shadow 0.2s;
}

.contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 128, 125, 0.45);
}

/* LINEアイコン（バナー左／スマホでは上に配置） */
.contact-cta-icon {
  flex-shrink: 0;
  display: flex;
  line-height: 0;
}

.contact-cta-icon svg {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* 上段：LINEアイコン＋テキストを横並び中央に */
.cta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* 「こちらをタップ」バッジ — 下段の中央に配置・目立たせる */
.cta-tap {
  display: inline-block;
  padding: 8px 22px;
  background: #fff;
  color: var(--pink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  animation: cta-tap-pulse 1.4s ease-in-out infinite;
}

.contact-cta:hover .cta-tap {
  animation-play-state: paused;
  transform: scale(1.05);
}

@keyframes cta-tap-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18); }
  50%      { transform: scale(1.06); box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28); }
}

/* PCでは1行表示にするため改行を無効化 */
.contact-cta .cta-br {
  display: none;
}

@media (max-width: 599px) {
  .contact-cta {
    gap: 12px;
    font-size: 15px;
    padding: 20px 22px;
  }

  /* スマホではアイコンをテキストの上に配置 */
  .cta-top {
    flex-direction: column;
    gap: 6px;
  }

  /* スマホでは2行に折り返して読みやすく */
  .contact-cta .cta-br {
    display: inline;
  }
}
