@charset "UTF-8";
/* =========================================================
   記事ページの部品。style.css → このファイル → article.css → guide-frame.css(ヘッダー・フッター)の順に読む
   ・色の名前 ・右の相談バナー(.h-side-in) ・スマホの下のバー
   ========================================================= */
:root {
  --g-900: #1e4227;   /* 見出し(今のサイトと同じ) */
  --g-700: #2e7d32;   /* 緑の基本色(今のサイトと同じ) */
  --g-100: #e1efd6;
  --g-50: #f1f7ec;    /* 薄い緑の面 */
  --g-line: #dfe8d8;
  --gold: #b99d52;
  --orange: #e07b1a;  /* 期限ツール(今のサイトと同じ系統) */
  --orange-700: #b85f0c;
  --orange-ink: #8a4b0f;
  --orange-50: #fff8ec;
  --orange-line: #eba64a;
  --line-green: #06c755;
  --text: #23262d;
  --text-sub: #5b6170;
  --border: #e3eadc;
  --radius: 12px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", Meiryo, sans-serif;

  /* contact-modal.css が使う色(記事ページと同じ名前で用意する) */
  --paper: #fff; --ink: var(--text); --ink-sub: var(--text-sub); --ink-mute: #8a8f9a;
  --line: var(--border); --line-strong: #cfdcc4; --alert: #b4472a;
  --navy: var(--g-700); --navy-700: #23652a; --navy-50: var(--g-50); --navy-100: var(--g-100);
}

/* ---------- 右の相談バナー(今のサイトの画像バナーと同じデザインを文字で組んだもの。文字は一番小さいところでも14px) ---------- */
.h-side-in { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(10,20,45,.25); }
/* 今のサイトの画像バナーと同じデザイン。文字は一番小さいところでも14px */
.hs-logo { padding: 12px 18px; background: #fff; }
.hs-logo img { display: block; height: 40px; width: auto; }
.hs-body { position: relative; overflow: hidden; padding: 18px 16px 18px; color: #fff; text-align: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0) 0 18%, rgba(255,255,255,.05) 18% 22%, rgba(255,255,255,0) 22% 64%, rgba(255,255,255,.04) 64% 70%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #2b3654 0%, #1d2741 55%, #172036 100%); }
/* 先生は右側に立たせ、文字やボタンを手前に重ねる(画像バナーと同じ構図) */
.hs-photo { position: absolute; right: -46px; top: 66px; width: 206px; height: auto; max-width: none; pointer-events: none; }
.hs-name { position: relative; margin-top: 8px; font-size: 14px; line-height: 1.45; text-align: right; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.hs-name b { font-size: 15px; }
/* 見出しと説明文は左揃え（11/2 本人指定）。札「初回相談無料」も左に寄る */
.hs-copy { position: relative; width: 218px; text-align: left; }
.hs-badge { display: inline-block; padding: 3px; border-radius: 999px; background: #b99d52; }
.hs-badge span { display: block; padding: 2px 22px; border: 1.5px solid #f1e3b6; border-radius: 999px; font-size: 16px; font-weight: 700; letter-spacing: .12em; color: #fff; }
.hs-title { margin-top: 12px; font-weight: 700; letter-spacing: .06em; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.hs-title-s { display: block; font-size: 18px; font-weight: 500; line-height: 1.6; }
.hs-title-l { display: block; font-size: 23px; line-height: 1.4; }
.hs-title-l small { font-size: 18px; font-weight: 500; }
.hs-text { margin-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.7; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
/* ボタン：アイコン｜区切り線｜文字｜矢印 */
.hs-btn { position: relative; display: flex; align-items: center; margin-top: 12px; padding: 10px 34px 10px 10px; border-radius: 8px; text-align: left; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.hs-btn-icon { flex: none; display: grid; place-items: center; width: 52px; margin-right: 12px; padding-right: 10px; border-right: 1px solid; }
.hs-btn-text { display: flex; flex-direction: column; }
.hs-arrow { position: absolute; right: 14px; top: 50%; width: 11px; height: 11px; margin-top: -6px; border-right: 3px solid; border-bottom: 3px solid; transform: rotate(-45deg); }
.hs-tel { background: #fff; color: #1a2440; }
.hs-tel .hs-btn-icon { border-color: #d9c38a; color: #b99d52; }
.hs-tel .hs-btn-icon svg { width: 36px; height: 36px; }
.hs-tel .hs-arrow { color: #b99d52; }
.hs-tel-label { font-size: 14px; font-weight: 700; line-height: 1.3; }
.hs-tel-num { font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: .02em; }
.hs-tel-hours { font-size: 14px; line-height: 1.35; color: #3c4560; }
.hs-line { background: var(--line-green); color: #fff; }
.hs-line .hs-btn-icon { border-color: rgba(255,255,255,.7); }
.hs-line-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--line-green); font-size: 14px; font-weight: 900; letter-spacing: 0; }
.hs-line-main { font-size: 21px; font-weight: 700; line-height: 1.3; }
.hs-line-sub { font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: .08em; }
.hs-tel:hover { background: #f7f3e6; }
.hs-line:hover { background: #05a647; }
.hs-tool { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 40px 12px 22px; background: #b99d52; color: #fff; text-decoration: none; }
.hs-tool:hover { background: #a68a42; }
.hs-tool svg { flex: none; width: 34px; height: 34px; }
.hs-tool-text { display: flex; flex-direction: column; }
.hs-tool-main { align-self: flex-start; padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,.8); font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: .06em; }
.hs-tool-sub { margin-top: 3px; font-size: 14px; line-height: 1.4; }
.hs-tool .hs-arrow { color: #fff; }
.hs-text { word-break: auto-phrase; }
/* 画面の高さが足りないときは、説明文を外して収める(文字は小さくしない) */
@media (max-height: 939px) { .hs-text { display: none; } }

/* スマホの下に出る相談バー(PCでは出さない) */
.sp-cta-bar { display: none; }

@media (max-width: 700px) {
  .sp-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 14px rgba(0,0,0,.12); }
  .sp-cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: #fff; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: .06em; }
  .sp-cta-bar svg, .sp-cta-bar img { width: 20px; height: 20px; }
  .sp-cta-tel { background: var(--g-700); }
  .sp-cta-line { background: var(--line-green); }
}
