@charset "UTF-8";

body.page-template-page-inquiry header {
  margin-bottom: 8rem;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry header {
    margin-bottom: 4rem;
  }
}

body.page-template-page-inquiry main .wrapper {
  padding-left: 11.6rem;
  padding-right: 11.6rem;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .wrapper {
    padding-left: 2.3rem;
    padding-right: 2.3rem;
  }
}

body.page-template-page-inquiry main .box {
  background: #efefef;
  padding: 8rem 20.4rem 18.5rem;
  border-radius: 1rem;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box {
    padding: 4rem 2.4rem 4.8rem;
  }
}

body.page-template-page-inquiry main .box form .form-item+.form-item {
  margin-top: 2.4rem;
}

body.page-template-page-inquiry main .box form .form-item:has(*[aria-required=true]) .title::after, body.page-template-page-inquiry main .box form .form-item:has(input[type=radio]) .title::after {
  content: "必須";
  background: #009b71;
}

body.page-template-page-inquiry main .box form .form-item .title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.8rem;
}

body.page-template-page-inquiry main .box form .form-item .title::after {
  display: flex;
  justify-content: center;
  align-items: center;
  content: "任意";
  width: 4.5rem;
  height: 2rem;
  background: #828282;
  border-radius: 0.2rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  color: #fff;
}

body.page-template-page-inquiry main .box form .form-item .wpcf7-list-item {
  display: block;
  margin: 0;
}

body.page-template-page-inquiry main .box form .form-item label:has(input[type=radio]) {
  display: flex;
  gap: 1rem;
  align-items: center;
  width: 40rem;
  padding: 1.6rem;
  background: #ffffff;
  border-radius: 1rem;
  margin-bottom: 0.8rem;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .form-item label:has(input[type=radio]) {
    width: 100%;
    border-radius: 0.5rem;
  }
}

body.page-template-page-inquiry main .box form .form-item label:has(input[type=radio]) span {
  line-height: 1;
}

body.page-template-page-inquiry main .box form .form-item label:has(input[type=radio]) input {
  display: none;
}

body.page-template-page-inquiry main .box form .form-item label:has(input[type=radio])::before {
  content: "";
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid #009b71;
  border-radius: 50%;
}

body.page-template-page-inquiry main .box form .form-item label:has(input[type=radio]):has(input:checked)::before {
  background: radial-gradient(#009b71 0%, #009b71 0.4rem, transparent 0.4rem);
}

body.page-template-page-inquiry main .box form .form-item input[type=text],
body.page-template-page-inquiry main .box form .form-item input[type=email],
body.page-template-page-inquiry main .box form .form-item input[type=tel],
body.page-template-page-inquiry main .box form .form-item input[type=date],
body.page-template-page-inquiry main .box form .form-item input[type=time],
body.page-template-page-inquiry main .box form .form-item input[type=number],
body.page-template-page-inquiry main .box form .form-item textarea {
  display: block;
  width: 100%;
  height: 4.8rem;
  padding: 1.6rem;
  background: #fff;
  border-radius: 0.5rem;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 768px) {

  body.page-template-page-inquiry main .box form .form-item input[type=text],
  body.page-template-page-inquiry main .box form .form-item input[type=email],
  body.page-template-page-inquiry main .box form .form-item input[type=tel],
  body.page-template-page-inquiry main .box form .form-item input[type=date],
  body.page-template-page-inquiry main .box form .form-item input[type=time],
  body.page-template-page-inquiry main .box form .form-item input[type=number],
  body.page-template-page-inquiry main .box form .form-item textarea {
    width: 100%;
  }
}

body.page-template-page-inquiry main .box form .form-item input[type=text]::placeholder,
body.page-template-page-inquiry main .box form .form-item input[type=email]::placeholder,
body.page-template-page-inquiry main .box form .form-item input[type=tel]::placeholder,
body.page-template-page-inquiry main .box form .form-item input[type=date]::placeholder,
body.page-template-page-inquiry main .box form .form-item input[type=time]::placeholder,
body.page-template-page-inquiry main .box form .form-item input[type=number]::placeholder,
body.page-template-page-inquiry main .box form .form-item textarea::placeholder {
  color: #aaa;
}

body.page-template-page-inquiry main .box form .form-item input[type=email] {
  letter-spacing: 0;
}

body.page-template-page-inquiry main .box form .form-item textarea {
  width: 100%;
  min-height: 24rem;
}

body.page-template-page-inquiry main .box form .form-item .select-wrapper {
  position: relative;
}

body.page-template-page-inquiry main .box form .form-item .select-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.6rem;
  margin: auto;
  width: 1rem;
  height: 1rem;
  background: url("../img/common/select_arrow_2.svg") center/contain no-repeat;
}

body.page-template-page-inquiry main .box form .form-item .select-wrapper select {
  display: flex;
  align-items: center;
  width: 100%;
  height: 4.8rem;
  padding: 0 1.6rem;
  background: #fff;
  border-radius: 0.5rem;
  font-family: "Noto Sans JP", sans-serif;
}

body.page-template-page-inquiry main .box form .form-item .select-wrapper select:has(option:first-child:checked) {
  color: #aaa;
}

body.page-template-page-inquiry main .box form .birth {
  display: grid;
  grid-template-columns: 22.4rem 1fr 1fr;
  gap: 2.4rem;
  width: 64rem;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .birth {
    grid-template-columns: 100%;
    width: 100%;
    gap: 1.6rem;
  }
}

body.page-template-page-inquiry main .box form .birth .select-wrapper-with-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

