@charset "utf-8";

.voice-main section article:first-child {
    margin-top: 0;
}

.voice-main section article {
    margin-top: 25px;
}

img + .no-img {
    display: none;
}

/* JSで動的に付与する余白リセット */
.voice-text-box.mt-0 {
    margin-top: 0 !important;
}

/*-----*/

.voice-item {
    background-color: var(--secondary);
    color: var(--base-body-color);
    padding: 30px;
    cursor: pointer;
    position: relative; /* 基準位置を明確化 */
    overflow: hidden;    /* 枠外への上・下突き抜けを防止 */
}

.accordion-content {
    display: none;
    /* padding-top: 30px; */
    padding-bottom: 20px;
    margin: 0;
    cursor: default;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    background: unset;
    border: 0px;
}

.voice-cate {
    font-size: 16px;
    font-weight: 400;
    background: rgba(248, 246, 241, .5);
    display: inline-block; /* 修正: inline-block;; の重複記号を解除 */
    padding: 0 15px;
    margin-bottom: 18px;
}

.voice-title-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 18px;
    transition: all .5s;
}

.voice-title-box:after {
    content: "";
    position: absolute;
    bottom: 0;
    display: block;
    background: url(/system_panel/uploads/images/liner-deco.png) no-repeat center / contain;
    width: 100%;
    height: 6px;
    z-index: 1;
}

.voice-title {
	transition: all .3s;
}

.voice-title,
.case-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45em;
    flex: 1;
}

.voice-title {
    font-size: 18px;
}

.voice-item:hover .voice-title {
	opacity: .7;
}

/* ＋アイコンのベース */
.voice-arrow-btn {
    position: relative;
    width: 100%;
    max-width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.voice-arrow-btn::before,
.voice-arrow-btn::after {
    content: "";
    position: absolute;
    background: var(--primary);
    transition: transform 0.3s;
}

/* 横棒 */
.voice-arrow-btn::before {
    width: 100%;
    height: 1px;
    top: 10px;
    left: 0;
}

/* 縦棒 */
.voice-arrow-btn::after {
    width: 1px;
    height: 100%;
    top: 0;
    left: 10px;
}

/* ＋を－にする */
.voice-arrow-btn.voiceActive::after {
    transform: rotate(90deg);
}

.content-inner {
    min-height: 0;
}

/*---*/

.voice-img-row {
    grid-template-columns: repeat(1, 1fr);
    gap: 80px;
    display: grid;
    position: relative;
    margin-top: 40px; /* ★重要：タイトルとの間に正しく余白を確保し、上に重なるのを防ぐ */
    top: 0 !important; /* マイナス配置の上書きリセット */
}

.voice-img-item {
    max-width: 100%;
    text-align: center;
}

.voice-img {
    width: 100%;
    position: relative;
    padding-top: 60.58%;
    background-color: #fff;
}

/* 矢印（SP時） */
.voice-img-item.after .voice-img {
    position: relative;
}

.voice-img-item.after .voice-img:before {
    content: "";
    position: absolute;
    width: 40px;
    height: 32px;
    background: linear-gradient(180deg, rgba(115, 87, 63, 1) 0%, rgba(89, 63, 40, 1) 100%);
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    top: -52%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 2;
}

.voice-img > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.voice-img-tit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--primary);
    font-size: 24px;
    font-weight: 600;
    font-family: var(
    --font-family01);
    line-height: 1.45em;
    margin-top: 12px;
}

.voice-img-tit:before {
    /* content: ""; */
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block; /* 修正: -main から変更 */
    background-color: #FAFAFA;
}

.before .voice-img-tit {
    opacity: .6;
}

.voice-text-box {
    margin-top: 40px;
}

.voice-text-box > div:first-child {
    margin-top: 0;
}

.voice-text-box > div {
    margin-top: 20px;
}

.webgene-pagination > ul {
    margin: 40px auto 0;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:576px) {

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

.voice-img-item.after .voice-img:before {
    top: -32%;
}  
  
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

} /* min-width: 576px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ 

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:650px) {

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

.voice-img-item.after .voice-img:before {
    top: -25%;
}  
  
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

} /* min-width: 650px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ 

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

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

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

    .voice-img-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
        margin-top: 20px;
    }

    /* 矢印（PC時） */
	.voice-img-item.after .voice-img:before {
        width: 32px;
        height: 40px;
        background: linear-gradient(90deg, rgba(115, 87, 63, 1) 0%, rgba(89, 63, 40, 1) 100%);
        clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
        top: 50%;
        left: -56px;
        transform: translateY(-50%);
    }

    .voice-title {
        font-size: 25px;
    }

    .voice-text-box > div {
        margin-top: 40px;
    }

    .voice-main section article {
        margin-top: 50px;
    }

    .voice-arrow-btn {
        max-width: 28px;
        height: 28px;
    }
    .voice-arrow-btn::before {
        top: 13px;
    }
    .voice-arrow-btn::after {
        left: 13px;
    }
  
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

} /* min-width: 768px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:1024px) {

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

    .voice-item {
        padding: 60px 70px;
    }

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

} /* min-width: 1024px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:1200px) {

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
    
    .voice-img-row {
        gap: 140px;
    }

	.voice-img-item.after .voice-img:before {
        width: 40px;
        height: 60px;
        left: -85px;
    }

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

} /* min-width: 1200px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */