@charset "UTF-8";
/* NIXER を共通ヘッダー・フッター（includes/header.php・footer.php）で表示するための補正と、デザインの整理 */

:root {
    --nixer-red: #c50018;
    --nixer-dark: #263646;
    --nixer-line: #e5e5e5;
}

/* フォントはサイト共通に統一 */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background: #fff;
}

.nixer-page {
    padding-top: var(--site-header-height, 64px); /* 固定ヘッダーの下から開始 */
    color: #444;
}

/* ===== ブランドの帯（ロゴ＋ナビの1段） ===== */
.nixer-page .nixer-brandbar {
    border-bottom: 1px solid var(--nixer-line);
    background: #fff;
}

.nixer-page .nixer-brandbar-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px 20px;
    min-height: 60px;
}

.nixer-page .nixer-brandbar-logo img {
    display: block;
    width: 130px;
    height: auto;
}

.nixer-page .nixer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nixer-page .nixer-nav li {
    margin: 0;
}

.nixer-page .nixer-nav a {
    display: block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.nixer-page .nixer-nav a:hover {
    background: #f8ecee;
    color: var(--nixer-red);
}

.nixer-page .nixer-nav li.current a {
    color: #fff;
    background: var(--nixer-dark);
}

/* パンくず */
.nixer-page .nixer-breadcrumb {
    max-width: 1140px;
    margin: 14px auto 0;
    padding: 0 20px;
    font-size: 13px;
    color: #777;
}

.nixer-page .nixer-breadcrumb a {
    color: var(--nixer-dark);
    text-decoration: underline;
}

.nixer-page .nixer-breadcrumb .sep {
    margin: 0 8px;
    color: #bbb;
}

/* ===== 本文：サイドメニューを外し、本文を全幅に ===== */
.nixer-page .box7 {
    width: auto;
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px 20px 0;
}

.nixer-page .box7-1 {
    float: none;
    width: auto;
    max-width: 960px;
    margin: 0 auto;
    padding-left: 0;
}

/* 製品名（h1）：太い赤線を細めにして落ち着いた印象に */
.nixer-page .kiji h1 {
    margin-bottom: 8px;
    padding-left: 14px;
    border-left: 6px solid var(--nixer-red);
    font-size: 30px;
    font-weight: 700;
    color: #222;
}

.nixer-page .kiji h2 {
    margin-top: 56px;
    padding-bottom: 8px;
    font-size: 21px;
    font-weight: 700;
    color: #222;
}

.nixer-page .kiji p,
.nixer-page .kiji li {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}

/* YouTube（幅750px固定）を画面幅に合わせて縮小 */
.nixer-page .kiji iframe {
    display: block;
    width: 100%;
    max-width: 860px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 8px 0 16px;
    border: 0;
}

.nixer-page .kijiimg,
.nixer-page .kiji img {
    max-width: 100%;
    height: auto;
}

/* 技術仕様（変換時に段落から表に変換） */
.nixer-page table.nixer-spec {
    width: 100%;
    max-width: 860px;
    border-collapse: collapse;
    margin: 0 0 20px;
}

.nixer-page table.nixer-spec th,
.nixer-page table.nixer-spec td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--nixer-line);
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
    color: #333;
}

.nixer-page table.nixer-spec th {
    width: 32%;
    background: #f7f7f7;
    font-weight: 600;
    color: #444;
}

/* ===== ① 製品トップ：製品カード ===== */
.nixer-page ul.nixer-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: none;
    margin: 8px 0 24px;
    padding: 0;
    list-style: none;
}

.nixer-page ul.nixer-cards li {
    margin: 0;
}

.nixer-page ul.nixer-cards a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px 14px 16px;
    border: 1px solid var(--nixer-line);
    border-radius: 12px;
    background: #fff;
    color: #222;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.nixer-page ul.nixer-cards a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--nixer-red);
}

.nixer-page ul.nixer-cards .img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    margin-bottom: 12px;
}

.nixer-page ul.nixer-cards .img img {
    max-width: 100%;
    max-height: 130px;
    width: auto;
    height: auto;
}

.nixer-page ul.nixer-cards .name {
    font-size: 16px;
    font-weight: 700;
}

.nixer-page ul.nixer-cards .sub {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

/* ===== ② 製品ページ：製品写真＋サムネイル ===== */
.nixer-page .nixer-gallery {
    margin: 16px 0 8px;
}

.nixer-page .nixer-gallery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 380px;
    padding: 20px;
    border: 1px solid var(--nixer-line);
    border-radius: 12px;
    background: #fff;
    cursor: zoom-in;
}

