/*
  FLY 公式サイト — 全ページ共通の追加部品（2026-11-13 サイト改善レビューの実装）
  - fly.css の後・各ページの <style> の後に読む（上書きの順番を保つため </head> の直前）
  - 角丸は使わない（角 0）。見出しも本文と同じゴシック体。動きは 1 回だけ・0.8 秒以内・reduced-motion で止める
  - 中身: ナビの電話と相談ボタン／スマホの下の帯／フッターの会社情報／コントラストの直し／
          トップの新しい部品（hero-v2 ほか）／問い合わせページ（contact.html）
*/

:root {
  --ink: #1b1b1b;
  --navy: #0a1f3d;
  --gold-line: #c9a14a;
}

/* ---------- 文字組み ---------- */
h1, h2, h3, .hv2-title, .trust-num { font-feature-settings: "palt"; }
.trust-num, .price-tag, .cmp-price .now { font-variant-numeric: tabular-nums; }

/* ---------- コントラスト（オレンジ地の白文字 約 2.1:1 → 濃い文字 約 9:1） ---------- */
.slide-btn, .btn-fly, .cta-bar .btn-cta, .btn-cta, .label-new, .svc-new,
.column-cta .btn-cta, .btn-dojo-primary {
  color: var(--ink);
}
.slide-btn:hover, .btn-fly:hover, .cta-bar .btn-cta:hover, .btn-cta:hover,
.column-cta .btn-cta:hover {
  color: var(--ink);
}

