* { 
  image-rendering: pixelated; 
}

@font-face {
  font-family: 'jsk';
  src: url('../font/jsk.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'j14';
  src: url('../font/j14.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'kap';
  src: url('../font/kap.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'j16';
  src: url('../font/j16.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
body {
  margin: 0;
  background: url('../image/013.jpg');
  background-size: 9rem auto;
  animation: move 8s linear infinite;
  font-family: "JIS01", monospace;
  margin-top: 1rem;
  margin-bottom: 2rem;
  background-color: #45A7FF;
}

.header {
  text-align: center;
}

.header img {
  width: 30rem;
  text-align: center;
  position: relative;
  z-index: 10;
  margin-bottom: -3.8rem;
}

#papa {
  position: relative;
}

@keyframes move {
  from { background-position: 0 0; }
  to { background-position: 18rem 27rem; }
}

.container {
  max-width: 29rem;
  margin: -1rem auto 0 auto;
  border: 0.5rem ridge blue;
  background: blue;
  padding: 0.8rem;
  display: grid;
  grid-template-rows: auto 2.6rem auto auto;
  gap: 0.8rem;
  background: url('../image/001.png');
  background-size: 7rem;
  background-color: #45A7FF;
}

.row1 {
  border: 0.3rem inset black;
  background: lime;
  height: 2.5rem;
  background: url('../image/007.gif');
  background-size: 2rem;
}

.row2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 0.24rem groove blue;
}

.row2 a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "j16", monospace;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  text-shadow: 0.07rem 0.07rem 0 blue;
  background: linear-gradient(to bottom, magenta, magenta);
}
.row2 a:nth-child(2) {
  background: linear-gradient(to bottom, cyan, cyan);
}
.row2 a:nth-child(3) {
  background: linear-gradient(to bottom, orange, orange);
}
.row2 a:nth-child(4) {
  background: linear-gradient(to bottom, lime, lime);
}
.row2 a:nth-child(5) {
  background: linear-gradient(to bottom, red, red);
}
.row2 a .small {
  font-size: 0.7em;
}
.row3 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border: 0.45rem double blue;
  background: white;
  font-family: "j14", monospace;
  background: url('../image/006.gif');
  background-size: 13rem;
}
.row3 a {
  color: blue;
  text-decoration: underline;
}

.row3 a:hover {
  color: red;
}

.small {
  font-size: 0.7rem;
}

.big {
  font-size: 1.2rem;
}

.bold {
  font-weight: bold;
}

.row3 p {
  max-width: 25.6rem;
  font-size: 0.95rem;
}

.row4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0 0.5rem;
}

.col-left {
  border: 0.3rem dotted green;
  background-color: red;
  min-height: 10rem;
  background: url('../image/kein.gif');
  background-size: cover;
  background-repeat: no-repeat;
}

.col-right {
  border: 0.2rem dashed blue;
  background: yellow;
  background: url('../image/better.png');
  background-size: 7rem;
  overflow-x: hidden;
  overflow-y: hidden;
  font-family: "j14", monospace;
  color: white;
  text-shadow: 0.08rem 0.08rem 0 black;
}
.col-right h1 {
  margin-top: 0.14rem;
  margin-bottom: 0.1rem;
  text-align: center;
  font-size: 2.2rem;
}
.col-right .small {
  display: block;
  text-align: center;
  margin-top: -0.2rem;
  margin-bottom: 0.3rem;
  font-size: 0.5rem;
}
.col-right p {
  text-align: left;
  margin: 0;
  padding-left: 0.5rem;
  font-size: 0.8rem;
}
@media (max-width: 600px) {

  body {
    margin-top: 0.6rem;
    overflow-x: hidden
    background-color: #45A7FF;
    margin-bottom: 2rem;
  }

  .header img {
    width: 92%;
    margin-bottom: -3.4rem;
  }

  .container {
    max-width: 90%;
    padding: 0.45rem;
  }

  .row2 a {
    font-size: 0.9rem;
    padding: 0.22rem;
  }
.row3 {
  padding: 0.8rem;
}

.row3 p {
  font-size: 0.99rem;
  line-height: 1.12;
  max-width: 27rem;
  margin: 0.3rem 0;
}

  .col-left {
  background-position: 65% center;
  }
  .col-right h1 {
    font-size: 1.5rem;
    margin-top: 0.3rem
  }

  .col-right p {
    font-size: 0.84rem;
  }

}
