p,
h1,
h2,
body {
  margin: 0;
  padding: 0;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
}

a:hover,
a img:hover {
  opacity: 0.7;
}

#contents {
  width: 100%;
  max-width: 750px;
  margin: 30px auto 100px;
  font-size: 80%;
  color: #333;
  padding: 0 15px;
  box-sizing: border-box;
}

h1 {
  font-size: 1.1rem;
  color: #fff;
  background: #ffc341;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 img {
  margin: 0 8px 0 0;
  width: 27px;
  height: 100%;
}

h2 {
  color: #434343;
  font-size: 16px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

table.formTable {
  border-collapse: collapse;
  width: 100%;
}
.backlink{
  color: #333;
  font-size: 12px;
  margin-top: 3em;
  margin-bottom: 1em;
  display: inline-block;
}
table.formTable tr {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
}

table.formTable tr {
  border-bottom: 1px solid #eee;
}

table.formTable tr td {
  width: 70%;
}

table.formTable tr td:first-child {
  width: 150px;
}

table.formTable tr td {
  padding: 10px 5px;
  position: relative;
}

input::placeholder {
  color: #ccc;
  font-size: 0.8rem;
}

/* IE */
input:-ms-input-placeholder {
  color: #ccc;
  font-size: 0.8rem;
}

/* Edge */
input::-ms-input-placeholder {
  color: #ccc;
  font-size: 0.8rem;
}

.label:before {
  content: "*";
  margin-right: 5px;
  color: #f87875;
}

.formTable input {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
}

.formTable input:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}

/* 必須要素 */
.formTable input:required {
  border: 1px solid rgb(38, 69, 248);
}

/* バリデーション */
.formTable input:invalid,
.formTable textarea:invalid {
  border: 1px solid rgb(194, 194, 194);
}

/* バリデーションクリア */
.formTable input:valid,
.formTable textarea:valid {
  border: 1px solid #55da21;
  line-height: 2.5;
}

/* バリデーション */
.formTable input:invalid,
.formTable textarea:invalid {
  border: 1px solid #ccc;
  line-height: 2.5;
}

.formTable textarea {
  width: 95%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  font: inherit;
}

.formTable textarea:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}

.btn {
  margin: 30px 0 0;
}

.btn input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  margin: 0 auto;
  padding: 15px 40px;
  color: #fff;
  background: #4b95c4;
  border: none;
  border-radius: 3px;
  outline: none;
}

.btn input:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.check {
    margin-top: 20px;
}

.check .btn {
    display: flex;
    max-width: 400px;
    width: 100%;
    margin: 20px auto;
}

@media screen and (max-width: 640px) {
  body {
    background: none;
  }

  .logo img {
    width: 48%;
  }

  #contents {
    border: none;
  }
  span.hissu {
    position: relative;
    right: unset;
    padding: 0 3px;
    margin-left: 6px;
  }

  table.formTable {
    width: 95%;
    margin: auto;
  }

  table.formTable tr {
    padding: 20px 0;
  }

  table.formTable tr td {
    width: 90%;
    padding: 2px 5px;
  }

  table.formTable tr td:first-child {
    width: 90%;
  }
}
