@charset "UTF-8";

/* --- Post Nav (Ported from news.css) ----------------------------------------- */
.p-postNav-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* Flex Utilities */
.c-flex {
    display: flex;
}

.c-flex--middle {
    align-items: center;
}

.c-flex--wrap {
    flex-wrap: wrap;
}

.p-postNav {
    justify-content: flex-end;
    gap: 3px;
}

/* Select/Link items */
.p-postNav__select a,
.is-postNavSelect {
    display: inline-block;
    padding: 8px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    height: 40px;
    line-height: 1.5;
    box-sizing: border-box;
}

.is-postNavSelect {
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    cursor: pointer;
}

/* Search Form */
.p-postNav__searchInner {
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 40px;
    padding-left: 15px;
}

.p-postNav__searchForm {
    border: none;
    outline: none;
    font-size: 14px;
    width: 200px;
    border: none !important;
}

.p-postNav__searchBtn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-postNav__searchBtn img {
    width: 16px;
    height: 16px;
}

@media (max-width: 767px) {
    .p-postNav {
        justify-content: center;
    }

    .p-postNav__searchForm {
        width: 100%;
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;
    }

    .c-flex {
        display: block;
    }

    .p-postNav div a,
    .p-postNav__select a,
    .is-postNavSelect {
        width: 100%;
        margin-bottom: 10px;
        border: none;
        font-size: 13px;
        line-height: 15px;
    }
}


/* --- Page Header (Based on Index Hero) --- */
.p-page-header {
    position: relative;
    height: 80vh;
    /* 高さ調整 */
    overflow: hidden;
    margin-bottom: 60px;
}

.p-page-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.p-page-header__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-page-header__content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.p-page-header__catch-logo img {
    width: 100%;
    max-width: 100px;
    height: auto;
}


.p-page-header__logo-mark {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 15%;
    z-index: 2;
}

.p-page-header__sub {
    font-family: var(--font-mincho);
    font-size: 24px;
    letter-spacing: 0.2em;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 2.0s ease;
}

.p-page-header__sub.is-inview {
    opacity: 1;
}

/* --- Product Link & Price --- */
.c-product-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s;
}

.c-product-card__link:hover {
    opacity: 0.7;
}

.c-product-card__price {
    text-align: right;
    /* 右寄せ */
    font-weight: 700;
}

.c-product-card__name {

    /* 右寄せ */
    font-weight: 100;
}

/* --- List Title --- */
.c-list-title {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 60px;

}

.c-list-title h2 {
    font-size: 35px;
    font-family: var(--font-mincho);
    font-weight: 500;
    line-height: 1.2em;
}

.c-list-title span {
    display: block;
    font-size: 25px;


}

/* --- Product List --- */
.p-product-list {
    padding-bottom: 100px;
}

.p-product-list img {
    aspect-ratio: 2.5 / 4;
    object-fit: cover;
}

.p-product-list__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Pagination */
.c-pagination {
    margin-top: 80px;
    text-align: center;
}

.c-pagination__list {
    display: inline-flex;
    gap: 10px;
}

.c-pagination__item a,
.c-pagination__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    color: #333;
    font-family: var(--font-gothic);
    transition: 0.3s;
}

.c-pagination__item.is-active span {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.c-pagination__item a:hover {
    background-color: #f5f5f5;
}

/* Responsive */
@media screen and (max-width: 767px) {
    .c-list-title {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .c-list-title h2 {
        font-size: 20px;
    }

    .c-list-title span {
        font-size: 14px;
    }

    .c-product-card__name {
        line-height: 1.5em;
        font-size: 14px;
    }

    .c-product-card__price {
        font-size: 14px;
    }

    .p-page-header__sub {
        font-size: 20px;
    }

    .p-page-header {
        margin-bottom: 10px;

    }

    .p-product-list__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .p-page-header {
        height: 400px;
    }

    .p-page-header__title {
        font-size: 24px;
    }

}