@charset "utf-8";

/*-----------------------------------------------------------
	Students detail
-----------------------------------------------------------*/
.page-header .subpage-mv:before {
	background-image: url('/students/images/mv.jpg');
}

/* SP */
@media screen and (max-width: 768px) {
	.page-header .subpage-mv:before {
		background-image: url('/students/images/mv_sp.jpg');
	}
}

.student-profile-wrapper{
  width: 1138px;
  height: 320px;
  margin: 0 auto;
  position: relative;
}
.student-profile{
  border: 1px solid #761d3d;
  width: 800px;
  box-sizing: border-box;
  padding: 40px 70px 30px;
  position: absolute;
  top:60px;
}

.student-profile-txt{
  display: flex;
  width: 400px;
  flex-wrap: wrap;
  align-items: baseline;
}
.student-profile-txt h2{
  margin: 0;
  font-weight: normal;
}
.student-profile-txt h2 span{
  font-size: 1.5rem;
}
.student-profile-txt .f-futura{
  color: #761d3d;
  font-size: 1.125rem;
  font-weight: normal;
  letter-spacing: 1px;
}
.student-profile-wrapper .list-style-line{
  display: none;
  width: 70%;
}
.student-profile-wrapper .list-style-line li:before {
  top: 13px;
}
.student-career{
  margin:0 10px;
}
.student-photo{
  position: absolute;
  top:0;
  right: 0;
}
.student-photo img{
  width: auto;
  height: 350px;
}
.student-detail-txt{
  width: 950px;
  margin: 60px auto 80px;
}
.student-detail-txt dl{
  margin-bottom:45px;
}
.student-detail-txt dt{
  font-size: 1.25rem;
  font-weight: normal;
}

.student-detail-txt dd{
  font-size: 0.9375rem;
  font-weight: normal;
  margin:0;
  line-height: 2;
}



.students-thumbnail{
  background-color: #f0efde;
  padding: 60px 0 45px;
}

.students-thumbnail ul{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  width: 1000px;
  padding: 20px 0;
  margin: 0 auto;
  position: relative;
}
.students-thumbnail ul::after{
  display: block;
  content: '';
  height: 1px;
  width: 94%;
  margin: 0 auto;
  position: absolute;
  top: calc(50% - 5px);
  background-color: #fff;
  z-index: 1;
}

.students-thumbnail li{
  position: relative;
  min-width: 190px;
  text-align: center;
}
.students-thumbnail li:nth-child(5){
  margin-bottom: 72px;
}
.students-thumbnail ul li p{
  text-align: center;
  font-size: 1.125rem;
  margin: 10px 0;
}
@media only screen and (min-width: 769px) {
  .students-thumbnail ul li p img {
    width: auto;
    height: 180px;
  }
}
.students-thumbnail ul li span{
  font-size: 0.875rem;
}
.students-thumbnail li a{
  position: absolute;
  display: block;
  width: 100%;
  height: 180px;
  top:0;
}
.students-thumbnail ul li:hover{
  opacity: 0.7;
  transition: 0.3s ease-in;
}

@media screen and (max-width: 768px) {
  .list-style-line li + li {
    margin-top: 5px;
  }
  .student-profile-wrapper{
    width: 100%;
    height: 200px;
    margin: 20px auto 0;
    position: relative;
  }
  .student-profile {
    border: 1px solid #761d3d;
    width: 90%;
    box-sizing: border-box;
    padding: 30px 30px 35px;
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%)
  }
  .student-photo img{
    height: 175px;
  }
  .student-profile-txt{
    flex-direction: column;
    width: 60%;
  }
  .student-profile-txt h2{
    font-size: 1.375rem;
  }
  .student-profile-txt h2 span{
    font-size: 1rem;
  }
  .student-profile-txt .f-futura{
    margin-bottom: 0;
    margin-top: -5px;
    font-size:0.8125rem;
  }
  .student-profile-txt .student-career{
    order: 3;
    margin: 0;
    font-size: 0.75rem;
  }
  
  .student-profile .list-style-line{
    font-size: 0.9375rem;
    width: 100%;
  }
  .student-detail-txt {
    width: 89%;
    margin: 0 auto 40px;
  }
  .student-detail-txt dt {
    font-size: 1rem;
    font-weight: normal;
  }
  .student-detail-txt dd {
    font-size: 0.9375rem;
    font-weight: normal;
    margin: 5px 0 0 0;
    line-height: 1.7;
  }
  .student-detail-txt dl {
    margin-bottom: 20px;
  }
  .students-thumbnail{
    padding: 20px 0;
  }

  .students-thumbnail ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    width: 90%;
    margin: 0 auto;
  }
  .students-thumbnail ul::after{
    display: none;
  }
  .students-thumbnail li{
    display: flex;
    width: 50%;
    min-width: 0px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #fff;
  }
  .students-thumbnail ul li p{
    text-align: left;
    font-size: 0.9375rem;
    margin: 10px 0 10px 10px;
    width: auto;
  }
  .students-thumbnail ul li p span{
    font-size: 0.75rem;
  }
  
  .students-thumbnail li:nth-child(5){
    margin-bottom: 0;
  }
  .students-thumbnail li:nth-last-child(-n+2) {
    border-bottom: 0;
  }
  .students-thumbnail ul li img{
    display: flex;
    width: 56px;
    align-items: center;
  }
  .students-thumbnail li a{
    height: 100%;
  }
}
