@charset "UTF-8";

/* --------------------
message
-------------------- */

.message {
    position: relative;
    padding: 30px 0 20px;
}

.message-container {
    width: 1870px;
    margin: 0 auto 0;
    padding: 0 20px 0;
}

.message-grid {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    position: absolute;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 7px;
    width: 350px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.message-gridInner {
    position: relative;
    border: 1px solid #D1E0F2;
    border-radius: 5px;
    padding: 25px 27px 32px;
}

.message-framedeco {}

.message-framedecoImg1 {
    position: absolute;
    top: 5px;
    bottom: auto;
    right: auto;
    left: 5px;
}

.message-framedecoImg2 {
    position: absolute;
    top: 5px;
    bottom: auto;
    right: 5px;
    left: auto;
}

.message-framedecoImg3 {
    position: absolute;
    top: auto;
    bottom: 5px;
    right: 5px;
    left: unset;
}

.message-framedecoImg4 {
    position: absolute;
    top: auto;
    bottom: 5px;
    right: auto;
    left: 5px;
}

.message-illust {
    position: relative;
    margin: 15px auto 0;
    overflow: hidden;
    border-radius: 5px;
}

.message-illust a {}

.message-illust a:hover {
    opacity: 0.77;
}

.message-illust_hor {
    height: 0;
    padding: 56.25% 0 0 0;
}

.message-illust_ver {
    height: 0;
    padding: 177.777777777778% 0 0 0;
}

.message-illustImg {
    width: 100%;
}

.message-illust_hor .message-illustImg {
    border-radius: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: auto;
    height: 100%;
    object-fit: cover;
}

.message-illust_ver .message-illustImg {
    border-radius: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}

.message-txt+.message-illust {
    margin: 12px 0 0 0;
}

.message-txt {
    font-family: "M PLUS Rounded 1c", sans-serif;
    text-align: left;
    color: #252943;
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0;
    text-decoration: none;
    padding: 0 0 0 0;
    margin: 14px auto 0;
}

.message-nameCont {}

.message-nameCont {
    display: -webkit-box;
    display: -ms-flexbox;
    display: block;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.message-icon {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 40px;
    height: 40px;
    margin: 0 auto 0;
}

.message-iconImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-name {
    font-family: "M PLUS Rounded 1c", sans-serif;
    text-align: center;
    color: #252943;
    font-size: 1.6em;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    max-width: none;
    margin: 0 auto 0;
}

.message-icon+.message-name {
    margin: 7px auto 0;
}

.message-nameCont+.message-txt {
    margin: 14px auto 0;
}

.message-nameCont+.message-illust {
    margin: 15px auto 0;
}

.message-txt+.message-illust {
    margin: 11px auto 0;
}

@media screen and (max-width: 1920px) {
    .message-container {
        width: 1500px;
        margin: 0 auto 0;
    }
}

@media screen and (max-width: 1600px) {
    .message-container {
        width: 1130px;
        margin: 0 auto 0;
    }
}

@media screen and (max-width: 1024px) {
    .message-container {
        width: 760px;
        margin: 0 auto 0;
    }
}

@media screen and (max-width: 767px) {
    .message {
        padding: 20px 0 20px;
    }
    .message-container {
        width: 93.0666666666667% !important;
        padding: 0 0 0;
        margin: 0 auto 0;
        max-width: 400px;
    }
    .message-grid {
        border-radius: 10px;
        margin-bottom: 15px;
        position: relative;
        padding: 7px;
        width: 100%;
    }
}