@charset "UTF-8";

/* ==========================================================
   0. デザイントークン & 変数定義（2026 Modern Design Tokens）
========================================================== */
:root {
  /* Brand Core Palette */
  --c-navy-950:    #070d18;
  --c-navy-900:    #0c1626;
  --c-navy-800:    #132238;
  --c-navy-700:    #1c2f4c;
  --c-navy-600:    #2a4365;

  /* Accent: 建設（Building - 堅実・躍動・琥珀テラコッタ） */
  --c-build-primary: #d97736;
  --c-build-dark:    #b3581d;
  --c-build-light:   #fff7ed;
  --c-build-glow:    rgba(217, 119, 54, 0.28);
  --c-build-gradient: linear-gradient(135deg, #d97736 0%, #b3581d 100%);

  /* Accent: 福祉（Welfare - 温もり・包容・セルリアンアクア） */
  --c-welfare-primary: #3b82b6;
  --c-welfare-dark:    #1e5f8f;
  --c-welfare-light:   #f0f7fc;
  --c-welfare-glow:    rgba(59, 130, 182, 0.28);
  --c-welfare-gradient: linear-gradient(135deg, #4fa3d1 0%, #1e5f8f 100%);

  /* Neutral & Surfaces */
  --c-surface-white: #ffffff;
  --c-surface-paper: #f8fafc;
  --c-surface-card:  #ffffff;
  --c-surface-elevated: #f1f5f9;
  --c-border-light:  rgba(15, 23, 42, 0.08);
  --c-border-medium: rgba(15, 23, 42, 0.14);
  --c-border-inv:    rgba(255, 255, 255, 0.15);

  /* Typography Colors */
  --c-text-main:    #0f172a;
  --c-text-muted:   #475569;
  --c-text-subtle:  #64748b;
  --c-text-white:   #ffffff;
  --c-text-white-dim: rgba(255, 255, 255, 0.76);

  /* Fonts */
  --f-sans-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", sans-serif;
  --f-sans-en: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Sizing */
  --max-width: 1240px;
  --section-padding: clamp(84px, 11vw, 150px);
  --container-padding: clamp(20px, 5vw, 48px);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 8px rgba(12, 22, 38, 0.04), 0 1px 2px rgba(12, 22, 38, 0.02);
  --shadow-md: 0 12px 28px -6px rgba(12, 22, 38, 0.08), 0 4px 10px -2px rgba(12, 22, 38, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(12, 22, 38, 0.14), 0 10px 20px -6px rgba(12, 22, 38, 0.05);
  --shadow-split: 0 20px 40px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-fast: 0.22s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
  --transition-slow: 0.65s var(--ease-spring);
}

/* ==========================================================
   1. リセット & ベーススタイル
========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-sans-jp);
  color: var(--c-text-main);
  background-color: var(--c-surface-white);
  line-height: 1.85;
  letter-spacing: 0.025em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--c-build-primary);
  outline-offset: 3px;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   2. 共通レイアウト & タイポグラフィ
========================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-navy-600);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.eyebrow--build { color: var(--c-build-primary); }
.eyebrow--welfare { color: var(--c-welfare-primary); }
.eyebrow--light { color: rgba(255, 255, 255, 0.7); }
.eyebrow--light::before { background: rgba(255, 255, 255, 0.7); }

.section-head {
  margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 720px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head--center .eyebrow {
  justify-content: center;
}
.section-head--center .eyebrow::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.section-head h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--c-navy-950);
}

.section-head p.desc {
  margin-top: 16px;
  font-size: clamp(14.5px, 1.3vw, 16px);
  color: var(--c-text-muted);
  line-height: 1.8;
}

/* Button & Link Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--c-navy-900);
  color: #fff;
  box-shadow: 0 4px 14px rgba(12, 22, 38, 0.16);
}
.btn-primary:hover {
  background: var(--c-navy-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 22, 38, 0.22);
}

.btn-build {
  background: var(--c-build-gradient);
  color: #fff;
  box-shadow: 0 4px 16px var(--c-build-glow);
}
.btn-build:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--c-build-glow);
}

.btn-welfare {
  background: var(--c-welfare-gradient);
  color: #fff;
  box-shadow: 0 4px 16px var(--c-welfare-glow);
}
.btn-welfare:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--c-welfare-glow);
}

.btn-outline {
  border: 1px solid var(--c-border-medium);
  background: #fff;
  color: var(--c-text-main);
}
.btn-outline:hover {
  border-color: var(--c-navy-900);
  background: var(--c-surface-elevated);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-navy-900);
  position: relative;
  padding-bottom: 3px;
}
.btn-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform var(--transition-fast);
}
.btn-link:hover::after {
  transform: scaleX(1);
}
.btn-link .arrow {
  transition: transform var(--transition-fast);
}
.btn-link:hover .arrow {
  transform: translateX(4px);
}

.btn-link--build { color: var(--c-build-primary); }
.btn-link--welfare { color: var(--c-welfare-primary); }
.btn-link--white { color: #ffffff; }

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-spring), transform 0.85s var(--ease-spring);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   3. ヘッダー（Global Navigation）
========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease-smooth),
              height 0.35s var(--ease-smooth),
              box-shadow 0.4s var(--ease-smooth),
              border-color 0.4s var(--ease-smooth);
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.75) 0%, rgba(7, 13, 24, 0) 100%);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border-light);
  box-shadow: 0 4px 20px rgba(12, 22, 38, 0.05);
}

.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color var(--transition-fast);
}
.brand-sub {
  font-family: var(--f-sans-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.site-header.scrolled .brand-name { color: var(--c-navy-950); }
.site-header.scrolled .brand-sub { color: var(--c-navy-600); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--f-sans-en);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-build-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}
.nav-links a:hover {
  color: #ffffff;
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header.scrolled .nav-links a {
  color: var(--c-navy-800);
}
.site-header.scrolled .nav-links a:hover {
  color: var(--c-navy-950);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition: var(--transition-fast);
}
.header-cta:hover {
  background: #ffffff;
  color: var(--c-navy-950);
  border-color: #ffffff;
}

.site-header.scrolled .header-cta {
  border-color: var(--c-navy-900);
  color: #fff;
  background: var(--c-navy-900);
}
.site-header.scrolled .header-cta:hover {
  background: var(--c-navy-800);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #ffffff;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.site-header.scrolled .mobile-menu-btn {
  color: var(--c-navy-950);
}

/* ==========================================================
   4. ヒーローセクション（Split Screen 2択UI）
========================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  background: var(--c-navy-950);
  overflow: hidden;
}

/* センターステージ（総合タイトル & コンセプト） */
.hero-center {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  text-align: center;
  color: #ffffff;
  pointer-events: none;
  width: min(92%, 680px);
}

.hero-center-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(7, 13, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.hero-center-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.hero-center-title {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-center-msg {
  margin-top: 12px;
  font-size: clamp(13px, 1.4vw, 15.5px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

/* スプリットペイン */
.hero-split {
  position: relative;
  height: 100%;
  width: 50%;
  flex: 0 0 50%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: flex-basis 0.75s var(--ease-spring);
  will-change: flex-basis;
}

/* デスクトップホバー時の比率伸縮 */
.hero.hover-build .hero-split--build { flex-basis: 62%; }
.hero.hover-build .hero-split--welfare { flex-basis: 38%; }
.hero.hover-welfare .hero-split--welfare { flex-basis: 62%; }
.hero.hover-welfare .hero-split--build { flex-basis: 38%; }

.hero-split-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 1.2s var(--ease-spring), filter 0.6s var(--ease-smooth);
}

.hero-split:hover .hero-split-bg {
  transform: scale(1.12);
}

/* 背景画像 & 階調グラデーション */
.hero-split--build .hero-split-bg {
  background-color: #171e29;
  background-image:
    linear-gradient(180deg, rgba(10, 15, 24, 0.42) 0%, rgba(10, 15, 24, 0.78) 55%, rgba(9, 13, 20, 0.94) 100%),
    url("https://images.unsplash.com/photo-1541976590-713941681591?q=80&w=1600&auto=format&fit=crop");
}
.hero-split--welfare .hero-split-bg {
  background-color: #0e2030;
  background-image:
    linear-gradient(180deg, rgba(7, 18, 29, 0.42) 0%, rgba(7, 18, 29, 0.78) 55%, rgba(6, 15, 25, 0.94) 100%),
    url("https://images.unsplash.com/photo-1573497491208-6b1acb260507?q=80&w=1600&auto=format&fit=crop");
}

/* スプリットコンテンツ領域 */
.hero-split-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 clamp(28px, 6vw, 72px) clamp(64px, 10vh, 108px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.hero-split--build .hero-split-content {
  align-items: flex-start;
  text-align: left;
  padding-right: clamp(24px, 8vw, 120px);
}
.hero-split--welfare .hero-split-content {
  align-items: flex-end;
  text-align: right;
  padding-left: clamp(24px, 8vw, 120px);
  margin-left: auto;
}

.hero-split-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--f-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-split--build .hero-split-tag {
  background: rgba(217, 119, 54, 0.2);
  color: #ff9858;
  border: 1px solid rgba(217, 119, 54, 0.4);
}
.hero-split--welfare .hero-split-tag {
  background: rgba(59, 130, 182, 0.2);
  color: #72bbf0;
  border: 1px solid rgba(59, 130, 182, 0.4);
}

.hero-split-label {
  font-family: var(--f-sans-en);
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero-split--build .hero-split-label {
  color: #f7a268;
}
.hero-split--welfare .hero-split-label {
  color: #92cdfa;
}

.hero-split-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.hero-split-desc {
  font-size: clamp(13px, 1.2vw, 14.5px);
  line-height: 1.85;
  color: var(--c-text-white-dim);
  max-width: 320px;
  margin-bottom: 24px;
}

.hero-split-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  transition: var(--transition-normal);
}
.hero-split--build:hover .hero-split-btn {
  background: var(--c-build-primary);
  border-color: var(--c-build-primary);
  box-shadow: 0 4px 18px var(--c-build-glow);
  transform: translateX(4px);
}
.hero-split--welfare:hover .hero-split-btn {
  background: var(--c-welfare-primary);
  border-color: var(--c-welfare-primary);
  box-shadow: 0 4px 18px var(--c-welfare-glow);
  transform: translateX(-4px);
}

/* スプリット分割ボーダーライン */
.hero-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 40%, rgba(255, 255, 255, 0.35) 60%, rgba(255, 255, 255, 0) 100%);
  z-index: 15;
  transform: translateX(-50%);
  transition: left 0.75s var(--ease-spring);
  pointer-events: none;
}
.hero.hover-build .hero-divider { left: 62%; }
.hero.hover-welfare .hero-divider { left: 38%; }

/* スクロール誘導インジケーター */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--f-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  pointer-events: none;
}
.scroll-indicator .line {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.scroll-indicator .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  animation: scrollDown 2s infinite var(--ease-smooth);
}
@keyframes scrollDown {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ==========================================================
   5. ABOUT（事務所について）
========================================================== */
.about {
  padding: var(--section-padding) 0;
  background: var(--c-surface-white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.about-sticky {
  position: sticky;
  top: 120px;
}

.about-lead {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.6;
  color: var(--c-navy-950);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.about-lead mark {
  background: transparent;
  color: var(--c-build-primary);
  font-weight: inherit;
}

.about-text {
  font-size: 16px;
  color: var(--c-text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}

/* 事務所概要（テーブル＆マップ） */
.about-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-table-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border-light);
  box-shadow: var(--shadow-sm);
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}
.about-table tr {
  border-bottom: 1px solid var(--c-border-light);
}
.about-table tr:last-child {
  border-bottom: none;
}
.about-table th {
  padding: 16px 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-navy-950);
  background: var(--c-surface-paper);
  white-space: nowrap;
  width: 110px;
  text-align: left;
  vertical-align: top;
}
.about-table td {
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--c-text-muted);
  line-height: 1.7;
}
.about-table td a {
  color: inherit;
  text-decoration: none;
}
.about-table td a:hover {
  color: var(--c-build-primary);
  text-decoration: underline;
}

.about-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border-light);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.about-map iframe {
  display: block;
}

/* ==========================================================
   6. OUR SPECIALTIES（2大専門領域詳細）
========================================================== */
.specialties {
  padding: var(--section-padding) 0;
  background: var(--c-surface-paper);
  position: relative;
}

.spec-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.spec-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px);
  border: 1px solid var(--c-border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  overflow: hidden;
}
.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  transition: height 0.3s;
}
.spec-card--build::before { background: var(--c-build-gradient); }
.spec-card--welfare::before { background: var(--c-welfare-gradient); }

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.spec-card--build:hover { border-color: rgba(217, 119, 54, 0.35); }
.spec-card--welfare:hover { border-color: rgba(59, 130, 182, 0.35); }

.spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.spec-tag {
  font-family: var(--f-sans-en);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.spec-card--build .spec-tag { color: var(--c-build-primary); }
.spec-card--welfare .spec-tag { color: var(--c-welfare-primary); }

.spec-domain {
  font-family: var(--f-sans-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text-subtle);
  background: var(--c-surface-elevated);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.spec-card h3 {
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--c-navy-950);
  margin-bottom: 14px;
}

.spec-card p.summary {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.spec-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spec-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--c-text-main);
}
.spec-features li svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.spec-card--build .spec-features li svg { color: var(--c-build-primary); }
.spec-card--welfare .spec-features li svg { color: var(--c-welfare-primary); }

.spec-action {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--c-border-light);
}

/* ==========================================================
   7. STRENGTH（私たちの強み - Bento Grid）
========================================================== */
.strength {
  padding: var(--section-padding) 0;
  background: var(--c-surface-white);
}

.strength-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bento-item {
  background: var(--c-surface-paper);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}
.bento-item:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-border-medium);
}

