@charset "utf-8";
/*--京staff.css--*/
/* ##########PC########## */
.contents{
    z-index: unset;
}

.page_detail_box .box_inner{
    margin: 0;
}

.staff_box{}

.staff_box .box_inner ul{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.staff_box .box_inner ul li{
    width: calc((100% - 1.2rem) / 2);
}

.staff_box .box_inner ul li label{
    box-sizing: border-box;
    border: 1px solid #2d2561;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    /*border-radius: 0.7rem;*/
    line-height: 1.5;
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.15);
    /*background: #f2efff;*/
    background: #fff;
    transition: .3s all ease;
}

.staff_box .box_inner ul li label:hover{
    /*box-shadow:none;
    transform: translate(2px,2px);*/
    /*color: #fff;
    background: #2d2561;*/
    transform: translateY(-4px);
}

.staff_box .box_inner ul li label .s_position_name{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
}

.staff_box .box_inner ul li label .s_position{
    min-width: 13rem;
    max-width: 14rem;
    margin-right: 0.5rem;
}

.staff_box .box_inner ul li label .s_name{
    width: 10rem;
}

.staff_box .box_inner ul li label .s_name .name{
    font-size: 1.1rem;
    font-weight: 600;
}

.staff_box .box_inner ul li label .s_photo{
    width: 6rem;
    margin-left: auto;
    overflow: hidden;
    border-radius: 50%;
}

.staff_box .box_inner ul li label .s_photo img{
    max-width: 100%;
    height: auto;
}


/*
.staff_box table tr{
    background: #ffffea;
}

.staff_box table tr:nth-child(even){
    background: #fff;
}

.staff_box table tbody td{
    background: none;
    border-bottom: none;
    vertical-align: middle;
    border-right: none;
    line-height: 1.5;
}

.staff_box table tbody td img{
    max-width: 3.75rem;
}

.staff_box table tbody td.s_photo{
    text-align: right;
}

.staff_box table tbody td.s_name{
    position: relative;
}

.staff_box table tbody td.s_name::before{
    content:"";
    width: 1px;
    height: 2rem;
    border-right: 1px dotted #bbb;
    position: absolute;
    top: calc(50% - 1rem);
    left: 0;
}
*/

/*popup template design*/
.popup-background{
  /*position size*/
  position: fixed;
  z-index : 100;
  top : 0;
  left : 0;
  height : 100vh;
  width : 100vw;

  /*design*/
  background-color: gray;
  opacity : 0.5
}
.popup{
  /*position size*/
  --height : 70vh;
  --width : 65.625rem;
  z-index : 101;
  position: fixed;
  top : calc(50vh - calc(var(--height) / 2));
  left : calc(50vw - calc(var(--width) / 2));
  height : var(--height);
  width : var(--width);
  max-width: 90vw;

  /*design*/
  overflow : hidden;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 3px 1px gray;
}
.popup > .close-button{
  /*position size*/
  --size : 1.25rem;
  position:absolute;
  top : calc(var(--size)/2);
  left : calc(var(--width) - var(--size) * 5/3);/*css variables are available in children*/
  height : var(--size);
  width : var(--size);

  /*design*/
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color : gray;
  font-size: var(--size);
  border-radius: calc(var(--size)/5);
  cursor: pointer;
}
.popup > .close-button:hover{
  /*design*/
  background-color: red;
  color : white;
}
.popup > .content{
    box-sizing: border-box;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.popup > .content .staff_name{
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 1em 0;
    font-size: 1.4em;
    padding: 0 0.3em 0.3em 0.3em;
    text-align: left;
    display: block;
    border-bottom: 2px solid #2a275e;
    line-height: 1.5;
    font-weight: 600;
}

.popup > .content .staff_detail{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0 1rem;
    overflow-y: auto;
}

.popup > .content .staff_detail .ryakureki_ttl{
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.popup > .content .staff_detail table{
    width: 100%;
    margin: 1em 0;
    line-height: 1.6;
    border-collapse: separate;
}

.popup > .content .staff_detail table th{
    min-width: 6rem;
    padding: 0.5rem 1rem;
    background: #d4d4df;
    border-bottom: 1px solid #2d2561;
}

.popup > .content .staff_detail table td{
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #2d2561;
}


/*hide popup*/
.popup-flag{
  display: none;
}
.popup-flag:not(:checked) + .popup-background{
  display:none;
}
.popup-flag:not(:checked) + * + .popup{
  display:none;
}


@media screen and (min-width:1px) and (max-width:1400px) {
}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px){


}
/* ##########SP横向き########## */
@media screen and (min-width:1px) and (max-width:768px) {

}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
    /*
    .staff_box table tbody tr{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 1rem;
    }

    .staff_box table tbody td{
        box-sizing: border-box;
        display: block;
        padding: 0;
    }

    .staff_box table tbody td.s_position{
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .staff_box table tbody td.s_photo{
        margin-right: 0.5rem;
    }

    .staff_box table tbody td.s_name{
        flex: 1;
    }

    .staff_box table tbody td.s_name::before{
        display: none;
    }
    */

    .staff_box .box_inner ul li{
        width: 100%;
    }

    .staff_box .box_inner ul li label .s_position_name{
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .staff_box .box_inner ul li label .s_position{
        min-width: unset;
        max-width: unset;
        margin-right: 0;
    }

    .popup{
    /*position size*/
    --height : 70vh;
    --width : 90vw;
    z-index : 101;
    position: fixed;
    top : calc(50vh - calc(var(--height) / 2));
    left : calc(50vw - calc(var(--width) / 2));
    height : var(--height);
    width : var(--width);
    max-width: 90vw;

    /*design*/
    overflow : hidden;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 3px 1px gray;
    }
    .popup > .content .staff_detail{
        padding: 0 0.5rem;
    }

    .popup > .content .staff_detail table{
        margin: 0.5em 0;
    }

    .popup > .content .staff_detail table th{
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .popup > .content .staff_detail table td{
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}


/* ##########印刷用########## */
@media print{

}