.contact-container{
  padding: 2rem 10%;
  background-color:#F7F8F9;
}
.contact-content{
  background-color:#fff;
}
.contact-box{
  display: flex;
  justify-content: space-between;
}
.contact-column{
  width: 32%;
  background: #FFFFFF;
  border-radius: 0.2rem;
  padding: 1.2rem;
  box-sizing: border-box;
}
.contact-column-image{
  width: 1.6rem;
  height: 1.6rem;
}
.contact-column-title{
  padding: 0.4rem 0 0.3rem 0;
  font-weight: 500;
  font-size: 0.7rem;
  color: #000000;
  line-height: 1rem;
}
.contact-column-name, .contact-column-value{
  display: inline-block;
  font-weight: 400;
  font-size: 0.45rem;
  color: #1A1A1A;
  line-height: 0.8rem;
}
.contact-column-value{
  color:  #4D4D4D;
}

.contact-content-title{
  font-weight: 500;
  font-size: 1rem;
  color: #000000;
  line-height: 1.4rem;
  text-align: center;
}

.contact-content-desc{
  margin-top: 0.4rem;
  font-weight: 400;
  font-size: 0.45rem;
  color: #4D4D4D;
  line-height: 0.6rem;
  text-align: center;
}
.contact-form{
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.contact-form-item{
  width: 32%;
  margin-top: 0.8rem;
}
.contact-form-title{
  display: flex;
  align-items: start;
  font-weight: 400;
  font-size: 0.45rem;
  color: #1A1A1A;
  line-height: 0.6rem;
}
.contact-form-label{
  cursor: pointer;
}
.contact-form-label > a {
  color: #C0191F;
  transition: 0.3s all;
}
.contact-form-label > a:hover {
  color: #D35E63;
}
.contact-form-require{
  color: #C0191F;
  margin-right: 0.1rem;
}
.contact-form-input{
  margin-top: 0.2rem;
  width: 100%;
  padding: 0.3rem 0.6rem;
  font-weight: 400;
  font-size: 0.45rem;
  color: #666;
  line-height: 0.6rem;
  border: 1px solid #EDEDED;
}
.contact-form-input.error {
  border: 1px solid #C0191F;
}
.contact-form-textarea{
  height: 5rem;
}
.contact-container .contact-form-row{
  width: 100%;
}
.contact-form-footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 0.9rem;
}
.agreement {
  display: none;
}
.contact-form-privacy{
  display: flex;
  justify-content: center;
}
.contact-form-checkbox{
  width: 16px;
  height: 16px;
  margin-right: 0.3rem;
  transform: translateY(5px);
}

.contact-form-button{
  width: 7.7rem;
  height: 1.2rem;
  line-height: 1.2rem;
  background: #C0191F;
  border-radius: 0.6rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.45rem;
  color: #FFFFFF;
  margin-top: 1.2rem;
}
.contact-form-button:hover{
  color: #fff;
  background-color: #D35E63;
}

.contact-modal{
  position: fixed;
  visibility: hidden;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  transition: all .3s;
}
.contact-modal.active {
  display: block;
  visibility: visible;
  background-color: rgba(0,0,0,.8);
}
.contact-modal-wrap{
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -50%);
  width: calc(564rem / 40);
  box-sizing: border-box;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFFFF;
  border-radius: 0.4rem;
  transition: all .3s;
  opacity: 0;
}
.contact-modal.active .contact-modal-wrap {
  top: 50%;
  opacity: 1;
}
.contact-modal-success{
  width: 2.5rem;
  height: 2.5rem;
}
.contact-modal-title{
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 0.8rem;
  color: #000000;
  line-height: 1.1rem;
}
.contact-modal-content{
  margin-top: 0.5rem;
  font-weight: 400;
  font-size: 0.5rem;
  color: #4D4D4D;
  line-height: 0.9rem;
  text-align: center;
}
.contact-modal-close{
  width: calc(216rem / 40);
  height: calc(48rem / 40);
  line-height: calc(48rem / 40);
  margin-top: 0.8rem;
}
@media screen and (max-width: 1000px) {
  .contact-box {
    flex-direction: column;
  }
  .contact-column{
    width: 100%;
  }
  .contact-column:not(:first-child) {
    margin-top: 0.5rem;
  }
  .contact-form-item{
    width: 49%;
  }
}

@media screen and (max-width: 500px) {
  .contact-container {
    padding: 1rem 5%;
  }
  .contact-form-item{
    width: 100%;
  }
  .contact-form-privacy{
    align-items: flex-start;
  }
  .contact-modal-wrap{
    width: calc(310rem / 26);
  }
}