.bento-num {
  font-family: var(--f-sans-en);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--c-build-primary);
  margin-bottom: 18px;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--c-navy-900);
  box-shadow: var(--shadow-sm);
}

.bento-item h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-navy-950);
  margin-bottom: 12px;
}

.bento-item p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.8;
}

/* ==========================================================
   8. ACHIEVEMENTS（支援実績）
========================================================== */
.achievements {
  padding: var(--section-padding) 0;
  background: var(--c-navy-950);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.achievements::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 54, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.achievements::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 182, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.achievements .section-head h2 { color: #ffffff; }
.achievements .section-head p.desc { color: rgba(255, 255, 255, 0.7); }

.ach-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.stat-box {
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border-inv);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.stat-box:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.stat-value {
  font-family: var(--f-sans-en);
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 12px;
}
.stat-value span.suffix {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: 2px;
  color: rgba(255, 255, 255, 0.75);
}

.stat-label {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}

.ach-notice {
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================
   9. CASE STUDIES（支援事例）
========================================================== */
.cases {
  padding: var(--section-padding) 0;
  background: var(--c-surface-paper);
}

.case-group {
  margin-bottom: 60px;
}
.case-group:last-child {
  margin-bottom: 0;
}

.case-group-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--c-navy-950);
}
.case-group-header .group-tag {
  font-family: var(--f-sans-en);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.04em;
}
.case-group--build .group-tag { color: var(--c-build-primary); }
.case-group--welfare .group-tag { color: var(--c-welfare-primary); }

.case-group-header .group-desc {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-text-muted);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--c-border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-group--build .case-card:hover { border-color: var(--c-build-primary); }
.case-group--welfare .case-card:hover { border-color: var(--c-welfare-primary); }

.case-card h4 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--c-navy-950);
  line-height: 1.45;
}

