@charset "utf-8";
/* lp 青い空の図書館 p1*/
/*lp 青い空の図書館 p1 GoToTopSlyder*/
/*lp 青い空の図書館 p1 4ImagesSlyder(f_in-f_out)*/
/*lp 青い空の図書館 p1 ハンバーガーメニュー  */
/*lp 青い空の図書館 p1 5成績考査0517-3 Slyderなし */
/* 同一項目で複数の指定行がある場合、後続の行が有効です */

h1, h2, h3, h4, h5, h6{
  margin: 0;
  padding : 0;
}
h1{
	font-size: 180%;/*28px*/
	font-weight: bold;
    line-height: 1.25;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "serif"
}
h2{
	font-size : 100%;
	font-weight: bold;
 	font-family: "Yu Mincho", "Hiragino Mincho ProN", "serif"
}
h3{
	font-size : 100%;
	text-align: center;
	line-height: 1.4;
	padding: 5% 0;
/*  color : #ff0000;*/
}
h4{
	font-size : 100%;
/*  color : #ff0000;*/
}
h5, h6{
  font-size : 100%;	
}

/* ▼main▼*/
main{
	background: #F8F8F8;
	max-width: 980px;
	margin:0 auto;
}

/* ▼▼▼ ハンバーガーメニューCSS（ここから）（※2） ▼▼▼ */
/* ハンバーガーメニューの共通設定 */
nav.menu-wrapper #menu-btn-check {
    display: none;						/* チェックボックスは非表示 */
}
/* PCメニューの設定 */
nav.menu-wrapper {
	max-width: 980px;					/* メニュー最大幅 */
	margin: 0 auto;
}
nav.menu-wrapper .menu-content ul {
	display: flex;
    list-style: none;
}
nav.menu-wrapper .menu-content ul li {
	width: calc(100% / 5);
	padding: 1px 0;						/* メニューの上下の隙間 */
	border-right: 1px #84a2d4 solid; /*#ccc*/		/* メニュー間の区切り線 */
}
nav.menu-wrapper .menu-content ul li:first-child {
	border-left: 1px #84a2d4 solid; /*#ccc*/
}
/* メニュー間の最初の左の区切り線 */
nav.menu-wrapper .menu-content ul li a {
	display: block;
	text-align: center;
	text-decoration: none;
	color: #84a2d4;	/* #19448e #333*/					/* メニューの文字色 */
	font-size: 0.9rem;					/* メニュー（1段目）を文字サイズ */
	/*font-weight: bold;*/					/* メニュー（1段目）を太字 */
	/*background-color: #abced8;*/ /* #a2d7dd #a0d8ef*/
}
/*nav.menu-wrapper .menu-content ul li a span {
	font-size: 90%;*/					/* メニュー（2段目）の文字サイズ */
	/*font-weight: normal;	*/			/* メニュー（2段目）を通常文字 */
/*}*/
nav.menu-wrapper .menu-content ul li a:hover {
	opacity: 0.6;						/* オンマウス時の透明度 */
}

/* スマホメニューの設定 */
@media screen and (max-width: 760px) {
	nav.menu-wrapper .menu-btn {
	    position: fixed;				/* ボタン領域を右上に作成 */
	    top: 10px;						/* ボタンの縦位置 */
	    right: 10px;					/* ボタンの横位置 */
	    display: flex;
	    height: 60px;
	    width: 60px;
	    justify-content: center;
	    align-items: center;
	    z-index: 90;
	    background-color: rgba(132,162,212,0.5);/* rgba(132,162,212,0.4)  色変更 */
		cursor: pointer;
		border-radius: 50%;/* 10px 変更 */
		padding-top: 10px;/* 追加 */
	}
	nav.menu-wrapper .menu-btn span,		/* ボタンの2本線 */
	nav.menu-wrapper .menu-btn span:before,
	nav.menu-wrapper .menu-btn span:after {
	    content: '';
	    display: block;
	    height: 2px;/* 6px 変更 */
	    width: 23px;/* 35px 変更 */
	    border-radius: 1.5px;/* 3px 変更 */
	    background-color: #fff;				/* 2本線の色 */
	    position: absolute;
	}
	nav.menu-wrapper .menu-btn span:before {
	    bottom: 10px;						/* 上の線は上方向に10px移動 */
	}
/*	nav.menu-wrapper .menu-btn span:after {
	    top: 10px;*/							/* 下の線は下方向に10px移動 */
	/*	}*/
	/* ▲コメントアウト */
/*	nav.menu-wrapper #menu-btn-check:checked ~ .menu-btn span {*/
		/* ボタンクリック時：真ん中の線は非表示 */
/*	    background-color: rgba(255, 255, 255, 0);
	}*/
	/* ▲コメントアウト */
	nav.menu-wrapper #menu-btn-check:checked ~ .menu-btn span::before {
		/* ボタンクリック時：上の線を斜め（＼） */
	    bottom: 0;
	    transform: rotate(-45deg);/* 45deg 変更 */
	}
