@media screen and (max-width: 60em) {
  .pc {
    display: none;
  }

  header {
    border-bottom: 1px solid black;
    height: 2.75lh;
    position: unset;
  }

  header nav {
    margin: 2.5vh auto;
    width: 95%;
  }

  header a {
    color: black;
    display: inline-block;
    font-size: large;
    margin: 0;
    text-decoration: none;
    width: 100%;
  }

  header #logo {
    align-items: center;
    text-align: center;
    display: block;
    width: fit-content;
    margin: auto;
    padding: 0;
  }

  header details {
    background-color: white;
    border: 1px solid black;
    border-radius: 4px;
    list-style: none;
    position: absolute;
  }

  header details .nav-closed {
    display: inline-block;
    display: unset;
  }

  header details .nav-opening {
    display: none;
  }

  header details[open] .nav-closed {
    display: none;
  }

  header details[open] .nav-opening {
    display: inline-block;
    text-align: center;
  }

  header summary {
    list-style: none;
    padding: 0.5lh 0.5em;
  }

  header details[open] summary {
    border-bottom: 1px solid black;
  }

  header ul {
    margin: 0;
    padding: 0;
  }

  header li {
    list-style: none;
    height: 100%;
    margin: 0.25lh 0.5em;
    padding: 0.25lh 0.5em;
  }

  header li:hover {
    background-color: lightcyan;
    border-radius: 4px;
    
  }

  main {
    width: 95%;
    margin: auto;
  }

  ul.content-list {
    margin: 0;
    padding: 0;
  }

  ul.content-list li {
    list-style: none;
    margin: 0.5lh 0;
  }

  ul.content-list a {
    color: black;
    text-decoration: none;
  }

  ul.content-list a:hover{
    text-decoration: underline;
  }
}

@media screen and (min-width: 60em) {
  .sp {
    display: none;
  }

  header {
    border-bottom: 1px solid black;
  }

  header nav {
    display: flex;
    justify-content: space-between;
    margin: 0.5em auto;
    max-width: 1200px;
  }

  header a {
    align-items: center;
    color: black;
    display: flex;
    font-size: large;
    padding: 0.5em;
    text-decoration: none;
  }

  header #logo {
    align-items: center;
    margin: 0;
    padding: 0;
  }

  header ul {
    align-items: center;
    display: flex;
    margin: 0;
    padding: 0;
  }

  header li {
    list-style: none;
  }

  header li:hover {
    background-color: lightcyan;
    border-radius: 4px;
  }

  main {
    margin: 0 auto;
    padding: 0 1em;
    max-width: 1200px;
  }

  ul.content-list {
    margin: 0;
    padding: 0;
  }

  ul.content-list li {
    list-style: none;
    margin: 1lh 0;
  }

  ul.content-list a {
    color: black;
    text-decoration: none;
  }

  ul.content-list a:hover{
    text-decoration: underline;
  }

}
