/* ============================================================
   ヨツバ介護タクシー — メインスタイルシート
   配色：パレットE（ケアシアン／ティール）
   メインカラー #068CA1 は車体ドアの屋号の実測色
   ブレークポイント：〜640 / 641〜1024 / 1025〜（3段階・厳守）
   ============================================================ */

/* ----- CSS変数 ----- */
:root {
  /* ティール系（メインカラー） */
  --color-primary:       #068CA1;
  --color-primary-light: #35B4C6;
  --color-primary-dark:  #056474;

  /* 温かみオレンジ系（アクセントカラー） */
  --color-accent:        #E8752A;
  --color-accent-light:  #F5A46B;
  --color-accent-dark:   #C45A16;

  /* ネイビー系（サブカラー） */
  --color-sub:           #24527C;
  --color-sub-light:     #5E8CB5;

  /* 淡色チップ・濃色背景上テキスト */
  --color-primary-pale:  #DFF2F5;
  --color-accent-pale:   #FCECE1;
  --color-sub-pale:      #E0E9F2;
  --color-on-dark:       #FFC93C;

  /* ニュートラル */
  --color-text:          #333333;
  --color-text-secondary:#666666;
  --color-text-muted:    #999999;
  --color-bg:            #FFFFFF;
  --color-bg-light:      #F1FAFB;
  --color-bg-warm:       #FDF6EE;
  --color-border:        #D8EAEC;
  --color-border-strong: #A8D2D9;

  /* フォームカラー */
  --color-error:         #D9363E;
  --color-success:       #2E8B57;
  --color-warning:       #E8A020;

  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", 'Noto Sans JP', sans-serif;
  --font-phone: 'Oswald', 'Noto Sans JP', sans-serif;

  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-lg:   18px;
  --text-xl:   22px;
  --text-2xl:  28px;
  --text-3xl:  36px;
  --text-phone: 38px;

  --leading-tight:  1.4;
  --leading-normal: 1.75;

  --radius: 6px;
  --shadow: 0 2px 12px rgba(5,100,116,0.10);
}

/* ----- Material Symbols ----- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
  user-select: none;
}
.btn .material-symbols-outlined { font-size: 22px; }
.cta-bar-btn .material-symbols-outlined { font-size: 22px; }
.header-phone .material-symbols-outlined { font-size: 18px; }
/* 単体表示アイコン。Google Fonts の CDN が .material-symbols-outlined に
   font-size:24px を直指定するため、親の font-size では効かない。複合セレクタで上書きする */
.material-symbols-outlined.icon-xl { font-size: 48px; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48; }

/* ----- リセット・ベース ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: var(--text-base); scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: var(--leading-normal);
  letter-spacing: -0.01em;
  background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
/* パレットE：リンクは primary-dark（白背景6.81:1）。primary-light は2.47:1で文字に使えない */
a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ----- レイアウト ----- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 800px; }
/* 他ページからのアンカー着地点。ヘッダーが sticky のため、その分下げる */
.anchor-target { scroll-margin-top: 96px; }
.faq-answer a { text-decoration: underline; }

.section { padding: 64px 0; }
.section-alt { background: var(--color-bg-light); }
.section-warm { background: var(--color-bg-warm); }

.section-title {
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: var(--leading-tight);
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  font-size: var(--text-base);
}
.section-divider { text-align: center; margin-bottom: 40px; }
.section-divider::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-accent);
  margin: 12px auto 0;
}
.subsection-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px;
}
.subsection-title + .js-scrollable { margin-bottom: 0; }
.lead { font-size: var(--text-lg); color: var(--color-text-secondary); line-height: var(--leading-normal); }

/* ----- ヘッダー ----- */
/* パレットE：primary（#068CA1）を背景にすると白文字3.98:1で本文サイズが基準割れ。
   ヘッダー／フッターは必ず primary-dark（6.81:1）を使う */