/*	nav.menu-wrapper #menu-btn-check:checked ~ .menu-btn span::after {*/
		/* ボタンクリック時：下の線を斜め（＼） */
		/* ▲コメントアウト */
	 /*   top: 0;
	    transform: rotate(-45deg);
	}*/
	nav.menu-wrapper #menu-btn-check:checked ~ .menu-content {
		/* ボタンクリック時：メニュー領域を表示 */
	    left: calc(100% - 250px);			/* メニュー領域の引き出し位置（0にすると左端まで） */
	}/*calc(100% - 220px) 変更 */
	nav.menu-wrapper .menu-content {		/* メニューのコンテンツ領域 */
		width: 100%;
		height: 530px;/* 100vh 変更 */						/* autoにするとコンテンツ領域分までに */
	    position: fixed;
	    top: 0;
	    left: 100%;
		overflow: auto;
	    z-index: 80;
	    padding: 0 10px;					/* メニュー領域の左右の隙間 */
	    background-color: rgba(132,162,212,0.83);/* rgba(0,0,0,0.7) 色変更 */	/* メニュー領域の背景色 */
	    transition: all 0.5s;				/* メニュー領域の引き出しスピード */
	}
	nav.menu-wrapper .menu-content ul {	/* メニューの領域を作成 */
		display: block;
		width: 200px;						/* メニュー領域の横幅を設定（100%にすると横幅いっぱい） */
	    padding-top: 80px;					/* ボタン領域分を下に下げる */
	    list-style: none;
	}
	nav.menu-wrapper .menu-content ul li {
			/* メニューの項目領域 */
		width: 100%;
		border-right: none;
	    border-top: solid 1px #fff;			/* メニュー項目間の線色 */
	}
	nav.menu-wrapper .menu-content ul li:first-child {
		border-left: none;
	}
	nav.menu-wrapper .menu-content ul li a {
		/* メニューの項目領域（リンク実体） */
		display: block;
	    font-size: 16px;
	    text-decoration: none;
	    color: #fff;						/* メニュー項目の文字色 */
		/*font-weight: bold;*/
	    padding: 10px 0px;
	    /*text-align: center;*/ /* ??コメントアウト */				/* メニュー項目の表示位置 */
	}
	nav.menu-wrapper .menu-content ul li a span {
		font-size: 90%;
		font-weight: normal;
	}
	nav.menu-wrapper .menu-content ul li a:hover {
		opacity: 0.6;
	}
}
/* ▲▲▲ ハンバーガーメニューCSS（ここまで） ▲▲▲ */

/*コンテンツ幅より大きい画像をリサイズせずに中央寄せで表示する2つの方法https://tnyk.jp/frontend/centering-wide-img/*/
.maincontents {
  max-width: 980px;
  margin: 0 auto;
  background: #eee;
}

.box1 {
  position: relative; /* 中央寄せしたい要素の親タグにrelativeをつける */
  overflow: hidden;  /* はみ出した部分は表示しないようにする */
  height: 650px; /* 高さは固定値を入れる */
}

