@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500&display=swap');

body {
  margin: 0;
  padding: 0;
  color: #3e3a39;
  font-family: 'Noto Sans JP', sans-serif;
}

header {
  width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 40% 60%;
  grid-template-columns: 40% 60%;
  -ms-grid-rows: auto;
  grid-template-rows: auto;
  position: fixed;
  background-color: white;
  z-index: 99;
}

@media screen and (max-width: 1300px) {
  header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

header a {
  text-decoration: none;
  /* margin-bottom: 30px; */


}





@media screen and (max-width: 1300px) {

  header a {
    margin-bottom: 0px;
  }
}

header .totteoki {
  -ms-grid-column: 1;
  grid-column: 1;
  -ms-grid-row: 1;
  grid-row: 1;
  font-size: 24px;
  margin-top: 0;
  padding: 5px 10px;
  letter-spacing: 10px;
  font-weight: 900;
  object-fit: cover;
  width: 80%;
  margin: 0 auto;
  display: block;
  text-align: center;
  margin-bottom: 30px;
}

@media screen and (max-width: 1300px) {
  header .totteoki {
    text-align: center;
    padding: 0;
    width: 50%;
    margin: 15px auto;
  }
}

@media screen and (max-width: 800px) {
  header h2 {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  header h2 {
    font-size: 12px;
  }
}

header nav {
  -ms-grid-column: 2;
  grid-column: 2;
  -ms-grid-row: 1;
  grid-row: 1;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (25%)[4];
  grid-template-columns: repeat(4, 25%);

}

@media screen and (max-width: 1300px) {
  header nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}

@media screen and (max-width: 800px) {
  header nav {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (50%)[2];
    grid-template-columns: repeat(2, 50%);
    -ms-grid-rows: (1fr)[2];
    grid-template-rows: repeat(2, 1fr);
  }
}

header nav a {
  font-size: 16px;
  border-radius: 0 0 10px 10px;
  text-align: center;
  color: white;
  font-weight: 900;
  margin-top: 0;
  padding-top: 5px;
  display: inline-block;
  height: 30px;
  transition: all 0.5s;
}

header nav a:hover {
  height: 40px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.6);

}

@media screen and (max-width: 1300px) {
  header nav a {
    border-radius: 0;
    width: 100%;
    margin: 0;
  }

  header nav a:hover {
    height: 30px;
  }

  header nav a:active {
    pointer-events: active;
  }
}

@media screen and (max-width: 800px) {
  header nav a {
    font-size: 14px;
    height: 40px;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }

  header nav a:hover {
    height: 40px;
  }
}

@media screen and (max-width: 480px) {
  header nav a {
    font-size: 12px;
  }
}

header nav a:nth-of-type(1) {
  -ms-grid-column: 1;
  grid-column: 1;
  background-color: #00adb2;
}

header nav a:nth-of-type(2) {
  -ms-grid-column: 2;
  grid-column: 2;
  background-color: #6eba38;
}

header nav a:nth-of-type(3) {
  -ms-grid-column: 3;
  grid-column: 3;
  background-color: #c5c4c4;
}

@media screen and (max-width: 800px) {
  header nav a:nth-of-type(3) {
    -ms-grid-row: 2;
    grid-row: 2;
    -ms-grid-column: 1;
    grid-column: 1;
  }
}

header nav a:nth-of-type(4) {
  -ms-grid-column: 4;
  grid-column: 4;
  background-color: #a8a8a8;
}

@media screen and (max-width: 800px) {
  header nav a:nth-of-type(4) {
    -ms-grid-row: 2;
    grid-row: 2;
    -ms-grid-column: 2;
    grid-column: 2;
  }
}

.top-image {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  margin-top: 70px;
}

@media screen and (max-width: 1300px) {
  .top-image {
    margin-top: 90px;
  }
}

@media screen and (max-width: 800px) {
  .top-image {
    margin-top: 100px;
  }
}

@media screen and (max-width: 480px) {
  .top-image {
    display: none;
  }
}

.top-image.episode-top-image {
  width: 80%;
  padding: 0 10%;
}

@media screen and (max-width: 800px) {
  .top-image.episode-top-image {
    margin-top: 130px;
  }
}

.top-image-small {
  display: none;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

@media screen and (max-width: 480px) {
  .top-image-small {
    margin-top: 120px;
    display: inline-block;
  }
}

footer {
  display: flex;
  flex-direction: column;
  text-align: center;
}

footer a {
  margin-bottom: 30px;
}



footer img {
  /* height: 50px;
   */
  width: 20vw;
}

@media screen and (max-width: 800px) {
  footer img {
    width: 30vw;
  }
}

@media screen and (max-width: 480px) {}



footer section img {
  /* height: 50px;
   */
  width: 12vw;
  margin-bottom: 30px;
}

@media screen and (max-width: 800px) {
  footer section img {
    width: 20vw;
  }
}





@media screen and (max-width: 480px) {

  footer img {
    width: 35vw;
  }

  footer section img {
    width: 25vw;
    margin-bottom: 10px;
  }
}

footer .copyright {
  font-size: 10px;
  background-color: #3db144;
  line-height: 0%;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 0.8vw;
  font-family: 'メイリオ', 'Meiryo', sans-serif;

}

@media screen and (max-width: 480px) {

  footer .copyright {
    line-height: 100%;
    font-size: 2vw;
  }
}