:root {
  --bg: #f4f2ee;
  --dark: #14181f;
  --text: #1c1c1c;
  --text-light: #55524d;
  --line: #e2ded4;
  --caption: #9c9890;
  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-display: "Zen Kaku Gothic New", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero { background: var(--dark); color: #fff; padding: 90px 0 84px; }
.top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; gap: 12px; flex-wrap: wrap; }
.logo { font-family: var(--font-display); font-size: 19px; font-weight: 900; letter-spacing: 0.04em; }
.badge { font-size: 12px; letter-spacing: 0.05em; color: #cfd3da; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; padding: 7px 16px; white-space: nowrap; }
.hero h1 { font-family: var(--font-display); font-size: clamp(30px, 5vw, 54px); font-weight: 900; line-height: 1.45; letter-spacing: 0.01em; margin: 0 0 24px; max-width: 900px; }
.hero .lead { font-size: 17px; line-height: 1.9; color: #c7cbd2; max-width: 620px; margin: 0 0 16px; }
.hero .disclaimer { font-size: 12px; line-height: 1.8; color: #7d828d; max-width: 620px; margin: 0; }

/* Nav (top-row) */
.top-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav-link { font-size: 12px; letter-spacing: 0.1em; color: #cfd3da; text-decoration: none; }
.nav-link:hover { color: #fff; }
.nav-cta { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; color: var(--dark); background: #fff; border-radius: 999px; padding: 8px 18px; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { opacity: 0.85; }
.footer-link { text-decoration: none; }
.footer-link:hover { color: #fff; }
a:focus-visible { outline: 2px solid #c9a35a; outline-offset: 3px; }

/* Works */
.works { padding: 100px 24px; display: flex; flex-direction: column; gap: 120px; }

.work { display: flex; align-items: center; gap: 64px; }
.work.reverse { flex-direction: row-reverse; }

.work-text { flex: 1; min-width: 0; }
.work-index { font-family: var(--font-display); font-size: 72px; font-weight: 900; opacity: 0.45; line-height: 1; margin-bottom: 16px; }
.work-tag { font-size: 11px; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 16px; }
.work-text h2 { font-family: var(--font-display); font-size: 28px; font-weight: 900; margin: 0 0 16px; }
.work-text p { font-size: 14px; color: var(--text-light); line-height: 1.8; max-width: 380px; margin: 0 0 8px; }
.work-link { display: inline-block; font-size: 13px; font-weight: 700; text-decoration: none; margin-top: 8px; }
.work-link:hover { opacity: 0.7; }

.work-shots { flex: none; display: flex; align-items: flex-start; gap: 20px; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.shot figcaption { font-size: 10px; letter-spacing: 0.14em; color: var(--caption); font-weight: 700; text-align: center; }
.shot a { display: block; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 20px 40px rgba(20, 16, 14, 0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.shot a:hover { transform: translateY(-4px); box-shadow: 0 26px 48px rgba(20, 16, 14, 0.14); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.shot-web a { width: 440px; height: 300px; border-radius: 16px; }
.shot-mobile a { width: 130px; height: 300px; border-radius: 20px; }

/* Footer */
.site-footer { background: var(--dark); color: #8b909b; padding: 32px 0; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

/* About page */
.hero-sub { padding: 56px 0 60px; }
.hero-sub h1 { font-size: clamp(28px, 4.4vw, 44px); margin: 0 0 12px; }
.logo-link { text-decoration: none; }
.back { font-size: 12px; color: #cfd3da; text-decoration: none; letter-spacing: 0.06em; }
.back:hover { color: #fff; }

.about-wrap { background: #fbfaf7; }
.about { padding: 96px 24px 104px; display: grid; gap: 72px; }
.eyebrow { font-size: 11px; letter-spacing: 0.18em; font-weight: 700; color: var(--caption); margin: 0; }
.about h2 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; line-height: 1.5; margin: 0; text-wrap: balance; }

.profile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.profile-photo { width: 220px; max-width: 100%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #efe6dc; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-family: var(--font-display); font-size: 24px; font-weight: 900; margin: 22px 0 4px; }
.profile-role { font-size: 12px; letter-spacing: 0.08em; color: var(--text-light); margin: 0; }
.profile-body { min-width: 0; display: grid; gap: 18px; }
.profile-body p { font-size: 15px; line-height: 2; margin: 0; max-width: 40em; }
.profile-body .eyebrow { line-height: 1.8; }
.profile-cta { justify-self: start; display: inline-flex; gap: 14px; align-items: center; text-decoration: none; font-size: 14px; font-weight: 700; background: var(--dark); color: #fff; border-radius: 999px; padding: 13px 26px; margin-top: 6px; }
.profile-cta:hover { opacity: 0.85; }

.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--text); }
.skill { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.skill + .skill { padding-left: 28px; border-left: 1px solid var(--line); }
.skill-tag { font-size: 11px; letter-spacing: 0.12em; font-weight: 700; color: var(--caption); }
.skill h3 { font-family: var(--font-display); font-size: 19px; font-weight: 900; margin: 0; }
.skill p { font-size: 13.5px; color: var(--text-light); margin: 0; }
.skill ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.skill li { font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--text-light); background: #fff; }

.flow-title { font-family: var(--font-display); font-size: 20px; font-weight: 900; margin: 0 0 24px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.flow li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.flow li::before { content: "STEP " counter(step); font-size: 10px; letter-spacing: 0.16em; font-weight: 700; color: var(--caption); }
.flow strong { font-size: 15px; }
.flow span { font-size: 12.5px; color: var(--text-light); line-height: 1.7; }

.contact { background: var(--dark); color: #fff; border-radius: 20px; padding: 44px 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; scroll-margin-top: 24px; }
.contact h3 { font-family: var(--font-display); font-size: 22px; font-weight: 900; margin: 0 0 10px; }
.contact p { font-size: 14px; color: #c7cbd2; margin: 0; }
.mail-line { margin-top: 10px !important; font-size: 13px !important; }
.mail-line code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: rgba(255, 255, 255, 0.08); padding: 2px 8px; border-radius: 4px; color: #fff; user-select: all; word-break: break-all; }
.price { margin-top: 14px !important; font-size: 13px !important; }
.price small { display: block; color: #9ea3ad; margin-top: 4px; }
.contact-links { display: grid; gap: 10px; min-width: 240px; }
.btn { display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; font-size: 14px; font-weight: 700; padding: 14px 20px; border-radius: 999px; }
.btn-primary { background: #fff; color: var(--dark); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.btn:hover { opacity: 0.85; }
.copy-msg { margin: 0; font-size: 12px !important; line-height: 1.7; color: #e8d9a8 !important; max-width: 260px; }
.copy-msg[hidden] { display: none; }
.sns { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 6px; font-size: 11px; color: #8b909b; }
.sns-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; }
.sns-icon:hover { background: rgba(255, 255, 255, 0.1); }

/* WORKS メニュー(ホバー/タップで開くラベルリスト) */
.top-row { position: relative; z-index: 20; }
.nav-drop-btn { font: inherit; font-size: 12px; letter-spacing: 0.1em; color: #cfd3da; background: none; border: 0; padding: 6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.nav-drop-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s ease; }
.nav-drop.open .nav-drop-btn, .nav-drop-btn:hover { color: #fff; }
.nav-drop.open .nav-drop-btn::after { transform: translateY(1px) rotate(225deg); }
.nav-drop-btn:focus-visible { outline: 2px solid #c9a35a; outline-offset: 3px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 14px; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s; }
.nav-drop.open .mega { visibility: visible; opacity: 1; transform: none; transition: opacity 0.15s ease, transform 0.15s ease; }
.mega-panel { background: #fff; color: var(--text); border-radius: 14px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28); padding: 26px 28px 24px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
.mega-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mega-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega-head a { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.mega-head .en { font-size: 10px; letter-spacing: 0.16em; font-weight: 700; color: var(--caption); }
.mega-head b { font-family: var(--font-display); font-size: 17px; font-weight: 900; }
.mega-head a:hover b { text-decoration: underline; }
.mega-head .count { font-size: 11px; color: var(--text-light); white-space: nowrap; }
.mega-desc { font-size: 12px; color: var(--text-light); margin: 0; line-height: 1.7; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.mega-list.single { grid-template-columns: 1fr; }
.mega-list a { display: flex; align-items: baseline; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 13px; text-decoration: none; }
.mega-list a:hover { background: var(--bg); }
.mega-list small { font-size: 10px; color: var(--caption); letter-spacing: 0.04em; white-space: nowrap; }
.mega-all { font-size: 12px; font-weight: 700; text-decoration: none; margin-top: 2px; }
.mega-all:hover { opacity: 0.7; }

/* パンくず(一覧ページ) */
.crumb { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 6px; font-size: 12px; color: #8b909b; }
.crumb li + li::before { content: "›"; margin-right: 6px; }
.crumb a { color: #cfd3da; text-decoration: none; }
.crumb a:hover { color: #fff; }
.hero-sub .lead { margin-top: 4px; }

/* トップ(入口)のカテゴリカード */
.cats { padding: 88px 24px 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 26px 48px rgba(20, 16, 14, 0.12); }
.cat-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 4px; background: var(--line); aspect-ratio: 16 / 7; overflow: hidden; }
.cat-shots.single { grid-template-columns: 1fr; }
.cat-shots img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cat-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.cat-body .en { font-size: 11px; letter-spacing: 0.16em; font-weight: 700; color: var(--caption); }
.cat-body h2 { font-family: var(--font-display); font-size: 26px; font-weight: 900; margin: 0; }
.cat-body p { font-size: 14px; color: var(--text-light); margin: 0; }
.cat-body .go { font-size: 13px; font-weight: 700; margin-top: 6px; }
.home-about { padding: 40px 24px 104px; }
.home-about a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 18px; background: #fbfaf7; text-decoration: none; }
.home-about a:hover { border-color: var(--caption); }
.home-about .txt { display: flex; align-items: center; gap: 20px; min-width: 0; }
.home-about img { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); flex: none; }
.home-about b { font-family: var(--font-display); font-size: 18px; display: block; }
.home-about span { font-size: 13px; color: var(--text-light); }
.home-about .arrow { font-weight: 700; font-size: 13px; white-space: nowrap; }

/* ホームページ実績のページ構成 */
.page-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; max-width: 380px; }
.page-chips li { font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--text-light); background: #fff; }

/* 共通フッター(サイトマップ) */
.site-footer { padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 40px; }
.footer-brand .logo { color: #fff; text-decoration: none; display: inline-block; margin-bottom: 10px; }
.footer-brand p { margin: 0; line-height: 1.8; max-width: 26em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 { font-size: 10px; letter-spacing: 0.18em; color: #cfd3da; margin: 0 0 10px; font-weight: 700; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a303a; margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 11px; }

/* Responsive */
@media (max-width: 900px) {
  .work, .work.reverse { flex-direction: column; align-items: flex-start; gap: 32px; }
  .work-shots { width: 100%; }
  .profile { grid-template-columns: 1fr; gap: 28px; }
  .skills { grid-template-columns: 1fr; }
  .skill, .skill + .skill { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; padding: 36px 28px; }
  .sns { justify-content: flex-start; }
  .cats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .hero { padding: 64px 0 56px; }
  .top-row { margin-bottom: 20px; }
  .works { padding: 64px 20px; gap: 72px; }
  .work-index { font-size: 48px; margin-bottom: 12px; }
  .work-shots { gap: 14px; flex-wrap: wrap; }
  .shot-web a { width: min(100%, 340px); height: 232px; }
  .shot-mobile a { width: 104px; height: 232px; }
  .nav-link, .top-nav .badge { display: none; }
  .about { padding: 72px 20px; gap: 56px; }
  .profile-photo { width: 160px; }
  .flow { grid-template-columns: 1fr; }
  .contact-links { min-width: 0; }
  .mega-panel { grid-template-columns: 1fr; padding: 20px; gap: 22px; }
  .mega-list { grid-template-columns: 1fr; }
  .mega-list a { padding: 5px 4px; }
  .cats { padding: 56px 20px 24px; }
  .cat-body { padding: 22px 22px 24px; }
  .home-about { padding: 24px 20px 72px; }
  .home-about a { flex-direction: column; align-items: flex-start; padding: 22px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) { .mega, .cat, .shot a { transition: none; } }

/* 業務ツール実績(実案件のケーススタディ) */
.mega-panel { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
.cat-wide { grid-column: 1 / -1; flex-direction: row; }
.cat-wide .cat-shots { flex: 1.15; aspect-ratio: 1280 / 860; }
.cat-wide .cat-body { flex: 1; justify-content: center; }
.skill-link { font-size: 12.5px; font-weight: 700; text-decoration: none; margin-top: 4px; }
.skill-link:hover { opacity: 0.7; }
.real-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: #e8d9a8; border: 1px solid rgba(232, 217, 168, 0.45); border-radius: 999px; padding: 5px 14px; margin: 0 0 18px; }
.real-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e8d9a8; }

.case { padding: 88px 24px 104px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 96px; }
.case-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.case-sec > header { display: grid; gap: 8px; }
.case-sec h2 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; line-height: 1.5; margin: 0; text-wrap: balance; }
.case-sec .sec-lead { font-size: 15px; line-height: 2; color: var(--text-light); margin: 0; max-width: 44em; }

.case-hero-shot { margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 48px rgba(20, 16, 14, 0.1); background: #fff; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--text); }
.facts li { padding: 24px 20px 6px 0; display: grid; gap: 4px; align-content: start; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts .num { font-family: var(--font-display); font-size: 40px; font-weight: 900; line-height: 1.1; }
.facts .num small { font-size: 16px; margin-left: 2px; }
.facts .lbl { font-size: 13px; font-weight: 700; }
.facts .sub { font-size: 12px; color: var(--text-light); line-height: 1.7; }

.ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.ba-col { border-radius: 16px; padding: 28px; display: grid; gap: 16px; align-content: start; }
.ba-before { background: #fff; border: 1px solid var(--line); }
.ba-after { background: var(--dark); color: #fff; }
.ba-col .ba-tag { font-size: 11px; letter-spacing: 0.18em; font-weight: 700; color: var(--caption); }
.ba-after .ba-tag { color: #e8d9a8; }
.ba-col h3 { font-family: var(--font-display); font-size: 20px; font-weight: 900; margin: 0; line-height: 1.5; }
.ba-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ba-steps li { font-size: 13.5px; line-height: 1.7; padding: 10px 14px; border-radius: 10px; background: var(--bg); }
.ba-after .ba-steps li { background: rgba(255, 255, 255, 0.08); }
.ba-steps li b { font-weight: 700; }
.ba-loop { font-size: 12px; font-weight: 700; color: #b4532a; letter-spacing: 0.04em; }
.ba-after .ba-loop { color: #e8d9a8; }
.pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pains li { font-size: 13.5px; line-height: 1.8; color: var(--text-light); padding-left: 18px; position: relative; }
.pains li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 2px; background: #b4532a; }
.pains b { color: var(--text); }
.ba-after .ba-note { font-size: 13.5px; line-height: 1.8; color: #c7cbd2; margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.gallery figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.gallery img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: #dfe3e8; }
.gallery figcaption { font-size: 13px; line-height: 1.8; color: var(--text-light); }
.gallery figcaption b { color: var(--text); display: block; font-size: 14px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.feature .f-no { font-size: 10px; letter-spacing: 0.16em; font-weight: 700; color: var(--caption); }
.feature h3 { font-family: var(--font-display); font-size: 17px; font-weight: 900; line-height: 1.5; margin: 0; }
.feature p { font-size: 13px; line-height: 1.8; color: var(--text-light); margin: 0; }
.feature ul { margin: 0; padding-left: 1.1em; font-size: 12.5px; line-height: 1.8; color: var(--text-light); }

.imposition { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 18px; }
.imposition svg { width: 100%; height: auto; display: block; }
.imposition p { font-size: 13px; line-height: 1.8; color: var(--text-light); margin: 0; }

.spec { margin: 0; display: grid; grid-template-columns: 160px minmax(0, 1fr); border-top: 1px solid var(--text); }
.spec dt, .spec dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.spec dt { font-weight: 700; font-size: 13px; color: var(--text-light); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--text-light); background: #fff; }

.work-text .chips { max-width: 380px; margin-top: 14px; }
.real-mark { display: inline-block; font-size: 10px; letter-spacing: 0.08em; font-weight: 700; color: #8a6a2a; background: #f3ead2; border-radius: 4px; padding: 1px 8px; margin-left: 10px; vertical-align: middle; }

@media (max-width: 900px) {
  .cat-wide { flex-direction: column; }
  .cat-wide .cat-shots { flex: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ba { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .case { padding: 64px 20px 72px; gap: 72px; }
  .facts .num { font-size: 32px; }
  .ba-col, .imposition { padding: 22px 18px; }
  .gallery, .features { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .spec dt { padding-bottom: 0; border-bottom: 0; }
  .spec dd { padding-top: 4px; }
}
