@charset "UTF-8";

/*----------------------------------
代表メッセージページ
-----------------------------------*/
.message__title{
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
}

.message__contents{
    display: flex;
    gap: 25px;
    margin-top: 40px;
}

.message__img{
    flex-basis: 315px;
}

.message__img img{
    background-color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    object-fit: contain;
    object-position: top;
    width: 100%;
    aspect-ratio: 315/300;
}

.message__img figcaption {
    font-size: 14px;
    padding-top: 15px;
    text-align: center;
}

.message__text{
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    text-align: justify;
}

.message__text p:first-of-type{
    text-align: left;
}

.message__text > *+*{
    margin-top: 1.6em;
}

.message__text .bold{
    font-weight: 800;
}

.message__profile{
    /*background-color: #f5f5f5;*/
    border-radius: 20px;
    margin-top: 55px;
    padding: 34px 34px 30px;
}

.message__profile-title{
    font-size: 24px;
    font-weight: 800;
	padding: 5px 5px 5px 15px;
    border-left: 5px solid #E6731E;
}

.message__profile-text{
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    margin-top: 30px;
}

.message__profile-text a{
    color: var(--color-blue);
    font-weight: 800;
    text-decoration: underline;
}

.message__profile-text a:hover{
    opacity: 0.7;
}

@media(max-width:1024px) {
    .message__title {
        font-size: 32px;
    }

    .message__img {
        flex-basis: 30.74vw;
    }
}

@media(max-width:767px) {
    .message__contents {
        gap: 50px;
        flex-direction: column;
    }

    .message__title {
        font-size: min(6.4vw, 30px);
        text-align: center;
    }

    .message__img {
        flex-basis: auto;
        max-width: 450px;
        margin-inline: auto;
    }

    .message__profile {
        padding-inline: 5vw;
    }

    .message__profile-title {
        font-size: 20px;
    }

    .message__profile-text {
        margin-top: 20px;
    }
}

/*----------------------------------
リニューアル前のCSS打ち消し用
-----------------------------------*/
.page-title {
    background-color: transparent;
}

.message__title {
    letter-spacing: 0;
}