/* SP用 */
main,
footer {
  width: 100%;
}
img {
  width: 100%;
}
a:hover {
  opacity: 0.6;
}
.course {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.sell {
  position: absolute;
  top: 5.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  border-radius: 16px;
}
.course1 {
  position: absolute;
  top: 31.5%;
  left: 50%;
  width: 70%;
  transform: translateX(-50%);
}
.course2 {
  position: absolute;
  top: 60.8%;
  left: 50%;
  width: 70%;
  transform: translateX(-50%);
}
.course3 {
  position: absolute;
  top: 90%;
  left: 50%;
  width: 70%;
  transform: translateX(-50%);
}
footer {
  position: relative;
}
.tel-btn {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 70%;
  transform: translateX(-50%);
}
.footer-nav {
  position: absolute;
  top: 70%;
  left: 50%;
  display: flex;
  justify-content: center;
  width: 90%;
  transform: translateX(-50%);
}
.footer-nav a {
  padding: 4px 20px;
  font-size: 10px;
}
.footer-nav a:nth-child(2) {
  border-right: 1px solid #000;
  border-left: 1px solid #000;
}

/* タブレット用 */
@media screen and (min-width: 481px) {
  .footer-nav a {
    font-size: 14px;
  }
}

/* PC用 */
@media screen and (min-width: 960px) {
  main,
  footer {
    width: 70%;
    margin: 0 auto;
    text-align: center;
  }
  a:hover {
    opacity: 0.7;
  }
  .footer-nav a {
    font-size: 16px;
  }
}
