@charset "UTF-8";
.form_wrap {
  background-color: #FFF;
  border-radius: 12px;
  padding: 42px 16px;
}

:is(form, .form) {
  display: grid;
  max-width: 900px;
  gap: 6px;
  margin: auto;
}
:is(form, .form) .error_area {
  position: relative;
}
:is(form, .form) .error_area .error {
  border: 3px solid #ff0000;
}
:is(form, .form) p.error_comment {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 12px !important;
  color: #ff0000;
  background: #ffe2e2;
  padding: 8px 10px;
  font-weight: bold;
  display: flex;
  justify-content: flex-start;
  text-align: left;
  border-radius: 5px;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.2));
}
:is(form, .form) p.error_comment::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 8px;
  width: 8px;
  height: 8px;
  background: #ffe2e2;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
:is(form, .form) .req::before {
  color: #FFF;
  background: #0B4848;
  content: "必須";
}
:is(form, .form) dl {
  width: 100%;
}
:is(form, .form) dl dt {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 1rem;
}
@media screen and (min-width: 769px) {
  :is(form, .form) dl dt {
    font-size: 1rem;
  }
}
:is(form, .form) dl dt::before {
  display: inline-block;
  padding: 3px 10px;
  color: #231815;
  background: #EDEDEC;
  line-height: 120%;
  font-size: 12px;
  margin-right: 10px;
  border-radius: 20px;
  content: "任意";
  font-size: 0.625rem;
}
:is(form, .form) dl dd p {
  margin-top: 5px;
  font-size: 12px;
  color: #7f7c7c;
}
:is(form, .form).table dl {
  display: grid;
  align-items: center;
}
@media screen and (min-width: 769px) {
  :is(form, .form).table dl {
    grid-template-columns: 260px 1fr;
  }
}
:is(form, .form).table dl:last-of-type {
  border-bottom: none;
}
:is(form, .form).table dl dd,
:is(form, .form).table dl dt {
  padding: 5px;
  line-height: 120%;
}
:is(form, .form).table dl dt {
  margin-bottom: 0;
}
:is(form, .form).table dl dd {
  width: 100%;
}
:is(form, .form).table dl dd span {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
}
:is(form, .form).table dl dd p {
  margin-top: 10px;
}
:is(form, .form).table dl dt {
  max-width: 100%;
  font-weight: bold;
}
:is(form, .form) .three_column {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}
@media screen and (min-width: 769px) {
  :is(form, .form) .three_column {
    flex-wrap: nowrap;
  }
}
:is(form, .form) .three_column label {
  width: 100%;
}
@media screen and (min-width: 769px) {
  :is(form, .form) .three_column label {
    width: auto;
  }
}
:is(form, .form) .three_column label input[type=text] {
  width: 100%;
}
:is(form, .form) .two_column {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
:is(form, .form) .two_column label {
  display: block;
  width: 100%;
}
@media screen and (min-width: 769px) {
  :is(form, .form) .two_column label {
    max-width: 48%;
  }
}
:is(form, .form) .two_column label + label {
  margin-top: 15px;
}
@media screen and (min-width: 769px) {
  :is(form, .form) .two_column label + label {
    margin-top: 0;
  }
}
:is(form, .form) .two_column label input[type=text] {
  width: 100%;
}
:is(form, .form) .sub_label {
  font-size: 0.9375rem;
}
:is(form, .form) textarea,
:is(form, .form) select,
:is(form, .form) input {
  border-radius: 3px;
  font-size: 16px;
  min-height: 48px;
  border-radius: 5px;
}
@media screen and (min-width: 769px) {
  :is(form, .form) textarea,
  :is(form, .form) select,
  :is(form, .form) input {
    font-size: 14px;
  }
}
@media screen and (min-width: 769px) {
  :is(form, .form) input {
    max-width: 450px;
  }
}
:is(form, .form) textarea {
  height: 210px;
  width: 100%;
  background: #FFF;
  border: 1px solid #707070;
  padding: 8px;
  line-height: 1.6;
}
:is(form, .form) input[type=text],
:is(form, .form) input[type=email],
:is(form, .form) input[type=tel],
:is(form, .form) input[type=date],
:is(form, .form) select {
  width: 100%;
  height: 30px;
  max-width: 100%;
  padding: 8px;
}
:is(form, .form) input[type=text]:focus,
:is(form, .form) input[type=email]:focus,
:is(form, .form) input[type=tel]:focus,
:is(form, .form) input[type=date]:focus,
:is(form, .form) select:focus {
  background: #FFF;
  border: 3px solid #CCC;
}
@media screen and (min-width: 769px) {
  :is(form, .form) input[type=text].short,
  :is(form, .form) input[type=email].short,
  :is(form, .form) input[type=tel].short,
  :is(form, .form) input[type=date].short,
  :is(form, .form) select.short {
    max-width: 150px;
  }
}
@media screen and (min-width: 769px) {
  :is(form, .form) input[type=text].middle,
  :is(form, .form) input[type=email].middle,
  :is(form, .form) input[type=tel].middle,
  :is(form, .form) input[type=date].middle,
  :is(form, .form) select.middle {
    max-width: 300px;
  }
}
@media screen and (min-width: 769px) {
  :is(form, .form) input[type=text].long,
  :is(form, .form) input[type=email].long,
  :is(form, .form) input[type=tel].long,
  :is(form, .form) input[type=date].long,
  :is(form, .form) select.long {
    max-width: 450px;
  }
}
:is(form, .form) input[type=text],
:is(form, .form) input[type=email],
:is(form, .form) input[type=tel],
:is(form, .form) input[type=date],
:is(form, .form) select,
:is(form, .form) textarea {
  background: #FFF;
  border: 1px solid #707070;
}
:is(form, .form) input[type=text]:focus, :is(form, .form) input[type=text]:focus-visible,
:is(form, .form) input[type=email]:focus,
:is(form, .form) input[type=email]:focus-visible,
:is(form, .form) input[type=tel]:focus,
:is(form, .form) input[type=tel]:focus-visible,
:is(form, .form) input[type=date]:focus,
:is(form, .form) input[type=date]:focus-visible,
:is(form, .form) select:focus,
:is(form, .form) select:focus-visible,
:is(form, .form) textarea:focus,
:is(form, .form) textarea:focus-visible {
  background: #FFF;
  border: 3px solid #F4F7F9;
}
:is(form, .form) [data-js=file] {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  width: 300px;
}
:is(form, .form) [data-js=file] [data-file=name] {
  flex: 1;
  padding: 8px;
  color: #555;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:is(form, .form) [data-js=file] [data-file=btn] {
  background-color: #f5f5f5;
  padding: 8px 16px;
  cursor: pointer;
  border-left: 1px solid #ccc;
  font-size: 14px;
}
:is(form, .form) [data-js=file] [data-file=delete] {
  margin-left: 8px;
  background: transparent;
  border: none;
  color: red;
  font-size: 1.2em;
  cursor: pointer;
}
:is(form, .form) [data-js=file] input[type=file] {
  display: none;
}
:is(form, .form) label:not([data-js=file]) input[type=file] {
  min-height: 20px;
  display: flex;
}
:is(form, .form) label:not([data-js=file]) input[type=file]::file-selector-button {
  text-align: center;
  padding: 10px 15px;
  margin: 5px 5px 5px 0;
  border: none;
  border-radius: 5px;
  color: #231815;
  min-width: 67px;
  display: block;
  background: #CCC;
  order: 1;
}
@media screen and (min-width: 769px) {
  :is(form, .form) label:not([data-js=file]) input[type=file]::file-selector-button {
    display: inline-block;
  }
}
:is(form, .form) .range {
  background: #F4F7F9;
  padding: 30px 10px;
}
:is(form, .form) .range div {
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  padding: 20px 15px;
  border-bottom: 1px solid #FFF;
}
:is(form, .form) .range div span {
  display: block;
  text-align: center;
  width: 130px;
}
:is(form, .form) .range input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  cursor: pointer;
  outline: none;
  height: 5px;
  width: 100%;
  background: #4f585c;
  border-radius: 10px;
}
:is(form, .form) .range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #F4F7F9;
  border: 3px solid #4f585c !important;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