.case-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-row {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-text-muted);
}
.case-row strong {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  margin-right: 6px;
  background: var(--c-surface-elevated);
  color: var(--c-navy-900);
}

/* ==========================================================
   10. NEWS（お知らせ）
========================================================== */
.news {
  padding: var(--section-padding) 0;
  background: var(--c-surface-white);
}

.news-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.news-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-tab {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text-muted);
  background: var(--c-surface-paper);
  border: 1px solid var(--c-border-light);
  transition: var(--transition-fast);
}
.news-tab:hover {
  color: var(--c-navy-950);
  background: var(--c-surface-elevated);
}
.news-tab.active {
  color: #ffffff;
  background: var(--c-navy-900);
  border-color: var(--c-navy-900);
}

.news-list {
  border-top: 1px solid var(--c-border-light);
}

.news-item {
  display: grid;
  grid-template-columns: 130px 100px 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 22px 12px;
  border-bottom: 1px solid var(--c-border-light);
  transition: background-color var(--transition-fast), padding-left var(--transition-fast);
  border-radius: var(--radius-xs);
}
.news-item:hover {
  background: var(--c-surface-paper);
  padding-left: 20px;
}

.news-item time {
  font-family: var(--f-sans-en);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-text-subtle);
}

.news-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-align: center;
  width: fit-content;
}
.news-badge--build { background: var(--c-build-light); color: var(--c-build-dark); }
.news-badge--welfare { background: var(--c-welfare-light); color: var(--c-welfare-dark); }
.news-badge--office { background: var(--c-surface-elevated); color: var(--c-text-muted); }

