/* ====================
   基本設定
   ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

p {
    font-size: 16px;
    line-height: 1.8;
}

.page-header {
    background: linear-gradient(90deg, #F8B557 0%, #d32f2f 100%);
    padding: 40px 0;
    margin-top: 80px;
    /* 固定ヘッダーの高さ分の余白 */
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 0.1em;
}


/* ====================
   ヒーローセクション
   ==================== */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 540px;
    height: calc(100vh - 232px);
    display: flex;
    align-items: stretch;
}

/* 倉庫背景画像 */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 白い半透明オーバーレイ（右〜中央） */

.hero-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.hero-content {
    background: linear-gradient(119deg, #ffffff 14%, #ffffff80 77%);
    width: 65%;
    padding: 0 80px 0 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 28px;
    clip-path: polygon(0 0, 90% 0, 65% 100%, 0 100%);
}

/* 見出し */
.hero-title {
    font-size: 42px;
    font-weight: bold;
    color: #cc0000;
    line-height: 1.3;
    min-width: 294px;
}

/* 説明文 */
.hero-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.9;

}

.hero-desc .red {
    color: #cc0000;
    font-weight: bold;
}

/* アイコンエリア */
.hero-features {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 8px;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-feature-icon {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-color: #FFE5E6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
    font-size: 54px;
}

/* 小回りの良さの方だけ天地中央配置 */
.hero-features>.hero-feature-item:first-child .hero-feature-icon {
    justify-content: center;
    padding-top: 0;
}

.icon-top {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.hero-feature-label {
    font-size: 16px;
    color: #cc0000;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
}

.hero-feature-cross {
    font-size: 22px;
    color: #555;
    font-weight: bold;
    line-height: 1;
    margin-top: -20px;
}

/* レスポンシブ：ヒーロー */
@media (max-width: 900px) {
    .hero-content {
        width: 100%;
        margin-left: 0;
        padding-right: 40%;
        min-height: auto;


    }

    .hero-title {
        font-size: 36px;
    }
}

/* ====================
   取扱品目セクション
   ==================== */
.products-section {
    padding: 120px 20px 60px;
    background-color: #f5f5f0;
}

.products-inner {
    max-width: 1300px;
    margin: 0 auto;
}

/* タイトル */
.products-title {
    font-size: 32px;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    display: block;
}

/* タイトル下の赤いアンダーライン */
.products-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #cc0000;
    margin: 20px auto 0;
}

/* ====================
   カードグリッド
   ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

/* 個別カード */
.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 画像エリア（画像が入るまでのプレースホルダー） */
.product-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* カードラベル */
.product-label {
    font-size: 16px;
    color: #333333;
    text-align: center;
    padding: 20px 12px;
}

/* ====================
   お問い合わせ案内
   ==================== */
.products-contact {
    background-color: #fff9e6;
    border-radius: 8px;
    padding: 28px 36px;
    text-align: center;
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
}

.products-contact p {
    font-size: 16px;
    color: #555;
}

.contact-highlight {
    color: #cc0000;
    font-weight: bold;
}

/* ====================
   レスポンシブ
   ==================== */

/* clip-path が有効な中間幅：右側の斜めカット分だけ余白を確保 */
@media (max-width: 1200px) and (min-width: 901px) {
    .hero-content {
        width: 100%;
        padding-right: 35%;
    }
}

@media (max-width: 920px) {
    .hero-desc br {
        display: none;
    }
}

@media (max-width: 900px) {
    .products-section {
        padding: 100px 20px 50px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .hero-content {
        clip-path: polygon(0 0, 100% 0, 65% 100%, 0 100%);
    }



    .hero-feature-icon {
        width: 120px;
        height: 120px;
        font-size: 40px;
    }

    .hero-feature-label {
        font-size: 14px;
    }

    .icon-top {
        width: 40px;
        height: 40px;
    }
}

/* 670px以下：hero-titleの自動改行を防ぎつつ、hero-descの固定幅を解除 */
@media (max-width: 670px) {
    .hero-title {
        white-space: nowrap;
    }

    .hero-desc {
        min-width: 250px;
    }
}

@media (max-width: 600px) {
    .hero-features {
        gap: 12px;
    }

    .hero-feature-icon {
        width: 100px;
        height: 100px;
        padding-top: 10px;
    }

    .icon-top {
        width: 32px;
        height: 32px;
        margin-bottom: 2px;
    }

    .hero-feature-label {
        font-size: 11px;
        line-height: 1.4;
    }

    .hero-feature-cross {
        font-size: 18px;
    }
}


@media (max-width: 500px) {
    .hero-content {
        padding-left: 30px;
    }

    .hero-title {
        font-size: 7vw;
    }



    .products-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .products-contact {
        padding: 20px 16px;
    }
}

@media (max-width: 400px) {
    .hero-content {
        clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
    }

    .hero-features {
        gap: 8px;
    }

    .hero-feature-icon {
        width: 90px;
        height: 90px;
        padding-top: 10px;
    }

    .icon-top {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
    }

    .hero-feature-label {
        font-size: 11px;
        line-height: 1.4;
    }

    .hero-feature-cross {
        font-size: 18px;
    }
}

/* Responsive: page-header / page-title */
@media (max-width: 900px) {
    .page-title {
        font-size: 36px;
    }

    .page-header {
        padding: 25px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .products-title {
        font-size: 28px;
    }

    body,
    p {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 26px;
    }

    .products-title {
        font-size: 24px;
    }

    body,
    p {
        font-size: 14px;
    }


}

@media (max-width: 330px) {
    .page-header {
        padding: 25px 0;
    }

    body,
    p {
        font-size: 13px;
    }
}