.heading_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.aplay_btn {
    color: #000;
}
.aplay_btn span {
    display: inline-block;
    position: relative;
    padding-right: 20px;
}
.aplay_btn span:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: solid 2px #000;
    border-left: solid 2px #000;
    top: 40%;
    right: 0;
    transform: translateY(-50%) rotate(-135deg);
}
.event_end_btn span {
    display: inline-block;
    background: #CCCCCC;
    color: #fff;
    border-radius: 5px;
    padding: 5px 20px;
    font-weight: 600;
    font-size: 1.1rem;
}
@media screen and (max-width: 767px) {
    .section {
        margin-top: 20px;
    }
    .heading_flex {
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-start;
        align-items: baseline;
    }
    .aplay_btn {
        text-align: left;
        margin-bottom: 20px;
        display: block;
    
    }
    .event_end_btn {
        margin-bottom: 20px;
    }
    .event_end_btn span {
        font-size: 0.8rem;
    }
}
h1 {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1.8rem;
    text-align: left;
    margin-top:0;
}
@media screen and (max-width: 767px) {
    h1 {
        font-size: 1.4rem;
    }
}
.date {
    font-weight: 600;
    margin-left: 0;
    text-align: left;
    font-size: 1.0rem;
}
.thumbnail {
    margin-bottom: 30px;
}
.thumbnail img {
    width: 100%;
    height: auto;
}
.body {
    text-align: left;
}
.body h2 {
    margin-bottom: 10px;
}

.body h3 {
    margin-bottom: 10px;
}
.body p {
    margin-bottom: 10px;
}
.body img {
    max-width: 100%;
}
.body .price {
    color: #A2A2A2;
    margin-bottom: 10px;
}

.form_section form, .form_section .form_waku {
    width: 100%;
    border:solid 1px #000;
    border-radius: 5px;
    padding: 50px;
}
.form_section .form_waku  {
    margin-top: 150px;
    margin-bottom: 300px;
}
@media screen and (max-width: 767px) {
    .form_section .form_waku  {
        margin-top: 80px;
        margin-bottom: 200px;
    }
}

.form_item {
    display: flex;
    text-align: left;
    margin-bottom: 20px;
}
.form_item br {
    display: none;
}
.form_item label {
    width: 200px;
    margin-right: 20px;
    display: block;
    line-height: 40px;
}
@media screen and (max-width: 767px) {
    .form_section form, .form_section .form_waku {
        padding: 30px 20px;
    }
    .form_item {
        display: block;
    }
    .form_item label {
        margin-bottom: 10px;
        line-height: inherit;
    }
}

.form_item .wpcf7-form-control-wrap {
    flex: 1;
}
.form_item input, .form_item textarea {
    width: 100% !important;
    min-height: 40px;
    border-radius: 5px;
    box-shadow: none;
    border-width: 1px;
    padding: 10px;
}
.form_item input:focus, .form_item textarea:focus {
    outline: none;
}
.form_section {
    display: block;
    position: relative;
}
.form_section .form_title {
    background: #fff;
    font-weight: 600;
    font-size: 1.4rem;
    display: inline-block;
    padding-left: 30px;
    padding-right: 30px;
   top: -20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%)
}
@media screen and (max-width: 767px) {
    .form_section .form_title {
        font-size: 1.2rem;
        top: -15px;
    }
}
.form_section input[type=submit] {
    background: #F2CB0C;
    color: #fff;
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 800;
    min-width: 80%;
}
.form_section input[type=submit]:hover {
    opacity: 0.8;
    cursor: pointer;
}
@media screen and (min-width: 768px) {
    .form_section input[type=submit] {
        min-width: 250px;
        font-size: 1.2rem;
    max-width: 100%;
    }
}
.ajax-loader {
    display: none !important;
}
.form_section input:read-only {
    border: none;
}
.form_item.readonly_item:not(.readonly_item__last) {
    margin-bottom: 0px;
}
.form_item.readonly_item label {
    line-height: 30px;

}
.form_item.readonly_item input, .form_item.readonly_item textarea {
    min-height: 30px;
    font-weight: 600;
}
@media screen and (min-width: 768px) {
.section {
    margin-top: 80px !important;
}
}
@media screen and (max-width: 768px) {
    .section {
        margin-top: 40px !important;
    }
    }