@charset "utf-8";
/* CSS Document */

body {
	margin: 0;
	font-family:sans-serif;
	color:#252525;
	font-size:16px;
	line-height: 1.7;
	background-color: #fff;
}

.container {
	margin: 0 auto;
	max-width: 960px;
	padding: 30px;
}

header {
	padding: 25px;
    /*letter-spacing: 0.25em;*/
	text-align: center;
	background-color: #808000;
    color: aliceblue;
	
background-size: cover;
}

footer {
	padding: 15px;
	background: #6b8e23;
	color: #fff;
	margin-top: 30px;
	text-align: center;
}

/* 見出しh1～h3 */
h2{
	text-align: center;
}

h3 {
padding: 10px;
color: #364e96;
background: #eaf3ff;
border-bottom: solid 3px #516ab6;
font-size: 26px;
justify-content: center;
text-align: center;
max-width: 500px;
margin-left: auto;
margin-right: auto;
}

/* ナビゲーション */
.menu {
margin: 10px 0 30px;
padding: 0;
list-style-type: none;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.menu li a {
display: block;
padding: 10px 20px;
color: #fff;
text-decoration: none;
text-align: center;
background-color: darkcyan;
margin: 7px;
border-radius: 5px;
}
.menu li a:hover {
background-color: palevioletred;
color: #fff;
}


/* 画像レスポンシブ*/
img{
max-width:100%;
height:auto;
}

/* テキストや画像をセンター*/
.naka{
text-align: center;
font-weight: bold;
}

/* スムーススクロールにする */
html{
scroll-behavior: smooth;
}

/* リンク画像をマウスオーバーで明るく */
a img:hover {
opacity: 0.6;
}

/* 回り込みの指定 */
.migi{
margin:0 0 25px 25px;
float:right;
}

.hidari{
margin: 0 25px 25px 0;
float: left;
}

@media only screen and (max-width:767px){
img.migi, img.hidari{
display:block;margin:5px auto;
}
.migi,.hidari{
float:none;
}
}
.text{
max-width:500px;
margin-left:240px;
}

/* bg*/

.bg01{
background-color: mistyrose;
margin: 60px 0;
text-align: center;
}

.bg02{
background-color: #d8e698;
margin: 60px 0;
text-align: center;
}

.bg03{
background-color: #ffe4b5;
margin: 60px 0;
text-align: center;
}

.bg04{
background-color: #c1e4e9;
margin: 60px 0;
text-align: center;
}

#topBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #555;
  color: white;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 5px;
  transition: background-color 0.3s;
    top: 0,
    behavior: 'smooth'
  });
});
}

#topBtn:hover {
  background-color: #333;
}

.kage5 {
box-shadow: 5px 5px 10px gray;
/*padding: 10px;*/
border: solid 1px #666;
}