:is(form, .form) .range input[type=range]::-moz-range-thumb {
  background: #F4F7F9;
  border: 3px solid #4f585c !important;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
}
:is(form, .form) .range input[type=range]::-moz-focus-outer {
  border: 0;
}
:is(form, .form) .range input[type=range]:active::-webkit-slider-thumb {
  background: #4f585c;
}
:is(form, .form) .agree_box {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
:is(form, .form) .agree_box dd {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  width: auto !important;
}
@media screen and (min-width: 769px) {
  :is(form, .form) .agree_box dd {
    flex-wrap: nowrap;
  }
}
:is(form, .form) .agree_box p.error_comment {
  position: absolute;
  bottom: calc(100% + 5px);
}
:is(form, .form) .agree_box p.error_comment::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 8px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
:is(form, .form) .agree_box .req::before {
  display: inline-block;
  padding: 3px 10px;
  line-height: 120%;
  font-size: 12px;
  margin-right: 10px;
  border-radius: 20px;
  font-size: 0.625rem;
}
:is(form, .form) .agree_box .checkbox input[type=checkbox] + span {
  white-space: normal;
}
:is(form, .form) .agree_box .radio input[type=radio] + span {
  white-space: normal;
}
:is(form, .form) .form_btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  max-width: 400px;
  width: 100%;
  min-height: 60px;
  background: #0B4848;
  border-radius: 100px;
  border: none;
  text-align: center;
  font-weight: bold;
  color: #FFF;
}
:is(form, .form) .noactive,
:is(form, .form) button[type=submit]:disabled,
:is(form, .form) input[type=submit]:disabled {
  background: #EDEDEC;
  border: 1px solid #EDEDEC;
  color: #333;
  cursor: not-allowed;
}
:is(form, .form) .back {
  background: #F4F7F9;
  border: 1px solid #F4F7F9;
  color: #231815;
}
:is(form, .form) a {
  color: #231815;
  text-decoration: underline;
}
:is(form, .form) .checkbox {
  flex-direction: column;
}
:is(form, .form) :is(.checkbox, .radio) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
:is(form, .form) :is(.checkbox, .radio) label {
  display: inline-flex;
  align-items: center;
}
:is(form, .form) :is(.checkbox, .radio) input[type=checkbox],
:is(form, .form) :is(.checkbox, .radio) input[type=radio] {
  opacity: 0;
  width: 0;
  overflow: hidden;
  min-height: 0;
}
:is(form, .form) :is(.checkbox, .radio) input[type=checkbox] + span,
:is(form, .form) :is(.checkbox, .radio) input[type=radio] + span {
  position: relative;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1;
  margin: 0;
}
:is(form, .form) :is(.checkbox, .radio) input[type=checkbox] + span::before,
:is(form, .form) :is(.checkbox, .radio) input[type=radio] + span::before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  border: 1px solid #231815;
  background: #FFF;
  border-radius: 3px;
}
:is(form, .form) :is(.checkbox, .radio) input[type=checkbox] + span::after,
:is(form, .form) :is(.checkbox, .radio) input[type=radio] + span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  display: inline-block;
  opacity: 0;
}
:is(form, .form) :is(.checkbox, .radio) input[type=checkbox]:checked + span::before,
:is(form, .form) :is(.checkbox, .radio) input[type=radio]:checked + span::before {
  background: #231815;
  border: 1px solid #231815;
}
:is(form, .form) :is(.checkbox, .radio) input[type=checkbox]:checked + span::after,
:is(form, .form) :is(.checkbox, .radio) input[type=radio]:checked + span::after {
  opacity: 1;
}
:is(form, .form) :is(.checkbox, .radio) input[type=radio] + span::before {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: none;
}
:is(form, .form) :is(.checkbox, .radio) input[type=radio] + span::after {
  left: 3px;
  width: 14px;
  height: 14px;
  background-color: #231815;
  border: none;
  border-radius: 50%;
  transform: translateY(-50%);
}
:is(form, .form) :is(.checkbox, .radio) input[type=radio]:checked + span::before {
  background: none;
  transition: border-color 0.2s ease 0.3s;
}
:is(form, .form) :is(.checkbox, .radio) input[type=radio]:checked + span::after {
  opacity: 1;
  animation: checks-action-after 0.5s ease 0s 1 forwards;
}
:is(form, .form) :is(.checkbox, .radio) input[type=checkbox] + span::before {
  width: 18px;
  height: 18px;
}
:is(form, .form) :is(.checkbox, .radio) input[type=checkbox] + span::after {
  width: 7px;
  height: 18px;
  transform: translateY(-80%) rotate(45deg) skewX(15deg);
}
:is(form, .form) :is(.checkbox, .radio) input[type=checkbox]:checked + span::before {
  background: none;
  border-width: 2px;
  transition: border-width 0s ease 0.2s;
  animation: checks-action 0.5s ease 0s 1 forwards;
}
:is(form, .form) :is(.checkbox, .radio) input[type=checkbox]:checked + span::after {
  border-right: solid 3px #0B4848;
  border-bottom: solid 4px #0B4848;
  transition: border-bottom 0s ease-in 0.3s, border-right 0s ease-out 0.4s;
}
:is(form, .form) button {
  cursor: pointer;
}
:is(form, .form) .btn_default {
  font-size: 0.9375rem;
}
:is(form, .form) .btn_box_row .btn_default {
  min-width: 0;
  width: 50%;
  max-width: 360px;
}
:is(form, .form) .back {
  background: #F4F7F9;
  border: 1px solid #F4F7F9;
  color: #231815;
}
:is(form, .form) .back:hover {
  color: #CCC;
  background: none;
  text-decoration: none;
}
:is(form, .form) [type=reset] {
  width: 30%;
  max-width: 150px;
  background: #F4F4F4;
  border: 1px solid #F4F4F4;
  color: #231815;
  flex-shrink: 0;
}
:is(form, .form) [type=reset]:hover {
  color: #CCC;
  background: none;
  text-decoration: none;
}