/* ---------- ナビ：電話と「無料で相談」 ---------- */
.navbar-default .navbar-nav > li.nav-cta > a,
.menu-bg .navbar-default .navbar-nav > li.nav-cta > a {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  margin: 18px 0 0 8px;
  padding: 9px 16px;
  border: 0;
}
.menu-bg .navbar-default .navbar-nav > li.nav-cta > a { margin-top: 12px; }
.navbar-default .navbar-nav > li.nav-cta > a:hover,
.navbar-default .navbar-nav > li.nav-cta > a:focus { background: var(--accent-dark); color: var(--ink); }
.navbar-default .navbar-nav > li.nav-tel > a {
  display: flex; flex-direction: column; align-items: flex-end;
  padding: 18px 4px 0 14px; line-height: 1.25;
}
.menu-bg .navbar-default .navbar-nav > li.nav-tel > a { padding-top: 11px; }
.nav-tel-num { font-family: 'Inter', 'Noto Sans JP', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.nav-tel small { font-size: 11px; opacity: .8; }
@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > a { padding-left: 9px; padding-right: 9px; font-size: 13.5px; }
  .menu-bg .navbar-default .navbar-nav > li > a { padding-left: 9px; padding-right: 9px; }
}
@media (min-width: 992px) and (max-width: 1299px) {
  .navbar-nav > li.nav-tel { display: none; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-default .navbar-nav > li > a, .menu-bg .navbar-default .navbar-nav > li > a { padding-left: 6px; padding-right: 6px; font-size: 13px; }
}
@media (min-width: 1300px) {
  .header-top-area > .container { width: 1270px; }
}
/* 三本線メニューの中 */
@media (max-width: 991px) {
  .navbar-default .navbar-nav > li.nav-cta > a,
  .menu-bg .navbar-default .navbar-nav > li.nav-cta > a { margin: 10px 18px 14px; justify-content: center; padding: 12px 16px; }
  .navbar-default .navbar-nav > li.nav-tel > a,
  .menu-bg .navbar-default .navbar-nav > li.nav-tel > a { flex-direction: row; align-items: baseline; gap: 10px; padding: 14px 18px; }
  #main-nav .navbar-nav > li.nav-cta > a::before,
  #main-nav .navbar-nav > li.nav-cta > a::after { display: none; }
  #main-nav .navbar-nav > li > a[href="ai-consulting.html"]::before { content: "\e83b"; }
  #main-nav .navbar-nav > li > a[href="ai-dojo.html"]::before { content: "\e836"; }
  #main-nav .navbar-nav > li > a[href="pitauri.html"]::before { content: "\e82e"; }
  #main-nav .navbar-nav > li.nav-tel > a::before { content: "\e830"; }
}

/* ---------- スマホの下に固定する相談の帯 ---------- */
.fly-callbar { display: none; }
@media (max-width: 767px) {
  .fly-callbar {
    display: grid; grid-template-columns: 1fr 1.25fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000;
    background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0,0,0,.08);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .fly-callbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; min-height: 56px; font-size: 12px; font-weight: 700; color: var(--brand-dark);
    text-decoration: none; border-left: 1px solid var(--border);
  }
  .fly-callbar a:first-child { border-left: 0; }
  .fly-callbar a .fa { font-size: 18px; }
  .fly-callbar .fly-callbar-main { background: var(--accent); color: var(--ink); border-left: 0; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  #scrollUp { bottom: 72px !important; }
}

/* ---------- フッターの会社情報 ---------- */
.footer-info { max-width: 900px; margin: 4px auto 22px; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.75); }
.footer-info p { margin: 0 0 6px; font-size: 13px; }
.footer-info-name { color: #fff; font-weight: 700; font-size: 14px !important; }
.footer-info-name span { font-weight: 400; color: rgba(255,255,255,.65); margin-left: 8px; font-size: 12px; }
.footer-info-offices { list-style: none; padding: 0; margin: 0 0 6px; }
.footer-info-offices strong { color: #fff; font-weight: 600; margin-right: 8px; }
.footer-info a { color: rgba(255,255,255,.88); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- ページのつながり（対応ブラウザだけ。reduced-motion では止める） ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
}

/* =========================================================
   トップ（index.html）2026-11-13 作り直し
========================================================= */
.hv2 {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy) url('../images/top/top_01-1600.webp') center right / cover no-repeat;
  padding: 150px 0 64px;
}
.hv2::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,31,61,.96) 0%, rgba(10,31,61,.88) 48%, rgba(10,31,61,.55) 100%); }
.hv2 .container { position: relative; }
.hv2-eyebrow { display: inline-block; font-size: 13px; letter-spacing: .14em; font-weight: 700; color: var(--accent); margin: 0 0 16px; padding-bottom: 6px; border-bottom: 1px solid var(--gold-line); }
.hv2-title { font-size: 44px; line-height: 1.38; font-weight: 800; color: #fff; margin: 0 0 18px; letter-spacing: .01em; text-wrap: balance; }
.hv2-title em { font-style: normal; color: var(--accent); }
.hv2-lead { font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.88); max-width: 660px; margin: 0 0 26px; }
.hv2-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hv2-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; font-size: 16px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.hv2-btn-main { background: var(--accent); color: var(--ink); }
.hv2-btn-main:hover, .hv2-btn-main:focus { background: #ffbb2e; color: var(--ink); text-decoration: none; }
.hv2-btn-sub { border-color: rgba(255,255,255,.75); color: #fff; }
.hv2-btn-sub:hover, .hv2-btn-sub:focus { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.hv2-btn-tel { color: #fff; padding-left: 4px; padding-right: 4px; }
.hv2-btn-tel:hover, .hv2-btn-tel:focus { color: var(--accent); text-decoration: none; }
.hv2-btn-tel span { font-family: 'Inter', sans-serif; font-size: 20px; letter-spacing: .02em; }
.hv2-btn-tel small { display: block; font-size: 11px; font-weight: 400; opacity: .8; }
/* 主力 4 つ＋道場（最初の画面の下段） */
.hv2-pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.28); }
.hv2-pillar { display: block; padding: 16px 16px 14px 0; color: #fff; text-decoration: none; border-right: 1px solid rgba(255,255,255,.14); padding-left: 16px; transition: background .2s; }
.hv2-pillar:first-child { padding-left: 0; }
.hv2-pillar:last-child { border-right: 0; }
.hv2-pillar:hover, .hv2-pillar:focus { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.hv2-pillar b { display: block; font-size: 16px; line-height: 1.4; margin-bottom: 3px; }
.hv2-pillar small { display: block; font-size: 12.5px; color: rgba(255,255,255,.72); line-height: 1.5; }
.hv2-pillar .no { display: block; font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }
.hv2-pillar.is-dojo .no { color: #9fd0ff; }
@media (prefers-reduced-motion: no-preference) {
  .hv2-title, .hv2-lead, .hv2-actions { animation: hv2-in .6s ease-out both; }
  .hv2-lead { animation-delay: .08s; }
  .hv2-actions { animation-delay: .14s; }
  @keyframes hv2-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 991px) {
  .hv2 { padding: 120px 0 48px; }
  .hv2-title { font-size: 34px; }
  .hv2-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hv2-pillar { border-bottom: 1px solid rgba(255,255,255,.14); }
  .hv2-pillar:nth-child(3n) { border-right: 0; }
  .hv2-pillar:nth-child(3n+1) { padding-left: 0; }
}
@media (max-width: 767px) {
  .hv2 { padding: 96px 0 28px; background-position: 70% center; }
  .hv2::before { background: linear-gradient(180deg, rgba(10,31,61,.93) 0%, rgba(10,31,61,.9) 100%); }
  .hv2-eyebrow { font-size: 11.5px; margin-bottom: 12px; }
  .hv2-title { font-size: 26px; line-height: 1.45; margin-bottom: 12px; }
  .hv2-lead { font-size: 14.5px; line-height: 1.8; margin-bottom: 18px; }
  .hv2-actions { gap: 8px; margin-bottom: 22px; }
  .hv2-btn { padding: 13px 16px; font-size: 15px; flex: 1 1 100%; justify-content: center; }
  .hv2-btn-tel { flex: 1 1 100%; justify-content: center; }
  .hv2-pillars { grid-template-columns: 1fr 1fr; }
  .hv2-pillar, .hv2-pillar:nth-child(3n+1) { padding: 12px 10px; }
  .hv2-pillar:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.14); }
  .hv2-pillar:nth-child(2n) { border-right: 0; }
  .hv2-pillar:nth-child(2n+1) { padding-left: 0; }
  .hv2-pillar.is-dojo { grid-column: 1 / -1; border-right: 0; }
  .hv2-pillar b { font-size: 14.5px; }
  .hv2-pillar small { font-size: 11.5px; }
}

/* キャンペーンの帯（最初の画面の直下） */
.cmp-strip { background: #fff8e8; border-bottom: 1px solid #f1dfb4; }
.cmp-strip a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.cmp-strip a:hover, .cmp-strip a:focus { text-decoration: none; color: var(--ink); }
.cmp-strip .tag { display: inline-block; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; letter-spacing: .04em; }
.cmp-strip .txt { font-size: 15.5px; font-weight: 700; }
.cmp-strip .txt em { font-style: normal; color: #a35f00; }
.cmp-strip .note { font-size: 12.5px; color: #6b5a33; }
.cmp-strip .more { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.cmp-strip a:hover .more { text-decoration: underline; }
@media (max-width: 767px) { .cmp-strip .txt { font-size: 14px; } .cmp-strip .more { margin-left: 0; } }

/* 信頼の帯 */
.trust-band { background: #fff; border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { padding: 22px 20px; border-left: 1px solid var(--border); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item .k { display: block; font-size: 12px; font-weight: 700; color: var(--text-light); letter-spacing: .06em; margin-bottom: 4px; }
.trust-item .v { display: block; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.trust-item .v a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-line); }
.trust-num { font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 800; color: var(--brand); margin-right: 2px; }
.trust-item small { display: block; font-size: 12px; color: var(--text-light); margin-top: 2px; line-height: 1.6; }
@media (max-width: 991px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(3) { border-left: 0; padding-left: 0; } .trust-item { border-bottom: 1px solid var(--border); } }
@media (max-width: 479px) { .trust-item { padding: 14px 10px; } .trust-item .v { font-size: 13.5px; } .trust-num { font-size: 21px; } }

/* セクションの見出し（左揃え・章番号） */
.sec-v2 { padding: 76px 0; }
.sec-v2.is-light { background: var(--bg-light); }
.sec-head { margin-bottom: 30px; max-width: 760px; }
.sec-head .no { display: block; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--brand); margin-bottom: 8px; }
.sec-head h2 { font-size: 30px; font-weight: 800; margin: 0 0 10px; color: var(--navy); }
.sec-head p { margin: 0; color: var(--text-light); font-size: 15.5px; }
@media (max-width: 767px) { .sec-v2 { padding: 52px 0; } .sec-head h2 { font-size: 23px; } .sec-head p { font-size: 14.5px; } }

/* 主力 4 つ（大きなカード） */
.main-svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.main-svc-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; transition: background .2s; }
.main-svc-card:nth-child(2n) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--border); }
.main-svc-card:hover, .main-svc-card:focus { background: #fbfcfe; color: var(--text); text-decoration: none; }
.main-svc-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; display: block; border: 1px solid var(--border); }
.main-svc-card .cat { display: block; font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .06em; margin-bottom: 4px; }
.main-svc-card h3 { font-size: 20px; font-weight: 800; margin: 0 0 8px; color: var(--navy); }
.main-svc-card p { font-size: 14.5px; line-height: 1.8; margin: 0 0 12px; color: var(--text-light); }
.price-tag { display: block; font-size: 13px; color: var(--text); border-top: 1px solid var(--border); padding-top: 10px; margin-bottom: 8px; }
.price-tag b { font-family: 'Inter', 'Noto Sans JP', sans-serif; font-size: 18px; font-weight: 800; color: var(--navy); margin: 0 2px; }
.main-svc-card .go { font-size: 14px; font-weight: 700; color: var(--brand); }
.main-svc-card:hover .go { text-decoration: underline; }
@media (max-width: 991px) {
  .main-svc { grid-template-columns: 1fr; }
  .main-svc-card, .main-svc-card:nth-child(2n) { padding: 22px 0; border-left: 0; }
}
@media (max-width: 767px) {
  .main-svc-card { grid-template-columns: 1fr; gap: 12px; }
  .main-svc-card h3 { font-size: 18px; }
}

/* 道場の帯 */
.dojo-band { background: var(--navy); color: #fff; padding: 56px 0; }
.dojo-band-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.dojo-band .no { display: block; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--accent); margin-bottom: 8px; }
.dojo-band h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.dojo-band p { color: rgba(255,255,255,.85); font-size: 15.5px; margin: 0 0 18px; }
.dojo-band-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.2); }
.dojo-band-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 15px; }
.dojo-band-list li b { font-family: 'Inter', 'Noto Sans JP', sans-serif; color: var(--accent); white-space: nowrap; }
.dojo-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 991px) { .dojo-band-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 767px) { .dojo-band { padding: 44px 0; } .dojo-band h2 { font-size: 22px; } .dojo-band p { font-size: 14.5px; } .dojo-band-actions .hv2-btn { flex: 1 1 100%; justify-content: center; } }

