@import "init.css";

.main {
   width: 100%;
   height: 100%;
   background: url('../images/contactbg.jpg') center top repeat-y;
   background-size: cover;
}

.maintitle {
   font-size: 100px;
   margin: 303px 0 143px 25%;
}


/*主体样式*/
.topline {
   border-top: 2px solid #fff;
}

.container {
   width: 75%;
   margin: 0 0 0 25%;
   background-color: #fff;
   padding-top: 78px;
   color: #332d2b;
   overflow: hidden;
}

.info-container {
   width: 780px;
   margin: 0 auto 68px;
   border-top: 1px solid #7f7f7f;
   display: flex;
   flex-wrap: wrap;
}

.info-title {
   font-size: 20px;
   margin: 22px 0 20px;
   font-weight: bold;
   width: 100%;
}

.contactlist {
   width: 100%;
   display: grid;
   grid-template-columns: 40% 50%;
   /* 第一列40%，第二列50% */
   column-gap: 10%;
   /* 两列之间的间距 */
}

.ptext {
   font-size: 16px;
   width: 100%;
   margin-bottom: 15px;
   font-family: "enMedium","Noto Sans SC";
}

.cntitle {
   font-size: 50px;
   margin: 0 0 60px 9%;
}

.addresslist {
   width: 100%;
   display: grid;
   grid-template-columns: 40% 50%;
   /* 第一列40%，第二列50% */
   column-gap: 10%;
   /* 两列之间的间距 */
   row-gap: 40px;
   margin-top: 10px;
}

.addresslist>li {
   display: flex;
}

.addresstitle {
   font-size: 18px;
   line-height: 1;
   margin-bottom: 10px;
}

.addresstext {
   font-size: 16px;
   text-decoration: underline;
   line-height: 1.5;
   padding-right: 10%;

}

.icon-dingwei {
   color: #f23b35;
   font-size: 22px;
   margin-right: 20px;
}

.shoplist {
   display: grid;
   grid-template-columns: 40% 40%;
   column-gap: 20%;
   row-gap: 40px;
   font-size: 12px;
   width: 100%;
   padding-top: 50px;
}

.shoplist>li {
   display: flex;
   flex-direction: column;
   border-top: 1px solid #e4e2df;
   font-weight: 500 !important;
}

.shoplist .text1 {
   margin-top: 12px;
   font-size: 16px;
   font-weight: 500 !important;
}

.shoplist .text2 {
   margin-top: 6px;
   width: 65%;
   font-weight: 500 !important;
   line-height: 1.4;
}

.shoplist .text3 {
   margin: 17px 0;
}

.shoplist .text4 {
   color: #332d2b;
   text-decoration: underline;
   font-weight: 500 !important;
}

.viewall-btn {
   width: 312px;
   height: 36px;
   line-height: 36px;
   border-radius: 50px;
   background-color: #bcb09d;
   color: #fff;
   font-size: 12px;
   text-align: center;
   margin: 12vh auto 8vh;
   cursor: pointer;
   transition: background-color 0.4s;
}

.viewall-btn:hover {
   background-color: #978d7e;
}

.entitle1 {
   font-size: 138px;
   margin: 0 0 0 30%;
   line-height: 1;
}

.entitle2 {
   font-size: 138px;
   margin: 0 0 60px 9%;
   line-height: 1;
}

/* 表单容器 */
.contact-form {
   width: 100%;
   min-width: 640px;
   padding-top: 35px;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}

/* 表单组 */
.form-group {
   margin-bottom: 31px;
   background-color: #f1f1f3;
   display: flex;
   align-items: center;
   height: 66px;
   width: 45%;
   padding: 15px 20px;
}

.form-textarea {
   background-color: #f1f1f3;
   display: flex;
   height: 200px;
   width: 100%;
   padding: 15px 20px;
   align-items: flex-start;
}

/* 标签样式 */
label {
   display: block;
   display: flex;
   align-items: center;
   font-size: 14px;
   color: #787879;
}

/* 必填标识 */
.required {
   color: #ff0000;
   font-size: 14px;
}

/* 输入框和文本区域 */
input {
   width: 86%;
   padding: 12px;
   font-size: 14px;
   background-color: transparent;
   border: 0;
   color: #787879;
}

textarea {
   width: 90%;
   min-height: 170px;
   margin: 0 18px;
   font-size: 14px;
   line-height: 14px;
   background-color: transparent;
   border: 0;
   color: #787879;
   outline: none;
}

/* 提交按钮 */
.submit-btn {
   width: 424px;
   height: 52px;
   margin: 58px auto 110px;
   line-height: 52px;
   background-color: #bcb09d;
   color: white;
   font-size: 16px;
   text-align: center;
   border: none;
   border-radius: 50px;
   cursor: pointer;
   transition: background-color 0.4s;
}

