body {
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  min-width: 1000px;
  background: url(../img/background.png);
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  text-align: center;
}

/* section */
.section {
  position: relative;
  text-align: center;
}

.section h1 {
  color: #fff;
}

.kusa1 {
  position: absolute;
  top: -156px;
  left: 0;
  z-index: -1;
}

.kusa2 {
  position: absolute;
  top: -156px;
  right: 0px;
  z-index: -1;
}

/* mailform */

.mailform {
  background: #fff;
  padding: 10px;
  border-radius: 24px;
}

/* section1 */

.section1,
.section2 {
  text-align: center;
}

.section1 {
  margin-top: 32px;
}

/* .section2 */

.section2 {
  margin-top: 24px;
  background: #ccc;
  padding: 10px;
}

/* section3 */

.section3 {
  margin-top: 24px;
}

.name {
  display: flex;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
  margin-top: 8px;
}

.koumoku {
  width: 35%;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.text {
  width: 65%;
  padding-left: 24px;
  font-size: 12px;
}

.text-check {
  font-size: 16px;
}

textarea {
  width: 70%;
  height: 160px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 70%;
  padding: 4px;
}

.submit {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
}

.clear {
  border: 0px;
  background: #ccc;
  border-radius: 4px;
}

.next {
  border: 0px;
  background: #f44336;
  border-radius: 4px;
  padding: 8px;
  font-size: 16px;
  color: #fff;
}

.clear:hover {
  cursor: pointer;
  background: #a09f9f;
}

.next:hover {
  cursor: pointer;
  background: #c9372d;
}

p {
  padding: 0;
  margin: 0;
  font-size: 12px;
}

/* section4 */

.section4 {
  margin-top: 32px;
  margin-bottom: 32px;
  text-align: center;
}

.section4 button {
  border: 0px;
  background: #333;
  color: #fff;
  border-radius: 4px;
  padding: 4px 16px;
}

.section4 button:hover {
  cursor: pointer;
  background: #33333360;
}

/* footer */

footer {
  margin-top: 16px;
  padding: 16px;
  text-align: center;
  background: #fff;
}

#charCount {
  font-weight: bold;
}
.over-limit {
  color: #c9372d;
}

span {
  font-weight: bold;
  color: #c9372d;
}