.box1 img {
  position: absolute;
  top: 50%; /* トップを基準に中央配置 */
  left: 50%; /* 左を基準に中央配置 */
  width: 980px;
  height: 650px;
  transform: translate(-50%, -50%);
/* margin-top: -300px;
  margin-left: -600px;
	ネガティブマージンを利用する方法は、要素のサイズが固定の場合しか使えないため、最近だとtransformを利用して設定することがほとんど*/
}
	.top-logo {
  	position: absolute;
  	top: 1.8em;
  	right: auto;
  	padding: 10px 0 0 10px;
	}
	.center-txt{
	/* ▼top画像relativeに対して一連のテキスト全体をabsoluteする */
	position: absolute;
	top: 3rem/*10%*/;
	left: 1%;
	right:1%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	/* ▲top画像relativeに対して一連のテキスト全体をabsoluteする */
	}

	h2{
	font-size: 110%;
	color: #FFFFFF;
	text-shadow: 0px 3px 4px #000;
	/*rgb(61 70 70)*/
     /*▲右に0px、下に3pxの場所に4pxのぼかし*/
	text-align: center;
	margin-bottom: 4.5em;
	/* ▲行間をResponsive対応で開ける https://webukatu.com/wordpress/blog/12300/ */
	}
	.toptxt1{
    text-align: center;
	font-size: 120%;
	line-height: 180%;
	color: #FFFFFF;
	text-shadow: 0px 3px 4px #000;
	/*rgb(61 70 70)*/
     /*▲右に0px、下に3pxの場所に4pxのぼかし*/
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "serif";
	margin-bottom: 5em;
	}
	.toptxt2{
    text-align: center;
	line-height: 180%;
	color: #FFFFFF;
	text-shadow: 0px 3px 4px #000;
	/*rgb(61 70 70)*/
	  /*▲右に0px、下に3pxの場所に4pxのぼかし*/
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "serif";
	margin-bottom: 3em;
	}

	h1{
	text-align: center;
	color: #FFFFFF;
	text-shadow: 0px 5px 4px #000;
	/*rgb(61 70 70)*/
	/*▲右に0px、下に5pxの場所に4pxのぼかし*/
	}

/* 蔵書検索 */
.kensaku{
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
	/* wrap は複数行の Flexアイテムを上から下へと配置します。*/
	margin-top: 5%;
}
.zousho{
    width: 100px;
    height: 30px;
	text-align: center;
	font-size: 1.1rem;
	padding: 10px 0 30px;
	margin-bottom: 20px;
}
/*かんたん蔵書検索ボタン1*/
.request-input1 {
	background-color: #F8F8F8;
    width: 300px;
    height: 50px;
    border-radius: 40px;
	border: none;
    box-shadow: inset -6px -6px 8px #FFFFFF, inset 6px 6px 8px rgba(0, 0, 0, 0.07);  
	/*background-image: url("../images/search.png");*/
    /*background-repeat: no-repeat;*/
    background-position: left 15px center;
	text-align: center;
    padding: 20px 50px;
	margin: 0 50px 50px; 
}
/*詳しく検索ボタン2*/
.request-input2 {
	background-color: #F8F8F8;
    width: 300px;
    height: 50px;
    border-radius: 40px;
	border: none;
    box-shadow: inset -6px -6px 8px #FFFFFF, inset 6px 6px 8px rgba(0, 0, 0, 0.07);
	/*background-image: url("../images/search.png");
    background-repeat: no-repeat;
    background-position: left 15px center;*/
	text-align: center;
	line-height: 3em;
	margin-bottom: 50px;
}

/* 施設案内 */
.services {
  display: flex;
  flex-wrap: wrap;
	/* wrap は複数行の Flex アイテムを上から下へと配置します。*/
}
.item {
  width: 25%;
  padding: 1.2em 0.6em 0.6em 0.6em;
  box-sizing: border-box;
	/*box-sizingで要素のwidthとheightに、paddingとborderのサイズを含めるかどうかを指定します。
	box-sizing: border-box; を指定すると、レスポンシブ対応の際にレイアウト崩れを起こしづらくなります。*/
	padding-bottom: 5%;
}
.item img {
  width: 100%;
}

