body.post-type-archive-event {
    #page_header {
        .sub_title {
            background-color: #10763d;
        }
    }
    #content_header {
        .headline {
            color: #10763d;
        }
    }
}

.index_post_slider.event_post_slider {
    padding: 0;
    background-color: transparent;
    a {
        border-bottom: none;
        text-decoration: none;
    }
}

.index_free_space.type2 {
    .post_tabs_slider {

        padding-block: 120px;
        @media screen and (max-width:1251px) {
            padding-block: 100px;
        }
        @media screen and (max-width:750px) {
            padding-block: 60px;
        }

        .cb_headline {
            font-size: 18px;
            color: #10763d;
            line-height: 1;
        }
        .cb_catch {
            margin-top: 0 !important;
            font-size: 38px;
            line-height: 1;
        }
        .link_button {
            a {
                margin-inline: 25px;
            }
        }
        @media screen and (max-width:750px) {
            .cb_headline {
                font-size: 12px;
            }
            .cb_catch {
                font-size: 24px;
                line-height: 1.5;
            }
            .link_button {
                margin-top: calc(50px - 10px);
                a {
                    display: inline-block;
                    margin: 10px 12px 0;
                }
            }
        }

        .post_list_slider_wrap {
            &::before,&::after {
                display: none;
            }
        }
        .post_list {
            height: 340px;
            margin-block: 24px 54px;
            padding-inline: 24px 24px;
            .item {
                margin-inline: 4px;
                .title_area {
                    height: 130px;
                    padding: 16px 20px 0;
                    border: none;
                }
                .title {
                    font-size: 16px;
                }
                .date {
                    left: 20px;
                }
            }
        }

        .cb_contents .cb_catch {
            margin-top: 0 !important;
        }
        .cb_contents_inner {
            width: 1000px;
        }
        @media screen and (max-width:1251px) {
            .cb_contents_inner {
                width: auto;
                padding: 0 100px;
            }
        }
        @media screen and (max-width:950px) {
            .cb_contents_inner {
                padding: 0 50px;
            }
        }
        @media screen and (max-width:750px) {
            .cb_contents_inner {
                padding: 0 0;
            }
        }

        a {
            border-bottom: none;
            text-decoration: none;
        }
    }
}

.post_tabs {
    background: #fff;
    .tabs {
        display:flex;

        .tab {
            width: 100%;
            height: 70px;
            border: none;
            background: #AC8D69;
            color: #fff;
            appearance: none;
            font-size: 17px;
            font-family: "Zen Old Mincho", serif !important;
            font-weight: bold;
            font-optical-sizing: auto;
            font-style: normal;
            letter-spacing: .1em;
            cursor: pointer;
            transition: background-color .3s;
            &:hover {
                background-color: #aa8044;
                color: #fff;

            }
            &.active {
                background-color: #fff;
                color: #AC8D69;
            }
        }
    }

    .tab_content {
        display:none;
        &.active {
            display:block;
        }
    }
}


body.single-event #header,
body.single-recruit #header {
    margin-bottom: 0;
}
body.single-event #bread_crumb, body.single-recruit #bread_crumb {
    margin-bottom: 50px;
}
@media screen and (max-width:1251px) {
    body.single-event #bread_crumb, body.single-recruit #bread_crumb { width:auto;
        border-top:1px solid #ddd;
    }
}
@media screen and (max-width:750px) {
    body.single-event #bread_crumb, body.single-recruit #bread_crumb { margin-bottom:-1px;
    }
}

