/* --------- ベース設定 --------- */
:root {
  --color-primary: #1f73b7;
  --color-primary-dark: #185487;
  --color-on-primary: #ffffff;
  --color-bg: #f7f7f7;
  --color-text: #333;
  --color-muted: #777;
  --color-white: #fff;
  --max-width: 1080px;
  --btn-radius: 0;
}

/* カラーテーマ（bodyに .theme-xxx を付与） */
.theme-blue {
  --color-primary: #1f73b7;
  --color-primary-dark: #185487;
}

.theme-green {
  --color-primary: #15803d;
  --color-primary-dark: #166534;
}

.theme-warm {
  --color-primary: #ea580c;
  --color-primary-dark: #c2410c;
}

/* テーマ適用範囲（ボタン以外にも変化を出す） */
.theme-blue a:not(.btn-primary):not(.nav-cta),
.theme-green a:not(.btn-primary):not(.nav-cta),
.theme-warm a:not(.btn-primary):not(.nav-cta) {
  color: var(--color-primary);
}

.theme-blue a:not(.btn-primary):not(.nav-cta):hover,
.theme-green a:not(.btn-primary):not(.nav-cta):hover,
.theme-warm a:not(.btn-primary):not(.nav-cta):hover {
  color: var(--color-primary-dark);
}

/* メインCTA：塗りつぶし＋必ず白文字（テーマのリンク色より優先） */
.theme-blue a.btn-primary,
.theme-blue button.btn-primary,
.theme-blue a.nav-cta,
.theme-green a.btn-primary,
.theme-green button.btn-primary,
.theme-green a.nav-cta,
.theme-warm a.btn-primary,
.theme-warm button.btn-primary,
.theme-warm a.nav-cta {
  color: var(--color-on-primary) !important;
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.theme-blue a.btn-primary:hover,
.theme-blue button.btn-primary:hover,
.theme-blue a.nav-cta:hover,
.theme-green a.btn-primary:hover,
.theme-green button.btn-primary:hover,
.theme-green a.nav-cta:hover,
.theme-warm a.btn-primary:hover,
.theme-warm button.btn-primary:hover,
.theme-warm a.nav-cta:hover {
  color: var(--color-on-primary) !important;
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.theme-blue .hero,
.theme-green .hero,
.theme-warm .hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 12%, #ffffff), #ffffff);
}

.theme-blue .home-section > h2,
.theme-green .home-section > h2,
.theme-warm .home-section > h2 {
  color: var(--color-primary);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid color-mix(in srgb, var(--color-primary) 22%, #ffffff);
}

.theme-blue .card h3,
.theme-green .card h3,
.theme-warm .card h3 {
  color: var(--color-primary);
}

.theme-blue .company-table th,
.theme-green .company-table th,
.theme-warm .company-table th {
  background: color-mix(in srgb, var(--color-primary) 10%, #f5f7fa);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
}

/* --------- 共通レイアウト --------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* 見出し */
h1, h2, h3 {
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

/* ボタン風リンク（角なし・塗りつぶしは白文字固定） */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--btn-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-on-primary);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border: 2px solid #d1d5db;
  border-radius: var(--btn-radius);
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background: #f3f4f6;
  color: var(--color-text);
}

/* サブCTA：白地＋濃いめの文字（テーマのリンク色を避ける） */
.theme-blue a.btn-secondary,
.theme-green a.btn-secondary,
.theme-warm a.btn-secondary {
  color: #1f2937 !important;
  background: #ffffff;
  border-color: #d1d5db;
}

.theme-blue a.btn-secondary:hover,
.theme-green a.btn-secondary:hover,
.theme-warm a.btn-secondary:hover {
  color: #111827 !important;
  background: #f3f4f6;
}

/* --------- ヘッダー＆ナビ --------- */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid #e2e2e2;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 56px;
  padding-block: 0.35rem;
}

.site-logo a {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--color-primary);
}

/* ロゴ画像（従来 24px 固定だったものを、テキストロゴに近い視認性で表示） */
.site-logo a.site-logo-mark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-logo img {
  display: block;
  width: auto;
  height: auto;
  min-height: 28px;
  max-height: 44px;
  max-width: min(260px, 58vw);
  object-fit: contain;
}

.site-logo-fallback {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  line-height: 1.2;
}

