/* 新しい社員紹介ページ専用のスタイル */

.page-top-image {
    width: 60%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    margin: 80px auto 30px;
    border-radius: 10px;
    display: block;
}

.heading-container {
    text-align: center;
    margin: 40px auto;
}

.heading-container h2 {
    font-size: 32px;
    font-weight: bold;
    color: red;
}

.section-header {
    max-width: 1200px;
    margin: 60px auto 20px;
    padding-left: 20px;
    text-align: left;
}

.section-header h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
}

.profile-container {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 20px;
    background-color: #fff3e0; /* 背景色: 薄いオレンジ */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #ff7043; /* オレンジのボーダー */
    padding-bottom: 20px;
}

.profile-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* 画像を丸くする */
    border: 4px solid #ffcc80; /* 薄いオレンジのボーダー */
}

.profile-info h4 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px;
}

.profile-info p {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.qa-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.qa-block {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qa-question {
    font-size: 18px;
    font-weight: bold;
    color: #ff7043; /* Qの文字色: オレンジ */
    position: relative;
    padding-left: 30px;
}

.qa-question::before {
    content: "Q.";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: red;
    font-weight: bold;
}

.qa-answer {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    position: relative;
    padding-left: 30px;
}

.qa-answer::before {
    content: "A.";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: red;
    font-weight: bold;
}

.qa-image {
    text-align: center;
}

.qa-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[id] {
    scroll-margin-top: 100px; /* navbarの高さ分 */
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .page-top-image {
        height: 250px;
        margin-top: 120px;
    }

    .heading-container h2 {
        font-size: 24px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }

    .profile-info h4 {
        font-size: 24px;
    }

    .qa-question,
    .qa-answer {
        padding-left: 20px;
    }

    .qa-question::before,
    .qa-answer::before {
        font-size: 20px;
    }
}
