:root{--ink:#162b43;--blue:#205a93;--line:#cedbe6;--gutter:max(22px,calc((100vw - 1180px)/2))}
body{margin:0;color:var(--ink);font-family:"Yu Gothic",Meiryo,sans-serif;background:#fff}
header{margin-inline:var(--gutter);display:flex;height:100px;align-items:center;justify-content:space-between;gap:15px;overflow:hidden}
header::after{content:"";height:100%;width:115px;flex:none;background:url("./header.png") right bottom/auto 100% no-repeat}
header div.logo-container{margin:0}header img.logo{display:block;width:min(48vw,310px);height:auto}
nav.nav{padding-inline:var(--gutter);position:sticky;z-index:5;top:0;background:#fff;border-block:1px solid var(--line);margin:0;gap:18px}
.nav-tabs .nav-link,.nav-tabs .nav-link.active{border:0;border-radius:0;color:var(--ink);margin:0;padding:13px 3px}
.nav-tabs .nav-link.active{color:var(--blue);box-shadow:inset 0 -4px var(--blue);font-weight:bold}
main{padding: clamp(26px,3.4vw,50px) var(--gutter) 64px}
.book{display:grid;grid-template-columns:minmax(250px,.82fr) minmax(0,1.52fr);align-items:start;gap:clamp(28px,4.4vw,68px);padding:0 0 46px;margin-bottom:46px;border-bottom:1px solid #dce4e9}
.cover-well{position:sticky;top:76px;display:grid;place-items:center;padding:30px 20px;background:linear-gradient(135deg,#f4f3ef,#eeede8);border-radius:2px}
.cover-well a{display:grid;place-items:center;width:100%}.cover-image{max-width:100%;width:auto;height:auto;max-height:490px;box-shadow:2px 3px 5px #352e241f,8px 12px 20px -4px #40362935}
.copy{min-width:0;color:#242d36}
.issued{display:inline-block;vertical-align:middle;margin:0 0 12px;color:#62707a;font-size:13px;letter-spacing:.04em}
.synopsis{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.synopsis p{margin:0 0 12px}.synopsis p:first-child b{color:#344d5e}.synopsis summary{display:list-item;cursor:pointer;font-size:14px;color:#255d81}
.purchase{margin-top:22px;border-top:1px solid #cad5dc;padding-top:15px}.purchase h3{font-size:17px;font-weight:700;margin:0 0 12px}


@media(max-width:760px){
 :root{--gutter:16px}header{height:70px}header::after{width:70px}
 nav.nav{flex-wrap:nowrap;overflow:auto;gap:14px}.nav-tabs .nav-link{white-space:nowrap;font-size:14px}
 main{padding-top:22px}.book{grid-template-columns:minmax(0,1fr);gap:18px}
 .cover-well{position:static;padding:16px}.cover-image{max-height:325px}
 .synopsis{line-height:1.85}

}
@font-face {
  font-family: Catalog Sans;
  src: local("Noto Sans JP"), local("Noto Sans JP Regular");
  font-weight: 100 900;
  font-display: swap;
}
body, .nav-tabs, .copy, .shelf, .copy h2, .purchase h3, .issued {
  font-family: "Catalog Sans", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.synopsis { font-weight: 400; line-height: 1.88; letter-spacing: .012em }
.synopsis b { font-weight: 640 }
.issued, .nav-tabs .nav-link { font-weight: 500 }
.price-matrix { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums }
.price-matrix th, .price-matrix td { text-align: right; padding: 10px 12px; border-bottom: 1px solid #d9e1e6 }
.price-matrix thead th { background: #f1f5f7; color: #465967; font-size: 13px; font-weight: 550; white-space: nowrap }
.price-matrix th:first-child { text-align: left }
.price-matrix tbody th { width: 31% }
.price-matrix img { display: block; width: 146px; max-width: 100%; height: auto }
.price-matrix a { display: inline-block; vertical-align: middle; max-width: 100% }
.price-matrix td { white-space: nowrap; font-weight: 570 }
.price-matrix small { font-size: .76em; font-weight: 400; margin-left: .15em }
.price-matrix .terms { white-space: pre-line; text-align: left; font-size: 14px }
.price-matrix .empty { color: #788995 }
.price-matrix tr:focus-within, .price-matrix tbody tr:hover { background: #f5f9fc }
@media(max-width:760px) {
  .price-matrix { font-size: 14px }
  .price-matrix td, .price-matrix th { padding: 9px 4px }
  .price-matrix thead th { font-size: 12px }
  .price-matrix img { width: 108px }
}

.shelf {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin: 0 16px 16px 0;
  vertical-align: baseline;
  color: #fff; background: #235886; padding: .15em .48em .2em; border-radius: 2px;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 610;
  line-height: 1.2;
  letter-spacing: .05em;
}
.shelf.release { background: #2d5c9e }
.copy .book-title {
  border-bottom: 1px solid #dce5ed;
  padding-bottom: 12px;
  margin: 0 0 16px;
  color: #171819;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.32;
  font-weight: 680;
  letter-spacing: -.032em;
  line-break: strict;
  text-wrap: wrap;
}
.series-volume { white-space: nowrap }
.volume { font-size: .68em; font-weight: 520; letter-spacing: -.06em }
.subtitle {
  display: block;
  margin-top: .4em;
  font-size: .64em;
  font-weight: 540;
  line-height: 1.5;
  letter-spacing: .025em;
  color: #1f5487;
}
@media (max-width: 760px) {
  .shelf { margin-bottom: 12px }
  .copy .book-title { font-size: clamp(27px, 7.5vw, 36px) }
}

.catalog-mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 108px;
  margin: 0;
  padding-inline: var(--gutter);
  background: white;
}
.catalog-mast img.logo { width: clamp(200px, 25vw, 330px); height: auto }
.catalog-mast::after { width: 94px; align-self: end }
nav.nav {
  justify-content: flex-start;
  background: #fff;
  border-color: #e0e8ef;
  gap: clamp(10px, 2vw, 28px);
}
.nav-tabs .nav-link, .nav-tabs .nav-link.active {
  padding: 11px 1px;
  background: transparent;
  color: #32495d;
}
.nav-tabs .nav-link.active { color: #234d80; box-shadow: inset 0 -3px #2d5c9e }
.nav-tabs .nav-link:hover { color: #1f5487; background: #f5f9fc }
.nav-tabs .nav-link:focus-visible { outline: 2px solid #234d80; outline-offset: -3px }
@media (max-width: 650px) {
  .catalog-mast { height: 76px }
  .catalog-mast img.logo { width: min(60vw, 228px) }
  .catalog-mast::after { width: 64px }
  nav.nav { flex-wrap: wrap; gap: 0 15px }
  .nav-tabs .nav-link, .nav-tabs .nav-link.active { padding: 7px 1px }
}
.title-separator { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden }

.subtitle { word-break: auto-phrase }
.subtitle-phrase { display: inline-block; max-width: 100% }

nav.nav { gap: 0 6px }
.nav-tabs .nav-link, .nav-tabs .nav-link.active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 15px;
  font-size: 16px;
}
.price-matrix tbody tr { position: relative }
.price-matrix tbody th { width: 36% }
.price-matrix tbody th, .price-matrix tbody td { height: 60px; padding: 9px 8px }
.price-matrix img { width: 188px }
.store-link::after { content: ""; position: absolute; inset: 0; cursor: pointer }
.store-link:focus-visible::after { outline: 2px solid #2d5c9e; outline-offset: -2px }
@media (max-width: 760px) {
  nav.nav { flex-wrap: wrap; gap: 0 2px }
  .nav-tabs .nav-link, .nav-tabs .nav-link.active { min-height: 48px; padding: 10px 9px; font-size: 15px }
  .price-matrix img { width: 152px }
  .price-matrix tbody th, .price-matrix tbody td { padding: 8px 4px }
}