/* VIVO SOFT 日本語サイト - スタイル
 * Bootstrap 4.6.2 + FontAwesome 5.15.4 + jQuery 3.6.4
 */

/* === フォント：日本語フォントスタック === */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, メイリオ, "MS Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, メイリオ, sans-serif;
  font-weight: 600;
  color: #222;
}

/* === カラー === */
:root {
  --jp-primary: #025195;      /* メインカラー：紺色 */
  --jp-accent: #e74c3c;       /* アクセントカラー */
  --jp-dark: #021c11;         /* ダーク */
  --jp-light: #f5f7fa;
  --jp-gray: #666;
}

/* === ナビゲーション === */
.navbar-jp {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 12px 0;
}
.navbar-jp .navbar-brand img {
  height: 40px;
}
.navbar-jp .nav-link {
  color: #333;
  font-weight: 500;
  padding: 8px 16px !important;
  transition: color 0.2s;
}
.navbar-jp .nav-link:hover,
.navbar-jp .nav-link.active {
  color: var(--jp-primary);
}
.navbar-jp .navbar-toggler {
  border: none;
}

/* === ヒーローバナー === */
.hero-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.hero-banner .carousel-item {
  height: 500px;
}
.hero-banner .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-banner .carousel-caption {
  bottom: 40px;
  text-align: left;
  background: rgba(0,0,0,0.4);
  padding: 20px 30px;
  border-radius: 4px;
}

/* === ページヘッダー（事業内容などの下層ページ） === */
.page-header-jp {
  background-color: var(--jp-dark);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-header-jp h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
}

/* === サービスリスト（ホームページ） === */
.service-section {
  padding: 60px 0;
  background-color: #f5f7fa;
}
.service-section h2.section-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}
.service-section h2.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--jp-primary);
}
.service-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  text-decoration: none;
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card .card-body {
  padding: 20px;
}
.service-card h3 {
  font-size: 17px;
  color: #333;
  margin-bottom: 8px;
}

/* === 会社概要など3カードセクション === */
.info-section {
  padding: 60px 0;
}
.info-card {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s;
}
.info-card:hover {
  transform: translateY(-5px);
}
.info-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}
.info-card h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}
.info-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
}
.info-card a.more {
  display: inline-block;
  margin-top: 15px;
  color: var(--jp-primary);
  font-weight: 500;
  font-size: 14px;
}

/* === お問合せセクション === */
.contact-section {
  padding: 60px 0;
  background-color: var(--jp-light);
}
.contact-section h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
}
.contact-row {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.contact-row i {
  width: 30px;
  color: var(--jp-primary);
  margin-right: 15px;
  font-size: 18px;
}

/* === 下層ページ：本文エリア === */
.show-content {
  padding: 50px 0;
}
.show-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--jp-primary);
}
.show-content .content-body {
  font-size: 15px;
  line-height: 2;
}
.show-content .content-body table {
  width: 100%;
}
.show-content .content-body strong {
  color: var(--jp-primary);
}

/* === フッター === */
.footer-jp {
  background-color: var(--jp-dark);
  color: #aaa;
  padding: 40px 0 20px;
  text-align: center;
}
.footer-jp .copyright {
  font-size: 13px;
}

/* === レスポンシブ === */
@media (max-width: 768px) {
  .hero-banner,
  .hero-banner .carousel-item {
    height: 280px;
  }
  .hero-banner .carousel-caption {
    bottom: 15px;
    padding: 10px 15px;
    font-size: 14px;
  }
  .service-section,
  .info-section,
  .contact-section,
  .show-content {
    padding: 40px 0;
  }
  .page-header-jp {
    padding: 40px 0;
  }
}

/* === Google Map === */
.content-body .embed-responsive iframe { width: 100%; height: 100%; border: 0; }

/* === Google Map === */
.map-embed { margin-top: 10px; }
.map-embed iframe { width: 100% !important; height: 450px; border: 0; display: block; }
