@charset "UTF-8";


img {
  max-width: 100%;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.wrapper {
  max-width: 1300px;
  margin: 5rem auto;
  padding: 3rem 1rem;
}

.br {
  display: inline-block;
}

.uni_container {
  text-align: center;
  border: 3px solid #183060;
  padding: 3rem 1rem;
}

.uni_container h2 {
  color: #fff;
  background-color: #183060;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.about {
  margin-bottom: 8rem;
  font-size: 1.1rem;
}

.about_contain {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  font-size: 1.1rem;
}

.about_box p {
  margin-bottom: 1rem;
}

.narr {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.narr_item {
  text-align: center;
}

.nare_img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin: 1.5rem auto;
  box-shadow: rgba(24, 48, 96, 0.7) 5px 4px 15px;
}

.maki {
  background: url(../img/maki.jpg) no-repeat top center;
  background-size: contain;
}

.kami {
  background: url(../img/kamikatahira.jpg) no-repeat top center;
  background-size: contain;
}

.img_box {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.img_box_item {
  width: calc(100% / 3 - 20px);
}

.img_box_item img {
  transition: .3s all;
}

.img_box_item img:hover {
  transform: scale(1.2);
}

.present {
  font-size: 1.1rem;
}

.pre_img {
  width: 80%;
  margin: 2rem auto;
}

.pre_box {
  margin-bottom: 4rem;
  font-weight: bold;
  font-size: 1.3rem;
}

.pre_box p {
  margin-bottom: 1rem;
}

.appl {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.appl {
  margin-bottom: 3rem;
}

.appl p,.form p {
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  border-radius: 25px;
  background-color: #183060;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  animation: bounc 2s linear infinite;
}

@keyframes bounc {
    7% {
        transform: translateY(-15px);
    }
    15% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-7px);
    }
    25% {
        transform: translateY(0);
    }
}

.button::after {
  transform: rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  content: '';
}

@media (max-width: 768px) {
  .about h2 {
    font-size: 1.1rem;
  }

  .about_contain {
    font-size: 1rem;
  }

  .narr {
    flex-direction: column;
  }

  .img_box {
    flex-direction: column;
  }

  .img_box_item {
    width: 100%;
  }

  .img_box_item img:hover {
    transform: none;
  }

  .pre_img {
    width: 100%;
  }

  .pre_box {
    font-size: 1.1rem;
  }

  .appl {
    flex-direction: column;
  }
}