/* define */
input,
textarea {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  color: #000;
  font-family: inherit;
}

input[type="text"]:disabled {
  display: none;
}

input[type="submit"]:disabled {
  opacity: 0.3;
}

label.radio {
  font-size: clamp(14px, 1.2vw, 18px);
  position: relative;
  cursor: pointer;
  padding-left: 30px;
  margin-right: 10px;
  opacity: 0.6;
}

#radiobox {
  margin: 20px 0;
}

label.radio::before,
label.radio::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}

label.radio::before {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  left: 0px;
}

label.radio::after {
  background-color: #464646;
  border-radius: 50%;
  opacity: 0;
  width: 16px;
  height: 16px;
  left: 3px;
}

.radiobtn:checked + label.radio::after,
.radiobtn:checked + label.radio {
  opacity: 1;
  font-weight: 600;
}

.radiobtn {
  position: absolute;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
}

input[type="text"] {
  background-color: #fff;
  height: 2.6rem;
  padding: 0.5rem;
}

textarea {
  background-color: #fff;
  padding: 0.5rem;
}

.submitbox {
  text-align: center;
  margin-top: 20px;
}

#submitbtn {
  cursor: pointer;
}

.result {
  margin: 40px auto;
  text-align: center;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.result p {
  margin: 20px auto;
}

#contactform .contact:not(.latest) {
  background: transparent;
}
#contactform .page-wrapper {
  position: relative;
}
#contactform .page-wrapper.active {
  opacity: 1;
  animation-name: slideInBottom;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
}

#contactform .page-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

#contactform .contents {
  width: 100%;
  margin: 40px auto;
  max-width: 860px;
}
@media screen and (max-width: 750px) {
  #contactform .contents {
    margin-top: 11.3333333333%;
  }
}
@media screen and (min-width: 751px) and (max-width: 1024px) {
  #contactform .contents {
    margin-top: 8.0078125%;
    padding: 0 4.4921875% 0;
  }
}
#contactform .contents h3 {
  font-size: var(--clamp18);
  margin: 32px auto 8px auto;
}
#contactform .contents h3 span {
  font-size: var(--clamp14);
}
#contactform .contents p {
  text-align: center;
  font-size: 12px;
  color: #727272;
}
#contactform .contents p#error1,
#contactform .contents p#error2 {
  color: #ff0000;
  text-align: left;
  margin-top: 0;
}
#contactform button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.grecaptcha-badge {
  bottom: 80px !important;
}
