@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique:wght@300;400&display=swap");

body {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  text-rendering: geometricPrecision;
  background-color: #dcdcdc;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  background-color: #1c5580;
  color: #fff;
  font-weight: 300;
  margin-bottom: 20px;
  height: 600px;
}
@media screen and (max-width: 950px) {
  header {
    height: 354px;
    margin-bottom: 5px;
  }
}
@media screen and (max-width: 410px) {
  header {
    height: 340px;
  }
}

header div.back {
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
}

header h1 {
  text-align: left;
  opacity: 0.7;
  padding-left: 15px;
  padding-top: 11px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 950px) {
  header h1 {
    opacity: 1;
  }
}

@keyframes main-image {
  0% {
    top: -300px;
    left: 105px;
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  100% {
    top: -65px;
    left: 0px;
    opacity: 1;
  }
}
header p img {
  animation-name: main-image;
  animation-duration: 0.8s;
  animation-iteration-count: inherit;
  animation-timing-function: ease-in;
  top: -65px;
  left: 0px;
  position: relative;
}
@media screen and (max-width: 950px) {
  header p img {
    animation: none;
  }
}
@media screen and (max-width: 410px) {
  header p img {
    height: 340px;
  }
}

header div.h2 {
  max-width: 390px;
  margin-top: -500px;
  margin-left: auto;
  margin-right: -50px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 45px;
  line-height: 65px;
}
@media screen and (min-width: 576px) and (max-width: 950px) {
  header div.h2 {
    text-align: right;
    margin-top: -400px;
    margin-right: 15px;
    margin-bottom: 40px;
    font-size: 33px;
    line-height: 44px;
  }
  header div.h2 span {
    font-size: 30px;
  }
}
@media screen and (max-width: 575px) {
  header div.h2 {
    text-align: right;
    margin-top: -300px;
    margin-right: 15px;
    margin-bottom: 10px;
    font-size: 23px;
    line-height: 33px;
  }
  header div.h2 span {
    font-size: 20px;
  }
}

header h2 span {
  font-size: 40px;
  padding-left: 5px;
}

header p.text {
  text-align: center;
  font-size: 32px;
  line-height: 50px;
  max-width: 390px;
  margin-left: auto;
  margin-right: -20px;
  padding-bottom: 65px;
}
@media screen and (min-width: 576px) and (max-width: 950px) {
  header p.text {
    font-size: 45px;
    line-height: 55px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 35px;
  }
}
@media screen and (max-width: 575px) {
  header p.text {
    font-size: 30px;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }
}

@keyframes text {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes check {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}

header h2._1 {
  animation-name: text;
  animation-delay: 1s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
header span._2 {
  animation-name: check;
  animation-delay: 1.2s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
header h2._3 {
  animation-name: text;
  animation-delay: 1.8s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
header span._4 {
  animation-name: check;
  animation-delay: 2s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
header h2._5 {
  animation-name: text;
  animation-delay: 2.5s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
header span._6 {
  animation-name: check;
  animation-delay: 2.7s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
header p.text {
  animation-name: text;
  animation-delay: 3.2s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@media screen and (max-width: 950px) {
  header h2._1 {
    animation-name: text;
    animation-delay: 0.5s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  header span._2 {
    animation-name: check;
    animation-delay: 0.7s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  header h2._3 {
    animation-name: text;
    animation-delay: 1.2s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  header span._4 {
    animation-name: check;
    animation-delay: 1.4s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  header h2._5 {
    animation-name: text;
    animation-delay: 1.9s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  header span._6 {
    animation-name: check;
    animation-delay: 2.1s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  header p.text {
    animation-name: text;
    animation-delay: 2.6s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
  }
}

div.wrapper {
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 951px) and (max-width: 1139px) {
  div.wrapper {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 950px) {
  div.wrapper {
    max-width: 90%;
  }
}

nav {
  max-width: 743px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 114px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 950px) {
  nav {
    max-width: 360px;
    margin-bottom: 24px;
  }
}

nav ul {
  display: flex;
  justify-content: space-between;
}

nav li a {
  font-size: 25px;
  font-weight: 400;
  color: #1c5580;
  text-decoration: none;
}
@media screen and (max-width: 950px) {
  nav li a {
    font-size: 15px;
  }
}

nav li a.active {
  border-bottom: 1px solid #1c5580;
}

nav li a:hover {
  opacity: 0.7;
}

@keyframes main {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
main {
  animation-name: main;
  animation-duration: 1s;
}

section {
  font-weight: 400;
}

section h1 {
  text-align: left;
  font-size: 30px;
  margin-bottom: 20px;
}
@media screen and (max-width: 950px) {
  section h1 {
    font-size: 15px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 950px) {
  section p img {
    display: none;
  }
  section.concept div.back {
    border: 16px solid #363636;
    background-image: url(../img/concept_back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
  section.about div.back {
    border: 16px solid #363636;
    background-image: url(../img/about_back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}

section p {
  color: #fff;
  font-size: 15px;
  line-height: 40px;
}
@media screen and (min-width: 951px) and (max-width: 1139px) {
  section p {
    font-size: 13px;
    padding: 0px 10px;
    white-space: nowrap;
  }
}
@media screen and (max-width: 950px) {
  section p {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    line-height: 24px;
    white-space: nowrap;
  }
}
@media screen and (max-width: 575px) {
  section p {
    font-size: 11px;
  }
}

section p.space {
  display: none;
}
@media screen and (max-width: 950px) {
  section p.space {
    display: unset;
  }
}

section br {
  display: none;
}
@media screen and (max-width: 950px) {
  section br {
    display: unset;
  }
}

section div.back {
  background-color: #363636;
  padding: 35px 0px;
  display: flex;
}
@media screen and (max-width: 950px) {
  section div.back {
    background-color: unset;
    padding: unset;
  }
}

section div.back div.text {
  text-align: center;
  flex: 1;
}

section.concept {
  margin-bottom: 50px;
}

section.concept img {
  margin-left: 35px;
  margin-right: auto;
  flex-basis: 436px;
}

section.concept div.text {
  padding-top: 131px;
}
@media screen and (max-width: 950px) {
  section.concept div.text {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

section.about {
  margin-bottom: 179px;
}
@media screen and (max-width: 950px) {
  section.about {
    margin-bottom: 50px;
  }
}

section.about div.text {
  padding-top: 151px;
}
@media screen and (max-width: 950px) {
  section.about div.text {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

section.about img {
  margin-right: 35px;
  margin-left: auto;
  flex-basis: 436px;
}

footer p.pagetop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: none;
}

footer p.pagetop a:hover {
  opacity: 0.7;
}

footer p.copy {
  text-align: center;
  font-weight: 400;
  font-size: 20px;
  padding-bottom: 30px;
}
@media screen and (max-width: 950px) {
  footer p.copy {
    font-size: 15px;
    padding-bottom: 10px;
  }
}
