@charset "utf-8";

/**********************************************/
/*修了生の声*/
/**********************************************/

/*プロフィール*/
.profile {}

/*左右の枠*/
.profile .profile-txt {
    flex: 1;
    margin: 0;
}
.profile .profile-photo {
    width: 100%;
    max-width: 300px;
    height: 220px;
    overflow: hidden;
    margin: 0;
}

/*氏名*/
.profile .fullname {
    font-size: clamp(1rem, 0.875rem + 0.63vw, 1.625rem);
    font-weight: bold;
}
.profile .fullname span {
    font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
    margin-left: 10px;
}

/*コース*/
.profile .course {
    font-size: clamp(0.875rem, 0.8rem + 0.38vw, 1.25rem);
}

/*卒業*/
.profile .graduation {}


/*写真*/
.profile figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/*------------------------------*/
/*修了生一覧*/
/*------------------------------*/
.voices {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 50px);
    margin-left: -50px;
}

.voices .profile {
   width: calc((100% / 3) - 50px);
   margin-left: 50px;
   margin-bottom: 50px;
   position: relative; /*PART配置用*/
}

.voices a {
    display: block;
    color: #000;
	overflow: hidden;
    text-decoration: none;
}
.voices a img {
	transition-duration: 0.3s;
}
.voices a:hover img {
	transform: scale(1.1);
	transition-duration: 0.5s;
	opacity: 0.8;
}

/*PART*/
.voices .vol {
    position:absolute;
    top: 0;
    left: 0;
    line-height: 100%;
    padding: 5px;
    /* background-color: rgb(255 255 255 / 0.8); */
    background-color: #000;
    color:#fff;
    font-weight: bold;
}

/*写真*/
.voices .profile-photo {
    margin: 0 0 10px 0;
    height: 200px;
}
.voices .profile-photo img {
    object-fit: cover;
}

/*テキスト*/
.voices .fullname {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    margin-bottom: 10px;
}
.voices .fullname span {
    font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem);
    font-weight: normal;
}
.voices .course {
    font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem);
}



/*------------------------------*/
/*記事ページ*/
/*------------------------------*/
.article {
    padding: 0px 20px;
}

.article .profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 30px;
    background-color: #f8f8f8;

       position: relative; /*PART配置用*/
}
.article .profile-txt {
    padding-left: 20px;
}
.article .fullname {
    margin-top: 10px;
}

.article .vol {
    position:absolute;
    top: 0;
    left: 0;
    line-height: 100%;
    padding: 7px 10px;
    background-color: #000;
    color:#fff;
    font-weight: bold;
    width: 200px;
    text-align: center;
}

/*リード文*/
.article .read {
    margin-bottom: 40px;
}
.article p {
    text-align: justify;
    text-indent: 1em;
}

/*掲載日*/
.article .issue {
    margin-top: 30px;
    text-align: right;
}

/*前のページ戻る*/
.pageback {
    margin-top: 30px;
    text-align: center;
}
.pageback a {
    font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem);
    background:url("../img/icon_arrow_w_l.png") no-repeat 10px center;
    background-size: 24px;

    padding: 5px 10px 5px 40px;
    border-radius: 50px;
    line-height: 100%;
    background-color: #000;
    color:#fff;
    text-decoration: none;
}


/****************************/
/*レスポンシブ*/
/****************************/
@media screen and (max-width: 1480px) {
}

@media screen and (max-width: 1280px) {
    .article {
        padding: 0;
    }
    .article .profile-photo {
        width: 40%;
    }
}

@media screen and (max-width: 980px) {
}

@media screen and (max-width: 780px) {
    .article .profile-txt {
        padding-left: 0;
    }
    .article .profile-photo {
        max-width: 300px;
        height: 180px;
    }

    
}

@media screen and (max-width: 680px) {
    .voices {
        width: calc(100% + 30px);
        margin-left: -30px;
    }
    .voices .profile {
        width: calc((100% / 2) - 30px);
        margin-left: 30px;
        margin-bottom: 50px;
     }

     .article .profile {
        padding: 10px 20px;
        margin-bottom: 30px;
     }
     .article .profile-photo {
        width: 200px;
        height: 150px;
    }
}

@media screen and (max-width: 580px) {
   
    .article .profile {
        flex-direction: column;
        align-items: self-start;
        margin-bottom: 20px;
        background-color: transparent;
        padding: 0;
    }
    .article .profile-photo {
        margin: 20px 0 0 0;
        width: 100%;
        height: 220px;
    }
    .article .fullname {
        margin-top: 5px;
    }
    .article .fullname span {
        display: inline;
        margin-left: 10px;
    }

    .article .vol {
        position:static;
        margin-bottom: 20px;
        width: 100px;
    }

}

@media screen and (max-width: 380px) {
    .voices {
        width: 100%;
        margin-left: 0;
    }
    .voices .profile {
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
        /* position: static; */
    }

    .voices a {
        display: flex;
        flex-wrap: wrap;
     }
     .voices .vol {
        position: static;
        top: auto;
        left: auto;
        padding: 10px 5px;
        background-color: transparent;
        color: #000;
        border-top: 1px #ddd solid;
    }

     .voices .profile-photo {
        width: 100px;
        margin: 0 10px 0 0;
        height: auto;
        max-height: 80px;
    }
    .voices .profile-photo img {
        object-fit: cover;
        object-fit:contain;
    }
    .voices .fullname {
        margin-bottom: 0;
    }
    .voices .fullname span { 
        display: block;
        margin: 0;
    }




    .pageback {
        text-align: center;
    }
    
}


