@charset "utf-8";

main {
  margin-bottom: 12rem;
}

section {
  width: 70%;
  margin: 5rem auto;
}

h2 {
  font-size: 2em;
  color: #000;
  line-height: 1.5em;
  margin: 3rem 0;
}

h2::after {
  content: "";
  display: block;
  width: 5rem;
  height: 2px;
  background: #B4BED5;
  margin-top: 0.5rem;
}

.content p {
  font-size: 1.1rem;
  font-weight: lighter;
  line-height: 1.5rem;
}

.explanation_sentence {
  margin-top: 5rem;
}

.explanation_sentence h3 {
  color: #17458f;
  font-size: 1.5em;
  margin: 3rem 0 1rem 0;
}

.contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
    background: #dcf2fa;
    color: #00a2e0;
    font-weight: bold;
    transition: 0.3s;
    position: relative;

}

.contact a:after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2px solid #00a2e0;
  border-right: 2px solid #00a2e0;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}

.contact a:hover {
  background-color: #17458f;
  color: #fff;
}

.contact a:hover::after{
  content: '';
  border-color: #fff;
}

@media screen and (max-width:767px){
  section {
    width: 90%;
  }

  .movie iframe {
    width: 100%;
  }

  .explanation_sentence h3 {
    font-size: 1.8rem;
  }

  .content p {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }

  .contact a {
    font-size: 1.3rem;
  }
}