@media screen and (min-width: 768px) {
    .voice_box {
        padding: 5%;
        display: inline-block;
        margin-bottom: 2%;
        border: 1px solid rgba(0, 0, 0, 0.25);
        margin-left: 1.5%;
        margin-left: 1.5%;
    }
    .staff_img_left {
        float: left;
        width: 20%;
        padding-left: 2%;
    }
    .staff_img_left img {
        width: 100%;
    }
    .staff_text_right {
        float: right;
        width: 77%;
        padding-top: 2%;
        text-align: left !important;
        line-height: 2em;
    }
    .staff_h3 {
        border-bottom: 1px solid #000;
        padding-bottom: 10px;
        text-align: left !important;
        margin-top: 3%;
    }
    .voice_h3 {
        border-left: 8px solid #5bbacf;
        padding-left: 10px;
        padding-top: 7px;
        padding-bottom: 7px;
        text-align: left;
    }
}

.voicelist_sec {
    padding: 0 10px;;
}
.c-topsec.voice {
    background-image: url(../image/voice/voice_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.voicelist_sec .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px 2%;
}
.voice_box:hover {
    background: rgba(60, 159, 208, 0.2);
}
.voice_box img {
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.date_style {
    margin-top: 10px;
    font-weight: bold;
    font-size: 17px;
    font-family: "Noto Sans JP", sans-serif;
    text-align: left;
}
.voice_box p {
    font-size: 15px;
    font-family: "Noto Sans JP", sans-serif;
    text-align: left;
    margin: auto;
    margin-top: 5px;
}
.voice_img_box {
    width: 94%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
}
.voice_img_box img {
    width: 100%;
}
.voice_date {
    margin-top: -40px !important;
    width: 86%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: left !important;
}
.voice_p {
    text-align: left;
    font-size: 18px;
    margin-bottom: 5%;
    padding-left: 20px;
	color:#333!important;
}
.inner_voice {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}
.targets.voice_listbox {
	display:block;
}
.filters.voice_filter label:hover {
    background: #FF7144;
	color: #fff;
}
.voice_listbox .voice_item {
	margin-bottom: 50px;
}
.targets.voice_listbox .target {
	border: 2px solid rgb(0 0 0 / 44%);
	
}
[value="All"]:checked~.filters [for="All"],
[value="相続税のお客様の声"]:checked~.filters [for="相続税のお客様の声"],
[value="贈与税のお客様の声"]:checked~.filters [for="贈与税のお客様の声"],
[value="相続手続きのお客様の声"]:checked~.filters [for="相続手続きのお客様の声"],
[value="生前対策のお客様の声"]:checked~.filters [for="生前対策のお客様の声"],
[value="その他のお客様の声"]:checked~.filters [for="その他のお客様の声"] {
   background: #FF7144;
    color: #fff;
}
.voice_page {
	padding: 0 15px;
}
@media screen and (max-width: 767px) {
	.voice_listbox .voice_item {
		margin-bottom: 30px;
	}
    .voicelist_sec .container {
        grid-template-columns: 1fr 1fr;
    }
    .voice_box {
        padding: 5%;
        margin-bottom: 3%;
        border: 1px solid rgba(0, 0, 0, 0.25);
        margin-left: 1%;
        margin-left: 1%;
    }
    .staff_img_left {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .staff_img_left img {
        width: 100%;
    }
    .staff_text_right {
        padding-top: 2%;
        text-align: left !important;
        line-height: 2em;
    }
    .staff_h3 {
        border-bottom: 1px solid #000;
        padding-bottom: 10px;
        text-align: left !important;
        margin-top: 3%;
		font-size:20px!important;
    }
    .voice_h3 {
        border-left: 8px solid #5bbacf;
        padding-left: 10px;
        padding-top: 7px;
        padding-bottom: 7px;
        text-align: left;
		font-size:20px!important;
    }
	.voice_p {		
		font-size: 15px;
		color:#333!important;
	}
}
@media screen and (max-width: 767px) {
.sp_padd_voice{
padding-left:4%!important;
padding-right:4%!important;
font-size:15px;
line-height:1.5em;
}
.sp-ft-14{
font-size:17px!important;
}
.targets.voice_listbox .target {
	padding-bottom:30px;
}
}