/* ====================================
   🚌 バスナビくん♪ LP 完全版スタイル
   Author: ネオ
   ==================================== */

/* ===== ベース設定 ===== */
body {
  margin: 0;
  font-family: "BIZ UDPGothic", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
}


/* ===== 🌐 ナビゲーションバー（柔らかトーン最終版） ===== */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
}

/* コンテナ設定 */
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 🚍 ロゴ画像 ===== */
.navbar-brand img {
  height: 50px;
  width: auto;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.navbar-brand img:hover {
  transform: scale(1.05);
}

/* ===== 🧭 ナビゲーションリンク ===== */
.navbar-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 通常状態 */
.navbar-nav a {
  color: #2c3e50;
  font-weight: 600;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1.5px solid rgba(44, 110, 73, 0.3);
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* hover時：ふんわり浮く＋色変化 */
.navbar-nav a:hover {
  background: linear-gradient(135deg, #eafaf1, #d3f5e5);
  color: #2c6e49;
  border-color: #2c6e49;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(44, 110, 73, 0.15);
}

/* 🟢 アクティブ状態（現在ページ） */
.navbar-nav a.active {
  background: linear-gradient(135deg, #2c6e49, #00aaff);
  color: #fff;
  border: none;
  box-shadow: 0 3px 8px rgba(44, 110, 73, 0.25);
  font-weight: 700;
}

/* 📱 スマホ対応 */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
  }
  .navbar-nav {
    gap: 16px;
    flex-wrap: wrap;
  }
}




/* 中央コンテンツ */
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* YouTube動画 */
.youtube-box {
  position: relative;
  width: 520px; /* ✅ 少しだけ小さく */
  max-width: 90%;
  aspect-ratio: 16 / 9;
  margin: 0 auto 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.youtube-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ボタン */
.btn-banner {
  display: inline-block;
  background: linear-gradient(to bottom right, #2563eb, #3b82f6);
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.3s ease;
  margin-top: 20px;
}

/* 🪄 hover時のふわっと効果 */
.btn-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
  background: linear-gradient(to bottom right, #1d4ed8, #3b82f6);
}



/* ===== 共通セクション ===== */
section {
  max-width: 960px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

/* ===== コンセプト ===== */
.concept h2 {
  font-size: 2rem;
  color: #0066cc;
  margin-bottom: 15px;
}
.concept p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}
.concept img {
  max-width: 480px;
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ===== 主な機能 ===== */
.features {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 50px 20px;
}

.features h2 {
  color: #0066cc;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-item {
  flex: 1 1 260px;
  text-align: center;
}

.feature-item img {
  width: 200px;
  height: 200px;
  margin-bottom: 14px;
}

.feature-item h3 {
  font-size: 1.2rem;
  color: #0066cc;
  margin-bottom: 8px;
}

.feature-item p {
  color: #555;
  font-size: 0.95rem;
}

/* ===== 料金プラン ===== */
.pricing {
  background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
  border-radius: 20px;
  padding: 60px 20px;
}

.pricing h2 {
  color: #0066cc;
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.pricing p {
  color: #444;
  margin-bottom: 40px;
}

.plan-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.plan {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px;
  flex: 1 1 300px;
  transition: transform 0.3s ease;
}

.plan:hover {
  transform: translateY(-5px);
}

.plan h3 {
  color: #0066cc;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.price {
  font-size: 1.2rem;
  color: #009933;
  font-weight: bold;
  margin-bottom: 15px;
}

.plan ul {
  list-style: none;
  padding: 0;
}

.plan ul li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}
/* 👑 人気プランバッジ */
.badge-popular {
  background: linear-gradient(90deg, #ffd966, #ffb84d);
  color: #333;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-block;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.plan.premium {
  position: relative;
  border-top: 4px solid #ffb84d;
}


/* ===== 📮 お問い合わせフォーム ===== */
.contact-section {
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
  border-top: 4px solid #009933;
}

.contact-section h2 {
  font-size: 1.9rem;
  color: #0066cc;
  margin-bottom: 10px;
}

.contact-section p {
  color: #444;
  margin-bottom: 25px;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}

.contact-section button {
  background: #009933;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-section button:hover {
  background: #007a26;
  transform: scale(1.05);
}

/* ===== 📱 レスポンシブ対応 ===== */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 36px;
  }
  .feature-list, .plan-list {
    flex-direction: column;
  }
  .plan {
    width: 90%;
    margin: 0 auto;
  }
}
/* ===== 🧭 導入の流れ ===== */
.flow {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 60px 20px;
  text-align: center;
}

.flow h2 {
  color: #0066cc;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.flow p {
  color: #555;
  margin-bottom: 40px;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.step {
  background: #f9fbff;
  border-radius: 16px;
  padding: 30px;
  width: 220px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.step h3 {
  color: #0066cc;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: #555;
}

/* 📱 レスポンシブ対応 */
@media (max-width: 768px) {
  .flow-steps {
    flex-direction: column;
    align-items: center;
  }
  .step {
    width: 90%;
  }
}
/* ===== フッター ===== */
.site-footer {
  background: #f1f5f9;
  text-align: center;
  padding: 40px 10px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #e0e0e0;
  margin-top: 80px;
}

.site-footer a {
  color: #2563eb;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* 📱 モバイル調整 */
@media (max-width: 768px) {
  .site-footer {
    font-size: 13px;
    padding: 30px 5px;
  }
}
.concept img {
  max-width: 800px;   /* ← LPのメイン幅に合わせる */
  width: 90%;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
/* ===== 🛰️ リアルタイム通信図・管理画面図 共通スタイル ===== */
.realtime-diagram, .management-diagram {
  background: #f9fcff;
  border-radius: 20px;
  padding: 60px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 80px auto;
  max-width: 960px;
  text-align: center;
}

.realtime-diagram h2, .management-diagram h2 {
  color: #0066cc;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.realtime-diagram p, .management-diagram p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 30px;
}

.realtime-image, .management-image {
  width: 90%;
  max-width: 720px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* 🧰 用意していただくものセクション */
section#ready {
  background-color: #f8f9fa;
  padding: 80px 0;
}

/* タイトル */
.ready h2 {
  color: #2c6e49;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* コード部分（URLなど） */
.ready code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* カードデザイン（共通） */
#ready .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin: 12px 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  transition: transform 0.2s ease-in-out;
}

/* ホバー時の軽い浮き上がり */
#ready .card:hover {
  transform: translateY(-5px);
}

/* 各カードに登場ディレイを設定 */
#ready .col-md-4:nth-child(1) .card { animation-delay: 0.1s; }
#ready .col-md-4:nth-child(2) .card { animation-delay: 0.3s; }
#ready .col-md-4:nth-child(3) .card { animation-delay: 0.5s; }

/* フェードインアニメーション */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 他業種への展開設定 */
.expansion {
  background: linear-gradient(180deg, #f8fafc 0%, #eaf7ff 100%);
  border-top: 2px solid #dcecf9;
}
.expansion h2 {
  color: #0077cc;
}
.expansion strong {
  color: #0066aa;
}

/* お問い合わせフォーム*/

.contact-section button {
  background: linear-gradient(90deg, #0099ff, #00cc88);
  border: none;
  color: white;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}
.contact-section button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 150, 200, 0.2);
}
/* === セクションフェードイン === */
section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 🧰 fadeInUp アニメーション定義を最後に再定義 */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === 🚍 バスナビくん♪ ふわっとバウンド上に戻るボタン === */
#backToTop,
.back-to-top {
  position: fixed !important;
  bottom: 40px !important;
  right: 40px !important;
  background: linear-gradient(135deg, #00bfff, #00cc88);
  color: #fff;
  font-size: 28px;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 🪄 ふわっと浮くホバー効果 */
#backToTop:hover {
  transform: translateY(-6px) rotate(-5deg);
  box-shadow: 0 10px 22px rgba(0, 150, 150, 0.25);
  opacity: 0.95;
}

/* ✨ スクロール後ふわっと登場アニメーション */
@keyframes bounceIn {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }
  60% {
    transform: translateY(-10px);
    opacity: 1;
  }
  80% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0);
  }
}

/* 📱 モバイル最適化 */
@media (max-width: 768px) {
  #backToTop {
    bottom: 20px !important;
    right: 20px !important;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

.parent-info-block {
  max-width: 900px;
  margin: 0 auto;
}

.notice-box {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 1.6rem 2rem;
  background: #fff7e0;            /* ほんのりクリーム色 */
  border-left: 6px solid #ff9800; /* 目立つライン */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  text-align: left;
  line-height: 1.7;
}

.notice-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #e65100;
  margin-bottom: 0.75rem;
}

.notice-icon {
  font-size: 1.4rem;
}

.notice-box p {
  margin-bottom: 0.4rem;
  color: #444;
}

.notice-box p strong {
  color: #c62828;  /* 強調部分は少し濃い赤系 */
}

.contact-type-selector {
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-type-label {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.contact-type-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-type-btn {
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  border: 1px solid #d0d7e2;
  background: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a607f;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.contact-type-btn:hover {
  background: #f5f9ff;
}

.contact-type-btn.active {
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
}
/* ===== 規約・ポリシーページ共通レイアウト ===== */
.policy-page {
  max-width: 960px;
  margin: 80px auto;
  padding: 40px 24px 80px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  text-align: left;
}

.policy-page h1 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  color: #0066cc;
}

.policy-page h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #2c3e50;
}

.policy-page h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: #334155;
}

.policy-page p,
.policy-page li {
  font-size: 0.95rem;
  color: #444;
}

.policy-page ol,
.policy-page ul {
  padding-left: 1.4rem;
}

.policy-page small {
  color: #777;
  font-size: 0.85rem;
}

.policy-back-link {
  margin-top: 2.5rem;
  text-align: right;
}

.policy-back-link a {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.9rem;
}

.policy-back-link a:hover {
  text-decoration: underline;
}
/* ===== 規約ページ（プライバシーポリシー／利用規約共通） ===== */
.policy-page {
  max-width: 960px;
  margin: 60px auto 80px;
  padding: 40px 24px 60px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  line-height: 1.9;
  text-align: left;
}

.policy-page h1 {
  font-size: 1.9rem;
  color: #0066cc;
  margin-bottom: 24px;
  text-align: center;
}

.policy-page h2 {
  font-size: 1.1rem;
  color: #1f2933;
  margin-top: 28px;
  margin-bottom: 8px;
  border-left: 4px solid #3b82f6;
  padding-left: 10px;
}

.policy-page p {
  font-size: 0.95rem;
  color: #444;
  margin: 8px 0 4px;
}

.policy-page ul {
  margin: 6px 0 10px 1.2rem;
  padding-left: 0.8rem;
}

.policy-page li {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 4px;
}

.policy-page code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.policy-date {
  margin-top: 24px;
  font-size: 0.9rem;
  color: #6b7280;
}

/* 戻るリンク */
.policy-back-link {
  margin-top: 40px;
  text-align: center;
}

.policy-back-link a {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #f3f4ff;
  color: #2563eb;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid #d1d5f0;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.policy-back-link a:hover {
  background: #e0e7ff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2);
}
/* ===== 規約ページは常に表示（フェードイン無効） ===== */
.policy-page {
  opacity: 1 !important;
  transform: none !important;
}
.concept-note {
  margin: 20px auto 10px;
  max-width: 720px;
  font-size: 0.95rem;
  color: #555;
  background: #f5fbff;
  border-left: 4px solid #38bdf8;
  padding: 10px 16px;
  border-radius: 8px;
}
