/* Minimal preflight-style reset so the preview CSS renders as it did inside
   the Next.js app (which shipped Tailwind's preflight plus globals.css). */
*, ::before, ::after { box-sizing: border-box; border: 0 solid; margin: 0; padding: 0; }
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
[id] { scroll-margin-top: 76px; }
body {
  margin: 0;
  line-height: inherit;
  background: #fff;
  color: #111;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow: clip; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ol, ul { list-style: none; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: inherit; }
a:focus-visible { outline: 3px solid #111; outline-offset: 4px; }
::selection { background: #111; color: #fff; }

/* Generic inner pages (until each one gets its own design). */
.sfix-page {
  width: min(100% - 16vw, 1120px);
  margin: 0 auto;
  padding: 160px 0 120px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}
.sfix-page-en {
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}
.sfix-page-title { margin-top: 16px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; }
.sfix-page-lead { margin-top: 24px; color: #555; line-height: 2; }
.sfix-entry { margin-top: 56px; line-height: 2; }
.sfix-entry h2 { margin: 48px 0 16px; font-size: 24px; font-weight: 700; }
.sfix-entry h3 { margin: 32px 0 12px; font-size: 19px; font-weight: 700; }
.sfix-entry p { margin: 0 0 1.4em; }
.sfix-entry ul { padding-left: 1.4em; list-style: disc; }
.sfix-entry img { margin: 24px 0; }
.sfix-meta { display: flex; gap: 16px; margin-top: 24px; color: #777; font-size: 13px; letter-spacing: 0.08em; }
.sfix-list { margin-top: 56px; display: grid; gap: 0; border-top: 1px solid #ddd; }
.sfix-list-item { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid #ddd; }
.sfix-list-item time { font-family: Montserrat, sans-serif; color: #777; font-size: 13px; }
.sfix-list-item h2 { font-size: 17px; font-weight: 700; }
.sfix-list-item a:hover h2 { text-decoration: underline; }
.sfix-tag { display: inline-block; margin-left: 12px; padding: 2px 10px; border: 1px solid #999; border-radius: 999px; font-size: 11px; }
.sfix-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 32px; }
.sfix-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: #eee; }
.sfix-card-meta { margin-top: 14px; color: #777; font-size: 12px; letter-spacing: 0.08em; font-family: Montserrat, sans-serif; }
.sfix-card h2 { margin-top: 8px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.sfix-card p { margin-top: 8px; color: #555; font-size: 14px; line-height: 1.8; }
.sfix-pagination { margin-top: 56px; display: flex; gap: 12px; font-family: Montserrat, sans-serif; }
.sfix-pagination .current { font-weight: 700; text-decoration: underline; }
.sfix-results { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sfix-result { padding: 24px; border: 1px solid #ddd; }
.sfix-result dt { font-size: 12px; color: #777; }
.sfix-result dd { margin-top: 8px; font-family: Montserrat, sans-serif; font-size: 36px; font-weight: 700; line-height: 1; }
.sfix-result dd small { margin-left: 4px; font-size: 14px; }
.sfix-result span { display: block; margin-top: 8px; font-size: 12px; color: #999; }
@media (max-width: 600px) {
  .sfix-list-item { grid-template-columns: 1fr; gap: 8px; }
  .sfix-results { grid-template-columns: 1fr; }
}


/* News rows link to the post; keep the design's grid gap inside the link. */
.pv-news-item > a { display: grid; gap: 10px; min-width: 0; }