.news-item .news-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-main);
  line-height: 1.5;
}
.news-item .news-arrow {
  color: var(--c-text-subtle);
  transition: transform var(--transition-fast);
}
.news-item:hover .news-arrow {
  transform: translateX(4px);
  color: var(--c-navy-950);
}

.news-item.hidden {
  display: none;
}

/* ==========================================================
   11. SUSTAINABILITY & RECRUIT（サステナ・採用）
========================================================== */
.sustainability {
  padding: var(--section-padding) 0;
  background: var(--c-surface-paper);
}

.sustain-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.sustain-card {
  background: #ffffff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition-fast);
}
.sustain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--c-border-medium);
}
.sustain-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--c-navy-950);
}
.sustain-card p {
  font-size: 13.5px;
  color: var(--c-text-muted);
  line-height: 1.8;
}

.recruit-banner {
  position: relative;
  background: linear-gradient(135deg, var(--c-navy-950) 0%, var(--c-navy-800) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 84px) clamp(28px, 6vw, 72px);
  color: #ffffff;
  overflow: hidden;
  margin-top: clamp(60px, 8vw, 100px);
}
.recruit-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background:
    radial-gradient(ellipse at top right, rgba(217, 119, 54, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(59, 130, 182, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.recruit-content {
  position: relative;
  z-index: 5;
  max-width: 640px;
}
.recruit-content h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
}
.recruit-content p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  margin-bottom: 32px;
}

/* ==========================================================
   12. CONTACT（お問い合わせ）
========================================================== */
.contact {
  padding: var(--section-padding) 0;
  background: var(--c-surface-white);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card {
  padding: clamp(36px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--c-surface-paper);
  border: 1px solid var(--c-border-light);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition-normal);
  text-decoration: none;
  color: inherit;
}
.contact-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.contact-card--build:hover { border-color: var(--c-build-primary); }
.contact-card--welfare:hover { border-color: var(--c-welfare-primary); }

.contact-tag {
  font-family: var(--f-sans-en);
  font-size: 22px;
  font-weight: 800;
}
.contact-card--build .contact-tag { color: var(--c-build-primary); }
.contact-card--welfare .contact-tag { color: var(--c-welfare-primary); }

.contact-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-navy-950);
}