/* 目的から探す */
.purpose-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.purpose-item { display: block; padding: 20px 18px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; color: var(--text); text-decoration: none; transition: background .2s; }
.purpose-item:hover, .purpose-item:focus { background: var(--brand-soft); color: var(--text); text-decoration: none; }
.purpose-item .who { display: block; font-size: 12px; font-weight: 700; color: var(--brand); margin-bottom: 6px; letter-spacing: .04em; }
.purpose-item b { display: block; font-size: 15.5px; line-height: 1.5; color: var(--navy); margin-bottom: 8px; }
.purpose-item small { display: block; font-size: 13px; color: var(--text-light); line-height: 1.7; }
@media (max-width: 991px) { .purpose-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .purpose-grid { grid-template-columns: 1fr; } }

/* 導入事例（記録カード） */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--navy); color: var(--text); text-decoration: none; transition: border-color .2s; }
.case-card:hover, .case-card:focus { border-color: var(--brand); color: var(--text); text-decoration: none; }
.case-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.case-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.case-card .cat { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .05em; margin-bottom: 6px; }
.case-card h3 { font-size: 17px; font-weight: 800; line-height: 1.5; margin: 0 0 12px; color: var(--navy); }
.case-facts { margin: 0 0 14px; font-size: 13.5px; line-height: 1.7; }
.case-facts div { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px solid var(--border); }
.case-facts dt { font-weight: 700; color: var(--text-light); }
.case-facts dd { margin: 0; }
.case-card .go { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--brand); }
.case-card:hover .go { text-decoration: underline; }
.case-note { font-size: 13px; color: var(--text-light); margin: 16px 0 0; }
.case-more { margin-top: 26px; }
@media (max-width: 991px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .case-grid { grid-template-columns: 1fr; gap: 16px; } }

