@charset "utf-8";



/* ------- WORKFILE ---------------------------------------------- */
.page-workfile:before{
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: -1;
}
@media print, screen and (min-width:781px) {
  .page-workfile:before{
    background-image: url("../img/bg_main_pc.jpg");
  }
}
@media screen and (max-width: 780px) {
  .page-workfile:before{
    background-image: url("../img/bg_main_sp.jpg");
  }
}



.workfile-list-item > a{
  display: flex;
  flex-direction: column;
}
.workfile-list-item .image-box{
  position: relative;
  z-index: 1;
}
.workfile-list-item .image-box .image{
  overflow: hidden;
  position: relative;
}
.workfile-list-item .image-box .image:before{
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: 1s cubic-bezier(0.215, 0.61,  0.355, 1);
}
@media (hover: hover) and (pointer: fine){
  .workfile-list-item a:hover .image-box .image:before{
    transform: scale(1.05);
  }
}

.workfile-list-item .detail{
  background-color: #FFF;
  color: #100F63;
  position: relative;
  z-index: 2;
}
.workfile-list-item .detail > h2{
  letter-spacing: .08em;
  line-height: 1.25;
}
@media print, screen and (min-width:781px) {
  .workfile-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 385px;
    padding-bottom: 245px;
    margin-top: 145px;
  }
  .workfile-list-item{
    width: 46.875%;
  }
  .workfile-list-item:nth-child(odd){
    margin-top: -385px;
  }
  .workfile-list-item:nth-child(even){
    margin-top: 80px;
  }
  .workfile-list-item > a{
    align-items: flex-start;
  }
  .workfile-list-item .image-box{
    margin-left: auto;
    width: 83.333%;
  }
  .workfile-list-item .image-box .image{
    padding-bottom: 138%;
  }
  .workfile-list-item .detail{
    padding: 30px;
    margin-top: -175px;
  }
  .workfile-list-item .detail > h2{
    font-size: min(2.083vw,4.0rem);
  }
  .workfile-list-item .detail > .department{
    font-size: min(0.833vw,1.6rem);
    margin: 15px 0 10px;
  }
  .workfile-list-item .detail > .profile{
    font-size: min(0.833vw,1.6rem);
    display: flex;
    align-items: center;
  }
  .workfile-list-item .detail > .profile > span{
    font-size: min(1.25vw,2.4rem);
    margin-right: 15px;
  }
  
  #workfile-list-item6{
    width: 100%;
  }
  #workfile-list-item6 .image-box{
    width: 92.1875%;
  }
  #workfile-list-item6 .image-box .image{
    padding-bottom: 49.152%;
  }
  #workfile-list-item6 .detail{
    margin-top: -90px;
  }
  #workfile-list-item1 .image:before {
    background-image: url("../img/img_workfile1_pc.jpg");
  }
  #workfile-list-item2 .image:before {
    background-image: url("../img/img_workfile2_pc.jpg");
  }
  #workfile-list-item3 .image:before {
    background-image: url("../img/img_workfile3_pc.jpg");
  }
  #workfile-list-item4 .image:before {
    background-image: url("../img/img_workfile4_pc.jpg");
  }
  #workfile-list-item5 .image:before {
    background-image: url("../img/img_workfile5_pc.jpg");
  }
  #workfile-list-item6 .image:before {
    background-image: url("../img/img_workfile6_pc.jpg");
  }
}
@media screen and (max-width: 780px) {
  .workfile-list{
    padding: 0 20px 100px;
    margin-top: 60px;
  }
  .workfile-list-item{
    margin-top: 30px;
  }
  .workfile-list-item > a{
    display: block;
  }
  .workfile-list-item .image-box{
    width: 100%;
  }
  .workfile-list-item .image-box .image{
    padding-bottom: 88.57%;
  }
  .workfile-list-item .detail{
    padding: 20px;
    margin: -30px 20px 0;
  }
  .workfile-list-item .detail > h2{
    font-size: min(7.17vw,2.8rem);
  }
  .workfile-list-item .detail > .department{
    font-size: min(3.58vw,1.4rem);
    margin: 15px 0 10px;
  }
  .workfile-list-item .detail > .profile{
    font-size: min(3.33vw,1.3rem);
    display: flex;
    align-items: center;
  }
  .workfile-list-item .detail > .profile > span{
    font-size: min(5.12vw,2.0rem);
    margin-right: 15px;
  }
  #workfile-list-item1 .image:before {
    background-image: url("../img/img_workfile1_sp.jpg");
  }
  #workfile-list-item2 .image:before {
    background-image: url("../img/img_workfile2_sp.jpg");
  }
  #workfile-list-item3 .image:before {
    background-image: url("../img/img_workfile3_sp.jpg");
  }
  #workfile-list-item4 .image:before {
    background-image: url("../img/img_workfile4_sp.jpg");
  }
  #workfile-list-item5 .image:before {
    background-image: url("../img/img_workfile5_sp.jpg");
  }
  #workfile-list-item6 .image:before {
    background-image: url("../img/img_workfile6_sp.jpg");
  }
}



@media print, screen and (min-width:781px) {
}
@media screen and (max-width: 780px) {
}



@media print, screen and (min-width:781px) {
}
@media screen and (max-width: 780px) {
}



@media print, screen and (min-width:781px) {
}
@media screen and (max-width: 780px) {
}
