/* ---------- 基本 ---------- */
:root {
  --ink: #201c22;
  --paper: #f7f4f1;
  --paper-2: #fbf9f7;
  --cream: #eee6df;
  --blush: #e9dfda;
  --wine: #7f384d;
  --wine-dark: #682b40;
  --rose: #b88988;
  --line: #ddd3cd;
  --muted: #6e6668;
  --serif: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --latin: "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.8; }
body.locked { overflow: hidden; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
main:focus { outline: none; }
img { max-width: 100%; }
button { font: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.eyebrow { display: block; color: var(--wine); font: 700 10px/1.5 var(--latin); letter-spacing: .22em; }
.lead { color: var(--muted); font-size: 15px; margin: 0; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 28px;
  min-height: 52px; padding: 14px 26px; border: 0; text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer;
  transition: background .2s, transform .2s;
}
.primary { background: var(--wine); color: #fff; }
.primary:hover { background: var(--wine-dark); }
.ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.ghost:hover { background: var(--ink); color: #fff; }

/* ---------- ヘッダー ---------- */
.header { background: var(--paper-2); border-bottom: 1px solid #eae1dc; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.header-inner { height: 80px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 19px/1.25 var(--serif); white-space: nowrap; }
.brand small { display: block; font: 8px var(--latin); letter-spacing: .26em; margin-top: 5px; color: #8a7479; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--wine); color: #fff; font-size: 20px; font-family: var(--serif); }
.header nav { margin-left: auto; display: flex; gap: 30px; font-size: 13px; font-weight: 600; }
.header nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.header nav a:hover, .header nav a[aria-current] { border-bottom-color: var(--wine); color: var(--wine); }
.age-label { flex: none; border: 1px solid #bfaeb0; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; font: 11px var(--latin); color: var(--wine); }
.pr-notice { text-align: center; background: var(--blush); color: #5d3940; font-size: 12px; padding: 7px 16px; }

/* ---------- トップ ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { font: 600 clamp(32px, 4.2vw, 52px)/1.5 var(--serif); letter-spacing: .04em; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--wine); }
.intro { font-size: 15px; line-height: 2.1; color: var(--muted); margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 34px 0 0; font-size: 12px; color: var(--muted); }
.hero-points li::before { content: "—"; color: var(--rose); margin-right: 8px; }

.hero-art { position: relative; aspect-ratio: 1 / .92; background: #e2d1ca; overflow: hidden; }
.hero-art::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; right: -30%; top: -35%; border-radius: 50%; background: #ead9d1; }
.hero-art::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: -18%; bottom: -30%; border-radius: 50%; background: #c99d9b; opacity: .55; }
.shelf { position: absolute; inset: 0; z-index: 1; display: flex; justify-content: center; align-items: center; }
.book {
  position: absolute; width: 36%; aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px; background: var(--paper-2); color: var(--ink); text-decoration: none;
  box-shadow: 0 18px 40px rgba(72, 34, 46, .22); transition: transform .35s;
}
.book b { font: 600 clamp(18px, 2.2vw, 26px)/1.3 var(--serif); }
.book i { font: 700 9px var(--latin); letter-spacing: .22em; font-style: normal; color: var(--wine); }
.book span { display: block; height: 1px; background: var(--line); margin: 6px 0; }
.book img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.book.cover { padding: 0; overflow: hidden; }
.book:nth-child(1) { transform: translate(-58%, 4%) rotate(-9deg); background: #f3e9e3; }
.book:nth-child(2) { transform: translate(0, -6%) rotate(1deg); z-index: 2; background: var(--wine); color: #fff; }
.book:nth-child(2) i { color: #f1d4da; }
.book:nth-child(2) span { background: #ffffff40; }
.book:nth-child(3) { transform: translate(58%, 6%) rotate(8deg); background: #fff; }
.hero-art:hover .book:nth-child(1) { transform: translate(-64%, 3%) rotate(-11deg); }
.hero-art:hover .book:nth-child(3) { transform: translate(64%, 5%) rotate(10deg); }
.art-stamp { position: absolute; z-index: 3; right: 0; top: 0; background: var(--paper); color: var(--wine); font: 700 10px/1.5 var(--latin); padding: 16px 18px; letter-spacing: .14em; }

.section { padding-top: 88px; padding-bottom: 88px; }
.section + .section { padding-top: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-heading h2 { font: 600 clamp(25px, 3vw, 34px)/1.5 var(--serif); margin: 8px 0 0; }
.section-heading > p { color: var(--muted); font-size: 13px; margin: 0; text-align: right; }
.more { color: var(--wine); font-weight: 700; text-decoration: none; font-size: 13px; white-space: nowrap; }
.more:hover { text-decoration: underline; }

.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.guide-card {
  background: #fff; padding: 30px; min-height: 260px; border-top: 3px solid #c7a3a3;
  display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.guide-card:hover { border-top-color: var(--wine); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(72, 34, 46, .08); }
.guide-number { font: 10px var(--latin); letter-spacing: .18em; color: var(--wine); }
.guide-card h3 { font: 600 19px/1.6 var(--serif); margin: 22px 0 10px; }
.guide-card p { color: var(--muted); font-size: 13px; line-height: 2; margin: 0 0 20px; }
.guide-end { border-top: 1px solid #eee6e2; margin-top: auto; padding-top: 14px; color: #766469; font-size: 11px; display: flex; justify-content: space-between; }
.guide-card:hover .guide-end { color: var(--wine); }

.discover { background: var(--blush); padding: 84px 0; }
.discover-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.discover h2 { font: 600 clamp(26px, 3.2vw, 36px)/1.55 var(--serif); margin: 12px 0 16px; }
.discover p { font-size: 14px; color: var(--muted); line-height: 2.1; }
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin: 0; }
.formats a { display: flex; flex-direction: column; gap: 6px; background: var(--paper-2); padding: 26px 24px; text-decoration: none; height: 100%; transition: background .2s; }
.formats a:hover { background: #fff; }
.formats a:hover strong { color: var(--wine); }
.formats i { font: 700 9px var(--latin); letter-spacing: .22em; color: var(--wine); font-style: normal; }
.formats strong { font: 600 20px var(--serif); }
.formats span { font-size: 12px; color: var(--muted); line-height: 1.8; }

.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise div { padding: 30px 28px; }
.promise div + div { border-left: 1px solid var(--line); }
.promise b { display: block; font: 600 17px var(--serif); margin: 10px 0 6px; }
.promise p { margin: 0; font-size: 13px; color: var(--muted); line-height: 2; }

.about-band { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.about-band h2 { font: 600 clamp(25px, 3vw, 34px)/1.5 var(--serif); margin: 8px 0 0; }
.about-band p { font-size: 14px; color: var(--muted); line-height: 2.1; margin: 0 0 14px; }
.about-band a { color: var(--wine); }

/* ---------- 一覧・カード ---------- */
.catalog { padding-top: 40px; padding-bottom: 96px; }
.breadcrumb { font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--wine); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.catalog-head { margin: 22px 0 34px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.catalog-head h1 { font: 600 clamp(26px, 3.4vw, 38px)/1.5 var(--serif); margin: 10px 0 8px; }
.work-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 30px 18px; }
.work-card { position: relative; display: flex; flex-direction: column; font-size: 13px; line-height: 1.6; }
.work-link { text-decoration: none; color: inherit; }
.work-link:hover .work-title { color: var(--wine); }
.work-link:hover .work-thumb { box-shadow: 0 0 0 2px var(--wine); }
.work-thumb { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--cream); overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .35s; }
.work-noimage { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; color: #a8989b; font: 700 10px var(--latin); letter-spacing: .2em; }
.work-rank { position: absolute; left: 0; top: 0; z-index: 1; min-width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 14px var(--serif); }
.work-rank.top { background: var(--wine); }
.work-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; margin-top: 10px; }
.work-circle { font-size: 12px; color: var(--muted); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-circle:hover { text-decoration: underline; }
.work-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 4px; }
.work-price { font-weight: 700; color: var(--wine); }
.work-price s { color: var(--muted); font-weight: 400; font-size: 11px; margin-left: 4px; }
.work-review { font-size: 11px; color: var(--muted); white-space: nowrap; }
.work-review::before { content: "★"; color: #c08a3e; margin-right: 2px; }
.work-sale { position: absolute; right: 0; top: 0; background: var(--wine); color: #fff; font: 700 10px var(--latin); letter-spacing: .1em; padding: 5px 9px; }
.work-sale.inline { position: static; display: inline-block; vertical-align: middle; margin-left: 6px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 52px; font-size: 13px; }
.pager a, .pager span { min-width: 40px; padding: 8px 10px; text-align: center; background: #fff; text-decoration: none; }
.pager a:hover { color: var(--wine); }
.pager [aria-current] { background: var(--wine); color: #fff; }
.empty { background: var(--paper-2); border: 1px dashed var(--line); padding: 56px 32px; text-align: center; color: var(--muted); }
.empty-icon { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 6px; background: var(--wine); color: #fff; font: 600 22px var(--serif); }
.empty strong { display: block; font: 600 18px var(--serif); color: var(--ink); margin: 6px 0; }
.empty p { margin: 0 0 22px; font-size: 13px; }
.fetched { font-size: 11px; color: var(--muted); margin-top: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tag { display: inline-block; background: #fff; border: 1px solid var(--line); padding: 4px 13px; font-size: 12px; text-decoration: none; transition: border-color .2s, color .2s; }
.tag:hover { border-color: var(--wine); color: var(--wine); }
.tag small { color: var(--muted); margin-left: 4px; }
.genre-index { gap: 10px; }
.genre-index .tag { padding: 8px 16px; font-size: 13px; }

/* ---------- 作品詳細 ---------- */
.work-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 52px; align-items: start; margin-top: 26px; }
.work-cover { display: block; background: var(--cream); position: sticky; top: 104px; }
.work-cover img { width: 100%; display: block; }
.work-cover .work-noimage { aspect-ratio: 3 / 4; }
.pr-label { display: inline-block; border: 1px solid var(--wine); color: var(--wine); font: 700 10px var(--latin); letter-spacing: .15em; padding: 2px 8px; }
.work-body h1 { font: 600 clamp(22px, 2.6vw, 30px)/1.6 var(--serif); margin: 14px 0 6px; }
.work-byline { font-size: 14px; color: var(--muted); margin: 0; }
.work-byline a { color: var(--wine); }
.price-box { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 22px 0 14px; }
.price-box strong { font: 700 30px var(--latin); color: var(--wine); }
.price-box strong small { font-size: 15px; margin-left: 2px; }
.price-box s { color: var(--muted); font-size: 13px; }
.price-box .off { font-size: 12px; font-weight: 700; color: var(--wine); }
.cta { width: 100%; font-size: 15px; min-height: 58px; }
.cta-note { font-size: 11px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.info { display: grid; grid-template-columns: 8.5em 1fr; margin: 26px 0 0; background: #fff; font-size: 13px; border-top: 1px solid #eee6e2; }
.info dt, .info dd { margin: 0; padding: 11px 16px; border-bottom: 1px solid #eee6e2; }
.info dt { color: var(--muted); font-weight: 700; background: #f6f1ed; }
.info a { color: var(--wine); }
.checklist { margin-top: 30px; background: var(--paper-2); border: 1px solid var(--line); padding: 22px 24px; }
.checklist h2 { font: 600 16px var(--serif); margin: 0 0 8px; }
.checklist ul { margin: 0; padding-left: 1.2em; font-size: 13px; color: var(--muted); line-height: 2; }
.checklist a { color: var(--wine); font-size: 12px; }
.samples, .related { margin-top: 72px; }
.samples h2, .related h2 { font: 600 22px var(--serif); margin: 0 0 20px; }
.samples ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.samples a { display: block; background: var(--cream); }
.samples img { width: 100%; display: block; }

/* ---------- 記事 ---------- */
.article { max-width: 820px; padding-top: 40px; padding-bottom: 96px; }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin: 26px 0 36px; }
.article-head h1 { font: 600 clamp(26px, 3.6vw, 38px)/1.5 var(--serif); margin: 12px 0 14px; }
.meta { font-size: 11px; color: var(--muted); margin: 14px 0 0; }
.toc { background: #fff; padding: 22px 28px; margin: 0 0 40px; border-left: 3px solid var(--wine); }
.toc strong { font: 700 10px var(--latin); letter-spacing: .22em; color: var(--wine); }
.toc ol { margin: 8px 0 0; padding-left: 1.4em; font-size: 14px; line-height: 2; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--wine); text-decoration: underline; }
.prose { font-size: 15px; line-height: 2.1; }
.prose h2 { font: 600 23px/1.6 var(--serif); margin: 56px 0 14px; padding-left: 14px; border-left: 3px solid var(--wine); scroll-margin-top: 100px; }
.prose h3 { font-size: 16px; margin: 32px 0 6px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: 6px 0; }
.prose a { color: var(--wine); }
.prose dl { margin: 20px 0; }
.prose dt { font-weight: 700; margin-top: 18px; }
.prose dd { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.prose .info { margin: 20px 0; }
.prose .info dt, .prose .info dd { margin: 0; color: inherit; font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 13px; line-height: 1.8; background: #fff; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--cream); white-space: nowrap; }
.note { background: #fff; border-left: 3px solid #c7a3a3; padding: 14px 20px; font-size: 13px; color: var(--muted); margin: 24px 0; }
.todo { background: #fff3c4; outline: 1px dashed #b8860b; }
.next { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 24px; }
.next h2 { font: 700 10px var(--latin); letter-spacing: .22em; color: var(--wine); margin: 0; }
.next ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.next a { display: flex; justify-content: space-between; gap: 16px; background: #fff; padding: 18px 22px; text-decoration: none; font-weight: 600; font-size: 14px; }
.next a::after { content: "→"; color: var(--wine); }
.next a:hover { color: var(--wine); }

/* ---------- フッター ---------- */
footer { background: #272127; color: #e8dfe0; padding: 44px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 12px; }
.footer-brand { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: #e8dfe0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-sub { font-size: 11px; color: #9d9195; margin-top: 22px; padding-top: 18px; border-top: 1px solid #3a3139; line-height: 1.9; }
.footer-sub a { color: #c9bec1; }

/* ---------- 年齢確認 ---------- */
.age-overlay { position: fixed; z-index: 100; inset: 0; background: rgba(24, 18, 23, .92); display: grid; place-items: center; padding: 20px; }
.age-overlay[hidden] { display: none; }
.age-box { background: var(--paper); width: min(100%, 460px); padding: 46px 44px; text-align: center; box-shadow: 0 20px 70px #0006; border-top: 4px solid var(--wine); }
.age-box .age-title { font: 600 28px var(--serif); margin: 16px 0; color: var(--ink); }
.age-box p { font-size: 13px; color: var(--muted); line-height: 2; }
.age-box .button { width: 100%; margin-top: 10px; }
.back { display: block; font-size: 12px; margin-top: 20px; }
.age-box .age-small { font-size: 10px; margin-top: 24px; }

/* ---------- 狭い画面 ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
  .hero-art { aspect-ratio: 16 / 10; }
  .book { width: 26%; }
  .discover-inner, .about-band { grid-template-columns: 1fr; gap: 28px; }
  .promise { grid-template-columns: 1fr; }
  .promise div + div { border-left: 0; border-top: 1px solid var(--line); }
  .work-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .work-cover { position: static; max-width: 360px; width: 100%; margin: 0 auto; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .header-inner { height: auto; flex-wrap: wrap; gap: 0 12px; padding-top: 12px; }
  .age-label { margin-left: auto; }
  .header nav { order: 3; width: 100%; margin: 6px -18px 0; padding: 0 18px; gap: 22px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .header nav::-webkit-scrollbar { display: none; }
  .header nav a { padding: 10px 0 12px; font-size: 13px; }
  .pr-notice { font-size: 11px; }
  .hero { padding-bottom: 8px; }
  .hero h1 { font-size: 31px; }
  .intro { font-size: 14px; }
  .hero-art { aspect-ratio: 4 / 3; }
  .book { width: 34%; padding: 12px; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .section-heading { display: block; }
  .section-heading > p { text-align: left; margin-top: 10px; }
  .guide-card { min-height: 0; }
  .discover { padding: 60px 0; }
  .formats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .formats a { padding: 18px 16px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .info { grid-template-columns: 7.5em 1fr; }
  .info dt, .info dd { padding: 10px 12px; }
  .prose { font-size: 14.5px; }
  .toc { padding: 18px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .age-box { padding: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
