@charset "utf-8";
/* CSS Document */

.staff_main_lead{
    font-weight: bold;
  font-size: 2.0rem;
    padding:2em 0 0 0 ;
}

.iwa_staff_w {
    max-width: 1200px;
    margin: auto;
}
@media (max-width: 1250px) {
    .iwa_staff_w {
        max-width: 90%;
    }
}
/* スタッフリストのスタイル
-------------------------------------------------------------*/
.iwa_staff_list {
    display: flex;
    flex-wrap: wrap;
    gap: 1em 3%;
}
.iwa_staff_list > li {
    width: 22.7%;
}
.iwa_staff_list_inner {
    display: block;
}
.iwa_staff_list > li .iwa_staff_list_inner .staff_thum {
    overflow: hidden;
}
.iwa_staff_list_inner .staff_thum img {
    height: 32rem;
    width: 100%;
    aspect-ratio: 280/320;
    transition: 0.5s;
    object-fit: cover;
    object-position: center;
}
@media (min-width: 769px), print {
    .staff_thum_area:hover {
        cursor: pointer;
    }
    .staff_thum_area:hover img {
        transform: scale(1.2);
    }
}
@media (max-width: 1100px) {
    .iwa_staff_list > li {
        width: 31.3%;
    }
}
@media (max-width: 680px) {
    .iwa_staff_list > li {
        width: 48%;
        margin-bottom: 2em;
    }
}
/* カテゴリのスタイル
-------------------------------------------------------------*/
.staff_box {
    padding: 0 0 3em 0;
}
@media (max-width: 680px) {
    .staff_cate_title {
        font-size: 2.0rem;
    }
}
/* ライトボックス用のスタイル 
-------------------------------------------------------------*/
.iwa_staff_list_pop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.iwa_staff_list_pop.show {
    opacity: 1;
}
.iwa_staff_list_pop_w {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 0;
    width: 1000px;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 2em;
}
.iwa_staff_list_pop_pd {
    position: relative;
    overflow-y: auto;
    margin: auto;
    padding: 4em 0;
    height: 100%;
    width: 95%;
    display: flex;
    justify-content: space-between;
    gap: 0 5%;
}
/*スクロールバー削除*/
.iwa_staff_list_pop_pd {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.iwa_staff_list_pop_pd::-webkit-scrollbar {
    display: none;
}
@media (max-width: 1150px) {
    .iwa_staff_list_pop_w {
        width: 90%;
    }
}
@media (max-width: 680px) {
    .iwa_staff_list_pop_pd {
        display: block;
    }
}
.iwa_staff_list_pop_pd .img {
    width: 40%;
}
.iwa_staff_list_pop_pd .img img {
    width: 100%;
    aspect-ratio: 280/320;
    transition: 0.5s;
    object-fit: cover;
    object-position: center;
}
.iwa_staff_list_pop_pd .text_box {
    width: 60%;
}
@media (max-width: 680px) {
    .iwa_staff_list_pop_pd .img {
        width: auto;
    }
    .iwa_staff_list_pop_pd .text_box {
        width: auto;
        margin-top: 1em;
    }
}
/* 名前 */
.staff_name {
    margin-top: 0.5em;
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 1.5;
}
.staff_name span {
    font-size: 0.8em;
    display: block;
}
@media (max-width: 680px) {
    .staff_name {
        font-size: 1.6rem;
    }
}
/* staff_dl */
.staff_dl dl {
    display: flex;
    border-bottom: 1px solid #000;
    padding: 1em 0;
}
.staff_dl dt {
    font-weight: bold;
    width: 10em;
}
.staff_dl dd {
    width: calc(100% - 10em);
}
@media (max-width: 680px) {
    .staff_dl dl {
        display: block;
    }
    .staff_dl dt {
        font-size: 1.1em;
        margin-bottom: 0.5em;
        width: auto;
    }
    .staff_dl dd {
        width: auto;
    }
}
/* messe */
.messe {
    padding-top: 3em;
}
@media (max-width: 680px) {
    .messe {
        padding-top: 3em;
    }
}
/* staff_photo_list */
.staff_photo_list {
    padding-top: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
}
.staff_photo_list > li {
    width: 48%;
}
.staff_photo_list > li img {
    width: 100%;
}
.staff_close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1B9E3A;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    z-index: 1;
}
@media (min-width: 769px), print {
    .staff_close:hover {
        cursor: pointer;
        background: #555;
    }
}
@media (max-width: 680px) {
.iwa_staff_list_pop_pd {
    padding: 8em 0 4em 0;
}
.staff_close {
    top: 50px;
}
}
