@charset "UTF-8";

/* ヘッダー */

.article__header {
    padding: 100px 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/firstviewImg01.jpg);
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: overlay;
}

.header__content {
    color: var(--primary-black);
    font-family: "M plus 1p";
    font-style: normal;
    font-weight: 600;
    line-height: 1.8;
    text-shadow: 0px 0px 0px rgba(255, 255, 255, 1);
}

/* header pc */

@media screen and (min-width:1024px) {
    .article__header {
        padding: 150px 0 60px;
    }
}

/* 保護者・先生・高校生へ */

.section--message {
    background: url(../images/backgroundImg.jpg), var(--primary-red, #FA5953);
    background-blend-mode: screen, normal;
    background-size: cover, cover;
    padding-bottom: 70px;
}

.message__content{
    padding: var(--section-padding);
}

.message__title {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    display: inline-block;
    position: relative;
    z-index: 0;
}

.message__title::after {
    content: '';
    display: inline-block;
    background-image: url(../images/ranndoseru.png);
    background-size: contain;
    width: 70px;
    height: 70px;
    position: absolute;
    top: -3px;
    right: -10%;
    z-index: -1;
}

.message__txt {
    color: var(--primary-white, #fff);
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    margin-top: 50px;
}

.slider {
    width: 100%;
    display: flex;
    justify-content: center;
}

.sliderImg {
    width: 78.7%;
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
    border-radius: 50%;
}

/* 保護者 pc*/

@media screen and (min-width:1024px){
    .section--message{
        padding-bottom: 100px;
    }
}