.submit-btn:hover {
   background-color: #978d7e;
}

input::placeholder,
textarea::placeholder {
   color: #787879;
}

.slogan {
   width: 70%;
   margin: 0 0 82px 9%;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.slogan .text1 {
   font-size: 26px;
   letter-spacing: 5px;
}

.slogan .text2 {
   font-size: 16px;
}


/* 响应式布局 */
@media (max-width: 1280px) {
   .info-container {
      width: 80%;
   }
}


@media (max-width: 1024px) {
   .container {
      width: 87.2%;
      margin-left: 12.8%;
   }
}

@media (max-width: 960px) {

   .container {
      width: 87.2%;
      margin-left: 12.8%;
      padding-top: 0.59rem;
   }

   .maintitle {
      font-size: 0.5rem;
      margin: 1.24rem 0 0.68rem 15%;
   }

   .main {
      width: 100%;
      height: 100%;
      background: url('/images/contactbg-s.jpg') center top repeat-y;
      background-size: cover;
   }

   .info-container {
      width: 66%;
      margin: 0 7.4% 0.65rem 26.6%;
      border-top: 1px solid #7f7f7f;
      display: flex;
      flex-wrap: wrap;
   }

   .info-title {
      font-size: 0.33rem;
      margin: 0.2rem 0 0.46rem;
      font-weight: bold;
      width: 100%;
   }

   .ptext {
      font-size: 0.25rem;
      margin-bottom: 15px;
      width: 100%;
      color: #332d2b;
   }

   .ptext a {
      color: #332d2b;
   }

   .cntitle {
      font-size: 0.46rem;
      margin: 0 0 0.86rem 9%;
   }

   .contactlist {
      grid-template-columns: repeat(1, 1fr);
   }

   .addresslist {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      column-gap: 10%;
      row-gap: 0.5rem;
      margin-top: 10px;
   }

   .icon-dingwei {
      color: #f23b35;
      font-size: 0.36rem;
      margin-right: 0.22rem;
   }

   .addresstitle {
      font-size: 0.29rem;
      line-height: 1;
      margin-bottom: 10px;
   }

   .addresstext {
      font-size: 0.25rem;
      padding-right: 0;
   }

   .shoplist {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      column-gap: 10%;
      row-gap: 0.3rem;
      padding-top: 0.1rem;
   }

   .shoplist .text1 {
      margin-top: 12px;
      font-size: 0.25rem;
      font-weight: 500 !important;
   }

   .shoplist .text2 {
      margin-top: 6px;
      width: 100%;
      font-size: 0.21rem;
   }

   .shoplist .text3 {
      font-size: 0.21rem;
      margin: 0.25rem 0;
   }

   .shoplist .text4 {
      font-size: 0.21rem;
   }

   .viewall-btn {
      width: 4.31rem;
      height: 0.58rem;
      line-height: 0.58rem;
      border-radius: 50px;
      background-color: #bcb09d;
      color: #fff;
      font-size: 0.25rem;
      text-align: center;
      margin: 0.54rem auto 0.3rem;
      cursor: pointer;
      transition: background-color 0.4s;
   }

   .entitle1 {
      font-size: 0.625rem;
      margin: 0 0 0 30%;
      line-height: 1;
   }

   .entitle2 {
      font-size: 0.625rem;
      margin: 0 0 0.8rem 9%;
      line-height: 1;
   }

   .contact-form {
      padding: 0.12rem 0;
      min-width: 100%;
      flex-direction: column;
   }

   .form-group {
      margin-bottom: 0.15rem;
      background-color: #f1f1f3;
      display: flex;
      align-items: center;
      height: 0.8rem;
      width: 100%;
      padding: 0.3rem 0.2rem;
   }

   label {
      font-size: 0.21rem;
   }

   input {
      width: 80%;
      font-size: 0.21rem;
      line-height: 0.21rem;
   }

   .form-textarea {
      background-color: #f1f1f3;
      display: flex;
      height: 1.88rem;
      width: 100%;
      padding: 0.3rem 0.2rem;
      align-items: flex-start;
   }

   textarea {
      width: 80%;
      min-height: 1.28rem;
      padding: 0 12px;
      margin: 0;
      font-size: 0.21rem;
      line-height: 0.21rem;
      background-color: transparent;
      border: 0;
      color: #787879;
      outline: none;
   }

   .submit-btn {
      width: 4.31rem;
      height: 0.58rem;
      line-height: 0.58rem;
      font-size: 0.25rem;
      margin: 0.53rem auto 0.5rem;
   }

   .slogan {
      width: 84%;
      margin: 0 0 0.8rem 9%;
      display: flex;
      justify-content: space-between;
      align-items: center;
   }

   .slogan .text1 {
      font-size: 0.25rem;
      letter-spacing: 0px;
   }

   .slogan .text2 {
      font-size: 0.21rem;
   }
}