body {
	margin: 0;
	padding: 0;
	padding-top: 100px;
  --drawer-accent: #4cafef;
  --drawer-accent-soft: #f0f8ff;
  --drawer-close-color: #999;
  --drawer-close-hover-bg: rgba(76, 175, 239, 0.12);
  --drawer-close-hover-color: #2b8fd7;
  font-family: "Noto Sans JP", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: #4cafef;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	transition: background 0.3s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

header.scrolled {
	background: rgba(76, 175, 239, 0.8);
}

.header-left {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.logo {
	position: absolute;
	top: 50%;
	left: 10px;
	width: 50px;
	transform: translateY(-50%);
}

#nishikosai {
	font-size: 2.5em;
	font-family: "Noto Sans JP", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	font-weight: 900;
	font-style: normal;
	margin: 0;
	top: -10px;
	text-align: center;
	height: 70px;
}

@media (max-width: 768px) {
	header {
		height: 60px;
		padding: 5px 0;
	}

	.logo {
		width: 40px;
		top: 50%;
		transform: translateY(-50%);
		left: 8px;
	}

	#nishikosai {
		font-size: 1.5em;
		height: 50px;
		line-height: 50px;
	}

	body {
		padding-top: 60px;
	}
}

.googlemap {
	right: 3%;
	size: 60%;
	color: white;
}

#footer {
	background-color: rgb(44, 44, 65);
	color: white;
	font-family: "HG正楷書体-PRO", "Noto Sans JP", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

footer {
	background-color: rgb(44, 44, 65);
	color: white;
	padding: 20px;
	text-align: center;
	border-top: 2px solid white;
	margin-top: 0;
}

#bottom-sentence,
#botton-sentence {
	bottom: 0.1%;
	text-align: center;
}

.map {
	text-align: center;
	color: white;
}

.link {
	color: white;
	text-align: center;
}

.about-us {
	text-align: center;
}

h2 {
	display: block;
	font-size: 1.5em;
	margin-block-start: 0.83em;
	margin-block-end: 0.83em;
	margin-inline-start: 0;
	margin-inline-end: 0;
	font-weight: bold;
	unicode-bidi: isolate;
}
/* =========================================
   ハンバーガーボタンとロゴの配置調整
   ========================================= */
.hamburger-btn {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* 既存の .logo を少し右に移動 */
.logo {
  position: absolute;
  top: 50%;
  left: 55px; /* 元の10pxから変更 */
  width: 50px;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .logo {
    left: 50px;
    width: 40px;
  }
}

/* =========================================
   ドロワーメニュー (サイドバー)
   ========================================= */
.drawer-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100dvh;
  background: #ffffff;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transition: left 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  color: #333;
}

.drawer-menu.show {
  left: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.drawer-title {
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--drawer-accent);
}

.close-drawer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0 !important;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-size: 28px;
  font-weight: 400;
  font-family: inherit;
  color: var(--drawer-close-color);
  cursor: pointer;
  line-height: 1;
  text-align: center;
  align-self: center;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.close-drawer-btn:hover,
.close-drawer-btn:focus-visible {
  background: var(--drawer-close-hover-bg);
  color: var(--drawer-close-hover-color);
  outline: none;
}

/* =========================================
   ドロワーメニュー内のデザイン調整
   ========================================= */
.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 5px 0; /* 上下の余白を少し詰める */
}

/* 区切り線と見出し */
.drawer-divider {
  padding: 8px 20px 2px; /* 上下の余白を減らす */
  font-size: 0.75em;
  font-weight: bold;
  color: #aaa;
  text-transform: uppercase;
}

/* メニューアイテム（行間を詰める） */
.drawer-item {
  display: flex;
  align-items: center;
  padding: 8px 20px; /* 【変更】12pxから8pxに減らし、スマホで収まるように */
  text-decoration: none;
  color: #444;
  font-size: 0.95em; /* ほんの少し文字を小さくしてスッキリさせる */
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-left: 4px solid transparent;
}

.drawer-item:hover {
  background: #f8f9fa;
}

/* アイコンの位置と色 */
.drawer-icon {
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.drawer-icon svg {
  fill: #666; /* デフォルトのアイコン色 */
  transition: fill 0.2s;
}

/* ★ カレントページ（現在開いているページ）のハイライト ★ */
.drawer-item.active {
  color: var(--drawer-accent); /* 文字を水色に */
  background: var(--drawer-accent-soft); /* 背景を薄い青に */
  border-left: 4px solid var(--drawer-accent);
  font-weight: bold;
}

.drawer-item.active .drawer-icon svg {
  fill: var(--drawer-accent); /* アイコンも水色に */
}

/* ユーザー情報表示（管理者バッジ） */
.drawer-user-info {
  padding: 15px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-role-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: bold;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: fit-content;
}

.drawer-user-name {
  font-size: 0.9em;
  opacity: 0.95;
  font-weight: 500;
}

/* =========================================
   メニュー読み込みエラー
   ========================================= */
.drawer-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  text-align: center;
  color: #666;
  font-size: 0.9em;
}

.drawer-retry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 1px solid var(--drawer-accent, #4cafef);
  border-radius: 999px;
  background-color: var(--drawer-accent, #4cafef);
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.drawer-retry-btn:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

.drawer-retry-btn:active {
  transform: translateY(0);
}

/* =========================================
   オーバーレイ (背景暗転)
   ========================================= */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 1999;
  transition: opacity 0.3s ease-in-out;
}

.drawer-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* =========================================
   共通戻るボタン
   ========================================= */
.top-right-button {
  position: fixed;
  top: 120px;
  right: 16px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 10px 16px;
  border: 1px solid #4cafef;
  border-radius: 999px;
  background-color: #4cafef;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.top-right-button:hover {
  background-color: #3a94f1;
  transform: translateY(-2px);
}

.top-right-button:active {
  transform: translateY(0);
}

/* =========================================
   ログイン通知
   ========================================= */
.login-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease-out;
  max-width: 350px;
}

.login-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.login-notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-notification-content svg {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 6px;
}

.login-notification-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.login-notification-text strong {
  font-size: 1em;
  font-weight: bold;
}

.login-notification-text span {
  font-size: 0.9em;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .login-notification {
    top: 70px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}