/* Voice Archive Styles - Based on Figma Design */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Force scrolled state styles for voice archive page */
.site-header.always-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.site-header.always-scrolled .main-navigation a {
    color: #333333 !important;
    text-shadow: none !important;
    font-family: 'Zen Kaku Gothic Antique', sans-serif !important;
}

.site-header.always-scrolled .site-branding a {
    color: #333333 !important;
    font-family: 'Cinzel', serif !important;
}

/* Main Container */
.voice-archive {
    width: 100%;
    background: #ffffff;
}

/* Hero Section */
.voice-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    margin-top: -96px;
    overflow: hidden;
    background: #f6f6f6;
}

/* Hero Mask Group */
.voice-hero-mask-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.voice-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/kv/voice.jpg');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
	display: flex;
	 align-items: center;  
	justify-content: center; 
}

.voice-hero-overlay-text {                                                                                                                                                                                │ │
  position: relative;                                                                                                                                                                                   │ │
  z-index: 2;                                                                                                                                                                                           │ │
  text-align: center;             
	 font-family: 'Zen Kaku Gothic Antique', sans-serif; 
	 font-size: 40px;
	font-weight: 700;  
	color: #ffffff;  
} 

.voice-hero-content-section {
 background: #EFEFEF;
	padding-top: 10rem;
}

.voice-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    line-height: 1;
}

.voice-hero-text {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.8;
    letter-spacing: 0.05em;
    max-width: 600px;
}

/* Voice Grid Section */
.voice-grid-section {
    padding: 100px 0 120px;
	 background: #EFEFEF
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 120px;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.voice-item {
    background: transparent;
}

.voice-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.voice-link:hover {
    transform: translateY(-5px);
}

.voice-card {
    background: transparent;
    overflow: hidden;
    position: relative;
}

.voice-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.voice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.voice-image-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}

.voice-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.voice-label {
    background: transparent;
    border: 1px solid #1B1B1B;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1B1B1B;
    white-space: nowrap;
}

.voice-title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #333333;
    letter-spacing: 0.02em;
    flex: 1;
}

/* Pagination */
.voice-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.page-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    background: transparent;
    border: 1px solid #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-number:hover {
    background: #1a1a1a;
    color: #ffffff;
}

.page-number.active {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

/* Responsive */
@media (max-width: 1024px) {
    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .voice-hero {
/*         height: 720px; */
        margin-top: 0;
    }
    
   
    
    .voice-hero-image {
        width: 100%;
        height: 100%;
        /* マスクを無効にして背景画像をそのまま表示 */
        mask-image: none;
        -webkit-mask-image: none;
    }
    
    .voice-hero-content {
        left: 22px;
        right: 22px;
        top: 109px;
        bottom: auto;
    }
    
    .voice-hero-title {
        font-size: 48px;
        margin-bottom: 20px;
    }
    
    .voice-hero-text {
        font-size: 10px;
        line-height: 1.5;
        max-width: 295px;
    }
    
    .voice-grid-section {
        padding: 40px 0 60px;
        background: #efefef;
    }
    
    .container {
        padding: 0 22px;
    }
    
    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 15px;
        margin-bottom: 40px;
    }
    
    .voice-item {
        background: transparent;
    }
    
    .voice-image {
        height: 135px;
        border-radius: 0;
        overflow: hidden;
        position: relative;
    }
    
    /* 画像用のマスク */
    .voice-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('../img/voice/item-mask.svg') no-repeat center;
        background-size: cover;
        z-index: 1;
    }
    
    .voice-image img {
        position: relative;
        z-index: 0;
    }
    
    .voice-info {
        margin-top: 8px;
        padding: 0;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .voice-label {
        font-size: 8px;
        border-radius: 10px;
        padding: 2px 6px;
        letter-spacing: 0.02em;
        display: inline-block;
    }
    
    .voice-title {
        font-size: 5.954px;
        font-weight: 500;
        display: block;
        flex: 1;
    }
    
    /* Pagination Mobile */
    .voice-pagination {
        gap: 12px;
    }
    
    .page-number {
        width: 18.7px;
        height: 18.7px;
        font-size: 8px;
        border: none;
        background: #d9d9d9;
    }
    
    .page-number.active {
        background: #c00707;
        color: #ffffff;
    }
    
    .page-number:hover {
        background: #c00707;
        color: #ffffff;
        border: none;
    }
}


.voice-hero-main {
	    font-family: 'Zen Kaku Gothic Antique', sans-serif !important;
	font-weight: 700;
	text-align: center;
}