body {
  background-color: white;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  
}
@media screen and (max-width: 1000px) {
  .wrapper header .logo {
    color: darkorange;
    margin-right: 20px;
    font-size: 30px;
  }
  .wrapper header nav li {
    display: inline-block;
    margin-left: 10px;
    margin-right: 20px;
    border-bottom: 1px solid black;
    padding-bottom: 1px;
    font-size: 30px;
  }
  .wrapper header {
    top: 0; /* 追記 */
    left: 0; /* 追記 */
    background-color: whitesmoke;
    position: fixed;
    width: 100%;
    height: 90px;
  }
}
@media screen and (min-width:1001px) {
  .wrapper header .logo {
    color: darkorange;
    margin-right: 20px;
  }
  
  .wrapper header nav li {
    display: inline-block;
    margin-left: 10px;
    margin-right: 20px;
    border-bottom: 1px solid black;
    padding-bottom: 1px;
  }
  .wrapper header {
    top: 0; /* 追記 */
    left: 0; /* 追記 */
    background-color: whitesmoke;
    position: fixed;
    width: 100%;
  }
}


.wrapper header nav a {
  text-decoration: none;
  color: #000000;
}

.wrapper header nav a:hover {
  color: blue;
}

.wrapper header nav a:active {
  background-color: lightgray;
}
.wrapper footer {
  flex-direction: column;
  display: flex;
  margin-top: auto;
  text-align: center;
  position: sticky;
  bottom: 0;
}

.wrapper main {
  text-align: center;
  margin-top: 100px;
}

.wrapper main .howtojoin #howtojointitle {
  margin-top: 50px;
  margin-left: auto;
  font-size: 40px;
  width:400px;
  margin-right: auto;
  border-bottom: solid 2px gray;
}

.wrapper main .setfriend {
  background-color:black;
  color: white;
  text-decoration: none;
  font-size: 20px;
  border: solid 10px black;
  border-radius: 10%;
}

@media screen and (max-width: 1000px) {
  .wrapper main #title {
    color: orange;
    font-size: 80px;
    padding-top: 40px;
  }
  .wrapper main #subtitle {
    color: gray;
    font-size: 30px;
  }
  .wrapper main .howtojoin {
    margin-top: 70px;
    border-top: solid 2px black;
  }
  .wrapper main .howtojoin .joinways {
    margin-bottom: 40px;
    margin-top: 50px;
    font-size: 25x;
    border-bottom: solid 2px gray;
    padding-bottom: 2px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width:1001px) {
  .wrapper main #title {
    color: orange;
    font-size: 50px;
  }
  .wrapper main #subtitle {
    color: gray;
    font-size: 20px;
  }
  .wrapper main .howtojoin {
    margin-top: 70px;
    border-top: solid 2px black;
  }
  .wrapper main .howtojoin .joinways {
    margin-bottom: 40px;
    margin-top: 50px;
    font-size: 30px;
    border-bottom: solid 2px gray;
    padding-bottom: 2px;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}