/* =====================================================
   LP Styles — Cleaned & Commented (keep current look)
   ※ うさっこ向け：大事な所だけ触ればOKな構成に整理
   ===================================================== */

/* -----------------------------------------------------
   Vars / Tokens（全ページで使う共通トークン）
   ----------------------------------------------------- */
:root{
  /* Layout */
  --content: 1120px;                      /* 本文の最大幅 */
  --gutter: clamp(24px, 6vw, 64px);       /* 左右の余白（可変） */
  --title-gap: clamp(28px, 5vw, 64px);    /* セクション見出し下の余白 */
  --rule: rgba(2, 6, 23, .12);            /* 区切り線（薄） */
  --rule-strong: rgba(2, 6, 23, .22);     /* 区切り線（濃） */
  --rule-gap: clamp(24px, 5vw, 48px);     /* 区切り線と本文の間隔 */

  /* Brand / Colors */
  --brand: #1f6feb;
  --brand-hover: #1c64e0;                 /* hover */
  --brand-active: #1858c7;                /* active */
  --ink: #222;                            /* 文字色 */
  --bg: #f8fafc;                          /* 薄い背景 */

  --text-sm: clamp(14.5px, 1.6vw, 15.5px);
  --text-md: clamp(16px, 1.8vw, 18px);
  --text-lg: clamp(17px, 2vw, 20px);

  /* Cards / Effects */
  --card-shadow: 0 10px 24px -18px rgba(2,6,23,.12);
  --card-shadow-hover: 0 14px 30px -20px rgba(2,6,23,.22);

  /* CTA Buttons */
  --radius-cta: 16px;
  --cta-btn-w: clamp(280px, 44vw, 520px);
  --cta-btn-min-h: clamp(68px, 9.5vw, 96px);

  /* FAQ（アコーディオン）*/
  --faq-radius: 12px;
  --faq-pad-x: clamp(12px, 3vw, 20px);
  --faq-pad-y: clamp(10px, 2.4vw, 16px);
  --faq-rule: rgba(2, 6, 23, .18);
  --faq-rule-strong: rgba(2, 6, 23, .28);
  --faq-maxh: 1000px;                     /* 開いた時の最大高さ */

  /* Basic Facts */
  --facts-w: clamp(640px, 72vw, 880px);   /* ブロック最大幅 */
  --facts-gap-y: clamp(10px, 2vw, 14px);  /* 行の縦間隔 */
  --facts-inset: clamp(16px, 2.4vw, 20px);/* ラベルの左インセット */

  /* 既存の変数たちの下あたりに追記 */
  --reserve:       #22c55e;          /* 予約ボタンの基準色（エメラルド） */
  --reserve-hover: #16a34a;          /* ホバー色 */
  --reserve-ring:  rgba(34,197,94,.22); /* フォーカスリング */

  /* Footer */
  --footer-bg: #0f172a;                   /* ネイビー寄りの濃色 */
  --footer-ink: #e5e7eb;                  /* 文字色（ほぼ白） */
  --footer-muted:#94a3b8;                 /* 補助文字 */
  --footer-border: rgba(255,255,255,.08);
}

/* 動きを控えめにしたい環境への配慮（アニメ無効） */
@media (prefers-reduced-motion: reduce){
  .hover-soft, .lp-profile.owner-card, .faq .faq-q, .faq .faq-a {
    transition: none !important;
    transform: none !important;
  }
}

/* -----------------------------------------------------
   Base（ベースの見た目）
   ----------------------------------------------------- */
html, body{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0; color:var(--ink); background:#fff;
  font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}
img{ max-width:100%; height:auto; display:block; }

/* -----------------------------------------------------
   Section Rhythm（セクションの基本リズム）
   ----------------------------------------------------- */
.lp-section{
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  padding-block: clamp(28px, 6vw, 72px);
  max-width: var(--content);
  margin-inline: auto;
}
.lp-section + .lp-section{ margin-top: clamp(20px, 4vw, 48px); }

