@charset "UTF-8";

.contents-header__container{
    background-image: url(/assets/images/message/message_title-img_2048x772.webp);
    background-size: cover;
    background-position: center;
}

/* content ---------- */
.message__container {
    padding-top: clamp(60px, 8.474vw, 100px);
    padding-bottom: clamp(20px, 5.932vw, 70px);
}

.message__inner {
    display: flex;
    justify-content: space-between;
}
.message-img_text span {
    display: block;
}

.message-img_text span:last-child {
    width: clamp(120px, 15.25vw, 180px);
    margin-top: clamp(14px, 2.542vw, 30px);
}

.message-img {
    display: block;
    border-radius: var(--corner__m);
    overflow: hidden;
}

.message__text-wrapper h2 {
    font-size: clamp(17px, 2.033vw, 24px);
    font-weight: 500;
    line-height: 2;
    margin-bottom: clamp(32px, 6.779vw, 80px);
}

.message__text p {
    line-height: 2;
    margin-bottom: 22px;
}

@media print, screen and (min-width: 600px) {
    .message__img-wrapper {
        width: clamp(200px, 23.728vw, 280px);
    }
    .message-img_text span:last-child {
        margin-left: auto;
    }
    .message-img {
        margin-bottom: 24px;
    }
    .message__text-wrapper {
        width: calc(100% - clamp(240px, 34.745vw, 410px));
    }
}

@media screen and (max-width: 599px) {
    .message__inner {
        flex-direction: column;
    }
    .message__img-wrapper {
        display: flex;
        align-items: flex-end;
        margin-bottom: 36px;
    }
    .message-img {
        width: clamp(200px, 23.728vw, 280px);
        margin-right: 20px;
    }
    .message-img_text span:first-child {
        font-size: 15px;
        letter-spacing: 0em;
    }
    .message__text {
        font-size: 15px;
    }
}