.sf-header {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	z-index: 1000;
	background-color: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	border-radius: 12px;
	max-width: 1000px;
	margin: 1rem auto;
	padding: 1rem 2rem;
}

.sf-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

.sf-logo {
	flex-shrink: 0;
}

.sf-logo svg {
	width: 140px;
	height: auto;
}

.sf-nav {
	margin-left: 10rem;
	transform: translateX(0%);
}

.sf-nav > ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.5rem;
}

.sf-nav ul li {
	position: relative;
	white-space: nowrap;
}

.sf-nav ul li a {
	text-decoration: none;
	color: #333;
	font-weight: 600;
	padding: 0.4rem 0.7rem;
	display: block;
}

/* ドロップダウン */
.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	min-width: 200px;
	padding: 0.5rem 0;
	z-index: 9999 !important;
}

.sf-nav .dropdown-menu li {
	display: block;
	white-space: normal;
	width: 100%;
}

/* サブメニューのテキストだけ改行させない */
.sf-nav .dropdown-menu li a {
    white-space: nowrap;
}

.dropdown.open > .dropdown-menu {
	display: block;
}

/* ハンバーガー */
.sf-hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 24px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1100;
}

.sf-hamburger span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #333;
	border-radius: 2px;
	transition: all 0.4s ease;
}

.sf-hamburger.open span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}
.sf-hamburger.open span:nth-child(2) {
	opacity: 0;
}
.sf-hamburger.open span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* スマホ */
@media (max-width: 768px) {
	.sf-nav {
	    display: none;
	    position: absolute;
	    top: 60px;
	    left: 0;
	    width: 100%;
	    background: #fff;
	    border-top: 1px solid #ddd;
	}
	.sf-nav.open {
	    display: block;
	}
	.sf-nav ul {
	    flex-direction: column;
	}
	.sf-hamburger {
	    display: flex;
	}
}

@media (max-width: 428px) {
	.sf-header {
		position: fixed;
		top: 0;
		left: 0 !important;        /* ← これが重要 */
		transform: none !important; /* ← これも重要 */
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0.5rem 1rem;
		border-radius: 0;
		box-sizing: border-box;
		z-index: 1000;
	}
	.sf-container {
	    max-width: 100%;
	    padding: 0;
	    padding: 0; /* モバイルでは必須 */
	}
	.sf-logo svg {
	    width: 110px;
	    transform: translateX(10%);
	}
}
