#contact div.inner {
  max-width: 1440px;
}
#contact #form {
  padding: 3em 0 5em;
}
#contact #form .form_sec {
  background: #ecefe5;
  padding: 3em 0;
}
#contact #form .privacy_sec {
  max-width: 800px;
  margin: 0 auto;
  padding: 3em 0;
  font-size: 1.6rem;
}
#contact #form .privacy_sec p {
  font-weight: 700;
}
#contact #form .privacy_sec .box {
  background: #e6e6e6;
  padding: 2em 3em;
  margin-bottom: 2em;
}
#contact #form .privacy_sec .box .box_inner {
  background: #ffffff;
  height: 20em;
  overflow-y: scroll;
  padding: 1em;
}
#contact #form .privacy_sec .box .box_inner h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5em;
}
#contact #form .privacy_sec .box .box_inner h2 + p {
  padding: 0;
}
#contact #form .privacy_sec .box .box_inner p, #contact #form .privacy_sec .box .box_inner ul, #contact #form .privacy_sec .box .box_inner ol {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1em;
  padding-left: 1em;
}
#contact #form .privacy_sec .box .box_inner ul, #contact #form .privacy_sec .box .box_inner ol {
  list-style: disc;
  margin-left: 1.5em;
}
#contact #form .privacy_sec .box .box_inner ol {
  list-style: decimal;
}
#contact #form .privacy_sec .box .box_inner h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5em;
}
#contact #form .confirm {
  max-width: 800px;
  margin: 0 auto;
}
#contact #form .confirm p {
  font-weight: 400;
  text-align: center;
  margin-bottom: 1.4em;
}
#contact #form .confirm dl {
  margin: 3em 0;
}
#contact #form .confirm .btn_box {
  display: flex;
  gap: 2em;
}
#contact #form .confirm .btn_box button {
  flex: 1;
}
#contact #form .required {
  font-size: 60%;
  color: #ffffff;
  background: #808080;
  padding: 0.2em 0.5em;
  margin-left: 0.5em;
}
#contact #form #mail_error {
  font-size: 80%;
  color: #F24144;
}
#contact #form dl {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1em 0;
  font-size: 1.6rem;
}
#contact #form dl dt {
  width: 30%;
}
#contact #form dl dd {
  width: 70%;
}
#contact #form form .item1 {
  display: flex;
  gap: 1em;
}
#contact #form form .item1 input {
  flex: 1;
}
#contact #form form [type="text"],
#contact #form form [type="email"],
#contact #form form textarea {
  background: #ffffff;
  width: 100%;
  padding: 0.5em 1em;
  border-radius: 5px;
}
#contact #form form [type="text"]::placeholder,
#contact #form form [type="email"]::placeholder,
#contact #form form textarea::placeholder {
  color: rgba(0, 0, 0, 0.2);
}
#contact #form form #search_btn {
  border-radius: 5px;
  text-align: center;
  color: #ffffff;
  flex: 0.8;
  line-height: 2.6em;
  background: var(--c-color);
  cursor: default;
}
#contact #form form textarea {
  resize: vertical;
  height: 10em;
}
#contact #form form label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 1em 0;
}
#contact #form form label [type="checkbox"] {
  position: relative;
  width: 24px;
  height: 24px;
  appearance: none;
  background: #FFFFFF;
  border: solid 2px #808080;
  border-radius: 4px;
  box-shadow: 0 0 0 0 transparent;
  transition: var(--c-transition);
}
#contact #form form label [type="checkbox"]:checked {
  background: #449480;
  border-color: #3c8334;
}
#contact #form form label [type="checkbox"]:checked::before {
  opacity: 1;
}
@media (forced-colors: none) and (any-hover: hover) {
  #contact #form form label [type="checkbox"]:hover:enabled {
    border-color: #3c8334;
    box-shadow: 0 0 0 4px #e8ffce;
  }
}
#contact #form form label [type="checkbox"]::before {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0;
  mask-image: url("../images/icon.svg");
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: #FFFFFF;
}
#contact #form form label:has([type="checkbox"]:disabled) {
  opacity: 0.4;
}
#contact #form form [type="submit"], #contact #form form .back_btn {
  background: var(--c-color);
  color: #ffffff;
  width: 80%;
  display: block;
  margin: 0 auto;
  text-align: center;
  padding: 1em 0;
  font-size: 2.0rem;
  transition: var(--c-transition);
}
#contact #form form [type="submit"]:hover, #contact #form form .back_btn:hover {
  background: #048363;
}
#contact #form form [type="submit"]:disabled, #contact #form form .back_btn:disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

@media screen and (max-width: 768px) {
  #contact #form .privacy_sec {
    background: #ecefe5;
  }
  #contact #form .privacy_sec p {
    text-align: center;
  }
  #contact #form .privacy_sec .box {
    width: 90%;
    margin: 0 auto;
    background: #e6e6e6;
    padding: 2em 1em;
    margin-bottom: 2em;
  }
  #contact #form dl {
    flex-direction: column;
    width: 90%;
    gap: 1em 0;
    font-size: 1.6rem;
  }
  #contact #form dl dt {
    width: 100%;
  }
  #contact #form dl dd {
    width: 100%;
  }
  #contact #form form .item1 {
    display: flex;
    gap: 1em;
  }
  #contact #form form .item1 input {
    flex: 1;
  }
  #contact #form form [type="text"],
  #contact #form form [type="email"],
  #contact #form form textarea {
    border: 1px solid var(--c-color);
  }
  #contact #form form label {
    font-size: clamp(1.4rem, 3.9vw, 2rem);
  }
  #contact #form form [type="submit"] {
    width: 90%;
  }
}
