  /*
  Theme Name: eventform
  Theme URI: https://maghaus.com/form
  Description: イベント用フォーム
  Version: 1.0
  Author: granire
  Author URL: https://maghaus.com/form
  */
.event-form img {
  width: 100%;
  height: auto;
}
.event-form .page-ttl__image {
  position: static;
  width: calc(100% - 40px);
  max-width: 720px;
  margin: 0 auto 0;
  background-image: none;
}
.event-form .page-ttl__image img{
  margin-bottom: 25px;
}
.news .form-area {
  margin-top: 40px;
}
.event-form.contains {
  padding-top: 15px;
}
.event-form .page-ttl{
  height: 100%;
}
.event-form .page-ttl:before {
  width: 100%;
  z-index: -100;
  height: 74.1%;
}
.event-form .has-text-align-center {
  margin: 15px 0;
}
.event-form .wp-block-image {
  margin: 15px 0;
}
@media (max-width: 767px){
  .contents.event-form  {
    padding-top: 45px;
  }
  .event-form .page-ttl__image {
  background: none!important;
  opacity: 1; 
}
}
@media (max-width: 479px){
  .contents.event-form  {
    padding-top: 45px;
  }
  .event-form .page-ttl__image {
  background: none!important;
  opacity: 1; 
  width: calc(100% - 40px);
}
}


/*== ラジオボタン =====*/
.wpcf7-radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  height: 48px;
  padding-left: 1%;
}

.wpcf7-radio  .wpcf7-list-item.first {
  margin-left: 0;
}
.wpcf7-radio .wpcf7-list-item-label {
  padding-left: 19px;
    position: relative;
    line-height: 24px;
    transition: .2s ease;
    cursor: pointer;
    margin-top: 3px;
}
.wpcf7-radio .wpcf7-list-item-label:before {
  content: "";
  display: block;
  position: absolute;
  top: 4px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid #000;
  border-radius: 50%;
  transition: .2s ease;
  background: #fff;
}

.wpcf7-radio .wpcf7-list-item-label:after {
  transition: .2s ease;
    content: '';
    display: block;
    position: absolute;
    top: 6px;
    left: 2px;
    width: 10px;
    height: 10px;
    background: #f06e24;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
}
.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label::after {
  content: "";
    opacity: 1;
    visibility: visible;
}

/*== チェックボックス =====*/
.wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin: 0;
}
.wpcf7-checkbox .wpcf7-list-item-label {
  letter-spacing: .02em;
    padding-left: 32px;
    display: inline-block;
    line-height: 30px;
    position: relative;
    cursor: pointer;
    margin-right: 24px;
    margin-bottom: 12px;
    margin-top: 3px;
    white-space: nowrap;
}
.wpcf7-checkbox .wpcf7-list-item-label:before {
  position: absolute;
    top: 2px;
    left: 0;
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    border: solid 1px #C9CACA;
    border-radius: 5px;
    box-sizing: border-box;
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 6px;
    width: 10px;
    height: 13px;
    transform: rotate(42deg);
    border-bottom: 3px solid #000;
    border-right: 3px solid #000;
    box-sizing: border-box;
}




.form-info {
  color: #333;
  text-align: center;
  max-width: 100%;
  width: 1100px;
  margin: 0 auto 50px;
}
.form-info img{
  width: auto;
}
.form-info img.form-info__logo {
  margin: 0 auto 36px;
  width: 249px;
}
.form-info__ttl {
  font-size: 35px;
  font-family: "Noto Serif JP", serif;
  letter-spacing: .075em;
  margin-bottom: 20px;
}
.form-info__table{
    font-size: 16px;
    font-family: "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
    letter-spacing: .05em;
    border-collapse: separate;
    border-spacing: 6px;
    margin: 0 auto;
}
.form-info__label {
  color: #fff;
  background: #333;
  padding: 3px 2px;
  width: 67px;
  text-align: center;
  vertical-align: middle;
}
.form-value {
  flex: 1;
}
.form-info__txt {
  text-align: left;
  padding-left: 11px;
}

.form-info__description {
  margin-top: 15px;
  line-height: 1.5;
}
.form-info__final {
  width: 780px;
  max-width: 100%;
  border: solid 1px #c9caca;
  margin: 25px auto;
  padding: 10px 15px;
}

.form-group {
  width: 100%;
  padding: 17px 32px 17px 0;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.form-hidden {
  display:none!important;
}
.form-label {
  width: 192px;
    font-weight: 500;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 8px;
    min-height: 40px;
    margin-top: 3px;
}
.badge {
  color: #e60012;
  font-size: 10px;
  font-weight: 500;
}
.wpcf7-form-control-wrap {
  flex: 1;
    min-height: 40px;
    align-items: center;
}

.wpcf7-text,
.wpcf7-select,
.wpcf7-textarea {
  width: 100%;
  border: solid 1px #c9caca;
  background: #fff;
  font-size: 16px;
  padding: 11px 14px 9px;
  box-shadow: none;
  letter-spacing: 1px;
  height: auto;
  border-radius: 0;
}
.wpcf7-select {
  cursor: pointer;
}
  

@media (max-width: 768px){
  .form-info {
    width: calc(100% - 40px);
  }
  .form-group {
    display:block;
    padding: 14px 0 18px;
  }
  .form-label {
    width: 100%;
    padding-right: 0;
    min-height: initial;
    margin-bottom: 8px;
  }
  .wpcf7-checkbox .wpcf7-list-item-label {
    white-space: normal;
  }
}

@media (max-width: 480px){

.form-info img.form-info__logo {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
}
}

.complate .contact-ttl {
  margin-bottom: 75px;
}
.complate-area {
  margin-top: 40px;
  padding-bottom: 90px;
  font-size: 16px;
  color: #3e3a39;
  text-align: center;
}
.complate-wrap {
  width: calc(100% - 40px);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.8;
}
.complate-thanks {
  background: rgba(245, 155, 30, 0.1);
  padding: 15px 15px;
}
.complate-note {
  padding: 40px 15px;
  margin-top: 40px;
  border-top: solid 1px #3e3a39;
}
.complate-btn {
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.complate-btn a{
  padding: 14px 0;
    width: 220px;
    border-radius: 0;
    border: none;
    color: #fff;
    position: relative;
    z-index: 0;
    letter-spacing: .6em;
    background: #f49a1e;
    background: -moz-linear-gradient(left, #f49a1e 0%, #f06e24 100%);
    background: -webkit-linear-gradient(left, #f49a1e 0%, #f06e24 100%);
    background: linear-gradient(to right, #f49a1e 0%, #f06e24 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f49a1e', endColorstr='#f06e24',GradientType=1 );
}