html {
  display: flex;
  flex-direction: column;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  min-height: 1px;
}

footer {
  margin-top: auto;
}

body {
  overflow-x: hidden;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #666;
  background: #f0f4f7;
}

p {
  line-height: 1.6;
}

a {
  text-decoration: underline;
  color: #1a0dab;
}
a:hover {
  text-decoration: none;
  opacity: 0.8;
  color: #1a0dab;
}
a.btn {
  text-decoration: none;
}

:focus,
button:focus {
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: none;
}

:root {
  scroll-behavior: auto !important;
}

body {
  position: relative;
  height: 100dvh;
}

.inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: min(90%, 800px);
  margin-inline: auto;
  padding: 50px;
  background: #fff;
}
@media (max-width: 767px) {
  .inner {
    padding: 30px 20px;
  }
}

@media (min-width: 768px) {
  p {
    text-align: center;
  }
}
@media (max-width: 767px) {
  p {
    font-size: 14px;
  }
}

.logo {
  width: min(60%, 250px);
  margin: 0 auto 50px;
}
@media (max-width: 767px) {
  .logo {
    margin-bottom: 30px;
  }
}

.link-btn {
  display: block;
  max-width: 400px;
  margin: 30px auto 0;
  padding: 15px 0;
  text-align: center;
  font-weight: 600;
  color: #fff;
  background: #89b7c4;
  text-decoration: none;
  transition: opacity 0.3s;
}
@media (max-width: 767px) {
  .link-btn {
    margin-top: 20px;
    font-size: 14px;
  }
}
.link-btn:hover {
  color: #fff;
}
@media (any-hover: hover) {
  .link-btn:hover {
    opacity: 0.8;
  }
}

footer .link-pageup {
  position: fixed;
  right: 40px;
  bottom: 20px;
  font-size: 40px;
}
@media (max-width: 991px) {
  footer .link-pageup {
    right: 10px;
    bottom: 10px;
  }
}
footer .link-pageup:hover {
  color: #666666;
}
footer .copyright {
  display: block;
  padding-bottom: 10px;
  text-align: center;
  font-size: 12px;
}

header {
  padding: 10px 20px;
  background: #000000;
}
@media (max-width: 575px) {
  header {
    padding: 8px;
  }
}
header .img-logo {
  width: 40vw;
  max-width: 160px;
}