@charset "UTF-8";

body{
	font-family:Arial, sans-serif;
	-webkit-font-smoothing:antialiased;
	background-color:#eee;
}


body {
background-image:url;
background-position: center;
background-size: cover;
min-height: 50vh;
}
#wrapper{
	max-width:800px;
	margin:0 auto;
	
}

.bigbox {
display:flex;
flex-wrap: wrap;
}

h1{
    font-family:fantasy;
	margin:50px 0;
	color:black;
	font-size:5em;
}

button{
	font-size:1em;
	margin-right:10px;
	margin-bottom: 10px;
	display:block;
	color:black;
	padding:10px 25px;
	background:white;
	border-radius:20px;
	border:none;
	display:inline-block;
	cursor:pointer;
}

#buttons button:last-child{
	margin-right:0;
}

button:focus{
	outline:none;
}

button:hover{
	background:white;
}

#list{
	margin-right:-20px;
	padding-top:50px;
}

#list li{
	margin-right:20px;
	margin-bottom:25px;
	width:150px;
	height:150px;
	list-style-type:none;
	float:left;
}


.kage5 {
box-shadow: 5px 5px 10px gray;
padding: 10px;
border: solid 1px #666;
}
.kage4 {
box-shadow: 0 0 10px gray;
}


.mo5{
width: 150px;
height: 150px;
margin: 20px auto 0;
transition-duration: 0.5s;
}
.mo5 img{
width: 100%;
cursor: pointer;
}
.mo5:hover{
box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
transform: translateY(-10px);
transition-duration: 0.5s;
}


.btn1{
position: relative;
overflow: hidden;
text-decoration: none;
display: inline-block;
border: 1px solid #b22222;
padding: 10px 30px;
text-align: center;
outline: none;
transition: ease .2s;
border-radius: 5px;
}

.btn1 span {
position: relative;
z-index: 3;
color:#b22222;
}

.btn1:hover span{
color:#fff;
}

.bgleft:before {
content: '';
position: absolute;
top: 0;
left: 0;
z-index: 2;
background:#b22222;
width: 100%;
height: 100%;
transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
transform: scale(0, 1);
transform-origin: right top;
}

.bgleft:hover:before{
transform-origin:left top;
transform:scale(1, 1);
}

.sns1 {
    
margin: 5px;
padding: 0px;
text-align: center;
}
.sns1 a {
text-decoration: none;
color:white;
}

.sns1 li {
display: inline-block; /* 水平に並べる */
list-style-type: none;
margin: 2px;
padding: 6px 10px;
width: 100px;
color: white;
border-radius: 4px;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
}

.sns1 li:hover{
opacity: 0.7;
}

.sns1_twitter { background: #1da1f2; }
.sns1_facebook { background: #3b5998; }
.sns1_pocket { background: #ee4056; }

footer {

position: sticky;
bottom: 0;
width: 100%;
height: 50px;
background-color: gray;
color: white;
text-align: center;
line-height: 50px; /* 高さと同じ値で中央揃え */
}

html {
  height:100%;
}

body {
  margin:0;
}

.bg {
  animation:slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, #6c3 50%, #09f 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}

.bg2 {
  animation-direction:alternate-reverse;
  animation-duration:4s;
}

.bg3 {
  animation-duration:5s;
}

.content {
  background-color:rgba(255,255,255,.8);
  border-radius:.25em;
  box-shadow:0 0 .25em rgba(0,0,0,.25);
  box-sizing:border-box;
  left:50%;
  padding:10vmin;
  position:fixed;
  text-align:center;
  top:50%;
  transform:translate(-50%, -50%);
}

h1 {
  font-family:monospace;
}

@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}
