@charset "UTF-8";

html:has(:user-invalid) {
  scroll-behavior: auto;
}

/* 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: grayscale(100%) contrast(0) brightness(150%);
  filter: grayscale(100%) contrast(0) brightness(150%);
}
#header .dialog .progress .dsc {
  padding: 0.2em 0;
}

/* notice */
#notice {
  padding: 0.9em 1em;
  margin: 2.8rem 0;
  font-size: 1.4rem;
  line-height: 1.25;
  background-color: rgb(241, 241, 241);
}
@media screen and (min-width: 768px) {
  #notice {
    margin: 1rem 10rem;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-size: 1.6rem;
    line-height: 2.2;
  }
}
#notice p {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgb(0, 0, 0);
}
#notice p em {
  color: rgb(172, 40, 44);
  font-style: normal;
}

/* mailform */
#mailform {
  position: relative;
}
@media screen and (min-width: 768px) {
  #mailform {
    padding: 5.5rem 0;
    margin: 0 auto;
    max-width: 160rem;
  }
}
#mailform dl {
  margin: 0;
}
#mailform dl > div {
  padding: 0.5rem;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #mailform dl > div {
    padding: 2.6rem 0 0 0;
    min-height: 14rem;
    display: flex;
  }
  #mailform dl > div > dt {
    padding-right: 1em;
    flex-basis: 35rem;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  #mailform dl > div > dd {
    flex-grow: 1;
  }
}
#mailform dd {
  margin: 0;
}

/* mailform input-elements */
#mailform dt label {
  padding: 0.46em 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 label {
    padding: 1.25em 0 0 0;
    font-size: 2rem;
    line-height: 1.85;
  }
}
#mailform .required label::after {
  content: " *";
  color: rgb(172, 40, 44);
}
#mailform input:not([type="checkbox"]),
#mailform select,
#mailform textarea {
  padding: 1.25em 1em;
  display: block;
  border-radius: 6px;
  border: solid 1px rgb(204, 204, 204);
  box-sizing: border-box;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.37;
  color: rgb(0, 0, 0);
}
@media screen and (min-width: 768px) {
  #mailform input:not([type="checkbox"]),
  #mailform select,
  #mailform textarea {
    padding: 1.25em 2em;
    border-radius: 10px;
    font-size: 2rem;
    line-height: 1.85;
  }
}
#mailform input:not([type="checkbox"]),
#mailform textarea {
  width: 100%;
}
#mailform textarea {
  overflow-wrap: break-word;
}
#mailform textarea#message {
  field-sizing: content;
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  min-height: 22rem;
}
@media screen and (min-width: 768px) {
  #mailform textarea#message {
    min-height: 31rem;
  }
}
#mailform textarea#address {
  field-sizing: content;
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  min-height: 8.6rem;
}
@media screen and (min-width: 768px) {
  #mailform textarea#address {
    min-height: 8.9rem;
  }
}
#mailform input#postal {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 18.7rem;
}
@media screen and (min-width: 768px) {
  #mailform input#postal {
    min-width: 26.3rem;
  }
}
@media screen and (min-width: 768px) {
  #mailform input#tel {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    min-width: 53.4rem;
  }
}
#mailform .select {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}
#mailform .select::after {
  content: "";
  display: inline-block;
  margin: auto 0 auto auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 5.4rem;
  height: 4.1rem;
  border-left: 1px solid rgb(230, 230, 230);
  box-sizing: border-box;
  background: url(../images/ico_arrow5.svg) no-repeat 50% 50%/1.1rem auto;
  pointer-events: none;
  transition: 0.2s opacity ease-out;
}
@media screen and (min-width: 768px) {
  #mailform .select::after {
    width: 7.6rem;
    height: 5.8rem;
    background-size: 1.6rem 1rem;
  }
}
#mailform .select:has(select:hover)::after {
  opacity: 0.7;
}
#mailform select {
  padding-right: calc(2em + 5.4rem);
  background-color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #mailform select {
    padding-right: calc(2em + 7.6rem);
  }
}
#mailform select:has(option[value=""]:checked) {
  color: rgb(204, 204, 204);
}
#mailform input:not([type="checkbox"])::-webkit-input-placeholder,
#mailform select::-webkit-input-placeholder,
#mailform textarea::-webkit-input-placeholder {
  color: rgb(204, 204, 204);
}
#mailform input:not([type="checkbox"])::-moz-placeholder,
#mailform select::-moz-placeholder,
#mailform textarea::-moz-placeholder {
  color: rgb(204, 204, 204);
}
#mailform input:not([type="checkbox"]):-ms-input-placeholder,
#mailform select:-ms-input-placeholder,
#mailform textarea:-ms-input-placeholder {
  color: rgb(204, 204, 204);
}
#mailform input:not([type="checkbox"])::-ms-input-placeholder,
#mailform select::-ms-input-placeholder,
#mailform textarea::-ms-input-placeholder {
  color: rgb(204, 204, 204);
}
#mailform input:not([type="checkbox"])::placeholder,
#mailform select::placeholder,
#mailform textarea::placeholder {
  color: rgb(204, 204, 204);
}

