/* 関西評論 — one column of Japanese text, a masthead, and very little else. */

:root {
  --paper: #f6f3ec;
  --ink: #1c1a17;
  --soft: #5f5a52;
  --rule: #dad3c6;
  --accent: #7a2e1f;          /* 弁柄 — labels, links, the cover */
  --cover-ink: #f4efe5;
  /* web font first; then the Mincho that Macs, iPhones, Windows and Android already have */
  --mincho: "Noto Serif JP", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho",
            "Noto Serif CJK JP", "Source Han Serif JP", "BIZ UDPMincho", "MS PMincho", serif;
  --gothic: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic",
            "Noto Sans JP", "Meiryo", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171512; --ink: #e9e4da; --soft: #a69f93; --rule: #3b3731; --accent: #d9826b;
  }
}
:root[data-theme="dark"] {
  --paper: #171512; --ink: #e9e4da; --soft: #a69f93; --rule: #3b3731; --accent: #d9826b;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--mincho); font-size: 18px; line-height: 1.7;
  font-feature-settings: "palt" 0;
  line-break: strict; word-break: normal; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.small { font-family: var(--gothic); font-size: 13px; color: var(--soft); letter-spacing: .04em; }
.label { display: block; font-family: var(--gothic); font-size: 12px; letter-spacing: .14em; color: var(--accent); margin: 0 0 .35em; }

/* ---------- masthead ---------- */
.masthead { border-bottom: 1px solid var(--ink); }
.mast { display: block; text-align: center; padding: 34px 0 18px; }
.mast:hover { color: inherit; }
.mast-name {
  display: block; font-weight: 900; font-size: 46px; line-height: 1.1; letter-spacing: .3em;
  margin-right: -.3em;  /* letter-spacing leaves a gap after the last character */
}
.mast-tag {
  display: block; margin-top: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 12px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--soft); margin-right: -.34em;
}
.nav { border-top: 1px solid var(--rule); padding: 9px 0; font-family: var(--gothic); font-size: 14px; letter-spacing: .08em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 28px; }

