@charset "utf-8";
/*Keyvisual_01******************/
.Keyvisual_01.department01{
    background-image: image-set(url(../images/department01/Department01-key-img.jpg) 1x, url(../images/department01/Department01-key-img@2x.jpg) 2x);
    background-image: -webkit-image-set(url(../images/department01/Department01-key-img.jpg) 1x, url(../images/department01/Department01-key-img@2x.jpg) 2x);
}
.Keyvisual_01.department02{
    background-image: image-set(url(../images/department02/Department02-key-img.jpg) 1x, url(../images/department02/Department02-key-img@2x.jpg) 2x);
    background-image: -webkit-image-set(url(../images/department02/Department02-key-img.jpg) 1x, url(../images/department02/Department02-key-img@2x.jpg) 2x);
}
/*Map******************/
.Map{
    position: relative;
}
.Map::before{
   content: "";
   width: 100vw;
   height: 30rem;
   background-color: #fff;
   position: absolute;
   top: 0;
   left: 0;
}
.Map-block-wrap {
    width: 80%;
    margin: 0 auto;
}
/*Department******************/
.Department1 .Department:nth-child(even){
    background-color: #fff;
}
.Department2 .Department:nth-child(odd){
    background-color: #fff;
}
.Department-block__title{  
    margin-bottom: 13rem;
    font-size: 3.6rem;
    font-weight: 600;
    line-height: 1;
    position: relative;
    z-index: 6000;
}
.Department-block__title::before {
    content: "";
    width:100vw ;
    height: 5px;
    background: var(--maincolor);
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -3.4rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.Department-block__inner{
    margin-bottom: 7rem;
}
.Department-wrap_img{
    width: 50%;
}
.Department-wrap_txt{
   width: 50%;
   padding-left: 7.6rem;
}
.Department_dl{
    padding-top:3rem;
    padding-bottom:3rem;
    border-bottom: 1px solid #707070;
}
.Department_dl:first-child{
    border-top: 1px solid #707070;
}
.Department_dt{
    width: 12rem;
}
.Department_dd{
    width: calc(100% - 12rem);
    line-height: 1.5;
}
.Department_dd.-Biko{
    width: 100%;
}
.Department_dd .biko{
    font-size: 1.6rem;
    display: inline-block;
}
.Department-wrap_map iframe{
    width: 100%;
    height: 60rem;
} 
.Department-block__item-image{
    width: 100%;
    display: block;
    overflow: hidden;
}
.Department-wrap_img a .Department-block__item-image{
    transition: var(--transition);
}
.Department-wrap_img a{
    opacity: 1 !important;
}
.Department-wrap_img a:hover .Department-block__item-image img{
    transform: scale(1.1);
    transition: var(--transition);
    width: 100%;
    cursor: pointer;
}
.Department-wrap_map {
    margin-bottom: 0.5rem;
}
.Department-wrap_link{
    display: flex;
    justify-content: flex-end;
}
.Department-wrap_link a{
    color: var(--maincolor);
    font-size: 2.8rem;
    margin-right: 5rem;
    position: relative;
    font-weight: 700;
}
.Department-wrap_link a::after{
    content: "";
    width: 4.1rem;
    height: 4.1rem;
    position: absolute;
    top: 50%;
    right: -5rem;
    transform: translateY(-50%);
    background-image: image-set(url(../images/common/Department01-icon.png) 1x, url(../images/common/Department01-icon@2x.png) 2x);
    background-image: -webkit-image-set(url(../images/common/Department01-icon.png) 1x, url(../images/common/Department01-icon@2x.png) 2x);
}
/*ポッアップ*/
.lity-content,
.lity-iframe-container iframe,
.lity-content:after{
    -webkit-box-shadow:none;
    box-shadow:none;
}
.lity-close {
    display: none;
}
.Department-popup__inner{
    position: relative;
}
.Department-popup__close_wrap{
    position: absolute;
    top: -7rem;
    right: 2rem;
}
.lity.lity-opened{
    background: rgba(29, 34, 95, 0.5);
}
.Department-popup__close{
    position: relative;
    width: 6.7rem;
    height: 6.7rem;
    cursor: pointer;
}
.Department-popup__close::before,
.Department-popup__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6.7rem;
    height: 8px; 
    background-color: var(--maincolor);
    transform-origin: center;
}
.Department-popup__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.Department-popup__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.Department-popup_wrap{
    background-color: #fff;
        padding: 7rem 8.5rem;
    height: 75rem;
    overflow-y: scroll;
}
.Department-popup__wrap{
    margin-bottom: 6rem;
}
.Department-popup-wrap_img{
    width: 50%;
}
.Department-popup-wrap_txt{
    width: 50%;
    padding-left: 6rem;
}
.Department-popup_title{
    font-size: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--maincolor);
    margin-bottom: 4rem;
    font-weight: 700;
}
.Department-popup_item-title{
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
}
.Department-popup__item-image{
    margin-bottom: 2rem;
}
.Department-popup_item-title{
    margin-bottom: 2rem;
}
/*3column*/
.Department-popup__wrap2.-three .Department-popup__item{
    width: calc((100% - 10rem) / 3);
    margin-right: 5rem;
    margin-bottom: 6rem;
}
.Department-popup__wrap2.-three .Department-popup__item:nth-child(3n){
    margin-right: 0;
}
.Department-popup__wrap.-three .Department-popup__item:nth-last-child(-n+3){
    margin-bottom: 0;
}
/*3column*/
.Department-popup__wrap2.-two .Department-popup__item{
    width: calc((100% - 5rem) / 2);
    margin-right: 5rem;
    margin-bottom: 6rem;
}
.Department-popup__wrap2.-two .Department-popup__item:nth-child(2n){
    margin-right: 0;
}
.Department-popup__wrap.-two .Department-popup__item:nth-last-child(-n+2){
    margin-bottom: 0;
}
/*スクロール*/

