/* ================================
   認定資格ページ専用スタイル
================================ */

.page-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4a70 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 42px;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* 資格体系 - ピラミッド表示 */
.cert-system {
    padding: 100px 0;
    background: var(--bg-light);
}

.cert-pyramid {
    max-width: 1000px;
    margin: 60px auto;
}

.pyramid-level {
    margin-bottom: 30px;
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.pyramid-level:nth-child(1) { animation-delay: 0.1s; }
.pyramid-level:nth-child(2) { animation-delay: 0.2s; }
.pyramid-level:nth-child(3) { animation-delay: 0.3s; }
.pyramid-level:nth-child(4) { animation-delay: 0.4s; }
.pyramid-level:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.level-content {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.pyramid-level[data-level="5"] .level-content {
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
    border: 2px solid var(--secondary-color);
}

.pyramid-level[data-level="4"] .level-content {
    margin-left: 30px;
    margin-right: 30px;
}

.pyramid-level[data-level="3"] .level-content {
    margin-left: 60px;
    margin-right: 60px;
}

.pyramid-level[data-level="2"] .level-content {
    margin-left: 90px;
    margin-right: 90px;
}

.pyramid-level[data-level="1"] .level-content {
    margin-left: 120px;
    margin-right: 120px;
}

.level-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.level-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4a70 100%);
    border-radius: 10px;
    letter-spacing: 2px;
}

.pyramid-level[data-level="5"] .level-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: var(--primary-color);
}

.level-info h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.level-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.level-details p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.level-details strong {
    color: var(--primary-color);
}

/* 比較表 */
.cert-comparison {
    margin-top: 80px;
    padding: 40px;
    background: white;
    border-radius: 10px;
}

.cert-comparison h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
}

.comparison-table tr.highlight {
    background: #fff9e6;
}

.comparison-table tr.highlight td {
    font-weight: 700;
    color: var(--primary-color);
}

/* 試験情報 */
.exam-info {
    padding: 100px 0;
    background: white;
}

.exam-schedule {
    margin-bottom: 60px;
}

.exam-schedule h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.schedule-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.schedule-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
}

.schedule-date .month {
    font-size: 14px;
    margin-bottom: 5px;
}

.schedule-date .day {
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-serif);
}

.schedule-content h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.schedule-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.location {
    color: var(--accent-color) !important;
    font-weight: 500;
}

/* 試験詳細 */
.exam-details h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.detail-card {
    padding: 30px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.detail-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.detail-card h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.detail-card dl {
    font-size: 14px;
}

.detail-card dt {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 5px;
}

.detail-card dd {
    color: var(--text-secondary);
    margin-left: 0;
}

/* 合格者の声 */
.success-voices {
    padding: 100px 0;
    background: var(--bg-light);
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.voice-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.voice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.voice-header {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.voice-header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.voice-info h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.voice-cert {
    display: inline-block;
    padding: 3px 10px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.voice-job {
    font-size: 13px;
    color: var(--text-secondary);
}

.voice-content {
    padding: 25px;
}

.voice-quote {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    position: relative;
}

.voice-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 40px;
    color: var(--secondary-color);
    opacity: 0.3;
}

.voice-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 5px;
}

.result-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.result-before {
    font-size: 18px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.result-arrow {
    color: var(--secondary-color);
    font-size: 20px;
}

.result-after {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* CTA */
.cert-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4a70 100%);
}

.cta-box {
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .pyramid-level[data-level="1"] .level-content,
    .pyramid-level[data-level="2"] .level-content,
    .pyramid-level[data-level="3"] .level-content,
    .pyramid-level[data-level="4"] .level-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .level-content {
        grid-template-columns: 1fr;
    }
    
    .schedule-grid,
    .details-grid,
    .voices-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 12px;
    }
}