/* =====================================================
   KATE stage LASH メンズ眉毛ページ - 離脱バナー（js/exit.js が出し入れする）
   画面の下からせり上がる小さなカード。本文を覆い隠さず、× と Esc で閉じられる。
   しくみは女性向け LP（/Brand/ の css/exit.css）と同じ。見た目はこのページの黒×真鍮に合わせる。
   重なり順：下部固定ボタン（50）より上。
   ===================================================== */
.exit{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  padding:0 max(10px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px));
  pointer-events:none;
}
.exit[hidden]{display:none}
/* 出た時にバナー全体へフォーカスを移す（読み上げのため）。バナー全体には枠線を出さない。
   中のボタンは、Tab で移った時にいつもどおり枠線が出る */
.exit:focus,.exit:focus-visible{outline:none}
.exit__card{
  position:relative;pointer-events:auto;overflow:hidden;
  max-width:440px;margin:0 auto;padding:22px 18px 16px;
  border:1px solid rgba(201,164,92,.7);border-radius:22px;
  background:linear-gradient(180deg,#1e1d1a 0%,#151413 70%);
  box-shadow:0 -6px 30px rgba(0,0,0,.45),0 14px 34px rgba(0,0,0,.35);
  text-align:center;color:var(--paper);
  transform:translateY(calc(100% + 24px));transition:transform .45s var(--out);
}
.exit__card::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(to right,rgba(248,247,243,.05) 1px,transparent 1px),linear-gradient(to bottom,rgba(248,247,243,.05) 1px,transparent 1px);
  background-size:20px 20px;
  -webkit-mask-image:linear-gradient(to bottom,#000 10%,transparent 75%);mask-image:linear-gradient(to bottom,#000 10%,transparent 75%);
}
.exit.is-open .exit__card{transform:none}
.exit__card > :not(.exit__close){position:relative}

.exit__close{
  position:absolute;top:4px;right:4px;z-index:1;
  width:44px;height:44px;border:0;border-radius:50%;
  background:transparent;color:var(--mute-d);cursor:pointer;
}
.exit__close span{
  position:absolute;left:50%;top:50%;width:16px;height:1.6px;margin:-.8px 0 0 -8px;
  background:currentColor;border-radius:2px;transform:rotate(45deg);
}
.exit__close span + span{transform:rotate(-45deg)}
.exit__close:hover{color:var(--paper)}

.exit__lead{font-weight:900;font-size:12px;letter-spacing:.16em;line-height:1.6;color:var(--brass)}
.exit__ttl{
  margin-top:2px;
  font-family:var(--f-serif);font-weight:900;
  font-size:clamp(19px,5.4vw,22px);line-height:1.45;letter-spacing:.04em;
}
.exit__price{
  margin-top:8px;display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:0 14px;
  font-weight:700;font-size:12.5px;line-height:1.5;color:#d5d1c6;
}
.exit__price b{
  margin-left:6px;font-family:var(--f-num);font-style:italic;font-weight:900;font-size:22px;line-height:1.2;letter-spacing:-.01em;
  background:var(--gold);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.06em;
}
.exit__price small{font-size:11px;color:var(--mute-d)}
.exit .btn{margin-top:12px;min-height:60px;font-size:clamp(14.5px,4.2vw,17px)}

@media (min-width:900px){
  .exit{bottom:20px;padding-bottom:0}
}
/* 背の低い画面（320×568 など）：本文を覆いすぎないよう詰める（画面の高さの半分以下） */
@media (max-height:700px){
  .exit__card{padding:16px 16px 12px}
  .exit__ttl{font-size:18px}
  .exit__price{margin-top:6px}
  .exit__price b{font-size:20px}
  .exit .btn{margin-top:10px;min-height:54px}
}
@media (prefers-reduced-motion:reduce){
  .exit__card{transition:none}
}