@media screen and (max-width:1240px) and (min-width: 769px){

}
@media screen and (max-width:960px) and (min-width: 769px){

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

}
/*-------------------------------
SP
-------------------------------*/
@media screen and (max-width:769px) , print{
    /*Keyvisual_01******************/
    .Keyvisual_01.department01{
        background-image: image-set(url(../images/department01/Department01-key-img-sp.jpg) 1x, url(../images/department01/Department01-key-img-sp@2x.jpg) 2x);
        background-image: -webkit-image-set(url(../images/department01/Department01-key-img-sp.jpg) 1x, url(../images/department01/Department01-key-img-sp@2x.jpg) 2x);
    }
    .Keyvisual_01.department02{
        background-image: image-set(url(../images/department02/Department02-key-img-sp.jpg) 1x, url(../images/department02/Department02-key-img-sp@2x.jpg) 2x);
        background-image: -webkit-image-set(url(../images/department02/Department02-key-img-sp.jpg) 1x, url(../images/department02/Department02-key-img-sp@2x.jpg) 2x);
    }
    .Keyvisual_01 .K-Title{
        max-width: 34.5rem;
    }
    /*Map******************/
    .Map{
        position: relative;
    }
    .Map::before{
        content: "";
        width: 100vw;
        height: 28rem;
    }
    .Map-block-wrap {
        width: 100%;
        margin: 0 auto;
    }
    /*Department******************/
    .Department-block__title::before {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    .Department-wrap_img{
        width: 100%;
        margin-bottom: 4rem;
    }
    .Department-wrap_txt{
        width: 100%;
        padding-left:0;
        padding-right:0;
    }
    .Department_dt{
        width: 13.4rem;
        font-size: 2.8rem;
    }
    .Department_dd{
        width: calc(100% - 13.4rem);
        font-size: 2.8rem;
    }
    .Department_dd .biko{
        font-size: 2.4rem;
    }
    .Department-wrap_map iframe{
        width: 100%;
        height: 40rem;
    } 
    .Department-wrap_link a::after{  
        background-size: cover;
    }
    /*ポッアップ*/
    .Department-popup__close_wrap{
        top: -10rem;
        right: 7rem;
    }
    .Department-popup__close::before,
    .Department-popup__close::after {
        width: 7rem;
        height: 0.8rem;    
    }
    .Department-popup_wrap{   
        padding: 4rem 7.4rem;
    }
    .Department-popup__wrap{
        flex-direction: column-reverse;
        position: relative;
    }
    .Department-popup-wrap_img{
        width: 100%;
        position: absolute;
        top: 15rem;
    }
    .Department-popup-wrap_txt{
        width: 100%;
        padding-left: 0;
    }
    .Department-popup_title{
        margin-bottom: 38rem;
    }
    /*3column*/
    .Department-popup__wrap2.-three .Department-popup__item{
        width: 100%;
        margin-right: 0;
    }
      .Department-popup__wrap2.-three .Department-popup__item:nth-last-child{
        margin-bottom: 0;
    }
    .Department-popup__wrap2.-three .Department-popup__item:nth-child(3n){
        margin-right: 0;
    }
    .Department-popup__wrap.-three .Department-popup__item:nth-last-child(-n+3){
        margin-bottom: 0;
    }
    /*3column*/
    .Department-popup__wrap2.-two .Department-popup__item{
        width: 100%;
         margin-right: 0;
    }
    .Department-popup__wrap2.-two .Department-popup__item:nth-child(2n){
        margin-right: 0;
    }
    .Department-popup__wrap.-two .Department-popup__item:nth-last-child(-n+2){
        margin-bottom: 0;
    }
}