/* ---------- issue / home ---------- */
.issue { display: grid; grid-template-columns: 340px 1fr; gap: 56px; padding: 44px 0 64px; }
.issue-head { font-family: var(--gothic); font-size: 14px; letter-spacing: .1em; color: var(--soft); margin: 0 0 10px; }
.issue-head b { color: var(--ink); font-weight: 600; margin-right: .6em; }
.issue-note { font-size: 15px; color: var(--soft); margin: 0 0 8px; }
.contents { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.entry { border-bottom: 1px solid var(--rule); }
.entry a { display: block; padding: 16px 0 18px; }
.entry-author { display: block; font-family: var(--gothic); font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.entry-title { display: block; font-size: 26px; line-height: 1.35; font-weight: 600; margin-top: 3px; }
.entry-books { display: block; font-size: 15px; color: var(--soft); margin-top: 4px; }

.cover {
  display: flex; flex-direction: column; aspect-ratio: 2 / 3; padding: 26px 24px 22px;
  background: var(--cover); color: var(--cover-ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.15), 0 10px 30px -12px rgba(0,0,0,.35);
}
.cover:hover { color: var(--cover-ink); }
.cover-name { font-size: 40px; font-weight: 900; letter-spacing: .26em; line-height: 1.15; }
.cover-tag { font-family: Georgia, serif; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-top: 8px; }
.cover-issue { font-size: 15px; letter-spacing: .12em; margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(244,239,229,.45); }
.cover-issue em { font-style: normal; opacity: .75; margin-left: .8em; }
.cover-list { list-style: none; margin: auto 0 0; padding: 0; font-size: 15px; line-height: 1.5; }
.cover-list li { margin-top: 10px; }
.cover-list b { display: block; font-family: var(--gothic); font-size: 11px; font-weight: 600; letter-spacing: .14em; opacity: .75; }

.page-title { font-size: 30px; font-weight: 600; margin: 44px 0 24px; }
.archive { list-style: none; padding: 0; margin: 0 0 64px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.archive .cover { padding: 18px 16px; }
.archive .cover-name { font-size: 28px; }
.archive .cover-list { font-size: 13px; }

/* ---------- article ---------- */
.article { max-width: 36em; margin: 0 auto; padding: 48px 0 72px; }
.article-head { text-align: center; margin-bottom: 40px; }
.article-head .label a:hover { text-decoration: underline; }
.title { font-size: 38px; line-height: 1.3; font-weight: 600; margin: .2em 0 .45em; letter-spacing: .04em; }
.byline { font-family: var(--gothic); font-size: 14px; font-weight: 600; letter-spacing: .24em; margin: 0; }
.dek { font-size: 16px; line-height: 1.9; color: var(--soft); margin: 24px auto 0; max-width: 32em; text-align: justify; }
.books { list-style: none; padding: 12px 0; margin: 28px 0 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: left; font-size: 15px; }
.book-title { font-weight: 600; }
.book-by, .book-pub { color: var(--soft); }
.book-pub::before { content: "・"; }

.body { line-height: 1.95; }
.body p { margin: 0; text-indent: 1em; text-align: justify; }
.body p.q { text-indent: 0; }       /* a paragraph that opens with 「 starts flush */
.body h2 { font-size: 19px; font-weight: 600; text-align: center; letter-spacing: .1em; margin: 2.2em 0 1em; }
.body h3 { font-size: 16px; font-weight: 600; letter-spacing: .08em; margin: 1.8em 0 .6em; }
.body h2 + p, .body h3 + p { margin-top: 0; }
ruby rt { font-size: .5em; letter-spacing: 0; font-weight: 400; }
.body em { font-style: normal; }
.body em.bouten { -webkit-text-emphasis: filled sesame; text-emphasis: filled sesame; }
.body em.bousen { text-decoration: underline; text-underline-offset: .25em; }
.body .line-block { margin: 1em 0 1em 2em; line-height: 1.9; font-size: .92em; }
.body blockquote { margin: 1.2em 0; padding: 0 0 0 2em; color: var(--soft); }
.body blockquote p { text-indent: 0; }
.body .signature { text-align: right; margin: .6em 0 1em; color: var(--soft); font-size: 16px; }
.body .signature p { text-indent: 0; text-align: right; margin: 0; }
.body table { display: block; overflow-x: auto; border-collapse: collapse; margin: 1.2em 0; font-size: 14px; line-height: 1.5; }
.body th, .body td { border-bottom: 1px solid var(--rule); padding: 4px 10px 4px 0; text-align: left; white-space: nowrap; vertical-align: bottom; }
.body th { font-family: var(--gothic); font-size: 12px; font-weight: 600; white-space: normal; min-width: 4em; }
.body .frontcover { text-align: center; border: 1px solid var(--rule); padding: 1em; margin: 0 0 2em; }
.body .frontcover p, .body .colophon p { text-indent: 0; text-align: inherit; }
.body .colophon { font-size: 14px; color: var(--soft); border-top: 1px solid var(--rule); margin-top: 2em; padding-top: 1em; }
.body > p:last-of-type::after { content: ""; display: inline-block; width: .5em; height: .5em; background: var(--accent); margin-left: .5em; vertical-align: .05em; }
.article-foot { margin-top: 44px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.8; color: var(--soft); }
.article-foot p { margin: 0 0 6px; }
.article-foot a { color: var(--accent); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--ink); padding: 26px 0 40px; text-align: center; }
.motto { font-size: 17px; margin: 0 0 8px; letter-spacing: .1em; }

/* ---------- narrow screens ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .mast { padding: 24px 0 14px; }
  .mast-name { font-size: 34px; }
  .mast-tag { font-size: 10px; letter-spacing: .24em; margin-right: -.24em; }
  .nav ul { gap: 18px; }
  .issue { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; }
  .issue-cover { max-width: 260px; margin: 0 auto; width: 100%; }
  .cover-name { font-size: 32px; }
  .entry-title { font-size: 22px; }
  .article { padding-top: 32px; }
  .title { font-size: 29px; }
  .body .line-block { margin-left: 1em; }
}
