
/* プロフィールセクション */
#profile {
    display: flex;
    justify-content: center;
    padding: 40px;
    background-color: #fff;
    gap: 40px;
    width: 900px; /* 最大幅を広げる */
    margin: 0 auto;
}

.profile-container {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.profile-image img {
    width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-details {
    width: 500px;
}

.details-header {
    display: flex;
}

.profile-details h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.profile-details .composite-button {
    display: block;
    width: 136px;
    height: 28px;
    padding: 12px 0 0 0;
    margin: -6px 20px 0;
    font-size: 16px;
    text-align: center;
    background-color: #ffbf00;;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-shrink: 0;
}
.profile-details .composite-button:hover {
    background-color: #ffd966; /* ホバー時の色変更 */
    transform: scale(1.03); /* 少し拡大して優しい効果 */
    box-shadow: 0 4px 8px rgba(255, 191, 0, 0.3);
}

.profile-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-details ul li {
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
}

.profile-details ul li strong {
    flex-shrink: 0; /* 太字部分の幅を固定 */
    width: 100px; /* ラベルの幅を統一 */
    text-align: left; /* 左揃え */
}

.profile-details ul li span {
    flex-grow: 1; /* 値の部分が自由に広がる */
    word-break: break-word; /* 長い単語を折り返し */
}

.profile-message {
    max-width: 500px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.profile-message h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.profile-message p {
    margin-bottom: 16px;
    line-height: 1.2;
    font-size: 0.8em;
}
@media screen and (max-width: 980px)  , print{
    #profile {
        display: flex;
        background-color: #fff;
        width: 580px;
        margin: 0 auto;
    }

    .profile-container {
        width: 500px;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .profile-image img {
        display: block;
        width: 350px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin: 0 auto;
    }
}