@charset "utf-8";

/*ページの幅をウィンドゥの幅に設定*/

body {
  margin: 5px;
  width: 850px;
  background-image:url("../img/background.png");
  background-repeat: repeat;
  font-family: "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
margin-right: auto;
margin-left: auto;
}




/*コンテンツの配置*/
#mainContents {
	width: 100%;
	margin: 20px 5px;
	padding: 20px 10px;
	background-color: #fff;
	-moz-box-shadow: 0 0 2px #ddd;
	-webkit-box-shadow: 0 0 2px #ddd;
	box-shadow: 0 0 2px #ddd;
	border-radius: 30px;
	box-sizing: border-box;

	
	
}

/*リンク場所の修飾*/


a:link {
 	color: #000000;
	background-color: #FFFF33;
	text-decoration: underline; /* 下線を出す */
	font-weight: bold;
}

a:hover {
  color: #000000;
  background-color: #ffff33;
  text-decoration: none; /* 下線を出す */
}



/* maintitle */
 
.maintitle{
	margin:0 20px;
	padding: 10px;
	
}

/* コンテンツ内のリスト */

#mainContents ul {
	margin: 10px 0;
	font-size: 16px; 
	line-height:2.5em;
}
#mainContents ul li {
	margin:  0 0 20px;
	list-style-type: none;
}
#mainContents ul li ul {
	margin: 0;
}

/* おすすめ絵本用のリスト */
.thumbnail{display: flex;
flex-wrap: wrap;
justify-content: space-around;
}

/* リンク用のリスト */
.liblink{display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: flex-start;
}



/*コンテンツ行*/
p { 	padding: 3px 5px;
	font-size: 1em; 
	line-height:2.5em;
 	letter-spacing: 0.1em;

}



/* subtit01 について*/

.subtit01 {
	margin: 10px 0 10px 0;
	padding: 5px 10px 5px 15px;
	font-size: 120%;
　　　　color: #e59202; background-color: #fcfb9f; border-left: 3px solid #57caf6; 
}

/* subtit02 について*/

.subtit02 {
	margin: 30px 0 15px 0;
	padding: 5px 10px 5px 15px;
	font-size: 120%;
　　　　color: #e59202; background-color: #fcfb9f; border-left: 3px solid #57caf6; 
}

/* subtit03 について*/

.subtit03 {
	margin: 30px 0 15px 0;
	padding: 5px 10px 5px 15px;
	font-size: 120%;
　　　　color: #e59202; background-color: #fcfb9f; border-left: 3px solid #ffc1c2; 
}


/* ルビ設定*/ 

ruby {
  line-height: 1.5; /* 調整例 */
}

rt {
position: relative;
font-size: 1em;
zoom: 0.6;
translate: 0 -0.3em;
}
@-moz-document url-prefix() {
	rt {
		position: relative;
		top: -0.3em;
	}
}




/*スマホ中央寄せ*/

@media screen and ( max-width:768px )
{
.indextable{
display: block;
width:auto;
margin: 0 auto;
}
}



/*siraberuページの説明のための*/
.s_table{
	margin-top: 10px;
	margin-bottom: 20px;
	width: 100%;
       	

}

.s_table th{
	padding: 5px 10px;
	margin: 5px 10px;
	background:rgba(130,209,230,0.5);
	text-align: right;
	font-weight: bold;
	white-space: nowrap;
	border:2px solid #ffffff;
}

.s_table td{
	padding: 5px 10px;
	margin: 5px 10px;

}





/* img */

img[src$="a.jpg"]{
    box-shadow: 0px 0px 5px gray;
}

img[src$="z.jpg"]{
    box-shadow: 0px 0px 5px gray;
}

img[src$="z.png"]{
    box-shadow: 0px 0px 5px gray;
}


/*その他のボタン*/

.btn {
  padding: 1em;
  border: none;
  border-radius: 30px;
  color: #3b2520;
  font-weight:bold;
  background-color:rgba(130,209,230,0.5);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, .3);
}

@media (hover: hover) {
  .btn:hover {
    background-image: linear-gradient(#f95d41 0%, #f89e87 100%);
    box-shadow: 2px 8px 4px rgba(0, 0, 0, .3);
    transform: translateY(-2px);
  }
}

@media (hover: none) {
  .btn:active {
    background-image: linear-gradient(#f95d41 0%, #f89e87 100%);
    box-shadow: 2px 8px 4px rgba(0, 0, 0, .3);
    transform: translateY(-2px);
  }

}


