.site-header,
.site-footer,
.fixed-cta{
    display: none!important;
}
.event-form_mv {
  margin-top: 100px;
  @media screen and (max-width: 1023px) {
    margin-top: 100px;
  }
  @media screen and (max-width: 768px) {
    margin-top: 70px;
  }
}
.event-form_mv_wrapper {
  max-width: 1260px;
  margin: 0 auto;
}
.event-form_mv_flex {
    max-width: 1220px;
    margin:auto;
    padding: 0 50px;
    display:flex;
    @media screen and (max-width: 768px) {
        padding: 0 1.5rem;
    }
}
.event-form_mv_thum{
    width: 50%;
    font-size: 0;
    @media screen and (max-width: 768px) {
        width: 100%;
    }
}
.event-form_mv_catch{
    color: var(--wp--preset--color--base);
    background: var(--wp--preset--color--contrast);
    display: grid;
    place-content: center;
    width: 50%;
    img{
        width: 280px;
    }
    @media screen and (max-width: 768px) {
        display:none;
    }
}
.event-form_mv_ttl {
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    margin: 30px;
}
.event-form_mv_ttl {
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    margin: 30px 0;
    padding: 0 50px;
    span:first-child{
        padding-right: .5em;
    border-right: 1px solid;
    margin-right: .5em;
    }
    @media screen and (max-width: 1023px) {
        margin-top: 50px;
        font-size: 20px;
        text-align: left;
    }
    @media screen and (max-width: 768px) {
        span:first-child{
            font-size: 20px;
            padding-right: 0;
            padding-bottom: .3em;
            border-right: none;
            border-bottom: 1px solid;
            border-image: linear-gradient(to right, var(--wp--preset--color--contrast) 15%,transparent 15%, transparent) 1;
            margin-right: 0;
            margin-bottom: .3em;
            display: block;
        }
        font-size: 14px;
        padding: 0 1.5rem 0;
    }
}
.wpcf7 {
    width: 100%;
}
.wpcf7_box_wrapper {
  border: 1px solid #989897;
  padding: 30px 50px 0;
  margin-bottom: 50px;
  @media screen and (max-width: 768px) {
    padding: 30px 25px 0;
  }
}
.contact_form_inner{
  max-width: 1220px;
  padding: 0 50px 50px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items:flex-start;
  column-gap: 50px;
  @media screen and (max-width: 768px) {
      padding: 0 1.5rem 3rem;
  }
  .wpcf7_wrapper{
      width: calc(50% - 25px);
      margin-top: 50px;
      @media screen and (max-width: 768px) {
          width: 100%;
      }
      border: 1px solid #989897;
      padding: 3rem 2rem;
      font-size: 1rem;
  }
  .wpcf7_box{
      margin: 0 0 15px;
  }
  .wpcf7_box>p{
      display: flex;
      align-items: center;
      .wpcf7-form-control-wrap{
          width: 80%;
          display: block;
          input,
          textarea,
          select{
              display: block;
              width: 100%;
              background: var(--wp--preset--color--base-2);
              line-height: 2.8;
              padding: 0 1em;
          }
          select{
              -webkit-appearance: none;
              -moz-appearance: none;
              appearance: none;
              border-radius: 0;
              background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23242422' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
              background-repeat: no-repeat;
              background-position: right 1em center;
              background-size: 12px 8px;
              padding-right: 2.5em;
          }
      }
      label{
          font-size: 14px;
          width: 20%;
          font-weight: bold;
      }
  }
  .wpcf7_box.wpcf7_box_name>p{
      .wpcf7-form-control-wrap{
          display:block;
          width: 39%;
          display: block;
      }
      .wpcf7-form-control-wrap:nth-of-type(1){
          margin-right: 2%;
      }
  }
  .wpcf7_box_annotation p{
      font-size: 14px;
      margin: 0 auto 30px;
      span{
        display: inline-block;
      }
      @media screen and (max-width: 768px) {
          font-size: .85rem;
          margin: 2em 0;
      }
  }
  .wpcf7-submit{
      font-weight: bold;
      display: block;
      max-width: 1020px;
      width: 85%;
      margin: auto;
      height: 70px;
      font-size: 1.5rem;
      background:var(--wp--preset--color--contrast);
      color: var(--wp--preset--color--base);
  }
  .wpcf7_box_annotation_submit{
      position: relative;
  }
  .wpcf7_box_annotation_submit:after{
      content: '';
      width: 0;
      height: 0;
      border-style: solid;
      border-width: .65em 0 .65em 1.2em;
      border-color: transparent transparent transparent var(--wp--preset--color--base);
      position: absolute;
      top: 24px;
      right: 0;
      left: 6em;
      margin: auto;
  }
  .wpcf7_box_annotation_submit:hover{
      .wpcf7-submit{
          background:var(--wp--preset--color--accent);
          color: var(--wp--preset--color--contrast);
      }
  }
  .wpcf7_box_annotation_submit:hover:after{
      border-color: transparent transparent transparent var(--wp--preset--color--contrast);
  }
  .screen-reader-response ul{
      display: none;
  }
}
.wpcf7-list-item{
  margin: 0 !important;
  width: 33.3%;
  input[type=checkbox] {
      display: none!important;
  }
  label {
      cursor: pointer;
      position: relative;
      width: auto;
  }
  label::before {
      background: var(--wp--preset--color--base-2);
      content: '';
      display: block;
      height: 1.5em;
      left: 0;
      position: absolute;
      top: 0;
      bottom: 0;
      margin: auto;
      width: 1.5em;
  }
  label::after {
      content: '';
      background: #444;
      display: block;
      height: 0;
      width: 0;
      left: .75em;
      top: 0;
      bottom: 0;
      position: absolute;
      transition: all .2s ease-in-out;
      margin: auto;
  }
  label:has(> input[type=checkbox]:checked)::after {
      height: .8em;
      width: .8em;
      left: .35em;
  }
  .wpcf7-list-item-label{
      padding-left: 2em;
      letter-spacing: .1em;
  }
}
.wpcf7-list-item:nth-of-type(2){
  margin-right: 33.3%!important;
}
.wpcf7_box:has(.wpcf7-validates-as-required)>p>label{
  display: inline-block;
}
.wpcf7_box:has(.wpcf7-validates-as-required)>p>label:after{
  content: "※必須";
  font-size: .8em;
  color: #dc3232;
  padding-left: .5em;
  white-space: nowrap;
}
@media screen and (max-width: 1279px) {
  .wpcf7-list-item,
  .wpcf7-list-item:nth-of-type(2){
      width: 100%;
      margin: 0 !important;
      margin-right: 0 !important;
      margin-top: .5em !important;
  }
}
@media screen and (max-width: 768px) {
  .contact_form_inner{
      .wpcf7_wrapper{
          padding: 2rem 1rem;
      }
      .wpcf7_box{
          margin-bottom: .8rem;
      }
      .wpcf7_box>p{
          flex-wrap:wrap;
          .wpcf7-form-control-wrap{
              width: 100%;
          }
          label{
              width: 100%;
          }
      }
      .wpcf7_box.wpcf7_box_name>p{
          .wpcf7-form-control-wrap{
              width: 48%;
          }
          .wpcf7-form-control-wrap:nth-of-type(1){
              margin-right: 4%;
          }
      }
      .wpcf7-submit{
          height: 50px;
          font-size: 1rem;
      }
      .wpcf7_box_annotation_submit:after{
          border-width: .6em 0 .6em 1.038em;
          top: 17px;
          right: calc(8% + 1em);
          left: auto;
      }
  }
}
.wpcf7-spinner{
  display: block!important;
  margin: 10px auto!important;
}