@charset "UTF-8";

/****** ヘッダー部分 ******/
header {
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  background-color: #FAF3E0;
  display: flex;
  align-items: center;
  z-index: 999;
  justify-content: space-between;
  /*border-bottom: solid 1px #0A3D62;*/
}

.logo-container {
  width: 25%;
  padding-left: 5%;
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
}

.logo-container img {
	max-height: 55px; /* ナビバーの高さ70pxに対して適切なサイズ */
  width: auto;
  padding: 0; /* 余計な余白を削除 */
}

@media screen and (max-width: 768px) {
	.client header {
		height: 40px;
	}

	.client .logo-container {
		width: 100%;
		/*padding-left: 5%;*/
		justify-content: center; /* 水平方向の中央揃え */
	}

	.manager .logo-container, .admin .logo-container {
		width: 60%;
		margin-left: 80px;
	}

	.client .logo-container img {
		max-height: 20px;
	}
}

/****** PC ナビメニュー ******/
.nav-container {
	width: 75%;
	font-weight: bold;
	color: #0A3D62;
}

.nav-menu {
  transition: font-size 0.3s ease-in-out, color 0.3s ease-in-out;
}

.nav-menu:hover {
	color: #D4AF37;
	font-size: 1.1em;
}

.nav-menu.active {
  color: #D4AF37;
  position: relative;
}

.nav-menu.active::after {
  content: "";
  position: absolute;
  bottom: -6px; /* 通常より少し下に配置 */
  left: 0;
  width: 110%;
  height: 2px; /* ボーダーの太さ */
  background: linear-gradient(to right, #D4AF37, #FAF3E0); /* グラデーション */
  border-radius: 2px; /* 角を少し丸める */
}

/****** ハンバーガーメニュー ******/
.humburgermenu-container {
  position: absolute;
  right: 25px; /* 右端に配置 */
  top: 30%;
  /*transform: translateY(-50%); /* 縦方向の中央配置 */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
}

.humburgermenu {
  width: 30px;
  height: 20px;
  position: relative;
}

/* メニューが開いた時の色変更 */
.humburgermenu.active span {
  background-color: #FAF3E0 !important;
}

.humburgermenu span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #0A3D62;
  position: absolute;
  left: 0;
  transition: 0.4s;
}

.humburgermenu span:nth-of-type(1) {
  top: 0;
}

.humburgermenu span:nth-of-type(2) {
  top: 12px;
}

.humburgermenu span:nth-of-type(3) {
  top: 24px;
}

/* メニューが開いた時の「×」アニメーション */
.humburgermenu.active span:nth-of-type(1) {
  top: 12px;
  transform: rotate(45deg);
}

.humburgermenu.active span:nth-of-type(2) {
  opacity: 0;
}

.humburgermenu.active span:nth-of-type(3) {
  top: 12px;
  transform: rotate(-45deg);
}

/****** オーバーレイナビ ******/
#drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 61, 98, 0.95);
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 1000;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 80px;
  padding-left: 80px;
  visibility: hidden;
  opacity: 0;
}

#drawer-menu.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}

.drawer-content ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.drawer-content ul li {
  color: #FAF3E0;
  font-size: 1.5em;
  margin: 35px 0;
}

.drawer-content ul li a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.drawer-content .nav-menu.active a {
  color: #D4AF37;
}

.drawer-content .nav-menu.active::after {
  content: "";
  position: absolute;
  bottom: -6px; /* 通常より少し下に配置 */
  left: 0;
  width: 110%;
  height: 2px; /* ボーダーの太さ */
  background: linear-gradient(to right, #D4AF37, #184769); /* グラデーション */
  border-radius: 2px; /* 角を少し丸める */
}


/****** SP用固定フッターメニュー ******/
/*#mobile-footer-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #0A3D62;
  border-top: 3px solid #D4AF37;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  pointer-events: auto; /* クリック可能にする 
}*/

#mobile-footer-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 3px solid #D4AF37;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  pointer-events: auto;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom); /* iOS用safe-area */
}

#mobile-footer-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0A3D62;
  z-index: -1;
}

#mobile-footer-nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

#mobile-footer-nav .nav-item {
  flex: 1;
  text-align: center;
  padding: 0;
  margin: 0;
}

#mobile-footer-nav .footer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #FAF3E0;
  font-size: 0.5em;
  transition: color 0.2s ease-in-out;
  padding: 8px 2px 5px;
}

#mobile-footer-nav .footer-link i {
  font-size: 3.2em;
  margin-bottom: 4px;
}

/* アクティブなメニューの強調 */
#mobile-footer-nav .footer-link.active {
  background-color: #D4AF37;
  color: #0A3D62;
  /*font-weight: bold;*/
  position: relative;
}

#mobile-footer-nav .footer-link.active i {
  font-size: 3.7em;
  transition: font-size 0.2s ease-in-out;
}
