/* Voice Page Styles - 固定ページ/voice用 */
.voice-page {
    background-image: url('/wp-content/uploads/2025/08/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Voice Section */
.voice-section {
    padding: 185px 70px 0;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.voice-section .container {
    position: relative;
    z-index: 100;
}

/* 共通見出しスタイル（h2_about us） */
.voice-section .common-heading {
    position: relative;
    text-align: left;
    color: #8f810c;
    line-height: 0;
    width: 100%;
    margin-bottom: 40px;
    z-index: 100;
}

.voice-section .common-heading .japanese-subtitle {
    position: absolute;
    top: 0;
    left: 0;
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    white-space: pre;
    color: #8f810c;
}

.voice-section .common-heading .english-title {
    position: absolute;
    top: 36px;
    left: 0;
    font-family: "Times New Roman", "Georgia", serif;
    font-size: 40px;
    font-weight: bold;
    line-height: normal;
    white-space: pre;
    color: #8f810c;
}

/* 説明文 */
.voice-section .voice-description {
    margin-bottom: 60px;
    text-align: left;
    position: relative;
    z-index: 100;
}

.voice-section .voice-description p {
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #000000;
    margin: 0;
}

/* Voice Shortcode */
.voice-shortcode {
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.voice-shortcode .voice-list {
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 100;
}

.voice-shortcode .voice-item {
    position: relative;
    margin-bottom: 60px;
    transition: all 0.3s ease;
    z-index: 100;
}

.voice-shortcode .voice-item:last-child {
    margin-bottom: 0;
}

.voice-shortcode .voice-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 304px;
}

/* Voice Image Container */
.voice-shortcode .voice-image-container {
    position: relative;
    width: 304px;
    height: 175px;
}

.voice-shortcode .voice-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 304px;
    height: 175px;
}

.voice-shortcode .voice-image {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 304px;
    height: 175px;
    overflow: hidden;
}

.voice-shortcode .customer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Voice Info */
.voice-shortcode .voice-info {
    text-align: left;
    width: 100%;
    max-width: 304px;
}

.voice-shortcode .customer-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.voice-shortcode .customer-name {
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 30px;
    font-weight: 600;
    line-height: normal;
    color: #000000;
    margin: 0;
}

.voice-shortcode .customer-comment {
    margin-bottom: 15px;
    text-align: left;
}

.voice-shortcode .customer-comment p {
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    color: #000000;
    margin: 0 0 5px 0;
}

/* Voice Button */
.voice-shortcode .voice-button {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* cta-button-spのスタイルを参考にしたボタン */
.voice-shortcode .detail-button {
    border: 2px solid #A37B3B;
    padding: 18px 32px;
    width: 304px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    color: #A37B3B;
    background: transparent;
}

.voice-shortcode .detail-button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px;
    transform: translateY(-50%);
    width: 32px;
    height: 1px;
    background-color: #A37B3B;
    pointer-events: none;
}

.voice-shortcode .detail-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ページネーション - より強力なセレクター */
.voice-shortcode .voice-pagination,
.voice-archive-section .voice-pagination,
.voice-section .voice-pagination {
    margin-top: 60px;
    text-align: center;
    grid-column: 1 / -1;
    position: relative;
    z-index: 100;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-left: 0;
}

.voice-shortcode .voice-pagination ul,
.voice-archive-section .voice-pagination ul,
.voice-section .voice-pagination ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-direction: row !important;
    border: none !important;
}

.voice-shortcode .voice-pagination li,
.voice-archive-section .voice-pagination li,
.voice-section .voice-pagination li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}

.voice-section .voice-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #8f810c;
    color: #8f810c;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
}

.voice-section .voice-pagination .page-numbers:hover,
.voice-section .voice-pagination .page-numbers.current {
    background: #8f810c;
    color: #ffffff;
}

.voice-section .voice-pagination .prev,
.voice-section .voice-pagination .next {
    font-weight: bold;
}

.voice-shortcode .voice-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #8f810c;
    color: #8f810c;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
}

.voice-shortcode .voice-pagination .page-numbers:hover,
.voice-shortcode .voice-pagination .page-numbers.current {
    background: #8f810c;
    color: #ffffff;
}

.voice-shortcode .voice-pagination .prev,
.voice-shortcode .voice-pagination .next {
    font-weight: bold;
}

