/* =========================================================
   凛センターテーブル一覧（彩美テレビボード一覧 saibi-tv-list.css をもとに、クラス名を rinct- に置き換えたもの）
   file: rin-ct-list.css
   置き場所：https://kyno.jp/css/list/rin-ct-list.css
   ========================================================= */

.rinct-list {
    background: #F2EFE5;
    color: #211E1A;
    font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
    max-width: 750px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: left;
}

.rinct-list *,
.rinct-list *::before,
.rinct-list *::after {
    box-sizing: border-box;
}

.rinct-list img {
    max-width: 100%;
    height: auto;
}

/* ---------- 材種タブ ---------- */
.rinct-material-tabs {
    display: flex;
    border: 1px solid #D9D3C0;
    background: #FBFAF6;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.rinct-material-tab {
    flex: 1;
    padding: 20px 4px;
    border: 0;
    border-right: 1px solid #D9D3C0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #5C5648;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.rinct-material-tab:last-child {
    border-right: 0;
}

.rinct-material-tab.is-active {
    background: #37493A;
    color: #fff;
    border-bottom-color: #C9A66B;
}

.rinct-material-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: -2px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}

.rinct-material-swatch--walnut {
    background: #4A2E1E;
}

.rinct-material-swatch--ash {
    background: #E6D8B8;
}

.rinct-material-swatch--oak {
    background: #C9A66B;
}

.rinct-material-swatch--cherry {
    background: #9A5534;
}

.rinct-material-swatch--maple {
    background: #F1E4CC;
}

.rinct-material-panel {
    display: none;
    border: 1px solid #D9D3C0;
    border-top: 0;
    background: #FBFAF6;
    padding: 32px;
    box-shadow: 0 10px 26px -18px rgba(33, 30, 26, .25);
}

.rinct-material-panel.is-active {
    display: block;
}

/* ---------- タイプ切替（引き出しタイプ／四角脚タイプ） ---------- */
.rinct-type-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.rinct-type-tab {
    flex: 1;
    min-width: 160px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #D9D3C0;
    background: #fff;
    color: #5C5648;
    cursor: pointer;
    font-family: inherit;
    border-radius: 2px;
}

.rinct-type-tab small {
    display: block;
    font-size: 11.5px;
    opacity: .85;
}

.rinct-type-tab.is-active {
    background: #37493A;
    color: #fff;
}

.rinct-type-panel {
    display: none;
}

.rinct-type-panel.is-active {
    display: block;
}

/* ---------- 共通スタイル（saibi-css-xx と同じ番号） ---------- */

.rinct-css-01 {
    padding: 28px 28px 0;
}

.rinct-css-02 {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: #37493A;
    margin-bottom: 10px;
}

.rinct-css-03 {
    font-family: serif;
    font-size: 30px;
    line-height: 1.5;
    margin: 0 0 16px;
    font-weight: 700;
}

.rinct-css-04 {
    font-size: 14.5px;
    line-height: 2;
    color: #5C5648;
    max-width: 60ch;
    margin: 0 0 20px;
}

.rinct-css-05 {
    width: 100%;
    display: block;
    border-top: 1px solid #D9D3C0;
    border-bottom: 1px solid #D9D3C0;
}

.rinct-css-06 {
    padding: 32px 28px 6px;
}

.rinct-css-07 {
    border-left: 4px solid #C9A66B;
    padding-left: 16px;
    margin-bottom: 26px;
}

.rinct-css-08 {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #37493A;
    margin-bottom: 7px;
}

.rinct-css-09 {
    font-family: serif;
    font-size: 24px;
    margin: 0 0 10px;
    font-weight: 700;
}

.rinct-css-10 {
    font-size: 13.5px;
    color: #5C5648;
    line-height: 1.9;
    margin: 0;
}

.rinct-css-12 {
    font-family: serif;
    font-size: 24px;
    line-height: 1.6;
    margin: 0 0 8px;
}

.rinct-css-13 {
    font-family: monospace;
    font-size: 12px;
    color: #37493A;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.rinct-css-14 {
    width: 100%;
    border-collapse: collapse;
}

.rinct-css-15 {
    width: 280px;
    vertical-align: top;
    padding: 0;
}

