input.linkBtn {
  background: var(--colorPrimary);
  color: var(--colorWht);
  margin-bottom: 1.6rem;
  margin-top: 1.6rem;
  text-indent: 0;
}


.wpcf7-spinner {
  margin-bottom: 1.6rem;
}

.under.post h1.h2 {
  font-size: var(--sectionTitleSizeML);
}

.under.post h1.h2 span {
  color: var(--colorPrimary);
}

.twrap.lede {
  font-size: var(--linkBtnFontSizeM);
  max-width: 65%;
  margin: auto;
  line-height: 1.75;
}

.under .form {
  font-size: var(--bodyTxtSize);
}

.under .form .inner {
  width: min(98rem, 100%);
}

.list-wrap .list {
  border-bottom: 1px solid var(--colorGry);
  padding: 3.2rem 0;
}

.list-wrap .list .head {
  width: 32%;
}

.list-wrap .list p,
.inputblock {
  width: 68%;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
}

.list-wrap .list p span {
  width: 100%;
}

.list-wrap .list .head p,
.list-wrap .list .head p span {
  width: auto;
}
.inputblock .flex.name span{
width: calc(50% - 1rem);
}
input[name="name_1"],input[name="name_2"]{
width: 100%;
}

.required,
i span.required {
  color: #D60000;
}

span.birth{
  color: #000;
}

.error_blank{
line-height: 3;
}

i span.required{
    border: 1px solid;
    padding: 0.6rem 2rem;
    margin-right: 1.6rem;
    font-size: 1.1rem;
    border-radius: var(--roundTag);
        font-style: normal;
            font-weight: 500;
}

i span.optional{
  display: none;
  text-indent: 0.75em;
}

input,
textarea {
  background: var(--colorWht);
  padding: 1em;
  color: var(--colorBlk);
  width: 100%;
  border-radius: var(--roundTag);
  font-size: 1.6rem;
}

input{
  line-height: 1;
}

input.name {
  width: calc(100% - 1rem);
}

input[type="checkbox"] {
  width: auto;
}

select {
  background: var(--colorWht);
  padding: 1em;
  width: 100%;
  border-radius: var(--roundTag);
  position: relative;
}

.required select{
  color: #000;
}
.select-wrapper{
  width: 100%;
}

.btn-wrap {
  margin-top: 3.2rem;
}

.btn-wrap p {
  display: contents;
}

.wpcf7-form-control-wrap:has(.wpcf7-form-control.wpcf7-select) {
  position: relative;
}

.wpcf7-form-control-wrap:has(.wpcf7-form-control.wpcf7-select)::after {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin: 0 10px;
  border-bottom: 1px solid var(--colorBlk);
  border-right: 1px solid var(--colorBlk);
  transform: rotate(45deg);
  transform-origin: center;
  position: absolute;
  right: 2rem;
  top: 0;
  bottom: 0;
  margin: auto;
}

.birthday{
    width: 100%;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
}

.birthday .birth{
      width: fit-content;
    margin-right: 1em;
    margin-left: auto;
}

.birthday .wpcf7-form-control-wrap{
    width: 22%;
}

.age input{
  width: 94%;
}

.age .birth{
      margin-right: 1em;
}

.list-wrap .list p span.birth {
  width: 11em;
  margin-right: 1em;
  margin-left: 1em;
}

.age .flex{
      width: 100%;
      justify-content: space-between;
}

.age .flex .age{
      width: calc(100% - 4em);
}

.age .flex .age .birth{
  margin-right: 1em;
    margin-left: 1em;
}

.wpcf7-not-valid-tip{
font-size: 0.8em;
    margin-top: 0.5em;
}
.wpcf7-form-control-wrap[data-name="checkbox-156"] .wpcf7-not-valid-tip{
  text-align: center;
}

a.checkbox{
  text-decoration: underline;
}

@media screen and (max-width: 912px) {
  .twrap.lede {
    max-width: calc(100% - 3.2rem);
  }

  .list-wrap .list .head,
  .list-wrap .list p {
    width: 100%;
  }

  .list-wrap .list {
    gap: 1.6rem;
  }

  .under .form .inner {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .list-wrap .list.flex-wrap p {
    flex-wrap: wrap;
    gap: 1rem 0;
  }

  .list-wrap .list p span.birth {
    width: auto;
  }

  .list-wrap .list p span.wpcf7-form-control-wrap[data-name="text-572"] {
    width: calc(100% - 7em);
  }

  .list-wrap .list p span.wpcf7-form-control-wrap[data-name="text-581"],
  .list-wrap .list p span.wpcf7-form-control-wrap[data-name="text-597"] {
        width: 36.9%;
  }

  .list-wrap .list input.birth {}
  .list-wrap .list p, .inputblock{
    width: 100%;
  }
}