@keyframes checks-action {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  70% {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}
@keyframes checks-action-after {
  from {
    left: 3px;
    width: 14px;
    height: 14px;
  }
  30% {
    left: 5px;
    width: 10px;
    height: 10px;
  }
  50% {
    left: 6px;
    width: 8px;
    height: 8px;
  }
  70% {
    left: 0px;
    width: 20px;
    height: 20px;
  }
  to {
    left: 3px;
    width: 14px;
    height: 14px;
  }
}
#confirm dl dt::before {
  display: none;
}

.error_message .error_title {
  font-size: 1.125rem;
  margin-bottom: 16px;
  font-weight: bold;
}
.error_message > div {
  color: #ff0000;
}

.no_javascript {
  background: #F4F4F4;
  padding: 20px;
  font-size: 14px;
}

.recaptcha_box {
  background: #F4F4F4;
  color: #231815;
  padding: 35px 15px;
  text-align: center;
  font-size: 10px;
  margin-inline: auto;
}

.grecaptcha-badge {
  visibility: hidden;
}

#confirm dt::after {
  display: none;
}

.file_error_box {
  text-align: center;
  padding: 15px;
  background: #F4F7F9;
  margin-bottom: 30px;
}

.form_file_box {
  width: -moz-fit-content;
  width: fit-content;
  padding: 15px;
  background: #F4F7F9;
  margin-bottom: 10px;
  margin-top: 10px;
}
.form_file_box .form_file_title {
  margin-bottom: 8px;
  font-size: 14px;
}
.form_file_box ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}
.form_file_box li {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form_file_box li a {
  display: in;
  padding: 2px 5px;
  background: #CCC;
}

[name=website] {
  width: 0;
  height: 0;
  padding: 0;
  border: none;
  overflow: hidden;
  position: absolute;
  left: -9999px;
}

#confirm dl {
  border-bottom: 1px solid #EEE;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
#confirm dl dd {
  font-size: 0.875rem;
}