/* ナビ（モバイルはドロワー） */
.site-nav {
  position: fixed;
  inset: 56px 0 auto 0;
  background: var(--color-white);
  padding: 0.5rem 1rem 1rem;
  transform: translateY(-100%);
  transition: transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li + li {
  margin-top: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.95rem;
}

.site-nav a.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ヘッダーナビ：無料相談（採用情報の右・ハンバーガー内にも表示） */
.site-nav a.nav-cta {
  display: inline-block;
  font-weight: 700;
  color: var(--color-on-primary) !important;
  background-color: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  border-radius: var(--btn-radius);
  text-align: center;
  text-decoration: none;
}

.site-nav a.nav-cta:hover {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  color: var(--color-on-primary) !important;
}

.site-nav li.nav-cta-item {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 2px solid #64748b;
}

/* ナビ開閉時 */
.site-header.is-open .site-nav {
  transform: translateY(0%);
}

/* ハンバーガーボタン */
.nav-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 開いているときのアニメーション */
.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------- レスポンシブ（スマホ/タブレット：ハンバーガー） --------- */
@media (max-width: 767.98px) {
  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 130;
  }

  .site-nav {
    position: fixed !important;
    inset: 56px 0 auto 0 !important;
    background: var(--color-white) !important;
    padding: 0.5rem 1rem 1rem !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    z-index: 101;
    display: none !important;
  }

  .site-header.is-open .site-nav {
    display: block !important;
  }

  .site-nav ul {
    display: block !important;
  }

  .site-nav li + li {
    margin-top: 0.25rem !important;
  }

  .site-nav a {
    display: block !important;
    padding: 0.55rem 0 !important;
    border-radius: 0 !important;
  }

  /* ハンバーガー内：無料相談だけ区切り線＋幅いっぱいのボタン */
  .site-nav li.nav-cta-item {
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 2px solid #64748b !important;
  }

  .site-nav li + li.nav-cta-item {
    margin-top: 1rem !important;
  }

  .site-nav a.nav-cta,
  .site-nav a.nav-cta.btn-primary {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0.75rem 1rem !important;
    border-radius: var(--btn-radius) !important;
    text-align: center;
    background-color: var(--color-primary) !important;
    color: var(--color-on-primary) !important;
    border: 2px solid var(--color-primary) !important;
  }

  /* モバイルでは固定CTAを非表示（下部バナーに一本化） */
  .floating-consult-btn {
    display: none !important;
  }
}

