@charset "UTF-8";
/* CSS Document */

#contents {
	background-image: url(../img/top_mimgback.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-color: #d3eafb;
	overflow: hidden;
}
#mimg {
	max-width: 750px;
	margin: 0 auto;
	padding-top: 200px;
}
#mimg img {
	width: 100%;
	height: auto;
}

#tel {
	position: absolute;
	top: 661px;
	left: 0;
	right: 0;
	margin: auto;
	width: 730px;
	box-sizing: border-box;
	border: 6px solid #004B9B;
	border-radius: 18px;
	background-color: #FFF;
}
#tel h3 {
	display: block;
	text-align: center;
	background-color: #004B9B;
	color: #FFF;
	font-size: 42px;
	line-height: 83px;
	letter-spacing: 7.38px;
}
#tel > div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding-top: 6px;
}
#tel > div > div:nth-child(1) {
	font-size: 33px;
	font-weight: 800;
	letter-spacing: 3.77px;
	color: #004B9B;
}
#tel > div > div:nth-child(1) i {
	color: #E9819D;
	margin-right: 12px;
}
#tel > div > div:nth-child(2) {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 1.6px;
	color: #004B9B;
}
#tel > div > div:nth-child(3) {
	padding-top: 4px;
}

#mes {
	padding: 120px 0 0;
}
#mes h2 {
	text-align: center;
	width: 528px;
	height: 112px;
	background-image: url(../img/top_mest.png);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% auto;
	font-size: 31px;
	line-height: 90px;
	letter-spacing: 2.58px;
	font-weight: 500;
	margin: 0 auto;
}
#mes .items {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 1010px;
	margin: 25px auto 0;
}
#mes .items div {
	max-width: 304px;
	background-color: #FFF;
	border-radius: 5px;
	text-align: center;
	font-size: 23px;
	line-height: 1.13;
	letter-spacing: 0.8px;
	font-weight: 500;
	box-sizing: border-box;
	padding: 15px;
	margin: 0 25px 20px;
}
#mes .items div:nth-child(1) {
	width: 304px;
}
#mes .items div:nth-child(2) {
	width: 252px;
}
#mes .items div:nth-child(3) {
	width: 304px;
}
#mes .items div:nth-child(4) {
	width: 232px;
}
#mes .items div:nth-child(5) {
	width: 268px;
}
#mes .items div:nth-child(6) {
	width: 218px;
}
#mes .items div:nth-child(7) {
	width: 178px;
}
#mes .items div:nth-child(8) {
	width: 232px;
}
#mes .items div:nth-child(9) {
	width: 268px;
}

#center {
	max-width: 1090px;
	margin: 158px auto 0;
	padding-bottom: 40px;
}
#center h3 {
	color: #FFF;
	font-size: 29px;
	line-height: 1.44;
	letter-spacing: 0.91px;
	font-weight: 500;
}
#center h4 {
	color: #004B9B;
	font-size: 22px;
	line-height: 1.44;
	letter-spacing: 0.91px;
	font-weight: 500;
}
#center .tt {
	background-color: #004B9B;
	border-radius: 12px;
	text-align: center;
	padding: 20px;
	position: relative;
	cursor: pointer;
	margin-bottom: 33px;
}
#center .tt.slt {
	margin-bottom: 0;
}
#center .tt::before {
	content: "";
	color: #004B9B;
	display: block;
	text-align: center;
	font-size: 0;
	width: 48px;
	height: 48px;
	background-color: #FFF;
	background-image: url(../img/top_plus.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 20px;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
}
#center .tt.slt::before {
	background-image: url(../img/top_minus.png);
}
#center .tmes {
	display: none;
	background-color: #FFF;
	border-radius: 12px;
	padding: 45px 43px 25px;
	font-size: 19px;
	line-height: 2;
	letter-spacing: 0.44px;
	font-weight: 500;
	margin: 18px 0;
}
#center .tmes .img {
	text-align: center;
	margin-top: 15px;
}
#center .tmes .flow {
	text-align: center;
	margin: 24px;
	padding: 24px 0 12px;
	background-color: #f0f0f0;
	border-radius: 4px;
}
#center .tmes .flow > div {
	margin-bottom: 16px;
}
#center .tmes .flow .flow_t {
	font-size: 22px;
}
#center .tmes .flow .flow_arrow {
	font-size: 18px;
	color: #004B9B;
}




