@charset "UTF-8";

:root {
  --ink: #202421;
  --muted: #737873;
  --evergreen: #39433e;
  --evergreen-2: #575f5b;
  --red: #a33b32;
  --red-dark: #842d28;
  --gold: #c7a770;
  --paper: #f4f4f1;
  --cream: #fff;
  --line: #deded9;
  --white: #fff;
  --shadow: 0 10px 24px rgba(20, 24, 21, .1);
  --radius: 0;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select { font: inherit; }
.shell, .home-shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), var(--shell)); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: var(--evergreen); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 10; border-bottom: 0; background: #fff url("/assets/images/header-winter-sky.jpg") center top / 100% 100% no-repeat; }
.header-inner { width: min(calc(100% - 48px), var(--shell)); min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 20px; }
.wordmark { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.site-logo-image { display: block; width: 178px; height: auto; mix-blend-mode: multiply; }
.wordmark-mark { display: inline-grid; place-items: center; width: 38px; height: 42px; color: #fff; background: var(--red); border-radius: 4px 4px 8px 8px; font-size: 1rem; box-shadow: inset 0 -4px rgba(78,20,18,.13); }
.global-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-weight: 700; font-size: .92rem; }
.global-nav a { position: relative; padding: 25px 0 22px; text-decoration: none; }
.mobile-menu { display: none; }

.hero { overflow: hidden; min-height: 590px; color: #fff; background: var(--evergreen); }
.hero-grid { min-height: 590px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 62px; padding-block: 70px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 8px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .2em; line-height: 1.5; }
.hero .eyebrow { color: #e8c57d; }
.hero h1 { margin: 0 0 22px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(2.65rem, 5vw, 4.7rem); line-height: 1.3; letter-spacing: .04em; }
.hero-lead { max-width: 650px; margin: 0 0 30px; color: rgba(255,255,255,.84); font-size: 1.05rem; }
.hero-search { max-width: 610px; }
.hero-search label { display: block; margin-bottom: 7px; color: #fff; font-size: .8rem; font-weight: 700; }
.search-line { display: flex; padding: 6px; border-radius: 13px; background: #fff; box-shadow: 0 16px 30px rgba(0,0,0,.18); }
.search-line input { min-width: 0; flex: 1; border: 0; padding: 10px 14px; outline: 0; color: var(--ink); background: transparent; }
.search-line button, .filter-actions button { border: 0; border-radius: 9px; padding: 11px 22px; color: #fff; background: var(--red); font-weight: 800; cursor: pointer; }
.search-line button:hover, .filter-actions button:hover, .purchase-button:hover { background: var(--red-dark); }
.catalog-count { margin: 11px 0 0; color: rgba(255,255,255,.68); font-size: .78rem; }
.hero-scene { position: relative; width: 100%; aspect-ratio: .86; max-height: 450px; border-radius: 48% 48% 8% 8%; background: #12332c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 28px 60px rgba(0,0,0,.18); }
.moon { position: absolute; top: 11%; right: 13%; width: 27%; aspect-ratio: 1; border-radius: 50%; background: #f6e2ad; box-shadow: 0 0 35px rgba(255,226,162,.22); }
.moon::after { content: ""; position: absolute; width: 100%; height: 100%; left: -25%; top: -12%; border-radius: 50%; background: #12332c; }
.star { position: absolute; color: #e8c57d; font-size: 1rem; }.star-one{top:18%;left:16%}.star-two{top:36%;right:19%;font-size:.6rem}.star-three{top:29%;left:37%;font-size:.7rem}
.shelf { position: absolute; left: 9%; right: 9%; height: 7px; border-radius: 4px; background: #895b3c; box-shadow: 0 5px 0 #533724; }.shelf-one{bottom:31%}.shelf-two{bottom:11%}
.book-shape { position: absolute; bottom: 32.5%; width: 14%; border-radius: 4px 6px 0 0; box-shadow: inset -6px 0 rgba(0,0,0,.1); }.b1{left:18%;height:34%;background:#ba4a43}.b2{left:34%;height:27%;background:#e2be77}.b3{left:50%;height:39%;background:#4d796b}
.gift-shape { position:absolute; right:14%; bottom:12.5%; width:26%; height:22%; background:#9b3935; border-radius:4px; box-shadow:inset 0 -7px rgba(70,19,18,.14) }
.gift-shape::before { content:""; position:absolute; width:18%; height:100%; left:41%; background:#d8b263 }.gift-shape::after { content:""; position:absolute; left:-4%; right:-4%; top:24%; height:19%; background:#d8b263 }

.section { padding-block: 88px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 35px; }
.section-heading h2, .editorial-note h2, .detail-section h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.4; }
.text-link { color: var(--ink); font-weight: 800; text-decoration-color: rgba(163,59,50,.45); }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.choice-card { min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; transition: transform .2s, box-shadow .2s; }
.choice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.choice-card strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.2rem; }
.choice-card small { color: var(--muted); }
.choice-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 0 auto; border-radius: 50%; color: #fff; font-family: serif; font-weight: 700; background: var(--evergreen); }
.choice-know .choice-icon { background: var(--red); }.choice-play .choice-icon { color: var(--ink); background: #e5c374; }.choice-look .choice-icon { background: #537568; }
.paper-section { background: #fff; }

.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
.book-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.book-card { min-width: 0; }
.book-card-link { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.book-cover-wrap { display: grid; place-items: end center; aspect-ratio: .76; padding: 0; overflow: hidden; border-radius: 0; background: #fff; }
.book-cover { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 7px 7px rgba(20,24,21,.13)); transition: transform .18s; }
.book-card-link:hover .book-cover { transform: translateY(-5px); }
.book-cover-placeholder { width: 72%; height: 86%; place-items: center; color: #fff; background: var(--red); font-family: serif; font-size: 3rem; }
.book-card-body { display: flex; flex: 1; flex-direction: column; padding: 15px 2px 0; }
.book-title { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif; font-size: .86rem; font-weight: 800; line-height: 1.55; }
.book-author { margin-top: 6px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { display: inline-block; border-radius: 0; padding: 3px 9px; color: #39433e; background: #f1f2ef; font-size: .69rem; line-height: 1.6; }
.tag-link { border-bottom: 1px solid transparent; text-decoration: none; transition: border-color .18s, color .18s; }
.tag-link:hover { border-bottom-color: #a33b32; color: #842d28; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; border-top: 1px solid var(--line); }
.note-grid > div { padding: 32px 36px 0 0; }
.note-grid > div + div { padding-left: 36px; border-left: 1px solid var(--line); }
.note-grid span { color: var(--red); font-family: serif; font-size: 1.5rem; font-weight: 700; }
.note-grid h3 { margin: 8px 0; font-family: serif; font-size: 1.15rem; }
.note-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Top page: selected direction 1 — a restrained editorial book index. */
.home-opening { min-height: 778px; border-bottom: 1px solid #deded9; color: #202421; background: #fff; }
.home-opening-grid { display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: clamp(42px, 4vw, 56px); padding-block: 66px 34px; }
.home-intro { align-self: start; padding-top: 10px; }
.home-kicker { display: none; }
.home-intro h1 { margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif; font-size: 4rem; font-weight: 700; line-height: 1.28; letter-spacing: -.02em; }
.home-count { margin: 14px 0 20px; color: #aa342e; font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 800; letter-spacing: .02em; }
.home-lead { max-width: 430px; margin: 0; color: #3e4541; font-size: .92rem; line-height: 2; }
.home-search { max-width: 520px; margin-top: 48px; }
.home-search label { display: block; margin: 0 0 9px 34px; color: #262b28; font-size: .78rem; font-weight: 800; }
.home-search-frame { position: relative; }
.home-search-line { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 120px; padding: 5px; border: 3px solid #5b4d46; background: #fff; }
.home-search-line:focus-within { outline: 2px solid #a33b32; outline-offset: 2px; }
.home-search-line input { min-width: 0; min-height: 54px; padding: 11px 12px; border: 0; outline: 0; color: #202421; background: transparent; }
.home-search-line button { border: 0; border-radius: 0; color: #fff; background: #a33b32; font-weight: 800; cursor: pointer; }
.home-search-line button:hover { background: #842d28; }
.home-search-antler { position: absolute; z-index: 0; bottom: calc(100% - 4px); display: block; width: 84px; height: auto; max-width: none; pointer-events: none; }
.home-search-antler-left { left: -40px; }
.home-search-antler-right { right: -40px; }
.home-shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 326px; gap: 25px 25px; min-width: 0; }
.shelf-book { min-width: 0; }
.shelf-book a { display: block; text-decoration: none; }
.shelf-cover-slot { height: 270px; display: flex; align-items: flex-end; justify-content: center; }
.shelf-cover-slot img { display: block; width: 100%; max-width: 100%; height: 260px; object-fit: contain; filter: drop-shadow(0 7px 7px rgba(20, 24, 21, .13)); transition: transform .18s ease; }
.shelf-book a:hover .shelf-cover-slot img { transform: translateY(-4px); }
.shelf-cover-missing { width: 78%; height: 220px; display: grid; place-items: center; border: 1px solid #d2d2ce; color: #727873; background: #f4f4f1; font-size: .75rem; }
.shelf-book strong { display: block; margin-top: 11px; overflow: hidden; color: #202421; font-size: .78rem; font-weight: 800; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.shelf-book small { display: block; margin-top: 4px; overflow: hidden; color: #737873; font-size: .68rem; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.home-discovery { border-bottom: 1px solid #deded9; background: #fff; }
.home-discovery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-discovery-grid a { position: relative; min-height: 150px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 10px 18px; padding: 30px 48px; border-left: 1px solid #deded9; text-decoration: none; }
.home-discovery-grid a:last-child { border-right: 1px solid #deded9; }
.home-discovery-grid a::after { content: ""; position: absolute; left: 48px; right: 48px; bottom: 28px; height: 1px; background: #a33b32; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.home-discovery-grid a:hover::after { transform: scaleX(1); }
.home-discovery-grid strong { font-size: 1.12rem; font-weight: 800; }
.home-discovery-grid > a > span { color: #a33b32; font-weight: 800; }
.home-discovery-grid small { grid-column: 1 / -1; color: #737873; font-size: .72rem; }
.breadcrumb { padding-top: 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .76rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 7px; color: #aaa398; }
.page-head { padding-top: 62px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0 0 12px; color: #202421; font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif; font-size: 4rem; font-weight: 700; line-height: 1.28; letter-spacing: -.02em; }
.page-head > p:last-child { max-width: 720px; margin: 0; color: var(--muted); line-height: 2; }
.narrow-head { text-align: left; }
.narrow-head > * { max-width: 820px; }
.narrow-head > p:last-child { margin-inline: 0; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 52px; padding-top: 42px; padding-bottom: 100px; }
.filter-panel { align-self: start; padding: 24px; border: 0; border-radius: 14px; color: #fff; background: #173f35; }
.filter-field + .filter-field { margin-top: 17px; }
.filter-field label { display: block; margin-bottom: 5px; font-size: .78rem; font-weight: 800; }
.filter-field input, .filter-field select { width: 100%; min-height: 43px; padding: 8px 10px; border: 1px solid #9b9c98; border-radius: 0; color: var(--ink); background: #fff; }
.filter-field input:focus, .filter-field select:focus { outline: 2px solid #a33b32; outline-offset: 2px; }
.filter-actions { display: grid; gap: 10px; margin-top: 22px; text-align: center; }
.filter-actions a { color: rgba(255,255,255,.78); font-size: .78rem; }
.result-summary { min-height: 45px; display: flex; justify-content: space-between; gap: 15px; margin-bottom: 25px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.result-summary p { margin: 0; }.result-summary strong { color: var(--ink); font-size: 1.25rem; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 0; text-decoration: none; }
.pagination a[aria-current="page"] { color: #fff; border-color: var(--red); background: var(--red); }
.empty-state { padding: 65px 30px; border: 1px solid var(--line); border-radius: 0; text-align: center; background: #fff; }
.empty-state h2 { font-family: serif; }

.detail-surface { color: #202421; background: #fff; }
.detail-surface .breadcrumb { padding-top: 25px; color: #737873; }
.detail-page { padding-block: 42px 100px; }
.detail-grid { display: grid; grid-template-columns: minmax(300px, 410px) minmax(0, 1fr); gap: clamp(58px, 8vw, 112px); align-items: start; }
.detail-cover-wrap { display: flex; align-items: flex-start; justify-content: center; min-height: 0; padding: 0; border-radius: 0; background: transparent; }
.detail-cover { display: block; width: 100%; max-width: 410px; max-height: none; height: auto; filter: drop-shadow(0 8px 10px rgba(20,24,21,.12)); }
.detail-main { padding-top: 34px; }
.detail-main h1 { max-width: 760px; margin: 0 0 7px; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif; font-size: clamp(2.5rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.28; letter-spacing: -.025em; }
.detail-main h1 .title-keep { white-space: nowrap; }
.subtitle { margin: 5px 0; color: #737873; }.detail-author { margin: 16px 0 0; font-size: 1.15rem; font-weight: 800; }
.detail-tags { margin-top: 26px; }.detail-tags .tag { padding: 5px 12px; color: #39433e; background: #f1f2ef; font-size: .72rem; }
.detail-summary { margin: 22px 0 0; color: #3f4743; font-size: 1rem; line-height: 2; }
.purchase-box { max-width: 560px; margin-top: 48px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding-bottom: 25px; border-bottom: 1px solid #deded9; }.price strong { color: #a33b32; font-size: 2rem; }.price span { color: #737873; font-size: .73rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 0; padding: 12px 20px; color: #fff; background: var(--red); font-weight: 800; text-decoration: none; transition: background .18s; }
.button:hover { background: var(--red-dark); }.button.secondary { color: #fff; background: var(--evergreen); }
.purchase-button { width: 80%; min-height: 56px; border-radius: 0; background: #a33b32; }
.purchase-note, .fetched-date { color: #737873; font-size: .72rem; line-height: 1.8; }.purchase-note { margin: 18px 0 6px; }.fetched-date { margin: 0; }
.detail-lower { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 80px; margin-top: 14px; padding-top: 48px; border-top: 1px solid #deded9; }
.detail-section h2, .book-facts h2 { margin: 0; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif; font-size: 1.65rem; font-weight: 800; line-height: 1.45; }
.caption-text { max-width: 720px; margin-top: 26px; color: #3f4743; font-size: .94rem; line-height: 2; }
.detail-editorial-comment { max-width: 720px; margin-top: 42px; padding-top: 28px; border-top: 1px solid #deded9; }
.detail-editorial-comment .eyebrow { margin-bottom: 8px; }
.detail-editorial-comment h3 { margin: 0; color: #202421; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif; font-size: 1.25rem; font-weight: 800; line-height: 1.5; }
.detail-editorial-comment > p:last-child { margin: 16px 0 0; color: #3f4743; font-size: .94rem; line-height: 2.05; }
.book-facts { padding: 0; border-radius: 0; background: transparent; }
.book-facts h2 { margin-bottom: 12px; }
.book-facts dl { margin: 0; }.book-facts dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-top: 1px solid #deded9; }.book-facts dt { color: #737873; font-size: .72rem; }.book-facts dd { margin: 0; font-size: .84rem; }

.tag-detail-page { color: #202421; background: #fff; }
.tag-detail-head { padding-top: 58px; padding-bottom: 40px; border-bottom: 1px solid #deded9; }
.tag-detail-head h1 { max-width: 900px; margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif; font-size: 4rem; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; word-break: keep-all; }
.tag-detail-count { margin: 18px 0 0; color: #a33b32; font-size: 1rem; font-weight: 800; }
.tag-editorial { max-width: 1180px; padding-top: 48px; }
.tag-editorial-lead, .tag-editorial section { width: min(100%, 820px); }
.tag-editorial-lead { margin: 0; color: #303733; font-size: 1rem; font-weight: 600; line-height: 2.1; }
.tag-editorial section { margin-top: 38px; padding-top: 34px; border-top: 1px solid #deded9; }
.tag-editorial h2 { margin: 0; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif; font-size: 1.45rem; font-weight: 800; line-height: 1.5; word-break: keep-all; }
.tag-editorial section p { margin: 17px 0 0; color: #3f4743; font-size: .94rem; line-height: 2.05; }
.tag-books { padding-top: 72px; padding-bottom: 110px; }
.tag-books-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; padding-bottom: 16px; border-bottom: 1px solid #deded9; }
.tag-books-heading h2 { margin: 0; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif; font-size: 1.65rem; font-weight: 800; }
.tag-books-heading a { color: #842d28; font-size: .8rem; font-weight: 800; }

.prose-layout { display: grid; grid-template-columns: 1fr 340px; gap: 80px; padding-top: 42px; padding-bottom: 100px; }
.guide-page-head h1, .prose-layout h2 { word-break: keep-all; }
.prose-main, .prose-aside { min-width: 0; }
.prose-main section { padding: 0 0 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }.prose-main h2, .legal-page h2 { color: #202421; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif; font-weight: 800; line-height: 1.5; }.prose-main p, .legal-page p { color: #4d5551; }
.prose-aside { align-self: start; position: sticky; top: 25px; padding: 30px; border: 0; border-radius: 14px; color: #fff; background: #173f35; }.prose-aside .eyebrow { color: #e8c57d; }.prose-aside h2 { margin-top: 0; color: #fff; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif; font-weight: 800; }.prose-aside ol { padding: 0; list-style: none; }.prose-aside li { display: grid; gap: 4px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.16); }.prose-aside li span { color: rgba(255,255,255,.72); font-size: .82rem; }.prose-aside .button { margin-top: 10px; color: #173f35; background: #fff; }
.legal-page { padding: 42px 0 100px; }.legal-page > * { max-width: 820px; }.legal-page h2 { margin: 45px 0 8px; }.legal-page h2:first-child { margin-top: 0; }.revision { margin-top: 45px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; }
.status-page { padding-block: 120px; text-align: center; }.status-page > * { max-width: 760px; margin-inline: auto; }.status-page h1 { margin-top: 5px; margin-bottom: 15px; font-family: serif; font-size: clamp(2.2rem, 6vw, 4rem); }.status-page .button { margin-right: 15px; }

.site-footer { position: relative; width: 100%; min-height: 430px; overflow: hidden; color: #202421; background: #fff url("/assets/images/footer-snow.jpg") center bottom / max(100%, 1180px) auto no-repeat; font-size: .78rem; }
.footer-stage { position: relative; min-height: 430px; }
.footer-navigation-cluster { position: absolute; right: 0; bottom: 42px; display: grid; grid-template-columns: 176px 170px; align-items: end; gap: 28px; }
.footer-nav { display: grid; gap: 19px; padding-bottom: 38px; }
.footer-nav a { min-height: 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; color: #202421; font-size: .78rem; font-weight: 700; letter-spacing: .01em; text-decoration: none; }
.footer-nav a span:last-child { color: #a33b32; font-size: 1rem; transition: transform .18s ease; }
.footer-nav a:hover span:last-child { transform: translateX(4px); }
.footer-nav a:focus-visible, .footer-policy a:focus-visible, .rakuten-credit a:focus-visible { outline: 2px solid #a33b32; outline-offset: 5px; }
.footer-santa { display: block; width: 170px; height: auto; mix-blend-mode: multiply; }
.footer-lower { position: absolute; right: 0; bottom: 22px; left: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.footer-utility { min-width: 0; width: min(590px, 70%); color: #575f5b; font-size: .64rem; line-height: 1.65; }
.footer-policy { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 24px; margin-bottom: 12px; }
.footer-policy a { color: #303633; font-size: .68rem; font-weight: 700; text-decoration-color: rgba(48, 54, 51, .28); }
.rakuten-credit { margin-top: 9px; }
.rakuten-credit img { display: block; width: 177px; max-width: 100%; height: auto; }
.footer-disclaimer { max-width: 560px; margin: 0; }
.footer-copyright { flex: 0 0 auto; margin: 0; color: #777e7a; text-align: right; white-space: nowrap; }

@media (max-width: 1050px) {
  .home-opening { min-height: auto; }
  .home-opening-grid { grid-template-columns: 1fr; gap: 48px; }
  .home-intro { width: min(100%, 520px); }
  .home-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; }
  .shelf-cover-slot { height: 246px; }
  .shelf-cover-slot img { height: 236px; }
  .home-shelf .shelf-book:nth-child(n+7) { display: none; }
  .home-discovery-grid a { padding-inline: 26px; }
}

@media (max-width: 960px) {
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 220px 1fr; gap: 30px; }
  .detail-grid { grid-template-columns: minmax(260px, 340px) 1fr; gap: 52px; }
  .detail-lower { grid-template-columns: minmax(0, 1fr) 360px; gap: 54px; }
  .detail-lower, .prose-layout { grid-template-columns: 1fr 290px; gap: 45px; }
  .footer-navigation-cluster { grid-template-columns: 166px 165px; gap: 22px; }
  .footer-santa { width: 165px; }
}

@media (max-width: 720px) {
  .shell, .home-shell, .narrow, .narrow-head, .legal-page { width: min(calc(100% - 32px), var(--shell)); }
  .header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 12px; }
  .site-logo-image { width: 154px; }
  .global-nav { display: none; }
  .mobile-menu { position: relative; z-index: 20; display: block; flex: 0 0 auto; margin-left: auto; }
  .mobile-menu summary { width: 56px; min-height: 54px; display: grid; place-items: center; gap: 1px; padding: 4px 2px 0; color: #303633; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::marker { content: ""; }
  .mobile-menu summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
  .gift-menu-icon { position: relative; display: block; width: 30px; height: 23px; margin-top: 7px; border-radius: 1px; background: var(--red); box-shadow: inset 0 -4px rgba(93, 25, 22, .14); }
  .gift-menu-icon::before { content: ""; position: absolute; z-index: 2; top: -6px; left: -3px; width: 36px; height: 7px; border-radius: 1px; background: var(--red-dark); transition: transform .18s ease; }
  .gift-menu-icon::after { content: ""; position: absolute; z-index: 3; top: -6px; bottom: 0; left: 12px; width: 6px; background: var(--gold); }
  .gift-menu-ribbon { position: absolute; z-index: 5; top: -10px; left: 50%; width: 24px; max-width: none; height: auto; transform: translateX(-50%); transition: transform .18s ease; pointer-events: none; }
  .mobile-menu-label { font-size: .57rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; }
  .mobile-menu[open] .gift-menu-icon::before { transform: translateY(-3px) rotate(-3deg); }
  .mobile-menu[open] .gift-menu-ribbon { transform: translate(-50%, -3px) rotate(-3deg); }
  .mobile-nav { position: absolute; top: calc(100% + 26px); right: -8px; width: min(78vw, 268px); display: grid; padding: 45px 34px 31px 49px; border: 0; border-radius: 72% 27% 41% 78% / 29% 22% 37% 43%; color: #fff; background: radial-gradient(circle at 16% 34%, rgba(255, 255, 255, .1), transparent 38%), linear-gradient(145deg, #b1463d 0%, #98362f 58%, #7f2926 100%); box-shadow: 0 18px 38px rgba(32, 36, 33, .2); }
  .mobile-nav::before { content: ""; position: absolute; z-index: -1; top: -19px; left: 74%; width: 104px; height: 47px; border-radius: 13px 20px 58% 40% / 12px 15px 46% 38%; background: #a43d35; transform: translateX(-50%) rotate(4deg); transform-origin: 50% 20%; box-shadow: inset 0 9px rgba(121, 38, 34, .14); }
  .mobile-nav-tie { position: absolute; z-index: 2; top: -7px; left: 74%; width: 78px; height: 5px; border-radius: 999px; background: #e0b854; transform: translateX(-50%) rotate(4deg); box-shadow: 0 2px rgba(91, 40, 22, .22); }
  .mobile-nav-tie::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border: 4px solid #e0b854; border-radius: 50%; background: #98362f; transform: translate(-50%, -50%); }
  .mobile-nav a { position: relative; z-index: 1; padding: 11px 4px; color: #fff; font-size: .82rem; font-weight: 800; text-align: center; text-decoration: none; text-shadow: 0 1px rgba(64, 19, 17, .2); }
  .mobile-nav a + a { border-top: 1px solid rgba(255, 255, 255, .28); }
  .mobile-nav a[aria-current="page"] { color: #f5d88f; }
  .home-opening-grid { grid-template-columns: 1fr; padding-block: 42px 34px; }
  .home-intro { padding-top: 0; }
  .home-intro h1 { font-size: 2.6rem; line-height: 1.35; letter-spacing: -.03em; }
  .home-lead { font-size: .86rem; }
  .home-search { max-width: none; margin-top: 32px; }
  .home-search label { margin-left: 52px; }
  .home-search-line { grid-template-columns: minmax(0, 1fr) 104px; padding: 4px; }
  .home-search-antler { bottom: calc(100% - 3px); width: 48px; }
  .home-search-antler-left { left: -4px; }
  .home-search-antler-right { right: -4px; }
  .home-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 294px; gap: 24px 15px; }
  .home-shelf .shelf-book:nth-child(n+7) { display: block; }
  .shelf-cover-slot { height: 235px; }
  .shelf-cover-slot img { height: 225px; }
  .home-discovery-grid { grid-template-columns: 1fr 1fr; }
  .home-discovery-grid a { min-height: 132px; padding: 24px 20px; border-bottom: 1px solid #deded9; }
  .home-discovery-grid a:nth-child(odd) { border-left: 0; }
  .home-discovery-grid a:last-child { border-right: 0; }
  .home-discovery-grid a::after { left: 20px; right: 20px; bottom: 18px; }
  .section { padding-block: 64px; }.section-heading { align-items: start; }.section-heading .text-link { font-size: .78rem; }
  .choice-grid { grid-template-columns: 1fr 1fr; }.choice-card { min-height: 180px; padding: 21px; }
  .book-grid, .book-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .book-cover-wrap { padding: 12px 10px 0; }.book-title { font-size: .87rem; }.book-author { font-size: .72rem; }.tag { font-size: .63rem; }
  .note-grid { grid-template-columns: 1fr; }.note-grid > div, .note-grid > div + div { padding: 25px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .page-head { padding-top: 45px; }.page-head h1 { font-size: 2.25rem; line-height: 1.35; }.catalog-layout { display: block; }.filter-panel { margin-bottom: 35px; }.filter-panel form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.filter-field + .filter-field { margin-top: 0; }.filter-field.full, .filter-actions { grid-column: 1 / -1; }.filter-actions { grid-template-columns: 1fr 1fr; align-items: center; margin-top: 0; }
  .detail-page { padding-top: 32px; }.detail-grid, .detail-lower, .prose-layout { grid-template-columns: 1fr; }.detail-cover-wrap { justify-content: flex-start; }.detail-cover { width: min(100%, 410px); }.detail-main { padding-top: 8px; }.detail-main h1 { font-size: clamp(2.25rem, 10vw, 3.25rem); }.purchase-box { max-width: none; }.purchase-button { width: 100%; }.detail-lower { gap: 48px; margin-top: 55px; padding-top: 42px; }.prose-layout { padding-bottom: 70px; }.prose-aside { position: static; }
  .tag-detail-head { padding-top: 44px; padding-bottom: 30px; }.tag-detail-head h1 { font-size: 2.25rem; line-height: 1.4; }.tag-editorial { padding-top: 36px; }.tag-editorial-lead { font-size: .94rem; line-height: 2; }.tag-editorial section { margin-top: 31px; padding-top: 28px; }.tag-editorial h2 { font-size: 1.25rem; }.tag-editorial section p { font-size: .9rem; line-height: 2; }.tag-books { padding-top: 58px; padding-bottom: 80px; }.tag-books-heading { align-items: start; }
  .site-footer { min-height: 470px; background-size: auto 470px; background-position: 64% bottom; }
  .footer-stage { min-height: 470px; }
  .footer-navigation-cluster { right: 0; bottom: 103px; grid-template-columns: minmax(124px, 142px) 154px; gap: 12px; }
  .footer-nav { gap: 8px; padding-bottom: 22px; }
  .footer-nav a { min-height: 36px; gap: 12px; font-size: .7rem; }
  .footer-santa { width: 154px; }
  .footer-lower { bottom: 14px; gap: 10px; }
  .footer-utility { flex: 1 1 auto; width: auto; font-size: .56rem; }
  .footer-policy { gap: 8px 18px; margin-bottom: 8px; }
  .footer-policy a { font-size: .61rem; }
  .rakuten-credit { margin-top: 6px; }
  .rakuten-credit img { width: 120px; }
  .footer-disclaimer { max-width: 245px; }
  .footer-copyright { max-width: 82px; font-size: .53rem; white-space: normal; }
}

@media (max-width: 420px) {
  .search-line { display: block; }.search-line button { width: 100%; }
  .home-search-line { grid-template-columns: minmax(0, 1fr) 92px; }
  .home-shelf { grid-auto-rows: 266px; }
  .shelf-cover-slot { height: 208px; }
  .shelf-cover-slot img { height: 198px; }
  .home-discovery-grid { grid-template-columns: 1fr; }
  .home-discovery-grid a { min-height: 106px; border-left: 0; }
  .section-heading { display: block; }.section-heading .text-link { display: inline-block; margin-top: 12px; }
  .filter-panel form { display: block; }.filter-field + .filter-field { margin-top: 14px; }.filter-actions { display: grid; margin-top: 18px; }
  .result-summary { display: block; }
  .detail-cover { width: 100%; }.detail-main h1 { font-size: 2.15rem; }.purchase-button { font-size: .87rem; }.book-facts dl div { grid-template-columns: 100px minmax(0, 1fr); }
  .tag-books-heading { display: block; }.tag-books-heading a { display: inline-block; margin-top: 10px; }
  .site-footer, .footer-stage { min-height: 446px; }
  .site-footer { background-size: auto 446px; }
  .footer-navigation-cluster { bottom: 100px; grid-template-columns: minmax(116px, 132px) 140px; gap: 8px; }
  .footer-nav { gap: 6px; padding-bottom: 17px; }
  .footer-nav a { font-size: .67rem; }
  .footer-santa { width: 140px; }
  .footer-policy { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