/* Responsive Design for Voice Page */
@media (max-width: 1199px) {
    .voice-section {
        padding: 150px 40px 0;
    }
    
    .voice-shortcode .voice-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 1000px;
        justify-items: center;
    }
    
    .voice-section .common-heading .japanese-subtitle {
        font-size: 22px;
    }
    
    .voice-section .common-heading .english-title {
        font-size: 58px;
        top: 32px;
    }
    
    .voice-shortcode .voice-content {
        gap: 25px;
        align-items: center;
    }
    
    .voice-shortcode .voice-image-container {
        width: 280px;
        height: 160px;
        margin: 0 auto;
    }
    
    .voice-shortcode .voice-image-bg {
        top: 0;
        left: 0;
        width: 280px;
        height: 160px;
    }
    
    .voice-shortcode .voice-image {
        top: -6px;
        left: -6px;
        width: 280px;
        height: 160px;
    }
    
    .voice-shortcode .voice-content {
        max-width: 280px;
    }
    
    .voice-shortcode .voice-info {
        max-width: 280px;
        text-align: left;
    }
    
    .voice-shortcode .customer-header {
        justify-content: flex-start;
    }
    
    .voice-shortcode .customer-name {
        font-size: 28px;
    }
    
    .voice-shortcode .customer-comment p {
        font-size: 11px;
    }
    
    .voice-shortcode .detail-button {
        width: 280px;
        padding: 16px 28px;
        font-size: 18px;
    }
    
    .voice-shortcode .detail-button::after {
        right: -14px;
        width: 28px;
    }
}

