* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: transparent;
	z-index: 1000;
	transition: transform 0.3s ease-in-out;
}

.header.hidden {
	transform: translateY(-100%);
}

h2 {
	font-family: "Times New Roman", "ヒラギノ明朝 ProN", "游明朝", serif;

}

.header-line {
	display: none;
}

.logo-img {
	width: 70px;
	height: 70px;
}

.logo {
	font-size: 20px;
	font-weight: bold;
	color: white;
}

.nav {
	display: flex;
	gap: 15px;
}

.nav a {
	text-decoration: none;
	color: white;
	font-size: 14px;
}

.contact {
	display: flex;
	align-items: center;
	gap: 10px;
}

.contact .phone {
	font-size: 16px;
	color: white;
	font-weight: bold;
}

.contact .button {
	background-color: transparent;
	color: white;
	border: 1px solid white;
	padding: 8px 12px;
	border-radius: 5px;
	text-decoration: none;
}


.footer {
	background: url('../img/footer.png') no-repeat center center/cover;
	color: white;
	padding: 20px;
	text-align: left;
}

.footer-content {
	max-width: 1100px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.footer-contact {
	font-size: 1.5rem;
	font-weight: bold;
}

.footer-info {
	margin-right: 100px;
}

.footer-info p {
	margin: 5px 0;
	font-size: 0.6rem;
}

.footer-copyright {
	text-align: center;
	margin-top: 5px;
	font-size: 0.7rem;
}

/* ハンバーガーメニュー */
.hamburger-menu {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}

.hamburger-menu div {
	width: 25px;
	height: 3px;
	background-color: #333;
}


/* モバイル対応 */
@media (max-width: 768px) {
	.header {
		flex-direction: column;
		align-items: center;
		padding-top: 20px;
	}

	.header-line {
		display: block;
	}

	.contact {
		display: none;
	}

	.nav a {
		display: block;
		padding: 10px;
	}


	.footer-content {
		text-align: center;
	}

	.footer-contact {
		font-size: 0.9rem;
	}

	.footer-info {
		margin-right: 0px;
		text-align: left;
	}

	.footer-info p {
		font-size: 0.5rem;
	}
}

/* ================================
   ページ遷移アニメーション用CSS
   ================================ */
.page-transition-overlay {
	position: fixed;
	inset: 0;
	background-color: #0e3a5a;
	/* ブランドカラー推奨 */
	z-index: 9999;
	opacity: 1;
	transition: opacity 0.6s ease;
	pointer-events: none;
	/* 初期は操作を邪魔しない */
}

.page-transition-overlay--hide {
	opacity: 0;
}

.page-transition-overlay--show {
	opacity: 1;
}