*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#535f53;background:#fff;font:16px/1.9 "Noto Sans CJK JP",sans-serif}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{color:#334c35}a:focus-visible{outline:3px solid #567543;outline-offset:5px}.review{background:#334c35;color:white;text-align:center;font-size:13px;padding:9px 20px}.wrap{max-width:1080px;margin:auto;width:calc(100% - 80px)}header{display:flex;justify-content:space-between;align-items:center;padding:27px 0}.logo{font-size:22px;font-weight:600;color:#334c35}.logo span{font-family:Georgia,serif;font-weight:400}nav{display:flex;gap:24px;font-size:14px}nav a{text-decoration:none}.eyebrow{font:12px/1.5 Arial,sans-serif;letter-spacing:.18em;color:#607849;margin-bottom:12px}.entry{background:#f7f9f2;border-top:1px solid #dbe5cf;border-bottom:1px solid #dbe5cf;padding:25px 0}.entry-inner{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.entry h2{font-size:21px;margin-bottom:8px}.small{font-size:13px;color:#66705f}.entry-card{display:flex;gap:20px;border:1px solid #dbe5cf;border-radius:8px;background:white;padding:20px;text-decoration:none;align-items:center}.mini-covers{display:flex;gap:6px;flex-shrink:0}.mini-covers img{height:77px;width:auto;box-shadow:2px 3px 7px #334c3520}.entry-card strong{display:block;font-size:18px}.entry-card b{display:block;margin-top:8px;color:#567543;font-size:14px}.crumb{padding:25px 0;font-size:13px;color:#66705f}.hero{background:#f4f8ec;border-radius:0 0 0 70px;padding:47px 0 45px}.hero-inner{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center}h1{font:500 44px/1.5 "Noto Serif CJK JP",serif;letter-spacing:.05em;margin-bottom:19px}.lead{font-size:16px;line-height:2.1}.cover-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:clamp(8px,1.2vw,16px)}.cover-row img{display:block;width:100%;box-shadow:5px 7px 12px #334c3522}.cover-row a{display:block;min-width:0}.count{font-size:13px;margin-top:20px;color:#607849}.collection{padding:60px 0}.collection-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.collection-head h2{font:500 29px "Noto Serif CJK JP",serif}.book{display:grid;grid-template-columns:240px 1fr;gap:48px;border-top:1px solid #dbe5cf;padding:44px 0}.cover-area{background:#f8f8f3;padding:28px 25px;display:flex;align-items:start;justify-content:center;border-radius:4px}.cover-area img{width:100%;height:auto;box-shadow:5px 7px 14px #334c3524}.tag{font-size:12px;color:#567543;letter-spacing:.07em;margin-bottom:9px}.book h3{font:500 28px/1.5 "Noto Serif CJK JP",serif}.subtitle{font-size:15px;margin-top:6px}.author{font-size:14px;margin-top:16px}.intro{margin-top:20px}.meta{display:flex;gap:25px;font-size:13px;margin-top:18px}.actions{display:flex;gap:10px;margin:22px 0}.actions a{border:1px solid #607f51;border-radius:4px;padding:10px 18px;text-decoration:none;font-size:14px;color:#567543}.actions a:first-child{background:#607f51;color:#fff}.review-notes{border-top:1px solid #dbe5cf;background:#fafbf7;padding:32px 0;font-size:14px}.review-notes h2{font-size:20px;margin-bottom:15px}.note-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}.note-grid strong{color:#334c35}footer{padding:25px 0;font-size:12px;color:#66705f}.print-only{display:none}@media(max-width:700px){.wrap{width:calc(100% - 36px)}header{padding:20px 0}.logo{font-size:18px}nav{font-size:12px;gap:12px}nav a:first-child{display:none}.entry-inner,.hero-inner,.book,.note-grid{grid-template-columns:1fr}.entry-inner{gap:16px}.entry-card{gap:15px;padding:16px}.hero{padding:30px 0;border-radius:0 0 0 40px}.hero-inner{gap:28px}h1{font-size:clamp(24px,8vw,33px)}.cover-row{max-width:330px;margin:auto}.book{gap:25px;padding:32px 0}.cover-area{width:220px;margin:auto;padding:25px}.collection{padding:40px 0}.collection-head{align-items:flex-start;flex-direction:column;gap:8px}.collection-head h2{font-size:25px}.book h3{font-size:25px}.meta{flex-wrap:wrap;gap:6px 20px}.actions a{padding:10px 13px}.review{font-size:12px}.count{text-align:center}}@media print{@page{size:A4;margin:17mm}body{font-size:14px}.wrap{width:100%;max-width:none}.review{padding:6px;font-size:10px;-webkit-print-color-adjust:exact}header{padding:18px 0}nav{display:none}.entry{padding:15px 0}.entry-inner{grid-template-columns:1fr 1fr;gap:20px}.entry h2{font-size:17px}.entry-card{padding:12px;gap:10px}.mini-covers img{height:55px}.entry-card strong{font-size:15px}.small{font-size:11px}.crumb{padding:15px 0}.hero{padding:30px 0;background:#f4f8ec!important;-webkit-print-color-adjust:exact}.hero-inner{gap:25px;grid-template-columns:1.1fr 1fr}h1{font-size:30px}.lead{font-size:13px}.cover-row{gap:10px}.count{font-size:11px}.collection{padding:0}.collection-head{display:none}.book{break-before:page;grid-template-columns:1fr;gap:24px;border:0;padding:12px 0 0}.cover-area{width:200px;padding:20px;margin:auto;background:#f8f8f3!important;-webkit-print-color-adjust:exact}.book h3{font-size:27px}.book .intro{font-size:14px}.author{margin-top:12px}.meta{font-size:12px}.actions{margin:18px 0}.review-notes,footer{display:none}.print-only{display:block;font-size:12px;margin-top:24px;padding-top:20px;border-top:1px solid #dbe5cf}.print-only h2{font-size:17px;margin-bottom:8px}.print-only p{margin:7px 0}.book{break-inside:avoid}a{text-decoration:none}}/* V2: review controls are separate from reader-facing content */
.review{font-size:12px;padding:7px 16px}.entry{background:#fafbf8}.entry .eyebrow{font-family:inherit;letter-spacing:.04em}.entry h2{font-size:20px}.crumb a{text-decoration:none}footer{border-top:1px solid #dbe5cf;display:flex;justify-content:space-between;gap:18px}.meta{flex-wrap:wrap}.actions{flex-wrap:wrap}.cover-row img{height:auto;object-fit:contain}h1{overflow-wrap:anywhere}@media(max-width:700px){.review{font-size:11px}header nav{gap:15px}.entry-card{flex-wrap:wrap}.actions a{flex:1;min-width:135px;text-align:center}footer{font-size:11px}}

.logo{text-decoration:none;display:inline-flex;align-items:center;gap:5px}.logo svg{margin-right:7px}.logo span{margin-left:1px}.skip{position:absolute;top:-80px;left:12px;background:#334c35;color:white;padding:10px;z-index:5}.skip:focus{top:6px}.book-title-link{text-decoration:none}.site-nav{align-items:center}.site-nav .nav-note{border:1px solid #dbe5cf;border-radius:4px;padding:6px 13px}footer a{text-decoration:none}footer .footer-links{display:flex;gap:20px}@media(max-width:700px){header{flex-wrap:wrap;gap:14px}.site-nav{width:100%;justify-content:space-between;gap:10px;font-size:12px}.site-nav a:first-child{display:inline}header .logo{font-size:20px}}

@media(max-width:700px){.crumb a:first-child{display:inline}}

/* Bookshelf refinement: equal-height, uncropped covers and three recommendations. */
.hero-inner{grid-template-columns:1fr 1.1fr;gap:36px}
.cover-row{align-items:end;gap:clamp(8px,1.1vw,14px)}
.cover-row a{display:flex;justify-content:center;align-items:end;aspect-ratio:2/3}
.cover-row img{height:100%;width:auto;max-width:100%;object-fit:contain}
.recommendation-rank{display:inline-flex;align-items:center;gap:10px;color:#567543;margin-bottom:14px;line-height:1}
.recommendation-rank>span{font-size:12px;letter-spacing:.07em}
.recommendation-rank strong{display:inline-flex;align-items:baseline;gap:3px;border-bottom:2px solid #b5c895;padding:0 4px 5px;font:500 30px/1 Georgia,serif}
.recommendation-rank small{font:500 12px/1 "Noto Sans CJK JP",sans-serif}
.other-books-head{display:flex;justify-content:space-between;align-items:end;gap:12px;padding:40px 0 24px}
.other-books-head h2{font:500 25px/1.5 "Noto Serif CJK JP",serif}
@media(min-width:701px) and (max-width:1100px){.hero h1{font-size:clamp(30px,3.8vw,42px)}}
@media(max-width:700px){.hero-inner{grid-template-columns:1fr;gap:28px}.cover-row{max-width:360px;gap:8px}.other-books-head{align-items:flex-start;flex-direction:column;gap:7px;padding-top:30px}.other-books-head h2{font-size:23px}}
@media print{.hero-inner{grid-template-columns:1.1fr 1fr;gap:25px}.recommendation-rank{margin-bottom:10px}.other-books-head{break-after:avoid}}



/* Reading guidance and purchase actions on each bookshelf card. */
.book-recommendation {
  margin-top: 20px;
  padding: clamp(14px, 2.4vw, 20px);
  border: 1px solid #dbe5cf;
  border-left: 3px solid #9eb47d;
  border-radius: 5px;
  background: #f4f8ec;
}
.book-recommendation .book-recommendation-label {
  color: #4d6843;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .045em;
}
.book-recommendation h4 {
  color: #334c35;
  margin: 4px 0 6px;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.55;
}
.book-recommendation p:last-child { font-size: .93rem; line-height: 1.85; }
.book-related { margin: 14px 0 0; }
.book-related a {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid #b5c6a6;
  border-radius: 5px;
  background: #fafcf6;
  color: #345333;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.book-related a:hover { background: #ebf1e2; }
.book .actions {
  gap: 8px;
  margin: 14px 0 0;
}
.book .actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  min-height: 44px;
  border-color: #45643b;
  border-radius: 5px;
  color: #395733;
  line-height: 1.55;
  font-weight: 700;
}
.book .actions a:first-child { color: #fff; background: #45643b; }
.book .actions a:hover { color: #fff; background: #304b29; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .book .actions { flex-direction: column; }
  .book .actions a { min-width: 0; }
}
@media print {
  .book-recommendation { -webkit-print-color-adjust: exact; }
}

/* Genre filter keeps the full recommendation shelf in place. */
.genre-filter {
  margin-top: 36px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #dbe5cf;
  border-radius: 9px;
  background: #f4f8ec;
}
.genre-filter h2 {
  margin: 0 0 6px;
  color: #334c35;
  font: 500 clamp(1.3rem, 3vw, 1.55rem)/1.5 "Noto Serif CJK JP", serif;
}
.genre-filter p { margin: 4px 0; }
.genre-buttons { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.genre-buttons button {
  background:#fafcf6;
  color:#395733;
  border:1px solid #45643b;
  border-radius:99px;
  min-height:44px;
  max-width:100%;
  padding:6px 15px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.genre-buttons button[aria-pressed="true"] { background:#45643b; color:white; }
.genre-buttons button:focus-visible, .genre-results a:focus-visible {
  outline:3px solid #304b29;
  outline-offset:3px;
}
.genre-status { font-weight:700; }
.genre-results { margin:6px 0 0; padding-inline-start:1.25em; }
.genre-results a { color:#345333; text-decoration:underline; text-underline-offset:.18em; }
.genre-filter[hidden], .genre-results[hidden], .other-books-head[hidden], .book[hidden] { display:none !important; }