#service_list.recruit_list {
    display: flex;
    flex-wrap: wrap;
    a {
        height: 100%;
    }
    .item {
        float: none;
        height: auto;
        min-height: 400px;
        .title_area {
            height: calc(100% - 200px);
            min-height: 200px;
            padding-block: 35px;
        }
        .title_wrap {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
        }
        .title {
            color: #10763D;
        }
        .recruit_flags {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            .flag {
                font-size: 12px;
                min-height: 20px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #ffffff;
                background: #000;
                padding: 0 10px;
                border-radius: 8px;
                font-weight: 500;
                &.urgent {
                    background-color: #E73895;
                }
                &.open {
                    background-color: #745353;
                }
            }
        }
        .desc {
            max-height: none;
            font-size: 15px;
            line-height: calc(28/15);
        }
    }
}
@media screen and (max-width: 750px) {
    #service_list.recruit_list {
        .item {
            min-height: 295px;
            .title_area {
                height: calc(100% - 130px);
                min-height: 165px;
                padding-block: 23px;
            }
            .desc {
                font-size: 14px;
                line-height: 2.2;
            }
        }
    }
}
@media screen and (max-width:950px) {
    .page-recruit {
        .design1_content4.num0 {
            margin-top: 20px;
        }
    }
}

.single-recruit {
    .post_content {
        font-family: "Zen Old Mincho", serif;
    }
    #page_header {
        text-align: center;
        img {
            width: 100%;
            max-width: 1000px;
            height: 100%;
            object-fit: cover;
        }
    }
    #page_content {
        padding-top: 0;
    }
    #content_header {
        .headline {
            font-size: 17px;
            line-height: 1;
            color: #10763d;
        }
        .catch {
            line-height: 1.5;
            margin: 0 0 0 !important;
        }
        .desc {

        }
    }
    .top_headline {
        font-size: 28px;
        border-top-color: #10763d;
        & + p {
            text-align: center;
            font-size: 16px;
            line-height: 2.2;
            margin-bottom: 60px;
        }
    }
    @media screen and (max-width: 750px) {
        #content_header {
            .headline {
                font-size: 12px;
            }
            .catch {
                font-size: 24px;
                margin: 0 0 0 !important;
            }
            .desc {

            }
        }
        .top_headline {
            font-size: 18px;
            & + p {
                font-size: 14px;
                line-height: 1.8;
                margin-bottom: 30px;
            }
        }
    }
}

.recruit_about_content {
    .item {
        .catch {
            color: #10763d;
            margin-bottom: 0;
        }
    }
}
@media screen and (max-width: 750px) {
    .recruit_about_content {
        .item {
            .catch {
                font-size: 18px;
            }
            .desc {
                font-size: 14px;
            }
        }
    }
}


.single-recruit {
    table {
        max-width: 1000px;
        width: 100%;
        margin: 0 auto !important;
        border-top: 1px solid #707070;
        font-family: "Hiragino Mincho ProN", "MS Mincho", serif;
        color: #333;
    }
    tr {
        display: flex;
    }
    th,td {
        border: 0 !important;
        border-bottom: 1px solid #707070 !important;
        line-height: 1.8 !important;
    }
    td:first-child {
        flex: 0 0 240px;
        background-color: #EAEAEA;
        padding: 22px 25px;
        display: flex;
        align-items: center;
        font-size: 16px;
        letter-spacing: 0.05em;
        font-weight: 500;
    }
   td:not(:first-child) {
        flex: 1;
        background-color: #fff;
        padding: 22px 25px;
        font-size: 16px;
        line-height: 1.8;
        letter-spacing: 0.03em;
    }
    @media (max-width: 1024px) {
        td:first-child {
            flex: 0 0 200px;
            padding: 20px;
        }
        td:not(:first-child) {
            padding: 20px;
        }
    }
    @media (max-width: 768px) {
        tr {
            flex-direction: column;
        }
        td:first-child {
            flex: none;
            width: 100%;
            padding: 12px 20px;
            font-size: 15px;
            border-bottom: 1px solid #eee;
        }
        td:not(:first-child) {
            padding: 15px 20px;
            font-size: 14px;
        }
    }

}



.recruit_message_list {
    .staff-message-container {
        max-width: 100%;
        & + .staff-message-container {
            margin-top: 45px;
            @media (max-width: 768px) {
                margin-top: 30px;
            }
        }
        .staff-name-display {
            font-size: 16px;
            color: #464646;
            .name-category {
                margin-right: calc(27em/16);
            }
            .name {
                font-size: inherit;
            }
        }
    }
}

