* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
}

/* スマホメニュー：PC時は常に非表示 */
.ajt-nav-mobile {
	display: none;
}

/* ===== ヘッダー全体 ===== */
.ajt-header {
	width: 100%;
	background: #fff;
	border-bottom: 1px solid #e0e0e0;
	position: fixed;
	top: 0;
	z-index: 100;
}

.ajt-header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1920px;
	margin: 0 auto;
	padding: 0 24px;
	height: 164px;
	/*overflow: hidden;*/
	transition: height 0.3s ease;
}

.ajt-nav-left,
.ajt-nav-right {
	flex: 1;
	display: flex;
	align-items: center;
}

.ajt-nav-left {
	justify-content: flex-end;
	padding-right: clamp(100px, 5vw, 120px); /* 画面幅に応じて自動調整 */
}

.ajt-nav-right {
	justify-content: flex-start;
	padding-left: clamp(100px, 5vw, 120px);
}

/* listのgapで項目間隔を調整 */
.ajt-nav-left .ajt-nav-list {
	gap: clamp(64px, 4vw, 80px);
}

.ajt-nav-right .ajt-nav-list {
	gap: clamp(88px, 4vw, 80px);
}

/* ===== ロゴ（中央） ===== */
.ajt-logo {
	flex: 0 0 auto;
	text-align: center;
}

.ajt-logo a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
	gap: 6px;
}

.logo-catch {
	font-size: 16px;
	letter-spacing: 0.08em;
	color: #555;
	font-family: 'Noto Serif JP', '游明朝', serif;
	line-height: 1;
	font-weight: 700;
	margin: 12px 0 0;
}

.logo-main-group {
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-main-group img {
	height: 112px;
	width: auto;
	display: block;
	margin-bottom: 12px;
}

/* 内部要素にも transition を設定してスムーズに */
.logo-main-group img,
.logo-catch {
	transition: all 0.3s ease;
}

/* ===== ナビ共通 ===== */
.ajt-nav-list {
	display: flex;
	align-items: center;
	gap: 96px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ajt-nav-list li a {
	text-decoration: none;
	color: #222;
	font-size: 16px;
	letter-spacing: 0.06em;
	font-family: 'Montserrat', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
	transition: color 0.2s;
	white-space: nowrap;
}

.ajt-nav-list li a:hover {
	color: #888;
}

.nav-reserve a:hover {
	background: #222 !important;
	color: #fff !important;
}

/* ===== Instagram アイコン ===== */
.nav-instagram a {
	display: flex;
	align-items: center;
}

.nav-instagram img {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}

/* ===== スクロール時のヘッダー縮小 ===== */
.ajt-header {
	transition: none;
}

.ajt-header-container {
	transition: none;
}

.logo-catch {
	transition: none;
}

.logo-main-group img {
	transition: none;
}

.ajt-header.is-scrolled .ajt-header-container {
	height: 85px;
}

.ajt-header.is-scrolled .logo-catch {
	font-size: 11px;
	margin: 6px 0 0;
}

.ajt-header.is-scrolled .logo-main-group img {
	height: 56px;
	margin-bottom: 6px;
}

/* ===== ハンバーガー（スマホ用） ===== */
.ajt-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 30px;
	cursor: pointer;
	z-index: 300;
	position: relative;
}

.ajt-hamburger span {
	display: block;
	height: 1.5px;
	background: #222;
	border-radius: 2px;
	width: 100%;
	transition: all 0.3s;
}

#ajt-back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 48px;
	height: 48px;
	background: #e8243e;
	color: #fff;
	border-radius: 0;
	display: none; /* PCでは非表示 */
	justify-content: center;
	align-items: center;
	font-size: 22px;
	cursor: pointer;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* 太めの↑をCSSで作る */
#ajt-back-to-top::before {
	content: '';
	width: 14px;
	height: 14px;
	border-left: 2px solid #fff;
	border-top: 2px solid #fff;
	transform: rotate(45deg); /* ← これで「↑」になる */
	margin-bottom: -2px; /* 少し下げて中央に見せる */
}

#ajt-back-to-top:hover {
	background: #ccc; /* ← ホバー時のグレー */
}

#ajt-back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

/* ===== レスポンシブ ===== */

@media (max-width: 768px) {
	#ajt-back-to-top {
		display: flex;
	}

	.ajt-nav-left,
	.ajt-nav-right {
		display: none;
	}

	.ajt-header {
		position: static;
	}

	/* ヘッダーコンテナ */
	.ajt-header-container {
		height: auto;
		padding: 24px 20px;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 16px;
		position: relative;
	}

	/* ハンバーガー（1つにまとめる） */
	.ajt-hamburger {
		display: flex;
		position: relative;
		transform: none;
		margin: 0 auto;
		z-index: 10000;
		cursor: pointer;
	}

	/* ロゴ */
	.logo-catch {
		font-size: 14px;
	}

	.logo-main-group img {
		height: 180px;
		margin-bottom: 8px;
	}

	.ajt-header {
		transform: none !important;
		will-change: auto !important;
	}

	.ajt-header.is-scrolled .ajt-header-container {
		height: auto;
		padding: 16px 20px;
	}

	.ajt-header.is-scrolled .logo-main-group img {
		height: 180px;
	}

	/* スマホメニュー（1つにまとめる） */
	.ajt-nav-mobile {
		display: none;
		width: 100%;
		background: #fff;
		padding: 24px 20px;
		border-top: 1px solid #e0e0e0;
	}

	.ajt-nav-mobile.is-open {
		display: block;
	}

	.ajt-nav-mobile-list {
		list-style: none;
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding: 0;
		margin: 0;
	}

	.ajt-nav-mobile-list li a {
		font-size: 18px;
		color: #222;
		text-decoration: none;
		letter-spacing: 0.08em;
	}

	.ajt-hamburger {
		z-index: 10000;
	}

	/* --- ハンバーガーメニュー アニメーション修正 --- */

	/* メニューが開いている時 (is-open) の挙動 */
	.ajt-hamburger.is-open span:nth-child(1) {
		/* 上の線を斜めに下ろす */
		transform: translateY(5.5px) rotate(45deg);
	}

	.ajt-hamburger.is-open span:nth-child(2) {
		/* 真ん中の線を消す */
		opacity: 0;
	}

	.ajt-hamburger.is-open span:nth-child(3) {
		/* 下の線を斜めに上げる (4pxのgap×2本分+線の太さを考慮) */
		transform: translateY(-5.5px) rotate(-45deg);
	}

	/* 念のため：通常時の3本目を強制的に表示 */
	.ajt-hamburger span:nth-child(3) {
		display: block !important;
	}
}
