@charset "UTF-8";

/* header */
@media screen and (min-width: 768px) {
  #header {
    position: relative;
    z-index: -10;
    min-height: 76rem;
    box-sizing: border-box;
    background: none;
  }
  #header::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    z-index: -20;
    height: 119rem;
    background-image: linear-gradient(to top, rgb(255, 255, 255) 0%, rgb(255, 255, 255, 0) 100%),
      radial-gradient(circle at 20% 36.8rem, rgb(255, 255, 255, 0.7) 12%, rgb(241, 241, 241, 0.7) 45%);
    background-repeat: no-repeat, no-repeat;
    background-position: 50% 76rem, 50% 0;
    background-size: 100% 43rem, 100% 119rem;
  }
}
#header .photo {
  aspect-ratio: auto;
}
@media screen and (min-width: 768px) {
  #header .photo {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -10;
  }
}
#header .photo .image {
  width: 34rem;
  height: 17.5rem;
}
@media screen and (min-width: 768px) {
  #header .photo .image {
    width: 82rem;
    height: 47.5rem;
  }
  #header .photo .image img {
    border-radius: 0 0 0 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-image: url(../images/mask_header_ph.svg);
    mask-image: url(../images/mask_header_ph.svg);
  }
}

/* header .dialog */
#header .dialog .text {
  padding: 2rem 0;
}
@media screen and (min-width: 768px) {
  #header .dialog {
    padding-left: 10rem;
    padding-right: 10rem;
    padding-top: 6.8rem;
    display: flex;
    -moz-column-gap: 7rem;
    column-gap: 7rem;
  }
  #header .dialog > .text {
    padding: 0.8rem 0 0 0;
    flex-basis: 50%;
  }
  #header .dialog > .progress {
    flex-basis: 50%;
  }
}
#header .dialog strong {
  padding: 0.35rem 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: rgb(0, 0, 0);
}
@media screen and (min-width: 768px) {
  #header .dialog strong {
    font-size: 4rem;
  }
}
#header .dialog .desc {
  padding: 0.28em 0;
  font-size: 1.6rem;
  line-height: 1.56;
}
@media screen and (min-width: 768px) {
  #header .dialog .desc {
    padding: 0.425em 0;
    font-size: 2rem;
    line-height: 1.85;
  }
}
#header .dialog .desc p {
  margin: 0;
  letter-spacing: 0.01em;
  color: rgb(0, 0, 0);
}
@media screen and (min-width: 768px) {
  #header .dialog .desc p {
    font-weight: 500;
    letter-spacing: 0.05em;
  }
}
#header .dialog .progress ol {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  -moz-column-gap: 2.2rem;
  column-gap: 2.2rem;
}
@media screen and (min-width: 768px) {
  #header .dialog .progress ol {
    -moz-column-gap: 6.2rem;
    column-gap: 6.2rem;
  }
}
#header .dialog .progress li {
  padding: calc(0.1rem + 2px) 0 0.1rem 0;
  flex-basis: calc(180 / 16 * 1em);
  box-sizing: border-box;
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: calc(1.96 / 28 * 1em);
  text-align: center;
  color: rgb(204, 204, 204);
  border-bottom: 2px solid;
}
@media screen and (min-width: 768px) {
  #header .dialog .progress li {
    padding: 0;
    font-size: 1.6rem;
    letter-spacing: calc(1.12 / 16 * 1em);
    border-bottom: 3px solid;
  }
}
#header .dialog .progress li.current {
  color: rgb(184, 28, 43);
}
#header .dialog .progress li:not(:last-of-type)::after {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% + 1.1rem - (6.2 / 16 * 1em));
  width: 0;
  height: 0;
  border-top: calc(6.2 / 16 * 1em) solid;
  border-bottom: calc(6.2 / 16 * 1em) solid transparent;
  border-left: calc(6.2 / 16 * 1em) solid transparent;
  border-right: calc(6.2 / 16 * 1em) solid;
  border-top-right-radius: 2px;
  rotate: 45deg;
  transform: left center;
}
@media screen and (min-width: 768px) {
  #header .dialog .progress li:not(:last-of-type)::after {
    left: calc(100% + 3.1rem - (6.2 / 16 * 1em));
  }
}
#header .dialog .progress ol:has(li:last-of-type.current) li:nth-last-of-type(2)::after {
  color: rgb(184, 28, 43);
}
#header .dialog .progress .step {
  padding: 0.1em 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  #header .dialog .progress .step {
    font-size: 2.8rem;
  }
}
#header .dialog .progress .step .image {
  display: inline-block;
  width: 3rem;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  #header .dialog .progress .step .image {
    width: 5.9rem;
  }
}
#header .dialog .progress .step .image img {
  width: 100%;
}
#header .dialog .progress li:not(.current) .step .image img {
  -webkit-filter: saturate(0) brightness(10) brightness(0.75);
  filter: saturate(0) brightness(10) brightness(0.75);
}
#header .dialog .progress .dsc {
  padding: 0.2em 0;
}

