.form-section {
  position: relative;
  margin-top: 2rem;
}

.form-section table {
  width: 100%;
}

.form-section table tr {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ccc;
}

.form-section table tr:last-child {
  border: none;
}

.form-section table th {
  vertical-align: middle;
  font-weight: bold !important;
  border-width: 1px 0px 1px 1px !important;
  width: 30%;
  text-align: center;
}

.form-section table td {
  width: 70%;
}
.form-section table .address-list p{
	display: flex;
	align-items: center;
}

.form-section table .address-list p + p{
	margin-top: 2rem;
}

.form-section table .address-list span{
	display: block;
	width: 100%;
}

.form-section table .address-list .postal{
	width: 5%;
}

.form-section table th,
.form-section table td {
  /* border: #ddd solid !important; */
  padding: 3rem 1.5rem;
  line-height: 1.2em;
  vertical-align: top;
  font-weight: bold;
}

.form-section .txt18,
.rq {
  font-size: 1.8rem;
}

.form-section .rq .form-section .txt20 {
  margin: 4rem 0 2rem;
  font-size: 1.8rem;
}

.form-section .name-list td {
  display: block;
}

.form-section .name-list td p {
  display: flex;
}

.form-section .name-list td .name {
  display: inline-block;
  width: 15%;
}

.form-section td input[type="text"],
.form-section td input[type="email"],
.form-section td input[type="tel"],
.form-section td input[type="number"],
.form-section td select,
.form-section td textarea {
  color: #333;
  display: inline-block;
  width: 100%;
  height: auto;
  padding: 2rem 3rem 2rem 2rem;
  -webkit-appearance: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #a4a4a4;
  background: #fff;
}

.form-section td .note {
  color: #969696;
  display: block;
  margin-top: 1.5rem;
  font-size: 1.4rem;
}

.form-section .remaining p {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0;
  color: #de0000;
  line-height: 1.4em;
  text-align: center;
}
.form-section .number {
  font-size: 1.8rem;
  line-height: 1.4em;
}
.items {
  font-size: 1.8rem;
}

.essential {
  background: #ff462e;
  color: #fff;
  font-size: 1.3rem;
  padding: 0.3rem 1.2rem;
  font-weight: normal;
  border-radius: 0.5rem;
  margin-left: 2rem;
}

.form-section .wpcf7-list-item {
  display: block;
  margin: 0;
  border-radius: 5px;
  padding: 0 10px;
  position: relative;
  cursor: pointer;
}

.wpcf7-list-item + .wpcf7-list-item {
  margin-top: 3rem;
}
input[type="checkbox"] {
  display: none;
}
.wpcf7-list-item-label {
  position: relative;
  height: 2rem;
  line-height: 2rem;
  padding-left: 2.5rem;
  display: inline-block;
}
.wpcf7-list-item-label::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  border: 2px solid;
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: "";
  display: block;
  background-image: url(../images/check_green.png);
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
  height: 1.5rem;
  left: 0.3rem;
  position: absolute;
  top: 0.3rem;
  width: 1.5rem;
}

.form-section .btn-wrapper {
  text-decoration: none;
  position: relative;
  display: block;
  width: 30rem;
  letter-spacing: 0.2rem;
  text-align: center;
  border: none;
  margin: 5rem auto;
}

.form-section .btn {
  background-color: #364659;
  width: 100%;
  height: 100%;
  padding: 2rem 0;
  border-radius: 50px;
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-section .btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.wpcf7-submit:disabled {
  background-color: #d6d6d6;
  cursor: default;
  box-shadow: none;
}

.form-section .number {
  margin-right: 0;
}

@media (max-width: 768px) {
  .form-section table tr {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-section table th,
  .form-section table td {
    width: 100%;
    border-bottom: none;
  }

  .form-section table th {
    text-align: left;
  }
  .form-section table th {
    width: 40%;
  }

  .form-section table td {
    padding: 1.5rem 0 3rem;
  }

  .wpcf7-list-item-label::before {
    height: 3rem;
    width: 3rem;
  }

  .wpcf7-list-item-label {
    padding-left: 4rem;
  }

  input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    height: 2.2rem;
    width: 2.2rem;
  }

  .form-section .btn-wrapper {
    width: 80%;
  }

  .form-section .btn {
    font-size: 1.6rem;
  }

  .c-side-nav-sns a img {
    width: 9rem;
  }

  .pager_style {
    text-align: center;
    padding: 3rem 0 0 0;
  }

  .pager_style li {
    width: 5rem;
    border: 0.3rem solid #333;
    background: #fff;
    display: inline-block;
    margin: 0 0.8rem 0;
    transition: all 0.5s ease;
  }

  .pager_style li:hover {
    background: #008a32;
  }

  .pager_style li:hover a {
    color: #fff !important;
  }

  .pager_style li.on {
    background: #008a32;
    color: #fff;
  }

  .pager_style li a {
    font-size: 2rem;
    text-decoration: none;
    display: block;
    padding: 0.8rem 0;
  }

  .pager_style li.on a {
    color: #fff !important;
    text-align: center;
  }

  .pager_style li a:hover {
    color: #fff;
  }

  .pager_style li.prev {
    margin: 0 1rem 0 0;
  }

  .pager_style li.next {
    margin: 0 0 0 1rem;
  }

  .page_itemwrap {
    margin: 10rem auto;
  }

  .page_itemwrap ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-left: 0;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }

  .page_itemwrap ul li {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 22%;
    flex: 0 0 22%;
  }

  .page_itemwrap ul li a {
    display: block;
    width: 100%;
    height: 100%;
    color: #333;
  }

  .page_itemwrap ul li a:hover {
    text-decoration: none;
  }

  .page_itemwrap ul li a span {
    display: block;
    font-size: 1.8rem;
    padding-top: 1rem;
  }
}
