@charset "utf-8";

/*---------------------------------*/
/*先輩からのメッセージ*/
/*---------------------------------*/
#senior {
    background: url('../img/bg_wave_single_g.svg') no-repeat center bottom;
    padding-bottom: 100px;
}

/*一覧*/
.items {
    display: flex;
    flex-wrap: wrap;
}
.items .item {
    width: calc((100% / 3) - 60px);
    margin: 0 30px 50px;
}

.items a {
    text-decoration: none;
    color: #000;
}

.items .photo {
    margin-bottom: 20px;
    /* height: 260px; */
}
.items .photo img {
    display: block;
    margin: 0;
    border-radius: 10px;
    width: 100%;
    object-fit: cover;    
}

.items .txt {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    border-radius: 10px;
    margin-top: -80px;
    position: relative;
    padding: 20px 20px;
    color: #fff;
    background-color:rgba(68, 100, 189, 0.6);
    backdrop-filter: blur(10px);
}
.items .txt dl {
    margin: 0;
    line-height: 140%;
}
.items .txt dt {
    /*18-20*/
    font-size: clamp(1.125rem, 1.1rem + 0.13vw, 1.25rem);
    font-weight: bold;
    margin-bottom: 10px;
}
.items .txt dd {
    margin: 0;
}
.items a img {
    transition-duration: 0.3s;
}
.items a:hover img {
    transform: scale(1.1);
    transition-duration: 0.5s;
    opacity: 0.8;
}


/*---------------------------------*/
/*メッセージ*/
/*---------------------------------*/
#messages {
    background: url('../img/bg_wave_single_g.svg') no-repeat center bottom;
    padding-bottom: 100px;
    padding-top: 1px; /*余白対策*/
    margin-top: -1px;
    background-color: #F0F5F9;
}

.message {
    background: url('../img/bg_line_w.svg') no-repeat center bottom;
    padding: 50px 0 100px;
}

#messages .message:last-child {
    background-image: none;
    padding-bottom: 0;
}

.cover {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.cover .photo {
    width: 35vw;
    margin-left: 80px;
}
.cover .photo img {
    display: block;
    border-radius: 20px;
}

.cover .txt {
    flex: 1;
}
.cover .txt h2 {
    /*20-28*/
    font-size: clamp(1.25rem, 1.025rem + 1.13vw, 2.375rem);
    position: relative; /*下線用*/
}
.cover .txt h2::before {
    position: absolute;
    border-bottom: 2px solid #aa112a;
    top: 130%;
    left: 60px;
    transform: translateX(-50%);
    width: 120px;
    content: '';
}

.cover .txt .status {
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 30px;
    line-height: 140%;
    /*18-20*/
    font-size: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
}
.cover .txt p,
.cover .txt dl {
    line-height: 160%;
}
.cover .txt dl {
    margin-top: 30px;
}
.cover .txt dt {
    font-weight: bold;
    margin-bottom: 10px;
}
.cover .txt dd {
    margin: 0;
}


/*注意書き*/
.note {
    margin-top: 40px;
}
.note ul {
    margin-top: 0;
    margin-bottom: 0;
    /*12-14*/
    font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem);
}


/*スライダー*/
.bg-slideshow {
    position: relative;
    margin: 0 auto;
    height: 480px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 0px 48px -8px #cdd2da;
}
.bg-slideshow div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.bg-slideshow div.active {
    opacity: 1;
    z-index: 1;
}



/****************************/
/*レスポンシブ*/
/****************************/
@media screen and (max-width: 1279px) {
    .items .item {
        width: calc((100% / 3) - 40px);
        margin: 0 20px 50px;
    }
    .cover .photo {
        margin-left: 40px;
    }
}

@media screen and (max-width: 979px) {
    .items .item {
        width: calc((100% / 3) - 30px);
        margin: 0 15px 50px;
    }
    .items .txt {
        padding: 15px;
    }

    .cover {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
        flex-direction: column;   
    }
    .cover .photo {
        width: 100%;
        margin: 0 auto;
    }
    .cover .txt {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 779px) {

    .bg-slideshow {
        height: 380px;
    }

    #senior {
        padding-bottom: 70px;
    }
    .items .item {
        width: calc((100% / 2) - 40px);
        margin: 0 20px 40px;
    }
    .message {
        padding: 30px 0 50px;
    }

}

@media screen and (max-width: 579px) {
    #senior {
        padding-bottom: 50px;
    }

    .items {
        flex-direction: column;
    }
    .items .item {
        width: 100%;
        margin: 0 auto 15px;
        padding: 0 10px 15px;
        background: url("../img/dot.png") repeat-x center bottom;
    }
    .items .item a {
        display: flex;
        flex-wrap: wrap;
    }
    .items .photo {
        width: 120px;
        margin-right: 20px;
        margin-bottom: 0;
    }
    .items .photo img {
        border-radius: 5px;
    }
    .items .txt {
        flex: 1;
        max-width: auto;
        border-radius: 0;
        margin-top: 0;
        position: static;
        padding: 0;
        color: #000;
        background-color: transparent;
        backdrop-filter: blur(10px);
    }
    .items .txt dl {
        margin-top: 10px;
    }
}

@media screen and (max-width: 379px) {


}

