@charset "utf-8";
/* CSS Document */
body {
	font-family:  "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
	color: #333;
	position: relative; /* ホバーリンクの基準 */
}

.image-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 0 20px 0;
}

.image-container img {
	max-width: 100%;
	height: auto;
	margin-bottom: 0;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.hover-image-link {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 200px; /* サイズ調整 */
	height: auto;
	opacity: 0; /* 最初は非表示 */
	transition: opacity 0.5s ease-in-out;
	z-index: 10; /* 他の要素より前面に表示 */
}

.hover-image-link img {
	display: block;
	width: 100%;
	height: auto;
}

.button-container {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-bottom: 20px;
	padding: 0 20px;
	box-sizing: border-box;
}

.button-link {
	display: block;
	padding: 30px 0;
	width: 1000px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background-image: linear-gradient(to bottom, #cd853f 0%, #a0522d 30%, #d2691e 60%, #e67e22 100%);
	border: none;
	border-radius: 5px;
	font-size: 2.3em;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.button-link:hover { background-image: linear-gradient(to bottom, #deb887 0%, #8b4513 30%, #b8860b 60%, #cd853f 100%); }

.data-table {
	margin: 20px auto;
	border-collapse: collapse;
	border: 1px solid #ddd;
}

.data-table th,
.data-table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}

.data-table th {
	background-color: #f0f0f0;
	font-weight: bold;
	text-align: left;
}

@media (min-width: 768px) {
.data-table { width: 1000px; }
}

@media (max-width: 767px) {
.data-table { width: 96%; }

.data-table th,
.data-table td {
	padding: 6px;
	font-size: 0.7em;
}
}

footer {
	background-color: #2E1F1C;
	color: #fff;
	padding: 50px;
	text-align: center;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 30px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li a {
	color: #fff;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-links li a:hover { color: #ffcc00; }

.copyright {
	font-size: 0.9em;
	margin-top: 30px;
}

@media (max-width: 1021px) {
/*.button-link { width: 100%; }*/
.hover-image-link {
	opacity: 1;
}
}

@media (max-width: 1020px) {
.hover-image-link {
 	opacity: 0 !important;
	pointer-events: none;
}
}

@media (max-width: 600px) {
.footer-links {
	flex-direction: column; /* 縦並びにする */
	align-items: center; /* 中央揃え */
	gap: 10px;
}

.data-table { width: 96%; }

.data-table th,
.data-table td {
	padding: 6px;
	font-size: 0.7em;
}
}