* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  background: #f9f9f9;
}

#contact {
  margin: 30px auto;
  max-width: 1000px;
}

.title {
  background-color: #f00;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ff1a1a), to(#e60000));
  background-image: linear-gradient(#ff1a1a, #e60000);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 12px;
  text-align: center;
  text-shadow: 0 1px 0 #444;
}

.note {
  border: none;
  margin-bottom: 15px;
}

.contact-ttl {
  background: #eee;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f1f1f1));
  background-image: linear-gradient(#fff, #f1f1f1);
  border: 1px solid #ccc;
  border-radius: 10px;
  color: #2f3e46;
  display: block;
  font-size: 16px;
  font-weight: bold;
  overflow: hidden;
  padding: 9px 7px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-contents {
  display: block;
  margin: 15px auto 30px;
  width: 95%;
}

table {
  margin: 0 auto;
  width: 95%;
}

table tr th {
  margin-top: 15px;
}

table tr:first-child th {
  margin-top: 0;
}

table th,
table td {
  display: block;
  width: 100%;
}

table th {
  font-weight: normal;
  text-align: left;
}

@media (max-width: 480px) {
  table th {
    text-align: center;
  }
}

table input[type="text"],
table textarea {
  border: 1px solid #aaa;
  border-radius: 10px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
  padding: 10px;
  width: 100%;
}

table input[type="text"]:focus-visible,
table textarea:focus-visible {
  outline: unset;
}

table textarea {
  min-height: 100px;
}

.answerbutton,
.returnbutton {
  background: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: block;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  margin: 15px auto 0;
  padding: 15px 10px;
  text-align: center;
  text-decoration: none;
  width: 90%;
  max-width: 200px;
}

.answerbutton:hover,
.returnbutton:hover {
  opacity: .8;
}