.recruit_contact,
.recruit_other {
    a {
        border-bottom: none;
    }
}
.recruit_contact {
    margin-block: 140px 110px;
}

@media screen and (max-width: 750px) {
    .recruit_message_content,
    .recruit_contact,
    .recruit_other {
        margin-block: 100px;
    }
}


.recruit_contact_head {
    margin-bottom: 60px;
}
.recruit_contact_box {
    background: rgba(255,255,255,.95);
    padding: 18px;
    .recruit_contact_box_inner {
        border: 1px solid #10763D;
        padding:30px 20px;
        text-align: center;
        .recruit_contact_logo {
            img {
                height: 50px;
            }
        }
        .recruit_contact_list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            list-style: none;
            margin: 0;
            a {
                color: #10763D;
            }
            li {
                font-size: 36px;
                line-height: 52px;
                font-weight: 600;
                color: #10763D;
                & + li {
                    &::before {
                        content: '／';
                    }
                }
                @media screen and (max-width: 1251px) {
                    width: 100%;
                    line-height: 1.3;

                    & + li {
                        margin-bottom: 6px;
                        &::before {
                            content: '';
                        }
                    }
                }

            }

        }
        .recruit_contact_hour {
            margin-top: 4px;
            display: block;
            font-weight: 500;
        }
        .recruit_contact_info {
            margin-top: 20px;
            font-size: 18px;
            line-height: calc(32em/18);
            font-weight: 700;
        }
    }
}
@media screen and (max-width: 750px) {
    .recruit_contact_head {
        margin-bottom: 30px;
    }
    .recruit_contact_box {
        padding: 12px;
        .recruit_contact_box_inner {
            padding:20px 15px;
            text-align: center;
            .recruit_contact_logo {
                margin-bottom: 10px;
                img {
                    height: 40px;
                    object-fit: contain;
                }
            }
            .recruit_contact_list {
                li {
                    font-size: 23px;
                }
            }
            .recruit_contact_hour {
                margin-top: 0;
                font-size: 13px;
                span {
                    display: inline-block;
                    line-height: 1.5;
                }
            }
            .recruit_contact_info {
                margin-top: 15px;
                font-size: 14px;
                line-height: 1.5;
                span {
                    display: inline-block;
                }
            }
        }
    }
}


#blog_list.recruit_other_list {
    display: flex;
    flex-wrap: wrap;
    .item {
        height: auto;
        min-height: 369px;
        a {
            height: 100%;
        }
    }
    .title_area {
        height: calc(100% - 210px);
        min-height: 159px;
        .recruit_flags {
            margin-top: -4px;
            margin-bottom: 10px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            .flag {
                font-size: 12px;
                min-height: 20px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #ffffff;
                background: #000;
                padding: 0 10px;
                border-radius: 8px;
                font-weight: 500;
                &.urgent {
                    background-color: #E73895;
                }
                &.open {
                    background-color: #745353;
                }
            }
        }
    }
    .title {
        font-size: 16px;
        margin-bottom: 10px;
        color: #10763D;
    }
    .desc {
        width: 100%;
        line-height: calc(24em/14);
    }
}
@media screen and (max-width: 550px) {
    #blog_list.recruit_other_list {
        display: flex;
        flex-wrap: wrap;
        .item {
            height: auto;
            min-height: 236px;
            a {
                height: 100%;
            }
        }
        .title_area {
            height: calc(100% - 115px);
            min-height: 124px;
        }
        .title {
            margin-bottom: 5px;
        }
    }
}
@media screen and (max-width: 400px) {
    #blog_list.recruit_other_list {
        display: flex;
        flex-wrap: wrap;
        .item {
            width: 100%;
            height: auto;
            min-height: auto;
        }
        .image_wrap {
            height: 210px;
        }
        .title_area {
            height: auto;
            min-height: auto;
            padding: 20px 20px 25px;
        }
        .title {
            margin-bottom: 5px;
        }
    }
}