/* CSS Document */

main h1 {
	font-size: 30px;
	color: #666666;
	margin-top: 0px;
	font-weight: normal;
	letter-spacing: 0.1em;
	padding-bottom: 3px;
	margin-right: 20px;
	margin-left: 20px;
	margin-bottom: 0px;
	border-bottom-width: 5px;
	border-bottom-style: double;
	border-bottom-color: #CCC;
	padding-left: 3px;
}

#read {
	font-size: 16px;
	line-height: 180%;
	padding: 10px;
	margin-bottom: 20px;
	margin-right: 15px;
	margin-left: 15px;
}

#style_top ul {
	list-style-type: none;
	display: flex;/*Flex box */
	flex-flow: row wrap;
	align-content: flex-start;
	justify-content: space-around;
	margin-right: auto;
	margin-left: auto;
	margin-top: 0px;
	margin-right: 20px;
	margin-bottom: 0px;
	margin-left: 20px;
	padding-top: 15px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
#style_top li {
	list-style-type: none;
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 20px;
	margin-left: 5px;
}
#style_top img {
	width: 300px;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
	margin-bottom: 5px;
}
#style_top h2 {
	font-size: 18px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
#style_top p {
	font-size: 16px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.empty_item {
	width: 300px;
	height: auto;
}

#style_top li a:hover {/* マウスオーバー時に色変更*/
	opacity: 0.7;
	background-color: #FFF;
}

#style_top li a {
	text-decoration: none;
	color: #333;
}


/*　画像の大きさ　*/

.w100 img {
	width: 100%;
	height: auto;
}
.w95 img {
	width: 95%;
	height: auto;
}
.w60 img {
	width: 60%;
	height: auto;
}
.w45 img {
	width: 45%;
	height: auto;
}
.w30 img {
	width: 30%;
	height: auto;
}

.w40 img {
	width: 40%;
	height: auto;
}
.imgr {
	float: right;
	margin-left: 16px;
	margin-top: 6px;
	margin-bottom: 6px;
}
.imgl {
	float: left;
	margin-right: 16px;
	margin-top: 6px;
	margin-bottom: 6px;
}


 @media screen and (max-width:768px) {

.w95 img {
	width: 100%;
	height: auto;
}
.w60 img {
	width: 100%;
	height: auto;
}
.w45 img {
	width: 100%;
	height: auto;
}

.w40 img {
	width: 100%;
	height: auto;
}
.w30 img {
	width: 100%;
	height: auto;
}
.imgr {
	float: none;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}
.imgl {
	float: none;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}

}


 @media screen and (max-width:640px) {

main h1 {
	font-size: 20px;
	color: #666666;
	margin-top: 0px;
	font-weight: normal;
	letter-spacing: 0em;
	padding-bottom: 3px;
	margin-right: 10px;
	margin-left: 10px;
	margin-bottom: 10px;
	border-bottom-width: 5px;
	border-bottom-style: double;
	border-bottom-color: #CCC;
	padding-left: 3px;
} 

#read {
	font-size: 16px;
	line-height: 180%;
	margin-bottom: 20px;
	padding: 0px;
	margin-right: 10px;
	margin-left: 10px;
}

#style_top ul {
	display: block;
	margin-right: auto;
	margin-left: auto;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 20px;
}
#style_top li {
	text-align: center;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	padding-right: 10px;
	padding-left: 10px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}
#style_top img {
	width: 80%;
	max-width: 300px;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	padding-top: 10px;
	padding-bottom: 5px;
}
 }
