/* ナビゲーションの背景色 ページ幅*/
.nav-bg {
	background-color: #f4f4f4;
}
/* ナビゲーションセクション */
.navigation-section {
	max-width: 1499px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 71px; /* 左右の画像の間に71pxのスペースを設定 */
	padding: 40px 0;
}

/* ナビゲーションリンクの設定 */
.navigation-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}
.nav-item {
	position: relative;
	display: block;
	width: calc(50% - 35.5px); /* 画像を均等に配置しつつ、間に71pxのスペースを確保 */
	border-radius: 5px;
	overflow: hidden;
	transition: transform 0.3s ease;
}

.nav-item img {
	width: 100%;
	height: auto;
	border-radius: 5px;
}
/* テキスト部分のスタイル */
.nav-text {
	position: absolute;
	bottom: 20px;
	left: 20px;
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 10px 20px;
	border-radius: 5px;
}
.nav-item:hover {
	transform: scale(1.05);
}

.nav-text {
	position: absolute;
	bottom: 20px;
	left: 20px;
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 10px 20px;
	border-radius: 5px;
}

/* お問い合わせセクション */
.contact-section {
	background-color: #D8CFC2;
	padding: 60px 20px;
	text-align: center;
	color: #4c4948;
}

.contact-section h2 {
	font-size: 28px;
	margin-bottom: 15px;
}

.contact-section p {
	font-size: 18px;
	margin-bottom: 30px;
}

.contact-buttons {
	display: flex;
	gap: 41px; /* ボタン同士の間隔 */
	justify-content: center;
}

/* ダウンロードボタン */
.download-link {
	display: inline-block;
	width: 470px;
	height: 200px;
	position: relative; /* 疑似要素を重ねるために必要 */
	text-indent: -9999px; /* 文字を画面外へ退避（必要なら） */
	background: url('../images/download-icon.png') center/cover no-repeat;
	border-radius: 4px;
}

/* ダウンロードボタンのホバー画像を疑似要素で重ねる */
.download-link::before {
	content: '';
	position: absolute;
	inset: 0; /* top:0; right:0; bottom:0; left:0; と同じ */
	background: url('../images/download-icon-hover.png') center/cover no-repeat;
	opacity: 0; /* 初期状態は非表示 */
	transition: opacity 0.3s ease-in-out; /* フェード用 */
}
.download-link:hover::before {
	opacity: 1; /* ホバー時に表示 */
}

/* お問い合わせボタン */
.contact-link {
	display: inline-block;
	width: 470px;
	height: 200px;
	position: relative;
	text-indent: -9999px; /* 文字を画面外へ退避（必要なら） */
	background: url('../images/contact-icon.png') center/cover no-repeat;
	border-radius: 4px;
}

/* お問い合わせボタンのホバー画像を疑似要素で重ねる */
.contact-link::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('../images/contact-icon-hover.png') center/cover no-repeat;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}
.contact-link:hover::before {
	opacity: 1;
}
/* ここで transform の transition を追加 */
.download-link,
.contact-link {
	transition: transform 0.3s ease-in-out;
}

/* ホバー時に上にずらす */
.download-link:hover,
.contact-link:hover {
	transform: translateY(-5px);
}
/* フッター全体の設定 */
footer {
	background: rgb(76, 73, 72);
	width: 100%;
	padding: 50px 0;
	color: #ffffff;
}

.footer-container {
	max-width: 1728px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding-left: 5%;
	padding-right: 5%;
	box-sizing: border-box;
}

/* 左カラム（3分割） */
.footer-left {
	display: flex;
	width: 50%;
	justify-content: space-between;
}

.footer-column {
	flex: 1;
	margin-right: 30px;
	color: #fff;
	font-family: 'Noto Sans JP';
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 26px; /* 162.5% */
}
.footer-column h4 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 20px;
	border-bottom: 1px solid #ffffff;
	color: #ffffff;
	text-decoration: none;
}

.footer-column h4 a {
	display: flex;
	width: 180px;
	height: 40px;
	padding: 14px 0px;
	justify-content: left;
	align-items: center;
	flex-shrink: 0;
	color: #ffffff;
	/* オンマウス時に下線を表示しない */
	text-decoration: none;
}

