@charset "utf-8";


/*--------------------------------------------------------------------------
   Overwright
---------------------------------------------------------------------------*/
.page-ttl{
  background:url(../image/img_kv_pc.jpg) no-repeat center center;
  background-size: cover;  
}
.page-ttl h1:lang(en) {
  padding: 20px 10px 15px;
}


/*--------------------------------------------------------------------------
   Content
---------------------------------------------------------------------------*/


/* department
-----------------------------------------------------------------*/
/* .department:nth-of-type(1){
  background: url(../image/bg_content_pc.svg) bottom center no-repeat,#fff;
  background-size: 100%;
}
.department:nth-of-type(2){
  background: url(../image/bg_content2_pc.svg) bottom center no-repeat,#fff;
  background-size: 100%;
} */
.department_wrap{
  background: url(../image/bg_content_pc.svg) bottom center no-repeat,#fff !important;
  background-size: cover;
}
.department:nth-of-type(2){padding-top: 0;}
.department h2{
  margin-bottom: 25px;
  padding: 5px 15px 7px;
  border-radius: 3px;
  font-size: 2.2rem;
    text-align: center;
    position: relative;
    left: 0%;
    transform: translate(0);
    color: #fff;
    display: table;
    margin: auto;
    min-width: 400px;
}
.department h2::before{
  content: "";
    display: block;
    position: absolute;
    border-style: solid;
    border-width: 15px 20px 0 20px;
    bottom: -15px;
    left: 50%;
    transform: translate(-50%,0);
}
.department:nth-of-type(1) h2{background-color: #F55267;}
.department:nth-of-type(1) h2::before{border-color: #f55267 transparent transparent transparent;}
.department:nth-of-type(2) h2{background-color: #f7c409;}
.department:nth-of-type(2) h2::before{border-color: #f7c409 transparent transparent transparent;}
.department .department-list{
  display: flex;
  margin-top: 50px;
  justify-content: space-between;
}
.department-list li{
  max-width: 440px;
  width: calc((100% - 30px)/3);  
}
.department-list a{
  display: block;
  position: relative;
}
.department-list .category{
  padding: 8px 14px 10px;
  background: #f55267;
  border-radius: 4px;
  color: #fff;
  line-height: 1;
  word-break: keep-all;
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
}
.department-list .pic{
  overflow:hidden;  
}
.department-list .pic img{
  transition:.5s;  
}
.department-list a:hover .pic img{
  transform: scale(1.1,1.1);
}
.department-list .txt-area{
  position: relative;
  z-index:5;
  max-width: 380px; 
  width: 86.4%;
  padding: 25px 15px;
  margin: -40px auto 0;
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,.08);
  text-align:center;
}
.department-list .txt-area h3{
  margin-bottom: 25px;
  line-height:1;
  font-size: 2.4rem;
}
.department-list .txt-area .btn-detail{
  max-width: 280px;
  margin: 0 auto;
  padding: 12px 10px 14px;
  border-radius: 25px;
  background:url(../../common/image/arw_btn_circle.svg) no-repeat right 20px center,#f55267;
  background-size: 20px auto;
  line-height: 1;
  color: #FFF;
  transition: .4s;
}
.department:nth-of-type(2) .department-list .txt-area .btn-detail{
  background:url(../../common/image/arw_btn_circle.svg) no-repeat right 20px center,#f7c409;
}
.department-list .txt-area .btn-detail:hover{
  opacity: .7;
}
.department-list .txt-area .btn-detail a{
  color: #FFF;
}



/* department
-----------------------------------------------------------------*/
.department{
  padding: 50px 0 100px;  
}
.department .txt-lead{
  margin-bottom: 25px;
  text-align: center;
  font-size: 2.8rem;
  line-height: 1.5;
  font-weight: 600;
  color: #F55267;  
}
.department .txt-lead + .txt{
  margin-bottom: 50px;
  font-size: 1.8rem;
  text-align:center  
}


/*--------------------------------------------------------------------------
   mobile
---------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .page-ttl{
    background:url(../image/img_kv_sp.jpg) no-repeat center center;
    background-size: cover;  
  }    
  .department .txt-lead {
    font-size: 1.8rem;
  }
  .department .txt-lead + .txt {
    font-size: 1.4rem;
  }


/* department
-----------------------------------------------------------------*/
/* .department:nth-of-type(1){
    background: url(../image/bg_content_sp.svg) top 120% center no-repeat,#fff;
    background-size: 100%;
  }
  .department:nth-of-type(2){
    background: url(../image/bg_content2_sp.svg) top 80% center no-repeat,#fff;
    background-size: 100%;
  } */
  .department_wrap{
    background: url(../image/bg_content_sp.svg) top 100% center no-repeat,#fff !important;
    background-size: 100%;
  }
  .department h2{
    font-size: 1.8rem;
    letter-spacing: .1rem;
    margin-bottom: 8%;
    width: 100%;
    min-width: inherit;
  }
  .department{
    padding: 50px 0;  
  }
  .department .sec-ttl + .txt{
    margin-bottom: 25px;
  }
  .department .department-list{
    display: block;
    margin-top: 0;
  }
  .department-list li{
    max-width: none;
    width: 100%;  
  }
  .department-list li:nth-child(n+2){
    margin-top: 40px; 
  }
  .department-list .category{
    margin-bottom: 25px;
    padding: 10px 14px 12px;
    border-radius: 4px;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
    left: 0%;
    transform: translate(0);
  }
  .department-list .category::before{
    content:"";
    display: block;
    position: absolute;
    border-style: solid;
    border-width: 15px 20px 0 20px;
    border-color: #f55267 transparent transparent transparent;
    bottom: -15px;
    left: 50%;
    transform: translate(-50%,0);
  }
  .department-list a:hover .pic img{
    transform: none;
  }
  .department-list .txt-area{
    max-width: none; 
    width: auto;
    padding: 20px 15px;
    margin: -40px 15px 0;
  }
  .department-list .txt-area h3{
    margin-bottom: 20px;
    font-size: 2.2rem;
  }
  .department-list .txt-area .btn-detail{
    background:url(../../common/image/arw_btn_circle.svg) no-repeat right 20px center,#f55267;
    background-size:18px auto;
  }

}



