/*volunteerページ独自のスタイル 直接記述*/
ul.volunteer_links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
    column-gap: 20px;
    margin-top: 30px;
}
ul.volunteer_links.two {
    justify-content: center;
}
ul.volunteer_links li {
    background-color: #f3f6ff;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}
ul.volunteer_links.two li a{
    display: block;
    width: 100%;
    height: fit-content;
}
ul.volunteer_links.two li {
    width: calc(33.3% - 15px);
}
ul.volunteer_links.three li {
    width: calc(33.3% - 15px);
}
ul.volunteer_links.four li {
    width: calc(25% - 15px);
}
ul.volunteer_links.five li {
    width: calc(20% - 15px);
}
ul.volunteer_links li p {
    font-size: clamp(15px,3vw,17px);
    font-weight: bold;
    text-align: center;
}
ul.volunteer_links li img {
    margin-top: -60px;
    margin-bottom: 15px;
    max-height: 150px;
}
/*料金プラン*/
/*初期費用敷金*/
ul.volunteer_box {
    background-color: #5bc2d9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 50px;
}
ul.volunteer_box > li:first-child {
    width: 100%;
    padding: 30px;
    display: flex;
    align-content: center;
    justify-content: space-between;
    position: relative;
}
ul.volunteer_box > li:first-child h3,
ul.volunteer_box > li:first-child h4 {
    line-height: 1.4em;
    color: #fff;
    width: fit-content;
}
ul.volunteer_box > li:first-child h3 {
    font-size: clamp(22px,3vw,28px);
    margin-bottom: 0;
}
ul.volunteer_box > li:first-child h4 {
    font-size: clamp(26px,3vw,38px);
    color: #ffff00;
}
ul.volunteer_box > li:first-child img {
    position: absolute;
    right: 3%;
    top: -58px;
    bottom: 0;
    margin: auto;
    width: 30%;
    max-width: 225px;
    z-index: 1;
}
ul.volunteer_box.first {
    margin-top: 0;
}
ul.volunteer_box.second {
    background-color: #00a99d;
}
ul.volunteer_box.third {
    background-color: #17288b;
}

/*費用内訳の項目が複数の場合*/
ul.volunteer_box > li:nth-child(2),
ul.volunteer_box > li:nth-child(3) {
    width: 100%;
    padding: 30px;
    background-color: #fff;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
    border-radius: 10px !important;
}
ul.volunteer_box li h4 {
    width: 100%;
    font-size: clamp(16px,3vw,18px);
    color: #17288b;
    line-height: 1.6em;
    text-align: left;
    width: 12%;
    height: fit-content;
    margin-bottom: 0;
}
ul.volunteer_box li .txt_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 20px;
}
ul.volunteer_box li .txt_box p {
    width: calc(88% - 10px);
}
.txt_box + .txt_box {
    border-top: 1px dashed #5bc2d9;
    padding-top: 20px;
}
ul.volunteer_box li .txt_box:last-child {
    padding-bottom: 0;
}
ul.volunteer_box + ul.volunteer_box {
    margin-top: 30px;
}
/*募集内容*/

/*募集内容 詳細*/
@media only screen and (max-width: 890px) {
    ul.volunteer_links {
        column-gap: 10px;
        row-gap: 30px;
    }
    ul.volunteer_links.three li {
        width: calc(50% - 5px);
    }
    ul.volunteer_links.three li img {
        margin-top: -40px;
        margin-bottom: 5px;
    }
    ul.volunteer_box {
        padding: 10px;
    }
    ul.volunteer_box > li:first-child {
        padding: 10px;
    }
    ul.volunteer_box > li:first-child img {
        right: -25px;
        top: -40px;
        width: 45%;
    }
    ul.volunteer_box > li:nth-child(2), 
    ul.volunteer_box > li:nth-child(3) {
        padding: 20px;
    }
    ul.volunteer_box li .txt_box h4,
    ul.volunteer_box li .txt_box p {
        width: 100%;
    }
}


/*フッターでボランティア募集削除*/
body.volunteer_tags footer div.volunteer {
    display: none;
}