/* ========================================
   診断結果ページ専用スタイル
======================================== */

/* 結果ヘッダー */
.result-header {
    text-align: center;
    padding: 60px 20px 40px;
    animation: fadeIn 0.8s ease;
}

.result-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ECF0F1;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #7F8C8D;
    margin-bottom: 30px;
}

/* キャラクター表示 */
.character-display {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.character-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* タイプ表示 */
.type-display {
    text-align: center;
    margin-bottom: 20px;
}

.type-emoji {
    font-size: 48px;
    margin-bottom: 10px;
}

.type-name {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.type-subtitle {
    font-size: 20px;
    color: #5D6D7E;
    font-weight: 600;
    margin-bottom: 20px;
}

.type-catchphrase {
    font-size: 18px;
    color: #7F8C8D;
    font-style: italic;
    line-height: 1.6;
}

/* タイプ別カラー */
.type-bara { color: #E74C3C; }
.type-shas { color: #F39C12; }
.type-scan { color: #3498DB; }
.type-ninj { color: #27AE60; }
.type-kouj { color: #9B59B6; }

/* 背景グラデーション */
.bg-bara { background: linear-gradient(135deg, #E74C3C20 0%, #C0392B20 100%); }
.bg-shas { background: linear-gradient(135deg, #F39C1220 0%, #D6891020 100%); }
.bg-scan { background: linear-gradient(135deg, #3498DB20 0%, #2980B920 100%); }
.bg-ninj { background: linear-gradient(135deg, #27AE6020 0%, #22995420 100%); }
.bg-kouj { background: linear-gradient(135deg, #9B59B620 0%, #8E44AD20 100%); }

/* コンテンツセクション */
.result-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.content-section {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    font-size: 28px;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    color: #34495E;
    margin-bottom: 15px;
}

/* 特徴リスト */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 12px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #34495E;
    border-bottom: 1px solid #ECF0F1;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: "✅ ";
    margin-right: 8px;
}

.features-list li.caution::before {
    content: "⚠️ ";
}

/* 職場リスト */
.workplace-list {
    list-style: none;
    padding: 0;
}

.workplace-list li {
    padding: 15px 20px;
    margin-bottom: 12px;
    background-color: #F8F9FA;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #34495E;
}

.workplace-list li::before {
    margin-right: 10px;
    font-size: 20px;
}

/* あるあるセクション */
.anecdotes {
    background-color: #FEF9E7;
    border-left: 4px solid #F39C12;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.anecdotes p {
    margin-bottom: 10px;
    font-size: 15px;
    color: #5D6D7E;
}

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

/* CTAセクション */
.cta-section {
    text-align: center;
    padding: 50px 20px;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.cta-button {
    display: block;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-primary {
    background: #ff8c27;
    background-size: 200% 200%;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    animation: gradientShift 3s ease infinite;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
    background-color: #FFFFFF;
    color: #5D6D7E;
    border: 2px solid #E0E6ED;
}

.cta-secondary:hover {
    background-color: #F8F9FA;
    border-color: #BDC3C7;
    transform: translateY(-2px);
}

.cta-tertiary {
    background-color: transparent;
    color: #95A5A6;
    font-size: 16px;
    font-weight: 600;
}

.cta-tertiary:hover {
    color: #7F8C8D;
}

/* SNSシェアボタン */
.share-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 30px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
    border: 2px solid #dee2e6;
}

.share-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.share-section-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.share-btn:active {
    transform: translateY(-1px);
}

.share-icon {
    font-size: 1.2rem;
}

/* X (旧Twitter) */
.share-twitter,
.share-x {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.share-twitter:hover,
.share-x:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

/* Facebook */
.share-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d65d9 100%);
}

.share-facebook:hover {
    background: linear-gradient(135deg, #0d65d9 0%, #0a52b3 100%);
}

/* LINE */
.share-line {
    background: linear-gradient(135deg, #00B900 0%, #009900 100%);
}

.share-line:hover {
    background: linear-gradient(135deg, #009900 0%, #007700 100%);
}

/* Copy Link */
.share-copy {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.share-copy:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
}

/* コピー成功メッセージ */
.copy-toast {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    background: #28a745;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

.copy-toast.show {
    display: block;
}

@keyframes slideUp {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .result-header {
        padding: 40px 15px 30px;
    }

    .character-image {
        width: 150px;
        height: 150px;
    }

    .type-name {
        font-size: 28px;
    }

    .type-subtitle {
        font-size: 18px;
    }

    .type-catchphrase {
        font-size: 16px;
    }

    .content-section {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-text {
        font-size: 15px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .character-image {
        width: 120px;
        height: 120px;
    }

    .type-emoji {
        font-size: 36px;
    }

    .type-name {
        font-size: 24px;
    }

    .content-section {
        padding: 25px 15px;
    }
}