.mh_tab_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tab_class {
    font-weight: normal;
}

.content_class {
    display: none;
    margin-top: 3em;
}

.content_class.active {
    display: block;
}

.mh_tab {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.mh_tab input {
    display: none;
}

.mh_tab .text {
    margin-top: 10px;
}

.mh_tab .mh_ttl {
    font-size: 1.3em;
}

.mh_tab p {
    margin-bottom: 0;
}

.mh_tab a,
.mh_tab button,
.mh_tab .tab_button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px;
    border-radius: 3px;
    margin: 10px 0 0;
    cursor: pointer;
}

.mh_tab a:hover,
.mh_tab .tab_button:hover {
    text-decoration: none;
    opacity: .8;
}

.mh_tab a,
.mh_tab button {
    border: 1px solid #B38D51;
    color: #B38D51;
    background-color: transparent;
}

.mh_tab .tab_button {
    background-color: #B38D51;
    color: #fff;
    border: none;
}

.mh_tab .mh_info_btn {
    position: relative;
    z-index: 99;
}

.btn_flex {
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn_flex>div {
    width: calc(50% - 5px);
}

.select_item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.select_item.checked {
    box-shadow: 0px 3px 5px rgba(0, 0, 0, .2);
    transform: scale(1.03);
    padding: 1rem;
    border: 3px solid #b38d51;
}

.select_item .positon {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.select_item .checkbox {
    border: 1px solid #e3e3e3;
    width: 25px;
    height: 25px;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    margin: 0;
    margin-bottom: 1rem;
}

.select_item.checked .checkbox {
    background-color: #b38d51;
    border: none;
}

.select_item.checked .checkbox:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 15px;
    border-bottom: 3px solid;
    border-right: 3px solid;
    transform: rotate(45deg);
    top: 2px;
    left: 8px;
    border-color: #fff;
}

.mh_slider img {
    width: 100%;
    max-height: 50vh;
    object-fit: contain;
}

.mh_modal_body {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 50%);
}

.modal_container {
    max-width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
}

.mh_modal_body,
.modal_content {
    display: none;
}

.mh_modal_body .close_btn.batsu {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #333;
    right: -15px;
    top: -15px;
    cursor: pointer;
    z-index: 10;
}

.mh_modal_body .close_btn.batsu:before,
.mh_modal_body .close_btn.batsu:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 14px;
    background: #fff;
}

.mh_modal_body .close_btn.batsu:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mh_modal_body .close_btn.batsu:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mh_modal_body button.close_btn {
    background-color: #333;
    padding: 8px;
    border-radius: 3px;
    margin: 10px auto 0;
    cursor: pointer;
    color: #fff;
    width: 20rem;
    display: block;
    border: none;
}

/* フォームCSS */
#post-28418 .mw_wp_form .horizontal-item+.horizontal-item {
    margin-left: 0;
}

#post-28418 .form-input input.hasDatepicker {
    width: 30%;
    display: inline-block;
}

@media (max-width: 767px) {
    .btn_flex>div {
        width: 100%;
    }

    #post-28418 .form-input input.hasDatepicker {
        width: 100%;
    }
}