body {
  margin: 0;
  border-top: 7px solid #ff4500;
  color: #000;
  background-color: #fff;
  font-family: sans-serif;
}
main, #footlinks {
  margin: 1.2rem;
}
a:link, a:visited {
  color: #0086e9;
  }
a:hover {
  color: #000;
  }
h1, h2, h3 {
  margin: 0;
  color: #000;
  line-height: 1;
}

header {
  margin-top: 36px;
  text-align: center;
}
#logo img {
  vertical-align: bottom;
}
nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  margin: 36px 2px 2px;
  padding: 0;
}
navi li {
  margin: 0;
  padding: 0;
}
nav li, nav a {
  display: block;
}
nav a {
  margin: 2px;
  padding: 0.4rem 0;
  background: #f3f3f3;
  text-decoration: none;
  font-size: 0.9rem;
}
nav+picture img {
  width: 100vw;
  vertical-align: bottom;
}
/* ↓ サイトトップページへ戻るためのボタン設定 ↓ */
/*参考サイト:https://cotodama.co/pagetop/*/
#site_top {
	width: 105px;
	height: 80px;
	position: fixed;
	right: 0;
	bottom: 0;
	background: #333;
	opacity: 0.6;
	border-radius: 15px;
}

#site_top a {
	position: relative;
	display: block;
	width: 100px;
	height: 60px;
	text-decoration: none;
}

#site_top a::before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f102';
	font-size: 25px;
	color: #fff;
	position: absolute;
	width: 25px;
	height: 25px;
	top: -25px;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}

#site_top a::after {
	content: 'K.Kishimoto のトップへ戻る';
	font-size: 13px;
	color: #fff;
	position: absolute;
	top: 30px;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}

/* ↑ サイトトップページへ戻るためのボタン設定 ↑ */

main {
  margin-bottom: 2.4rem;
}
h1 {
  margin-top: 2rem;
  font-size: 1.1rem;
}
h2 {
  margin-top: 2rem;
  font-size: 1rem;
}

footer {
  padding-top: 0.5rem;
  padding-bottom: 1.4rem;
  background: #f3f3f3;
}
#footlinks ul, #footlinks li {
  display: block;
  margin-left: 0;
  padding-left: 0;
}
#footlinks h3 {
  font-size: 1rem;
  }
#footlinks a {
  text-decoration: none;
}
#footlinks a:hover {
  text-decoration: underline;
}
#copyright {
  color: #999;
  text-align: center;
  font-size: 0.82rem;
}
