@charset "utf-8";

body {
	background-color: #fdf6e3;
	color: #333;
}

.jump {
	margin-top: -66px;
	padding-top: 66px;
}

.header {														/* 問題07：セレクタを指定 */
	background: #95e39c;;
}

.header header h1 {
	padding: 20px 0;
	font-size: 3em;
	font-weight: bold;
	color: #1d5875;
	text-align: center;
}

.header header h1 span {
	padding: 0 40px 0 0;
	font-size: 0.7em;
}

:root {
	--swiper-navigation-color: #ffffff;
	--swiper-pagination-color: #ffffff;
	--swiper-pagination-bullet-inactive-color: #bbbbbb;
	--swiper-pagination-bullet-inactive-opacity: 1;
	--swiper-pagination-bullet-horizontal-gap: 8px;
	--swiper-pagination-bullet-width: 8px;
	--swiper-pagination-bullet-height: 8px;
}

.header .swiper .swiper-wrapper .swiper-slide img {
	width: 100%;
}

.container {
	width: 960px;
	margin: 0 auto;
	padding: 20px;
}

.nav {														/* 問題08：セレクタを指定 */
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #95e39c;;
}

.nav nav {
	text-align: center;
}

.nav nav a {
	margin: 0 15px;
	text-decoration: none;
	color: #1d5875;
	font-weight: bold;
}

section {
	margin: 40px 0;
}

.section h2 {														/* 問題09：セレクタを指定 */
	margin: 0 0 30px 0;
	font-size: 1.8em;
	font-weight: bold;
	color: #1d5875;
	border-bottom: 4px #1d5875 dotted;
	line-height: 1.4;
}

section h2::first-letter {
	font-size: 1.5em;											/* 問題10：フォントサイズを指定 */
}

.animal-news {
	background: #ffedd2;
}

.animal-news .news-item {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.animal-news .news-item img {
	width: 200px;												/* 問題11：横幅を指定 */
	height: auto;
	object-fit: cover;
	border-radius: 6px;
}

.facility .facility-info {
}

.facility .facility-info dt {
	float: left;
}

.facility .facility-info dd {
	margin-left: 120px;
}

.facility .facility-info dd ul {
	margin-left: 20px;
}

.access {
	background: #ffedd2;										/* 問題12：背景色を指定 */
}

.access iframe {
	width: 100%;
	height: 300px;
}

.access p {
	text-align: center;
}

.gallery {
	margin: 0 0 40px 0;
}

.gallery .gallery-item {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.gallery .gallery-item div {
	width: calc((100% - 60px) / 4);
	border-radius: 6px;
	overflow: hidden;
	position: relative;
}

.gallery .gallery-item div img {
	width: 100%;
	height: auto;
}

.gallery .gallery-item div p {
	width: 100%;
	background: #00000060;
	color: #fff;
	text-align: center;
	position: absolute;
	bottom: 0;
}

.footer footer {
	padding: 20px;
	font-size: 0.9em;
	text-align: center;
	background: #95e39c;;
}
