* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }
body { background-color: #f5f9ff; color: #1c2a4d; line-height: 1.6; }

/* --- ヘッダー --- */
header {
  background-color: #3d8bfd;
  color: #fff;
  padding: 20px;
  text-align: center;
}
header h1 { font-size: 1.5rem; }
header p { margin-top: 5px; font-size: 0.9rem; }
.header-nav {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.header-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.3s;
}
.header-nav a:hover { background-color: rgba(255,255,255,0.2); }


/* --- コンテンツ共通 --- */
main { padding: 20px; max-width: 900px; margin: 0 auto; background-color: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
h2, h3 { margin-bottom: 15px; text-align: center; }
ul, ol { padding-left: 20px; margin-bottom: 15px; }
ul li::before { content: "✔"; color: #3d8bfd; margin-right: 5px; }

/* --- ファーストビュー --- */
.hero { position: relative; height: 300px; text-align: center; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; }
.hero-text h2 { font-size: 1.4rem; margin-bottom: 10px; text-shadow: 1px 1px 4px rgba(0,0,0,0.7); }
.hero-text p { margin-bottom: 15px; font-size: 1rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.7); }
.hero-text a { display: inline-block; background-color: #ff6b6b; color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; margin: 5px; }

/* --- サービス特徴 --- */
.features { padding: 20px; background-color: #fff; }
.features h3 { font-size: 1.2rem; margin-bottom: 15px; text-align: center; }
.features ul { list-style: none; }
.features li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.features li::before { content: "✔"; position: absolute; left: 0; color: #3d8bfd; }

/* --- 流れ --- */
.flow { padding: 20px; background-color: #f0f7ff; }
.flow h3 { text-align: center; margin-bottom: 15px; }
.flow ol { padding-left: 20px; }
.flow li { margin-bottom: 10px; }

/* --- 料金 --- */
.price { padding: 20px; background-color: #fff; }
.price h3 { text-align: center; margin-bottom: 15px; }

/* --- トップページテーブル --- */
.top-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.top-table th, .top-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #ccc;
  font-size: 0.95rem;
}

.top-table th {
  background-color: #3d8bfd;
  color: #fff;
  font-weight: bold;
}

.top-table tr:nth-child(even) { background-color: #f0f7ff; }

/* --- スマホ対応 --- */
@media (max-width: 767px) {
  .top-table, .top-table thead, .top-table tbody, .top-table th, .top-table td, .top-table tr {
    display: block;
    width: 100%;
  }

  .top-table tr {
    margin-bottom: 15px;
    border-bottom: 2px solid #ccc;
  }

  .top-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .top-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    top: 12px;
    font-weight: bold;
    text-align: left;
  }

  .top-table th { display: none; }
}
/* --- お客様の声 --- */
.reviews { padding: 20px; background-color: #f0f7ff; }
.reviews h3 { text-align: center; margin-bottom: 15px; }
.reviews p { margin-bottom: 10px; background-color: #fff; padding: 10px; border-radius: 5px; }

/* --- 対応エリア --- */
.area { padding: 20px; background-color: #fff; }
.area h3 { text-align: center; margin-bottom: 10px; }
.area p { text-align: center; margin-bottom: 10px; }

/* --- ドライバー紹介 --- */
.top-drivers { padding: 20px; background-color: #f0f7ff; }
.top-drivers h3 { text-align: center; margin-bottom: 15px; }
.top-driver-list { display: flex; flex-direction: column; gap: 15px; align-items: center; }
.top-driver { text-align: center; }
.top-driver img { border-radius: 50%; margin-bottom: 5px; }
@media (min-width: 768px) {
  .top-driver-list {
    flex-direction: row; /* PC表示は横並び */
    justify-content: center; /* 中央揃え */
    flex-wrap: wrap; /* 幅が狭ければ折り返し */
  }
  .top-driver {
    width: 200px; /* 各ドライバーの固定幅 */
    margin: 0 10px; /* 横の間隔 */
    text-align: center;
  }
  .top-driver img {
    width: 100px;
    height: 100px;
    object-fit: cover; /* 写真が潰れずに表示 */
    border-radius: 50%;
    margin-bottom: 5px;
  }
}

/* --- フッター --- */
footer { background-color: #3d8bfd; color: #fff; padding: 15px; text-align: center; font-size: 0.9rem; }
footer .footer-links { margin-bottom: 5px; }
footer .footer-links a { color: #fff; text-decoration: none; margin: 0 5px; font-size: 0.85rem; }

/* --- レスポンシブ --- */
@media (min-width: 768px) {
  .hero { height: 400px; }
  .hero-text h2 { font-size: 2rem; }
  .hero-text p { font-size: 1.2rem; }
  .driver-list { flex-direction: row; justify-content: center; }
  .driver { width: 150px; }
  .header-nav { gap: 15px; }
}

/* スマホ時にフッター下部に余白を追加 */
@media (max-width: 767px) {
  footer {
    padding-bottom: 60px; /* 固定ボタンの高さ＋余裕 */
    margin-bottom: 20px;
  }
}



/* スマホ専用固定ボタン */
@media (max-width: 767px) {

  .mobile-fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* 高さ分paddingをフッターと被らないように */
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.15);
    z-index: 1000;
  }

  .mobile-fixed-buttons a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin: 0 5px;
  }

  .mobile-fixed-buttons .call-btn { background-color: #28a745; } /* 緑色 */
  .mobile-fixed-buttons .reserve-btn { background-color: #007bff; } /* 青色 */
}
@media (min-width: 767px) {
  .mobile-fixed-buttons {
    display: none; /* PCボタンを非表示 */
  }
}

/* --- 料金テーブル --- */
.price-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.price-content th, .price-content td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: center;
  font-size: 0.95rem;
}
.price-content th { background-color: #3d8bfd; color: #fff; }
.price-content tr:nth-child(even) { background-color: #f0f7ff; }

/* --- レスポンシブ対応（スマホ） --- */
@media (max-width: 767px) {
  .price-content table, 
  .price-content thead, 
  .price-content tbody, 
  .price-content th, 
  .price-content td, 
  .price-content tr { display: block; width: 100%; }
  .price-content tr { margin-bottom: 15px; }
  .price-content td { text-align: right; padding-left: 50%; position: relative; }
  .price-content td::before { content: attr(data-label); position: absolute; left: 10px; top: 12px; font-weight: bold; text-align: left; }
  .price-content th { display: none; }
}


/* --- 対応エリアカード --- */
.area-content ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.area-content li {
  background-color: #f0f7ff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  min-width: 150px;
  text-align: center;
  font-weight: bold;
}
/* --- 対応エリア 注意書き --- */
.area-notice {
  background-color: #fff3cd; /* 薄い黄色 */
  color: #856404; /* 注意色ブラウン系 */
  border-left: 4px solid #ffc107;
  padding: 12px 15px;
  margin-top: 25px;
  border-radius: 5px;
  font-size: 0.95rem;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .area-content ul {
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
  }
}

/* --- 予約フォーム --- */
.contact-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-content label {
  font-weight: bold;
  margin-bottom: 5px;
}

.contact-content input,
.contact-content textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.95rem;
  width: 100%;
}

.contact-content textarea { min-height: 100px; resize: vertical; }

.contact-content button {
  background-color: #3d8bfd;
  color: #fff;
  border: none;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-content button:hover { background-color: #2a6fd6; }
/* --- フォーム必須マーク --- */
.required {
  color: red;
  margin-left: 2px;
  font-weight: bold;
}

/* スマホ余白対応 */
@media (max-width: 767px) {
  .contact-content form { padding: 0 10px; }
}


/* --- ドライバー紹介カード --- */
.driver-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.driver {
  background-color: #f0f7ff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 200px;
  text-align: center;
  transition: transform 0.3s;
}
.driver:hover { transform: translateY(-5px); }

.driver img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.driver p {
  margin-bottom: 5px;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .driver-list { flex-direction: column; align-items: center; gap: 15px; }
  .driver { width: 80%; }
}


/* --- よくある質問 --- */
.faq-content {
  max-width: 900px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-item {
  border-bottom: 1px solid #ccc;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  cursor: pointer;
  padding: 12px;
  font-weight: bold;
  position: relative;
  transition: background 0.3s;
}

.faq-question:hover { background-color: #f0f7ff; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 12px;
}

.faq-answer p { padding: 10px 0; margin: 0; }

.faq-question::after {
  content: "▼";
  position: absolute;
  right: 15px;
  transition: transform 0.3s;
}

.faq-item.active .faq-answer { max-height: 500px; }

.faq-item.active .faq-question::after { transform: rotate(180deg); }
