/*================================================
  お客様の声詳細ページ専用CSS
================================================*/

/*---------- ページタイトルメイン ----------*/
.page_title_section {
    padding: 60px 0 40px;
    background: #FFFCF2;
}

.page_main_title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/*---------- 詳細セクション ----------*/
.voice_detail_section {
    padding: 80px 0;
}

.voice_detail_section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}


.voice_detail_wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.voice_detail_header {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 2px solid #FFD93D;
}

.voice_detail_main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.voice_detail_image {
    flex-shrink: 0;
    width: 500px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: #E5E5E5;
}

.voice_detail_image img {
    width: 500px;
    height: 300px;
    object-fit: cover;
}

.voice_detail_placeholder {
    width: 100%;
    height: 100%;
    background: #E5E5E5;
}

.voice_detail_info {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.voice_detail_name {
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.voice_detail_meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voice_detail_age_gender,
.voice_detail_job {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.6;
}

.voice_detail_age_gender {
    font-weight: 600;
}

    .voice_archive_tags {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 18px;
    }

    .voice_archive_tag {
        display: block;
        padding: 4px 12px;
        background: #FFF5FB;
        border-radius: 4px;
        font-size: 2rem;
        color: #FF007F;
        font-weight: 700;
    }


.voice_detail_content {
    background: #fff;
    padding-left: 20px;
    text-align: left;
    line-height: 1.8em;
}

.voice_detail_content p {
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
    margin-bottom: 1.5em;
}

.voice_detail_content p:last-child {
    margin-bottom: 0;
}

.voice_detail_content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin: 2em 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #FFD93D;
}

.voice_detail_content h3 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #333;
    margin: 1.8em 0 1em;
}

.voice_detail_content ul,
.voice_detail_content ol {
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.voice_detail_content img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    border-radius: 4px;
}

/*---------- 関連お客様の声セクション ----------*/
.voice_related_section {
    padding: 80px 0;
    background: #fff;
}

.voice_related_title {
    font-size: 80px;
    font-weight: 700;
    color: #333;
    text-align: left;
}

.voice_related_subtitle {
    font-size: 1.6rem;
    color: #666;
    text-align: left;
    margin-bottom: 60px;
}

.voice_related_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.voice_related_item {
    background: #F9F9F9;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.voice_related_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.voice_related_avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #E5E5E5;
    margin: 0 auto 20px;
}

.voice_related_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice_related_name {
    font-size: 1.7rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.voice_related_meta {
    font-size: 1.3rem;
    color: #999;
    line-height: 1.5;
}

.voice_related_button {
    text-align: center;
}

.btn_view_all {
    display: inline-block;
    min-width: 100%;
    padding: 18px 40px;
    background: #FFD93D;
    color: #333;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn_view_all:hover {
    background: #333;
    color: #FFD93D;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.voice_archive_link {
    width: 300px;
    text-align: right;
}

.voice_archive_link a {
    color: #E8C502;
    text-decoration: underline;
}

.voice_archive_header {
    width: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 7px;
}

.voice_archive_item {
    margin: 0 auto;
}

/*---------- レスポンシブ対応 ----------*/
@media screen and (max-width: 1024px) {
    .voice_related_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .page_title_section {
        padding: 40px 0 30px;
    }

    .page_main_title {
        font-size: 2.4rem;
    }

    .voice_detail_section {
        padding: 60px 0;
    }

    .voice_detail_header {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

    .voice_detail_main {
        display: block;
    }

    .voice_detail_image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .voice_detail_info {
        padding: 0 20px;
    }

    .voice_detail_name {
        font-size: 2.2rem;
    }

    .voice_detail_content {
        padding: 30px 25px;
    }

    .voice_detail_content p {
        font-size: 1.5rem;
    }

    .voice_detail_content h2 {
        font-size: 2rem;
    }

    .voice_detail_content h3 {
        font-size: 1.8rem;
    }

    .voice_related_section {
        padding: 60px 0;
    }

    .voice_related_title {
        font-size: 3.2rem;
    }

    .voice_related_subtitle {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .voice_related_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-bottom: 40px;
    }

    .voice_related_item {
        padding: 25px;
    }
}

@media screen and (max-width: 480px) {
    .page_title_section {
        padding: 30px 0 20px;
    }

    .page_main_title {
        font-size: 2rem;
    }

    .voice_detail_section {
        padding: 40px 0;
    }

    .voice_detail_header {
        gap: 25px;
        margin-bottom: 30px;
        padding-bottom: 0;
    }

    .voice_detail_image {
        width: 100%;
        max-width: 250px;
        height: 250px;
    }

    .voice_detail_name {
        font-size: 2rem;
    }

    .voice_detail_age_gender,
    .voice_detail_job {
        font-size: 1.4rem;
    }

    .voice_detail_content {
        padding: 25px 20px;
    }

    .voice_detail_content p {
        font-size: 1.4rem;
    }

    .voice_detail_content h2 {
        font-size: 1.8rem;
    }

    .voice_detail_content h3 {
        font-size: 1.6rem;
    }

    .voice_related_section {
        padding: 40px 0;
    }

    .voice_related_title {
        font-size: 2.8rem;
    }

    .voice_related_subtitle {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .voice_related_grid {
        margin: 0 auto 30px auto;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .voice_related_item {
        padding: 20px;
    }

    .voice_related_avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .voice_related_name {
        font-size: 1.6rem;
    }

    .voice_related_meta {
        font-size: 1.2rem;
    }

    .btn_view_all {
        min-width: 240px;
        padding: 16px 35px;
        font-size: 1.5rem;
    }
}