.contact-card p {
  font-size: 14.5px;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ==========================================================
   13. フッター（Site Footer）
========================================================== */
.site-footer {
  background: var(--c-navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 84px 0 32px;
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}
.footer-brand small {
  display: block;
  font-family: var(--f-sans-en);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-width: 28ch;
}

.footer-col h4 {
  font-family: var(--f-sans-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}
.footer-col a:hover {
  color: #ffffff;
}

.footer-sites {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.footer-site-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans-en);
  font-weight: 700;
  font-size: 13.5px;
  color: #ffffff;
}
.site-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.site-dot--build { background: var(--c-build-primary); box-shadow: 0 0 8px var(--c-build-primary); }
.site-dot--welfare { background: var(--c-welfare-primary); box-shadow: 0 0 8px var(--c-welfare-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================
   14. モーダルダイアログ（工事中案内 & アクセシブルUI）
========================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 24, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 44px);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s var(--ease-spring);
  text-align: center;
}
.modal-backdrop.is-open .modal-window {
  transform: scale(1) translateY(0);
}

.modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--c-build-light);
  color: var(--c-build-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-window h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-navy-950);
  margin-bottom: 12px;
}

.modal-window p {
  font-size: 14.5px;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-subtle);
  background: var(--c-surface-elevated);
  transition: var(--transition-fast);
}
.modal-close-btn:hover {
  background: var(--c-navy-900);
  color: #ffffff;
}

/* ==========================================================
   15. モバイルメニュー（ドロワー）
========================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--c-navy-950);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  padding: 24px clamp(24px, 6vw, 40px);
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease-spring);
  overflow-y: auto;
}
.mobile-drawer.is-open {
  transform: translateY(0);
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-close-btn {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 36px;
}
.mobile-nav-list a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================
   16. レスポンシブメディアクエリ
========================================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-sticky { position: static; }
  .spec-cards { grid-template-columns: 1fr; }
  .strength-bento { grid-template-columns: repeat(2, 1fr); }
  .ach-stats { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .sustain-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: flex; }

  /* ヒーローを縦積み分割へ */
  .hero {
    flex-direction: column;
    height: auto;
    min-height: 100svh;
  }
  .hero-split {
    width: 100%;
    flex: 1 1 auto;
    height: 50vh;
    min-height: 360px;
  }
  .hero.hover-build .hero-split--build,
  .hero.hover-build .hero-split--welfare,
  .hero.hover-welfare .hero-split--welfare,
  .hero.hover-welfare .hero-split--build {
    flex-basis: auto;
  }
  .hero-divider { display: none; }

  .hero-center {
    top: 7%;
    width: 90%;
  }

  .hero-split--build .hero-split-content,
  .hero-split--welfare .hero-split-content {
    padding: 0 24px 44px;
    text-align: left;
    align-items: flex-start;
    margin-left: 0;
  }

  .case-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }

  .news-item {
    grid-template-columns: 90px 80px 1fr;
    font-size: 13.5px;
  }
  .news-item .news-arrow { display: none; }
}

