@font-face {
  font-family: Journal;
  src: url('./journal-regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Journal;
  src: url('./journal-medium.woff') format('woff');
  font-weight: 500 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Journal, "Hiragino Sans", "PingFang TC", system-ui, sans-serif;
  color: #23282b;
  background: #f5f5f5;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 64px, 910px); margin: 0 auto; padding: clamp(28px, 5vh, 60px) 0 52px; }
header { margin-bottom: 26px; }
.wordmark {
  display: flex; align-items: center; gap: 18px;
  font: 500 17px/1.3 Georgia, "Times New Roman", serif;
  letter-spacing: .055em; color: #4a524a;
}
.wordmark::after { content: ""; flex: 1; border-top: 1px solid #cbd1cf; }
.heading-line { display: flex; align-items: baseline; gap: 18px; margin-top: clamp(24px, 5vh, 48px); }
h1 { font-size: clamp(32px, 4vw, 44px); margin: 0; font-weight: 500; line-height: 1.3; letter-spacing: .08em; }
.heading-line span { color: #495255; font-size: 14px; letter-spacing: .12em; }
ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.site {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  background: #fff; color: inherit; text-decoration: none; border: 1px solid #cbd1cf;
  border-radius: 12px; overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.site:focus-visible { outline: 3px solid #4d6a62; outline-offset: 3px; }
@media (hover: hover) {
  .site:hover { border-color: #879888; box-shadow: 0 3px 12px #434a3610; }
  .site:hover .arrow { transform: translateX(3px); }
}
.scene { grid-column: 1 / -1; height: clamp(100px, 15vh, 144px); overflow: hidden; background: white; }
.scene img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.caption { padding: 14px 0 16px 21px; align-self: center; }
h2 { margin: 0 0 3px; font-size: 23px; line-height: 1.35; font-weight: 500; letter-spacing: .035em; }
p { margin: 0; color: #495255; font-size: 14px; line-height: 1.55; }
.arrow { width: 19px; height: 12px; position: relative; align-self: center; margin: 0 22px 0 8px; color: #566c62; transition: transform .15s; }
.arrow::before { content: ""; position: absolute; width: 17px; top: 50%; left: 0; border-top: 1px solid; }
.arrow::after { content: ""; position: absolute; width: 7px; height: 7px; top: calc(50% - 3px); right: 1px; transform: rotate(45deg); border: solid; border-width: 1px 1px 0 0; }
@media (max-width: 600px) {
  main { width: min(100% - 32px, 450px); padding-top: max(24px, env(safe-area-inset-top)); padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .wordmark { font-size: 16px; }
  .heading-line { gap: 13px; margin-top: 25px; }
  header { margin-bottom: 23px; }
  ul { grid-template-columns: 1fr; gap: 12px; }
  .site { grid-template-columns: clamp(80px, 28vw, 134px) minmax(0,1fr) auto; min-height: 101px; border-radius: 9px; }
  .scene { grid-column: auto; height: auto; min-height: 99px; position: relative; }
  .scene img { position: absolute; inset: 0; }
  .caption { padding: 12px 0 12px 14px; }
  h2 { font-size: clamp(18px, 5.1vw, 22px); }
  p { font-size: 13px; }
  .arrow { margin: 0 13px 0 7px; width: 15px; }
  .arrow::before { width: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .site, .arrow { transition: none; }
}
