@charset "UTF-8";
/* 共通設定 ---------------------------------- */
section{
    scroll-margin-top: 170px;
}

/* page-title ------------------------------ */
.message #page-title{
    height: 422px;
}
.message #page-title::after{
    background-image: url(../img/message/title.webp);
}

/* message-main ---------------------------- */
#message-main{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 70px;
}

/* message-list ---------------------------- */
#message-main .message-list{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 70px auto;
}
#message-main .message-list li{
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 5%;
    padding: 35px 0;
    border-bottom: 1px solid #D2B07B;
}
#message-main .message-list li:last-of-type{
    border-bottom: 0;
}

#message-main .message-list li > .text-wrap{
    width: calc(100% - 395px - 5%);
    padding-left: 123px;
    position: relative;
}
#message-main .message-list li > .text-wrap::before{
    width: 93px;
    height: 80px;
    color: #D2B07B;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 80px;
    font-weight: 600;
    line-height: 1em;
    position: absolute;
    top: -10px;
    left: 0;
}
#message-main .message-list li:nth-child(1) > .text-wrap::before{
    content: "01";
}
#message-main .message-list li:nth-child(2) > .text-wrap::before{
    content: "02";
}
#message-main .message-list li:nth-child(3) > .text-wrap::before{
    content: "03";
}
#message-main .message-list li:nth-child(4) > .text-wrap::before{
    content: "04";
}
#message-main .message-list li:nth-child(5) > .text-wrap::before{
    content: "05";
}
#message-main .message-list li > .text-wrap .title{
    margin-bottom: 20px;
}

#message-main .message-list li > .img-wrap{
    width: 395px;
    height: auto;
}
#message-main .message-list li > .img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* summary --------------------------------- */
#message-main .summary{
    width: 80%;
    margin: 0 auto;
}
#message-main .summary .text{
    width: 100%;
    color: #154783;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.65em;
    text-align: center;
    margin-bottom: 50px;
}
#message-main .summary .name-area{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
    margin: 0 0 0 auto;
}
#message-main .summary .name-area > span{
    display: block;
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    line-height: 1em;
}
#message-main .summary .name-area .name{
    font-size: 20px;
}


/*-------------------------------------------
メインメニュー調整用
-------------------------------------------*/
@media screen and (max-width: 1277px) {

    /* 共通設定 ---------------------------------- */
    section{
        scroll-margin-top: calc(90px + 40px);
    }

}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* message-list ---------------------------- */
    #message-main .message-list li{
        flex-direction: column-reverse;
    }

    #message-main .message-list li > .text-wrap{
        width: 90%;
        margin: 0 auto;
    }

    #message-main .message-list li > .img-wrap{
        width: 100%;
        max-width: 395px;
        margin: 0 auto 30px auto;
    }

    /* summary --------------------------------- */
    #message-main .summary .text{
        text-align: left;
    }


}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* 共通設定 ---------------------------------- */
    section{
        scroll-margin-top: calc(60px + 40px);
    }

    /* page-title ------------------------------ */
    .message #page-title{
        height: 550px;
    }
    .message #page-title::after{
        background-image: url(../img/message/titleSP.webp);
    }

    /* message-list ---------------------------- */
    #message-main .message-list li > .text-wrap{
        width: 100%;
        padding-left: 42px;
    }
    #message-main .message-list li > .text-wrap::before{
        width: 37px;
        height: 32px;
        font-size: 32px;
        top: -3px;
    }

    /* summary --------------------------------- */
    #message-main .summary{
        width: 100%;
    }

}