.oj {
  --ink: #212622;
  --sub: #58605c;
  --rule: #d9d9d0;
  --paper: #faf9f5;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  box-sizing: border-box;
  color: var(--ink);
  background: #fff;
  font: 400 16px/1.75 var(--sans);
  text-align: left;
  overflow-wrap: anywhere;
}
.oj *, .oj *::after, .oj *::before { box-sizing: border-box; }
.oj :is(h1,h2,h3,p,figure) { margin: 0; }
.oj a { color: inherit; text-decoration: none; }
.oj a:focus-visible { outline: 2px solid #8b5d3a; outline-offset: 4px; }
.oj-shell { width: min(1120px, 90%); margin-inline: auto; }
.oj-index { padding-block: clamp(36px, 5.5vw, 76px) clamp(60px, 8vw, 108px); }
.oj .oj-mast {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 24px;
  margin-bottom: clamp(22px, 3vw, 36px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}
.oj .oj-mast :is(h1,h2) {
  font: 400 clamp(44px, 6.6vw, 84px)/1.04 Georgia, "Times New Roman", serif;
  letter-spacing: -.065em;
}
.oj .oj-mast i { font-weight: 400; letter-spacing: -.06em; }
.oj .oj-mast p { color: var(--sub); font: 500 14px/1.6 var(--serif); letter-spacing: .12em; }
.oj .oj-card-link { display: grid; height: 100%; min-width: 0; }
.oj .oj-card-copy { min-width: 0; }
.oj .oj-thumb { overflow: hidden; background-color: #eae8e1; }
.oj .oj-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .32s ease; }
.oj .oj-weave {
  display: grid;
  place-items: center;
  color: #f3e5c5;
  background-color: #243635;
  background-image: repeating-linear-gradient(126deg, transparent 0 12px, #ddd7ab18 12px 13px, transparent 13px 17px),
                    repeating-linear-gradient(36deg, transparent 0 3px, #d7d6a80b 3px 4px);
}
.oj .oj-monogram { border: 1px solid #e6d5b380; padding: .5em .38em; font: 500 24px/1.1 var(--serif); letter-spacing: .05em; writing-mode: vertical-rl; }
.oj .oj-meta { display: flex; align-items: center; gap: 16px; color: var(--sub); font: 500 12px/1.6 var(--sans); letter-spacing: .09em; font-variant-numeric: tabular-nums; }
.oj .oj-new { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink); }
.oj .oj-new::before { content: ""; width: 18px; height: 2px; background: #a47346; }
.oj .oj-card-title { color: var(--ink); font: 500 22px/1.55 var(--serif); letter-spacing: .025em; }
.oj .oj-title-phrase {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
  line-break: strict;
  overflow-wrap: anywhere;
}
@supports (word-break: auto-phrase) {
  .oj .oj-title-phrase { word-break: auto-phrase; }
}
.oj .oj-excerpt { color: var(--sub); font-size: 14px; line-height: 1.9; }
.oj .oj-excerpt, .oj .oj-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.oj-card--feature .oj-card-link {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--paper);
}
.oj-card--feature .oj-thumb {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  aspect-ratio: 3 / 2;
}
.oj-card--feature .oj-thumb img { position: absolute; inset: 0; }
.oj-card--feature .oj-monogram { font-size: clamp(28px, 3.6vw, 52px); }
.oj-card--feature .oj-card-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(22px, 4vw, 56px); }
.oj .oj-card--feature .oj-card-title { margin: 16px 0 12px; font-size: clamp(25px, 2.8vw, 40px); }
.oj .oj-read, .oj .oj-link, .oj .oj-back { display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1.6 var(--sans); }
.oj .oj-read { margin-top: 26px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.oj .oj-link, .oj .oj-back { min-height: 44px; }
.oj .oj-link:hover, .oj .oj-back:hover { text-decoration: underline; text-underline-offset: 5px; }
.oj .oj-archive { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(24px, 5vw, 64px); }
.oj .oj-card--feature + .oj-archive { margin-top: clamp(30px, 5vw, 60px); }
.oj-card--row { border-top: 1px solid var(--rule); }
.oj-card--row .oj-card-link { grid-template-columns: minmax(0,1fr) min(29%,160px); align-items: start; gap: 18px; padding-block: 24px; }
.oj-card--row .oj-thumb { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; }
.oj-card--row .oj-card-copy { grid-column: 1; grid-row: 1; }
.oj .oj-card--row .oj-card-title { margin: 7px 0; font-size: 20px; }
.oj .oj-card--row .oj-excerpt { -webkit-line-clamp: 2; font-size: 13px; }
.oj .oj-pages { display: flex; gap: 24px; justify-content: center; align-items: center; margin-top: 44px; font: 13px/1.5 var(--sans); }
.oj .oj-empty { padding-block: 64px; text-align: center; }
.oj .oj-empty h1 { margin: 12px 0 24px; font: 500 28px/1.6 var(--serif); }
.oj .oj-empty .oj-meta { justify-content: center; }
.oj .oj-preview { padding: 10px 5%; background: #f4edda; text-align: center; font-size: 14px; }
.oj .oj-preview a { text-decoration: underline; }
.oj .oj-story { padding: clamp(20px, 4vw, 50px) 0 clamp(50px, 7vw, 92px); }
.oj .oj-column { width: min(42em, 88%); margin-inline: auto; }
.oj .oj-story-head { padding-bottom: clamp(26px, 4vw, 48px); }
.oj .oj-story-head .oj-meta { margin: clamp(24px, 4vw, 52px) 0 12px; }
.oj .oj-story-head h1 { font: 500 clamp(26px, 3.3vw, 42px)/1.5 var(--serif); letter-spacing: .035em; }
.oj .oj-byline { margin-top: 18px; font: 500 13px/1.7 var(--serif); letter-spacing: .12em; }
.oj .oj-cover, .oj .oj-gallery { width: min(900px, 92%); margin-inline: auto; }
.oj .oj-cover { margin-bottom: clamp(28px, 4vw, 56px); }
.oj .oj-cover img, .oj .oj-gallery img { display: block; width: auto; max-width: 100%; height: auto; max-height: 86vh; object-fit: contain; margin: auto; }
.oj .oj-prose { color: var(--ink); font: 400 17px/2.05 var(--sans); letter-spacing: .015em; }
.oj .oj-prose p + p { margin-top: 1.55em; }
.oj .oj-prose .oj-lead { padding-bottom: 22px; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 1.08em; }
.oj .oj-gallery { display: grid; gap: 28px; margin-top: 36px; }
.oj .oj-story-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 58px; border-top: 1px solid var(--rule); padding-top: 15px; }
.oj.oj-home { width: 100%; padding: clamp(38px, 6vw, 76px) 0; }
.oj-home .oj-home-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--ink); margin-bottom: 24px; }
.oj-home .oj-mast { border: 0; margin: 0; padding-bottom: 14px; }
.oj-home .oj-mast h2 { font-size: clamp(36px, 4vw, 54px); }
.oj-home .oj-home-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.oj-card--home .oj-card-link { display: block; }
.oj-card--home .oj-thumb { aspect-ratio: 16 / 10; }
.oj-card--home .oj-meta { margin-block: 13px 5px; }
@media (hover: hover) {
  .oj .oj-card-link:hover .oj-card-title { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
  .oj .oj-card-link:hover img { transform: scale(1.025); }
}
@media (max-width: 760px) {
  .oj-card--feature .oj-card-link { grid-template-columns: 1fr; }
  .oj-card--feature .oj-thumb { aspect-ratio: 16 / 10; }
  .oj-card--feature .oj-card-copy { padding: 24px; }
  .oj .oj-archive, .oj-home .oj-home-grid { grid-template-columns: 1fr; }
  .oj-home .oj-home-grid { gap: 0; }
  .oj-card--home + .oj-card--home { border-top: 1px solid var(--rule); }
  .oj-card--home .oj-card-link { display: grid; grid-template-columns: minmax(0,1fr) min(29%,160px); align-items: center; gap: 16px; padding: 15px 0; }
  .oj-card--home .oj-thumb { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; }
  .oj-card--home .oj-card-copy { grid-column: 1; grid-row: 1; }
  .oj-card--home .oj-meta { margin-block: 0 4px; }
  .oj .oj-card--home .oj-card-title { font-size: 18px; }
  .oj-home .oj-home-heading { margin-bottom: 4px; }
  .oj .oj-prose { font-size: 16px; }
}
@media (max-width: 460px) {
  .oj .oj-mast { gap: 4px 14px; }
  .oj .oj-mast p { font-size: 12px; }
  .oj-card--row .oj-card-link { padding-block: 18px; gap: 12px; }
  .oj .oj-card--row .oj-card-title { font-size: 18px; }
  .oj .oj-cover, .oj .oj-gallery { width: 100%; }
  .oj-home .oj-mast { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .oj .oj-thumb img { transition: none; }
  .oj .oj-card-link:hover img { transform: none; }
}
