/* 11 工房ショップ型 — 左サイドバー＋横長バナーを積む、昔ながらの工芸品通販の形 */
:root { --bg: #ffffff; --surface: #ffffff; --ink: #333029; --muted: #7d776c; --line: #dcd8cf; --accent: #2f2b24; --soft: #f3f1ec; --bar: #ebe8e1; --red: #a8322a; --radius: 0px; }
body.classic { font-family: "Zen Kaku Gothic New", sans-serif; font-size: 14px; line-height: 1.8; letter-spacing: .03em; }
.c-wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }

/* ヘッダー */
.c-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.c-logo { display: flex; align-items: center; gap: 12px; }
.c-emblem { width: 58px; height: 58px; border-radius: 50%; border: 3px double var(--ink); display: grid; place-items: center; font-family: "Shippori Mincho", serif; font-size: 1.6rem; font-weight: 700; }
.c-logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.c-logo-text small { font-size: .78rem; color: var(--muted); }
.c-logo-text strong { font-family: "Shippori Mincho", serif; font-size: 1.6rem; font-weight: 700; letter-spacing: .08em; }
.c-header-side { display: flex; align-items: center; gap: 18px; }
.c-made { margin: 0; font-size: .75rem; color: var(--muted); text-align: right; line-height: 1.4; }
.c-made span { display: block; font-family: "Shippori Mincho", serif; color: var(--ink); font-size: .95rem; letter-spacing: .2em; }
.c-cart { position: relative; border: 1px solid var(--ink); padding: 6px 14px; font-size: .82rem; white-space: nowrap; flex-shrink: 0; }
.c-cart .cart-count { top: -9px; right: -9px; background: var(--red); }
.c-gnav { background: linear-gradient(#6a665e, #4b4842); }
.c-gnav .c-wrap { display: flex; justify-content: flex-end; overflow-x: auto; scrollbar-width: none; }
.c-gnav a { color: #fff; font-size: .8rem; padding: 9px 18px; white-space: nowrap; border-left: 1px solid rgba(255,255,255,.18); }
.c-gnav a:last-child { border-right: 1px solid rgba(255,255,255,.18); }
.c-gnav a:hover { background: rgba(255,255,255,.1); }

/* 2カラム */
.c-body { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding-top: 18px; padding-bottom: 32px; }
.c-main { min-width: 0; }

/* サイドバー */
.c-sbn { display: block; border: 1px solid var(--line); background: linear-gradient(#fff, var(--soft)); padding: 8px 10px; margin-bottom: 6px; font-size: .82rem; }
.c-sbn:hover { border-color: var(--ink); }
.c-sbn b { display: block; font-size: 1.05rem; }
.c-sbn small { color: var(--muted); font-size: .72rem; }
.c-free { border: 2px solid var(--ink); }
.c-event { background: #3d3a33; color: #fff; text-align: center; border: 3px double #fff; outline: 1px solid #3d3a33; }
.c-event b { font-family: "Shippori Mincho", serif; letter-spacing: .3em; }
.c-event small { color: #cfc9bc; font-style: italic; }
.c-sbn-img { display: flex; align-items: flex-end; height: 92px; margin: 10px 0 6px; padding: 8px; background: var(--c); border: 1px solid var(--line); font-family: "Shippori Mincho", serif; font-size: .95rem; }
.c-shead { margin: 18px 0 6px; padding: 5px 8px; background: var(--bar); border-left: 4px solid var(--ink); font-size: .82rem; font-weight: 700; }
.c-search { display: flex; gap: 4px; }
.c-search input { flex: 1; min-width: 0; border: 1px solid var(--line); padding: 4px 6px; font: inherit; font-size: 16px; }
.c-search button { border: 1px solid var(--line); background: var(--soft); font: inherit; font-size: .8rem; cursor: pointer; }
.c-tags { margin: 0; font-size: .8rem; }
.c-tags a { display: inline-block; margin: 0 8px 2px 0; text-decoration: underline; }
.c-list { list-style: none; margin: 0; padding: 0; font-size: .82rem; }
.c-list > li { border-bottom: 1px dotted var(--line); padding: 4px 0 4px 2px; }
.c-list > li::before { content: "› "; color: var(--muted); }
.c-list ul { list-style: none; padding-left: 12px; margin: 2px 0 0; }
.c-list a:hover { text-decoration: underline; }

/* 写真の代わり */
.c-photo { position: relative; background: var(--c); background-image: linear-gradient(120deg, rgba(255,255,255,.18), transparent 60%), repeating-linear-gradient(45deg, rgba(0,0,0,.035) 0 2px, transparent 2px 9px), linear-gradient(var(--c), var(--c)); }
.c-photo span { position: absolute; left: 10px; bottom: 6px; font-size: .62rem; letter-spacing: .2em; color: rgba(0,0,0,.35); }

/* メインビジュアル */
.c-hero { position: relative; height: 150px; overflow: hidden; margin-bottom: 8px; }
.c-hero-photo { position: absolute; inset: 0; }
.c-hero-photo span { color: rgba(255,255,255,.35); }
.c-hero-copy { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; color: #fff; }
.c-en { font-family: "Cormorant Garamond", serif; font-style: normal; letter-spacing: .4em; font-size: 2rem; }
.c-jp { font-family: "Shippori Mincho", serif; font-size: 1.4rem; text-align: right; line-height: 1.3; }
.c-jp small { display: block; font-size: .6rem; letter-spacing: .2em; }

.c-feature { position: relative; display: block; height: 360px; margin-bottom: 20px; overflow: hidden; }
.c-feature-photo { position: absolute; inset: 0; }
.c-feature-copy { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 24px 28px; }
.c-vert { writing-mode: vertical-rl; align-self: flex-start; margin: 0; font-family: "Shippori Mincho", serif; font-size: 1.5rem; letter-spacing: .3em; background: rgba(255,255,255,.55); padding: 16px 10px; }
.c-feature-name { margin: 0; background: rgba(255,255,255,.85); padding: 10px 16px; font-family: "Shippori Mincho", serif; font-size: 1.1rem; }
.c-feature-name span { display: block; font-family: "Zen Kaku Gothic New", sans-serif; font-size: .82rem; color: var(--red); }

/* 見出しバー・ボックス */
.c-bar { margin: 0 0 10px; padding: 6px 12px; background: linear-gradient(#f5f3ee, var(--bar)); border: 1px solid var(--line); font-family: "Zen Kaku Gothic New", sans-serif; font-size: .85rem; font-weight: 700; }
.c-box { margin-bottom: 24px; }
.c-news { list-style: none; margin: 0; padding: 0 4px; font-size: .85rem; }
.c-news li { display: flex; gap: 12px; padding: 5px 0; border-bottom: 1px dotted var(--line); flex-wrap: wrap; }
.c-news time { color: var(--muted); }
.c-news b { color: var(--red); font-weight: 500; }

/* 横長バナー */
.c-banner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; height: 170px; margin-bottom: 10px; border: 1px solid var(--line); background: #fff; overflow: hidden; transition: opacity .15s; }
.c-banner:hover { opacity: .85; }
.c-banner.rev { grid-template-columns: 1fr 1.3fr; }
.c-banner.rev .c-banner-photo { order: 2; }
.c-banner-copy { display: flex; flex-direction: column; justify-content: center; padding: 0 26px; }
.c-banner h3 { margin: 0; font-family: "Shippori Mincho", serif; font-size: 2.2rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; }
.c-script { margin: 2px 0 6px; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.15rem; color: var(--muted); }
.c-desc { margin: 0; font-size: .82rem; }
.c-stamp { position: absolute; top: 12px; left: 12px; width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: .95rem; transform: rotate(-10deg); }
.c-banner.rev .c-stamp { left: auto; right: 12px; }

/* 商品ページ */
.c-crumbs { font-size: .75rem; color: var(--muted); margin-bottom: 6px; }
.c-crumbs a { text-decoration: underline; }
.c-ptitle { font-family: "Zen Kaku Gothic New", sans-serif; font-size: .82rem; font-weight: 500; background: var(--bar); padding: 5px 10px; margin: 0 0 10px; }
.c-pmain { position: relative; height: 420px; margin-bottom: 20px; }
.c-pmain-photo { position: absolute; inset: 0; }
.c-pmain-copy { position: absolute; right: 24px; top: 40%; margin: 0; font-family: "Shippori Mincho", serif; font-size: 1.3rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.c-pstory { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-bottom: 28px; }
.c-collage { position: relative; height: 380px; background: var(--soft); }
.c-collage .a { position: absolute; left: 6%; top: 5%; width: 58%; height: 58%; border: 6px solid #fff; }
.c-collage .b { position: absolute; right: 6%; bottom: 5%; width: 46%; height: 50%; border: 6px solid #fff; }
.c-collage-char { position: absolute; right: 12%; top: 8%; font-family: "Shippori Mincho", serif; font-size: 3rem; color: var(--muted); }
.c-pstory-text { font-size: .9rem; }
.c-pstory-text p:first-child { font-family: "Shippori Mincho", serif; font-size: 1.15rem; }
.c-uline { font-family: "Zen Kaku Gothic New", sans-serif; font-size: .95rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; margin: 28px 0 10px; }
.c-wide { height: 160px; }
.c-text { font-size: .9rem; }
.c-specs { width: 100%; border-collapse: collapse; font-size: .85rem; }
.c-specs th, .c-specs td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.c-specs th { width: 26%; background: var(--soft); font-weight: 500; }
.c-buy { margin-top: 24px; border: 3px double var(--line); padding: 18px 20px; background: #fdfcf9; }
.c-buy-name { margin: 0; font-weight: 700; }
.c-buy-price { margin: 4px 0; color: var(--red); font-size: 1.6rem; font-weight: 700; }
.c-buy-price small { font-size: .8rem; }
.c-buy-stock { margin: 0 0 12px; font-size: .8rem; color: var(--muted); }
.c-buy-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.c-buy-row select { font: inherit; font-size: 16px; padding: 4px 8px; }
.c-cartbtn { background: linear-gradient(#c0463b, var(--red)); color: #fff; border: 1px solid #7e231d; padding: 12px 40px; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; border-radius: 3px; }
.c-favbtn { margin-top: 10px; background: #fff; border: 1px solid var(--line); padding: 5px 12px; font: inherit; font-size: .78rem; cursor: pointer; border-radius: 3px; }

/* カート等は既存の画面を、このレイアウトの調子に合わせる */
.classic .page-title { padding-top: 0; font-size: 1.3rem; }
.classic .cart { grid-template-columns: 1fr; }
.classic .summary { position: static; }
.classic .btn { border-radius: 3px; background: var(--red); }
.classic .empty, .classic .prose { padding: 32px 0; }

/* フッター */
.c-footer { margin-top: 24px; border-top: 1px solid var(--line); padding: 24px 0; font-size: .82rem; }
.c-pay { margin-bottom: 18px; }
.c-pay p { margin: 0 4px; }
.c-info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.c-info p { margin: 0 4px; }
.c-links { text-align: center; margin: 28px 0 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.c-links a { text-decoration: underline; }
.c-copy { text-align: center; color: var(--muted); margin: 0; }

/* スマホ：サイドバーをメインの下へ */
@media (max-width: 760px) {
  .c-body { grid-template-columns: 1fr; }
  .c-side { order: 2; }
  .c-made { display: none; }
  .c-emblem { width: 46px; height: 46px; font-size: 1.3rem; }
  .c-logo-text strong { font-size: 1.25rem; }
  .c-logo-text small { font-size: .68rem; }
  .c-gnav .c-wrap { justify-content: flex-start; }
  .c-hero { height: 110px; }
  .c-en { font-size: 1.3rem; letter-spacing: .25em; }
  .c-jp { font-size: 1.1rem; }
  .c-feature { height: 300px; }
  .c-banner, .c-banner.rev { grid-template-columns: 1fr 1.2fr; height: 130px; }
  .c-banner.rev .c-banner-photo { order: 0; }
  .c-banner.rev .c-stamp { right: auto; left: 8px; }
  .c-banner-copy { padding: 0 14px; }
  .c-banner h3 { font-size: 1.4rem; }
  .c-desc { font-size: .75rem; }
  .c-stamp { width: 44px; height: 44px; font-size: .8rem; top: 8px; left: 8px; }
  .c-pmain { height: 280px; }
  .c-pstory { grid-template-columns: 1fr; }
  .c-collage { height: 280px; }
  .c-info { grid-template-columns: 1fr; }
}
