@charset "utf-8";
/* 109DVD 風フロントスタイル（青緑の水玉＋レース枠） */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 13px;
    line-height: 1.75;
    color: #333;
    background: #fffdf7;
    padding: 0 0 24px;
}
a { color: #2b6f78; text-decoration: none; }
a:hover { color: #c0332c; }
img { max-width: 100%; border: 0; }
ul { list-style: none; }

/* ===== 紙面（全幅） ===== */
.page {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    background: #fffdf7;
    padding: 0 0 18px;
}

/* ===== ヘッダー ===== */
.hd { position: relative; padding: 10px 26px 0; }
.hd-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 7px 12px; margin-bottom: 8px;
    background: #fdf4e4; border: 1px solid #ecdec0; border-radius: 4px;
    box-shadow: 0 1px 3px rgba(140,110,60,.06);
}
.hd-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hd-top { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 4px; }
.pill {
    display: inline-block;
    padding: 3px 12px 3px 8px;
    font-size: 11px;
    color: #fff;
    background: linear-gradient(#8fd0d6, #4f9ea8);
    border: 1px solid #3f858e;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.pill:hover { color: #fff; background: linear-gradient(#a5dade, #5aa8b3); }
.pill i { font-style: normal; margin-right: 4px; }

.logo-area { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 2px 0 8px; }
.logo { font-family: "Times New Roman", "Yu Mincho", serif; font-size: 40px; line-height: 1; letter-spacing: .06em; color: #c0332c; font-style: italic; white-space: nowrap; }
.logo .dot { display: inline-block; width: 26px; height: 26px; margin-right: 6px; border-radius: 50%; vertical-align: 4px;
    background: radial-gradient(circle at 35% 30%, #cfeee9, #4f9ea8 55%, #2b6f78); box-shadow: inset 0 0 0 2px #fff; }
.logo-tag { font-size: 10px; letter-spacing: .14em; color: #2b6f78; text-transform: uppercase; padding-bottom: 6px; }

.search-area { text-align: right; }
.search-form { display: inline-flex; align-items: center; gap: 4px; }
.search-form select, .search-form input[type=text] {
    font-size: 11px; padding: 3px 5px; border: 1px solid #9bb9b9; background: #fff; font-family: inherit;
}
.search-form input[type=text] { width: 150px; }
.search-form button {
    font-size: 11px; padding: 3px 10px; border: 1px solid #3f858e; color: #fff; cursor: pointer;
    background: linear-gradient(#8fd0d6, #4f9ea8); border-radius: 3px; font-family: inherit;
}
.card-icons { margin-top: 6px; font-size: 10px; color: #999; letter-spacing: .1em; }

/* 波線セパレータ */
.sep {
    margin: 10px 0 0;
    height: 12px;
    background-image: radial-gradient(circle, #9fc9c6 2px, transparent 2.5px);
    background-size: 12px 12px;
    opacity: .9;
}

/* ===== 2カラム ===== */
.body-wrap { display: flex; gap: 16px; padding: 16px 26px 0; align-items: flex-start; }
.side { width: 260px; flex: none; }
.main { flex: 1; min-width: 0; }

/* サイドボックス */
.side-box { border: 1px solid #bcd8d6; background: #fbfefd; margin-bottom: 12px; }
.side-title {
    position: relative;
    padding: 5px 10px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .12em;
    background: linear-gradient(#93cfd4, #56a3ab);
    text-align: center;
    text-shadow: 1px 1px 0 rgba(0,0,0,.18);
}
.side-title::before, .side-title::after { content: "✦"; font-size: 10px; color: #eafaf7; margin: 0 6px; vertical-align: 2px; }
.side-body { padding: 8px; }

.qr {
    width: 100%; height: 128px;
    display: flex; align-items: center; justify-content: center;
    background: repeating-conic-gradient(#e6f0f0 0 25%, #ffffff 0 50%) 0 0 / 10px 10px;
    color: #7c9a9a; font-size: 10px; letter-spacing: .1em;
    border: 1px dashed #b9d5d5; margin-bottom: 6px;
}
.qr-note { text-align: center; font-size: 10px; color: #8aa5a5; margin-bottom: 2px; }

/* カテゴリ */
.cat-list li { border-bottom: 1px dotted #cfe0df; padding: 5px 0; }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #2b6f78; }
.cat-list .swatch {
    width: 26px; height: 22px; flex: none;
    background: linear-gradient(135deg, #f0c9c6, #b9563f);
    border: 1px solid #d8b5b0;
}
.cat-list .swatch.alt { background: linear-gradient(135deg, #c8dfe8, #3f6f95); }
.cat-list .swatch.alt2 { background: linear-gradient(135deg, #dfe8c8, #6f8f3f); }
.cat-list .cnt { margin-left: auto; font-size: 10px; color: #999; }

/* おすすめ（サイド） */
.side-reco li { font-size: 11px; line-height: 1.55; padding: 5px 0 5px 12px; position: relative; border-bottom: 1px dotted #cfe0df; }
.side-reco li:last-child { border-bottom: 0; }
.side-reco li::before { content: "●"; position: absolute; left: 0; top: 6px; color: #7fb5b6; font-size: 9px; }

/* ===== メインパネル（ピンクのレース枠） ===== */
.panel {
    background: #fff7f7;
    border: 1px solid #e7cfcf;
    box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px #f0dcdc;
    padding: 14px 16px;
    margin-bottom: 14px;
}
.panel.blue { background: #f4fafb; border-color: #cde3e5; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px #dcecee; }

.panel-head { text-align: center; margin-bottom: 12px; }
.panel-head .h {
    display: inline-block; font-size: 17px; color: #2b6f78; letter-spacing: .1em;
    font-family: "Yu Mincho", "Times New Roman", serif;
}
.panel-head .h::before, .panel-head .h::after { content: "～"; color: #9fc9c6; margin: 0 8px; }
.panel-head .dots { margin-top: 2px; font-size: 9px; letter-spacing: .5em; color: #bcd8d6; }

.panel-body { font-size: 13px; line-height: 1.9; color: #3d3d3d; }
.panel-body p { margin-bottom: 10px; }
.panel-body .warn { color: #c0332c; font-weight: 700; margin-bottom: 6px; }
.panel-body ul.bullet { margin: 0 0 10px 4px; }
.panel-body ul.bullet li { padding-left: 10px; position: relative; }
.panel-body ul.bullet li::before { content: "・"; position: absolute; left: 0; color: #8a8a8a; list-style: none; }
.small { font-size: 11.5px; color: #666; }

/* ===== 商品グリッド ===== */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.item { background: #fff; border: 1px solid #e0e0e0; padding: 6px; text-align: center; }
.item:hover { border-color: #b7d6d4; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.cover {
    height: 200px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, #eef4f4, #d9e6e8 60%, #cadde0);
    color: #7a9296; font-size: 10px; letter-spacing: .2em;
    border: 1px solid #dfe8ea; margin-bottom: 6px; position: relative; overflow: hidden;
}
.cover::after { content: "DVD"; position: absolute; right: 4px; bottom: 3px; font-size: 9px; color: #fff; background: #2b6f78; padding: 0 3px; letter-spacing: .1em; }
.item-name { font-size: 11.5px; line-height: 1.5; min-height: 35px; max-height: 35px; overflow: hidden; color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }
.item-price { color: #c0332c; font-weight: 700; font-size: 12px; margin-top: 5px; }
.item-price span { font-size: 10px; color: #888; font-weight: 400; }

/* 商品一覧ページ */
.list-toolbar { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: #666; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dotted #cfe0df; flex-wrap: wrap; gap: 8px; }
.list-toolbar select { font-size: 11px; padding: 2px 4px; border: 1px solid #bcd8d6; }
.pager { text-align: center; margin-top: 16px; font-size: 12px; }
.pager a, .pager span { display: inline-block; min-width: 24px; padding: 3px 7px; border: 1px solid #cfe0df; margin: 0 2px; color: #2b6f78; }
.pager span.cur { background: #56a3ab; color: #fff; border-color: #56a3ab; }

/* 商品詳細 */
.pdp { display: flex; gap: 16px; }
.pdp-cover { width: 300px; flex: none; }
.pdp-cover .cover { height: 400px; font-size: 12px; }
/* 商品封面画像：横幅100%・高さは画像の縦横比で自動（切り抜きなし） */
.cover.has-img { height: 200px; padding: 0; display: flex; align-items: center; justify-content: center; background: #fff; }
.cover.has-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pdp-cover .cover.has-img { height: auto; }
/* カート／確認画面の小サムネは枠に合わせてトリミング */
.cover.has-img .thumb-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pdp-info { flex: 1; min-width: 0; }
.pdp-title { font-size: 17px; line-height: 1.6; font-weight: 700; color: #2b2b2b; margin-bottom: 8px; }
.pdp-price { font-size: 20px; color: #c0332c; font-weight: 700; margin: 10px 0; }
.pdp-price small { font-size: 11px; color: #888; font-weight: 400; }
.pdp-meta { border-top: 1px dotted #cfe0df; border-bottom: 1px dotted #cfe0df; padding: 8px 0; margin: 10px 0; font-size: 12px; color: #555; }
.pdp-meta b { color: #2b6f78; display: inline-block; width: 72px; }
.cart-row { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.cart-row select { padding: 3px 6px; border: 1px solid #bcd8d6; font-size: 12px; }
.btn-cart {
    padding: 8px 26px; font-size: 14px; color: #fff; cursor: pointer; border: 1px solid #2d7d4a; border-radius: 4px;
    background: linear-gradient(#7fc98f, #3f9a5c); text-shadow: 1px 1px 0 rgba(0,0,0,.2); font-family: inherit;
}
.btn-cart:hover { background: linear-gradient(#94d6a2, #48a866); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.spec-table th, .spec-table td { border: 1px solid #e3e7e7; padding: 6px 8px; text-align: left; }
.spec-table th { background: #f2f8f8; width: 120px; color: #2b6f78; font-weight: 700; }

/* カテゴリ一覧（トップ） */
.cat-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.cat-index a { display: flex; align-items: baseline; padding: 7px 0; border-bottom: 1px dotted #e6d5d5; }
.cat-index a:hover .ct { color: #c0332c; }
.cat-index .nm { flex: 1; min-width: 0; }
.cat-index .ct { color: #999; font-size: 10px; white-space: nowrap; margin-left: 10px; }

/* サイド：営業カレンダー */
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.cal-nav a { color: #2b6f78; padding: 0 6px; font-size: 12px; }
.cal-nav a:hover { color: #c0332c; }
.cal-nav .ym { color: #2b6f78; font-weight: 700; font-size: 12px; letter-spacing: .05em; }
.cal-mini { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; }
.cal-mini th { font-size: 10px; font-weight: 700; color: #333; padding: 4px 0; text-align: center; border: 1px solid #e2e2e2; background: #fff; }
.cal-mini th.sun { color: #333; }
.cal-mini th.sat { color: #333; }
.cal-mini td { position: relative; text-align: center; vertical-align: middle; font-size: 11px; padding: 0; height: 24px; border: 1px solid #e2e2e2; line-height: 1; color: #333; background: #fff; }
.cal-mini td.sun, .cal-mini td.sat { color: #d92b2b; background: #fdf0f1; }
.cal-mini td.holiday { color: #d92b2b; font-weight: 700; }
.cal-mini td.closed { background: #f9c2d0; color: #a1154a; font-weight: 700; }
.cal-mini td.today { background: #f2a3b3; color: #fff; font-weight: 700; }
.cal-mini td.empty { color: transparent; background: #fff; }
.cal-mini .dn { display: block; line-height: 24px; }
.cal-mini .wd { position: absolute; right: 2px; bottom: 1px; font-size: 7px; line-height: 1; color: #b3b3b3; font-weight: 400; }
.cal-mini td.sun .wd, .cal-mini td.sat .wd { color: #e79494; }
.cal-legend2 { margin-top: 6px; text-align: center; font-size: 10px; color: #9aa8a8; }
.cal-legend2 .lg-red { color: #c2185b; }
.cal-legend2 .lg-green { color:#ad1350; }

/* ===== フッター ===== */

.ft { margin-top: 8px; padding: 16px 26px 0; text-align: center; font-size: 11px; color: #888; }
.ft-links a { color: #2b6f78; margin: 0 8px; }
.ft-links a:hover { color: #c0332c; }
.ft-copy { margin-top: 8px; padding-top: 8px; border-top: 1px dotted #d8e2e2; }

@media (max-width: 940px) {
    .hd, .body-wrap, .ft { padding-left: 12px; padding-right: 12px; }
    .body-wrap { flex-direction: column; }
    .side { width: 100%; }
    .grid { grid-template-columns: repeat(2, 1fr) !important; }
    .logo { font-size: 30px; }
    .logo-area { flex-direction: column; align-items: flex-start; }
    .search-area { text-align: left; }
    .pdp { flex-direction: column; }
    .pdp-cover { width: 100%; }
}

/* ===== 追加コンポーネント（フルEC化） ===== */
.pill.on { background: linear-gradient(#f0a9a2, #c0332c); border-color: #a32b24; color: #fff; }
.cart-badge { display: inline-block; margin-left: 4px; padding: 0 5px; background: #c0332c; color: #fff; border-radius: 8px; font-size: 10px; font-weight: 700; }
.hd-links { margin-top: 5px; font-size: 11px; }
.hd-links a { margin: 0 4px; color: #2b6f78; }
.sep-pipe { color: #cfe0df; margin: 0 2px; }
.logo-link { text-decoration: none; }
.crumb { padding: 10px 26px 0; font-size: 11px; color: #8aa5a5; }
.crumb a { color: #2b6f78; }
.crumb .gt { margin: 0 6px; color: #bfd5d5; }
.crumb .cur { color: #666; }

/* ヒーロー */
.hero { border-radius: 2px; overflow: hidden; background: linear-gradient(120deg, #2b6f78, #56a3ab 45%, #8fd0d6); color: #fff; padding: 34px 30px; margin-bottom: 14px; }
.hero h1 { font-size: 26px; letter-spacing: .08em; line-height: 1.5; font-weight: 700; text-shadow: 0 2px 0 rgba(0,0,0,.18); }
.hero p { margin-top: 10px; font-size: 13px; opacity: .95; }
.hero .cta { display: inline-block; margin-top: 16px; padding: 9px 26px; background: #fff; color: #2b6f78; font-weight: 700; border-radius: 3px; font-size: 13px; }
.hero .cta:hover { background: #fff7f7; color: #c0332c; }

/* スライダー */
.slider { position: relative; height: 172px; margin-bottom: 14px; border-radius: 2px; overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity .6s; display: flex; flex-direction: column; justify-content: center; padding: 0 34px; }
.slide.on { opacity: 1; }
.slide .t { font-size: 20px; font-weight: 700; letter-spacing: .1em; }
.slide .s { font-size: 12px; margin-top: 6px; }
.slide-1 { background: linear-gradient(110deg, #b9563f, #e08c79); color: #fff; }
.slide-2 { background: linear-gradient(110deg, #2b6f78, #7cb8bb); color: #fff; }
.slide-3 { background: linear-gradient(110deg, #7a6a3f, #c7a86a); color: #fff; }
.slider-nav { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; z-index: 5; }
.slider-nav span { width: 22px; height: 8px; background: rgba(255,255,255,.45); cursor: pointer; }
.slider-nav span.on { background: #fff; }
.slider-arrow { position: absolute; top: 50%; margin-top: -20px; width: 30px; height: 40px; background: rgba(0,0,0,.22); color: #fff; border: 0; cursor: pointer; z-index: 5; font-size: 15px; }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

/* 商品カードのバッジ・セール価格 */
.cover { position: relative; }
.badge { position: absolute; left: 4px; top: 4px; z-index: 2; padding: 1px 6px; font-size: 10px; color: #fff; border-radius: 2px; }
.badge.sale { background: #c0332c; }
.badge.out { background: #999; }
.badge.new { background: #2b6f78; }
.price-old { color: #999; text-decoration: line-through; font-size: 11px; margin-right: 5px; }

/* 絞り込みバー */
.filter-bar { border: 1px solid #cde3e5; background: #f4fafb; padding: 10px; margin-bottom: 12px; font-size: 11.5px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-bar select, .filter-bar input[type=text] { font-size: 11px; padding: 2px 4px; border: 1px solid #bcd8d6; }
.filter-bar label { color: #5f6f6f; }

/* 商品詳細 */
.thumbs { display: flex; gap: 6px; margin-top: 8px; }
.thumbs div { width: 62px; height: 78px; border: 1px solid #ddd; background: linear-gradient(160deg, #eef4f4, #d3e2e5); cursor: pointer; }
.thumbs div.on { border-color: #c0332c; }
.stock { font-size: 12px; margin: 6px 0; }
.stock.ok { color: #2e7d32; }
.stock.low { color: #c0332c; }
.stock.out { color: #888; }
.btn-buy { padding: 8px 22px; font-size: 13px; color: #fff; border: 1px solid #a32b24; border-radius: 4px; background: linear-gradient(#e08c79, #c0332c); cursor: pointer; font-family: inherit; }
.points { font-size: 11.5px; color: #2b6f78; }
.item-points { font-size: 11px; color: #2b6f78; margin-top: 1px; }
.item-points b { font-weight: 700; }

/* テーブル */
table.data2 { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.data2 th, table.data2 td { border-bottom: 1px solid #e7dede; padding: 9px 8px; vertical-align: middle; }
table.data2 th { background: #fbf3f3; color: #8a5f5f; font-weight: 700; font-size: 12px; }
.cart-qty { width: 48px; padding: 3px 4px; border: 1px solid #cbc3c3; text-align: center; font-size: 12px; }
.link-del { color: #c0332c; font-size: 11px; }
.totals { margin-top: 12px; text-align: right; font-size: 13px; line-height: 2; }
.totals .big { font-size: 18px; color: #c0332c; font-weight: 700; }

/* フォーム */
.form-grid { display: grid; grid-template-columns: 150px 1fr; gap: 9px 14px; align-items: center; font-size: 12.5px; max-width: 760px; }
.form-grid label { color: #5f6f6f; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 6px 8px; border: 1px solid #cbc3c3; font-size: 12.5px; font-family: inherit; background: #fff; }
.form-grid .full { grid-column: 2 / 3; }
/* 郵便番号・都道府県など、テキスト欄とセレクトの高さを揃える */
.form-grid input[type="text"], .form-grid input[type="email"], .form-grid input[type="number"], .form-grid select { height: 30px; box-sizing: border-box; line-height: 1; }
.required { color: #c0332c; font-size: 10px; margin-left: 3px; }
.alert { padding: 9px 12px; margin-bottom: 12px; font-size: 12.5px; border-radius: 3px; }
.alert.err { background: #fdecea; border: 1px solid #f2c2bd; color: #a93226; }
.alert.ok { background: #e6f7ec; border: 1px solid #b7e0c6; color: #1e7a42; }

/* ステップ */
.steps { display: flex; gap: 6px; margin-bottom: 14px; font-size: 11px; }
.steps div { flex: 1; text-align: center; padding: 6px 0; border: 1px solid #cde3e5; background: #f4fafb; color: #7d9a9a; }
.steps div.on { background: #56a3ab; color: #fff; border-color: #56a3ab; font-weight: 700; }

/* カテゴリカード */
.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.cat-card { border: 1px solid #e0d8d8; background: #fff; padding: 14px; text-align: center; }
.cat-card .n { font-size: 14px; color: #2b6f78; font-weight: 700; }
.cat-card .c { font-size: 11px; color: #999; margin-top: 4px; }

/* フッター */
.ft-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; text-align: left; padding-bottom: 12px; border-bottom: 1px dotted #d8e2e2; }
.ft-cols h5 { font-size: 12px; color: #2b6f78; margin-bottom: 6px; }
.ft-cols a, .ft-cols span { display: block; font-size: 11px; color: #7d8f8f; line-height: 1.9; }

/* モバイル最適化 */
@media (max-width: 760px) {
    .hero { padding: 22px 16px; }
    .hero h1 { font-size: 19px; }
    .logo { font-size: 26px; }
    .hd-top { justify-content: flex-start; flex-wrap: wrap; }
    .hd-links { text-align: left; }
    .search-area { text-align: left; width: 100%; }
    .search-form input[type=text] { width: 120px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .full { grid-column: 1 / 2; }
    .pdp { flex-direction: column; }
    .pdp-cover { width: 100%; }
    .pdp-cover .cover { height: 260px; }
    .thumbs div { width: 52px; height: 66px; }
    .steps { font-size: 10px; }
    .totals { text-align: left; }
    .slider { height: 140px; }
    .hero.has-img .wtxt { padding: 22px 16px; }
    .slide.has-img .wtxt { padding: 0 20px; }
}

/* ===== PDP 補足・法務ページ ===== */
.pdp-catch { font-size: 13px; color: #8a5f5f; background: #fdf4f4; border-left: 3px solid #e3a9a4; padding: 8px 10px; margin: 8px 0; line-height: 1.8; }
.pdp-price .num { font-size: 24px; }
.pdp-price .tax { font-size: 12px; color: #888; font-weight: 400; margin-left: 2px; }
.small2 { font-size: 11px; color: #888; font-weight: 400; margin-top: 2px; }
.pdp-line { font-size: 12px; color: #555; border-top: 1px dotted #cfe0df; border-bottom: 1px dotted #cfe0df; padding: 8px 0; margin: 8px 0; }
.pdp-line .lab { color: #2b6f78; margin-right: 4px; font-size: 11px; }
.pdp-notes { margin-top: 14px; font-size: 11.5px; color: #5f6f6f; line-height: 1.9; }
.pdp-notes span { display: block; }
.pdp-buy { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.pdp-buy select { padding: 3px 6px; border: 1px solid #bcd8d6; font-size: 12px; }
a.btn-cart { display: inline-block; text-decoration: none; text-align: center; line-height: 1.4; }
a.btn-buy { text-decoration: none; }
.story-box { margin-top: 14px; background: #fbfaf5; border: 1px solid #eee6d5; padding: 12px; font-size: 12.5px; line-height: 1.95; color: #444; }
.story-box h4 { font-size: 13px; color: #8a6f3f; margin-bottom: 6px; }
.legal { font-size: 12.5px; line-height: 2.05; color: #444; }
.legal h4 { font-size: 13px; color: #2b6f78; margin: 16px 0 4px; }
.legal .bullet { margin: 6px 0 6px 18px; font-size: 12px; }
.btn-filter { padding: 3px 14px; border: 1px solid #3f858e; border-radius: 3px; font-size: 11px; color: #fff; cursor: pointer; font-family: inherit;
    background: linear-gradient(#9ad6db, #4f9ea8); text-shadow: 1px 1px 0 rgba(0,0,0,.15); }

/* ===== トップページ 3カラム（左広告205px／中央580px＋／右広告200px） ===== */
.body-wrap.bw3 { display: flex; gap: 14px; padding: 14px 26px 0; align-items: flex-start; }
.bw3 .main { flex: 1 1 580px; min-width: 0; }
.adcol { width: 205px; flex: none; }
.adcol-right { width: 200px; }
.adcol-title { font-size: 9px; letter-spacing: .22em; color: #a9b5b4; text-align: right; padding: 0 3px 5px; }

/* 広告枠 共通 */
.adbox {
    position: relative; background: #fff; border: 1px solid #ded2bb;
    margin-bottom: 12px; overflow: hidden;
    box-shadow: 0 1px 0 #f3ece0;
    transition: border-color .15s, box-shadow .15s;
}
.adbox:hover { border-color: #b9d8d6; box-shadow: 0 2px 7px rgba(45,110,115,.13); }
.adbox-in { display: block; padding: 10px 11px 11px; color: #333; }
.adbox-in:hover { color: #333; }
.admark {
    position: absolute; top: 0; right: 0; z-index: 2;
    background: #efe7d6; color: #a08d63; font-size: 9px; line-height: 1;
    padding: 2px 4px 3px; letter-spacing: .12em;
    border-left: 1px solid #ded2bb; border-bottom: 1px solid #ded2bb;
}
.adbox-img img { display: block; width: 100%; height: auto; }
.adbox-t { font-size: 12.5px; font-weight: 700; color: #2b6f78; line-height: 1.5; }
.adbox-b { font-size: 11.5px; color: #5c6764; line-height: 1.7; margin-top: 4px; }
.adbox-b p { margin: 0 0 5px; }
.adbox-b p:last-child { margin-bottom: 0; }
.adbox-b ul { list-style: none; margin: 2px 0; }
.adbox-b li { position: relative; padding-left: 9px; }
.adbox-b li::before { content: "・"; position: absolute; left: 0; color: #9ab7b6; }
.adbox-b strong, .adbox-b b { color: #c0332c; font-weight: 700; }

/* 中央（幅580px）の広告は見出し＋本文＋画像の帯スタイル */
.adbox-center {
    border: 1px solid #cfdedd;
    background: linear-gradient(#ffffff, #f8fdfd);
}
.adbox-center .adbox-in { padding: 0 0 12px; }
.adbox-center .adbox-img { border-bottom: 1px solid #e4eeee; }
.adbox-center .adbox-img img { width: 100%; height: auto; }
.adbox-center .adbox-t { font-size: 15px; padding: 10px 14px 0; letter-spacing: .02em; }
.adbox-center .adbox-t::before {
    content: ""; display: inline-block; width: 4px; height: 13px;
    background: #56a3ab; margin-right: 7px; vertical-align: -1px;
}
.adbox-center .adbox-b { font-size: 12.5px; padding: 3px 14px 0; }
.adbox-center.adtype-text .adbox-in { padding: 14px 16px; }
.adbox-center.adtype-text .adbox-t { padding-left: 0; padding-top: 0; }
.adbox-center.adtype-text .adbox-b { padding-left: 0; padding-right: 0; }

/* 未登録枠（?adpreview=1 のときだけ表示） */
.adbox.ad-empty { border: 1px dashed #cfdedd; background: #fbfdfd; box-shadow: none; }
.ad-empty-in { padding: 16px 10px; text-align: center; }
.ad-empty-t { font-size: 11.5px; color: #7f9b9a; font-weight: 700; }
.ad-empty-s { font-size: 10px; color: #a8b8b7; margin-top: 3px; letter-spacing: .06em; }

@media (max-width: 1120px) {
    .body-wrap.bw3 { flex-direction: column; padding-left: 14px; padding-right: 14px; }
    .adcol, .adcol-right { width: 100%; }
    .adcol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .adcol > .adbox { margin-bottom: 0; }
    .adcol .side-box { grid-column: 1 / -1; }
    .adcol-title { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 700px) {
    .adcol { grid-template-columns: 1fr; }
}

/* 広告画像はアダプティブ：横幅いっぱい・高さは画像の縦横比で自動（切り抜きなし） */
.adbox-img img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: fill; }
.adbox-center .adbox-img { text-align: center; background: transparent; border-bottom: 1px solid #e4eeee; }
.adbox-center .adbox-img img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; }

/* 中央広告は580px幅のカラムに揃える */
/* 中央広告はメインカラム全幅（ヒーローと同じ幅）に合わせる＝左右に白い余白を出さない */
.adbox-center .adbox-in { max-width: none; margin: 0; }

/* 左右カラム（205／200px）の広告画像は枠の端まで铺满（内側パディングを打ち消す） */
.adbox-left .adbox-img, .adbox-right .adbox-img { margin: -10px -11px 0; }
.adbox-left .adbox-img img, .adbox-right .adbox-img img { width: 100%; }

/* 中央広告の画像も枠の端まで（上下左右に余白を残さない） */
.adbox-center .adbox-img img { width: 100%; display: block; }

/* 画面が広いときは左右に余白を残す（コンテンツ最大幅） */
@media (min-width: 1300px) {
    body { background: #fffdf7; }
    .page { padding-left: 8px; padding-right: 8px; }
}

/* --- ヒーロー／スライダー 画像対応（画像の縦横比で高さが決まる＝切り抜きなし） --- */
.hero.has-img { position: relative; padding: 0; background: #0f2e31; }
.hero.has-img .wimg { display: block; width: 100%; height: auto; }
.hero.has-img .wtxt { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 34px 30px; background: linear-gradient(120deg, rgba(0,0,0,.50), rgba(0,0,0,.16)); }
.hero.has-img.no-txt .wtxt { display: none; }

/* スライダー：高さは JS が現在スライドの画像比率から算出 */
.slider { transition: height .45s ease; }
.slide.has-img { display: block; padding: 0; bottom: auto; background: #0f2e31; }
.slide.has-img .wimg { display: block; width: 100%; height: auto; }
.slide.has-img .wtxt { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 34px; background: linear-gradient(110deg, rgba(0,0,0,.54), rgba(0,0,0,.16)); }
.slide.has-img.no-txt .wtxt { display: none; }
/* 画像ありカバーでは右下の「DVD」小ラベルを出さない（画像自体に表記があるため） */
.cover.has-img::after { display: none; }

/* カート数量の −／＋ ボタン */
.qty-box { display: inline-flex; align-items: center; gap: 4px; }
.qbtn { width: 22px; height: 22px; line-height: 1; border: 1px solid #b9cfcc; background: linear-gradient(#fff,#eef5f4); color: #2b6f78; font-size: 13px; font-weight: 700; border-radius: 3px; cursor: pointer; padding: 0; }
.qbtn:hover { background: #e2efee; }
.cart-qty { width: 46px; text-align: center; }
.qbtn:disabled { opacity: .35; cursor: not-allowed; }

/* 数量入力の上下スピナーを消す（増減は −／＋ ボタンで即時反映） */
.cart-qty::-webkit-outer-spin-button,
.cart-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-qty { -moz-appearance: textfield; appearance: textfield; }

/* フォーム内のチェックボックスは自動幅 */
.form-grid input[type="checkbox"] { width: auto !important; height: auto; margin: 0; }

/* point use box (order confirm) */
.pt-use-box { margin-top:10px; border:1px solid #cfe0df; background:#f7fbfb; padding:8px 10px; font-size:12px; }
.pt-use-box label { font-weight:700; cursor:pointer; margin-right:10px; }
.pt-hint { font-size:11px; color:#777; margin-top:4px; }

/* ===== 手機端（微信 / LINE / iOS・Android 内蔵ブラウザ）最適化 ===== */
/* ① 正文先行：手机上的側欄（営業カレンダー・カテゴリ・広告）排到正文之後 */
@media (max-width: 1120px) {
    .body-wrap.bw3 .main { order: 1; }
    .body-wrap.bw3 .adcol-left { order: 2; }
    .body-wrap.bw3 .adcol-right { order: 3; }
}
@media (max-width: 940px) {
    .body-wrap .main { order: 1; }
    .body-wrap .side { order: 2; }
}

@media (max-width: 760px) {
    /* ② iOS 微信/Safari は16px未満の入力欄で画面を自動拡大するため16pxに統一 */
    input[type=text], input[type=email], input[type=password], input[type=tel],
    input[type=number], input[type=search], input:not([type]), select, textarea {
        font-size: 16px !important;
        padding: 6px 8px;
    }
    /* 検索フォームは1行のまま幅を融通する */
    .search-form { display: flex; width: 100%; gap: 6px; }
    .search-form select { max-width: 42%; margin: 0; }
    .search-form input[type=text] { width: auto; flex: 1 1 auto; min-width: 0; margin: 0; }
    .search-form button { flex: none; font-size: 14px; padding: 8px 13px; }

    /* ③ タッチ操作の最小サイズ 44px */
    .btn-buy, .btn-cart, a.btn-buy, a.btn-cart {
        min-height: 44px;
        padding-top: 11px;
        padding-bottom: 11px;
        font-size: 15px;
    }
    .pdp-buy { display: flex; flex-direction: column; gap: 8px; }
    .pdp-buy .btn-buy, .pdp-buy .btn-cart { width: 100%; }
}

/* ===== ヘッダー操作ボタン（カート／マイページ／ログイン／会員登録） ===== */
.hd-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.hd-links a { margin: 0; }
.hd-btn {
    display: inline-block; padding: 3px 11px; font-size: 11.5px; font-weight: 700;
    border: 1px solid; border-radius: 3px; text-decoration: none; line-height: 1.7;
}
/* 実色（ベタ塗り）ボタン：白文字＋同色ボーダー＋弱い影 */
.hd-btn { box-shadow: 0 1px 2px rgba(0,0,0,.13); }
/* 全ボタン オレンジ系で統一（明度差で優先度を表現） */
.hd-btn.hd-cart { color: #fff; border-color: #d97c05; background: #f5920a; }
.hd-btn.hd-cart:hover { background: #dc8307; border-color: #bd6d04; }
.hd-btn.hd-my { color: #fff; border-color: #c46b00; background: #dd7505; }
.hd-btn.hd-my:hover { background: #c46804; border-color: #ab5902; }
.hd-btn.hd-login { color: #fff; border-color: #a85800; background: #c26200; }
.hd-btn.hd-login:hover { background: #aa5400; border-color: #8f4700; }
.hd-btn.hd-reg { color: #fff; border-color: #8a4600; background: #9c5100; }
.hd-btn.hd-reg:hover { background: #874500; border-color: #733a00; }
.hd-btn.hd-out { color: #fff; border-color: #787878; background: #8a8a8a; }
.hd-btn.hd-out:hover { background: #737373; border-color: #5f5f5f; }
.hd-btn .cart-badge { margin-left: 4px; background: #fff; color: #c2410c; border-radius: 9px; padding: 0 5px; }

@media (max-width: 760px) {
    .hd { padding: 8px 12px 0; }
    .hd-bar { flex-wrap: wrap; gap: 8px; padding: 8px; margin-bottom: 10px; }
    .hd-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; width: 100%; }
    .hd-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; width: 100%; }
    .hd-nav .pill { display: flex; align-items: center; justify-content: center; text-align: center; padding: 7px 2px; font-size: 11.5px; white-space: nowrap; min-height: 34px; }
    .hd-nav .pill i { display: none; }
    .hd-links { gap: 5px; margin-left: 0; margin-top: 0; width: 100%; display: flex; flex-wrap: nowrap; }
    .hd-links a { flex: 1 1 0; min-width: 0; text-align: center; justify-content: center; padding: 8px 2px; font-size: 12.5px; min-height: 40px; white-space: nowrap; }
    .hd-btn { padding: 7px 14px; font-size: 13.5px; min-height: 40px; display: inline-flex; align-items: center; }
}

.login-alt { display: inline-flex; align-items: center; gap: 8px; flex-wrap: nowrap; white-space: nowrap; }

/* カテゴリページのSEO説明文 */
.cat-seo-text {
    margin-top: 18px; padding: 12px 14px; font-size: 12px; line-height: 1.9; color: #4d5f5f;
    background: #fafaf3; border: 1px solid #e8e4cf; border-radius: 3px;
}

/* 一覧カードの「カートに入れる」 */
.item-cart { margin: 8px 10px 10px; }
.item-cart-btn {
    width: 100%; padding: 7px 0; font-size: 12px; font-weight: 700; color: #fff; cursor: pointer;
    border: 1px solid #2d7d4a; border-radius: 4px; letter-spacing: .04em; font-family: inherit;
    background: linear-gradient(#7fc98f, #3f9a5c); text-shadow: 1px 1px 0 rgba(0,0,0,.18);
}
.item-cart-btn:hover { background: linear-gradient(#94d6a2, #48a866); }
.item-cart-btn.is-out { background: #c9c9c9; border-color: #b5b5b5; cursor: not-allowed; text-shadow: none; }
