@charset "utf-8";
/* ivents */

/* header */
.logo img {
    max-width: 40%;
}

.nav__item {
    color: var(--primary-black);
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.2rem;
}

.header {
    position: relative;
}

/* ivents */
.ivents h1 {
    margin-top: -30px;
}

.ivents__table {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 150px 5% 0;
}

.iventList {
    width: 76%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.iventList__item {
    width: 28%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.category {
    width: 16%;
    min-width: 140px;
    text-align: left;
    flex-shrink: 0;
}

.category__title,
.categoryItem {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 2.5;
    letter-spacing: 0.2rem;
}

.categoryItem {
    margin-top: 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.categoryItem::before {
    content: "";
    width: 20px;
    height: 20px;
    min-width: 20px;
    background-color: var(--primary-lightGrey);
    margin-right: 10px;
    flex-shrink: 0;
}

.categoryItem.is-active::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

.categoryItem a {
    color: var(--primary-black);
    text-decoration: none;
}

.categoryItem.is-active a {
    font-weight: 600;
}

.iventUp {
    font-family: "Times New Roman";
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2.5;
    letter-spacing: 0.2rem;
}

.iventTitle,
.iventPlace {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2.5;
    letter-spacing: 0.2;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 100px;
    gap: 10px;
}

.pagination__detail {
    color: #000;
    text-align: center;
    font-family: "Times New Roman";
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2.5;
    letter-spacing: 0.2;
}

/* ivents SP < 768 */
@media screen and (max-width: 768px) {
    .hamburger span {
        background-color: var(--primary-black);
    }

    .nav__item {
        color: white;
        font-weight: 400;
        letter-spacing: 0.4rem;
    }

    .ivents__table {
        flex-direction: column;
        margin-top: 40px;
    }

    .category {
        width: 100%;
    }

    .category__list {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .category__title {
        text-align: center;
        font-weight: 500;
        letter-spacing: 2.8px;
    }

    .categoryItem {
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 2.5;
        letter-spacing: 0.15rem;
    }

    .iventList {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .iventList__item {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 0;
        border-top: 1px solid #E4DCDC;
        padding: 60px 0;
        align-items: center;
    }

    .iventList__item a {
        flex-basis: 40%;
        align-items: center;
        justify-content: center;
    }

    .iventList__item picture {
        display: block;
    }

    .iventList__item picture img {
        width: 100%;
    }

    .iventList__item div {
        flex-basis: 55%;
    }

    .iventList__item:last-child {
        border-bottom: 1px solid #E4DCDC;
        padding: 60px 0 60px;
    }

    .fadeIn {
        opacity: 1;
        transform: rotate(0);
        transition: 0;
    }
}

/* WP-PageNavi 対応 */
.pagination .wp-pagenavi {
    display: flex;
    justify-content: center;
    gap: 10px;
    background: none;
    border: none;
    padding: 0;
}

.pagination .wp-pagenavi a,
.pagination .wp-pagenavi span {
    color: #000;
    font-family: "Times New Roman";
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2.5;
    letter-spacing: 0.2px;
    text-decoration: none;
    border: none;
    padding: 0 4px;
    background: none;
}

.pagination .wp-pagenavi span.current {
    font-weight: 700;
    border-bottom: 1px solid #000;
}

.pagination .wp-pagenavi a:hover {
    background: none;
    text-decoration: underline;
}