body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  text-align: center;
  background: #e8f6d4 url("./image/mainbg.jpg") no-repeat center/cover fixed;
}

@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll;
  }
}

.wrapper {
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px 20px 50px;
}

.logo {
  width: 250px;
  max-width: 70vw;
  margin: 40px auto 20px;
  display: block;
}

.btn {
  display: inline-block;
  padding: 14px 60px;
  border-radius: 40px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}

.btn-login {
  background: #FF8A33;
  margin-top: 15px;
}

.btn-register {
  background: #6BA5FF;
  margin-top: 20px;
}

.btn:hover {
  opacity: 0.85;
}

.text-area {
  max-width: 900px;
  margin: 20px auto;
  font-size: 16px;
  line-height: 1.8;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  margin: 20px auto 5px;
  position: relative;
  display: inline-block;
  padding: 4px 0;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 90px;
  height: 2px;
  background: #333;
}

.section-title::before {
  left: -110px;
}

.section-title::after {
  right: -110px;
}

footer {
  margin-top: 40px;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  body {
    background: #e8f6d4 url("./image/mainbg_sp.jpg") no-repeat center/cover;
  }

  .logo {
    width: 170px;
    margin: 15px auto 15px;
  }

  .btn {
    width: 90%;
    padding: 12px 0;
    font-size: 17px;
  }

  .text-area {
    font-size: 15px;
    padding: 0 10px;
    margin: 18px auto;
  }

  .section-title {
    font-size: 17px;
    margin: 25px auto 18px;
  }

  .section-title::before,
  .section-title::after {
    width: 60px;
  }

  footer {
    margin-top: 30px;
  }
}
