@media screen and (min-width: 601px) and (max-width: 1024px){
  .wrap {
    margin-left: 2%;
    width: 96%;
  }
  a {
    text-decoration: underline;
  }
  header {
    min-width: 100%;
    height: 100px;
  }
  header nav {
    width: 100%;
    top: initial;
    right: initial;
  }
  header nav ul li:first-child a {
    margin-left: 5px;
  }
  footer {
  }
  section {
    min-width: 100%;
  }
  section .wrap {
    min-height: calc(100vh - 121px);
  }
  section > div > div {
    flex-direction: column-reverse;
    justify-content: flex-end;
  }
  section > div > div > .menu {
    border-radius: 0 0 4px 4px;
  }
  section > div > div > .menu ul li a {
    height: 30px;
  }
  section > div > div > .contents {
    border-radius: 4px 4px 0 0;
  }
  section article.flex {
    flex-direction: column;
  }
  section article.flex pre code {
    width: 100%;
  }
  section article img {
    margin: 10px 10%;
    width: auto;
    max-width: 80%;
    min-width: auto;
  }
  footer {
    min-width: 100%;
  }
}