:root {
  --ink: #10233f;
  --ink-soft: #33445b;
  --gold: #ad8950;
  --gold-pale: #e7dbc7;
  --paper: #f8f6f1;
  --white: #fff;
  --line: #d9d7d0;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", Georgia, serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --shell: min(1180px, calc(100% - 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #c99b42; outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; color: var(--white); background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 10;
  border-bottom: 1px solid rgba(16, 35, 63, .13);
}
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-family: Georgia, serif; font-size: .94rem; font-weight: 700; letter-spacing: .14em; text-decoration: none; }
.brand-mark { position: relative; display: inline-block; width: 29px; height: 29px; border-radius: 50%; background: var(--ink); }
.brand-mark::after { content: ""; position: absolute; width: 21px; height: 21px; top: 1px; left: 11px; border-radius: 50%; background: var(--paper); }
.brand-mark span { position: absolute; z-index: 1; width: 16px; height: 16px; top: 7px; left: 10px; border-radius: 50%; border: 2px solid var(--ink); }
.brand-mark span::after { content: ""; position: absolute; width: 12px; height: 12px; top: -1px; left: 5px; border-radius: 50%; background: var(--paper); }
.nav-list { display: flex; gap: clamp(18px, 3vw, 42px); margin: 0; padding: 0; list-style: none; }
.nav-list a { font-family: Georgia, serif; font-size: .82rem; letter-spacing: .1em; text-decoration: none; }
.nav-list a:hover { color: var(--gold); }

.hero { position: relative; min-height: 780px; padding-top: 90px; overflow: hidden; background: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 90px 0 0 62%; border-left: 1px solid rgba(16, 35, 63, .12); background: linear-gradient(135deg, transparent 0 48%, rgba(173,137,80,.07) 48% 51%, transparent 51%); }
.hero-grid { position: relative; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; min-height: 640px; padding-block: 84px 74px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 18px; }
.eyebrow, .section-number { margin: 0 0 24px; color: var(--gold); font-family: Georgia, serif; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.1rem, 5.2vw, 4.7rem); font-weight: 500; letter-spacing: -.06em; line-height: 1.24; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1::after { content: ""; display: block; width: 68px; height: 1px; margin: 34px 0; background: var(--gold); }
.hero-lead { margin: 0 0 38px; color: var(--ink-soft); font-family: var(--serif); font-size: 1.02rem; line-height: 2.1; }
.text-link { display: inline-block; font-family: var(--sans); font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid var(--gold); }
.text-link span { display: inline-block; margin-left: 9px; color: var(--gold); transition: transform .2s ease; }
.text-link:hover span { transform: translateY(4px); }
.hero-books { position: relative; min-height: 550px; perspective: 1100px; }
.hero-book { position: absolute; margin: 0; box-shadow: 0 24px 55px rgba(16,35,63,.22); }
.hero-book-link { display: block; width: 100%; text-decoration: none; }
.hero-book img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; transition: transform .22s ease, filter .22s ease; }
.hero-book-link:hover img, .hero-book-link:focus-visible img { transform: scale(1.025); filter: brightness(1.04); }
.hero-book-back { width: 225px; top: 54px; left: 4%; transform: rotate(-7deg); }
.hero-book-main { z-index: 2; width: 286px; top: 4px; left: 32%; transform: rotate(2deg); }
.hero-book-front { z-index: 3; width: 202px; top: 122px; right: 0; transform: rotate(8deg); }
.hero-rule { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; padding: 15px max(24px, calc((100% - 1180px) / 2)); color: rgba(255,255,255,.78); background: var(--ink); font-family: Georgia, serif; font-size: .66rem; letter-spacing: .22em; }

