/* プレスリリースLP・リリース一覧の共通スタイル
   press/press.html と同じ配色・ヘッダー・フッターに揃えている。
   本文(.pr-body)は見出し・段落・リストだけで組む。WordPress 移行時に
   この中身をそのまま投稿本文へ移せるようにするため、装飾用のクラスを本文内に増やさないこと。 */

:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #111;
  --surface-raised: #191919;
  --line: #353535;
  --text: #f5f5f5;
  --muted: #bcbcbc;
  --accent: #ff642b;
  --accent-text: #ff8a5c;
  --focus: #ffb282;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", Meiryo, sans-serif;
  --content-width: 1160px;
  --article-width: 760px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.95 var(--font-body); overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.5; font-weight: 700; }
img { max-width: 100%; height: auto; }
a, button { -webkit-tap-highlight-color: rgb(255 100 43 / 22%); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
::selection { background: #f48447; color: #000; }
.wrap { width: min(var(--content-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 100; padding: 12px 20px; background: var(--accent); color: #000; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ヘッダー・フッター(press.html と共通の見た目) */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: #080808; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 20px; text-decoration: none; }
.brand-logo { display: block; width: auto; height: 30px; }
.brand-divider { width: 1px; height: 24px; background: var(--line); }
.brand-label { color: var(--accent-text); font-size: 12px; letter-spacing: .18em; font-weight: 600; }
.header-link { min-height: 44px; display: inline-flex; align-items: center; gap: 16px; color: #ddd; font-size: 14px; text-decoration: none; }
.header-link:hover { color: var(--accent-text); }
.arrow { font-size: 21px; line-height: 1; }
.site-footer { padding-block: 30px 36px; border-top: 1px solid var(--line); margin-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.footer-company { font-size: 14px; margin-bottom: 5px; font-weight: 600; }
.footer-meta { color: #aaa; font-size: 13px; }
.footer-meta + .footer-meta { margin-top: 5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.footer-links a { padding-block: 7px; color: #ccc; }

/* パンくず */
.breadcrumb { width: min(var(--article-width), calc(100% - 64px)); margin: 22px auto 0; color: var(--muted); font-size: 13px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #666; }

/* リリース本文 */
.pr { width: min(var(--article-width), calc(100% - 64px)); margin: 0 auto; padding-block: 34px 10px; }
.pr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.pr-badge { padding: 3px 11px; background: var(--accent); color: #000; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.pr-meta time { font-variant-numeric: tabular-nums; }
.pr h1 { font-size: clamp(27px, 3.4vw, 40px); letter-spacing: -.02em; margin: 18px 0 14px; }
.pr-subtitle { color: #ccc; font-size: 17px; font-weight: 600; margin-bottom: 26px; }
.pr-figure { margin: 26px 0; }
.pr-figure img { display: block; width: 100%; border: 1px solid var(--line); }
.pr-figure figcaption { margin-top: 9px; color: var(--muted); font-size: 13px; }
.pr-lead { font-size: 17px; line-height: 2; margin-bottom: 26px; }
.pr-points { list-style: none; padding: 20px 24px; margin-bottom: 30px; background: var(--surface); border-left: 3px solid var(--accent); }
.pr-points li { padding-left: 20px; position: relative; font-size: 15px; }
.pr-points li + li { margin-top: 10px; }
.pr-points li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 2px; background: var(--accent); }

.pr-body h2 { font-size: 22px; margin: 42px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pr-body h3 { font-size: 17px; margin: 28px 0 10px; color: #eee; }
.pr-body p { margin-bottom: 18px; font-size: 15px; }
.pr-body ul, .pr-body ol { margin: 0 0 18px; padding-left: 1.4em; font-size: 15px; }
.pr-body li + li { margin-top: 7px; }
.pr-body img { display: block; margin: 24px 0; border: 1px solid var(--line); }
.pr-body a { color: var(--accent-text); }
.pr-body blockquote { margin: 26px 0; padding: 20px 24px; background: var(--surface); border-left: 3px solid var(--line); }
.pr-body blockquote p { font-size: 15px; }
.pr-body blockquote p:last-of-type { margin-bottom: 0; }
.pr-body blockquote cite { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; font-style: normal; }
.pr-body table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 14px; }
.pr-body th, .pr-body td { padding: 11px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.pr-body th { width: 30%; background: var(--surface); color: var(--muted); font-weight: 500; }

/* 本文下のボックス(会社概要・お問い合わせ・素材) */
.pr-box { margin-top: 26px; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); }
.pr-box h2 { font-size: 16px; margin-bottom: 14px; }
.pr-box p { font-size: 14px; color: #ddd; }
.pr-box p + p { margin-top: 9px; }
.pr-box dl { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 9px 18px; font-size: 14px; }
.pr-box dt { color: var(--muted); }
.pr-box .note { margin-top: 12px; color: var(--muted); font-size: 13px; }
.pr-contact .email { font-size: 20px; font-weight: 700; text-decoration: none; }
.pr-contact .email:hover { color: var(--accent-text); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 52px; margin-top: 16px; padding: 12px 22px; background: var(--accent); color: #000; border: 1px solid var(--accent); font-size: 14px; font-weight: 700; text-decoration: none; }
.button:hover { background: #ff8f50; border-color: #ff8f50; color: #000; }
.button.secondary { background: transparent; color: var(--text); border-color: #666; }
.button.secondary:hover { background: var(--surface-raised); border-color: var(--accent-text); color: var(--text); }

.pr-related { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 14px; }
.pr-related a { color: var(--accent-text); }

/* リリース一覧 */
.list-head { width: min(var(--article-width), calc(100% - 64px)); margin: 0 auto; padding-block: 40px 8px; }
.list-head .eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; color: var(--accent-text); font-size: 12px; font-weight: 600; letter-spacing: .17em; }
.list-head .eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); flex: none; }
.list-head h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.list-head p { color: #ccc; font-size: 15px; }
.rel-list { width: min(var(--article-width), calc(100% - 64px)); margin: 26px auto 0; list-style: none; padding: 0; }
.rel-item { border-top: 1px solid var(--line); }
.rel-item:last-child { border-bottom: 1px solid var(--line); }
.rel-item a { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 22px; padding: 22px 6px; text-decoration: none; }
.rel-item a:hover { background: var(--surface); }
.rel-date { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.rel-item h2 { font-size: 17px; }
.rel-item a:hover h2 { color: var(--accent-text); }
.rel-summary { grid-column: 2; color: var(--muted); font-size: 14px; }
.list-empty { width: min(var(--article-width), calc(100% - 64px)); margin: 26px auto 0; padding: 26px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .wrap, .breadcrumb, .pr, .list-head, .rel-list, .list-empty { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand { gap: 12px; }
  .brand-logo { height: 24px; }
  .brand-label { font-size: 10px; letter-spacing: .1em; }
  .brand-divider { height: 19px; }
  .header-link { font-size: 13px; gap: 8px; }
  .pr { padding-block: 24px 6px; }
  .pr-subtitle { font-size: 15px; margin-bottom: 20px; }
  .pr-lead { font-size: 15px; }
  .pr-points { padding: 17px 18px; }
  .pr-body h2 { font-size: 19px; margin-top: 34px; }
  .pr-box { padding: 20px; }
  .pr-box dl { grid-template-columns: 1fr; gap: 3px; }
  .pr-box dt { margin-top: 8px; }
  .pr-contact .email { font-size: 18px; }
  .button { width: 100%; }
  .rel-item a { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
  .rel-summary { grid-column: 1; }
  .footer-inner { flex-direction: column; gap: 19px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  :root { color-scheme: light; --bg: #fff; --text: #000; --muted: #333; --line: #bbb; --surface: #fff; --surface-raised: #fff; --accent-text: #9c3900; }
  body { font-size: 10pt; }
  .wrap, .pr, .breadcrumb, .rel-list { width: 100%; }
  .site-header { position: static; background: #fff; }
  .brand-logo { filter: invert(1); }
  .skip-link, .header-link, .footer-links, .button, .pr-related { display: none !important; }
  .pr h1 { font-size: 20pt; }
  .pr-body h2 { font-size: 13pt; }
  .pr-figure, .pr-box, .pr-body blockquote { break-inside: avoid; }
  .pr-lead, .pr-body p, .pr-box p, .footer-meta { color: #222; }
  a { color: inherit; text-decoration: none; }
}
