@charset "utf-8";

/* ==========================================================
   商品案内ページ (page-products.php)
   ========================================================== */

.prd-page {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
}

/* ── Hero ── */
.prd-page__hero {
    position: relative;
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    margin-bottom: 72px;
}

.prd-page__hero img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

.prd-page__hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%);
}

.prd-page__hero-catch {
    color: #fff;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ── Section ── */
.prd-section {
    padding: 72px 24px;
    border-top: 1px solid #e8e8e8;
}

.prd-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* 交互レイアウト：--reverse のときは text を右、photos を左に */
.prd-section--reverse .prd-section__inner {
    direction: rtl;
}
.prd-section--reverse .prd-section__inner > * {
    direction: ltr;
}

/* ── テキスト ── */
.prd-section__heading {
    margin: 0 0 24px;
    font-weight: 400;
}

.prd-section__heading-en {
    display: block;
    font-family: var(--font-display, 'Arial', sans-serif);
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    letter-spacing: 0.12em;
    color: #111;
}

.prd-section__heading-ja {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    color: #888;
    margin-top: 6px;
}

.prd-section__body {
    font-size: 0.92rem;
    line-height: 2.0;
    color: #444;
    margin: 0;
}

/* ── 写真グリッド ── */
.prd-photos {
    display: grid;
    grid-template-rows: auto auto;
    gap: 10px;
}

.prd-photos__main img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.prd-photos__sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.prd-photos__sub img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* ── Closing ── */
.prd-page__closing {
    text-align: center;
    padding: 64px 24px 0;
    border-top: 1px solid #e8e8e8;
    margin-top: 16px;
}

.prd-page__closing p {
    font-size: 0.95rem;
    line-height: 2.1;
    color: #333;
    letter-spacing: 0.04em;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .prd-section__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .prd-section--reverse .prd-section__inner {
        direction: ltr;
    }
}

@media (max-width: 600px) {
    .prd-page__hero {
        max-height: 320px;
        margin-bottom: 48px;
    }
    .prd-page__hero img {
        max-height: 320px;
    }
    .prd-page__hero-text {
        padding: 20px 20px;
    }
    .prd-section {
        padding: 48px 16px;
    }
    .prd-page__closing {
        padding: 48px 16px 0;
    }
}
