/* profile.html 専用のスタイル */

/* 1. ページ全体の基本設定 */
.profile-page {
    background: #FFFFFF !important;
    padding-top: 0;
}

.profile-hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 2.note_profile.png */
.hero-image-wrapper {
    width: 100%;
    background-color: #2D3A1B;
    line-height: 0;
}

.hero-full-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: none; 
}

/* 3.コンテンツ */
.profile-board-body {
    background: white;
    width: 100%;
    padding: 60px 80px 80px; 
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    margin-top: -1px;
}

/* 4.共通セクション設定 */
.profile-section {
    max-width: 1000px;
    margin: 0 auto 150px; 
}

.title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

.title-marker {
    width: 110%;
    height: auto;
    position: absolute;
    bottom: -5px;
    left: -5%;
    z-index: 1;
}

.title-text {
    /*height: 32px;*/
    width: auto;
    position: relative;
    z-index: 2;
    display: block;
}

/* About Me レイアウト */

.profile-text .sho{
    font-weight: bold;
    font-size: 18px;
}

.profile-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.profile-icon {
    width: 220px;
    flex-shrink: 0;
}

.profile-icon img {
    width: 100%;
    height: auto;
}

.profile-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 5. Skills セクション */
.profile-section.skills-container {
    max-width: 1000px;
    margin: 0 auto 120px; 
    padding: 80px 60px;
    border: 2px solid #E0E0E0;
    border-radius: 60px;
    text-align: center;
}

.skills-flex {
    display: flex;
    justify-content: center;
    gap: 120px;
    align-items: flex-start;
    margin-top: 40px;
}

.skill-item {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-leaf-img {
    width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.skill-label {
    color: #333333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    position: static;
}

.skill-item p {
    width: 250px;
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
    color: #333;
    margin: 0;
}

/* 6. PCスキルテーブル */
.skill-table {
    width: 100%;
    max-width: 700px; 
    margin: 60px auto 80px;
    border: 1px solid #333333; 
    border-collapse: collapse;
}

.skill-table th, 
.skill-table td {
    border: 1px solid #333333; 
    padding: 25px;
    font-size: 15px;
    text-align: left;
    line-height: 1.6;
}

.skill-table th {
    background-color: #F9F9F9;
    width: 35%; 
    font-weight: bold;
    color: #333;
}

.skill-table td {
    color: #333;
    background-color: #FFFFFF;
}

/* 7. HOMEボタン */
.back-home {
    text-align: right;
    max-width: 700px; 
    margin: 40px auto 0;
}

.back-home img {
    /*height: 50px;*/
    width: auto;
}

/* 8. スマホ対応 */
@media (max-width: 768px) {
    .profile-board-body {
        padding: 40px 20px;
    }
    .profile-flex {
        flex-direction: column;
        gap: 30px;
    }
    .profile-section {
        margin-bottom: 60px; 
    }
    .profile-section.skills-container {
        padding: 40px 20px;
        margin: 0 15px 60px;
        border-radius: 30px;
    }
    .skills-flex {
        flex-direction: column;
        gap: 60px;
        align-items: center;
    }
    .skill-item, .skill-item p {
        width: 100%;
        max-width: 280px;
    }
    .skill-table {
        width: 100%;
    }
}