.item p {
  margin: 5px 0 10px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

/*会員登録案内*/
.lgreen-back{
	position: relative;
	max-width: 100%;
	/*background-color: #a0d8ef*//*#83ccd2#82DAC4*/;
	background: linear-gradient(#a0d8ef,#F8F8F8);
	padding: 0.5em 0 3em;
	margin: 0 0 4%
}
.description{	
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	padding-top: 1em;
}
.membership{
	text-align: center;
	font-size: 110%;
	padding: 0 0 3%;
}
/*詳しくはこちらボタン*/
.description-txt {
	background-color: #eaedf7;
    width: 300px;
    height: 50px;
    border-radius: 40px;
	border: none;
    box-shadow: inset -6px -6px 8px #F4F5F5, inset 6px 6px 8px rgba(0, 0, 0, 0.07);
	text-align: center;
	line-height: 3em;
}


/* MAP・お問い合わせ・住所 */
.map-container{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;/*between*/
	align-items: center;
	padding: 2%
}
/*	.map{
	margin-bottom: 10%;
}*/
	.map-guide{
	font-size: 80%;
	padding: 5% 5% 0 0;
	}
.address{
	text-align:center;
 	}
/*お問い合わせボタン*/
	.center-btn2{
	display: flex;
	justify-content: center;
	padding: 15% 0 30%;
	}
	.question-btn{
	position: absolute;
	background-color: #F8F8F8;
    width: 300px;
    height: 50px;
    border-radius: 40px;
	border: none;
    box-shadow: inset -6px -6px 8px #FFFFFF, inset 6px 6px 8px rgba(0, 0, 0, 0.07);
	/*background-image: url("../images/search.png");
    background-repeat: no-repeat;
    background-position: left 15px center;*/
	text-align: center;
	line-height: 3em;
	margin-bottom: 30px;
	}
/* 住所 */
	.address-a{ 
	margin-bottom: 20%;
	}

@media only screen and (max-width: 1280px){
body{
background: #333333;
}
}
@media only screen and (max-width: 960px){
body{
background: #666666;
}
}
@media (max-width: 640px) {
  .item {
    width: 100%;
}
}

.footerback{
	background-color: #a0d8ef;
	text-align: center;
	padding: 10px 0px;
	/*margin-top: 3%;*/
}
/* ▼▼▼ ページトップCSS（ここから）（※2） ▼▼▼ */
/* ページトップ（jQueryの基本形でデザイン変更）の設定 */
#page-top {								/* スクロールボタンの配置位置 */
	position: fixed;
	right: -40px;
	bottom:10px;
	z-index: 2;
	transform: translateY(100px);
}
@keyframes UpAnime{						/* スクロールボタンを上に上げるアニメーション */
	from {
		transform: translateY(100px);
	}
	to {
		transform: translateY(0);
	}
}
#page-top.UpMove {
	animation: UpAnime 0.5s forwards;
}
@keyframes DownAnime{					/* スクロールボタンを下に下げるアニメーション */
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(100px);
	}
}
#page-top.DownMove {
	animation: DownAnime 0.5s forwards;
}
#page-top a {							/* スクロールボタンのスタイル設定 */
	display: block;
	/*width: 60px;*/
	/*height: 60px;*/
	padding: 20px 60px 0 0;
	/*border-radius: 8px;
	background: #1c739d;	*/			/* スクロールボタンの背景色 */
	/*opacity: 0.8;*/
	/*font-size: 2.2rem;
	line-height: 0.8rem;
	color: #fff;*/						/* スクロールボタンの文字色 */
	/*text-align: center;
	text-decoration: none;*/
	transition: all 0.3s;
}
#page-top a span {
	font-size: 0.6rem;
}
#page-top a:hover{
	opacity: 0.6;
}
/* ▲▲▲ CSS（ここまで） ▲▲▲ */	