/* ここから製品一覧our-product */

/** slider **/
.wrapper {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    margin-block: 50px;
}
@media screen and (max-width: 1000px) {
    .wrapper {
        margin-right: 4.375%;
        margin-left: 4.375%;
    }
}

.bunner_container {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
}
.main-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3em 5em;
    width: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-sizing: border-box;
    column-gap: 3em;
}
.right {
    width: 350px;
    max-width: 100%;
}
.right img {
    width: 100%;
}
.new {
    display: inline-block;
    background: linear-gradient(135deg, #d43f37, #ff0d00);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1;
}

.label {
    display: inline-block;
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    margin-left: 10px;
    line-height: 1;
}

.product-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.main-slogan {
    font-size: 24px;
    font-weight: 300;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.5em;
}
.sub-slogan {
    font-size: 15px;
    color: #333;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, 130px);
    gap: 20px;
    margin-top: 2em;
    justify-content: left;
}

.feature-item {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
}

.feature-icon.water {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
}

.feature-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.feature-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.footer-note {
    position: absolute;
    bottom: 20px;
    left: 60px;
    font-size: 10px;
    color: #888;
    max-width: 800px;
    line-height: 1.4;
}

@media (max-width: 850px) {
    .main-content {
        padding: 1em;
        display: block;
    }
    .new {
        margin-bottom: 5px;
    }
    .product-title {
        margin-bottom: 5px;
        font-size: 38px;
    }
    .left {
        margin-bottom: 2em;
    }
    .right {
        margin: 0 auto;
    }
    .features {
        justify-content: center;
        gap: 10px;
        grid-template-columns: repeat(auto-fit, 110px);
    }
    .feature-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 850px) {
    .product-title {
        font-size: 28px;
    }
    .main-slogan {
        font-size: 18px;
    }
    .right {
        width: 150px;
    }
}

.product-wrap {
    padding-top: 100px;
    margin-top: -100px;
}
.category-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 2em auto 1.5em;
    text-align: center;
    position: relative;
    letter-spacing: -1px;
}

.category-title::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: #3b82f6;
    border-radius: 3px;
}

.category-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 16px;
    font-weight: 400;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 320px);
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 60px;
    justify-content: center;
    max-width: 1400px; /* 4つ並んだときの最大幅を制限 */
    margin-left: auto;
    margin-right: auto;
}

.product-link {
    text-decoration: none;
}

.product-card {
    width: 320px; /* 固定幅を明示的に指定 */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.02);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.product-image {
    width: 100%;
    height: 240px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
}
.product-image img {
    width: auto;
    height: 100%;
}

.product-info {
    padding: 30px 25px;
    position: relative;
    z-index: 2;
    background: white;
}

.product-code {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-name {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.product-description {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    font-weight: 400;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 320px; /* モバイルでは1列固定 */
    }

    .product-card {
        width: 100%; /* モバイルでは幅を100%に */
    }

    .category-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .product-card {
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .product-card {
        width: 100%;
    }

    .product-info {
        padding: 25px 20px;
    }
}
