@charset "UTF-8";

.form_container {
  width: 100%;
  background-image: url(../img/front_bg.png);
  position: relative;
  padding:0 14rem ;
}

.container_text {
  padding-top: 12rem;
  margin-bottom: 7.9rem;
  font-size: 2.6rem;
  font-weight: 500;
  color: #000000;
  text-align: center;
  line-height:1.5;
}

.container_text_conf{
  width: 52rem;
  margin: 0 22rem;
  padding-top: 12rem;
  margin-bottom: 7.9rem;
  font-size: 2.6rem;
  font-weight: 500;
  color: #000000;
  line-height:1.5;
}

.post {
  text-align: left;
  color: #000000;
  font-size: 2rem;
  margin-bottom: 3rem;
  padding: 0 14rem;
}

.form_group {
  margin-bottom: 2.7rem;
}

.contact_font{
  display: inline-block;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.required {
  background-color: #EDB3AD;
  color: #122444;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 0 0.6rem;
  margin-left: 1.4rem;
  letter-spacing:0.18rem;
}

.contact_input,
.contact_textarea {
  width: 100%;
  padding: 1.2rem;
  border: 0.1rem solid #122444;
  border-radius: 1rem;
  background-color: #fff;
  font-size: 1.8rem;
  color:#000000 ;
  font-weight:700 ;
}

input::placeholder,
textarea::placeholder {
  color: #909090;
  font-weight:700;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #122444;;
  box-shadow: 0 0 0 0.1rem #122444;;
}

textarea {
  resize: vertical;
  height: 50rem;
}




.form_actions {
  display: flex;
  justify-content: center;
  margin-top: 8rem;
}

.form_button {
  width: 26.5rem;
  height: 6rem;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 2.4rem;
  color: #122242; 
  border: 0.1rem solid #122444;
  border-radius: 3rem;
  padding: 1rem 3.5rem;
  text-decoration: none; 
  transition: color 0.4s ease-out;
  cursor: pointer;
  text-align: left;
  background-color: #fff;
  letter-spacing:0.24rem;
}
.form_button{
  background-image: url('../img/navy_blue_arrow.png');
  background-size: 3.4rem 1.8rem;
  background-repeat: no-repeat;
  background-position: 20rem;
}



/* --- ホバー時のアニメーション --- */


.form_button:hover {
  color: #fff; 
  background-color: #122444;
  background-image: url('../img/white_arrow.png');
}

.form_arrow_icon {
  width: 3.4rem;
  height: 1.8rem;
  object-fit: cover;
  margin-left: 2rem;
}

.form_arrow_icon.hover {
  display: none;
}

.form_button:hover .form_arrow_icon.default {
  display: none;
}

.form_button:hover .form_arrow_icon.hover {
  display: inline;
}





.contact_ring{
  display: flex;
  justify-content: right;
  margin: 0 auto;
  padding-top: 2.4rem;
}

.contact_ring_phot{
  animation: swing_move_img 3s ease-in-out infinite alternate;
  background: url(../img/contact_ring.png) no-repeat center center / 15rem 15rem;
  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 15rem;
  height: 15rem;
  
}

@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}


@media screen and (max-width: 699.98px) {

  .form_container {
    padding: 0 1.5rem;
  }

  .container_text {
    padding-top: 6.1rem;
    margin-bottom: 5.9rem;
    font-size: 1.7rem;
    text-align: left;
    line-height: 2.2;
  }

  .container_text_conf{
    width: 100%;
    margin: 0;
    padding-top: 6.1rem;
    margin-bottom: 5.9rem;
    font-size: 1.7rem;
    line-height: 2.2;
  }

  .contact_font{
  font-weight: 700;
  margin-bottom: 2.1rem;
  font-size: 1.6rem;
  }
  
  .required {
  font-size: 1.6rem;
  padding: 0 1.3rem;
  margin-left: 2.4rem;
  letter-spacing:0.16rem;
  }

  .contact_input,
  .contact_textarea {
  font-size: 1.6rem;
  }

  input::placeholder,
  textarea::placeholder {
  color: #909090;
  font-weight:500;
  }

  textarea {
  height: 26.5rem;
  }


  .form_actions {
  display: grid;
  justify-content: center;
  margin-top:11rem ;
  }

  .form_button {
  width: 25rem;
  height: 6rem;
  font-size: 1.6rem;
  letter-spacing:0.16rem;
  }



.contact_ring{
  display: flex;
  justify-content: right;
  margin: 0 auto;
  padding-top: 2.4rem;
}

.contact_ring_phot{
  animation: swing_move_img 3s ease-in-out infinite alternate;
  background: url(../img/contact_ring.png) no-repeat center center / 4rem 4rem;
  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 4rem;
  height: 4rem;
  
}

@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}
}