.site-header {
  background: var(--color-primary-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(5,100,116,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 16px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; }
/* ロゴタイプ（ティール1色の透過PNG）。濃色のヘッダー／フッターでは白へ反転して使う */
/* ロゴマーク（先方支給のクローバー。色はそのまま使う） */
.site-logo-mark {
  height: 34px;
  width: auto;
}
.site-logo-img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

.header-phone {
  display: none; /* スマホでは非表示（ヒーローに大きな電話番号があるため） */
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  line-height: 1.3;
}
.header-phone:hover { text-decoration: none; }
.header-phone-label { font-size: var(--text-xs); opacity: 0.85; }
.header-phone-num { font-family: var(--font-phone); font-size: 24px; letter-spacing: 0.02em; color: var(--color-on-dark); }
.header-phone-hour { font-size: var(--text-xs); opacity: 0.85; }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: block;
  padding: 6px 12px;
  color: rgba(255,255,255,0.92);
  font-size: var(--text-sm);
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.15s;
}
.site-nav a:hover, .site-nav a.active { background: rgba(255,255,255,0.18); text-decoration: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;   /* ヘッダー直下にオーバーレイ（レイアウトシフト防止） */
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-primary-dark);
  padding: 8px 0 16px;
  box-shadow: 0 8px 16px rgba(5,100,116,0.3);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  color: #fff;
  font-size: var(--text-base);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
}
.nav-backdrop.open { display: block; }

