/* Bootstrap 5 Custom CSS - モノクロ・シンプルデザイン */

/* 基本設定 */
:root {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* 全体のフォント設定 */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--secondary-color);
}

/* ナビゲーション */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: var(--gray-700) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.hero-content h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-size: 1.25rem;
}

.service-list {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.service-item {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  opacity: 0.9;
}

/* スライダーコントロール */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
  color: white;
}

.slider-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.slider-btn i {
  display: block;
  line-height: 1;
}

.slider-prev {
  left: 2rem;
}

.slider-next {
  right: 2rem;
}

/* スライダーインジケーター */
.slider-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: white;
  border-color: white;
}

/* セクション共通 */
section {
  padding: 5rem 0;
}

.section-content h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

/* ボタンスタイル */
.btn {
  border-radius: 0;
  padding: 0.75rem 2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-dark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-dark:hover {
  background-color: var(--gray-800);
  border-color: var(--gray-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-dark {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-dark:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* 画像スタイル */
.img-fluid {
  transition: transform 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.02);
}

/* フォームスタイル */
.form-control {
  border-radius: 0;
  border: 2px solid var(--gray-300);
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.contact-form {
  background: var(--gray-100);
  padding: 3rem;
  border-radius: 8px;
}

/* フッター */
footer {
  background-color: var(--primary-color) !important;
}

footer h5,
footer h6 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

footer p {
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 2px solid var(--gray-600);
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  border-color: var(--secondary-color);
  background-color: var(--secondary-color);
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .lead {
    font-size: 1.1rem;
  }

  .slider-btn {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .slider-prev {
    left: 1rem;
  }

  .slider-next {
    right: 1rem;
  }

  .contact-form {
    padding: 2rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-content {
  animation: fadeInUp 0.6s ease-out;
}

/* スクロールスムーズ */
html {
  scroll-behavior: smooth;
}

/* ナビゲーションアクティブ状態調整 */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* シャドウ効果 */
.shadow-sm {
  box-shadow: var(--shadow) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* テキストの可読性向上 */
.text-muted {
  color: var(--gray-600) !important;
}

.text-light {
  color: var(--gray-300) !important;
}