.rinct-css-16 {
    width: 260px;
    max-width: 100%;
    border: 1px solid #D9D3C0;
    background: #fff;
    display: block;
    /* SHACK撮影の切り出し（3:2）と今のページの写真（3:2）で大きさをそろえる */
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.rinct-css-17 {
    vertical-align: top;
    padding: 0 0 0 26px;
}

.rinct-css-18 {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: #5C5648;
    margin-bottom: 16px;
    font-weight: 700;
}

.rinct-css-19 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rinct-css-20 {
    display: inline-block;
    padding: 13px 20px;
    border: 2px solid #D9D3C0;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: monospace;
    color: #211E1A;
    text-decoration: none;
    min-width: 74px;
    text-align: center;
}

.rinct-css-20:hover {
    border-color: #37493A;
}

.rinct-css-21 {
    font-family: serif;
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.rinct-css-22 {
    background: #FBFAF6;
    border: 1px solid #D9D3C0;
    padding: 30px;
}

.rinct-css-23 {
    font-family: serif;
    font-size: 18px;
    margin: 0 0 14px;
}

.rinct-css-24 {
    width: 100%;
    border: 1px solid #D9D3C0;
    background: #fff;
    display: block;
    margin-bottom: 18px;
}

.rinct-css-25 {
    padding: 16px 28px 6px;
}

.rinct-css-26 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rinct-css-27 {
    background: #FBFAF6;
    border: 1px solid #D9D3C0;
    padding: 28px 30px;
}

.rinct-css-28 {
    font-family: monospace;
    font-size: 11.5px;
    color: #37493A;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.rinct-css-29 {
    font-family: serif;
    font-size: 19px;
    margin: 0 0 12px;
}

.rinct-css-30 {
    font-size: 13.5px;
    color: #5C5648;
    line-height: 1.9;
    margin: 0 0 14px;
}

.rinct-css-31 {
    font-size: 13px;
    color: #37493A;
    border-bottom: 1px solid #37493A;
    text-decoration: none;
    padding-bottom: 2px;
}

.rinct-css-35 {
    background: #25332A;
    color: #F2EFE5;
    padding: 40px 28px;
    margin-top: 14px;
}

.rinct-css-36 {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #C9A66B;
    margin-bottom: 10px;
}

.rinct-css-37 {
    font-family: serif;
    font-size: 24px;
    margin: 0 0 12px;
    font-weight: 700;
    color: #F2EFE5;
}

.rinct-css-38 {
    font-size: 13.5px;
    color: #D8D6C6;
    line-height: 1.9;
    margin: 0;
}

/* =========================================================
   凛センターテーブルで足したもの
   ========================================================= */

/* 写真の注記（ホワイトアッシュ引き出しのイメージ写真） */
.rinct-img-note,
#shouhin_category .rinct-list .rinct-img-note {
    margin: 6px 0 0;
    color: #8A8170;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: normal;
}

/* 商品ページで選べる項目の注記 */
.rinct-note {
    margin: 16px 0 0;
    color: #5C5648;
    font-size: 12px;
    line-height: 1.8;
}

/* タイプ比較表 */
.rinct-compare {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 13.5px;
}

.rinct-compare th,
.rinct-compare td {
    border: 1px solid #D9D3C0;
    padding: 12px 14px;
    text-align: center;
    line-height: 1.6;
}

.rinct-compare thead th {
    background: #37493A;
    color: #fff;
    font-weight: 700;
}

.rinct-compare thead th:first-child {
    background: #FBFAF6;
}

.rinct-compare tbody th {
    background: #F2EFE5;
    color: #5C5648;
    font-weight: 700;
    width: 28%;
}

/* 天板と脚を別の材種で（写真2枚） */
.rinct-twotone {
    display: flex;
    gap: 14px;
    margin: 4px 0 14px;
}

.rinct-twotone figure {
    flex: 1;
    margin: 0;
}

.rinct-twotone img {
    width: 100%;
    display: block;
    border: 1px solid #D9D3C0;
}

.rinct-twotone figcaption {
    font-size: 12px;
    color: #5C5648;
    line-height: 1.7;
    margin-top: 8px;
    text-align: center;
}

/* 人気ランキング（今のページの3商品をそのまま。並び替えはしない静的表示） */
.rinct-ranking {
    display: flex;
    gap: 14px;
}

.rinct-ranking a {
    flex: 1;
    display: block;
    background: #fff;
    border: 1px solid #D9D3C0;
    color: #211E1A;
    text-decoration: none;
    position: relative;
}

.rinct-ranking img {
    width: 100%;
    display: block;
}

/* 商品画像の中に文字が入っているので、順位は画像に重ねず上の帯に出す */
.rinct-ranking__no {
    display: block;
    background: #37493A;
    color: #fff;
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 10px;
}

.rinct-ranking__name {
    display: block;
    font-size: 12.5px;
    line-height: 1.6;
    padding: 10px 12px 12px;
}

/* ---------- サイト共通CSS（default.css）の打ち消し ----------
   #shouhin_category p（13pt・字間1px）、#shouhin_category h3（24pt・中央）、
   article h2（22px !important・点線・中央）、article h1（下余白・文字色）が
   部品の指定より強く効くため、#shouhin_category を付けて戻す */
#shouhin_category .rinct-list p {
    letter-spacing: normal;
}

