.message-intro {
    position: relative;
    font-size: 1.5rem;
    color: #666;
    font-weight: 500;
    background-color: #f2f2f2;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Times New Roman", serif;
}

.message-intro p {
    margin: 0;
    display: inline-block;
    max-width: 50rem;
}

.quote-mark {
    position: absolute;
    font-size: 10rem;
    color: rgba(0, 0, 0, 0.1);
    font-family: serif;
    pointer-events: none;
    top: -1rem;
    /* ブロック上に浮かせたい場合はマイナス値に */
    line-height: 1;
}

.quote-start {
    left: 5%;
}

.quote-end {
    right: 5%;
}


@media (max-width: 768px) {
    .message-intro {
        font-size: 1rem;
        padding: 1.5rem 1rem;
    }

}

@media (max-width: 768px) {
    .quote-mark {
        font-size: 5rem;
        top: -1rem;
    }
}




.message-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.message-left {
    flex: 1 1 60%;
}

.message-right {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.message-photo {
    width: 100%;
    max-width: 50rem;
    height: 25rem;
    object-fit: cover;
}

.profile-box {
    background-color: transparent;
    padding: 1.5rem;
    border-top: 3px solid var(--accent-color);

}

.profile-box h3 {
    font-size: 1.3rem;
    color: var(--accent-color, #0077B6);
}

.profile-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.message-block {
    margin-bottom: 3rem;
}

.message-block h2.message-heading {
    font-size: 1.4rem;
    color: var(--accent-color, #0077B6);
    border-left: 5px solid var(--accent-color, #0077B6);
    padding-left: 10px;
    margin-bottom: 1rem;
}

.signature {
    margin-top: 2rem;
    font-weight: bold;
    text-align: right;
    font-size: 1.1rem;
}

.profile-card {
    width: 100%;
    max-width: 30rem;
    background: transparent;
    border-radius: 15px;
    overflow: hidden;


}


@media (max-width: 768px) {
    .message-container {
        flex-direction: column;
        gap: 2rem;
    }

    .message-photo {
        max-width: 100%;
        border-radius: 10px;
    }

    .message-left,
    .message-right {
        width: 100%;
    }

    .message-photo {
        height: 15rem
    }
}