@charset "utf-8";

.voice-post-wrap {
    display: flex;
    flex-wrap: wrap;
}

.voice-post {
    width: 18%;
    margin-right: 2%;
    margin-bottom: 3vw;
}


.voice-post__img-box {
    width: 100%;
    height: 9.6vw;
    overflow: hidden;
}

.voice-post__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-post__voice-type-box {
    text-align: center;
    margin: 1.6rem 0 1.2rem;
}

.voice-post__voice-type {
    display: inline-block;
    border: 1px solid #e56038;
    padding: 0.5rem 1.5rem;
    border-radius: 10rem;
    font-size: 1.4rem;
}

.voice-post__tit-box__tit {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
}

.voice-post__name-box {
    text-align: center;
    font-size: 1.4rem;
    margin: 1.2rem 0;
    line-height: 1.4;
}

.voice-post__facility-type-box {
    border-top: 1px solid #ccc;
    padding: 1rem 0;
    font-size: 1.6rem;
    text-align: center;
}
.achieve-post-wrap {
    display: flex;
    flex-wrap: wrap;
}

.achieve-post {
    width: 31%;
    display: flex;
    flex-wrap: wrap;
    margin-right: 2%;
    margin-bottom: 3vw;
}

.achieve-post:nth-child(3n) {
}
.achieve-post__img-box {
    width: 40%;
    margin-right: 5%;
}

.achieve-post__txt-box {
    width: 55%;
}

.achieve-post__voice-type {
    display: inline-block;
    border: 1px solid #e56038;
    padding: 0.5rem 1.5rem;
    border-radius: 10rem;
    font-size: 1.4rem;
}

.achieve-post__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.achieve-post__tit-box__tit {
    font-size: 2rem;
    font-weight: bold;
    margin: 2rem 0;
    line-height: 1.4;
}

.achieve-post__name-box {
    font-size: 1.4rem;
    line-height: 1.4;
}

.achieve-post__facility-type {
    border-top: 1px solid;
    padding: 1rem 0;
    margin-top: 1rem;
    font-size: 1.4rem;
}

.voice-post.is-hide,
.achieve-post.is-hide{
    display: none;
}

.voice-post__info-box,
.achieve-post__info-box {
    display: flex;
    margin: 10rem 0 8rem;
    align-items: center;
    flex-wrap: wrap;
}

.voice-post__info-title,
.achieve-post__info-title {
    font-size: 3.2rem;
    margin-right: 2%;
    color: #e56038;
    width: 19%;
}
.voice-post__cat-check,
.achieve-post__cat-check {
    cursor: pointer;
    margin: 1rem 1rem 1rem 0;
    padding: 0.5rem 1.5rem;
    background: #fff;
    border: 1px solid #e56038;
    font-size: 1.4rem;
    border-radius: 10rem;
    transition: 0.2s;
}
.voice-post__cat-check:last-child,
.achieve-post__cat-check:last-child{
    margin-right: 0;    
}
.voice-post__cat-check.is-active,
.achieve-post__cat-check.is-active,
.voice-post__cat-check:hover,
.achieve-post__cat-check:hover{
    background:  #e56038;
    color: #fff;
}
.voice-post__cat-box,
.achieve-post__cat-box {
    display: flex;
    flex-wrap: wrap;
    background: #f6f2f0;
    padding: 1rem;
    width: 77%;
    justify-content: center;
}


.voice-post__cat-check:hover,
.achieve-post__cat-check:hover {
    background:  #e56038;
    color: #fff;
}



@media screen and (max-width: 767px) {


.voice-post__info-box, .achieve-post__info-box {
    display: block;
    margin: 2rem auto 4rem;
}

.voice-post__info-title, .achieve-post__info-title {
    width: auto;
    font-size: 2.4rem;
}

.voice-post__cat-box, .achieve-post__cat-box {
    width: auto;
    justify-content: flex-start;
    margin: 2rem auto;
}

.voice-post__cat-check, .achieve-post__cat-check {
    font-size: 1.2rem;
    margin: 0.5rem;
}

.voice-post {
    width: 46%;
    margin: 2%;
}

.voice-post__img-box {
    height: 10rem;
}

.voice-post__voice-type {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    line-height: 1.2;
}

.voice-post__tit-box__tit {
    font-size: 1.6rem;
}

.voice-post__name-box {
    font-size: 1.2rem;
}

.voice-post__voice-type-box {
    margin: 0.5rem 0 0.8rem;
}
.achieve-post {
    width: 48%;
    margin: 1%;
    margin-bottom: 3rem;
    display: block;
}

.achieve-post__img-box {
    width: auto;
    height: 10rem;
    margin: auto;
}

.achieve-post__voice-type {
    padding: 0.5rem 1rem;
    margin: 0.8rem auto;
    font-size: 1.2rem;
    line-height: 1.2;
}

.achieve-post__txt-box {
    width: auto;
}

.achieve-post__voice-type-box {
    text-align: center;
}

.achieve-post__tit-box__tit {
    margin: 0 auto 0.8rem;
    font-size: 1.6rem;
    text-align: center;
}

.achieve-post__name-box {
    font-size: 1.2rem;
}
}