#shouhin_category .rinct-list .rinct-css-04 {
    font-size: 14.5px;
    line-height: 2;
}

#shouhin_category .rinct-list .rinct-css-10,
#shouhin_category .rinct-list .rinct-css-30,
#shouhin_category .rinct-list .rinct-css-38 {
    font-size: 13.5px;
    line-height: 1.9;
}

#shouhin_category .rinct-list .rinct-css-12 {
    font-size: 24px;
    line-height: 1.6;
}

#shouhin_category .rinct-list .rinct-note {
    font-size: 12px;
    line-height: 1.8;
}

#shouhin_category .rinct-list h1.rinct-css-03 {
    padding: 0;
    color: #211E1A;
    text-align: left;
}

#shouhin_category .rinct-list h2.rinct-css-09,
#shouhin_category .rinct-list h2.rinct-css-21,
#shouhin_category .rinct-list h2.rinct-css-37 {
    font-size: 24px !important;
    border-bottom: 0;
    text-align: left;
    line-height: 1.5;
    padding: 0;
}

#shouhin_category .rinct-list h2.rinct-css-09 {
    margin: 0 0 10px;
}

#shouhin_category .rinct-list h2.rinct-css-21 {
    margin: 0;
}

#shouhin_category .rinct-list h2.rinct-css-37 {
    margin: 0 0 12px;
}

#shouhin_category .rinct-list h3.rinct-css-29 {
    font-size: 19px;
    text-align: left;
    line-height: 1.5;
    margin: 0 0 12px;
}

/* ---------- 狭い幅での崩れ防止 ---------- */
@media (max-width: 750px) {
    .rinct-material-tabs {
        flex-wrap: wrap;
    }

    /* 材種が5つなので 3＋2 の2段にする */
    .rinct-material-tab {
        min-width: 33.333%;
        border-bottom: 1px solid #D9D3C0;
    }

    .rinct-material-tab.is-active {
        border-bottom: 3px solid #C9A66B;
    }

    .rinct-material-panel {
        padding: 24px 18px;
    }

    .rinct-type-tabs {
        gap: 8px;
    }

    .rinct-type-tab {
        min-width: 130px;
    }
}

@media (max-width: 600px) {
    .rinct-css-01,
    .rinct-css-06 {
        padding-left: 16px;
        padding-right: 16px;
    }

    .rinct-css-25 {
        padding-left: 16px;
        padding-right: 16px;
    }

    .rinct-css-03 {
        font-size: 25px;
    }

    /* 写真とサイズボタンを縦に並べる */
    .rinct-css-14,
    .rinct-css-14 tbody,
    .rinct-css-14 tr,
    .rinct-css-15,
    .rinct-css-17 {
        display: block;
        width: 100%;
    }

    .rinct-css-16 {
        width: 100%;
    }

    .rinct-css-17 {
        padding: 18px 0 0;
    }

    .rinct-css-22,
    .rinct-css-27 {
        padding: 22px 18px;
    }

    .rinct-twotone {
        flex-direction: column;
    }

    /* ランキングは今のページと同じく横3列のまま、すき間だけ詰める */
    .rinct-ranking {
        gap: 8px;
    }

    .rinct-ranking__name {
        font-size: 11px;
        padding: 8px;
    }
}