#about {
	background-image: url(../img/top_gback1.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% auto;
	text-align: center;
	padding-top: 25px;
}
#about h2 img {
	width: 458px;
	height: auto;
}
#about > p {
	font-size: 26px;
	line-height: 1.69;
	letter-spacing: 2.97px;
	font-weight: 800;
	text-align: center;
	padding: 60px 0 48px;
}
#about .icon {
	width: 121px;
	height: 121px;
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
}
#about .icon1 {
	background-image: url(../img/top_about_i1.png);
}
#about .icon2 {
	background-image: url(../img/top_about_i2.png);
}
#about .icon3 {
	background-image: url(../img/top_about_i3.png);
}
#book_list .swiper-wrapper {
	display: flex;
	justify-content: center;
}
#book_list .book {
	width: 296px;
	padding-top: 73px;
	position: relative;
}
#book_list .book .img {
	width: 208px;
	margin: 0 auto;
	font-size: 0;
	box-shadow: 10px 17px 0 0 rgba(0,0,0,0.10);
}
#book_list .book .img img {
	width: 100%;
	height: auto;
}
#book_list .book > p {
	font-size: 25px;
	line-height: 1.36;
	letter-spacing: 2.86px;
	font-weight: 800;
	text-align: center;
	padding: 25px 0 5px;
}

#news {
	background-image: url(../img/top_gback1.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% auto;
	text-align: center;
	padding-bottom: 90px;
}
#news h2 {
	padding: 245px 0 5px;
}
#news h2 img {
	width: 290px;
	height: auto;
}
#news > p {
	text-align: center;
	font-size: 16px;
	line-height: 1.4;
	letter-spacing: 1.83px;
	font-weight: 500;
}
#news > p a {
	text-decoration: none;
	color: #23303A;
}
#news > p a i {
	margin-left: 5px;
	color: #E9819D;
}
#news_list {
	max-width: 1090px;
	margin: 55px auto 0;
}
#news_list .news {
	border-bottom: 1px solid #979797;
	margin-top: 25px;
}
#news_list .news .nhead {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}
#news_list .news .nhead p:first-child {
	display: inline-block;
	width: 128px;
	border-radius: 3px;
	color: #FFF;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 2.74px;
	font-weight: 500;
	text-align: center;
	margin-right: 10px;
}
#news_list .news .nhead p.c1 {
	background-color: #004B9B;
}
#news_list .news .nhead p.c2 {
	background-color: #D19B0F;
}
#news_list .news .nhead p:last-child {
	font-size: 14px;
	line-height: 26px;
	letter-spacing: 1.6px;
}
#news_list .news .txt {
	font-size: 20px;
	line-height: 1.35;
	letter-spacing: 2.29px;
	text-align: justify;
	padding: 10px 0 20px;
}
#news_list .news .txt a {
	text-decoration: none;
	color: #23303A;
}

#access {
	background-image: url(../img/top_gback2.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-color: #FFF;
	text-align: center;
	padding-bottom: 100px;
}
#access h2 img {
	width: 290px;
	height: auto;
	margin: 135px 0 80px;
}
#access p.address {
	font-size: 18px;
	letter-spacing: 2.36px;
	text-align: center;
	line-height: 2;
	padding: 10px 0 40px;
}
#access p.info {
	max-width: 608px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 2;
	letter-spacing: 2.36px;
	text-align: center;
	padding: 10px 0 0;
}
#access .map_img {
	max-width: 608px;
	margin: 0 auto;
}
#access .map_img img {
	width: 100%;
	height: auto;
}

