/* ==========================================================
   患者搬送サービス サイト共通スタイル
   テーマカラー：青（信頼感・落ち着き）
   ========================================================== */

:root {
  --blue-900: #0d2b52;
  --blue-800: #123a6b;
  --blue-700: #17498a;
  --blue-600: #1c5aa6;
  --blue-500: #2670c9;
  --blue-100: #e8f1fb;
  --blue-50: #f4f8fd;
  --text-main: #1e2a38;
  --text-sub: #4a5a6b;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 30px rgba(13, 43, 82, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.8;
  font-size: 18px;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 900;
  color: var(--blue-900);
  margin: 0;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: var(--blue-500);
  border-radius: 4px;
}

.section-lead {
  text-align: center;
  font-size: 18px;
  color: var(--text-sub);
  max-width: 700px;
  margin: 0 auto 48px;
}

section { padding: 80px 0; }

/* ---------- 電話ボタン共通 ---------- */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--blue-600);
  color: var(--white);
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
}
.btn-call:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
}
.btn-call i {
  font-size: 22px;
}
.btn-call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.btn-call-text small {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}
.btn-call-text strong {
  font-size: 19px;
  font-weight: 700;
}

.btn-call-large {
  padding: 20px 40px;
}
.btn-call-large i { font-size: 30px; }
.btn-call-large .btn-call-text strong { font-size: 24px; }

.btn-call-final {
  background: var(--white);
  color: var(--blue-700);
}
.btn-call-final .btn-call-text strong { color: var(--blue-700); }
.btn-call-final:hover {
  background: var(--blue-50);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e3ecf7;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--blue-800);
  text-decoration: none;
  white-space: nowrap;
}
.logo i { font-size: 26px; color: var(--blue-600); }

.global-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.global-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
}
.global-nav a:hover { color: var(--blue-600); }

.header-call {
  flex-shrink: 0;
  padding: 10px 20px;
}
.header-call i { font-size: 18px; }
.header-call .btn-call-text small { font-size: 11px; }
.header-call .btn-call-text strong { font-size: 15px; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(9, 33, 66, 0.88) 20%, rgba(13, 43, 82, 0.55) 65%, rgba(13, 43, 82, 0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 80px 24px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 15px;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.5;
  margin-bottom: 24px;
}
.hero-lead {
  font-size: 19px;
  margin-bottom: 40px;
  color: #eaf2fc;
}
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 信頼性セクション ---------- */
.trust-section { background: var(--blue-50); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.trust-icon {
  font-size: 42px;
  color: var(--blue-600);
  margin-bottom: 20px;
}
.trust-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.trust-card p {
  font-size: 16px;
  color: var(--text-sub);
  margin: 0;
}

/* ---------- サービス内容 ---------- */
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.service-item.reverse .service-image { order: 2; }
.service-item.reverse .service-text { order: 1; }
.service-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.service-text h3 {
  font-size: 26px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-text h3 i { color: var(--blue-600); font-size: 28px; }
.service-text p {
  font-size: 18px;
  color: var(--text-sub);
}
.service-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- 流れセクション ---------- */
.flow-section { background: var(--blue-50); }
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 20px;
}
.flow-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 24px 32px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.flow-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-icon {
  font-size: 36px;
  color: var(--blue-600);
  margin: 16px 0 18px;
}
.flow-card h3 { font-size: 19px; margin-bottom: 10px; }
.flow-card p { font-size: 15px; color: var(--text-sub); margin: 0; }

/* ---------- 車両セクション ---------- */
.vehicle-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vehicle-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  height: 240px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 16px;
}
.vehicle-photo p {
  text-align: center;
  font-size: 16px;
  color: var(--text-sub);
  margin: 0;
}

/* ---------- お客様の声 ---------- */
.voice-section { background: var(--blue-50); }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.voice-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.voice-quote-icon {
  font-size: 26px;
  color: var(--blue-100);
  margin-bottom: 10px;
  display: block;
}
.voice-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e3ecf7;
}
.voice-name { font-weight: 700; margin: 0; font-size: 16px; }
.voice-role { margin: 0; font-size: 14px; color: var(--text-sub); }
.voice-text { font-size: 16px; color: var(--text-sub); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--blue-50);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  border: 1px solid #dce8f7;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue-800);
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 2px;
  color: var(--blue-500);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p {
  margin: 14px 0 0;
  color: var(--text-sub);
  font-size: 16px;
}

/* ---------- 最終CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: var(--white);
  text-align: center;
}
.final-cta h2 {
  color: var(--white);
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 20px;
}
.final-cta p {
  font-size: 17px;
  margin-bottom: 36px;
  color: #eaf2fc;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--blue-900);
  color: #cfe0f5;
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand p { margin: 0; font-size: 15px; }
.footer-info p {
  margin: 0 0 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-info a {
  color: #cfe0f5;
  text-decoration: underline;
}
.footer-info a:hover { color: var(--white); }
.footer-note { font-size: 14px; color: #a9c1de; line-height: 1.7; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: #8fa8c5;
}

/* ---------- モバイル固定発信ボタン ---------- */
.floating-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--blue-600);
  color: var(--white);
  text-decoration: none;
  text-align: center;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.floating-call i { font-size: 22px; }

/* ==========================================================
   レスポンシブ対応
   ========================================================== */
@media (max-width: 960px) {
  .global-nav { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .vehicle-gallery { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .service-item, .service-item.reverse {
    grid-template-columns: 1fr;
  }
  .service-item.reverse .service-image,
  .service-item.reverse .service-text { order: initial; }
  .footer-inner { grid-template-columns: 1fr; }
  .floating-call { display: flex; }
  body { padding-bottom: 64px; }
  .header-call { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { min-height: 560px; }
  .hero-content { padding: 60px 20px; }
  section { padding: 56px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .btn-call-large { padding: 16px 26px; }
  .btn-call-large .btn-call-text strong { font-size: 20px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .logo span { display: none; }
}
