/* 改善版ドロップダウンメニュースタイル */
.header-buttons .login-button-wrapper {
	position: relative !important;
	display: inline-block !important;
	z-index: 10001 !important;
}

/* ログインボタンスタイル */
.header-buttons .btn-login {
	position: relative !important;
	z-index: 10001 !important;
	color: #af9448 !important;
	border: 1px solid #af9448 !important;
	background: #fff !important;
	text-align: center !important;
	border-radius: 30px !important;
	cursor: pointer !important;
	min-width: 100px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 5px !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
}

/* ログインボタンホバー時のスタイル */
.header-buttons .btn-login:hover {
	background: #af9448 !important;
	color: #fff !important;
}

/* ドロップダウンメニューの基本スタイル */
.header-buttons .login-dropdown {
	display: none !important;
	position: absolute !important;
	top: 100% !important;
	right: 0 !important; /* 右揃え */
	width: 300px !important;
	background-color: white !important;
	border-radius: 10px !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
	padding: 15px !important;
	margin-top: 5px !important;
	z-index: 99999 !important;
	visibility: hidden !important;
	opacity: 0 !important;
	transition: visibility 0s, opacity 0.3s !important;
}

/* 表示状態のスタイル（JavaScriptで適用） */
.header-buttons .login-dropdown.show {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* CSS hover効果（フォールバックとして） */
.header-buttons .login-button-wrapper:hover .login-dropdown {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* サービスアイテムのスタイル */
.login-service-item {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 12px !important;
	margin-bottom: 8px !important;
	border-radius: 8px !important;
	background-color: #f5f5f5 !important;
	transition: background-color 0.2s !important;
	gap: 10px !important;
}

.login-service-item:hover {
	background-color: #e9e9e9 !important;
}

/* ログイン用サービスロゴ */
.login-service-logo {
	display: flex !important;
	align-items: center !important;
	flex: 1 !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.header-buttons .login-dropdown {
		width: 230px !important;
	}
}