.section { padding-block: clamp(90px, 12vw, 160px); scroll-margin-top: 24px; }
.about { border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 10vw, 150px); }
.section h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 4.2vw, 4.7rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.35; }
.about-copy { padding-top: 48px; }
.about-copy p { margin: 0 0 1.4em; font-family: var(--serif); font-size: clamp(1.05rem, 1.45vw, 1.24rem); line-height: 2.25; }
.about-copy p:first-child::first-letter { float: left; margin: .08em .16em 0 0; color: var(--gold); font-family: Georgia, serif; font-size: 4.3em; line-height: .72; }

.collection { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 72px; }
.section-note { margin: 0 0 8px; color: var(--ink-soft); font-family: var(--serif); font-size: .98rem; line-height: 1.9; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 74px 30px; }
.book-card { min-width: 0; }
.book-cover-wrap { position: relative; margin-bottom: 25px; padding: 0 12px; }
.book-cover-wrap::before { content: attr(data-number); position: absolute; z-index: 2; top: -14px; left: 0; display: grid; place-items: center; width: 42px; height: 42px; color: var(--white); background: var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: .68rem; letter-spacing: .08em; }
.book-cover-link { display: block; text-decoration: none; }
.book-cover { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; box-shadow: 0 17px 34px rgba(16,35,63,.16); transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
.book-cover-link:hover .book-cover, .book-cover-link:focus-visible .book-cover { transform: translateY(-5px); box-shadow: 0 24px 42px rgba(16,35,63,.2); filter: brightness(1.035); }
.book-series { min-height: 1.7em; margin: 0 0 8px; color: var(--gold); font-size: .67rem; font-weight: 700; letter-spacing: .1em; }
.book-title { margin: 0 0 13px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; }
.book-subtitle { display: block; margin-top: .32em; color: var(--ink-soft); font-size: .76em; font-weight: 400; line-height: 1.65; }
.book-description { margin: 0 0 18px; color: #4e5969; font-size: .83rem; line-height: 1.8; }
.book-link { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; border-bottom: 1px solid var(--gold); }
.book-link span { color: var(--gold); }
.book-unavailable { margin: 0; color: #777c83; font-size: .72rem; }
.noscript-note { padding: 20px; border: 1px solid var(--line); background: var(--white); }

.series { overflow: hidden; color: var(--white); background: var(--ink); }
.series-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.section-number-light { color: #d2b77f; }
.series-kicker { margin: 0 0 18px; color: #d2b77f; font-family: Georgia, serif; font-size: .72rem; letter-spacing: .23em; }
.series h2 { margin-bottom: 36px; color: var(--white); }
.series h2 span { color: #d8b870; }
.series-copy > p:not(.section-number):not(.series-kicker):not(.series-caution) { margin: 0; color: rgba(255,255,255,.78); font-family: var(--serif); font-size: 1.03rem; line-height: 2.15; }
.series-caution { margin: 28px 0 0; color: rgba(255,255,255,.53); font-size: .72rem; line-height: 1.8; }
.series-shelf { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; min-height: 500px; }
.series-shelf::after { content: ""; position: absolute; inset: auto -50vw -16px -20px; height: 18px; background: #d2b77f; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.series-book-link { display: block; width: 123%; max-width: none; transform-origin: bottom center; text-decoration: none; }
.series-book-link img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; box-shadow: 0 16px 28px rgba(0,0,0,.32); transition: transform .22s ease, filter .22s ease; }
.series-book-link:nth-child(1) { transform: rotate(-6deg) translateX(4px); }
.series-book-link:nth-child(2) { transform: rotate(3deg) translateY(-28px); }
.series-book-link:nth-child(3) { transform: rotate(-2deg) translateY(10px); }
.series-book-link:nth-child(4) { transform: rotate(7deg) translate(-8px, -16px); }
.series-book-link:hover img, .series-book-link:focus-visible img { transform: translateY(-5px) scale(1.02); filter: brightness(1.05); }

.author { background: var(--white); }
.author-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 140px); align-items: center; }
.author-photo { position: relative; margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.author-photo::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.52); pointer-events: none; }
.author-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.82) contrast(1.02); }
.author-copy h2 { margin-bottom: 22px; }
.author-copy > p:not(.section-number):not(.provisional-label) { max-width: 610px; margin: 0 0 36px; color: var(--ink-soft); font-family: var(--serif); font-size: 1rem; line-height: 2.15; }
.provisional-label { display: inline-block; margin: 0 0 16px; padding: 4px 10px; color: #695a42; background: #f2eadb; font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 23px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; transition: color .2s ease, background .2s ease; }
.button-outline { border: 1px solid var(--ink); }
.button-outline:hover { color: var(--white); background: var(--ink); }

.site-footer { padding: 78px 0 24px; color: var(--white); background: #09182b; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; padding-bottom: 70px; }
.brand-footer { color: var(--white); }
.brand-mark-light { background: var(--white); }
.brand-mark-light::after, .brand-mark-light span::after { background: #09182b; }
.brand-mark-light span { border-color: var(--white); }
.footer-grid p { margin: 18px 0 0; color: rgba(255,255,255,.53); font-family: var(--serif); font-size: .9rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; justify-self: end; }
.footer-links a { color: rgba(255,255,255,.82); font-size: .78rem; text-decoration: none; }
.footer-links a:hover { color: #d8b870; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); }
.footer-bottom small, .footer-bottom a { color: rgba(255,255,255,.48); font-family: Georgia, serif; font-size: .66rem; letter-spacing: .08em; text-decoration: none; }

@media (max-width: 980px) {
  .hero { min-height: 760px; }
  .hero-grid { grid-template-columns: .9fr 1.1fr; }
  .hero-books { min-height: 460px; }
  .hero-book-back { width: 185px; }
  .hero-book-main { width: 225px; left: 30%; }
  .hero-book-front { width: 160px; }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .series-grid { grid-template-columns: 1fr; }
  .series-copy { max-width: 700px; }
  .series-shelf { width: 82%; margin: 0 auto; min-height: 390px; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 32px, 620px); }
  .site-header { position: relative; background: var(--paper); }
  .header-inner { min-height: 72px; }
  .brand { font-size: .73rem; gap: 9px; }
  .brand-mark { width: 24px; height: 24px; transform: scale(.84); }
  .nav-list { gap: 13px; }
  .nav-list a { font-size: .65rem; }
  .hero { min-height: auto; padding-top: 0; }
  .hero::before { inset: 0 0 0 50%; }
  .hero-grid { display: block; min-height: 0; padding-block: 70px 105px; }
  .hero-copy { padding-bottom: 62px; }
  .hero h1 { font-size: clamp(3rem, 11.5vw, 4.5rem); }
  .hero-lead { font-size: .94rem; }
  .desktop-only { display: none; }
  .hero-books { min-height: 390px; width: min(100%, 500px); margin: 0 auto; }
  .hero-book-back { width: 42%; top: 50px; left: 0; }
  .hero-book-main { width: 53%; left: 24%; }
  .hero-book-front { width: 37%; top: 96px; right: 0; }
  .hero-rule { padding-inline: 16px; font-size: .52rem; }
  .section { padding-block: 88px; }
  .about-grid, .author-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-copy { padding-top: 0; }
  .section-head { display: block; margin-bottom: 52px; }
  .section-note { margin-top: 20px; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px 20px; }
  .book-cover-wrap { padding-inline: 4px; }
  .book-title { font-size: 1rem; }
  .book-description { font-size: .76rem; }
  .series-shelf { width: 100%; min-height: 310px; }
  .author-photo { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { justify-self: start; }
}

@media (max-width: 430px) {
  .nav-list li:nth-child(1), .nav-list li:nth-child(3) { display: none; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3rem); }
  .hero-books { min-height: 310px; }
  .book-grid { gap: 48px 14px; }
  .book-cover-wrap::before { top: -10px; width: 34px; height: 34px; }
  .book-series { min-height: auto; }
  .book-description { display: none; }
  .series-shelf { min-height: 235px; }
  .footer-bottom { flex-direction: column; }
}

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