/* ============================================================
   BOND Stock & Special Price  一覧・詳細ページ
   stock.hosokawa-jp.org のレイアウトに準拠
   ============================================================ */

body#bondstock {
    font-family: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    background: #fff;
    color: #1a1a1a;
}

/* ---------- ヒーロー（ページタイトル帯） ---------- */
.bs-hero {
    background:
        linear-gradient(rgba(10, 10, 12, .58), rgba(10, 10, 12, .58)),
        #101012 url('./hero.jpg') center 45% / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 140px 20px 60px;
}
.bs-hero h1 {
    font-family: 'en', "IBM Plex Sans JP", sans-serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.2;
    margin: 0;
}
.bs-hero p {
    font-size: 13px;
    letter-spacing: .3em;
    margin: 10px 0 0;
    opacity: .8;
}

/* ---------- 一覧 ---------- */
.bs-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 40px;
}
.bs-subhead {
    padding: 50px 0 6px;
    text-align: center;
    font-family: 'en', "IBM Plex Sans JP", sans-serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.2;
    color: #333;
    margin: 0;
}
.bs-updated {
    text-align: center;
    font-size: 12px;
    color: #767676;
    margin: 0 0 28px;
    font-variant-numeric: tabular-nums;
}
.bs-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    font-size: 14px;
    line-height: 1.7;
}
.bs-list ul li {
    flex-basis: 25%;
    max-width: 25%;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
}
.bs-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 28px 28px 24px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: background-color .2s;
}
.bs-block:hover { background: #fafafa; }

.bs-image {
    position: relative;
    margin-bottom: 12px;
}
.bs-image > span {
    display: block;
    position: relative;
    padding-top: 66.666%;
    height: 0;
    overflow: hidden;
    background: #f2f2f2;
}
.bs-image > span img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bs-noimage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 12px;
    letter-spacing: .2em;
    color: #b5b5b5;
}
.bs-labels {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 5px;
    z-index: 2;
}
.bs-label {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #fff;
    padding: 2px 9px;
    vertical-align: middle;
}
.bs-label-new    { background: #c8102e; }
.bs-label-down   { background: #a97a00; }
.bs-label-during { background: #d18a00; }
.bs-label-sold   { background: #767676; }

.bs-detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 12px;
}
.bs-detail p, .bs-detail h3 { margin: 0; }
.bs-brand {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    color: #767676;
    text-transform: uppercase;
}
.bs-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}
.bs-appeal {
    font-size: 12px;
    color: #767676;
    line-height: 1.6;
}
.bs-fit {
    font-size: 13.5px;
    color: #3a3a3a;
    line-height: 1.6;
}
.bs-note {
    font-size: 11.5px;
    color: #c8102e;
    line-height: 1.6;
}
.bs-row-price {
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-variant-numeric: tabular-nums;
}
.bs-period {
    display: block;
    font-size: 11px;
    color: #767676;
    margin-top: 3px;
}
.bs-list-price {
    display: block;
    font-size: 11.5px;
    color: #767676;
    text-decoration: line-through;
}
.bs-sale-price {
    font-size: 21px;
    font-weight: 700;
    color: #c8102e;
    line-height: 1.25;
}
.bs-sale-price small {
    font-size: 11px;
    font-weight: 500;
    color: #767676;
    margin-left: 4px;
}

/* ---------- SOLD ---------- */
.bs-sold .bs-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .72);
    z-index: 1;
}
.bs-sold-band {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
    pointer-events: none;
}
.bs-sold-band span {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .3em;
    padding: 3px 14px 3px calc(14px + .3em);
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    background: #fff;
    transform: rotate(-7deg);
}
.bs-sold .bs-brand,
.bs-sold .bs-name,
.bs-sold .bs-appeal,
.bs-sold .bs-fit,
.bs-sold .bs-note,
.bs-sold .bs-sale-price { color: #9a9a9a; }

.bs-empty {
    text-align: center;
    color: #767676;
    padding: 60px 0;
}
.bs-note-foot {
    text-align: center;
    font-size: 12px;
    color: #767676;
    padding: 30px 0 10px;
}

/* ---------- 詳細ページ ---------- */
.bs-single {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}
.bs-breadcrumb { font-size: 12.5px; margin: 0 0 26px; }
.bs-breadcrumb a { color: #767676; text-decoration: none; }
.bs-breadcrumb a:hover { color: #c8102e; }
.bs-single .bs-brand { font-size: 12px; }
.bs-single-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 26px;
}
.bs-single-title .bs-label {
    font-size: 12px;
    margin-left: 12px;
    transform: translateY(-3px);
}
.bs-single-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}
.bs-single-photos { position: relative; }
.bs-single-photos > img,
.bs-single-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 0 14px;
}
.bs-single-photos.bs-sold > img,
.bs-single-photos.bs-sold .bs-single-body img { opacity: .45; }
.bs-single-photos .bs-sold-band { position: absolute; inset: 0 0 auto 0; height: 320px; }
.bs-single-body { font-size: 14px; line-height: 1.9; }
.bs-single-info {
    position: sticky;
    top: 24px;
    border: 1px solid #eee;
    padding: 22px 24px;
}
.bs-spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bs-spec-table th {
    text-align: left;
    white-space: nowrap;
    color: #767676;
    font-weight: 600;
    padding: 9px 14px 9px 0;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    width: 90px;
}
.bs-spec-table td {
    padding: 9px 0;
    border-bottom: 1px solid #eee;
}
.bs-spec-table td.bs-list-price { display: table-cell; font-size: 13px; }
.bs-spec-table td.bs-sale-price { font-size: 24px; }
.bs-contact-note {
    font-size: 12px;
    color: #767676;
    margin: 16px 0 0;
    line-height: 1.8;
}

