@charset "UTF-8";

/* ==========================================================================
   Hero
   ========================================================================== */
.p-hero {
    position: relative;
    width: 100%;
    /* height: 600px;*/
    overflow: hidden;
    display: flex;
    align-items: center;
}

.p-hero__bg {
    /*
    position: absolute;
    top: 0;
    left: 0;*/
    width: 100%;
    height: 100%;
    z-index: -1;
}

.p-hero__bg img {
    width: 100%;
    /* height: 100%;*/
    /* object-fit: cover;*/
}

.p-hero__bg img.sp {
    display: none;
}

.p-hero__bg img.pc {
    display: block;
}

@media (max-width: 767px) {
    .p-hero__bg img.sp {
        display: block;
    }

    .p-hero__bg img.pc {
        display: none;
    }
}

.p-hero__content {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.p-hero__brand {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.p-hero__catch {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-feature-settings: "palt";
}

.p-hero__sub {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.p-hero__note {
    font-size: 10px;
    margin-top: 20px;
    color: #666;
}

.p-hero__circles {
    position: absolute;
    bottom: 20px;
    right: 100px;
    display: flex;
    gap: 10px;
}

.p-hero__circle {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .p-hero {
        height: auto;
        flex-direction: column;
        padding-bottom: 10px;
    }

    .p-hero__bg {
        position: relative;
        /*     height: 300px;*/
    }

    .p-hero__content {
        padding-top: 20px;
        text-align: left;
    }

    .p-hero__catch {
        font-size: 1.8rem;
    }

    .p-hero__circles {
        display: none;
    }
}

/* ==========================================================================
   Top Page Grids
   ========================================================================== */
.p-news__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .p-news__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   Recommended Section
   ========================================================================== */
.p-recommended {
    background-color: var(--color-bg-gray);
}

.c-card--rec .c-card__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    padding: 5px;
    text-align: center;
    z-index: 2;
}

.c-card--rec .c-card__title {
    font-size: 1rem;
    margin-top: 10px;
}

/* ==========================================================================
   Ranking Grid
   ========================================================================== */
.p-ranking__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}

@media (max-width: 767px) {
    .p-ranking__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Banner Area
   ========================================================================== */
.p-banner-area {
    padding: 0 0 60px 0;
}

.p-banner-full img {
    border-radius: 10px;
    width: 100%;
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.p-products {
    background-color: #fff;
    background-image: radial-gradient(#eee 1px, transparent 1px);
    background-size: 20px 20px;
}

.p-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 767px) {
    .p-sidebar__banner {
        margin-top: 20px;
        ;
    }

    .p-banner-area {
        padding: 20px 28px;
    }

    .p-products__grid {
        grid-template-columns: 1fr;
    }
}

.p-product-card {
    background: #fff;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #eee;
}

.p-product-card__img {
    width: 100%;
    margin-bottom: -20px;
    z-index: 1;
}

.p-product-card__logo {
    margin-bottom: 10px;
    z-index: 2;

    padding: 5px;

}

/* Specific borders for products */
.p-product-card:nth-child(2) .p-product-card__logo {
    border-color: var(--color-label-green);
}

.p-product-card:nth-child(3) .p-product-card__logo {
    border-color: #f00;
}

.p-product-card__title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.p-product-card__tags {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.p-product-card__tag {
    border: 1px solid #999;
    padding: 3px 10px;
    font-size: 12px;
    color: #666;
}

.p-product-card__desc {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.p-product-card__links {
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.p-product-card__links li {
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
}

.p-product-card__links li::before {
    content: '';
    width: 10px;
    height: 10px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 6px;
}