/* フルブリード線（左右端まで走る薄い1px線） */
.lp-section{ position:relative; }
.lp-section.rule-bleed{ padding-top: var(--rule-gap); }
.lp-section.rule-bleed::before{
  content:""; position:absolute; top:0; left:50%; translate:-50% 0;
  width:100vw; height:1px; pointer-events:none;
  background:linear-gradient(to right, transparent 0, var(--rule) 12%, var(--rule-strong) 50%, var(--rule) 88%, transparent 100%);
}
/* 線を短め＆薄めにしたい時（例：FAQ） */
.lp-section.rule-bleed.rule--narrow{ --rule-gap: clamp(20px, 3.5vw, 36px); }
.lp-section.rule-bleed.rule--narrow::before{
  width: clamp(320px, 72%, 960px);
  background:linear-gradient(to right, transparent 0, rgba(2,6,23,.12) 18%, rgba(2,6,23,.16) 50%, rgba(2,6,23,.12) 82%, transparent 100%);
}

/* 見出し：センター＋ダイヤ下線 */
.lp-section > h2.sec-title{
  position:relative; display:block; margin:0 auto var(--title-gap); text-align:center; letter-spacing:.02em;
}
.lp-section > h2.sec--diamond::after{
  content:""; position:absolute; left:50%; transform:translateX(-50%); bottom:-14px;
  width:clamp(120px,12vw,220px); height:2px; border-radius:999px;
  background:linear-gradient(90deg, transparent 0 8%, var(--rule-strong) 8% 92%, transparent 92% 100%);
}
.lp-section > h2.sec--diamond::before{
  content:""; position:absolute; left:50%; transform:translateX(-50%) rotate(45deg); bottom:-18px;
  width:10px; height:10px; border-radius:2px; box-shadow:0 2px 6px rgba(0,0,0,.12);
  background: color-mix(in srgb, var(--brand, #1f6feb) 78%, white);
  background: var(--brand, #1f6feb); /* color-mix 非対応ブラウザのフォールバック */
}

/* -----------------------------------------------------
   Hero（今風フル幅）
   ----------------------------------------------------- */
.lp-section.lp-hero{ padding:0; max-width:none; margin:0; }
.lp-hero .lp-hero-image{ position:relative; width:100%; height:clamp(320px,60vh,720px); overflow:hidden; aspect-ratio:1920/1000; }
.lp-hero .lp-hero-image img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:0; object-position:center 40%; }
.lp-hero .lp-hero-image::before{ content:''; position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.1)); z-index:1; }
.lp-hero .lp-hero-overlay{ position:absolute; inset:0; z-index:2; display:grid; place-content:center; text-align:center; color:#fff; text-shadow:0 2px 12px rgba(0,0,0,.35); padding-inline: clamp(24px, 7vw, 80px); padding-left:max(clamp(24px, 7vw, 80px), env(safe-area-inset-left)); padding-right:max(clamp(24px, 7vw, 80px), env(safe-area-inset-right)); }
.lp-hero .lp-hero-overlay h1{ margin:.2em 0; font-size:clamp(28px,6vw,48px); }
.lp-hero .lp-hero-overlay p{ margin:0; font-size:clamp(16px,3vw,20px); }
.lp-hero-logo{ display:grid; place-content:center; margin-top:16px; }
.lp-hero-logo img{ width:clamp(120px,18vw,220px); height:auto; }

/* -----------------------------------------------------
   Basic Facts（基本情報：中央寄せ＋ラベル/値の2カラム風）
   ----------------------------------------------------- */
.facts{ list-style:none; padding:0; margin: clamp(12px, 2.4vw, 20px) auto 0; max-width: var(--facts-w); }
.facts li{
  display:flex; align-items:baseline; flex-wrap:wrap; gap:12px;
  padding: var(--facts-gap-y) 0 var(--facts-gap-y) var(--facts-inset);
  border-bottom:1px solid rgba(2,6,23,.10);
  font-weight:600; color: color-mix(in srgb, var(--brand, #1f6feb) 35%, #0b1220);
}
.facts li .fact-label{ font-weight:700; flex:0 0 130px; white-space:nowrap; }
.facts li span:not(.fact-label), .facts li a{ flex:1; font-weight:500; color:var(--ink, #222); }
.facts a{ text-decoration:none; color:var(--ink, #222); }
.facts a:hover{ text-decoration:underline; }

/* -----------------------------------------------------
   Profile（運営者情報カード）
   ----------------------------------------------------- */
.lp-profile{ display:grid; gap:20px; }
.profile-image img{ width:clamp(140px,28vw,260px); height:auto; object-fit:cover; border-radius:16px; }

/* カード化＋軽ホバー */
.lp-profile.owner-card{ border:1px solid var(--rule); border-radius:12px; background:#fff; box-shadow:var(--card-shadow); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; display:flex; flex-wrap:wrap; gap: clamp(16px, 5vw, 32px); align-items:center; justify-content:center; max-width:960px; margin-inline:auto; }
.lp-profile.owner-card:hover{ transform:translateY(-2px); box-shadow:var(--card-shadow-hover); border-color:var(--rule-strong); }
.lp-profile.owner-card .profile-image img{ width:clamp(180px,30vw,260px); border-radius:16px; box-shadow:0 4px 16px rgba(0,0,0,.1); }
.lp-profile.owner-card .profile-body{ display:flex; flex-direction:column; gap:10px; font-size: var(--text-md); }
.lp-profile.owner-card .profile-body div{ display:flex; flex-wrap:wrap; align-items:baseline; border-bottom:1px solid rgba(0,0,0,.1); padding:6px 0; gap:4px; }
.lp-profile.owner-card .profile-body dt{ font-weight:800; text-decoration:none; margin-right:8px; min-width:120px; white-space:nowrap; }
.lp-profile.owner-card .profile-body dd{ margin:0; font-weight:500; flex:1; }

/* ===== 運営者情報カード：画像が幅いっぱいにならないように調整 ===== */

/* カード本体に内側の余白を足す（見た目を詰めすぎない） */
.lp-profile.owner-card{
  padding: clamp(12px, 2.4vw, 20px);
  gap: clamp(14px, 3vw, 24px); /* 画像と本文の“間” */
}

/* 画像側は“固定幅のサムネ”として扱う（伸びない） */
.lp-profile.owner-card .profile-image{
  flex: 0 0 auto;              /* ← 本文みたいに広がらない */
}

.lp-profile.owner-card .profile-image img{
  width: clamp(160px, 28vw, 240px); /* ← サムネ幅（最小160 / 最大240px） */
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* 本文側は残り幅を使う */
.lp-profile.owner-card .profile-body{
  flex: 1 1 320px;  /* 目安の基準幅。横が狭ければ折り返し */
  min-width: 240px;
}

/* スマホ時は画像を少しだけ小さめ＆中央寄せ */
@media (max-width: 600px){
  .lp-profile.owner-card .profile-image{
    margin-inline: auto;
  }
  .lp-profile.owner-card .profile-image img{
    width: clamp(150px, 46vw, 210px);
  }
}


/* -----------------------------------------------------
   Access（地図＋テキスト）
   ----------------------------------------------------- */
.lp-access-wrapper{ display:grid; gap:20px; }
@media (min-width:768px){ .lp-access-wrapper{ grid-template-columns:1.3fr 1fr; } }

.access-body p {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5em;
}

.access-body .bullet {
  display: inline-block;
  color: #444;
  margin-right: 0.4em;
}

/* -----------------------------------------------------
   CTA Blocks：構造と見た目（基礎スタイル復活）
   ----------------------------------------------------- */
.lp-cta {
  background: var(--bg);
  padding: clamp(16px, 4vw, 28px) clamp(12px,3vw,20px) calc(clamp(18px, 4.2vw, 30px) + 8px);
  text-align: center;
  border-radius: 0px;
  margin: 16px auto;
}
.cta-message {
  font-size: clamp(16px, 2.8vw, 22px);
  font-weight: 600;
  margin: 0 0 12px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  justify-content: center;
  align-items: stretch;
}
.cta-actions .btn{
  box-sizing: border-box;
  flex: 0 0 var(--cta-btn-w);
  width: var(--cta-btn-w);
  min-height: var(--cta-btn-min-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-cta);
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, filter .18s ease;
}
@media (max-width:480px){
  .cta-actions .btn{ flex:1 1 100%; width:100%; }
}

/* 色バリエーション */
.btn-primary{ background: var(--brand); color:#fff; border-color: var(--brand); }
.btn-outline{ background:#fff; color: var(--ink); border-color:#e5e7eb; }

/* 共通ホバー */
.cta-actions .btn:hover,
.cta-actions .btn:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.14), 0 0 0 3px rgba(31,111,235,.12);
}
.btn-primary:hover,
.btn-primary:focus-visible{ background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-primary:active{
  background: var(--brand-active); border-color: var(--brand-active);
  transform: translateY(0); box-shadow: 0 4px 12px rgba(0,0,0,.10);
}
.btn-outline:hover,
.btn-outline:focus-visible{ background:#f0f6ff; border-color: var(--brand-hover); color: var(--brand); }

/* ボタン内の文字 */
.btn-label, .btn-sub{ display:block; line-height:1.25; }
.btn-label{
  font-weight:700;
  font-size: clamp(15px, 2.7vw, 18px);
  letter-spacing:.01em;
}
.btn-sub{
  font-weight:600;
  font-size: clamp(13px, 2.4vw, 16px);
  opacity:.9; margin-top:2px; line-height:1.2;
}
.btn-phone{ flex-direction:column; align-items:center; gap:4px; line-height:1.25; }


/* -----------------------------------------------------
   FAQ（アコーディオン：点線カード＋軽ホバー）
   ----------------------------------------------------- */
.faq{ margin:0; padding:0; }
.faq dt{ margin:12px 0 0; }
.faq dd{ margin:8px 0 16px; }
.faq dd[hidden] + dt{ margin-top:16px; }

/* 質問ボタン：テキストは左、+/-アイコンは右端 */
.faq .faq-q{
  display:flex; align-items:center; gap:.6em; width:100%;
  padding:12px 16px; border:1px solid #e5e7eb; border-radius:10px; background:#fff;
  cursor:pointer; text-align:left; font:inherit; font-weight:700;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.faq .faq-q > span[id^="faq_q"]{ flex:1 1 auto; min-width:0; }
.faq .faq-q .faq-icon{ margin-left:auto; flex:0 0 auto; width:1.25em; text-align:center; font-weight:700; line-height:1; }
.faq .faq-q:hover{ background-color:rgba(2,6,23,.03); transform:translateY(-1px); box-shadow:0 8px 20px -18px rgba(2,6,23,.18); }

/* 回答（開閉アニメ） */
.faq-a[hidden]{ display:none; }
.faq-a{
  overflow:hidden; max-height:0; padding:0 var(--faq-pad-x); margin:0; border-radius:var(--faq-radius);
  background:transparent; border:1px dashed transparent; box-shadow:none;
  transition:max-height .25s ease, padding .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.faq-a.open{ max-height: var(--faq-maxh, 600px); padding: var(--faq-pad-y) var(--faq-pad-x); }

/* 点線カード枠＋左アクセント（dlに .faq--dashed を付けた時） */
.faq.faq--dashed .faq-a.open{ border-color:var(--faq-rule); background:#fff; box-shadow:0 1px 0 rgba(0,0,0,.04); position:relative; }
.faq.faq--dashed .faq-a.open:hover{ border-color:var(--faq-rule-strong); box-shadow:var(--card-shadow); transform:translateY(-1px); }
.faq.faq--dashed .faq-a.open::before{ content:""; position:absolute; left:0; top:12px; width:4px; height:40px; border-radius:4px; background:var(--brand); opacity:.55; }


/* -----------------------------------------------------
   「予約する」ボタン（ID指定）：.btnを活かしつつ色だけ変更
   ----------------------------------------------------- */
#cta1_res.btn,
#cta2_res.btn,
#ctaf_res.btn {
  background-color: var(--reserve);
  background-image: linear-gradient(180deg,
    var(--reserve),
    color-mix(in srgb, var(--reserve) 92%, white)
  );
  background-blend-mode: multiply;
  color: #fff !important;
  border: 1px solid color-mix(in srgb, var(--reserve) 86%, black);
  text-decoration: none;
}

/* ラベルとサブテキストも白 */
#cta1_res .btn-label,
#cta2_res .btn-label,
#ctaf_res .btn-label,
#cta1_res .btn-sub,
#cta2_res .btn-sub,
#ctaf_res .btn-sub {
  color: #fff !important;
}

/* ホバー時 */
#cta1_res.btn:hover,
#cta2_res.btn:hover,
#ctaf_res.btn:hover,
#cta1_res.btn:focus-visible,
#cta2_res.btn:focus-visible,
#ctaf_res.btn:focus-visible {
  background-color: var(--reserve-hover);
  background-image: linear-gradient(180deg,
    var(--reserve-hover),
    color-mix(in srgb, var(--reserve-hover) 92%, white)
  );
  background-blend-mode: multiply;
  color: #fff !important;
  border-color: var(--reserve-hover);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14), 0 0 0 3px var(--reserve-ring);
}

/* アクティブ時 */
#cta1_res.btn:active,
#cta2_res.btn:active,
#ctaf_res.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .10);
  color: #fff !important;
}


/* -----------------------------------------------------
   Services（サービス概要カード：軽ホバー＋フォント大きめ）
   ----------------------------------------------------- */
#visa_section .list-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap:clamp(10px,2vw,16px); list-style:none; margin:clamp(12px,2.4vw,20px) auto 0; padding:0; max-width:clamp(640px,72vw,1120px); }
#visa_section .list-grid > li{ display:grid; place-items:center start; text-align:left; min-height:clamp(96px,12vw,160px); padding-block:clamp(10px,2.2vw,16px); padding-inline:clamp(12px,3vw,18px); border:1px solid var(--rule); border-radius:12px; background:#fff; box-shadow:0 10px 24px -18px rgba(2,6,23,.12); transition: box-shadow .2s ease, transform .2s ease; font-size: clamp(17px, 2vw, 20px); line-height:1.55; word-break:break-word; hyphens:auto; }
#visa_section .list-grid > li:hover{ box-shadow:0 14px 28px -18px rgba(2,6,23,.16); transform:translateY(-1px); }
#visa_section .list-grid > li > *{ margin:0; }
#visa_section .list-grid > li > h3{ margin-bottom:.2em; line-height:1.2; }
#visa_section .list-grid > li > p{ line-height:1.45; }
#visa_section .list-grid.cards--compact{ grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:clamp(8px,1.6vw,14px); }
#visa_section .list-grid.cards--compact > li{ min-height:clamp(68px,9vw,112px); padding-block:clamp(10px,2.2vw,18px); padding-inline:clamp(10px,2.2vw,14px); border-radius:10px; box-shadow:0 8px 20px -18px rgba(2,6,23,.10); font-size:clamp(17px, 2vw, 20px); line-height:1.55; }
@supports not (place-items:center start){ #visa_section .list-grid > li{ display:flex; align-items:center; justify-content:flex-start; } }
@media (max-width:480px){ #visa_section .list-grid > li{ min-height:auto; } }

/* -----------------------------------------------------
   Footer（3カラム：右列=ロゴ→Legal→©）
   ----------------------------------------------------- */
.lp-footer{ background:var(--footer-bg); color:var(--footer-ink); }
.lp-footer a{ color: color-mix(in srgb, var(--brand, #60a5fa) 82%, white); text-decoration:none; }
.lp-footer a:hover{ text-decoration:underline; }
.lp-footer-inner{ display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:clamp(16px,4vw,48px); align-items:start; }
@media (max-width:860px){ .lp-footer-inner{ grid-template-columns:1fr; } }

/* 左列（NAP＋営業時間） */
.footer-col-left .footer-name{ margin:0 0 6px; font-weight:700; font-size:clamp(18px,2vw,22px); }
.footer-col-left p{ margin:4px 0; }

/* 中列（内部リンク） */
nav.footer-links{ display:block; }
.footer-links-list{ list-style:none; margin:0; padding:0; }
.footer-links-list li{ margin:8px 0; }
.footer-links .footer-head{ margin:0 0 8px; font-weight:700; }

/* 右列（ロゴ→Legal→©： gap で等間隔、子要素は列幅いっぱい） */
.footer-col.footer-legal{
  display: grid;
  grid-template-columns: auto 1fr;                  /* 左：ロゴ / 右：テキスト */
  column-gap: clamp(12px, 2vw, 20px);
  row-gap: clamp(4px, .8vw, 8px);                   /* 行間をキュッと */
  align-items: start;
}
.footer-col.footer-legal > *{ width: auto; margin: 0; }
.footer-legal .footer-logo-wrap{ display:flex; align-items:flex-start; }
/* ロゴサイズ：モバイルやや大きめ、PCは小さめに引き締め */
.footer-legal .footer-logo-wrap img{ display:block; width:96px; height:auto; max-width:96px; border-radius:10px; box-shadow:0 6px 22px rgba(0,0,0,.22); }
@media (min-width:1024px){ .footer-legal .footer-logo-wrap img{ width:72px; max-width:72px; } }
@media (max-width:680px){ .footer-legal .footer-logo-wrap img{ max-width:96px; } }
/* 右列の並び＆余白を最小限に */
.footer-legal .footer-heading{ grid-column:2; grid-row:1; margin:0; }
.footer-legal .legal-links {  grid-column:2; grid-row:2; margin:0; }
.footer-legal .copyright{     grid-column:2; grid-row:3; margin:0; }
/* リンクが実質ゼロのときは行ごと消してさらに詰める（対応ブラウザなら） */
.footer-legal .legal-links{ display:none; }
.footer-legal .legal-links:has(> a:not([style*="display:none"])){
  display:flex; gap:.5em; align-items:center;
}
.footer-legal .legal-links .sep{ display:none; } /* 区切りは非表示で余白を制御 */

/* 右欄：ロゴ左 / Legal＋©右 の2カラムにする */
.footer-col.footer-legal{
  /* 既存の flex を上書き */
  display: grid;
  grid-template-columns: auto 1fr;                 /* 左：ロゴ / 右：テキスト */
  column-gap: clamp(12px, 2vw, 20px);
  row-gap: clamp(6px, 1.2vw, 12px);
  align-items: start;
}

/* 既存の「> * { width:100% }」を打ち消してグリッド内で自然幅に */
.footer-col.footer-legal > *{
  width: auto;
}

/* ロゴを左列で縦に貫通（上から下まで） */
.footer-legal .footer-logo-wrap{
  grid-column: 1;
  grid-row: 1 / 4;  /* heading / links / copyright をまたぐ */
  margin: 0;        /* 既存の余白を念のためリセット */
  align-self: start;
}

/* 右列に見出し・リンク・著作権を縦積み */
.footer-legal .footer-heading{ grid-column: 2; grid-row: 1; margin: 0; }
.footer-legal .legal-links {  grid-column: 2; grid-row: 2; }
.footer-legal .copyright{     grid-column: 2; grid-row: 3; }

/* モバイルは従来どおり“縦積み”に戻す */
@media (max-width: 680px){
  .footer-col.footer-legal{
    grid-template-columns: 1fr;
  }
  .footer-legal .footer-logo-wrap{
    grid-column: 1;
    grid-row: auto;        /* 通常の並び（ロゴ→Legal→©） */
  }
  .footer-legal .footer-heading,
  .footer-legal .legal-links,
  .footer-legal .copyright{
    grid-column: 1;
  }
}
/* 右列の電話行を配置（ロゴ左/テキスト右の2カラム前提） */
.footer-legal .footer-phone{
  grid-column: 2;
  grid-row: 2;   /* 見出し → 電話 → © の順 */
  margin: 0;
}

 /* 左欄の tel: リンクにだけ電話アイコン */
 .footer-col-left a[href^="tel:"]{
   position: relative;
   padding-left: 1.4em;
   text-decoration: none;
 }
 .footer-col-left a[href^="tel:"]::before{
   content: "";
   position: absolute;
   left: 0; top: 50%;
   width: 1.05em; height: 1.05em;
   transform: translateY(-50%);
   background: currentColor; opacity: .95;
   -webkit-mask: url('data:image/svg+xml;utf8,\
 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
 <path fill="black" d="M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C12.95 21 3 11.05 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.24 1.01l-2.2 2.2z"/>\
 </svg>') no-repeat center / contain;
   mask: url('data:image/svg+xml;utf8,\
 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
 <path fill="black" d="M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C12.95 21 3 11.05 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.24 1.01l-2.2 2.2z"/>\
 </svg>') no-repeat center / contain;
 }

.footer-col.footer-legal a[href^="tel:"]::before{
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1.05em; height: 1.05em;
  transform: translateY(-50%);
  background: currentColor; opacity: .95;
  -webkit-mask: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
<path fill="black" d="M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C12.95 21 3 11.05 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.24 1.01l-2.2 2.2z"/>\
</svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
<path fill="black" d="M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C12.95 21 3 11.05 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.24 1.01l-2.2 2.2z"/>\
</svg>') no-repeat center / contain;
}

/* マスク未対応ブラウザの超簡易フォールバック（任意） */
@supports not (mask: url("")) {
   .footer-col-left a[href^="tel:"]::before{
    content:"📞"; background:none; -webkit-mask:none; mask:none;
   transform: translateY(-55%);
 }
 }

/* ===== Pricing Table（料金・相談プラン）枠と罫線を復活 ===== */
#pricing_section .pricing-wrap{ max-width: var(--content); margin-inline:auto; }

#pricing_section table{
  width:100%;
  border-collapse: separate;          /* 外枠と角丸を出す */
  border-spacing:0;
  background:#fff;
  border:1px solid var(--rule, rgba(2,6,23,.12));
  border-radius:12px;
  overflow:hidden;                    /* 角丸を効かせる */
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

#pricing_section thead th{
  text-align:left;
  font-weight:700;
  padding:12px 14px;
  background: color-mix(in srgb, var(--brand, #1f6feb) 6%, #f8fafc);
  border-bottom:1px solid var(--rule-strong, rgba(2,6,23,.22));
}

#pricing_section tbody td{
  padding:12px 14px;
  border-bottom:1px solid var(--rule, rgba(2,6,23,.12));
}

#pricing_section tbody tr:last-child td{ border-bottom:none; }

#pricing_section tbody tr:hover{
  background: rgba(2,6,23,.02);       /* 行ホバーをうっすら */
}

/* メモ：料金列が詰まりすぎないように */
#pricing_section td:nth-child(2){
  white-space: nowrap;
}

/* 料金・相談プランの備考（長文対策：改行 + 文字小さめ） */
#pricing_section #pricing_note{
  white-space: pre-line;                 /* \n をそのまま改行として表示 */
  font-size: clamp(13px, 1.6vw, 14.5px); /* ちょい小さめに */
  line-height: 1.75;                     /* 読みやすい行間 */
  opacity: .9;                           /* 色は少しだけ薄く */
  margin-top: 12px;                      /* 表との間隔を確保 */
}

/* モバイル微調整 */
@media (max-width: 640px){
  #pricing_section table{ font-size: 14.5px; }
  #pricing_section thead th, #pricing_section tbody td{ padding:10px 12px; }
}

/* ===== 「予約する」ボタンだけ色を変える（IDで強制上書き） ===== */
#cta1_res,
#cta2_res,
#ctaf_res {
  background-color: var(--reserve, #22c55e);
  background-image: linear-gradient(
    180deg,
    var(--reserve, #22c55e),
    color-mix(in srgb, var(--reserve, #22c55e) 92%, white)
  );
  background-blend-mode: multiply;
  color: #fff !important;
  border: 1px solid color-mix(in srgb, var(--reserve, #22c55e) 86%, black);
  text-decoration: none;
}
#cta1_res:hover,
#cta2_res:hover,
#ctaf_res:hover,
#cta1_res:focus-visible,
#cta2_res:focus-visible,
#ctaf_res:focus-visible {
  background-color: var(--reserve-hover, #16a34a);
  background-image: linear-gradient(
    180deg,
    var(--reserve-hover, #16a34a),
    color-mix(in srgb, var(--reserve-hover, #16a34a) 92%, white)
  );
  background-blend-mode: multiply;
  color: #fff !important;
  border-color: var(--reserve-hover, #16a34a);
  box-shadow: 0 10px 24px rgba(0,0,0,.14), 0 0 0 3px var(--reserve-ring, rgba(34,197,94,.22));
}



/* === アクティブ押下時：沈んだ感に変更 === */
#cta1_res:active,
#cta2_res:active,
#ctaf_res:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .10);
}


/* === CTA：上下パディングを同幅に固定 === */
.lp-cta{
  padding-top: clamp(16px, 4vw, 28px);
  padding-bottom: clamp(16px, 4vw, 28px);
  /* 既存の padding 指定より後ろ＆個別指定で確実に上書き */
}

/* 視覚補正：影ぶんだけ下を少しだけ足す（お好みで） */
.lp-cta{
  padding-bottom: calc(clamp(18px, 4.2vw, 30px) + 8px);
}

/* === Pricing：外枠の角丸をなくす === */
#pricing_section table{
  border-radius: 0;      /* 角丸→なし */
  overflow: visible;     /* 角丸マスクも解除（安全側） */
}

/* === Pricing：項目名（1列目）を太字に === */
#pricing_section tbody td:first-child{
  font-weight: 700;
}
/* =====================================================
   Reasons（ここが選ばれる理由）
   ===================================================== */

/* コンテナとグリッド */
#promo_section.reasons .reasons-list{
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;   /* 左：見出し / 右：説明 */
  column-gap: clamp(16px, 3vw, 32px);
  row-gap: clamp(12px, 2vw, 18px);
  align-items: baseline;                               /* “寄り添い”感 */
}

/* 中央の細め幅に寄せる */
#promo_section.reasons.reasons--narrow .reasons-list{
  max-width: var(--facts-w);
  margin-inline: auto;
}

/* 左見出し（dt） */
#promo_section.reasons.reasons--calm .reasons-list dt{
  grid-column: 1;
  margin: 0;
  font-weight: 800;
  font-size: clamp(18px, 1.9vw,24px);
  line-height: 1.15;
  letter-spacing: .01em;
  color: color-mix(in srgb, var(--brand, #1f6feb) 34%, #0b1220);
  position: relative;
  padding: 0 0 12px 12px;            /* 下線分の余白 + 左アクセント用インセット */
}

/* 小さな縦バー（控えめアクセント） */
#promo_section.reasons.reasons--calm .reasons-list dt::before{
  content:"";
  position:absolute;
  left: 0; top: .15em;
  width: 4px; height: 18px;
  background: var(--brand, #1f6feb);
  border-radius: 3px;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}

/* 見出しの下線（疑似要素で描き、Y位置をddと完全一致） */
#promo_section.reasons.reasons--calm .reasons-list dt::after{
  content:"";
  position:absolute;
  left: 0; right: 0;
  bottom: 0;                       /* padding-bottom と合わせてピタッ */
  height: 1px;
  background: var(--rule-strong);
}

/* 右説明（dd） */
#promo_section.reasons .reasons-list dd{
  grid-column: 2;
  margin: 2px 0 0;
  padding: 0 0 12px 0;             /* dt と同じ下余白にして線位置を統一 */
  font-weight: 500;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.7;
  color: var(--ink, #222);
  position: relative;
}

/* 説明側の下線（色は少し薄め） */
#promo_section.reasons .reasons-list dd::after{
  content:"";
  position:absolute;
  left: 0; right: 0;               /* --narrow なのでコンテナ内に収める */
  bottom: 0;
  height: 1px;
  background: var(--rule);
}

/* 最終行の線は非表示（余分な線を消す）
#promo_section.reasons .reasons-list dd:last-child::after{
  content: none;
} */

/* SPは縦積み＋間隔調整 */
@media (max-width: 640px){
  #promo_section.reasons .reasons-list{
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  #promo_section.reasons .reasons-list dd{
    grid-column: 1;
    margin-top: 4px;
  }
}
