@charset "UTF-8";

.h2box h2 {
    background-image: url(../img/staff/h2bg.jpg);
}

.headText {
    font-size: 16px;
    text-align: center;
    margin-bottom: 32px;
}

.interestUL {
    width: 100%;
    max-width: 528px;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    color: #FFF;
    margin: 0 auto 64px;
}

.interestUL li {
    width: 208px;
}

.interestUL li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 5px 0;
    color: #fff;
    border-radius: 22px;
    position: relative;
}

.interestUL li:nth-of-type(1) a {
    border: 2px solid #2EA7E0;
    background-color: #2EA7E0;
}

.interestUL li:nth-of-type(2) a {
    border: 2px solid #E4007F;
    background-color: #E4007F;
}

.interestUL li a:hover {
    background-color: #fff;
}

.interestUL li:nth-of-type(1) a:hover {
    color: #2EA7E0;
}

.interestUL li:nth-of-type(2) a:hover {
    color: #E4007F;
}

.interestUL li a::before {
    content: "";
    display: block;
    position: absolute;
    background-repeat: no-repeat;
}

.interestUL li:nth-of-type(1) a::before {
    top: -22px;
    right: -14px;
    width: 58px;
    height: 58px;
    background-image: url(../img/common/pikaKun_hat_k.svg);
}

.interestUL li:nth-of-type(2) a::before {
    top: -18px;
    right: -24px;
    width: 40px;
    height: 50px;
    background-image: url(../img/common/building.svg);
}

.staffList .inner {
    max-width: 900px;
    width: 100%;
    padding: 0 16px;
}

.staffList .inner.managers {
    display: flex;
    justify-content: space-around;
    margin-bottom: 32px;
}

.staffList .inner.managers dl {
    width: 260px;
}

.staffList .inner.staff {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, 160px);
    grid-column-gap: 128px;
    grid-row-gap: 32px;
    margin-bottom: 64px;
}

.staffList .inner.staff dl {
    width: 100%;
}

.staffList .inner.staff dl img {
    width: 160px;
}

.staffList dt {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
    margin-bottom: 8px;
}

.staffList dt img,
.staffList dt .noImage {
    margin-bottom: 10px;
}

.staffList dt .noImage {
    display: block;
    width: 160px;
    height: 160px;
    background-color: #FFD900;
    background-image: url(../img/common/pikaKun_Y.svg);
    background-repeat: no-repeat;
    background-size: 80px;
    background-position: center;
}

.staffList dt .positions li{
    font-size: 10px;
    text-align: center;
    display: block;
    margin-bottom: 4px;
    border-radius: 8px;
}

.staffList dt .positions .title {
    color: #fff;
    padding: 0 8px;
}

.staffList dt .positions .title.manager {
    width: 64px;
    color: #000;
    background-color: #FFD900;
}
.staffList dt .positions .title.art_educator {
    background-color: #f39bc1;
}
.staffList dt .positions .title.assistant_educator {
    background-color: #68c3ed;
}

.staffList dd {
    font-size: 12px;
}

.hiramkilink:hover {
    opacity: 0.7;
}

@media screen and (max-width: 1440px) {
    main .staffList .inner {
        width: calc(100% - 132px);
    }
}

@media screen and (max-width:767px) {
    .headText {
        padding: 0 16px;
        text-align: left;
    }

    main .staffList .inner {
        width: 100%;
    }

    .staffList .inner.managers {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width:582px) {
    .interestUL {
        flex-direction: column;
        align-items: center;
    }

    .interestUL li:first-of-type {
        margin-bottom: 16px;
    }
}

@media screen and (max-width:480px) {
    .staffList .inner.staff {
        display: block;
    }

    .staffList .inner.staff dl {
        margin-bottom: 48px;
    }

    .staffList dt {
        margin-bottom: 0;
    }
}