@media (max-width: 540px) {
  .about-table th { width: 90px; padding: 12px 14px; font-size: 0.78rem; }
  .about-table td { padding: 12px 14px; font-size: 0.85rem; }
  .strength-bento { grid-template-columns: 1fr; }
  .ach-stats { grid-template-columns: 1fr; }
  .sustain-cards { grid-template-columns: 1fr; }
  .news-header-wrap { flex-direction: column; align-items: flex-start; }
  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================
   17. スマホ・タブレット表示最適化 (360px〜1023px)
========================================================== */
@media screen and (min-width: 360px) and (max-width: 1023px) {
  /* 全体的に文字を少し小さくコンパクトに整える */
  body {
    font-size: 14.5px;
    line-height: 1.75;
  }

  h1, .hero-center-title {
    font-size: clamp(20px, 5.2vw, 28px);
  }

  .hero-center-msg {
    font-size: clamp(12px, 3.2vw, 14px);
    margin-top: 8px;
  }

  .section-head h2 {
    font-size: clamp(22px, 5vw, 30px);
  }

  .section-head p.desc {
    font-size: 13.5px;
    margin-top: 10px;
    line-height: 1.7;
  }

  .about-lead {
    font-size: clamp(20px, 4.8vw, 26px);
  }

  .about-text {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .info-card h4 {
    font-size: 14.5px;
  }

  .info-card p {
    font-size: 12.5px;
    line-height: 1.65;
  }

  .bento-item h3 {
    font-size: 16px;
  }

  .bento-item p {
    font-size: 13px;
    line-height: 1.65;
  }

  .spec-card h3 {
    font-size: 18px;
  }

  .spec-card p.summary {
    font-size: 13px;
    line-height: 1.7;
  }

  .spec-features li {
    font-size: 13px;
  }

  .hero-split-label {
    font-size: clamp(26px, 6vw, 38px);
  }

  .hero-split-sub {
    font-size: clamp(14px, 3.5vw, 17px);
  }

  .hero-split-desc {
    font-size: 12.5px;
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .hero-split-btn {
    font-size: 12.5px;
    padding: 8px 18px;
  }

  /* ドロワーメニュー：お問い合わせの下の空欄を解消しバランスよく配置 */
  .mobile-drawer {
    padding: 20px 24px;
    justify-content: flex-start;
  }

  .mobile-drawer-top {
    margin-bottom: 20px;
  }

  .mobile-nav-list {
    margin-bottom: 16px;
    gap: 0;
  }

  .mobile-nav-list a {
    padding: 11px 0;
    font-size: 15px;
  }

  /* 福祉事業者ボタンとSCROLL表示の被りを解消し、SCROLLをより下部へ配置 */
  .hero-split--welfare .hero-split-content {
    padding-bottom: 82px;
  }

  .scroll-indicator {
    bottom: 12px;
    gap: 4px;
  }

  .scroll-indicator span {
    font-size: 10px;
    letter-spacing: 0.15em;
  }

  .scroll-indicator .line {
    height: 24px;
  }
}


/* ==========================================================
   NEWS 詳細モーダル（microCMS本文表示）
========================================================== */
.news-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.news-modal[hidden] { display: none; }
.news-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.news-modal__panel { position: relative; width: 100%; max-width: 720px; max-height: 85vh; overflow-y: auto; background: #fff; border-radius: 8px; padding: 40px 36px 32px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.news-modal__close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: #555; padding: 8px; }
.news-modal__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.news-modal__title { font-size: 1.4rem; line-height: 1.5; margin: 0 0 20px; }
.news-modal__body { line-height: 1.9; font-size: 15px; overflow-wrap: anywhere; }
.news-modal__body p { margin: 0 0 1em; }
.news-modal__body img { max-width: 100%; height: auto; }
.news-modal__body a { text-decoration: underline; }
.news-modal__body ul, .news-modal__body ol { padding-left: 1.5em; margin: 0 0 1em; }
.news-modal__body table { border-collapse: collapse; }
.news-modal__body th, .news-modal__body td { border: 1px solid #ccc; padding: 6px 10px; }
@media (max-width: 600px) { .news-modal__panel { padding: 36px 20px 24px; } }