/* その他のサービス（小さく） */
.sub-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.sub-svc a { display: block; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.sub-svc a + a { padding-left: 20px; border-left: 1px solid var(--border); }
.sub-svc a:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.sub-svc a:hover b, .sub-svc a:focus b { color: var(--brand); text-decoration: underline; }
.sub-svc b { display: block; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.sub-svc small { display: block; font-size: 13px; color: var(--text-light); line-height: 1.7; }
@media (max-width: 767px) { .sub-svc { grid-template-columns: 1fr; } .sub-svc a, .sub-svc a + a { padding: 14px 0; border-left: 0; } }

/* 進め方 */
.flow-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); counter-reset: st; }
.flow-steps li { padding: 18px 18px 18px 0; border-right: 1px solid var(--border); counter-increment: st; }
.flow-steps li + li { padding-left: 18px; }
.flow-steps li:last-child { border-right: 0; }
.flow-steps li::before { content: "STEP " counter(st); display: block; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--brand); margin-bottom: 6px; }
.flow-steps b { display: block; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.flow-steps small { display: block; font-size: 13px; color: var(--text-light); line-height: 1.7; }
@media (max-width: 767px) { .flow-steps { grid-template-columns: 1fr; } .flow-steps li, .flow-steps li + li { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--border); } }