.footer-column h4,
.no-link {
	display: flex;
	width: 180px;
	height: 40px;
	padding: 14px 0px;
	justify-content: left;
	align-items: center;
	flex-shrink: 0;
}

.footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-column ul li {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 500;
}

.footer-column ul li a {
	color: #ffffff;
	text-decoration: none;
}

.footer-column ul li a:hover {
	opacity: 0.8;
}

/* 右カラム */
.footer-right {
	width: 50%;
	text-align: right;
}

/* ボタンデザイン */
.footer-buttons .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 40px;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	background: #af9448;
	border-radius: 4px;
	text-decoration: none;
	margin-left: 20px;
	width: 260px;
	height: 56px;
}

.footer-buttons .btn:hover {
	color: #4c4948;
	opacity: 0.9;
	background: #F2F2F2;
}

/* よくある質問リンク */
.footer-faq .faq-link {
	display: block;
	margin-top: 20px;
	font-size: 14px;
	color: #ffffff;
	text-decoration: none;
	padding-bottom: 5px;
}

/* フッター下部 */
.footer-bottom {
	border-top: 1px solid #828282;
	padding-top: 20px;
	max-width: 1728px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
.footer-copy {
	border-top: 1px solid #828282;
	padding-top: 20px;
	max-width: 1728px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
.footer-bottom,
.footer-copy {
	padding-left: 5%;
	padding-right: 5%;
	box-sizing: border-box;
}
.footer-info img {
	max-width: 150px;
	margin-bottom: 15px;
}

.footer-links {
	/* display: flex; */
	align-items: center;
}

.footer-links a {
	color: #ffffff;
	font-size: 14px;
	text-decoration: none;
}

.footer-links .dot-separator {
	width: 4px;
	height: 4px;
	background: #ffffff;
	border-radius: 50%;
	margin: 0 10px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
	.footer-container {
		flex-direction: column;
	}
	.footer-left,
	.footer-right {
		width: 100%;
		text-align: center;
	}
	.footer-buttons .btn {
		margin: 10px 0;
	}
}

@media (max-width: 768px) {
	.footer-left {
		flex-direction: column;
	}
	.footer-column {
		margin-bottom: 20px;
	}
}

/* ==============================
   レスポンシブ対応（1024px以下）
================================= */
@media (max-width: 1024px) {
	/* フッターコンテナの左右カラムを縦並びに */
	.footer-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	/* 左右カラムの幅を100%に */
	.footer-left,
	.footer-right {
		width: 100%;
	}
	/* 右カラム内のボタンの間隔を調整 */
	.footer-buttons .btn {
		margin: 10px auto;
	}
	/* フッター下部の情報も縦並びに */
	.footer-bottom,
	.footer-copy {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
}

/* ==============================
   レスポンシブ対応（768px以下）
================================= */
/* レスポンシブ対応 */
@media (max-width: 768px) {
	.navigation-section {
		flex-direction: column;
		gap: 15px;
		margin: 15px;
	}

	.navigation-links {
		flex-direction: column;
		gap: 20px;
	}

	.nav-item {
		width: 100%;
		max-width: 100%;
	}

	.contact-buttons {
		flex-direction: column;
	}
	footer {
		padding: 20px;
	}
	.footer-column ul li {
		font-size: 22px;
		text-align: left;
	}
	/* ナビゲーションセクションは既に縦並びになっていますが、
       フッター左カラム内のカラムも縦に積む */
	.footer-left {
		flex-direction: column;
	}
	.footer-column {
		width: 100%;
		margin: 0 0 20px 0; /* 下方向にスペースを確保 */
	}
	/* フッター右カラムのテキストを中央揃えに */
	.footer-right {
		text-align: center;
	}
	/* 必要に応じて、ボタンのサイズも調整 */
	.footer-buttons .btn {
		width: 80%; /* 例として画面幅に対して80% */
		height: auto; /* 高さは内容に合わせる */
		padding: 10px 0;
	}
	.contact-section h2 {
		font-size: 24px;
	}
	.contact-section p {
		font-size: 16px;
	}
	.contact-buttons .btn {
		width: 100%;
	}
	.download-link,
	.contact-link {
		width: 100%;
	}
}