/* mailform */
#mailform {
  padding-top: 2.8rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  #mailform {
    padding-top: 0;
    margin: -2.8rem auto 0 auto;
    max-width: 160rem;
  }
}
#mailform dl {
  padding: 2.9rem 3.8rem;
  margin: 0;
  background-color: rgb(241, 241, 241);
}
@media screen and (min-width: 768px) {
  #mailform dl {
    padding: 8rem 12.2rem;
  }
}
#mailform dl > div {
  padding: 0.5em 0;
  box-sizing: border-box;
}
#mailform dl > div.hidden {
  /* display: none; */
}
@media screen and (min-width: 768px) {
  #mailform dl > div {
    min-height: 7rem;
    display: flex;
    align-items: center;
  }
  #mailform dl > div > dt {
    padding-right: 1em;
    flex-basis: 39rem;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  #mailform dl > div > dd {
    flex-grow: 1;
  }
}
#mailform dd {
  margin: 0;
}

/* mailform input-elements */
#mailform dt,
#mailform dt label {
  padding: 0.23em 0;
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.46;
  letter-spacing: 0.05em;
  color: rgb(0, 0, 0);
}
@media screen and (min-width: 768px) {
  #mailform dt,
  #mailform dt label {
    padding: 0.2em 0;
    font-size: 2rem;
    line-height: 1.4;
  }
}
#mailform dd {
  padding: 0.23em 0;
  display: block;
  box-sizing: border-box;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.46;
  letter-spacing: 0.05em;
  color: rgb(0, 0, 0);
  overflow-wrap: break-word;
}
@media screen and (min-width: 768px) {
  #mailform dd {
    padding: 0.2em 0;
    font-size: 2rem;
    line-height: 1.4;
  }
}

/* mailform notes */
#mailform .notes {
  display: none;
}

/* mailform .button */
#mailform .button {
  padding-top: 3.5rem;
  padding-bottom: 6.2rem;
}
@media screen and (min-width: 768px) {
  #mailform .button {
    padding-top: 7rem;
    padding-bottom: 13.2rem;
    padding-right: 25.2rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    -moz-column-gap: 4.8rem;
    column-gap: 4.8rem;
    max-width: 160rem;
  }
}

/* mailform .button agree */
#mailform .button .agree {
  display: none;
}

/* mailform .button button */
#mailform .button button,
#mailform .button a.home {
  padding-right: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 7.2rem;
  border: solid 1px rgb(204, 204, 204);
  box-sizing: border-box;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: calc(1.75 / 25 * 1em);
  text-indent: calc(1.75 / 25 * 1em);
  text-align: center;
  color: rgb(255, 255, 255);
  border-radius: 6px;
  background: url(../images/ico_arrow6.svg) no-repeat right calc(62 / 900 * 100%) center/ 0.7rem auto;
}
@media screen and (min-width: 768px) {
  #mailform .button button,
  #mailform .button a.home {
    padding-right: 0;
    width: 54.8rem;
    min-height: 12.4rem;
    font-size: 2.5rem;
    border-radius: 10px;
    background-size: 1rem 1.5rem;
  }
}
#mailform .button button.back {
  padding-left: 2.4rem;
  margin-bottom: 1.4rem;
  border: solid 1px rgb(153, 153, 153);
  color: rgb(51, 51, 51);
  background-color: rgb(255, 255, 255);
  background-image: url(../images/ico_arrow7.svg);
  background-position: left calc(62 / 900 * 100%) center;
}
@media screen and (min-width: 768px) {
  #mailform .button button.back {
    padding-left: 0;
    margin-bottom: 0;
  }
}
#mailform .button button.submit {
  background-color: rgb(184, 28, 43);
}
#mailform .button a.home {
  background-color: rgb(51, 51, 51);
}
