/* =========================================================
  Deposit page modern UI (Bootstrap3 template safe)
  file: assets/css/deposit-modern.css
========================================================= */

/* ===== Page variables（ここだけ触れば調整できる） ===== */
.depo{
  /* 割引の差し色（文字色に使用） */
  --depo-accent: 255, 204, 51; /* #ffcc33 */
  /* PCの「右カラム開始位置（赤線）」：ここで揃い位置を調整 */
  --depo-deal-col: 480px;

  padding-top: 35px;
  padding-bottom: 45px;
}

/* ===== Header ===== */
.depo-head{
  margin: 0 auto 22px;
  max-width: 920px;
}

.depo-kicker{
  margin: 0 0 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.65;
}

.depo-title{
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.35;
  font-size: 26px;
}

.depo-lead{
  margin: 0;
  opacity: 0.85;
  font-size: 15px;
}

@media (max-width: 767px){
  .depo-title{ font-size: 21px; }
  .depo-lead{  font-size: 14px; }
}

/* ===== Visual ===== */
.depo-visual{
  margin: 18px auto 26px;
  max-width: 980px;
}

.depo-visual img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 12px 34px rgba(0,0,0,0.16);
}

/* ===== Steps ===== */
.depo-steps{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 980px;
}

.depo-step{
  display: flex;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 18px;
  margin: 0 0 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.depo-step__badge{
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.depo-step__badge i{
  font-size: 18px;
  opacity: 0.92;
}

.depo-step__content{
  min-width: 0;
  flex: 1 1 auto;
}

.depo-step__title{
  margin: 0 0 6px;
  font-weight: 700;
  line-height: 1.35;
  font-size: 18px;
}

.depo-step__desc{
  margin: 0 0 10px;
  opacity: 0.80;
  line-height: 1.7;
}

/* ===== Deal area (default: mobile) ===== */
.depo-step__deal{
  display: flex;
  align-items: center; /* ←縦センター */
  gap: 10px;
  flex-wrap: wrap;
}

/* 旧マークアップ互換： .depo-pill + .depo-price */
.depo-pill{
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.16);
  white-space: nowrap;
}

.depo-price{
  font-size: 15px;
  line-height: 1;
}

.depo-price strong{
  font-weight: 900;
  line-height: 1;
  font-size: clamp(22px, 2.2vw, 36px);
}

.depo-old{
  text-decoration: line-through;
  opacity: 0.60;
  margin-right: 6px;
  font-size: 18px;
  font-weight:700;
}


.depo-arrow{
  opacity: 0.70;
  margin-right: 6px;
}

/* 強調（1件目など）：背景なしで金額だけ色 */
.depo-step--em .depo-price strong{
  color: rgb(var(--depo-accent));
}

/* ===== 新マークアップ（推奨）：何が割引か分かる構造 =====
   <div class="depo-deal">
     <span class="depo-tag depo-tag--discount">割引</span>
     <div class="depo-deal__body">
       <div class="depo-deal__what">大人入浴料</div>
       <div class="depo-deal__value"><strong>200円</strong></div>
     </div>
   </div>
========================================================= */
.depo-deal{
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center; /* ←縦センター */
}

.depo-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .10em;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.06);
  opacity: .95;
  white-space: nowrap;
}

.depo-deal__body{
  min-width: 0;
}

.depo-deal__what{
  font-size: 15px;
  opacity: .72;
  margin: 0 0 4px;
  font-weight:500;
}

.depo-deal__value{
  display: flex;
  align-items: center; /* ←縦センター */
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1;
}

.depo-deal__value strong{
  font-weight: 900;
  letter-spacing: .02em;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1;
}

/* タグの色（デザイン統一のまま差し色だけ） */
.depo-tag--discount{
  color: rgb(255 255 255 / 98%);
  background: rgb(236, 218, 55);
}
.depo-tag--refund{
  color: rgb(255 255 255 / 98%);
  background: rgb(253 77 68);
}
.depo-tag--exchange{
  color: rgb(255 255 255 / 98%);
  background: rgb(86 162 217);
}

/* ===== Link card (marugyu) ===== */
.depo-linkCard{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.18);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.depo-linkCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.depo-linkCard img{
  width: 120px;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  display: block;
}

.depo-linkCard__text{
  display: block;
  min-width: 0;
}

.depo-linkCard__title{
  display: block;
  font-weight: 800;
  margin: 0 0 3px;
}

.depo-linkCard__sub{
  display: block;
  opacity: 0.70;
  font-size: 12px;
  word-break: break-all;
}

/* ===== Notice + buttons ===== */
.depo-notice{
  margin: 18px auto 10px;
  max-width: 980px;
  opacity: 0.82;
}

.depo-notice ul{
  margin: 0;
  padding-left: 18px;
}

.depo-actions{
  margin-top: 18px;
}

.depo-btn{
  margin: 6px 8px;
}

/* ===== Mobile stacking ===== */
@media (max-width: 767px){
  .depo-step{
    flex-direction: column;
    gap: 10px;
  }

  .depo-step__badge{
    width: 42px;
    height: 42px;
    flex-basis: auto;
  }

  .depo-linkCard{
    flex-direction: column;
    align-items: flex-start;
  }

  .depo-linkCard img{
    width: 100%;
    max-width: 260px;
  }
}

/* =========================================================
  PC layout：赤線位置（右カラム開始）で揃える
  - 右カラムは固定幅 var(--depo-deal-col)
  - deal は背景なし／左揃え／縦センター
========================================================= */
@media (min-width: 768px){
  .depo-step__content{
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--depo-deal-col);
    grid-template-areas:
      "title deal"
      "desc  deal";
    column-gap: 24px;
    row-gap: 6px;
    align-items: center;
  }

  .depo-step__title{ grid-area: title; margin: 0; }
  .depo-step__desc{  grid-area: desc;  margin: 0; }

  .depo-step__deal{
    grid-area: deal;
    justify-self: start;  /* ←赤線の開始位置に揃える */
    text-align: left;
    padding: 0;           /* ←背景無しなので余白も無し */
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  /* 「まるぎゅう」などリンクカードを右カラムに入れる用
     li に class="depo-step depo-step--link" を付けて使う */
  .depo-step--link .depo-linkCard{
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: start;  /* ←赤線開始に揃える */
    align-self: center;
  }
}
/* =========================================================
  Badge Kanji tuning (「牛」など)
  - ここだけ触ればサイズ/太さ/微調整ができる
========================================================= */

.depo{
  /* 文字サイズ（SP/PC） */
  --depo-kanji-size-sp: 18px;
  --depo-kanji-size-pc: 19px;

  /* 太さ（700/800/900など） */
  --depo-kanji-weight: 900;

  /* 位置の微調整（必要なら -1px〜+1px くらい） */
  --depo-kanji-shift-y: 0px;
}

.depo-step__badge--kanji{
  font-weight: var(--depo-kanji-weight);
  font-size: var(--depo-kanji-size-sp);
  line-height: 1;
  letter-spacing: .02em;
  transform: translateY(var(--depo-kanji-shift-y));
}

@media (min-width: 768px){
  .depo-step__badge--kanji{
    font-size: var(--depo-kanji-size-pc);
  }
}
