/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* コンタクトページ（TOPページ）*/
.contact-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-container {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 90%;
}

.contact-container h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 300;
}

.email-container {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.email-container:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.email-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #667eea;
}

/* プロフィールページ */
.profile-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.profile-header {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.profile-header h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 300;
}

.profile-title {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 500;
}

.profile-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.profile-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.profile-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* 職歴・経験 */
.experience-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.experience-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.period {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
}

.experience-item ul {
    list-style: none;
    padding-left: 1rem;
}

.experience-item li {
    margin-bottom: 0.5rem;
    position: relative;
}

.experience-item li:before {
    content: "▶";
    color: #667eea;
    position: absolute;
    left: -1rem;
}

/* 活動 */
.activity-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.activity-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.activity-item p {
    color: #666;
    margin: 0;
}

/* スキルグリッド */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: #667eea;
    transform: translateY(-3px);
}

.skill-item h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.skill-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* サブ期間表示 */
.role-title {
    font-size: 1.1rem;
    color: #495057;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.sub-period {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

/* プロジェクトショーケース */
.project-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.project-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #28a745;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-item h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.project-date {
    color: #28a745;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
}

.project-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.project-summary {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 1rem;
}

.project-summary p {
    margin-bottom: 0.5rem;
    color: white;
}

.project-summary strong {
    font-size: 1.2rem;
}

/* 受賞・資格 */
.award-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff8e1;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

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

.award-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.award-date {
    color: #ffc107;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
}

.award-item p:not(.award-date) {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.award-item ul {
    list-style: none;
    padding-left: 1rem;
}

.award-item li {
    margin-bottom: 0.3rem;
    position: relative;
    color: #555;
    font-size: 0.9rem;
}

.award-item li:before {
    content: "🏆";
    position: absolute;
    left: -1.2rem;
}

/* 趣味タグ */
.hobbies {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hobby-tag {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .contact-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-container h1 {
        font-size: 2rem;
    }
    
    .profile-container {
        padding: 2rem 1rem;
    }
    
    .profile-header h1 {
        font-size: 2.5rem;
    }
    
    .profile-title {
        font-size: 1.1rem;
    }
    
    .profile-section {
        padding: 2rem 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies {
        justify-content: center;
    }
    
    .project-showcase {
        grid-template-columns: 1fr;
    }
    
    .project-summary {
        padding: 1.5rem;
    }
    
    .award-item {
        padding: 1.2rem;
    }
}

/* プライバシーポリシーページ */
.privacy-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.privacy-header {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.privacy-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 300;
}

.last-updated {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.privacy-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.privacy-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.privacy-section h3 {
    font-size: 1.2rem;
    color: #495057;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.privacy-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.privacy-section ul {
    margin: 1rem 0 1rem 1.5rem;
    color: #555;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 第三者サービス */
.service-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #17a2b8;
    margin: 1.5rem 0;
}

.service-item h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1rem;
}

.service-item a {
    color: #17a2b8;
    text-decoration: none;
    font-weight: 500;
}

.service-item a:hover {
    text-decoration: underline;
}

/* お問い合わせ情報 */
.contact-info {
    background: #e7f3ff;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.contact-details {
    margin-top: 1rem;
    padding: 1rem 0;
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-details a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* フッター */
.privacy-footer {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* プライバシーポリシー用レスポンシブデザイン */
@media (max-width: 768px) {
    .privacy-container {
        padding: 2rem 1rem;
    }
    
    .privacy-header {
        padding: 2rem 1.5rem;
    }
    
    .privacy-header h1 {
        font-size: 2rem;
    }
    
    .privacy-section {
        padding: 2rem 1.5rem;
    }
    
    .privacy-section h2 {
        font-size: 1.3rem;
    }
    
    .service-item,
    .contact-info {
        padding: 1.2rem;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}