body.page-template-page-inquiry main .box form .birth .select-wrapper-with-label .select-wrapper {
  flex-grow: 1;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .birth .select-wrapper-with-label .select-wrapper {
    flex-grow: 0;
  }
}

body.page-template-page-inquiry main .box form .birth .select-wrapper-with-label .select-wrapper span {
  display: block;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .birth .select-wrapper-with-label .select-wrapper:has(select[name=birth-year]) {
    width: 20rem;
  }
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .birth .select-wrapper-with-label .select-wrapper:has(select[name=birth-month]), body.page-template-page-inquiry main .box form .birth .select-wrapper-with-label .select-wrapper:has(select[name=birth-day]) {
    width: 16rem;
  }
}

body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap {
  display: block;
}

body.page-template-page-inquiry main .box form .wpcf7-acceptance {
  display: block;
  margin-top: 3.2rem;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .wpcf7-acceptance {
    margin-top: 2rem;
  }
}

body.page-template-page-inquiry main .box form .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

body.page-template-page-inquiry main .box form .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label {
  line-height: 2;
}

body.page-template-page-inquiry main .box form .wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .wpcf7-acceptance .wpcf7-list-item label {
    align-items: start;
    text-align: center;
    gap: 0.5rem;
  }
}

body.page-template-page-inquiry main .box form .wpcf7-acceptance .wpcf7-list-item label::before {
  content: "";
  display: block;
  width: 2.6rem;
  height: 2.6rem;
  background: #ffffff;
  border: 0.2rem solid #b2b2b2;
  border-radius: 0.2rem;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .wpcf7-acceptance .wpcf7-list-item label::before {
    margin-top: 0.4rem;
  }
}

body.page-template-page-inquiry main .box form .wpcf7-acceptance .wpcf7-list-item label:has(input:checked)::before {
  border-color: #146f57;
  background: #146f57 url("../img/inquiry/check.svg") center/1.5rem 1.5rem no-repeat;
}

body.page-template-page-inquiry main .box form .wpcf7-acceptance .wpcf7-list-item label input {
  display: none;
}

body.page-template-page-inquiry main .box form .wpcf7-acceptance .wpcf7-list-item label a {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-decoration: underline;
  color: #146f57;
}

body.page-template-page-inquiry main .box form input[type=submit] {
  display: none;
}

body.page-template-page-inquiry main .box form .wpcf7-spinner {
  display: none;
}

body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file]) {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #fff;
  border: 1px solid #aaaaaa;
  border-radius: 1rem;
  padding: 0.5rem;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file]) {
    flex-direction: column;
    padding: 1rem;
  }
}

body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file])::before {
  content: "ファイルを選択してください";
  flex-shrink: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #aaaaaa;
  border-radius: 0.2rem;
  color: #fff;
  width: 24rem;
  height: 3.8rem;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file])::before {
    top: 1rem;
    bottom: auto;
    left: 1rem;
    width: calc(100% - 2rem);
  }
}

body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file]) input {
  height: 3.8rem;
  line-height: 3.8rem;
  width: 100%;
  padding-left: 25.2rem;
  color: #aaaaaa;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file]) input {
    height: 7rem;
    padding-left: 0;
    padding-top: 3.8rem;
  }
}

body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file]) input::file-selector-button {
  display: none;
}

body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file]) .wpcf7-not-valid-tip {
  flex-shrink: 0;
}

body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file])+.wpcf7-form-control-wrap:has(input[type=file]) {
  margin-top: 0.8rem;
}

body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file]):has(input[type=file].selected) {
  border-color: #1d1d1d;
}

body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file]):has(input[type=file].selected)::before {
  background: #1d1d1d;
}

body.page-template-page-inquiry main .box form .wpcf7-form-control-wrap:has(input[type=file]):has(input[type=file].selected) input {
  color: #1d1d1d;
}

body.page-template-page-inquiry main .box .button-wrapper {
  margin-top: 4rem;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box .button-wrapper {
    margin-top: 3.2rem;
  }
}

body.page-template-page-inquiry main .box .button-wrapper button {
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  body.page-template-page-inquiry main .box .button-wrapper button {
    width: 25.2rem;
    gap: 0.5rem 2rem;
    text-align: left;
  }
}

body.page-template-page-inquiry main .box .button-wrapper button::before {
  text-align: left;
}

body.page-template-page-inquiry main .box.career .form-item:has(*[aria-required=true]) .title::after, body.page-template-page-inquiry main .box.career .form-item:has(input[type=radio]) .title::after {
  background: #f37f28;
}

body.page-template-page-inquiry main .box.career form .wpcf7-acceptance .wpcf7-list-item label {
  font-family: "Noto Sans JP", sans-serif;
}

body.page-template-page-inquiry main .box.career form .wpcf7-acceptance .wpcf7-list-item label::before {
  border-color: #f37f28;
}

body.page-template-page-inquiry main .box.career form .wpcf7-acceptance .wpcf7-list-item label:has(input:checked)::before {
  border-color: #f37f28;
  background: #f37f28 url("../img/inquiry/check.svg") center/1.5rem 1.5rem no-repeat;
}

body.page-template-page-inquiry main .box.career form .wpcf7-acceptance .wpcf7-list-item label a {
  color: #f37f28;
}

.form-item {
  display: block;
}

.wpcf7-turnstile {
  width: fit-content;
  margin-top: 4rem;
  margin-inline: auto;
}

body.page-template-page-inquiry main .box form .select-wrapper:has([name="birth-year"])::after {
  display: none !important;
}

/*# sourceMappingURL=page-inquiry.css.map */