/* FILM REVIEW
   レイアウト: 暗室のような暗い地に、フィルムのコマ（写真）を並べる。コマ番号とカテゴリは
   フィルムの縁の刻印のように等幅で入れる。明るい設定の端末ではプリントを並べた明るい地に切り替わる。 */
:root {
  --bg: #0c100f;
  --surface: #141a18;
  --raise: #1b2321;
  --ink: #e6ebe6;
  --muted: #8f9c97;
  --line: #27302d;
  --accent: #6cc0ad;
  --accent-ink: #08110f;
  --edge: #e0a04a;
  --warn: #e28b6a;
  --hole: #0c100f;
  --film: #050706;
  --f-latin: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --f-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #eef1ef; --surface: #ffffff; --raise: #f6f8f7; --ink: #121816; --muted: #5b6a65; --line: #d6dedb;
    --accent: #0e6a5c; --accent-ink: #ffffff; --edge: #a8600c; --warn: #a24a2b; --hole: #eef1ef; --film: #121816;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #eef1ef; --surface: #ffffff; --raise: #f6f8f7; --ink: #121816; --muted: #5b6a65; --line: #d6dedb;
  --accent: #0e6a5c; --accent-ink: #ffffff; --edge: #a8600c; --warn: #a24a2b; --hole: #eef1ef; --film: #121816;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.9; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap {
  width: 100%; max-width: 1120px; margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}

/* PR表記（全ページ） */
.pr-bar {
  margin: 0; padding: 7px 18px; text-align: center;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em;
  color: var(--muted); border-bottom: 1px solid var(--line);
}
.pr-chip {
  display: inline-block; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em;
  border: 1px solid currentColor; border-radius: 2px; padding: 0 6px; margin-right: 8px; line-height: 1.6;
}

/* ヘッダー */
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 22px; }
.wordmark { display: grid; gap: 2px; text-decoration: none; color: var(--ink); }
.wm-main { font-family: var(--f-latin); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: .02em; margin: 0; }
.wm-sub { font-size: 11px; letter-spacing: .22em; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13.5px; }
.nav a { color: var(--ink); text-decoration: none; opacity: .72; transition: opacity .2s; }
.nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 7px; }

/* ヒーロー */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { padding-block: 56px 40px; }
.eyebrow { margin: 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--edge); }
.hero-title { margin: 14px 0 0; font-family: var(--f-latin); font-style: italic; font-weight: 500; line-height: .9; letter-spacing: -.01em; font-size: clamp(64px, 15vw, 188px); }
.hero-title span { display: inline-block; }
.hero-sub { margin: 18px 0 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 3vw, 24px); letter-spacing: .14em; }
.lede { margin: 12px 0 0; max-width: 36em; color: var(--muted); }