/* 相談の入口（トップ下部・#contactus） */
.contact-entry { background: var(--bg-light); padding: 64px 0; border-top: 1px solid var(--border); }
.contact-entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--navy); background: #fff; }
.contact-entry-grid > * { padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contact-entry-grid > *:last-child { border-right: 0; }
.contact-entry h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.contact-entry p { font-size: 14px; color: var(--text-light); margin: 0 0 14px; line-height: 1.75; }
.contact-entry .tel-big { font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 800; color: var(--navy); text-decoration: none; letter-spacing: .02em; }
.contact-entry .tel-big:hover { color: var(--brand); }
.btn-line { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; font-weight: 700; font-size: 15px; border: 2px solid var(--navy); color: var(--navy); text-decoration: none; }
.btn-line:hover, .btn-line:focus { background: var(--navy); color: #fff; text-decoration: none; }
.btn-solid { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; font-weight: 700; font-size: 15px; background: var(--accent); color: var(--ink); text-decoration: none; border: 0; }
.btn-solid:hover, .btn-solid:focus { background: #ffbb2e; color: var(--ink); text-decoration: none; }
@media (max-width: 991px) { .contact-entry-grid { grid-template-columns: 1fr; } .contact-entry-grid > * { border-right: 0; } }

/* =========================================================
   問い合わせページ（contact.html）
========================================================= */
.contact-page { padding: 48px 0 72px; }
.contact-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); background: #fff; }
.contact-steps li { padding: 14px 16px; border-right: 1px solid var(--border); font-size: 13.5px; line-height: 1.6; color: var(--text-light); }
.contact-steps li:last-child { border-right: 0; }
.contact-steps b { display: block; font-size: 14.5px; color: var(--navy); }
.contact-service-hint { display: none; margin: -4px 0 16px; padding: 12px 14px; background: var(--brand-soft); border: 1px solid #cfe0f3; font-size: 14px; line-height: 1.7; }
.contact-service-hint.is-on { display: block; }
.contact-side-tel { display: block; font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 800; color: var(--navy); text-decoration: none; }
@media (max-width: 767px) { .contact-steps { grid-template-columns: 1fr; } .contact-steps li { border-right: 0; border-bottom: 1px solid var(--border); } }
.case-grid.case-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .case-grid.case-grid--4 { grid-template-columns: 1fr; } }
/* 2026-11-13 スクショでの手直し */
section.trust-band { padding: 0; }
.hv2-title em { white-space: nowrap; }
.price-tag .pt { white-space: nowrap; }
.price-tag b { font-size: 16px; }
.case-card img { aspect-ratio: 2.4 / 1; }
@media (max-width: 767px) { .hv2-btn-tel { display: none; } }
.news-more-history { margin-top: 8px; }
.news-more-history > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; list-style: none; }
.news-more-history > summary::-webkit-details-marker { display: none; }
.news-more-history > summary::after { content: "＋"; }
.news-more-history[open] > summary::after { content: "－"; }
.news-more-history[open] > summary { margin-bottom: 18px; }
@media (max-width: 767px) { .main-svc-card img { aspect-ratio: 2.4 / 1; } }

/* ---------- コントラストの直し（2026-11-13・全ページを Playwright で測って 4.5:1 未満を直した） ---------- */
:root { --accent-dark: #9a5c00; }           /* 文字に使う濃いオレンジ（白地で 5:1 以上）。ボタンの地には使わない */
.slide-btn:hover, .btn-fly:hover, .cta-bar .btn-cta:hover, .btn-cta:hover,
.column-cta .btn-cta:hover, .btn-dojo-primary:hover { background: #ffbb2e; border-color: #ffbb2e; color: var(--ink); }
.badge-ai { color: var(--ink); }
.tokucho-num { color: #8a6a1f !important; }
.position-badge { background: #1e7e45 !important; }
.fc-ba b { background: #666 !important; }
.hire-teaser-eyebrow, .sns-band-eyebrow { color: #9a5c00; }
.flow-step-desc { color: #666 !important; }
.nav-tel-num, .nav-tel small { white-space: nowrap; }

/* ---------- 2026-11-14 用語の説明・技術欄の折りたたみ・補助金と SES のページ ---------- */
.fly-glossary, .fly-tech { border: 1px solid var(--border); background: #fff; margin: 0 0 28px; }
.ai-faq .fly-glossary { margin-bottom: 40px; }
.fly-glossary > summary, .fly-tech > summary { cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fly-glossary > summary::-webkit-details-marker, .fly-tech > summary::-webkit-details-marker { display: none; }
.fly-glossary > summary::after, .fly-tech > summary::after { content: "＋"; color: #9a5c00; }
.fly-glossary[open] > summary::after, .fly-tech[open] > summary::after { content: "－"; }
.fly-glossary[open] > summary, .fly-tech[open] > summary { border-bottom: 1px solid var(--border); }
.fly-glossary dl { margin: 0; padding: 6px 18px 14px; display: grid; grid-template-columns: minmax(150px, max-content) 1fr; column-gap: 20px; }
.fly-glossary dt { font-weight: 700; color: var(--navy); padding: 10px 0; border-bottom: 1px solid #eef1f6; }
.fly-glossary dd { margin: 0; padding: 10px 0; border-bottom: 1px solid #eef1f6; line-height: 1.75; color: var(--text); }
@media (max-width: 767px) { .fly-glossary dl { grid-template-columns: 1fr; } .fly-glossary dt { border-bottom: 0; padding-bottom: 0; } }
.fly-tech ul { margin: 0; padding: 12px 18px 12px 38px; }
.fly-tech li { margin: 6px 0; line-height: 1.75; }
.fly-checked { border: 1px solid var(--border); background: var(--bg-light); padding: 12px 16px; font-size: 14px; line-height: 1.75; color: #444; margin: 0 0 28px; }
.fly-steps-list li { margin: 8px 0; line-height: 1.8; }
.fly-source-list { font-size: 14px; }
.fly-source-list li { margin: 4px 0; }
.trust-item .v a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* 2列の表はスマホで縦に積む（横スクロールにしない。2026-11-14） */
@media (max-width: 600px) { .column-table { min-width: 0; } .column-table tbody th { white-space: normal; width: 34%; } .column-table th, .column-table td { padding: 10px 10px; font-size: 14px; } }