/* ----- ボタン ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: var(--text-lg);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
  min-width: 200px;
  cursor: pointer;
  border: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }

/* CTAは白文字3.0:1（AA大テキスト）。文字は18px以上・太字を厳守する */
.btn-tel {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232,117,42,0.4), 4px 4px 3px rgba(0,0,0,0.3);
}
.btn-tel:hover { background-color: var(--color-accent-dark); color: #fff; }

.btn-outline {
  background-color: #fff;
  color: var(--color-primary-dark);
  border: 3px solid var(--color-border-strong);
  box-shadow: 4px 4px 3px rgba(0,0,0,0.15);
}
.btn-outline:hover { background-color: var(--color-bg-light); color: var(--color-primary-dark); }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ----- ヒーロー ----- */
.hero {
  position: relative;
  color: #fff;
  padding: 300px 0 56px;
  text-align: center;
  overflow: hidden;
  background: var(--color-primary-dark);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 500px;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 62%, var(--color-primary-dark) 100%),
    linear-gradient(to bottom, rgba(40,40,40,0) 28%, rgba(40,40,40,0.55) 100%),
    url('../img/hero.webp') center 40% / cover no-repeat;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: var(--color-accent-dark);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.hero-title {
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
.hero-title em { color: var(--color-on-dark); font-style: normal; }
.hero-sub { font-size: var(--text-lg); margin-bottom: 32px; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.hero-phone {
  font-family: var(--font-phone);
  font-size: var(--text-phone);
  color: var(--color-on-dark);
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
}
.hero-phone:hover { color: #fff; text-decoration: none; }
.hero-phone-label { font-size: var(--text-base); opacity: 0.92; display: block; margin-bottom: 24px; }
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 28px;
  font-size: var(--text-base);
  font-weight: 700;
}
.hero-checks li::before { content: '✓ '; color: var(--color-on-dark); font-weight: 700; }

/* ----- 特徴カード ----- */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.feature-card {
  background: var(--color-bg);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { margin-bottom: 12px; }
.feature-icon .material-symbols-outlined { font-size: 38px; color: var(--color-primary); }
.feature-title { font-size: var(--text-xl); font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }
.feature-text { font-size: var(--text-base); color: var(--color-text-secondary); line-height: 1.65; }

/* ----- ステップ ----- */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; position: relative; }
.step { text-align: center; padding: 24px 16px; position: relative; }
.step::after {
  content: '›';
  display: none;
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--color-border-strong);
}
.step:last-child::after { display: none; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: 12px;
}
.step-title { font-weight: 700; color: var(--color-text); margin-bottom: 6px; }
.step-text { font-size: var(--text-base); color: var(--color-text-secondary); }

/* ----- シーンカード ----- */
.scene-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.scene-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.scene-card .material-symbols-outlined { font-size: 40px; color: var(--color-primary); margin-bottom: 8px; }
.scene-title { font-weight: 700; font-size: var(--text-lg); color: var(--color-text); margin-bottom: 6px; }
.scene-text { font-size: var(--text-base); color: var(--color-text-secondary); line-height: 1.6; }

/* ----- CTAバナー ----- */
/* 手前にキーカラー（ティール）の半透明フィルター、奥に写真
   primary-dark #056474 = rgb(5,100,116) / primary #068CA1 = rgb(6,140,161) */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(5,100,116,0.86), rgba(6,140,161,0.78)),
    url('../img/cta.webp') center/cover no-repeat;
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.cta-title { font-size: var(--text-2xl); font-weight: 700; margin-bottom: 8px; line-height: var(--leading-tight); }
.cta-sub { opacity: 0.92; margin-bottom: 28px; }
.cta-phone {
  font-family: var(--font-phone);
  font-size: var(--text-phone);
  color: var(--color-on-dark);
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
}
.cta-phone:hover { color: #fff; text-decoration: none; }
.cta-hour { font-size: var(--text-base); opacity: 0.9; margin-bottom: 24px; }

/* ----- 料金テーブル ----- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th, .price-table td { padding: 14px 20px; border-bottom: 1px solid var(--color-border); text-align: left; }
.price-table th { background: var(--color-primary-dark); color: #fff; font-weight: 700; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tbody tr:nth-child(even) td { background: var(--color-bg-light); }
.price-table .price-amount { font-weight: 700; color: var(--color-accent-dark); font-size: var(--text-lg); }

/* 狭い画面では横スクロール。項目名・金額の途中改行を防ぐ */
.price-table { min-width: 500px; table-layout: fixed; }
.price-table th, .price-table td { white-space: nowrap; vertical-align: middle; }
.price-table th:nth-child(1), .price-table td:nth-child(1) { width: 34%; white-space: normal; }
.price-table th:nth-child(2), .price-table td:nth-child(2) { width: 24%; }
.price-table th:last-child, .price-table td:last-child { width: 42%; white-space: normal; }

/* 横スクロールのラッパー（scroll-hint）。ヒントアイコン（高さ約90px）が
   行の少ない表からはみ出して縦スクロールが出るため、縦方向は切り、アイコンは表の中央に置く。
   scroll-hint の JS が要素に style="overflow:auto" を書き込むので !important で上書きする */
.js-scrollable { overflow-y: hidden !important; }
.js-scrollable .scroll-hint-icon { top: calc(50% - 45px); }

/* ----- 料金構造の図解 ----- */
.price-structure { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.price-structure-item {
  width: 100%;
  max-width: 320px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.price-structure-icon { font-size: 40px; color: var(--color-primary); margin-bottom: 8px; }
.price-structure-label { font-weight: 700; font-size: var(--text-lg); color: var(--color-text); margin-bottom: 4px; }
.price-structure-desc { font-size: var(--text-sm); color: var(--color-text-secondary); }
.price-structure-op {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  transform: rotate(90deg);
}
.price-structure-item.price-structure-total { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.price-structure-item.price-structure-total .price-structure-icon,
.price-structure-item.price-structure-total .price-structure-label,
.price-structure-item.price-structure-total .price-structure-desc { color: #fff; }

/* ----- FAQ アコーディオン ----- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: var(--text-base);
  font-family: var(--font-sans);
  color: var(--color-text);
  font-weight: 700;
  line-height: var(--leading-normal);
}
.faq-question:hover { color: var(--color-primary-dark); }
.faq-q-label {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  margin-top: 2px;
}
.faq-q-text { flex: 1; }
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--color-text-muted);
  transition: transform 0.25s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 0 20px 40px; color: var(--color-text-secondary); line-height: var(--leading-normal); }
.faq-answer.open { display: block; }
.faq-a-label { display: inline-block; font-weight: 700; color: var(--color-primary-dark); margin-bottom: 4px; }
.faq-answer p + p { margin-top: 12px; }
.faq-category-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin: 40px 0 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border-strong);
}
.faq-category-title:first-of-type { margin-top: 0; }

/* ----- パンくず ----- */
.breadcrumb { padding: 12px 0; font-size: var(--text-sm); color: #fff; }
.breadcrumb a { color: #fff; text-decoration: underline; }
.breadcrumb span + span::before { content: ' › '; }

/* ----- ページヘッダー ----- */
.page-hero {
  position: relative;
  color: #fff;
  padding: 40px 0 36px;
  overflow: hidden;
  background: url('../img/hero.webp') center 40% / cover no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 72%, rgba(6,140,161,0.85) 100%);
  opacity: 0.88;
}
.page-hero .container { position: relative; }
.page-hero-title {
  font-size: clamp(28px, 7.4vw, var(--text-3xl));
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.page-hero-sub { opacity: 0.94; font-size: var(--text-base); }

/* ----- プロフィール ----- */
.profile-block { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.profile-photo { flex-shrink: 0; width: 180px; }
.profile-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 35%;   /* 縦位置の写真で顔が円の中央付近に来る位置 */
  border-radius: 50%;
  border: 4px solid var(--color-bg-light);
  box-shadow: 0 8px 20px rgba(5,100,116,0.2);
}
.profile-photo--empty {
  width: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--color-bg-light);
  border: 1px dashed var(--color-border-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-text-muted);
}
.profile-photo--empty .material-symbols-outlined { font-size: 48px; }
.profile-body p { margin-bottom: 14px; line-height: var(--leading-normal); }
.profile-body p:last-child { margin-bottom: 0; }
.profile-name { font-weight: 700; font-size: var(--text-lg); color: var(--color-primary); margin-bottom: 12px; }
.profile-name small { display: block; font-size: var(--text-sm); font-weight: 400; color: var(--color-text-muted); }

.about-photos { display: grid; grid-template-columns: 1fr; gap: 16px; }
.about-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); display: block; }
.about-photos figcaption { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 6px; text-align: center; }

/* ----- バッジ ----- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}
.badge-area { background: var(--color-primary-pale); }
.badge-note { background: var(--color-accent-pale); }
.badge-cert { background: var(--color-sub-pale); }
.badge .material-symbols-outlined { font-size: 18px; color: var(--color-sub); }
.badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* ----- 対応エリア ----- */
.area-lead {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--color-text);
  padding-bottom: 12px;
  border-bottom: 2px dotted var(--color-border-strong);
  margin-bottom: 20px;
}
.area-lead em { font-style: normal; color: var(--color-primary-dark); }
.area-cases { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 14px 0 18px; }
.area-case {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: var(--text-base);
}
.area-case .material-symbols-outlined { font-size: 24px; color: var(--color-accent); flex-shrink: 0; }
.area-case b { color: var(--color-primary-dark); }

/* ----- 概要テーブル ----- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  vertical-align: top;
  font-size: var(--text-base);
  text-align: left;
}
.info-table th { background: var(--color-bg-light); font-weight: 700; width: 34%; }

/* ----- カード ----- */
.card { background: #fff; border-radius: 10px; padding: 28px; box-shadow: var(--shadow); }
.card--accent { border: 1px solid var(--color-accent); box-shadow: none; }
.card-title { font-size: var(--text-xl); font-weight: 700; color: var(--color-primary); margin-bottom: 12px; }
.card-title .material-symbols-outlined { font-size: 26px; vertical-align: middle; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card-center { text-align: center; }
/* 見出し用の大アイコンのみ（直下の子）。子孫にするとカード内ボタンのアイコンまで着色される */
.card-center > .material-symbols-outlined { color: var(--color-primary); margin-bottom: 8px; }
.card-center h3 { font-size: var(--text-xl); font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }
.card-center p { font-size: var(--text-base); color: var(--color-text-secondary); }

/* ----- 機材・車両カード ----- */
.equipment-photo {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.equipment-photo img { width: 100%; height: 100%; object-fit: contain; }
.equipment-photo--empty {
  border: 1px dashed var(--color-border-strong);
  flex-direction: column;
  gap: 6px;
  color: var(--color-text-muted);
}
.equipment-photo--empty .material-symbols-outlined { font-size: 48px; }
.equipment-photo-label { font-size: var(--text-xs); }
.vehicle-photo { width: 100%; height: auto; border-radius: 8px; display: block; margin-bottom: 14px; }
.equipment-name { font-size: var(--text-xl); font-weight: 700; color: var(--color-primary); margin-bottom: 6px; }
.equipment-desc { font-size: var(--text-base); color: var(--color-text-secondary); }

/* ----- 仕様リスト ----- */
.spec-list { margin-top: 8px; }
.spec-list li { position: relative; padding: 5px 0 5px 28px; font-size: var(--text-base); color: var(--color-text-secondary); }
.spec-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sub);
}

/* ----- フッター ----- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.88); padding: 40px 0 20px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 32px; }
.footer-info { flex: 1; min-width: 220px; }
.footer-name { font-size: var(--text-lg); font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-info p { font-size: var(--text-sm); margin-bottom: 4px; }
.footer-info a { color: rgba(255,255,255,0.88); }
.footer-nav { flex: 1; min-width: 200px; }
.footer-nav-title { font-size: var(--text-sm); font-weight: 700; color: rgba(255,255,255,0.68); margin-bottom: 10px; letter-spacing: 0.08em; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px 0; flex-direction: column; }
.footer-nav a { font-size: var(--text-sm); color: rgba(255,255,255,0.82); padding: 3px 0; display: block; }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.62);
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 10px;
}
.footer-copy a { color: rgba(255,255,255,0.8); text-decoration: underline; }
.footer-copy a:hover { color: #fff; }
.footer-copy-sep { color: rgba(255,255,255,0.3); }
.footer-credit { white-space: nowrap; }

/* ----- プライバシーポリシー ----- */
.policy-intro { margin-bottom: 28px; line-height: var(--leading-normal); }
.policy-article { margin-bottom: 28px; }
.policy-article:last-child { margin-bottom: 0; }
.policy-article h2 {
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border-strong);
  line-height: var(--leading-tight);
}
.policy-article h3 { font-size: var(--text-base); color: var(--color-text); margin: 16px 0 6px; }
.policy-article p { line-height: var(--leading-normal); margin-bottom: 10px; }
.policy-article p:last-child { margin-bottom: 0; }
.policy-list { margin: 8px 0 0; }
.policy-list li { position: relative; padding: 4px 0 4px 1.2em; line-height: var(--leading-normal); }
.policy-list li::before { content: '・'; position: absolute; left: 0; color: var(--color-primary); }
.policy-date { margin-top: 32px; text-align: right; color: var(--color-text-muted); font-size: var(--text-sm); }
/* 長いURLで横スクロールが出ると sticky ヘッダーがずれて見えるため折り返す */
.policy-article a { overflow-wrap: anywhere; }

/* ----- 注意書き ----- */
.note { font-size: var(--text-base); color: var(--color-text-muted); padding-left: 1em; text-indent: -1em; }
.note::before { content: '※ '; }
.note-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
}
.note-box-title { font-size: var(--text-base); font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.note-box .note { padding-left: 0; text-indent: 0; }
.note-box .note::before { content: ''; }
.note-box li { font-size: var(--text-base); color: var(--color-text-secondary); padding: 3px 0 3px 1.2em; position: relative; }
.note-box li::before { content: '・'; position: absolute; left: 0; }
.note-box--plain { background: var(--color-bg); }

/* ----- モバイル・タブレット固定CTAバー ----- */
.mobile-cta-bar {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 10px 16px max(16px, env(safe-area-inset-bottom));
  box-shadow: 0 -3px 16px rgba(5,100,116,0.16);
  z-index: 200;
  text-align: center;
}
.cta-bar-label { font-size: 12px; color: var(--color-text-muted); margin-bottom: 6px; letter-spacing: 0.02em; }
.cta-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(232,117,42,0.35), 4px 4px 3px rgba(0,0,0,0.3);
  transition: background-color 0.2s;
}
.cta-bar-btn:hover { background: var(--color-accent-dark); color: #fff; text-decoration: none; }

/* 固定バー分のコンテンツ余白（〜1024px）。--cta-bar-h は js/main.js が実測してセットする */
@media (max-width: 1024px) {
  body { padding-bottom: var(--cta-bar-h, calc(140px + env(safe-area-inset-bottom))); }
  body.no-cta-bar { padding-bottom: 0; }
}

/* スマホ（〜640px）は電話番号を少し小さく */
@media (max-width: 640px) {
  .phone-number, .hero-phone, .cta-phone { font-size: 32px; }
}

/* ============================================================
   タブレット（641px〜）
   ============================================================ */
@media (min-width: 641px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .site-logo-img, .site-logo-mark { height: 42px; }
  .header-phone { display: flex; }

  .card-grid, .scene-grid { grid-template-columns: repeat(2, 1fr); }
  /* 特徴カード：枚数が列数で割り切れないとき、最後の段を中央寄せにするため flex で並べる */
  .features-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .features-grid > .feature-card { flex: 0 0 calc((100% - 24px) / 2); }
  .steps { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .step::after { display: block; }
  .step:last-child::after { display: none; }
  .about-photos { grid-template-columns: 1fr 1fr; }
  .area-cases { grid-template-columns: 1fr 1fr; }
  .area-lead { font-size: var(--text-2xl); }
  .price-structure { flex-direction: row; justify-content: center; align-items: stretch; gap: 20px; }
  .price-structure-item { display: flex; flex-direction: column; justify-content: center; }
  .price-structure-op { transform: none; }
  .cta-bar-btn { max-width: 480px; margin: 0 auto; }
  .info-table th { width: 240px; }
  .profile-block { flex-direction: row; align-items: flex-start; gap: 40px; }
  .profile-photo, .profile-photo--empty { width: 220px; }

  /* ヒーロー：写真を全面表示し、左側に白グラデーション。テキストは濃色へ */
  .hero {
    padding: 88px 0 80px;
    text-align: left;
    background: url('../img/hero.webp') center 40% / cover no-repeat;
  }
  .hero::before {
    height: auto;
    inset: 0;
    /* 2026-09-15 一段薄く（0.94/0.82 → 0.86/0.70）。可読性は下の文字色の底上げで補う */
    background: linear-gradient(90deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.70) 46%, rgba(255,255,255,0) 72%);
  }
  .hero-inner {
    display: grid;
    grid-template-columns: 1.9fr 1fr;   /* タブレット帯はテキスト列を広く取る */
    gap: 40px;
    align-items: center;
    color: var(--color-text);
  }
  .hero-title { text-shadow: none; }
  .hero-title em { color: var(--color-primary-dark); }
  .hero-sub { color: var(--color-text); text-shadow: none; }
  /* 電話番号は写真の暗部（車のグリル）に掛かるため、本文サイズ用の濃いオレンジ＋白のにじみで読ませる */
  .hero-phone { color: var(--color-accent-dark); text-shadow: 0 0 14px #fff, 0 0 6px #fff, 0 0 2px #fff; }
  .hero-phone:hover { color: var(--color-primary-dark); }
  .hero-phone-label { color: var(--color-text); opacity: 1; }
  .hero-checks { justify-content: flex-start; color: var(--color-text); }
  .hero-checks li::before { color: var(--color-sub); }
  .hero .btn-group { justify-content: flex-start; }
}

/* ============================================================
   PC（1025px〜）
   ============================================================ */
@media (min-width: 1025px) {
  .container { padding: 0 32px; }
  .section { padding: 80px 0; }
  .site-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-cta-bar { display: none; }

  .scene-grid, .card-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid > .feature-card { flex-basis: calc((100% - 48px) / 3); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .hero-inner { grid-template-columns: 1.3fr 1fr; }
  .hero::before {
    background: linear-gradient(90deg,
      rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.78) 38%, rgba(255,255,255,0.48) 54%, rgba(255,255,255,0) 72%);  /* 2026-09-15 一段薄く（0.96/0.9/0.6 → 0.88/0.78/0.48） */
  }
}