/* mailform notes */
#mailform .notes {
  padding: 0.7em 0;
  font-size: 1.1rem;
  line-height: 1.3;
}
@media screen and (min-width: 768px) {
  #mailform .notes {
    padding: 0.8em 0 0 0;
    font-size: 1.6rem;
  }
}
#mailform .notes:empty {
  display: none;
}
#mailform .notes p,
#mailform .notes .error {
  font-weight: 500;
  letter-spacing: 0.05em;
}
#mailform .notes .error {
  display: block;
  color: rgb(184, 28, 43);
}
#mailform .notes p {
  margin: 0;
  color: rgb(0, 0, 0);
}
#mailform .notes p + p,
#mailform .notes .error + .error,
#mailform .notes p + .error,
#mailform .notes .error + p {
  margin-top: 0.2em;
}
#mailform .notes p::before {
  content: "* ";
}

/* mailform .button */
#mailform .button {
  padding-bottom: 4.8rem;
}
@media screen and (min-width: 768px) {
  #mailform .button {
    padding-bottom: 10.2rem;
    margin: 0 auto;
    max-width: 90rem;
  }
}

/* mailform .button agree */
#mailform .button .agree {
  padding: 3.5rem 0;
}
@media screen and (min-width: 768px) {
  #mailform .button .agree {
    padding: 7rem 0;
  }
}
#mailform .button .agree label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.05em;
  color: rgb(0, 0, 0);
}
@media screen and (min-width: 768px) {
  #mailform .button .agree label {
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: calc(1.4 / 20 * 1em);
  }
}
#mailform .button .agree a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
#mailform .button .agree input {
  margin-right: 0.5em;
  width: 2.1rem;
  height: 2.1rem;
  border: solid 1px rgb(204, 204, 204);
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #mailform .button .agree input {
    width: 3.2rem;
    height: 3.2rem;
  }
}
#mailform .button .agree input::before {
  color: rgb(184, 28, 43);
  border-width: 0.3em;
  font-size: 2rem;
}
@media screen and (min-width: 768px) {
  #mailform .button .agree input::before {
    font-size: 2.4rem;
  }
}

/* mailform .button button */
#mailform .button button,
#mailform .button a.home {
  padding-right: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  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.confirm {
  width: 100%;
  background-color: rgb(0, 67, 124);
}
#mailform .button button.back {
  padding-left: 2.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;
  }
}
#mailform .button button.submit {
  background-color: rgb(184, 28, 43);
}
#mailform .button a.home {
  background-color: rgb(51, 51, 51);
}

/* policy */
#policy {
  padding: 1.8rem 0 5.6rem 0;
}
@media screen and (min-width: 768px) {
  #policy {
    padding: 1.8rem 10rem 12rem 10rem;
  }
}
#policy h2 {
  margin: 0;
}
#policy h2 .ttl {
  display: block;
}
#policy h2 .image {
  display: inline-block;
  width: 24.8rem;
}
@media screen and (min-width: 768px) {
  #policy h2 .image {
    width: 41.4rem;
  }
}
#policy h2 .image img {
  width: 100%;
}
#policy h2 .dsc {
  padding: 0.1em 0;
  margin-top: 1em;
  display: block;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: rgb(0, 0, 0);
}
@media screen and (min-width: 768px) {
  #policy h2 .dsc {
    font-size: 2rem;
  }
}
#policy dl {
  padding: 1.6rem;
  margin: 2rem 0;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: calc(1.4 / 20 * 1em);
  color: rgb(0, 0, 0);
  background-color: rgb(241, 241, 241);
}
@media screen and (min-width: 768px) {
  #policy dl {
    padding: 4rem 5.4rem;
    margin: 4rem 0;
    font-size: 2rem;
    line-height: 1.4;
  }
}
#policy dl > div + div {
  margin-top: 1em;
}
#policy dt {
  padding: 0.2em 0;
  font-size: calc(26 / 20 * 100%);
}
#policy dd {
  padding: 0.2em 0;
  margin: 0;
}
#policy dd ul {
  padding: 0;
  margin: 0;
  list-style-position: inside;
}