/* ---------- 絞り込み・並べ替えバー（stocklist準拠デザイン） ---------- */
.bs-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 30px 20px 6px;
    font-size: 14px;
}
.bs-toolbar select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    min-width: 220px;
    height: 48px;
    padding: 0 50px 0 20px;
    background-color: #000;
    color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    line-height: 48px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}
.bs-toolbar select:focus {
    outline: 2px solid #c8102e;
    outline-offset: 1px;
}
.bs-toolbar .bs-count {
    font-size: 12px;
    color: #767676;
    min-width: 3em;
}
#bs-noresult {
    text-align: center;
    color: #767676;
    padding: 60px 0;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1100px) {
    .bs-list ul li { flex-basis: 33.333%; max-width: 33.333%; }
    .bs-block { padding: 20px 18px 18px; }
}
@media (max-width: 767px) {
    .bs-hero h1 { font-size: 26px; }
    .bs-subhead { font-size: 20px; padding: 30px 0 2px; }
    .bs-toolbar { gap: 8px; padding: 20px 14px 4px; }
    .bs-toolbar select {
        min-width: 0;
        flex: 1 1 calc(50% - 8px);
        height: 42px;
        line-height: 42px;
        padding: 0 36px 0 14px;
        font-size: 12.5px;
        background-position: right 12px center;
    }
    .bs-hero { padding: 100px 16px 40px; }
    .bs-hero h1 { font-size: 24px; }
    .bs-list { padding: 0 14px 30px; }
    .bs-list ul li { flex-basis: 50%; max-width: 50%; }
    .bs-block { padding: 12px 11px 12px; }
    .bs-name { font-size: 13px; }
    .bs-appeal { font-size: 11px; }
    .bs-sale-price { font-size: 17px; }
    .bs-sold-band span { font-size: 13px; }
    .bs-single-grid { grid-template-columns: 1fr; }
    .bs-single-info { position: static; }
}

/* ---------- 店舗別ナビ（まとめページ用） ---------- */
.bs-store-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 16px 4px;
}
.bs-store-nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .12em;
    padding: 7px 18px;
    border-right: 1px solid #eee;
    transition: color .2s;
}
.bs-store-nav a:first-child { border-left: 1px solid #eee; }
.bs-store-nav a:hover { color: #c8102e; }