.nixer-page .nixer-gallery-main img {
    max-width: 100%;
    max-height: 340px;
    width: auto;
    height: auto;
}

.nixer-page ul.nixer-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: none;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.nixer-page ul.nixer-gallery-thumbs li {
    width: 90px;
    height: 68px;
    margin: 0;
    padding: 4px;
    border: 1px solid var(--nixer-line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.nixer-page ul.nixer-gallery-thumbs li.current {
    border-color: var(--nixer-red);
}

.nixer-page ul.nixer-gallery-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 動画（見出しを付けてページ後半へ） */
.nixer-page .nixer-video iframe {
    margin-top: 0;
}

/* ③ 図（アプリケーション例など）：中央に、クリックで拡大 */
.nixer-page .kiji .nixer-figure {
    display: block;
    margin: 16px auto;
    cursor: zoom-in;
}

/* ===== ④ アクセサリー：カード ===== */
.nixer-page ul.nixer-acc {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: none;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.nixer-page ul.nixer-acc li {
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 1px solid var(--nixer-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.nixer-page ul.nixer-acc .img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 16px;
    background: #fafafa;
    cursor: zoom-in;
}

.nixer-page ul.nixer-acc .img img {
    max-width: 100%;
    max-height: 168px;
    width: auto;
    height: auto;
}

.nixer-page ul.nixer-acc .body {
    padding: 14px 16px 16px;
}

.nixer-page ul.nixer-acc .name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.nixer-page ul.nixer-acc .tag {
    padding: 1px 8px;
    border-radius: 999px;
    background: #f3e5e7;
    color: var(--nixer-red);
    font-size: 11px;
    font-weight: 600;
}

.nixer-page ul.nixer-acc p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

/* ===== ダウンロード：カテゴリごとの一覧 ===== */
.nixer-page .kiji ul.sidemenu {
    max-width: none;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.nixer-page .kiji ul.sidemenu > li {
    margin: 0 0 14px;
    padding: 14px 18px;
    border: 1px solid var(--nixer-line);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.nixer-page .kiji ul.sidemenu > li a {
    display: block;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f7f7f7;
    font-size: 14px;
    font-weight: 400;
    color: var(--nixer-dark);
    text-decoration: none;
}

.nixer-page .kiji ul.sidemenu > li a::before {
    content: "019";
    font-family: FontAwesome;
    margin-right: 8px;
    color: var(--nixer-red);
}

.nixer-page .kiji ul.sidemenu > li a:hover {
    background: #f8ecee;
}

/* 販売代理店の注記（ページ下部） */
.nixer-page .nixer-notes {
    max-width: 1140px;
    margin: 40px auto 0;
    padding: 20px;
    border-top: 1px solid var(--nixer-line);
}

.nixer-page .nixer-notes p {
    margin: 0 0 4px;
    font-size: 13px;
    color: #666;
}

/* ===== スマホ ===== */
@media (max-width: 767px) {
    .nixer-page .nixer-brandbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 0 0;
    }

    .nixer-page .nixer-brandbar-logo {
        padding: 0 16px;
    }

    .nixer-page .nixer-brandbar-logo img {
        width: 110px;
    }

    .nixer-page .nixer-nav {
        width: 100%;
    }

    /* ナビは横一列（多いときは横スクロール） */
    .nixer-page .nixer-nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 12px 8px;
    }

    .nixer-page .nixer-breadcrumb {
        padding: 0 16px;
    }

    .nixer-page .box7 {
        padding: 16px 16px 0;
    }

    .nixer-page .kiji h1 {
        font-size: 24px;
    }

    .nixer-page ul.nixer-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .nixer-page ul.nixer-cards .img {
        height: 90px;
    }

    .nixer-page ul.nixer-cards .img img {
        max-height: 90px;
    }

    .nixer-page .nixer-gallery-main {
        height: 240px;
    }

    .nixer-page .nixer-gallery-main img {
        max-height: 200px;
    }

    .nixer-page ul.nixer-acc {
        grid-template-columns: 1fr;
    }

    .nixer-page table.nixer-spec th,
    .nixer-page table.nixer-spec td {
        display: block;
        width: 100%;
    }

    .nixer-page table.nixer-spec th {
        border-bottom: 0;
        padding-bottom: 4px;
    }

    .nixer-page table.nixer-spec td {
        padding-top: 4px;
    }
}
