@charset "utf-8";

body {
  margin: 0;
  background-color: #FFFFFF;
  font-family: "メイリオ", sans-serif;
  animation: fadeIn 8s ease 0s 1 normal;
  -webkit-animation: fadeIn 8s ease 0s 1 normal;
}

h1 {
  margin: 0;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 24px;
  text-align: center;
  padding: 12px 12px;
}

h2 {
  margin: 0;
  font-weight: bold;
  background-color: #000000;
  color: #FFFFFF;
  font-size: 20px;
  text-align: center;
  padding: 50px 30px;
}

.grid {
  display: grid;
  margin: 5px;
  gap: 0px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.item {
  border-width: 3px;
  border-style: solid;
  border-color: #464646;
  background-color: #FFFFFF;
  border-radius: 10px;
  margin: 10px;
  padding: 10px;
  text-align: center;
}
img {
  border-radius: 7px;
  max-width: 100%;
  height: auto;
}
.p1 {
  padding: 0px 10px;
　　　　font-weight: bold;
  text-align: center;
}
.p2 {
  padding: 0px 10px;
  text-align: left;
}
.btn {
  border-radius: 5px;
  background-color: lightblue;
  padding: 10px;
  text-decoration: none;
  color: white;
}
.p3 {
  font-size: 20px;
  padding: 0px 0px;
  text-align: center;
}
.p4 {
  font-size: 14px;
  padding: 0px 0px;
  text-align: center;
}
.p5 {
  font-size: 14px;
  text-align: right;
}
.g1 {
  position: relative;
  padding-top: 56.25%;
  text-align: center;
}
iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 500px;
}

* {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

a,
a:visited,
a:hover,
a:active {
	text-decoration: none;
	color: inherit;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

/*div要素全体にリンクをつけるために必要な要素*/
.linkbox {
  position: relative;
}
.linkbox a {
  position: absolute;
  top: 0;
  left: 0;
  height:100%;
  width: 100%;
}

/* 以下見た目をわかりやすくするための設定*/
.linkbox {
  border: solid 3px #777777;
}
.linkbox a:hover{/* マウスオーバー時に色変更*/
  opacity: 0.5;
  background-color: #000000;
}

footer{
  background-color: #000000;
  color: #FFFFFF;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 22px 12px;
  font-size: 11px;
  text-align: center;
}