@media (max-width: 767px) {
    .voice-section {
        padding: 120px 42px 0;
    }
    
    .voice-archive-section {
        padding: 60px 42px 0;
    }
    
    .voice-section .container {
        padding: 0;
    }
    
    .voice-shortcode .voice-list {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        justify-items: center;
    }
    
    .voice-shortcode .voice-item {
        margin-bottom: 40px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .voice-shortcode .voice-content {
        gap: 20px;
        align-items: center;
    }
    
    .voice-shortcode .voice-image-container {
        width: 304px;
        height: 175px;
        margin: 0 auto;
    }
    
    .voice-shortcode .voice-image {
        top: -8px;
        left: -8px;
        width: 304px;
        height: 175px;
    }
    
    .voice-shortcode .voice-image-bg {
        top: 0;
        left: 0;
        width: 304px;
        height: 175px;
    }
    
    .voice-shortcode .voice-info {
        max-width: 304px;
        text-align: left;
    }
    
    .voice-shortcode .customer-header {
        gap: 15px;
        margin-bottom: 15px;
        justify-content: flex-start;
    }
    
    .voice-shortcode .customer-name {
        font-size: 20px;
    }
    
    .voice-shortcode .customer-comment p {
        font-size: 10px;
        margin-bottom: 3px;
    }
    
    .voice-section .common-heading .japanese-subtitle {
        font-size: 15px;
    }
    
    .voice-section .common-heading .english-title {
        font-size: 40px;
        top: 16px;
    }
    
    .voice-shortcode .detail-button {
        width: 304px;
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .voice-shortcode .detail-button::after {
        right: -12px;
        width: 24px;
    }
    
    .voice-shortcode .voice-pagination .page-numbers {
        padding: 8px 12px;
        font-size: 12px;
        margin: 0 3px;
    }
}

/* Voice Archive Page Styles - Voiceページ専用 */
.voice-archive-page {
    background-image: url('/wp-content/uploads/2025/08/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Voice Archive Section */
.voice-archive-section {
    padding: 100px 50px 0;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.voice-archive-section .container {
    position: relative;
    z-index: 100;
}

.voice-archive-section .container {
    position: relative;
}

/* 共通見出しスタイル（h2_about us） */
.voice-archive-section .common-heading {
    position: relative;
    text-align: left;
    color: #8f810c;
    line-height: 0;
    width: 100%;
    margin-bottom: 40px;
}

.voice-archive-section .common-heading .japanese-subtitle {
    position: absolute;
    top: 0;
    left: 0;
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    white-space: pre;
    color: #8f810c;
}

.voice-archive-section .common-heading .english-title {
    position: absolute;
    top: 36px;
    left: 0;
    font-family: "Times New Roman", "Georgia", serif;
    font-size: 40px;
    font-weight: bold;
    line-height: normal;
    white-space: pre;
    color: #8f810c;
}

/* 説明文 */
.voice-archive-section .voice-description {
    margin-bottom: 60px;
    text-align: left;
}

.voice-archive-section .voice-description p {
    font-family: "Hiragino Gothic W3", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
    color: #000000;
    margin: 0;
}

/* Voiceページ専用 - PC版のmargin-bottom調整 */
@media (min-width: 768px) {
    .voice-archive-section .common-heading {
        margin-bottom: 0;
    }
    
    .voice-archive-section .voice-description p {
        font-weight: 300;
    }
}

/* Voiceページ専用 - SP版のfont-size調整 */
@media (max-width: 767px) {
    .voice-archive-section .voice-description p {
        font-size: 12px;
    }
}

/* Voice List */
.voice-archive-section .voice-list {
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.voice-archive-section .voice-item {
    position: relative;
    margin-bottom: 60px;
    transition: all 0.3s ease;
}

.voice-archive-section .voice-item:last-child {
    margin-bottom: 0;
}

.voice-archive-section .voice-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 304px;
}

/* Voice Image Container */
.voice-archive-section .voice-image-container {
    position: relative;
    width: 304px;
    height: 175px;
}

.voice-archive-section .voice-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 304px;
    height: 175px;
}

.voice-archive-section .voice-image {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 304px;
    height: 175px;
    overflow: hidden;
}

.voice-archive-section .customer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Voice Info */
.voice-archive-section .voice-info {
    text-align: left;
    width: 100%;
    max-width: 304px;
}

.voice-archive-section .customer-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.voice-archive-section .customer-name {
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 30px;
    font-weight: 600;
    line-height: normal;
    color: #000000;
    margin: 0;
}

.voice-archive-section .customer-age-gender {
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    color: #000000;
    margin: 0;
}

.voice-archive-section .customer-comment {
    margin-bottom: 15px;
    text-align: left;
}

.voice-archive-section .customer-comment p {
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    color: #000000;
    margin: 0 0 5px 0;
}

.voice-archive-section .disclaimer {
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 8px;
    font-weight: 600;
    line-height: normal;
    color: #000000;
    margin: 0;
    text-align: left;
}

/* Voice Button */
.voice-archive-section .voice-button {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* cta-button-spのスタイルを参考にしたボタン */
.voice-archive-section .detail-button {
    border: 2px solid #A37B3B;
    padding: 18px 32px;
    width: 304px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    color: #A37B3B;
    background: transparent;
}

.voice-archive-section .detail-button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px;
    transform: translateY(-50%);
    width: 32px;
    height: 1px;
    background-color: #A37B3B;
    pointer-events: none;
}

.voice-archive-section .detail-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ページネーション */
.voice-archive-section .voice-pagination {
    margin-top: 60px;
    text-align: center;
    grid-column: 1 / -1;
    position: relative;
    z-index: 100;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-left: 0;
}

.voice-archive-section .voice-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.voice-archive-section .voice-pagination li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.voice-archive-section .voice-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #8f810c;
    color: #8f810c;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
}

.voice-archive-section .voice-pagination .page-numbers:hover,
.voice-archive-section .voice-pagination .page-numbers.current {
    background: #8f810c;
    color: #ffffff;
}

.voice-archive-section .voice-pagination .prev,
.voice-archive-section .voice-pagination .next {
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .voice-archive-section {
        padding: 150px 40px 0;
    }
    
    .voice-archive-section .voice-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 1000px;
        justify-items: center;
    }
    
    .voice-archive-section .common-heading .japanese-subtitle {
        font-size: 22px;
    }
    
    .voice-archive-section .common-heading .english-title {
        font-size: 58px;
        top: 32px;
    }
    
    .voice-archive-section .voice-content {
        gap: 25px;
        align-items: center;
    }
    
    .voice-archive-section .voice-image-container {
        width: 280px;
        height: 160px;
        margin: 0 auto;
    }
    
    .voice-archive-section .voice-image-bg {
        top: 0;
        left: 0;
        width: 280px;
        height: 160px;
    }
    
    .voice-archive-section .voice-image {
        top: -6px;
        left: -6px;
        width: 280px;
        height: 160px;
    }
    
    .voice-archive-section .voice-content {
        max-width: 280px;
    }
    
    .voice-archive-section .voice-info {
        max-width: 280px;
        text-align: left;
    }
    
    .voice-archive-section .customer-header {
        justify-content: flex-start;
    }
    
    .voice-archive-section .customer-name {
        font-size: 28px;
    }
    
    .voice-archive-section .customer-comment p {
        font-size: 11px;
    }
    
    .voice-archive-section .detail-button {
        width: 280px;
        padding: 16px 28px;
        font-size: 18px;
    }
    
    .voice-archive-section .detail-button::after {
        right: -14px;
        width: 28px;
    }
}

@media (max-width: 767px) {
    .voice-archive-section {
        padding: 120px 42px 0;
    }
    
    .voice-archive-section .container {
        padding: 0;
    }
    
    .voice-archive-section .voice-list {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        justify-items: center;
    }
    
    .voice-archive-section .voice-item {
        margin-bottom: 40px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .voice-archive-section .voice-content {
        gap: 20px;
        align-items: center;
    }
    
    .voice-archive-section .voice-image-container {
        width: 304px;
        height: 175px;
        margin: 0 auto;
    }
    
    .voice-archive-section .voice-image {
        top: -8px;
        left: -8px;
        width: 304px;
        height: 175px;
    }
    
    .voice-archive-section .voice-image-bg {
        top: 0;
        left: 0;
        width: 304px;
        height: 175px;
    }
    
    .voice-archive-section .voice-info {
        max-width: 304px;
        text-align: left;
    }
    
    .voice-archive-section .customer-header {
        gap: 15px;
        margin-bottom: 15px;
        justify-content: flex-start;
    }
    
    .voice-archive-section .customer-name {
        font-size: 20px;
    }
    
    .voice-archive-section .customer-comment p {
        font-size: 10px;
        margin-bottom: 3px;
    }
    
    .voice-archive-section .disclaimer {
        font-size: 6px;
        text-align: left;
    }
    
    .voice-archive-section .common-heading .japanese-subtitle {
        font-size: 15px;
    }
    
    .voice-archive-section .common-heading .english-title {
        font-size: 40px;
        top: 16px;
    }
    
    .voice-archive-section .detail-button {
        width: 304px;
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .voice-archive-section .detail-button::after {
        right: -12px;
        width: 24px;
    }
    
    .voice-archive-section .voice-pagination .page-numbers {
        padding: 8px 12px;
        font-size: 12px;
        margin: 0 3px;
    }
}

/* CSS Variables */
.voice-archive-page {
    --font-primary: "Hiragino Mincho Pro", "Yu Mincho", "Noto Serif CJK JP", serif;
    --font-english: "Times New Roman", "Georgia", serif;
    --color-primary: #8f810c;
    --color-text: #000000;
    --color-white: #ffffff;
    --color-accent: #ccba8a;
}

/* Voiceページ専用ページ読み込みアニメーション */
.voice-archive-section {
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Voiceページ専用アニメーションスタイル */
.voice-archive-section .section-animate,
.voice-section .section-animate {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.voice-archive-section .section-animate.animate,
.voice-section .section-animate.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Voiceページ専用アニメーション遅延 */
.voice-archive-section .section-animate:nth-child(1),
.voice-section .section-animate:nth-child(1) { 
    animation-delay: 0.2s; 
}

.voice-archive-section .section-animate:nth-child(2),
.voice-section .section-animate:nth-child(2) { 
    animation-delay: 0.4s; 
}

.voice-archive-section .section-animate:nth-child(3),
.voice-section .section-animate:nth-child(3) { 
    animation-delay: 0.6s; 
}

.voice-archive-section .section-animate:nth-child(4),
.voice-section .section-animate:nth-child(4) { 
    animation-delay: 0.8s; 
}

.voice-archive-section .section-animate:nth-child(5),
.voice-section .section-animate:nth-child(5) { 
    animation-delay: 1.0s; 
}

.voice-archive-section .section-animate:nth-child(6),
.voice-section .section-animate:nth-child(6) { 
    animation-delay: 1.2s; 
}

.voice-archive-section .section-animate:nth-child(7),
.voice-section .section-animate:nth-child(7) { 
    animation-delay: 1.4s; 
}

.voice-archive-section .section-animate:nth-child(8),
.voice-section .section-animate:nth-child(8) { 
    animation-delay: 1.6s; 
}