/* --------- ヒーロー（トップのみ） --------- */
.hero {
  background: linear-gradient(135deg, #e9f3fb, #fdfdfd);
  padding: 2.5rem 0 2.75rem;
}

.hero--compact {
  padding: 1.6rem 0 2rem;
}

.hero h1 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.hero p {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.hero-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  text-transform: uppercase;
}

/* トップ：ヘッダー直下の全幅ビジュアル＋左寄せコピー（背景写真は object-fit: cover） */
.hero.hero-home {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #0f172a;
  min-height: clamp(300px, 50vh, 520px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero.hero-home.hero--compact {
  min-height: clamp(260px, 40vh, 420px);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.hero-slider[data-empty="1"] {
  background: linear-gradient(125deg, #1e3a5f 0%, #0f172a 42%, #1e293b 100%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slide[hidden] {
  display: none !important;
}

.hero-visual-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.55) 45%,
    rgba(15, 23, 42, 0.18) 100%
  );
}

.hero-home-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem 0 2.5rem;
}

.hero-copy {
  max-width: 38rem;
}

.hero.hero-home .hero-kicker {
  color: #bae6fd;
}

.hero.hero-home .hero-copy h1 {
  color: #f8fafc;
  margin-bottom: 0.75rem;
}

.hero.hero-home .hero-copy > p {
  color: rgba(248, 250, 252, 0.92);
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.hero.hero-home .hero-copy > p:last-of-type {
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-message-card {
  background: var(--color-white);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-message-card h2 {
  font-size: 1rem;
}

.hero-message-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-message-card li + li {
  margin-top: 0.45rem;
}

.home-pains {
  padding-top: 0.25rem;
}

.home-thoughts-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  margin: 0;
}

.home-pains-actions {
  margin: 1rem 0 0;
}

.hero-subcatch {
  margin-bottom: 0;
}

/* --------- メイン --------- */
.site-main {
  padding: 1.75rem 0 2.5rem;
  min-height: 60vh;
}

.home-section + .home-section {
  margin-top: 2rem;
}

/* カードレイアウト（事業内容など） */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

.card {
  background: var(--color-white);
  border-radius: 0.6rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* 採用：選考フロー（1カラム・PCでは横並びステップ） */
.recruit-flow-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.recruit-flow-list li {
  background: var(--color-white);
  border-radius: 0.6rem;
  padding: 0.85rem 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}

/* 単一カードを全幅表示（3列グリッドの影響を受けない） */
.cards.cards--full {
  grid-template-columns: 1fr;
}

/* サービス「選ばれる理由」：長文ヒアリング向け */
.reason-card .reason-body {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  color: var(--color-text, #1f2937);
}

.voice-name {
  margin-top: 0.5rem;
  font-weight: 600;
  color: #4b5563;
}

/* お知らせリスト */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.news-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e6e6e6;
  font-size: 0.9rem;
}

.news-list time {
  display: inline-block;
  width: 6.5rem;
  color: var(--color-muted);
  font-size: 0.85rem;
}

/* 会社概要テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 0.6rem;
  overflow: hidden;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.company-table th,
.company-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid #f0f0f0;
}

.company-table th {
  width: 30%;
  background: #f5f7fa;
  text-align: left;
  white-space: nowrap;
}

.company-table .business-list {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.company-table .business-list li + li {
  margin-top: 0.35rem;
}

/* 代表挨拶：写真（任意） */
.greeting-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.greeting-photo {
  margin: 0;
}

.greeting-photo img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.greeting-body p {
  margin: 0;
}

@media (min-width: 768px) {
  .greeting-layout {
    grid-template-columns: min(220px, 32%) 1fr;
    gap: 1.75rem;
  }
}

.cta-panel {
  background: #eef6ff;
  border: 1px solid #dbeafe;
  border-radius: 0.75rem;
  padding: 1.2rem;
}

.cta-subtext {
  margin-top: -0.25rem;
  color: #4b5563;
  font-size: 0.9rem;
}

.cta-aux-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.phone-link {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text);
}

.phone-link:hover {
  text-decoration: underline;
}

.phone-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.privacy-consent {
  margin-top: 0.85rem;
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
  color: #374151;
}

.privacy-consent label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.5;
}

.privacy-consent input[type="checkbox"] {
  margin-top: 0.2rem;
}

.privacy-consent a {
  text-decoration: underline;
}

.map-embed iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 0.6rem;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: 0.6rem;
  overflow: hidden;
  background: #111827;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.floating-consult-btn {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 120;
  background: #ef4444;
  color: #fff !important;
  text-decoration: none;
  padding: 0.6rem 0.9rem;
  border-radius: var(--btn-radius);
  border: 2px solid #ef4444;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.floating-consult-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff !important;
}

/* TOPは既にCTAを複数配置しているため、追加の固定ボタンは出さない */
.page-home .floating-consult-btn {
  display: none !important;
}

/* 採用ページは採用フォームに導線を寄せ、お問い合わせ用の固定ボタンは出さない */
.page-recruit .floating-consult-btn {
  display: none !important;
}

.floating-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  width: calc(100% - 1.5rem);
  max-width: 560px;
  z-index: 110;
  text-align: center;
  background: #0f766e;
  color: #fff !important;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: var(--btn-radius);
  border: 2px solid #0f766e;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 旧テンプレ互換: 緑フロートバナーは常時無効化 */
.floating-banner {
  display: none !important;
}

.floating-banner:hover {
  background: #0d635d;
  border-color: #0d635d;
  color: #fff !important;
}

/* --------- フッター --------- */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 1.25rem 0;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-link {
  color: #e5e7eb;
  text-decoration: none;
}

 .footer-link:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid #374151;
  border-radius: 999px;
  color: #e5e7eb;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}

.footer-social-link:hover {
  background: #1f2937;
  border-color: #4b5563;
  text-decoration: none;
}

/* --------- レスポンシブ（タブレット以上：PCレイアウト） --------- */
@media (min-width: 768px) {
  .header-inner {
    min-height: 72px;
    padding-block: 0.5rem;
    gap: clamp(0.75rem, 1.6vw, 1.5rem);
    justify-content: flex-start;
  }

  .site-logo {
    flex: 0 0 auto;
    margin-right: clamp(0.3rem, 1.2vw, 1rem);
  }

  .site-logo img {
    max-height: 52px;
    max-width: min(320px, 42vw);
  }

  /* ナビを横並び・常時表示、ハンバーガー非表示 */
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    background: transparent;
    padding: 0;
    transform: none;
    box-shadow: none;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-nav ul {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .site-nav li + li {
    margin-top: 0;
  }

  .site-nav a {
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
  }

  .site-nav a.is-active {
    background: color-mix(in srgb, var(--color-primary) 14%, #ffffff);
    color: var(--color-primary);
  }

  .site-nav li.nav-cta-item {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    flex-shrink: 0;
  }

  .site-nav a.nav-cta,
  .site-nav a.nav-cta.btn-primary {
    display: inline-block !important;
    width: auto !important;
    padding: 0.35rem 0.85rem !important;
  }

  .hero {
    padding: 3.5rem 0 3.75rem;
  }

  .hero.hero-home {
    padding: 0;
    min-height: clamp(360px, 48vh, 580px);
    justify-content: center;
  }

  .hero-home-inner {
    padding: 2.75rem 0 3.25rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 1rem;
    max-width: 32rem;
  }

  .hero.hero-home .hero-copy > p {
    font-size: 1rem;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards.cards--full {
    grid-template-columns: 1fr;
  }

  .recruit-flow-list {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .recruit-flow-list li {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    border-right: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.65rem;
  }

  .recruit-flow-list li:first-child {
    border-radius: 0.6rem 0 0 0.6rem;
  }

  .recruit-flow-list li:last-child {
    border-radius: 0 0.6rem 0.6rem 0;
    border-right: 1px solid #e5e7eb;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-banner {
    bottom: 16px;
    width: auto;
    padding: 0.8rem 1.4rem;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1rem;
  }

  .footer-social {
    margin-left: auto;
  }
}

/* --------- レスポンシブ（PC大きめ） --------- */
@media (min-width: 1024px) {
  .hero {
    padding: 4rem 0 4.5rem;
  }

  .hero.hero-home {
    padding: 0;
    min-height: clamp(400px, 52vh, 640px);
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .floating-consult-btn {
    display: inline-block;
    right: 28px;
    bottom: 88px;
    font-size: 0.86rem;
  }
}