* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-start: #f2effa;
    --bg-end: #ececf1;
    --surface: #ffffff;
    --surface-soft: #f6f5f9;
    --accent-soft: #d8d0ee;
    --accent: #8c7cb8;
    --accent-deep: #74639f;
    --text-main: #3f3f46;
    --text-sub: #666675;
    --border-soft: #e4e1ea;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
}

.container {
    max-width: 500px;
    width: 100%;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(58, 56, 70, 0.12);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

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

.profile-section {
    background: linear-gradient(135deg, #e8e1f6 0%, #dfd8f1 100%);
    color: var(--text-main);
    padding: 40px 30px 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}

.profile-image {
    margin-bottom: 20px;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--surface);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(78, 71, 103, 0.14);
}

.profile-section h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.title {
    font-size: 16px;
    color: var(--text-sub);
    margin-bottom: 5px;
}

.department {
    font-size: 14px;
    color: var(--text-sub);
}

.contact-info {
    padding: 30px;
    background: var(--surface-soft);
}

.info-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    font-size: 14px;
    transition: transform 0.2s;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item .icon {
    font-size: 20px;
    margin-right: 15px;
    min-width: 25px;
}

.info-item a {
    color: var(--accent-deep);
    text-decoration: none;
}

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

.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(116, 99, 159, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(116, 99, 159, 0.32);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 20px;
}

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

.sns-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-main);
    text-align: center;
}

.sns-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.sns-btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid var(--border-soft);
}

.sns-btn svg {
    width: 20px;
    height: 20px;
}

.sns-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(58, 56, 70, 0.12);
}

.sns-btn.line {
    background: #eee9f8;
}

.sns-btn.facebook {
    background: #f1eef9;
}

.sns-btn.linkedin {
    background: #eee9f8;
}

.sns-btn.twitter {
    background: #eee9f8;
}

.sns-btn.youtube {
    background: #eee9f8;
}

.sns-btn.instagram {
    background: #eee9f8;
}

.app-download-section {
    padding: 20px 30px 30px;
    background: #f8f9fa;
}

.app-download-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.app-description {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.app-btn {
    flex: 1;
    min-width: 180px;
    padding: 12px 20px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.app-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.app-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-btn .small {
    font-size: 10px;
    opacity: 0.9;
}

.app-btn .large {
    font-size: 16px;
    font-weight: 600;
}

.app-btn.ios {
    background: #000;
}

.app-btn.android {
    background: #3DDC84;
    color: #000;
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer {
    text-align: center;
    padding: 20px;
    color: var(--text-sub);
    font-size: 12px;
    background: var(--surface);
}

/* モバイル対応 */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 15px;
    }
    
    .profile-section {
        padding: 30px 20px 20px;
    }
    
    .profile-section h1 {
        font-size: 24px;
    }
    
    .contact-info,
    .action-section,
    .sns-section,
    .app-download-section {
        padding: 20px;
    }
    
    .sns-buttons {
        flex-direction: column;
    }
    
    .sns-btn {
        min-width: 100%;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .app-btn {
        min-width: 100%;
    }
}

/* 印刷時のスタイル */
@media print {
    body {
        background: white;
    }
    
    .container {
        box-shadow: none;
    }
    
    .btn, .sns-section, .app-download-section {
        display: none;
    }
}
