/* CSS Document */


/* ===== ナビリンクのスタイル ===== */

.navbar {  margin: 0; padding: 0; }

.navbar,.nav-link {
  color: #333;
  font-size: 0.9em;
  background-color: transparent;
  font-weight: 500;
  padding: 0 ;
  margin: 0 ;
  border-bottom: none !important;
  transition: all 0.2s ease; /* ← なめらかに変化 */
  position: relative;
  top: 0;
}

.nav-link { margin: 20px 0 0 40px; }

.navbar .nav-link:hover {
  color: #E7340C;
  top: -2px; /* ← ホバー時に2px上へ */
}

.self { color: #E7340C !important;  }

/* ===== ハンバーガー通常時：細枠＆余白調整 ===== */
.navbar-toggler {
  border: none;
  padding: 0px 0 0 0;
  background: transparent;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}



/* ===== SP・タブレット時：展開メニュー背景・下線無効 ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #f8f9fa;
    padding: 0rem;
  }

  .navbar-nav .nav-link {
    border-bottom: none !important;
    margin-left: 20px;
    margin-bottom: 0px;
  }
}

/* ===== カスタムハンバーガー（3本線→中央で×） ===== */
.custom-toggler {
  position: relative;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: auto;
  margin-right: 1rem;
}

.custom-toggler .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.custom-toggler .bar:nth-child(1) {
  top: 0;
}

.custom-toggler .bar:nth-child(2) {
  top: 10px;
}

.custom-toggler .bar:nth-child(3) {
  top: 20px;
}

/* ハンバーガー展開時（×に変形） */
.custom-toggler.active .bar:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.custom-toggler.active .bar:nth-child(2) {
  opacity: 0;
}

.custom-toggler.active .bar:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* ===== container-fluid の右詰まり対策 ===== */
.container-fluid {
  padding-right: 0; padding-left: 0;
}



