div#wpcf7cpcnf th, div#wpcf7cpcnf td {
  vertical-align: middle;
}
div.wpcf7cp-btns{
  justify-content: center;
}
button.wpcf7-form-control {
  color: var(--base-white00);
  min-width: 200px;
  border-radius: 30px;
  padding: 15px;
  margin: 0px 10px 10px;
}
.wpcf7cp-cfm-submit-btn {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 45px 15px 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background: var(--main-orange460);
  border-radius: 60px;
  width: 100%;
  max-width: 400px;
}
.wpcf7cp-cfm-submit-btn::after {
  position: absolute;
  top: calc(50% - 4px);
  right: 30px;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 15px;
  content: "";
  border: solid var(--base-white00);
  border-width: 2px 2px 0 0;
  transition: .3s;
  transform: rotate(45deg);
  z-index: 10;
}
.wpcf7cp-cfm-submit-btn:hover::after {
  right: 20px;
}
.wpcf7cp-cfm-edit-btn {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 400px;
  background: var(--base-gray500);
  padding: 15px 20px 15px 45px;
}
.wpcf7cp-cfm-edit-btn::after {
  position: absolute;
  top: calc(50% - 4px);
  left: 30px;
  transform: rotate(225deg);
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 15px;
  content: "";
  border: solid var(--base-white00);
  border-width: 2px 2px 0 0;
  transition: .3s;
  z-index: 10;
}
.wpcf7cp-cfm-edit-btn:hover::after {
  left: 20px;
}
.wpcf7cp-cfm-submit-btn:hover,
.wpcf7cp-cfm-edit-btn:hover {
  opacity: .7;
}

div#wpcf7cpcnf th {
  background: var(--base-gray10);
  padding: 15px;
  border-left: var(--main-orange330) 5px solid;
  display: block;
  font-weight: normal;
}
div#wpcf7cpcnf td {
  padding: 30px 20px 50px 20px;
  display: block;
}
div#wpcf7cpcnf th, div#wpcf7cpcnf td {
  border-bottom: none;
  width: 100%;
}
div#wpcf7cpcnf th p, div#wpcf7cpcnf td p {
  margin: 0;
}
form.sent .form.input_area,
form.sent .contact__link{
  display: none;
}
/* 確認画面表示中は入力フォームを完全に非表示 */
.wpcf7-form.wpcf7cp-form-hide {
  display: none !important;
}

/* 確認画面は通常のレイアウトとして表示 */
#wpcf7cpcnf {
  position: static !important;
  width: 100%;
  height: auto;
  margin: 0;
}


@media screen and (max-width: 600px) {
  div#wpcf7cpcnf tr {
    margin-bottom: 0;
    border-bottom: none;
  }
  div#wpcf7cpcnf th {
    padding: 1em;
  }
  div#wpcf7cpcnf td {
    padding: 1.5em 1em;
  }
  .wpcf7cp-cfm-edit-btn {
    order: 2;
  }
}