/* フィルムストリップ（最新のレビュー） */
.strip { background: var(--film); overflow-x: auto; scrollbar-width: thin; position: relative; }
.strip-inner {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 10px;
  max-width: 1120px; margin: 0 auto; padding: 30px max(18px, env(safe-area-inset-left, 0px)) 30px;
  position: relative;
}
.strip-inner::before, .strip-inner::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px;
  background-image: repeating-linear-gradient(90deg, transparent 0 14px, var(--hole) 14px 28px, transparent 28px 42px);
  opacity: .9;
}
.strip-inner::before { top: 10px; }
.strip-inner::after { bottom: 10px; }
.strip-frame { display: grid; gap: 8px; text-decoration: none; color: #e6ebe6; min-width: 0; }
.strip-title { font-size: 13px; line-height: 1.6; opacity: .8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.strip-frame:hover .strip-title { opacity: 1; }

/* コマ（サムネイル） */
.frame { position: relative; aspect-ratio: 3 / 2; max-width: 100%; overflow: hidden; background: #111; border-radius: 2px; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.frame-word {
  position: absolute; left: 16px; bottom: 34px; color: #f2f4f1;
  font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: .14em;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.edge {
  position: absolute; left: 12px; right: 12px; bottom: 9px; z-index: 1;
  display: flex; gap: 8px; align-items: center;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: #e0a04a;
}
.edge b { font-weight: 400; opacity: .7; }
.frame-career     { background: radial-gradient(120% 90% at 80% 10%, #3f9c88 0%, #17524a 45%, #07120f 100%); }
.frame-insurance  { background: radial-gradient(120% 90% at 80% 10%, #6b8fab 0%, #263f57 45%, #080c12 100%); }
.frame-sidejob    { background: radial-gradient(120% 90% at 80% 10%, #c99248 0%, #5e3f19 45%, #100b06 100%); }
.frame-experience { background: radial-gradient(120% 90% at 80% 10%, #9a74a6 0%, #47295a 45%, #0d0710 100%); }
.frame-credit     { background: radial-gradient(120% 90% at 80% 10%, #a9a65c 0%, #3d4a24 45%, #0a0c06 100%); }

/* セクション見出し */
.section { padding-block: 64px 4px; }
.sec-title {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 26px;
  font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: .12em; text-wrap: balance;
}
.sec-en { font-family: var(--f-latin); font-style: italic; font-weight: 500; font-size: 40px; letter-spacing: 0; line-height: 1; }

/* カテゴリ索引（コンタクトシートの見出しのように） */
.index { border-top: 1px solid var(--line); }
.index-row {
  display: grid; grid-template-columns: 9.5em 11em 1fr auto; align-items: baseline; gap: 6px 24px;
  padding-block: 20px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .2s, padding .2s;
}
.index-row:hover { background: var(--surface); padding-left: 12px; padding-right: 12px; }
.index-en { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; color: var(--edge); }
.index-name { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: .08em; }
.index-desc { font-size: 13.5px; color: var(--muted); line-height: 1.7; min-width: 0; }
.index-count { font-family: var(--f-mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* カテゴリページの案件一覧（案件名を見出しに、記事タイトルを下に） */
.title-list { border-top: 1px solid var(--line); }
.title-row {
  display: grid; grid-template-columns: 6em 1fr auto; align-items: center; gap: 6px 24px;
  padding-block: 22px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .2s, padding .2s;
}
.title-row:hover { background: var(--surface); padding-left: 12px; padding-right: 12px; }
.title-row:hover .title-text { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.title-code { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--edge); }
.title-main { display: grid; gap: 4px; min-width: 0; }
.title-service { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: .06em; line-height: 1.5; }
.title-text { font-size: 14px; color: var(--muted); line-height: 1.7; }
.title-side { display: grid; justify-items: end; gap: 6px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }

/* カード */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 40px 28px; }
.card { display: grid; gap: 16px; align-content: start; text-decoration: none; color: var(--ink); }
.card:hover .frame img { transform: scale(1.03); }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.card-body { display: grid; gap: 8px; min-width: 0; }
.card h3 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 18px; line-height: 1.6; letter-spacing: .03em; text-wrap: balance; }
.card-meta { margin: 0; display: flex; gap: 14px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.cat { color: var(--accent); font-family: var(--f-body); letter-spacing: .08em; }
.card-sum { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 評価：5コマ */
.rating { display: inline-flex; align-items: center; gap: 10px; }
.rating-cells { display: inline-flex; gap: 3px; }
.rating-cells i { width: 14px; height: 10px; border: 1px solid var(--edge); border-radius: 1px; }
.rating-cells i.on { background: var(--edge); }
.rating-cells i.half { background: linear-gradient(90deg, var(--edge) 50%, transparent 50%); }
.rating-num { font-family: var(--f-mono); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.rating-num small { color: var(--muted); font-size: 11px; margin-left: 2px; }

.empty { color: var(--muted); }

/* カテゴリ・固定ページの見出し */
.page-head { border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 48px 40px; }
.page-head h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 6vw, 52px); margin: 10px 0 6px; letter-spacing: .1em; line-height: 1.3; }
.page-head .lede { margin: 0; }

/* 記事 */
.article { max-width: 780px; padding-block: 32px 64px; }
.crumbs { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); margin: 0 0 24px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.pr-notice { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 2px; padding: 8px 12px; margin: 0 0 28px; }
.pr-notice .pr-chip { color: var(--edge); }
.article-code { margin: 0 0 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; color: var(--edge); display: flex; gap: 8px; }
.article-code b { font-weight: 400; opacity: .7; }
.article h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 5vw, 40px); line-height: 1.5; margin: 0 0 14px; letter-spacing: .04em; text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin: 0 0 32px; letter-spacing: .04em; }
.article-hero { margin: 0 0 32px; }
.article-hero img { width: 100%; border-radius: 2px; }

.verdict { display: grid; gap: 10px; padding: 22px 24px; margin: 0 0 24px; background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--accent); }
.verdict-label { margin: 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .24em; color: var(--accent); }
.verdict-text { margin: 0; font-weight: 500; line-height: 1.85; }

.facts { margin: 0 0 24px; display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 14px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
.facts dd { margin: 0; min-width: 0; font-size: 15px; }

.proscons { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 0 0 32px; }
.proscons > div { background: var(--surface); border: 1px solid var(--line); padding: 16px 20px; min-width: 0; }
.pc-head { margin: 0 0 6px; font-weight: 700; font-size: 13.5px; letter-spacing: .08em; }
.pros .pc-head { color: var(--accent); }
.cons .pc-head { color: var(--warn); }
.proscons ul { margin: 0; padding-left: 1.2em; font-size: 14px; line-height: 1.85; }

.toc { border-block: 1px solid var(--line); padding: 18px 0; margin: 0 0 40px; }
.toc-head { margin: 0 0 6px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .24em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.6em; font-size: 14.5px; line-height: 2.1; }
.toc li::marker { font-family: var(--f-mono); color: var(--edge); font-size: 12px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent); }

.prose { max-width: 40em; }
.prose h2 { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: .06em; line-height: 1.55; margin: 56px 0 16px; text-wrap: balance; scroll-margin-top: 16px; }
.prose h2::before { content: ""; display: block; width: 28px; height: 2px; background: var(--accent); margin-bottom: 14px; }
.prose h3 { font-size: 18px; margin: 36px 0 8px; letter-spacing: .04em; }
.prose p { margin: 0 0 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.prose figure { margin: 36px 0; }
.prose figure img { border-radius: 2px; }
.prose figcaption { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
.prose blockquote { margin: 0 0 1.4em; padding: 4px 0 4px 18px; border-left: 1px solid var(--edge); color: var(--muted); }
.prose code { font-family: var(--f-mono); background: var(--raise); padding: 1px 6px; border-radius: 2px; font-size: .88em; }
.prose strong { color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 28%, transparent) 62%); }

/* 申し込みボタン（A8.netのコードには手を加えず、外側だけ整える） */
.cta { margin: 40px 0; padding: 26px 24px; border: 1px solid var(--accent); background: var(--surface); text-align: center; }
.cta-label { margin: 0 0 14px; font-weight: 700; letter-spacing: .04em; }
.cta-label .pr-chip { color: var(--edge); }
.cta-link a {
  display: inline-block; max-width: 100%; padding: 15px 34px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; letter-spacing: .06em; text-decoration: none;
  transition: transform .2s, filter .2s;
}
.cta-link a:hover { transform: translateY(-1px); filter: brightness(1.08); }
.cta-link img[width="1"] { display: inline; }
.cta-plain { border-color: var(--line); }
.cta-plain .cta-link a { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.cta-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.ad-slot { margin: 40px 0; text-align: center; overflow: hidden; }
.ad-label { margin: 0 0 8px; font-size: 11px; letter-spacing: .08em; color: var(--muted); }

.contact-btn a { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: 12px 28px; border-radius: 999px; }

/* 書いた人 */
.author-box { display: grid; gap: 8px; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.author-box p { margin: 0; }
.author-label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .24em; color: var(--edge); }
.author-name { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: .08em; }
.author-name span { font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 14px; letter-spacing: .04em; }
.author-link { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.author-box.small { margin-top: 56px; font-size: 14px; }
.related { margin-top: 64px; }

/* フッター */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 22px; padding-block: 44px; }
.foot-brand .wm-main { font-size: 36px; }
.foot-tag { font-size: 13px; color: var(--muted); margin: 10px 0 0; max-width: 34em; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; }
.foot-nav a { color: var(--ink); opacity: .75; text-decoration: none; }
.foot-nav a:hover { opacity: 1; text-decoration: underline; }
.copy { margin: 0; font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }

@media (max-width: 720px) {
  .index-row { grid-template-columns: 1fr auto; }
  .index-en { grid-column: 1 / -1; }
  .index-desc { grid-column: 1 / -1; order: 4; }
  .title-row { grid-template-columns: 1fr; }
  .title-side { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; gap: 14px; }
  .facts div { grid-template-columns: 7em 1fr; }
  .author-name span { display: block; margin-left: 0; }
  .sec-en { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
