@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 .require {
  padding: 0.45rem 0.9em;
  margin-right: 0.5em;
  display: inline-block;
  vertical-align: text-bottom;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 79, 142);
}
#dialog .call {
  padding: 3.5rem 0;
}
@media screen and (min-width: 768px) {
  #dialog .call {
    padding: 5.6rem 0 2rem 0;
  }
}
#dialog .call a {
  padding: 3rem;
  display: block;
  background-color: rgb(224, 241, 239);
}
#dialog .call p:not([class]) {
  margin: 0 auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: calc(0.75 / 25 * 1em);
  color: rgb(0, 73, 126);
}
@media screen and (min-width: 768px) {
  #dialog .call p:not([class]) {
    margin: 0;
    width: auto;
    font-size: 2.5rem;
    line-height: 1.4;
    text-align: center;
  }
}
#dialog .call p.num {
  padding: 0.4em 0 0.2em 0;
  margin: 0;
  font-family: var(--Outfit);
  font-size: 4rem;
  line-height: 1;
  text-align: center;
  color: rgb(0, 73, 126);
}
@media screen and (min-width: 768px) {
  #dialog .call p.num {
    padding: 0.18em 0 0.1em 0;
    font-size: 6.5rem;
  }
}
#dialog .call p.hour {
  margin: 0;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: calc(0.45 / 15 * 1em);
  text-indent: calc(0.45 / 15 * 1em);
  text-align: center;
  color: rgb(0, 73, 126);
}
@media screen and (min-width: 768px) {
  #dialog .call p.hour {
    font-size: 1.5rem;
  }
}

/* mailform */
@media screen and (min-width: 768px) {
  #mailform {
    margin: 0 auto;
    max-width: 80rem;
  }
}
#mailform dl {
  margin: 0;
}
#mailform dl > div {
  padding: 0.7rem 0;
}
@media screen and (min-width: 768px) {
  #mailform dl > div {
    padding: 1rem 0;
  }
}
#mailform dl > div.agree {
  padding-top: 4.4rem;
}
@media screen and (min-width: 768px) {
  #mailform dl > div.agree {
    padding-top: 8rem;
  }
}
#mailform dl > div.agree > dd {
  padding: 0.6rem 0;
}
@media screen and (min-width: 768px) {
  #mailform dl > div.agree > dd {
    padding: 2.6rem 0;
  }
}
@media screen and (min-width: 768px) {
  #mailform dl > div {
    display: flex;
  }
  #mailform dl > div.message {
    align-items: flex-start;
  }
  #mailform dl > div.agree {
    flex-direction: column;
  }
  #mailform dl > div > dt {
    flex-basis: 22.3rem;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  #mailform dl > div > dd {
    flex-basis: 57.7rem;
    box-sizing: border-box;
  }
  #mailform dl > div.agree > dt,
  #mailform dl > div.agree > dd {
    flex-basis: auto;
  }
}
#mailform dt {
  padding: 0.44em 0;
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  line-height: 1.88;
  letter-spacing: 0.05em;
}
#mailform dt::after {
  content: "";
  margin-left: 2rem;
  display: inline-block;
  min-width: 4.6rem;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #mailform dt::after {
    margin-left: 0;
    margin-right: 0.5em;
    order: -10;
  }
}
#mailform dt.required::after {
  content: "\5FC5\9808";
  padding: 0.45rem 0.9em;
  vertical-align: text-bottom;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 79, 142);
}
#mailform dd {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.88;
  letter-spacing: calc(0.48 / 16 * 1em);
}
@media screen and (min-width: 768px) {
  #mailform dd {
    font-size: 1.6rem;
  }
}
#mailform .agree dt,
#mailform .agree dd {
  padding: 0.435em 0;
  display: block;
  font-size: 1.5rem;
  line-height: 1.87;
  letter-spacing: calc(0.45 / 15 * 1em);
  text-indent: calc(0.45 / 15 * 1em);
  text-align: center;
}
#mailform .agree dt a {
  color: rgb(0, 73, 126);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}
#mailform .agree dt::after {
  content: none;
}
#mailform dd.multi {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
  #mailform .postal dt {
    padding-bottom: 0;
  }
  #mailform .postal dd.multi {
    flex-direction: column;
  }
  #mailform .postal dd.multi .notes {
    padding-top: 0;
    margin-top: 0;
    order: -10;
  }
}
@media screen and (min-width: 768px) {
  #mailform dd.multi {
    flex-wrap: nowrap;
  }
}
#mailform dd.multi > span {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 768px) {
  #mailform dd.multi > span {
    margin: 0;
  }
}
#mailform dd.multi > span:not(:last-of-type) {
  margin-right: 2.5rem;
}
@media screen and (min-width: 768px) {
  #mailform dd.multi > span:not(:last-of-type) {
    margin-right: 1.8em;
  }
}
#mailform dd .notes {
  padding: 0.335em 0;
  font-size: 1.2rem;
  line-height: 1.67;
  letter-spacing: calc(0.36 / 12 * 1em);
  color: rgb(112, 112, 112);
}
#mailform .button {
  padding-top: 3.5rem;
  padding-bottom: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  #mailform .button {
    padding-top: 0;
    padding-bottom: 20rem;
  }
}

/* mailform input */
#mailform dd input:not([type="radio"]):not([type="checkbox"]),
#mailform dd textarea {
  padding: 0.44em 2.9rem;
  width: 100%;
  min-height: 4.8rem;
  box-sizing: border-box;
  border: solid 1px rgb(0, 79, 142);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
@media screen and (min-width: 768px) {
  #mailform dd input#name,
  #mailform dd input#name_kana,
  #mailform dd input#postal,
  #mailform dd input#tel {
    width: 27.7rem;
  }
}
@media screen and (max-width: 767px) {
  #mailform dd textarea {
    min-height: 30rem;
  }
}
#mailform dd input[type="radio"],
#mailform dd input[type="checkbox"] {
  margin-right: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  border: solid 1px rgb(0, 79, 142);
  border-radius: 0;
}
#mailform dd input[type="radio"]::before,
#mailform dd input[type="checkbox"]::before {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  background-color: rgb(0, 73, 126);
  transform: none;
  scale: 0;
  transform-origin: center center;
  transition: 0.2s scale ease-out;
}
#mailform dd input[type="radio"]:checked:before,
#mailform dd input[type="checkbox"]:checked::before {
  scale: 1;
}
#mailform .button button {
  padding: 0 1.8rem 0 6.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 21rem;
  min-height: 6rem;
  box-sizing: border-box;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 10px;
  background-color: rgb(0, 73, 126);
}
@media screen and (min-width: 768px) {
  #mailform .button button {
    border-radius: 5px;
  }
}
#mailform .button button::after {
  content: "";
  display: inline-block;
  width: 1.9rem;
  height: 1.5rem;
  background: url(../images/ico_arrow_03.svg) no-repeat 50% 50% / contain;
}
