.container {
  width: 700px;
  margin: 10px auto;
  padding: 20px;
  overflow: hidden;
}

.container span,
.container p,
.container div {
  line-height: 1.6;
}

h1 {
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: normal;
  position: relative;
  text-align: center;
}

h1 span {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0 4em;
  padding: 0 1em;
  background-color: #fff;
  text-align: left;
}

h1::before {
  position: absolute;
  top: 50%;
  z-index: 1;
  content: '';
  display: block;
  width: 100%;
  height: 0px;
  background: #ccc;
  background: -webkit-linear-gradient(-45deg, transparent, #ccc 10%, #ccc 90%, transparent);
  background: linear-gradient(-45deg, transparent, #ccc 10%, #ccc 90%, transparent);
}

.mailform dl {
  padding: 12px;
  margin-bottom: 4px;
  border-radius: 4px;
  border-bottom: 1px solid #f9f9f9;
}

.mailform dt {
  width: 200px;
  display: table-cell;
  vertical-align: middle;
}

.mailform dd {
  width: 368px;
  padding-left: 8px;
  display: table-cell;
  vertical-align: middle;
}

.mailform dd input[type="text"],
.mailform dd select,
dd textarea {
  width:70%;
  max-width: 100%;
  font-family: inherit;
  padding: 4px 9px;
  font-size: 14px;
  background: #f4f4ff;
  border-radius: 4px;
  border: none;
}

.mailform dd input[type="radio"],
.mailform dd input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-bottom: 5px;
}

.mailform dd .nest {
  padding-left: 45px;
  margin: 10px 0;
}

.mailform dd textarea {
  width:60%;
  height: 120px;
  box-sizing: border-box;
  resize: vertical;
}

.submit_area {
  margin-top: 45px;
  text-align: center;
}

input[type="submit"][value="確認"] {
  font-family: inherit;
  padding: 10px 30px;
  font-size: 16px;
  background: none;
  border-radius: 8px;
  border: none;
  background: #5d3fff;
  color: #fff;
}