.message-content {
    margin-top: 40px;
}

.message-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 60px;
}

.message-left {
    flex: 0 0 calc(60% - 20px);
}

.message-right {
    flex: 1;
    margin-right: calc(-50vw + 50%);
    margin-top: 58px;
}

.message-right img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

.message-header {
    margin-top: 0;
    margin-bottom: 50px;
}

.message-title {
    font-size: 48px;
    color: #0ABAB5;
    margin: 0 0 10px 0;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.message-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #0ABAB5;
}

.message-greeting {
    margin-bottom: 70px;
}

.message-greeting p {
    font-size: 16px;
    line-height: 2.2;
    color: #333;
    margin-bottom: 25px;
    letter-spacing: 0.03em;
}

.message-greeting p:last-child {
    margin-bottom: 0;
}

.message-profile {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 60px;
}

.profile-section {
    display: flex;
    flex-direction: column;
}

.profile-title {
    font-size: 18px;
    color: #0ABAB5;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.profile-history {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-item {
    display: flex;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.history-year {
    width: 80px;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.history-text {
    letter-spacing: 0.03em;
}

.profile-bottom-row {
    display: flex;
    gap: 80px;
}

.profile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-list li {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    letter-spacing: 0.03em;
}

.profile-list a {
    color: var(--text-color);
    text-decoration: none;
    padding-bottom: 3px;
    position: relative;
    display: inline-block;
}

.profile-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.profile-list a:hover {
    color: var(--primary-color);
}

.profile-list a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 991px) {
    br.sp-hidden {
        display: none;
    }

    .message-layout {
        flex-direction: column;
    }

    .message-left {
        display: contents;
    }

    .message-header {
        order: 1;
        margin-bottom: 20px;
    }

    .message-right {
        order: 2;
        width: 100%;
        height: auto;
        margin-top: 0;
        margin-bottom: 25px;
        margin-right: 0;
    }

    .message-greeting {
        order: 3;
        margin-bottom: 40px;
    }

    .message-profile {
        order: 4;
        margin-top: 0;
    }

    .message-right img {
        border-radius: 10px;
        max-height: 400px;
    }

    .profile-bottom-row {
        gap: 60px;
        flex-wrap: wrap;
    }
}