@charset "UTF-8";

/* fv */
#fv {
  padding-bottom: 30px;
  margin: 0 calc(50% - 50vw);
  position: relative;
  background-color: rgb(0, 73, 126);
}
#fv h1 {
  display: flex;
  align-items: center;
  min-height: 11.4rem;
  font-family: var(--ZenKakuGothicNew);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgb(255, 255, 255);
  -webkit-clip-path: polygon(0px 0px, 0px 100%, 100% 100%, 100% 0px);
  clip-path: polygon(0px 0px, 0px 100%, 100% 100%, 100% 0px);
}
@media screen and (min-width: 768px) {
  #fv h1 {
    min-height: 24.5rem;
    font-size: 4.5rem;
  }
}
#fv h1 > span {
  padding-left: 3.2rem;
  position: fixed;
}
@media screen and (min-width: 768px) {
  #fv h1 > span {
    padding-left: calc(50vw - 55rem);
  }
}
#fv::after {
  content: "";
  display: block;
  padding-top: 30px;
  border-radius: 30px 30px 0 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(255, 255, 255);
}

/* dialog */
#dialog {
  padding: 3.5rem 0;
}
@media screen and (min-width: 768px) {
  #dialog {
    padding: 6rem 0;
    margin: 0 auto;
    max-width: 100rem;
    box-sizing: border-box;
  }
}
#dialog .desc {
  padding: 0.5em 0;
  font-size: 1.5rem;
  line-height: 2;
}
@media screen and (min-width: 768px) {
  #dialog .desc {
    padding: 0.44em 0;
    font-size: 1.6rem;
    line-height: 1.88;
  }
}
#dialog .desc p {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: justify;
}
#dialog .desc p + p {
  margin-top: 1em;
}
#dialog .desc p em {
  padding: 1em 0;
  display: block;
  font-style: normal;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  color: rgb(0, 73, 126);
}
@media screen and (min-width: 768px) {
  #dialog .desc p em {
    font-size: 2.4rem;
  }
}

/* mailform */
#mailform .button {
  padding-bottom: 10rem;
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  #mailform .button {
    padding-bottom: 13rem;
  }
}

/* mailform input */
#mailform .button a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 23.6rem;
  min-height: 6rem;
  border: solid 1px rgb(0, 73, 126);
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  color: rgb(0, 73, 126);
}
@media screen and (min-width: 768px) {
  #mailform .button a {
    border-radius: 5px;
  }
}
