@charset "UTF-8";

.site-visual {
  position: relative;
  max-width: 100%;
  height: 320px;
}

.main-visual {
  height: 320px;
}

.main-visual__img {
  height: 320px;
  object-fit: cover;
}

.animation__txt {
  padding-top: 60px;
  color: #fff;
  font-size: 3rem;
  text-align: center;
  letter-spacing: 1px;
  animation: fadeIn2 4s ease .01s;
}

div.animation_box2 {
  position: absolute;
  top: 100px;
  width: 100%;
  transform: translateY(-50px);
  transition: 2s ease;
}

@keyframes fadeIn2 {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  padding: 3% 6% 4% 6%;
}

.breadcrumb__item a,
.breadcrumb__item {
  color: #000;
  font-size: 0.875rem;
}

.breadcrumb .breadcrumb__item:not(:last-of-type)::after {
  content: ">";
  margin: 5px;
  color: #000;
}

#g-nav.panelactive {
  display: block !important;
}

body #g-nav.panelactive {
  display: block !important;
}

.contact {
  padding: 45px 0 70px;
  margin-bottom: -60px;
  margin-top: 0;
  background: var(--sub-color);
}

.contact .txt {
  position: relative;
  margin-top: 30px;
}

.contact .title {
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

.contact p {
  padding: 0 6%;
  margin-top: 0;
  font-size: 1rem;
  text-align: left;
  line-height: 1.6;
}

.privacy__txtbox .txt {
  margin: 0;
  padding: 6px;
  font-size: 0.875rem;
  text-align: justify;
}

.form__box {
  padding: 0 6%;
  margin: 25px 0 35px 0;
  text-align: left;
}

.input__field,
.textarea__field {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 7px auto 20px auto;
  border-radius: 10px;
  height: 43px;
  background: #fff;
  color: #000;
}

.textarea__field {
   height: 170px;
}

.inputitem {
  display: block;
  margin-bottom: 17px;
}

.form__box {
  border-color: var(--main-black);
}

.wpcf7-form-control-wrap {
  position: relative;
  margin-bottom: 4px;
}

.check__wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  gap: 8px;
}

.wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #000;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

textarea {
  width: 100%;
  padding: 9px;
  border-radius: 10px;
}

input::placeholder {
  color: #ccc;
}

.privacy__title {
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
}

.privacy__txtbox {
  height: 200px;
  overflow: auto;
  padding: 9px;
  margin: 15px 6% 20px 6%;
  background: #fff;
  border-radius: 10px;
}

.inputitem:nth-of-type(5) {
  margin-bottom: 10px;
}

.required {
  margin-left: 3px;
  color: #c1272d;
}

textarea {
  resize: none;
}

.btn-inner {
  position: relative;
  display: block;
  width: 100%;
}


.from__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  margin: 37px auto 0;
  padding: 15px 20px;
  background: var(--main-black);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: .2s;
}

.from__btn input.wpcf7-submit {
  background: transparent;
  border: none;
  color: #fff;
  width: 100%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.from__btn .arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.wpcf7-response-output {
  display: none !important;
}

.wpcf7 form .wpcf7-spinner {
  display: none !important;
}

input[type="submit" i]:disabled {
  background: none;
}

.wpcf7-submit {
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
  padding: 0;
  line-height: 1;
  background: none;
}

.wpcf7-form.submitting .arrow {
  display: none !important;
}

input,
textarea {
  color: #fff;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 9999s ease-in-out 0s;
}

.btn-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wpcf7-not-valid-tip {
  color: #c1272d;
  font-size: 0.9rem;
}

.wpcf7 .wpcf7-submit:disabled {
  cursor: not-allowed;
  color: #fff;
}

.wpcf7-not-valid-tip,
.wpcf7-form {
  display: block;
  margin: 10px auto 0 auto;
}

.wpcf7 form.invalid .wpcf7-response-output {
  border: none;
  text-align: center;
  color: #c1272d;
}

.wpcf7-form init {
  background: #fff;
}

@media((min-width:768px) and (max-width: 990px)) {
.contact {
    padding: 45px 0 80px;
    margin-bottom: -70px;
}
}

@media(min-width:991px) {

  .site-visual,
  .main-visual {
    width: 100%;
    height: 350px;
  }

  .main-visual__img {
    width: 100%;
    height: 350px;
  }

  .animation__txt {
    text-align: left;
  }

  div.animation_box2 {
    left: 12%;
    width: 50%;
  }

  .breadcrumb {
    padding: 1% 12%;
  }

  .contact {
    padding: 0 0 130px;
    margin-bottom: -210px;
  }

  .contact .title {
    margin-top: 70px;
  }

  .contact p {
   width: 450px;
   padding: 0;
    margin: 35px auto 45px;
  }

  .form__box {
    display: block;
    margin: 25px auto 35px auto;
  }

  .inputitem input {
    width: 650px;
    margin: 15px auto 0 auto;
    padding: 10px;
    border-radius: 10px;
    height: 43px;
  }

  .inputitem {
    display: block;
    width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  textarea {
    display: block;
    width: 650px;
    height: 140px;
    margin-left: auto;
    margin-right: auto;
  }

  .privacy__txtbox .txt {
    width: 610px;
  }

  .privacy__txtbox {
    display: block;
    width: 650px;
    height: 250px;
    padding: 13px;
  }

  .input__field,
  .textarea__field {
    width: 650px;
  }

  .wpcf7-not-valid-tip,
  .wpcf7-form {
    width: 650px;
    margin-left: auto;
  }
}


