@charset "utf-8";

/* ============================================================
   INTERIOR LIGHTING — 室内照明専用追加スタイル
   ============================================================
   product_dimmer.css（共通）と併用する、capiz 等の
   室内照明カテゴリ専用スタイルです。

   使用ページ（product_dimmer.css と併用）:
     product_interior_lighting.html  (サブカテゴリ選択ページ)
     lighting_capiz.html              (capiz トップ)
     lighting_capiz_4spot.html        (capiz 4灯 製品詳細)
   ============================================================ */


/* ============================================================
   1. ページヘッダー（カテゴリ・詳細共通）
   HTML: <div class="lighting-page-header">
   ============================================================ */

.lighting-page-header {
    padding: 130px 8% 80px;
    background: linear-gradient(135deg, #f5f0e8 0%, #fff 60%);
    position: relative;
    overflow: hidden;
}

.lighting-page-header::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #C8A96E, #E8D5A8, transparent);
}

.lighting-page-header::after {
    content: attr(data-en);
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    font-size: 100px;
    font-weight: 700;
    color: rgba(200,169,110,0.07);
    letter-spacing: 0.05em;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

.lighting-header-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.lighting-header-sub {
    font-size: 11px;
    color: #B8944F;
    letter-spacing: 0.5em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lighting-header-sub::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    background: #C8A96E;
}

.lighting-header-title {
    font-size: 48px;
    font-weight: 200;
    color: #222;
    letter-spacing: 0.15em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.lighting-header-desc {
    font-size: 15px;
    color: #666;
    line-height: 2;
    max-width: 600px;
}


/* ============================================================
   2. パンくず
   HTML: <p class="lighting-breadcrumb">
   ============================================================ */

.lighting-breadcrumb {
    padding: 12px 8%;
    font-size: 13px;
    color: #777;
    letter-spacing: 0.15em;
    background: #f9f7f4;
    border-bottom: 1px solid #ede8df;
}

.lighting-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.lighting-breadcrumb a:hover {
    color: #B8944F;
    text-decoration: underline;
}

.lighting-breadcrumb span {
    margin: 0 8px;
    color: #bbb;
}


/* ============================================================
   3. サブカテゴリ選択ページ
   HTML: product_interior_lighting.html
   ============================================================ */

.subcat-intro-section {
    padding: 80px 8% 60px;
    text-align: center;
}

.subcat-intro-section .section-label {
    font-size: 11px;
    color: #B8944F;
    letter-spacing: 0.5em;
    margin-bottom: 25px;
}

.subcat-intro-section .section-main-title {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.25em;
    margin-bottom: 20px;
    color: #222;
}

.subcat-intro-section .subcat-lead {
    font-size: 14px;
    color: #666;
    line-height: 2;
    max-width: 680px;
    margin: 0 auto;
}


/* --- カードグリッド --- */

.subcat-section {
    padding: 60px 8% 120px;
}

.subcat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

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

/* Capiz（5个卡）PC 端 3 列布局（5个 = 3+2 自然换行） */
.subcat-grid--capiz {
    grid-template-columns: repeat(3, 1fr);
}

.subcat-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.subcat-card {
    border: 1px solid #e8e0d4;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.35s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.subcat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(200,169,110,0.18);
    border-color: #C8A96E;
}

/* カラーバー（上部のアクセントライン） */
.subcat-card-bar {
    height: 4px;
}

/* 照明器具専用カラー（4タイプ） */
.subcat-card-bar.table-light   { background: linear-gradient(to right, #D4A574, #E8C8A0); }
.subcat-card-bar.ceiling-light { background: linear-gradient(to right, #7FB3D5, #A8D5E8); }
.subcat-card-bar.pendant-light { background: linear-gradient(to right, #C8A96E, #E8D5A8); }
.subcat-card-bar.bulb          { background: linear-gradient(to right, #F5D547, #FFEB99); }

/* Capiz 専用カラー（5タイプ） */
.subcat-card-bar.capiz-4-spot          { background: linear-gradient(to right, #a8845e, #d8b48a); }
.subcat-card-bar.capiz-cross           { background: linear-gradient(to right, #b89a6e, #d4be96); }
.subcat-card-bar.capiz-duct-rail-socket { background: linear-gradient(to right, #c5a374, #ddc19a); }
.subcat-card-bar.capiz-pendant         { background: linear-gradient(to right, #d4a574, #e8c8a0); }
.subcat-card-bar.capiz-table-light     { background: linear-gradient(to right, #8b6f47, #b08f6a); }

/* ============================================================
   電球カード専用：縦長画像（EDISON BULB 包装写真等）も
   外枠サイズ（4:3）を変えずに全表示する。
   - aspect-ratio は変えない
   - object-fit: contain で切れずに表示
   - padding 8px で画像の端と枠の隙間を確保
   使用ページ: product_interior_lighting.html
   ============================================================ */
.subcat-card:has(.subcat-card-bar.bulb) .subcat-card-img img {
    object-fit: contain;
    padding: 8px;
}

/* 画像エリア */
.subcat-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f9f7f4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #f0ebe3;
}

.subcat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.subcat-card:hover .subcat-card-img img {
    transform: scale(1.08);
}

/* テキストエリア */
.subcat-card-body {
    padding: 30px 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.subcat-card-en {
    font-size: 10px;
    letter-spacing: 0.4em;
    color: #B8944F;
    margin-bottom: 10px;
    min-height: 14px;
}

.subcat-card-title {
    font-size: 22px;
    font-weight: 400;
    color: #222;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
    min-height: 66px;
    display: flex;
    align-items: center;
}

.subcat-card-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.9;
    margin-bottom: 22px;
    flex: 1;
    display: flex;
    align-items: center;
}

.subcat-viewmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #777;
    transition: all 0.3s;
}

.subcat-viewmore::after {
    content: "→";
    transition: transform 0.3s;
}

.subcat-card:hover .subcat-viewmore {
    color: #333;
}

.subcat-card:hover .subcat-viewmore::after {
    transform: translateX(4px);
}


/* ============================================================
   4. OEM CTAセクション
   HTML: <section class="oem-cta">
   この css だけ読まれるページ（product_interior_lighting.html /
   lighting_capiz.html など）でも表示されるよう、ベーススタイルを
   ここでも保持。product_dimmer.css 併用時は重複するが上書き互換。
   ============================================================ */

.oem-cta {
    background: linear-gradient(135deg, #f5f0e8 0%, #fff 60%);
    border-top: 1px solid #ede8df;
    border-bottom: 1px solid #ede8df;
    padding: 0;
}

.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 8%;
    text-align: center;
}

.cta-inner h3 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #333;
    margin-bottom: 28px;
}

.btn-oem {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid #C8A96E;
    color: #B8944F;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.25em;
    transition: all 0.3s;
    background: transparent;
}

.btn-oem:hover {
    background: #C8A96E;
    color: #fff;
}


/* ============================================================
   4.5 Capiz 4-spot 専用：横長写真（4:3）を全て表示
   HTML: lighting_capiz_4spot.html（<main class="capiz-4spot">）
   ============================================================ */

.capiz-4spot .detail-intro-img,
.capiz-4spot .detail-card-img {
    aspect-ratio: 4 / 3;
}

.capiz-4spot .detail-card-img img {
    object-fit: contain;
}


/* ============================================================
   モバイル対応
   ============================================================ */

@media screen and (max-width: 960px) {
    .subcat-grid,
    .subcat-grid--lighting {
        grid-template-columns: 1fr;
    }

    .lighting-page-header::after {
        display: none;
    }

    .lighting-header-title {
        font-size: 36px;
    }
}

@media screen and (max-width: 767px) {
    .subcat-grid,
    .subcat-grid--lighting,
    .subcat-grid--capiz {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lighting-page-header {
        padding-top: 0;
    }

    .lighting-header-title {
        font-size: 28px;
    }

    .subcat-section {
        padding: 40px 5% 80px;
    }

    .subcat-intro-section {
        padding: 50px 5% 30px;
    }

    .subcat-intro-section .section-main-title {
        font-size: 1.4rem;
    }

    .subcat-card-body {
        padding: 22px 18px 24px;
    }

    .subcat-card-en {
        font-size: 9px;
    }

    .subcat-card-title {
        font-size: 18px;
        min-height: 54px;
    }

    .subcat-card-desc {
        font-size: 12px;
    }

    .lighting-breadcrumb {
        padding: 10px 5%;
        font-size: 12px;
    }

    .cta-inner {
        padding: 40px 5%;
    }

    .cta-inner h3 {
        font-size: 16px;
    }

    .btn-oem {
        padding: 12px 28px;
        font-size: 12px;
    }
}


/* ============================================================
   5. 製品購入リンク・品番・スペック（カード内・強調版）
   HTML: .detail-card-code / .detail-card-spec / .detail-card-buy
   ============================================================ */

.detail-card-code {
    font-size: 13px;
    color: #9a7b4f;
    font-weight: 600;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
    font-family: "Georgia", "Noto Serif JP", serif;
}

.detail-card-spec {
    margin-bottom: 18px;
}

.detail-card-buy {
    font-size: 13px;
    color: #5a3a1a;
    margin: 0;
    padding: 18px 0 6px;
    border-top: 1px solid #e8e0d4;
    letter-spacing: 0.15em;
    text-align: left;
    font-weight: 500;
}

.detail-card-buy::before {
    content: "▸";
    color: #C8A96E;
    margin-right: 6px;
    font-size: 11px;
}

.detail-card-buy a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #fff;
    outline: 1px solid #d32f2f;
    outline-offset: 0;
}

.detail-card-buy a:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #8b0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(211, 47, 47, 0.5);
}

.buy-arrow {
    display: inline-block;
    font-size: 15px;
    transition: transform 0.3s ease;
}

.detail-card-buy a:hover .buy-arrow {
    transform: translateX(4px);
}