/*
 * sho eigo · 価格表示 (金額) 統一タイポグラフィ
 *
 * 全 LP / コース / 卒業オファー / report で使用される複数の価格クラスを
 * 「明朝体 + 非イタリック + tabular-nums + 読みやすい字間」 に統一。
 *
 * Cormorant Garamond italic や sans-serif で表示されていた箇所も
 * 強制的に Shippori Mincho / Noto Serif JP 系に。
 *
 * 各ページから:
 *   <link rel="stylesheet" href="/all/price-typography.css">
 * で読み込まれる。
 */

/* 主要な価格クラス群を網羅 (既存 inline style を上書き) */
.price,
.price-num,
.price-old,
.price-big,
.plan-price,
.plan-price-new,
.plan-price-old,
.cta-price,
.hero-price,
.hero-price-num,
.hero-price-unit,
.hero-price-card-amount,
.price-bar-num,
.price-bar-old,
.feature.f-price,
.f-price,
.pp,
.amount,
.amount-jpy {
  /* 明朝体 — 日本語ユーザーに読みやすい順 */
  font-family: 'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', 'YuMincho',
               'Hiragino Mincho ProN', 'Hiragino Mincho Pro', serif !important;
  font-style: normal !important;
  font-weight: 700;
  /* 数字を等幅化 — 並べた時に揃いやすい */
  font-variant-numeric: tabular-nums;
  -webkit-font-feature-settings: "tnum";
  font-feature-settings: "tnum";
  /* 読みやすい字間 (詰まりすぎない) */
  letter-spacing: 0.012em;
}

/* old (取り消し線価格) は控えめに */
.price-old,
.plan-price-old,
.price-bar-old {
  font-weight: 500;
  opacity: 0.7;
  text-decoration: line-through;
  text-decoration-thickness: 1.2px;
  text-decoration-color: currentColor;
}

/* /  円  /月  /年 などのユニットは少し小さく、 等幅は維持 */
.unit,
.hero-price-unit,
.price-bar-unit,
.plan-price small,
.price small,
.cta-price small {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif !important;
  font-style: normal !important;
  font-weight: 500;
  font-size: 0.55em;
  margin-left: 0.18em;
  letter-spacing: 0.05em;
  opacity: 0.78;
}

/* 「¥」 マークは少し詰めて、 数字との距離を最適化 */
.price::first-letter,
.price-num::first-letter,
.price-big::first-letter,
.plan-price::first-letter,
.plan-price-new::first-letter,
.hero-price-num::first-letter,
.price-bar-num::first-letter {
  margin-right: 0.04em;
}

/* タイトル等で数字を強調する場合の utility */
.num-mincho {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif !important;
  font-style: normal !important;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.012em;
}
