
    :root {
      --bg: #f6f1e8;
      --paper: #fffdf8;
      --ink: #2b2118;
      --muted: #6b5a4a;
      --line: #d9ccb9;
      --accent: #7a4e2d;
      --shelf: linear-gradient(180deg, #7b5434 0%, #5f3f26 100%);
      --shadow: 0 12px 28px rgba(43, 33, 24, .12);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at top left, rgba(180,135,90,.18), transparent 32%),
        radial-gradient(circle at top right, rgba(122,78,45,.12), transparent 24%),
        var(--bg);
      line-height: 1.65;
    }
    a { color: inherit; text-decoration: none; }
    .wrap { width: min(1280px, calc(100% - 28px)); margin: 0 auto; }
    .hero { padding: 34px 0 18px; }
    .hero-card {
      background: rgba(255,255,255,.72);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.75);
      border-radius: 28px;
      box-shadow: var(--shadow);
      padding: 28px;
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 24px;
    }
    .eyebrow {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      padding: 7px 12px;
      border-radius: 999px;
      font-size: 12px;
      letter-spacing: .04em;
      background: #f0e4d4;
      color: var(--accent);
      font-weight: 700;
    }
    h1 {
      margin: 14px 0 12px;
      font-size: clamp(28px, 4vw, 48px);
      line-height: 1.1;
      letter-spacing: .01em;
    }
    .lead {
      margin: 0;
      color: var(--muted);
      font-size: clamp(15px, 1.6vw, 18px);
    }
    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      align-self: stretch;
      align-items: stretch;
    }
    .stat {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 16px;
      text-align: center;
      min-height: 118px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .stat strong {
      display: block;
      font-size: clamp(22px, 3vw, 34px);
      line-height: 1.1;
      color: var(--accent);
    }
    .stat span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: 13px;
    }
    .toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      justify-content: space-between;
      margin: 18px 0 8px;
    }
    .filters { display: flex; gap: 8px; flex-wrap: wrap; }
    .chip {
      border: 1px solid var(--line);
      background: rgba(255,255,255,.7);
      color: var(--muted);
      border-radius: 999px;
      padding: 9px 14px;
      font-size: 13px;
      cursor: pointer;
      transition: .2s ease;
    }
    .chip:hover, .chip.active {
      background: var(--accent);
      color: white;
      border-color: var(--accent);
      transform: translateY(-1px);
    }
    .search-box { min-width: min(100%, 320px); flex: 0 1 360px; position: relative; }
    .search-box input {
      width: 100%;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.9);
      border-radius: 999px;
      padding: 12px 16px 12px 42px;
      font-size: 14px;
      outline: none;
    }
    .search-box svg {
      position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: .55;
    }
    .bookshelf { margin: 18px 0 40px; }
    .shelf {
      position: relative;
      padding: 18px 16px 28px;
      background: rgba(255,255,255,.42);
      border-radius: 30px;
      box-shadow: var(--shadow);
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.7);
    }
  /*   .shelf::after {
      content: "";
      position: absolute; left: 16px; right: 16px; bottom: 10px;
      height: 16px; border-radius: 10px;
      background: var(--shelf);
      box-shadow: inset 0 2px 0 rgba(255,255,255,.18), 0 6px 14px rgba(0,0,0,.16);
    }
 
    .shelf::before {
      content: "";
      position: absolute; left: 16px; right: 16px; bottom: 26px;
      height: 4px; border-radius: 999px;
      background: rgba(86,63,39,.18);
      filter: blur(1px);
    }
    */   
    
    .grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
      align-items: stretch;
      position: relative;
      z-index: 1;
    }
    .book {
      display: flex;
      flex-direction: column;
      min-height: 760px;
      background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,243,236,.98));
      border: 1px solid #e5d9ca;
      border-radius: 18px 14px 14px 18px;
      box-shadow:
        14px 18px 28px rgba(86, 63, 39, .16),
        2px 4px 8px rgba(86, 63, 39, .08),
        inset 8px 0 0 rgba(122,78,45,.1),
        inset -1px 0 0 rgba(255,255,255,.55);
      overflow: hidden;
      transform-origin: bottom center;
      transition: transform .22s ease, box-shadow .22s ease;
    }
    .book:hover {
      transform: translateY(-1px) scale(1.012);
      box-shadow:
        18px 24px 34px rgba(86, 63, 39, .20),
        3px 6px 12px rgba(86, 63, 39, .10),
        inset 8px 0 0 rgba(122,78,45,.14),
        inset -1px 0 0 rgba(255,255,255,.55);
    }
    .cover-wrap {
      background:#e6dac8 !important;
      padding: 14px 14px 8px;
      border-bottom: 1px dashed #dccab4;
    }
    .cover-card {
      background:#e6dac8 !important;
      aspect-ratio: 1 / 1.42;
      width: 100%;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid #d8c5ae;
      box-shadow:
        0 10px 22px rgba(86, 63, 39, .12),
        inset 0 0 0 1px rgba(255,255,255,.28);
      position: relative;
    }
    .cover-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      background: #f1e5d7;
    }
    .book-top { padding: 14px 16px 12px; }
    .book-no {
      font-size: 12px;
      color: var(--accent);
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .book-title {
      margin: 8px 0 10px;
      font-size: clamp(18px, 1.8vw, 22px);
      line-height: 1.28;
      min-height: 3.2em;
      font-weight: 800;
      letter-spacing: .01em;
    }
    .badges { display: flex; gap: 8px; flex-wrap: wrap; }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      padding: 5px 10px;
      border-radius: 999px;
      background: #f4ebdf;
      color: var(--accent);
      border: 1px solid #e6d4bd;
      font-weight: 700;
    }
    .book-body {
      padding: 0 16px 0;
      display: grid;
      gap: 14px;
      flex: 1;
      align-content: start;
    }
    .mini { display: grid; gap: 6px; }
    .mini h3 {
      margin: 0;
      font-size: 12px;
      letter-spacing: .08em;
      color: var(--accent);
      text-transform: uppercase;
    }
    .mini p, .mini ul { margin: 0; font-size: 14px; color: var(--ink); }
    .mini ul { padding-left: 1.2em; }
    .mini li + li { margin-top: 4px; }
    .book-foot { padding: 16px; display: grid; gap: 10px; margin-top: auto; }
    .cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 13px 14px;
      background: var(--accent);
      color: #fff;
      border-radius: 14px;
      font-weight: 800;
      letter-spacing: .01em;
      box-shadow: 0 8px 18px rgba(122,78,45,.22);
    }
    .cta.secondary {
      background:#e6dac8;
      color: var(--accent);
      border: 1px solid var(--line);
      box-shadow: none;
      font-weight: 700;
    }
    .empty {
      display: none;
      padding: 34px 20px;
      text-align: center;
      color: var(--muted);
      background: rgba(255,255,255,.66);
      border-radius: 20px;
      border: 1px dashed var(--line);
      margin-top: 16px;
    }
    .footer { padding: 0 0 36px; }
    .footer-card {
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(255,255,255,.75);
      border-radius: 22px;
      box-shadow: var(--shadow);
      padding: 22px;
      color: var(--muted);
      font-size: 14px;
    }
    .footer-card strong { color: var(--ink); }
    @media (max-width: 1120px) {
      .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .hero-card { grid-template-columns: 1fr; }
    }
    @media (max-width: 760px) {
      .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .book { min-height: 720px; }
      .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
      .stat { min-height: 108px; }
    }
    @media (max-width: 520px) {
      .wrap { width: min(100% - 16px, 100%); }
      .hero { padding-top: 16px; }
      .hero-card, .footer-card { padding: 18px; }
      .grid { grid-template-columns: 1fr; }
      .book { min-height: auto; }
      .toolbar { align-items: stretch; }
      .search-box { min-width: 100%; flex-basis: 100%; }
      .hero-stats { grid-template-columns: 1fr; }
    }


 .rs{margin:2.0em auto 0 auto;text-align:center;font-size: 14px;}
 
 .rs:hover{color:#7a4e2d}