@charset "utf-8";

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* font-size: 10px; */
  font-family: serif;

}

.main-image {
  position: relative;
  overflow: hidden;
  height: 500px;
  width: 100%;
}

.main-image img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 1s ease;
  height: 100%;
  width: 100%;
}

.main-image .kanye {
  opacity: 1;
}

body {
  background-image: url(sozai/bg/bg540.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

strong{
  background: linear-gradient(transparent 55%,beige);
}

.wrap {
  background: white;
  width: 1300px;
  display: flex;
  margin: 0 auto;
  flex-direction: column;
}

.main-container{
  display: flex;
}

.main-container p{
  /* padding: 10px; */
  width: 260px;/* 紙の横幅 100%にすると全幅表示に */
  padding: 15px;
  margin: 2em auto;
  background: #f7f092;/* 紙の色 */
  color: #000;/* 文字色 */
  box-shadow: 4px 4px 4px rgba(0,0,0,0.03);
  transform:rotate(4deg);
  word-break: break-all;
}

.nav a {
  border: solid 1px;
  border-radius: 20px;
  padding: 10px;
  text-decoration: none;
  transform-origin: center;
  font-family: fantasy;
}

.nav:hover{
  transform: perspective(300px) translateZ(200px);
}

header{
 font-family:serif;
 align-items: center;
 display: flex;
justify-content: space-between;
}

.table-container{
  display: flex;
  flex-flow: column wrap;
  padding: 1em;
}

footer {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row-reverse;
  text-align: center;
  align-items: flex-end;
}

footer td {
  background-color: bisque;
}

.social-list {
  flex-direction: column;
  list-style: none;
  position: absolute;
  right: 0;
  top: 20px;
}

.social-list img{
width: 40px;
height: 40px;
}

.social-list li {
  padding: 5px;
}

@media screen and (min-width: 481px) {
  .social-list{
position: sticky;
  }
}