.form_style00 {
  width: 100%;
}

.form_style00 th,
.form_style00 td,
.otherTable th,
.otherTable td {
  text-align: left;
  border: 1px solid #ccc;
  color: #000;
}

.form_style00 th,
.form_style00 td,
.otherTable td {
  vertical-align: middle;
}

.otherTable th {
  vertical-align: top;
}

.form_style00 th {
  width: 30%;
  height: 100px;
  background-color: #f0f0f0;
}

.form_style00 th label {
  display: inline-block;
  vertical-align: middle;
  padding: 10px;
}

.form_style00_1 td {
  border: 0;
}

.form_style00 :is(input[type="text"], textarea, select),
.form_style00_1 input[type="text"] {
  box-sizing: border-box;
  padding: 15px;
  border: 1px solid #ccc;
}

.form_style00 select {
  width: 90%;
}

.td-pad-left {
  padding-left: 20px;
}

#contentArea .doubleArea.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px auto 0;
  width: 100%;
}

#contentArea .doubleArea.buttons input {
  width: 260px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

#contentArea .doubleArea.buttons .btn-submit {
  color: #fff;
  background-color: #ff9933;
  border-radius: 10px;
}

#contentArea .doubleArea.buttons .btn-reset {
  color: #444;
  background-color: #ddd;
  border-radius: 10px;
}

.otherTable {
  width: 100%;
}

.otherTable td {
  line-height: 1.5;
  padding-left: 20px;
}

.otherTable th {
  width: 30%;
  padding: 15px;
  background-color: #f0f0f0;
}

.otherTableChild td {
  border: 0;
}

/* thanks.html */
.completion {
  text-align: center;
  border: 1px solid #ccc;
  padding: 72px 20px 72px;
}

.completion p {
  margin: 0;
  line-height: 1;
  letter-spacing: 0.04em;
}

a.button {
  display: block;
  margin: 44px auto 0;
  width: 260px;
  height: 44px;
  border: 0;
  font-size: 16px;
  font-weight: 700;
  color: #444;
  background-color: #ddd;
  border-radius: 10px;
  line-height: 44px;
  text-align: center;
  text-decoration: none;
}

@media screen and (max-width: 1080px) {
  #contentArea {
    padding: 0 6px;
  }

  .form_style00 {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #ccc;
    background: #fff;
  }

  .form_style00 th,
  .form_style00 td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    height: auto;
  }

  .form_style00 th {
    padding: 10px 12px;
    background: #f3f3f3;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
  }

  .form_style00 td {
    padding: 10px 12px 12px;
  }

  .td-pad-left {
    padding-left: 12px !important;
  }

  .form_style00 :is(input[type="text"], textarea, select),
  .form_style00_1 input[type="text"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
  }

  .form_style00 textarea {
    min-height: 140px;
  }

  .form_style00_1,
  .form_style00_1 tbody,
  .form_style00_1 tr {
    display: block;
    width: 100%;
  }

  .form_style00_1 td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
  }

  .form_style00_1 tr td:first-child {
    margin-bottom: 6px;
    font-size: 12px;
    color: #333;
  }

  .form_style00_1 tr + tr {
    margin-top: 10px;
  }

  #contentArea .doubleArea.buttons {
    gap: 8px;
    margin-top: 14px;
  }

  #contentArea .doubleArea.buttons input {
    width: calc(50% - 4px);
    height: 40px;
    font-size: 14px;
    border-radius: 8px;
  }

  .otherTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 11px;
  }

  .otherTable > tbody > tr {
    display: block;
    margin-bottom: 8px;
  }

  .otherTable > tbody > tr > th,
  .otherTable > tbody > tr > td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .otherTable > tbody > tr > th {
    background: #e8e8e8;
    border: 1px solid #ccc;
    border-bottom: 0;
    padding: 10px 12px;
  }

  .otherTable > tbody > tr > td {
    border: 1px solid #ccc;
    border-top: 0;
    padding: 10px 12px;
    line-height: 1.7;
  }

  .otherTableChild {
    width: 100%;
    table-layout: fixed;
  }

  .otherTableChild td {
    display: table-cell;
    border: 0;
    padding: 2px 4px 2px 0;
    white-space: nowrap;
  }
}

