.message__title{
    font-size: 48px;
    color: var(--main-txt-color);
    text-align: center;
    margin-bottom: 60px;
}

.sec-message{
    padding: 95px 0 70px;
}

.message__bl{
    display: flex;
    justify-content: space-between;
    width: calc(50% + 550px);
    margin-left: 0;
    margin-right: auto;
    position: relative;
}

.message__cont {
    width: 660px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.message__img{
    width: calc(100% - 720px);
    position: relative;
}

.message__img-wrapper{
    position: relative;
}

.message__cont p{
    margin-bottom: 35px;
}

.sec-message .bg.bg06 {
    width: 152px;
    height: 137px;
    position: absolute;
    right: 440px;
    bottom: -30px;
    z-index: -1;
}

.message-page .title-bg{
    left: auto;
    right: -1px;
}

.message-page .title-bl {
    width: 370px;
    bottom: 0;
    right: 0;
}

.title-bl p.name {
    color: var(--main-txt-gray);
    font-size: 30px;
    font-weight: bold;
    font-family: var(--yugo);
}

.title-bl p.name span.yaku{
    font-size: 16px;
    font-weight: normal;
    display: inline-block;
    margin-right: 10px;
}

.sec-message .bg.bg05 {
    width: 388px;
    right: 0;
    bottom: 40px;
    position: absolute;
    z-index: -1;
    height: 450px;
}

.sec-message{
    position: relative;
}

@media only screen and (max-width: 1250px){
    .message__bl{
        width: 95%;
    }
    .message__cont {
        width: 55%;
    }
    .message__img{
        width: 41%;
    }
    .message-page .title-bg {
        width: 370px;
    }
    .message-page .title-bl {
        width: 320px;
    }
    .sec-message .bg.bg05 {
        width: 289px;
        height: 334px;
    }
}

@media only screen and (max-width: 1099px){
    .message-page .title-bg {
        width: 270px;
    }
    .message-page .title-bl {
        width: 237px;
        transform: translateY(5px);
    }
    .message__title {
        font-size: 36px;
        margin-bottom: 50px;
    }
    .title-bl p.name {
        font-size: 23px;
    }
    .sec-message {
        padding: 30px 0 0;
    }
    .sec-message .bg.bg06 {
        right: 350px;
        bottom: 0;
    }

}

@media only screen and (max-width: 767px){
    .message__img {
        width: 550px;
        max-width: 100%;
        margin-bottom: 40px;
    }
    .message__bl {
        flex-direction: column;
    }
    .message-page .title-bg {
        width: 300px;
    }
    .message__cont {
        width: 95%;
        margin-right: 0;
        margin-left: auto;
    }
    .sec-message {
        padding: 10px 0;
    }
    .sec-message .bg.bg05 {
        width: 225px;
        height: 262px;
        bottom: 260px;
    }
    .sec-message .bg.bg06 {
        right: auto;
        bottom: 0;
        left: 50px;
    }
    .message__title {
        font-size: 24px;
        margin-bottom: 40px;
    }
}