/* ============================================================
   追加スタイル（手書き・extract.py では作り直されない）
   確認用HTMLとWordPressテーマの両方が読み込みます。
   ============================================================ */

/* --- 改行の出し分け --- */
.pc-br { display: inline; }
.sp-br { display: none; }
@media (max-width: 700px) {
  .pc-br { display: none; }
  .sp-br { display: inline; }
}

/* --- 「耳をととのえたら、こう変わりました」--- */
.kaizen-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; margin: 44px auto 0; max-width: 900px;
}
.kaizen {
  background: #fff; border: 1px solid var(--line, rgba(46,39,35,.14)); border-radius: 16px;
  padding: 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  box-shadow: 0 2px 12px rgba(46,39,35,.05);
}
.kaizen p { font-size: 14.5px; line-height: 1.8; color: var(--ink); text-align: center; }
.kz-ic {
  width: 52px; height: 52px; border-radius: 50%; background: var(--base-deep, #f1e9e1);
  display: flex; align-items: center; justify-content: center; flex: 0 0 52px;
}
.kz-ic svg { width: 26px; height: 26px; }
@media (max-width: 700px) {
  .kaizen-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
  .kaizen { padding: 18px 10px; gap: 10px; }
  .kaizen p { font-size: 12.5px; line-height: 1.65; }
  .kaizen br { display: none; }
  .kz-ic { width: 42px; height: 42px; flex-basis: 42px; }
  .kz-ic svg { width: 21px; height: 21px; }
}

/* --- 地図まわり ---
   店舗情報は「表 ＋ 地図」の2列組み。1fr だけだと表の最小幅に押されて
   地図側が細く潰れるため、minmax(0,1fr) で必ず半分ずつにする。 */
.info-cols, .info-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 800px) { .info-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .info-cols { grid-template-columns: 1fr; } }
.info-cols > *, .info-grid > * { min-width: 0; }
iframe[title="MONTYの地図"] { width: 100%; max-width: 100%; border-radius: 14px; }

/* --- 講座の受講料 --- */
.tuition {
  background: #fff; border: 2.5px solid var(--coral-deep); border-radius: 18px;
  padding: 34px 36px; max-width: 640px; margin: 40px auto 0; text-align: center;
}
.tuition .t-label { font-size: 11.5px; letter-spacing: .28em; color: var(--gold); font-weight: 700; }
.tuition .t-price { font-family: var(--serif); font-size: clamp(30px, 5vw, 42px); color: var(--coral-deep); margin: 10px 0 4px; line-height: 1.2; }
.tuition .t-price small { font-size: 15px; color: var(--ink-soft); font-family: var(--sans); margin-left: 6px; }
.tuition .t-pay { font-size: 14px; color: var(--ink); margin-top: 14px; }
.tuition .t-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; line-height: 1.8; }
@media (max-width: 700px) { .tuition { padding: 26px 20px; } }

/* --- フッターロゴ（width/height属性を付けたため、CSSで比率を戻す） --- */
.flogo-wrap img { width: 100%; height: auto; }

/* --- スマホのタップ領域・文字サイズ --- */
@media (max-width: 900px) {
  .drawer a { padding: 10px 28px; }          /* 25px → 45px 高 */
}
@media (max-width: 700px) {
  .hero-eyebrow { font-size: 11px; }         /* 10px は小さすぎる */
  .cta-sub { display: inline-block; padding: 8px 0; }
  .col-card__cat { font-size: 11.5px; }
}

/* --- お問い合わせ／資料請求の電話ボタン --- */
.tel-cta { font-size: 15px; padding: 16px 38px; }
.tel-cta .tel-l2::before { content: "（"; }
.tel-cta .tel-l2::after  { content: "）"; }
@media (max-width: 700px) {
  .form-ui { padding: 26px 18px !important; }
  .tel-cta { display: block; width: 100%; padding: 14px 12px; line-height: 1.45; }
  .tel-cta .tel-l1 { display: block; }
  .tel-cta .tel-l2 { display: block; font-size: 13.5px; opacity: .95; letter-spacing: .04em; }
  .tel-cta .tel-l2::before, .tel-cta .tel-l2::after { content: ""; }
}

/* --- 比較表：スマホでは横にスクロールできることを知らせる --- */
@media (max-width: 700px) {
  .matrix-wrap::before {
    content: "← 横にスクロールして比較できます →"; display: block;
    font-size: 12px; color: var(--ink-soft); margin: 0 0 10px; text-align: center; letter-spacing: .04em;
  }
}

/* --- 講座「こんなお悩み」：折り返した行をチェックの内側に揃える --- */
p:has(> .hl-marker) { display: flex; align-items: flex-start; gap: 10px; text-align: left; }
p:has(> .hl-marker) > span:first-child { margin-right: 0 !important; flex: 0 0 auto; }
@media (max-width: 700px) {
  p:has(> .hl-marker) { line-height: 1.9 !important; margin-bottom: 10px; font-size: 16px !important; }
}

/* --- トップ「選ばれる理由」：4つを 4列（PC）／2列（タブレット）で揃える --- */
@media (min-width: 1000px) { .reasons-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 701px) and (max-width: 999px) { .reasons-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- スマホのタップ領域（フッターのリンク・「一覧を見る」系ボタン） --- */
@media (max-width: 700px) {
  .fnav a { display: inline-block; padding: 8px 4px; }
  .more-link { padding: 13px 20px; }
}

/* --- 「一覧を見る」系ボタン（more-link）の最小タップ高／比較表チップの文字サイズ --- */
@media (max-width: 700px) {
  .more-link, .newsbar .more-link { min-height: 44px; padding: 10px 20px !important; box-sizing: border-box; }
  .th-chip { font-size: 11px; }
}

/* ===== オリジナル商品：CHEARING® のカルーセル（2026-10-04） =====
   サロンのカルーセル（.car-wrap / .carousel / .car-arrow）を流用し、1枚ずつ・縦長で見せる */
.goods-car{width:100%;max-width:420px;}
.goods-car .carousel{gap:12px;padding:0 0 6px;}
.goods-car .carousel .car-img{flex:0 0 100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px;}
@media(max-width:700px){.goods-car .carousel .car-img{flex:0 0 100%;}}
.goods-car .car-arrow{top:50%;}
.goods-car .car-arrow.prev{left:8px;}
.goods-car .car-arrow.next{right:8px;}
