*{
  box-sizing: border-box;
}
body{
  margin: 0px;
  padding: 0px;
}
.top-grid{
  width:1300px;
  height: 100px;
  display: grid;
  padding-left: 30px;
  grid-template-rows:60px 55px;
  grid-template-columns:280px 1fr;
  justify-content:center;
  grid-template-areas:"logo  h1"
                      "H-A-C h1";
  padding-top:10px;
  padding-bottom: 20px;
}
.logo{
  grid-area: logo;
  margin-top:30px ;
  padding-left: 20px;
}
.logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.h1{
  grid-area: h1;
  padding-right:50px;
  font-style: italic;
  color: darkblue;
}
.H-A-C{
  grid-area: H-A-C;
  display:flex;
  padding-left: 70px;
  justify-content:left;
  gap: 5px;
}
.H-A-C .Home-link{ 
  display: block;
  padding: 2px 10px;
  margin-top: 30px;
  border-radius:6px;
  background-color: green;
}
.H-A-C .Home-link a {
 color: white;
 text-decoration: none; 
}
.H-A-C .Home-link:hover{
  opacity: 0.3;
}

.contact-us{
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  width: 1300px;
  box-sizing: border-box;
}
.contact-T {
  width: 1300px;
  height: 50px;
  background-color: #808080;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 100px;
  padding-right: 90px;
  box-sizing: border-box;
}
.contact-N {
  width: 350px;
  height: 120px;
  margin-top: 50px;
  text-align: left;
  box-sizing: border-box;
}
.email-content {
  width: 800px;
  height: 500px;
  margin-top: 100px;
  text-align: left;
  box-sizing: border-box;
}
.email-content textarea[name="email-content"] {
  width:100%;
  height:100%;
  box-sizing: border-box;
  padding:12px;
}
button[type="submit"] {
  padding: 8px 16px;
  cursor: pointer;
  background: grey;
  color: #fff;
  border: none;
  border-radius: 4px;
}
button[type="submit"]:hover {
  background: #004499; /* 悬停更深一点的蓝色 */
}
.reminder{
  display: flex;
  font-size:11px;
  line-height:1.3;
  color:#333333;
  width: 100%;
  box-sizing: border-box;
}
.Uen{
  margin-top: 30px; /* 和上方表单拉开距离 */
  width: 1500px;
  height: 20px;
  text-align: left;
  padding-top: 5px;
  background-color:#000fff; 
  font-size:10px;
  line-height:1.3;
  color:#ffffff;
  width: 100%;
  box-sizing: border-box;
}

/* ========== 手机端 767px及以下 ========== */
@media screen and (max-width:767px) {
  .top-grid{
    width:100%;
    height:auto;
    padding-left:15px;
    padding-right:15px;
    grid-template-columns: 1fr;
    grid-template-rows:auto auto auto;
    grid-template-areas:
      "logo"
      "h1"
      "H-A-C";
  }
  .logo{
    margin-top:0;
  }
  .h1{
    padding-right:0;
  }
  .h1 h1{
    font-size:20px;
    margin:0;
  }
  .H-A-C{
    flex-wrap:wrap;
  }

  .contact-us{
    width:100%;
    padding:0 15px;
    margin-top:15px;
  }
  .contact-T{
    width:100%;
    height:auto;
    padding:10px 15px;
  }
  .contact-N{
    width:100%;
    margin-top:20px;
    height:auto;
  }
  .email-content{
    width:100%;
    height:300px;
    margin-top:20px;
  }
  .Uen{
    width:100%;
    height:auto;
    padding:8px 15px;
    font-size:9px;
  }
}