/* ================================================================
   トップメッセージページ
   Figma: node-id=1209:4973
================================================================ */

.msg-page {
    padding-bottom: 160px;
}


/* ---- ヒーロー画像 + 代表者情報 ---- */

.msg-hero {
    margin-bottom: 64px;
}

.msg-hero-inner {
    position: relative;
    max-width: 2000px;
    margin: auto;
}

.msg-hero-img {
    width: 90%;
    max-width: 1200px;
    display: block;
}

.msg-hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
}

.msg-hero-caption-inner {
    width: 1200px;
    max-width: 94%;
    margin: auto;
    display: flex;
    justify-content: flex-end;
}

.msg-hero-caption-content {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 240px;
    width: max-content;
    max-width: 100%;
}

.msg-hero-role {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #5c5c5c;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.msg-hero-name {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    color: #191919;
    letter-spacing: 0.08em;
    line-height: 1.5;
}


/* ---- 本文エリア ---- */

.msg-body {
    margin: 0 auto;
}

.msg-body p {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 400;
    color: #191919;
    opacity: 0.8;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.msg-body p:last-child {
    margin-bottom: 0;
}

.msg-signature {
    text-align: right;
}


/* ================================================================
   レスポンシブ
================================================================ */

@media screen and (max-width: 768px) {
    .msg-page {
        padding-top: 40px;
        padding-bottom: 80px;
    }
    .msg-hero {
        margin-bottom: 0;
    }
    .msg-hero-inner {
        /* padding-right: 28px; */
    }
    .msg-hero-img {
        width: 100%;
        max-width: none;
    }
    .msg-hero-caption {
        position: relative;
        bottom: auto;
        padding: 20px 28px 0;
    }
    .msg-hero-caption-inner {
        width: 100%;
        max-width: 100%;
        justify-content: flex-end;
    }
    .msg-hero-caption-content {
        width: 100%;
        gap: 8px;
    }
    .msg-hero-name {
        font-size: 32px;
    }
    .msg-hero-role {
        font-size: 14px;
    }
    .msg-body {
        margin-top: 80px;
    }
    .msg-body p {
        font-size: 15px;
    }
}