@media screen and (max-width: 790px) {
	#contents {
		background-image: url(../img/top_mimgback_sp.jpg);
	}
	#mimg {
		max-width: 325px;
		padding-top: 130px;
	}
	#tel {
		width: 327px;
		top: 351px;
	}
	#tel h3 {
		font-size: 16px;
		line-height: 49px;
		letter-spacing: 1.78px;
	}
	#tel > div {
		flex-direction: column;
		gap: 0;
		padding-top: 0;
	}
	#tel > div > div:nth-child(1) {
		font-size: 24px;
		letter-spacing: 2.74px;
	}
	#mes {
		padding-top: 190px;
	}
	#mes h2 {
		width: 320px;
		height: 68px;
		font-size: 18px;
		line-height: 55px;
		letter-spacing: 1.49px;
	}
	#mes .items {
		padding: 0;
		justify-content: center;
	}
	#mes .items div {
		font-size: 16px;
		letter-spacing: 0.55px;
		padding: 10px;
		margin: 0 0 10px;
		max-width: calc(100% - 68px);
	}
	#mes .items div:nth-child(1) {
		width: 100%;
	}
	#mes .items div:nth-child(2) {
		width: 100%;
		margin-left: 0;
	}
	#mes .items div:nth-child(3) {
		width: 100%;
	}
	#mes .items div:nth-child(4) {
		width: 100%;
		margin-left: 0;
	}
	#mes .items div:nth-child(5) {
		width: 100%;
	}
	#mes .items div:nth-child(6) {
		width: 100%;
		margin-left: 0;
	}
	#mes .items div:nth-child(7) {
		width: 100%;
	}
	#mes .items div:nth-child(8) {
		width: 100%;
		margin-left: 0;
	}
	#mes .items div:nth-child(9) {
		width: 100%;
	}
	#center {
		margin: 40px 12px 0;
	}
	#center .tt {
		font-size: 15px;
		letter-spacing: 0.46px;
		padding: 12px;
		border-radius: 6px;
	}
	#center .tt::before {
		width: 30px;
		height: 30px;
		background-size: 14px;
		right: 12px;
		margin-bottom: 23px;
	}
	#center .tmes {
		border-radius: 6px;
		padding: 18px 12px;
		font-size: 16px;
		line-height: 1.68;
		letter-spacing: 0.37px;
	}
	#center .tmes .img img {
		width: 264px;
		height: auto;
		margin-top: 15px;
	}
	#about {
		background-image: url(../img/top_gback1_sp.jpg);
		padding-top: 0;
	}
	#about h2 img {
		width: 326px;
		height: auto;
		margin-top: 20px;
	}
	#about > p {
		font-size: 16px;
		letter-spacing: 1px;
		padding: 20px 25px 35px;
	}
	#about .icon {
		width: 80px;
		height: 80px;
		left: calc(50% - 144px);
	}
	#book_list .book {
		margin-top: 50px;
		padding-top: 52px;
		width: 288px;
	}
	#book_list .book:first-child {
		margin-top: 0;
	}
	#book_list .book > p {
		font-size: 20px;
		letter-spacing: 0;
		padding-bottom: 10px;
	}
	#book_list .swiper-wrapper {
		flex-direction: column;
		flex-wrap: wrap;
        gap: 0;
	}
	#book_list .swiper-slide {
        width: 100% !important;
    }
	.book-swiper-pagination {
		display: none;
        text-align: center;
        padding-top: 25px;
    }
	.book-swiper-pagination .swiper-pagination-bullet {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background-color: white;
        border: 1px solid #9b9b9b;
        position: relative;
        opacity: 1;
        margin: 0 7px !important;
    }
    .book-swiper-pagination .swiper-pagination-bullet-active {
        background-color: white; /* 必要に応じて背景色を再設定 */
    }
    .book-swiper-pagination .swiper-pagination-bullet-active::after {
        content: '';
        width: 10px;
        height: 10px;
        background-color: #004B9B;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
	#news {
		background-image: url(../img/top_gback1_sp.jpg);
	}
	#news h2 {
		padding: 150px 0 15px;
	}
	#news_list {
		margin: 30px 12px 0;
	}
	#news_list .news .txt {
		font-size: 16px;
		letter-spacing: 1.83px;
	}
	#access {
		background-image: url(../img/top_gback2_sp.jpg);
		padding-bottom: 40px;
	}
	#access h2 img {
		margin: 70px 0 20px;
	}
	#access .map {
		margin: 0 25px;
		height: 200px;
	}
	#access .map iframe {
		width: 100%;
		height: 100%;
	}
	#access p.address {
		font-size: 16px;
		line-height: 1.8;
		letter-spacing: 1px;
		padding: 20px 25px 50px;
	}
	#access .map_img {
		margin: 0 25px;
	}
	#access p.info {
		margin: 0 25px;
		font-size: 16px;
		line-height: 1.8;
		letter-spacing: 1px;
	}
}