@charset "UTF-8";
body {background-color:#FAF6E2;}

.consultation {position: relative;}
.consultation:after {content: ""; width: 100%; height: 50px; bottom: 6px; left: 0; position: absolute; box-shadow: 0px 3px 6px -3px rgba(0, 0, 0, 0.16);}

.voice_top_head {max-width: 1200px; margin: 0px auto; padding-bottom: 100px;}
.voice_top_head > h2 {font-size: 40px; color: var(--green); font-family: var(--tkd); line-height: 1.5;}
.voice_top_head > h2 + p {margin-top: 40px;}
.voice_top_head > p {font-size: 20px; line-height: 1.5;}
.voice_top_head > p + p {margin-top: 2em;}

.voice_top_list {max-width: 1200px; margin: 0px auto; padding-bottom: 100px;}
.voice_list {display: flex; flex-wrap: wrap; justify-content: space-between; gap:40px 0px;}
.voice_list > a {display: block; width: 353px;}
.voice_list div.voice_cont {background-color: #FFF; border-radius: 35px;box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.15); position: relative; height: 100%; display: flex; flex-direction: column;}
.voice_list div.voice_cont h3 {text-align: center; font-size: 16px; font-weight: bold; color: #FFF; text-align: center; background-color: var(--green); border-radius: 35px 35px 0px 0px; padding: 10px 0px; line-height: 1.3;}
.voice_list div.voice_cont h3 strong {font-size: 22px;}
/* 位置の調整（アイコンが小さくなる分、マイナス値を減らして内側に寄せます） */
.voice_list div.voice_cont > figure {
    position: absolute; 
    left: -30px; /* 元の -50px から変更 */
    top: -30px;  /* 元の -45px から変更 */
}

/* アイコンサイズの調整 */
.voice_list div.voice_cont > figure picture {
    width: 80px;  /* 元の 114px から変更 */
    height: 80px; /* 元の 114px から変更 */
    border-radius: 100%; 
    overflow: hidden;
}

/* 画像のフィット設定（ここは元のまま変更なし） */
.voice_list div.voice_cont > figure picture img {
    object-fit: cover; 
    object-position: center; 
    width: 100%; 
    height: 100%;
}
.voice_list div.voice_cont > div.voice_info {padding: 14px 12px 20px; display: flex; flex-direction: column; flex-grow: 1;}
.voice_list div.voice_cont > div.voice_info ul.cat {display: flex; flex-wrap: wrap; gap:5px;}
.voice_list div.voice_cont > div.voice_info ul.cat li {font-size: 12px; background-color: #C8E0C5; border-radius: 13px; padding: 7px 15px; line-height: 1;}
.voice_list div.voice_cont > div.voice_info p.time {font-size: 10px; margin-top: 5px;}
.voice_list div.voice_cont > div.voice_info h4 {font-size: 20px; font-weight: bold; line-height: 1.4; margin-top: 15px;display: -webkit-box;-webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; padding-bottom: 10px;}
.voice_list div.voice_cont > div.voice_info p.txt {border-top: 2px dotted #C8E0C5; padding-top: 10px; font-size: 16px; line-height: 1.5;display: -webkit-box;-webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; margin-bottom: 16px;}
.voice_list div.voice_cont > div.voice_info div.item_ba { display: flex; justify-content: space-between; position: relative; margin-top: auto;}
.voice_list div.voice_cont > div.voice_info div.item_ba:after {content: "";width: 9px; height: 26px; clip-path: polygon(0 0, 0% 100%, 100% 50%); background-color:var(--green); position: absolute; margin: auto; top: 0; right: 0; left: 0; bottom: 0;}
.voice_list div.voice_cont > div.voice_info div.item_ba figure {width: 47%; border-radius: 10px; background-color: #C8E0C5; box-sizing: border-box;}
.voice_list div.voice_cont > div.voice_info div.item_ba figure + figure {background-color: #EF3F3F; color: #FFF; }
.voice_list div.voice_cont > div.voice_info div.item_ba figure figcaption {text-align: center; font-size: 14px;}
.voice_list div.voice_cont > div.voice_info div.item_ba figure picture { overflow: hidden; aspect-ratio: 8/9;}
.voice_list div.voice_cont > div.voice_info div.item_ba figure picture img {object-fit: cover; width: 100%; height: 100%; border-radius: 0px 0px 8px 8px;}
.voice_list div.voice_cont > div.voice_info div.item_ba figure + figure picture {padding: 0px 5px 5px 5px; box-sizing: border-box;}
.voice_list div.voice_cont > p.ubt {background-color: #D2742F; border-radius: 0px 0px 35px 35px; font-size: 20px; font-weight: bold; color: #FFF; padding: 15px; line-height: 1; text-align: center; position: relative;}
.voice_list div.voice_cont > p.ubt:after {content: url(../images/case_arrow.svg); position: absolute; right: 20px; top: 15px;}
.voice_list:after {content: ""; width: 353px; display: block; height: 0;}

.voice_data {max-width: 1200px; margin: 0px auto; padding-bottom: 80px;}
.voice_data_cont {background-color: #FFF; border-radius: 35px; box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.15); position: relative;}
.voice_data_cont > h2 {text-align: center; font-size: 31px; font-weight: bold; color: #FFF; text-align: center; background-color: var(--green); border-radius: 35px 35px 0px 0px; padding: 15px 0px; line-height: 1.3;}
.voice_data_cont > h2 strong {font-size: 39px;}
.voice_data_cont > div.voice_info {padding: 26px 108px 60px;}
.voice_data_cont div.voice_head {display: flex; align-items: center; justify-content: space-between;}
.voice_data_cont div.voice_head > figure picture {width: 200px; height: 200px; overflow: hidden; border-radius: 100%;}
.voice_data_cont div.voice_head > figure picture img {object-fit: cover; object-position: center; width: 100%; height: 100%;}
.voice_data_cont div.voice_head > div.voice_cont {width: calc(100% - 230px);}
.voice_data_cont div.voice_head > div.voice_cont > div {display: flex; justify-content: space-between; align-items: flex-end;}
.voice_data_cont div.voice_head > div.voice_cont > div ul.cat {display: flex; flex-wrap: wrap; gap:5px; flex-shrink: 0; width: calc(100% - 8em);}
.voice_data_cont div.voice_head > div.voice_cont > div ul.cat li {font-size: 12px; background-color: #C8E0C5; border-radius:20px; padding: 7px 15px; line-height: 1;}
.voice_data_cont div.voice_head > div.voice_cont > div p.time {font-size: 12px; width: 6em;}
.voice_data_cont div.voice_head > div.voice_cont > h3 {font-size: 20px; font-weight: bold; line-height: 1.5; margin-top: 20px; padding-bottom: 10px;}
.voice_data_cont div.voice_head > div.voice_cont > p.txt { border-top: 2px dotted #C8E0C5; padding-top: 10px; font-size: 16px; line-height: 1.8;}
.voice_data_cont div.voice_head > div.voice_cont > p.etc {font-size: 10px; margin-top: 10px;}

.voice_data_cont div.item_ba_wrap {background-color: #FDFBF4; border-radius: 5px; padding: 20px 0px; margin-top: 24px; }
.voice_data_cont div.item_ba {width: 545px; display: flex; justify-content: space-between; position: relative; margin:0px auto;}
.voice_data_cont div.item_ba:after {content: "";width: 9px; height: 26px; clip-path: polygon(0 0, 0% 100%, 100% 50%); background-color:var(--green); position: absolute; margin: auto; top: 0; right: 0; left: 0; bottom: 0;}
.voice_data_cont div.item_ba figure {width: 47%; border-radius: 10px; background-color: #C8E0C5; box-sizing: border-box;}
.voice_data_cont div.item_ba figure + figure {background-color: #EF3F3F; color: #FFF; }
.voice_data_cont div.item_ba figure figcaption {text-align: center; font-size: 14px;}
.voice_data_cont div.item_ba figure picture { overflow: hidden; aspect-ratio: 8/9;}
.voice_data_cont div.item_ba figure picture img {object-fit: cover; width: 100%; height: 100%; border-radius: 0px 0px 8px 8px;}
.voice_data_cont div.item_ba figure + figure picture {padding: 0px 5px 5px 5px; box-sizing: border-box;}

.voice_data_cont div.staff_voice {margin-top: 60px; position: relative;}
.voice_data_cont div.staff_voice h4 { background-color: #FAF4DF; font-size: 30px; font-weight: bold; text-align: center; border-radius: 40px; padding: 15px 0px; line-height: 1.2;}
.voice_data_cont div.staff_voice > figure {position: absolute; right: 0; top: -60px;}
.voice_data_cont div.staff_voice > figure picture {width: 156px; height: 156px; overflow: hidden; border-radius: 100%;}
.voice_data_cont div.staff_voice > figure picture img {width: 100%; height: 100%; object-fit: cover; object-position: center;}
.voice_data_cont div.staff_voice h5 {margin-top: 30px; font-size: 20px; font-weight: bold; padding-bottom: 5px; border-bottom: 2px dotted #C8E0C5; line-height: 1.5;}
.voice_data_cont div.staff_voice p.txt {font-size: 16px; line-height: 1.6; margin-top: 10px;}

.voice_data > p.etc {text-align: center; font-size: 10px; margin-top: 20px;}
.voice_data > div.data_pagenation {margin-top: 30px;}
.voice_data > div.data_pagenation ul {display: flex; justify-content: center; gap: 0px 15px;}
.voice_data > div.data_pagenation ul li.list {width: 336px; height: 50px;}
.voice_data > div.data_pagenation ul li.list a {width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; font-size: 20px; color: #FFF; border-radius: 40px; background-image: linear-gradient(180deg, rgba(234, 172, 59, 1), rgba(202, 97, 43, 1));box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.15); position: relative; font-weight: bold;}
.voice_data > div.data_pagenation ul li.list a:after {content: ""; width: 8px; height: 8px; border-right: 2px solid #FFF; border-bottom: 2px solid #FFF; transform: rotate(-45deg); position: absolute; right: 30px; top: calc(50% - 5px);}
.voice_data > div.data_pagenation ul li.prev,
.voice_data > div.data_pagenation ul li.next {width: 95px; height: 50px;}
.voice_data > div.data_pagenation ul li.prev a,
.voice_data > div.data_pagenation ul li.next a {width: 100%; height: 100%; display: flex; align-items: center; font-size: 20px; color: #FFF; border-radius: 25px; background-image: linear-gradient(180deg, rgba(245, 222, 93, 1), rgba(224, 189, 55, 1));box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.15); position: relative; font-weight: bold; padding: 0px 18px; box-sizing: border-box;}
.voice_data > div.data_pagenation ul li.prev a {justify-content: flex-end;}
.voice_data > div.data_pagenation ul li.prev a:after,
.voice_data > div.data_pagenation ul li.next a:after {content: ""; width: 8px; height: 8px; border-right: 2px solid #FFF; border-bottom: 2px solid #FFF; transform: rotate(-45deg); position: absolute; top: calc(50% - 5px);}
.voice_data > div.data_pagenation ul li.prev a:after { left: 18px; transform: rotate(135deg);}
.voice_data > div.data_pagenation ul li.next a:after { right: 18px;}

@media only screen and (max-width:1200px){
.voice_top_head {max-width: 1200px; margin: 0px auto; padding: 0px 20px 100px;}
.voice_top_list {max-width: 1200px; margin: 0px auto; padding: 0px 20px 100px;}

/* ▽ スマホ・タブレット時のアイコンサイズと位置を調整 ▽ */
.voice_list div.voice_cont > figure {position: absolute; left: 0px; top: -20px;}
.voice_list div.voice_cont > figure picture {width: 70px; height:70px; border-radius: 100%; overflow: hidden;}
.voice_list div.voice_cont h3 {text-align: center; font-size: 16px; font-weight: bold; color: #FFF; text-align: left; background-color: var(--green); border-radius: 35px 35px 0px 0px; padding: 10px 0px 10px 80px; line-height: 1.3;}
/* △ ここまで ▽ */

.voice_data {max-width: 1200px; margin: 0px auto; padding:0px 20px 80px;}
.voice_data_cont > div.voice_info {padding: 26px 30px 60px;}
}

@media only screen and (max-width:1150px){
.voice_list {display: flex; flex-wrap: wrap; justify-content: center; gap:40px 20px;}
.voice_list:after {content: none; width: 353px; display: block; height: 0;}
}

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

.voice_data_cont > h2 {text-align: center; font-size: 31px; font-weight: bold; color: #FFF; text-align: left; background-color: var(--green); border-radius: 35px 35px 0px 0px; padding: 15px 0px 15px 170px; line-height: 1.3;}
.voice_data_cont div.voice_head {display: flex; flex-direction: column; align-items: center; justify-content: space-between;}
.voice_data_cont div.voice_head > figure picture { position: absolute; left: -10px; top: -30px; width: 150px; height: 150px; overflow: hidden; border-radius: 100%;}
.voice_data_cont div.voice_head > figure picture img {object-fit: cover; object-position: center; width: 100%; height: 100%;}
.voice_data_cont div.voice_head > div.voice_cont {width: 100%;}

.voice_data_cont div.staff_voice > figure {position:relative; right: 0; top:0px; margin-top: 20px;}
.voice_data_cont div.staff_voice > figure picture {margin: 0px auto;}
.voice_data_cont > div.voice_info {padding: 26px 20px 60px;}
}

@media only screen and (max-width:650px){
.voice_data_cont div.item_ba_wrap {background-color: #FDFBF4; border-radius: 5px; padding: 20px 20px; margin-top: 24px; }
.voice_data_cont div.item_ba {width: 100%; display: flex; justify-content: space-between; position: relative; margin:0px auto;}
}

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

.voice_top_head {max-width: 1200px; margin: 0px auto; padding: 0px 20px 60px;}
.voice_top_head > h2 {font-size: 26px; color: var(--green); font-family: var(--tkd); line-height: 1.5;}
.voice_top_head > h2 + p {margin-top: 40px;}
.voice_top_head > p {font-size: 16px; line-height: 1.5;}
.voice_top_head > p + p {margin-top: 2em;}
.voice_list {display: flex; flex-wrap: wrap; justify-content: center; gap:50px 20px;}
.voice_top_list {max-width: 1200px; margin: 0px auto; padding: 0px 20px 50px;}

.voice_data {max-width: 1200px; margin: 0px auto; padding:0px 0px 40px;}
.voice_data_cont {background-color: #FFF; border-radius: 35px; box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.15); position: relative; margin-top: 30px;}

.voice_data_cont div.voice_head > figure picture { position: absolute; left: 10px; top: -30px; width: 100px; height: 100px; overflow: hidden; border-radius: 100%;}
.voice_data_cont > h2 {text-align: center; font-size: 16px; font-weight: bold; color: #FFF; text-align: left; background-color: var(--green); border-radius: 35px 35px 0px 0px; padding: 10px 0px 10px 130px; line-height: 1.3;}
.voice_data_cont > h2 strong {font-size: 22px;}

.voice_data_cont div.voice_head > div.voice_cont > div {display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;}
.voice_data_cont div.voice_head > div.voice_cont > div ul.cat {display: flex; flex-wrap: wrap; gap:5px; flex-shrink: 0; width:100%;}
.voice_data_cont div.voice_head > div.voice_cont > div ul.cat li {font-size: 12px; background-color: #C8E0C5; border-radius:20px; padding: 7px 15px; line-height: 1;}
.voice_data_cont div.voice_head > div.voice_cont > div p.time {font-size: 10px; width: 6em; margin-top: 10px;}
.voice_data_cont > div.voice_info {padding: 20px 20px 60px;}

.voice_data_cont div.item_ba_wrap {background-color: #FDFBF4; border-radius: 5px; padding: 15px; margin-top: 15px; }

.voice_data_cont div.staff_voice {margin-top: 40px; position: relative;}
.voice_data_cont div.staff_voice h4 { background-color: #FAF4DF; font-size: 20px; font-weight: bold; text-align: center; border-radius: 40px; padding: 15px 0px; line-height: 1.2;}
.voice_data_cont div.staff_voice > figure {position:relative; right: 0; top:0px; margin-top: 20px;}
.voice_data_cont div.staff_voice > figure picture {margin: 0px auto;}
.voice_data_cont div.staff_voice > figure picture {width: 156px; height: 156px; overflow: hidden; border-radius: 100%;}
.voice_data_cont div.staff_voice > figure picture img {width: 100%; height: 100%; object-fit: cover; object-position: center;}
.voice_data_cont div.staff_voice h5 {margin-top: 30px; font-size: 20px; font-weight: bold; padding-bottom: 5px; border-bottom: 2px dotted #C8E0C5; line-height: 1.5;}
.voice_data_cont div.staff_voice p.txt {font-size: 16px; line-height: 1.6; margin-top: 10px;}

.voice_data > div.data_pagenation {padding: 0px 20px;}
.voice_data > div.data_pagenation ul {display: flex; justify-content: center; gap:15px; flex-wrap: wrap;}
.voice_data > div.data_pagenation ul li.list {width: 100%; height: 50px; order: 1;}

}