@charset "utf-8";

html {
  font-size: 100%;
}

body {
  color: #2b2a27;
  font-family: 'Hiragino Sans', sans-serif;
  margin: 0;
  background-color: #ff8d06;
  padding-top: 90px;
}

.wrapper {
  max-width: 960px;
  margin: 10px auto 40px auto;
  font-size: 0.9rem;
  padding: 20px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  border: solid 3px #000000;
}

a {
  color: #2b2a27;
}
.box {
  display: flex;
  /* flex-direction: row; */
  justify-content: space-between;
  margin-bottom: 40px;
}

.text {
  padding: 50px;
  text-align: left;
}

main {
  margin-left: 5%;
}

h1 {
  font-size: 2rem;
  margin: 0;
}

h2 {
  font-size: 1.2rem;
}

ul {
  list-style: none;
}
.top {
  width: 20%;
  margin-left: 3%;
  /* padding-right: 10px; */
}

.top img {
  width: 100%;
  height: auto;
}

.box:nth-child(even) {
  flex-direction: row-reverse;
}
.box:nth-child(even) .text {
  text-align: left;
}
.box:nth-child(even) .top {
  margin-left: 0;
  margin-right: 3%;
}

#footer {
  font-size: 0.75rem;
  padding: 20px;
  text-align: center;
  background-color: #fff;
  border-top: solid 3px #000000;
}
#footer .list {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
#footer .list li {
  margin: 0 10px;
}

@media (max-width: 700px) {
  .site-title {
    font-size: 20px;
  }

  .wrapper {
    margin: 5%;
  }
  .box {
    flex-direction: column;
  }
  .box:nth-child(even) {
    flex-direction: column;
  }
  .text {
    text-align: center;
    padding: 0;
  }
  .box:nth-child(even) .text {
    text-align: center;
  }
  .top {
    width: 100%;
    margin-left: 0;
    text-align: center;
    padding: auto;
  }
  .box:nth-child(even) .top {
    margin-left: 0;
    margin-right: 0%;
  }
  .top img {
    width: 30%;
    height: auto;
  }
}
