:root {
  --bg: #fff2af;
  --surface: rgba(255, 250, 236, 0.9);
  --text: #24170e;
  --text-soft: #6c5333;
  --line: #efd68c;
  --primary: #17120e;
  --primary-strong: #000000;
  --gold: #ffca0a;
  --gold-deep: #f0a400;
  --gold-soft: #fff2b8;
  --ink: #17120e;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 206, 40, 0.34), transparent 26%),
    radial-gradient(circle at top right, rgba(22, 119, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #ffe47b 0%, #fff2ba 24%, #fff9eb 56%, #fbf3da 100%);
}
a { color: inherit; text-decoration: none; }
.page-shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}
.card-surface {
  background: var(--surface);
  border: 1px solid rgba(255,244,214,0.88);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(101, 72, 11, 0.12);
  backdrop-filter: blur(14px);
}
.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  padding: 16px 20px;
  border-radius: 999px;
  background: rgba(255, 251, 241, 0.78);
  border: 1px solid rgba(255, 244, 203, 0.96);
  box-shadow: 0 16px 36px rgba(118, 86, 16, 0.12);
  backdrop-filter: blur(14px);
  max-width: 100%;
}
.brand-wrap { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  color: #ffd861; font-weight: 800; letter-spacing: 1px; background: linear-gradient(135deg, #17120e, #3a2b18);
}
.brand-title { font-size: 16px; font-weight: 800; }
.brand-subtitle { font-size: 12px; color: #927857; margin-top: 2px; }
.nav-links { display: flex; justify-content: center; gap: 28px; color: var(--text-soft); min-width: 0; flex-wrap: wrap; }
.nav-links a:hover { color: var(--ink); }
.top-actions, .hero-actions, .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.primary-btn, .ghost-btn { height: 44px; padding: 0 18px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.primary-btn {
  background: linear-gradient(135deg, #17120e, #3b2c19);
  color: #ffd861;
  border: 1px solid rgba(255, 216, 97, 0.24);
  box-shadow: 0 14px 26px rgba(23, 18, 14, 0.24);
}
.ghost-btn {
  background: linear-gradient(180deg, rgba(255, 245, 200, 0.95), rgba(255, 234, 158, 0.86));
  color: #2a1d12;
  border: 1px solid rgba(118, 84, 17, 0.22);
}
.primary-btn:hover,
.ghost-btn:hover {
  filter: brightness(1.03);
}
.hero-stage {
  position: relative; overflow: hidden; min-height: 0; margin-bottom: 22px;
  padding: 16px;
  background: linear-gradient(135deg, #ffd311 0%, #ffca0a 36%, #f7b500 100%);
  border: 1px solid rgba(255, 244, 203, 0.72);
  border-color: rgba(255, 244, 203, 0.72);
  box-shadow: 0 20px 44px rgba(118, 86, 16, 0.14);
  backdrop-filter: blur(12px);
  max-width: 100%;
}
.hero-banner-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 250, 232, 0.74);
  background: linear-gradient(180deg, rgba(255, 248, 225, 0.28), rgba(255, 255, 255, 0.12));
  box-shadow:
    0 28px 54px rgba(123, 83, 9, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 0 0 10px rgba(255, 249, 234, 0.22);
  backdrop-filter: blur(18px) saturate(1.08);
  width: min(100%, 1248px);
  margin: 0 auto;
  height: clamp(210px, 22vw, 340px);
  max-width: 100%;
  padding: 16px;
}
.hero-banner-frame::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}
.hero-banner-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.12), transparent 24%);
  pointer-events: none;
}
.hero-banner-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: contain;
  object-position: center center;
  transform: scale(1.08);
}
.hero-stage-copy { position: relative; z-index: 1; max-width: 980px; padding: 26px 8px 8px; margin: 0 auto; text-align: center; }
.hero-stage h1 {
  margin: 0 auto 10px;
  max-width: 820px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -2px;
  font-weight: 800;
  color: var(--ink);
}
.hero-stage-slogan {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 700;
  color: rgba(23, 18, 14, 0.92);
  margin-bottom: 18px;
}
.hero-stage p { max-width: 760px; margin: 0 auto 24px; font-size: 16px; line-height: 1.8; color: rgba(34,24,21,0.78); }
.hero-actions { justify-content: center; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; justify-content: center; }
.hero-tags span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(34, 24, 21, 0.42);
  background: rgba(255, 241, 180, 0.5);
  font-size: 13px;
  font-weight: 800;
  color: #2d2117;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .95fr; gap: 22px; align-items: stretch; margin-bottom: 22px; }
.hero-grid > * { min-width: 0; }
.hero-copy { padding: 36px; }
.hero-copy h2 { margin: 18px 0 14px; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -1px; }
.hero-copy p { margin: 0 0 28px; font-size: 16px; line-height: 1.85; color: var(--text-soft); max-width: 640px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.hero-metrics div { padding: 18px; border-radius: 18px; background: rgba(255, 247, 218, 0.96); border: 1px solid rgba(111,83,12,0.12); }
.hero-metrics strong { display: block; font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.hero-metrics span { color: #927857; font-size: 13px; }
.hero-visual {
  position: relative;
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(160deg, rgba(255, 213, 79, 0.36), rgba(255,252,244,0.98));
}
.hero-panel-main {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 20px 42px rgba(101,72,11,0.16);
  aspect-ratio: 4 / 3;
  min-height: 320px;
}
.hero-panel-main img, .case-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge { position: absolute; left: 18px; top: 18px; height: 34px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; background: rgba(23, 18, 14, 0.82); color: #fff; font-size: 12px; font-weight: 700; }
.hero-note {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,251,240,0.92);
  border: 1px solid rgba(101,72,11,0.08);
}
.hero-note span {
  display: block;
  font-size: 12px;
  color: #927857;
  margin-bottom: 6px;
}
.hero-note strong {
  display: block;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.signal-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 22px; }
.signal-card { padding: 18px 20px; }
.signal-card span { display: block; font-size: 12px; color: #927857; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; }
.signal-card strong { font-size: 16px; line-height: 1.6; }
.section-block { margin-top: 18px; padding: 28px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; margin-bottom: 22px; }
.section-kicker { display: inline-block; margin-bottom: 10px; color: #a66b00; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; }
.section-head p { max-width: 520px; margin: 0; color: var(--text-soft); line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { padding: 24px; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; inset: auto -40px -40px auto; width: 120px; height: 120px; border-radius: 50%; opacity: .08; background: currentColor; }
.service-card h3 { margin: 0 0 10px; font-size: 20px; }
.service-card p { margin: 0 0 16px; color: var(--text-soft); line-height: 1.75; min-height: 84px; }
.service-card ul { margin: 0; padding-left: 18px; color: var(--text-soft); line-height: 1.9; }
.accent-blue { color: #7a5100; }
.accent-gold { color: #d48806; }
.accent-green { color: #5b6b18; }
.accent-red { color: #8c3b00; }
.tab-switch { display: inline-flex; background: #fff8e5; padding: 6px; border-radius: 14px; border: 1px solid var(--line); gap: 6px; }
.tab-btn { border: 0; background: transparent; color: var(--text-soft); height: 38px; padding: 0 14px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; }
.tab-btn.active { background: rgba(255, 202, 10, 0.22); color: #5d3b00; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { overflow: hidden; }
.case-cover { aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f7; }
.case-body { padding: 18px 20px 22px; }
.case-tag { display: inline-flex; height: 30px; padding: 0 10px; align-items: center; border-radius: 999px; background: rgba(246,194,26,0.18); color: #7a5100; font-size: 12px; font-weight: 700; }
.case-body h3 { margin: 12px 0 10px; font-size: 20px; line-height: 1.45; }
.case-body p { margin: 0 0 16px; color: var(--text-soft); line-height: 1.8; min-height: 86px; }
.case-body a { color: #6c4700; font-weight: 700; }
.process-block .section-head { grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); }
.process-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr); gap: 18px; align-items: start; }
.timeline-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.timeline-card { padding: 24px; }
.timeline-card span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 202, 10, 0.2); color: #7a5100; font-weight: 800; margin-bottom: 18px; }
.timeline-card h3 { margin: 0 0 10px; }
.timeline-card p { margin: 0; color: var(--text-soft); line-height: 1.8; }
.news-panel { padding: 22px; }
.news-panel-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
.news-panel-head h3 { margin: 6px 0 0; font-size: 28px; line-height: 1.1; }
.news-panel-head a { color: #6c4700; font-weight: 700; white-space: nowrap; }
.news-list { display: grid; gap: 12px; }
.news-item {
  display: block;
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(255, 247, 218, 0.96);
  border: 1px solid rgba(111,83,12,0.12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.news-item:hover {
  transform: translateY(-2px);
  border-color: rgba(111,83,12,0.2);
  box-shadow: 0 12px 28px rgba(101,72,11,0.12);
}
.news-date {
  display: inline-flex;
  height: 28px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 202, 10, 0.16);
  color: #7a5100;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.news-item strong {
  display: block;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--ink);
}
.news-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 14px;
}
.contact-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; }
.contact-copy { padding: 18px 0; }
.contact-copy h2 { margin: 0 0 16px; font-size: clamp(28px, 4vw, 42px); line-height: 1.2; }
.contact-copy p { margin: 0; color: var(--text-soft); line-height: 1.9; max-width: 680px; }
.contact-card { padding: 28px; }
.contact-row { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f0e3b2; }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row span { color: #927857; }
.contact-row strong { line-height: 1.7; }
.floating-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: grid;
  gap: 14px;
}
.floating-card {
  position: relative;
  width: 118px;
  min-height: 118px;
  padding: 16px 12px 14px;
  border-radius: 24px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(255, 251, 241, 0.92), rgba(255, 241, 193, 0.88));
  border: 1px solid rgba(255, 241, 208, 0.92);
  box-shadow:
    0 18px 38px rgba(111, 83, 12, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.08);
  text-align: center;
}
.floating-card::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}
.floating-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 44px rgba(111, 83, 12, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #17120e, #3b2c19);
  box-shadow: inset 0 1px 0 rgba(255, 216, 97, 0.18);
}
.floating-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.floating-title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #342416;
}
.floating-subtitle {
  font-size: 12px;
  line-height: 1.45;
  color: #8a6a42;
  font-weight: 700;
}
.floating-qr-card {
  cursor: default;
}
.floating-qr-pop {
  position: absolute;
  right: 132px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  width: 180px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 250, 236, 0.94);
  border: 1px solid rgba(255, 241, 208, 0.96);
  box-shadow: 0 22px 48px rgba(111, 83, 12, 0.2);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.floating-qr-card:hover .floating-qr-pop {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.floating-qr-pop img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-bottom: 10px;
}
.floating-qr-pop strong {
  display: block;
  text-align: center;
  color: #342416;
  font-size: 14px;
}
.page-hero { padding: 34px; margin-bottom: 22px; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; }
.page-hero p { margin: 0; max-width: 760px; color: var(--text-soft); line-height: 1.8; font-size: 16px; }
.page-hero-meta { margin-top: 18px; color: #927857; font-size: 14px; font-weight: 700; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-grid.news-catalog { grid-template-columns: repeat(2, 1fr); }
.catalog-pager { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.catalog-pager a {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 247, 218, 0.96);
  border: 1px solid rgba(111,83,12,0.12);
  color: var(--text-soft);
  font-weight: 700;
}
.catalog-pager a.active {
  background: linear-gradient(135deg, #17120e, #3b2c19);
  color: #ffd861;
  border-color: rgba(255, 216, 97, 0.24);
}
.list-card { overflow: hidden; }
.list-card-cover { aspect-ratio: 16 / 10; overflow: hidden; background: #f6f0de; }
.list-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.list-card-body { padding: 18px 20px 22px; }
.list-card-body h3 { margin: 12px 0 10px; font-size: 22px; line-height: 1.4; }
.list-card-body p { margin: 0 0 16px; color: var(--text-soft); line-height: 1.8; }
.text-link { color: #6c4700; font-weight: 700; }
.news-card .list-card-body { padding-top: 22px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr); gap: 18px; }
.detail-main,
.detail-sidebar { min-width: 0; }
.detail-hero { margin-bottom: 18px; }
.detail-visual { overflow: hidden; padding: 16px; margin-bottom: 18px; }
.detail-visual img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  background: rgba(255, 248, 225, 0.7);
}
.detail-content { display: grid; gap: 16px; }
.detail-section { padding: 26px; }
.detail-section h3 { margin: 0 0 12px; font-size: 24px; }
.detail-section p { margin: 0; color: var(--text-soft); line-height: 1.9; }
.detail-meta { padding: 24px; }
.detail-meta + .detail-meta { margin-top: 18px; }
.detail-meta h3 { margin: 0 0 14px; font-size: 22px; }
.detail-meta ul { margin: 0; padding-left: 18px; color: var(--text-soft); line-height: 1.9; }
.legacy-richtext { padding: 26px; }
.legacy-richtext img {
  width: auto;
  max-width: min(100%, 760px);
  max-height: 560px;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  display: block;
  margin: 20px auto;
  box-shadow: 0 16px 34px rgba(101, 72, 11, 0.14);
  background: rgba(255, 248, 225, 0.72);
}
.legacy-richtext p,
.legacy-richtext div,
.legacy-richtext li,
.legacy-richtext section { color: var(--text-soft); line-height: 1.9; font-size: 16px; }
.legacy-richtext h1,
.legacy-richtext h2,
.legacy-richtext h3,
.legacy-richtext h4 { color: var(--ink); line-height: 1.35; }
.legacy-richtext ol,
.legacy-richtext ul { padding-left: 20px; margin: 14px 0; }
.legacy-richtext a { color: #6c4700; }
.legacy-richtext strong,
.legacy-richtext b { color: var(--ink); }
.image-fallback {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  background: linear-gradient(135deg, rgba(255, 244, 203, 0.96), rgba(255, 226, 132, 0.88));
}
.detail-visual.image-fallback,
.list-card-cover.image-fallback,
.case-cover.image-fallback {
  min-height: 220px;
}
.image-fallback-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(23, 18, 14, 0.82);
  color: #ffd861;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.detail-back-btn,
.detail-home-btn { width: 100%; margin-top: 10px; }
@media (max-width: 1100px) {
  .hero-grid, .service-grid, .case-grid, .timeline-grid, .signal-strip, .contact-panel, .section-head, .process-layout, .catalog-grid, .catalog-grid.news-catalog, .detail-layout { grid-template-columns: 1fr; }
  .hero-stage-copy { padding: 18px 8px 8px; }
  .floating-rail {
    right: 12px;
    top: auto;
    bottom: 18px;
    transform: none;
  }
  .floating-card {
    width: 96px;
    min-height: 96px;
    border-radius: 20px;
  }
  .floating-title {
    font-size: 16px;
  }
  .hero-banner-frame {
    width: min(100%, 980px);
    height: clamp(176px, 20vw, 260px);
    padding: 12px;
  }
  .service-card p,
  .case-body p {
    min-height: 0;
  }
}
@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 14px;
    border-radius: 24px;
    padding: 14px 16px;
  }
  .brand-wrap {
    gap: 12px;
  }
  .nav-links {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links a {
    flex: 0 0 auto;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 246, 214, 0.92);
    border: 1px solid rgba(111, 83, 12, 0.1);
    white-space: nowrap;
  }
  .top-actions {
    width: 100%;
    justify-content: stretch;
  }
  .top-actions a {
    flex: 1;
  }
}
@media (max-width: 768px) {
  .page-shell { padding: 12px 12px 146px; }
  .topbar { position: static; border-radius: 24px; grid-template-columns: 1fr; justify-items: stretch; }
  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .brand-title {
    font-size: 15px;
    line-height: 1.35;
  }
  .brand-subtitle {
    font-size: 11px;
    line-height: 1.5;
  }
  .top-actions { width: 100%; }
  .top-actions a { flex: 1; }
  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-actions a,
  .contact-actions a {
    width: 100%;
  }
  .hero-stage { padding: 10px; }
  .hero-banner-frame {
    width: 100%;
    height: 154px;
    border-radius: 16px;
    padding: 8px;
  }
  .hero-banner-frame img { object-position: center center; transform: scale(1.1); }
  .hero-stage-copy { padding: 16px 4px 4px; }
  .hero-stage h1 { font-size: clamp(24px, 8vw, 34px); letter-spacing: -1px; }
  .hero-stage-slogan { font-size: 15px; }
  .hero-stage p { font-size: 14px; margin-bottom: 18px; }
  .hero-tags {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .hero-tags::-webkit-scrollbar {
    display: none;
  }
  .hero-tags span {
    flex: 0 0 auto;
  }
  .hero-tags span { height: 38px; padding: 0 14px; font-size: 13px; }
  .hero-copy, .contact-card { padding: 22px 18px; }
  .hero-copy h2 {
    margin-top: 0;
    font-size: 28px;
  }
  .hero-copy p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-visual {
    padding: 14px;
  }
  .hero-panel-main {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }
  .hero-note { padding: 14px 16px; }
  .hero-note strong {
    font-size: 16px;
  }
  .section-block {
    padding: 20px 0;
  }
  .section-head { gap: 14px; }
  .process-block .section-head,
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .section-head h2 {
    font-size: 28px;
    writing-mode: horizontal-tb;
    word-break: break-word;
  }
  .section-head p,
  .timeline-card p,
  .news-item p,
  .contact-copy p,
  .list-card-body p,
  .page-hero p {
    font-size: 14px;
    line-height: 1.75;
  }
  .signal-card,
  .timeline-card,
  .news-panel,
  .service-card,
  .case-body,
  .list-card-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  .service-card ul,
  .detail-meta ul,
  .legacy-richtext ol,
  .legacy-richtext ul {
    padding-left: 18px;
  }
  .tab-switch {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .tab-switch::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex: 0 0 auto;
  }
  .news-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }
  .floating-rail {
    display: grid;
    right: 12px;
    left: 12px;
    bottom: 10px;
    top: auto;
    transform: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .floating-card {
    width: 100%;
    min-height: 70px;
    padding: 10px 12px;
    border-radius: 16px;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon sub";
    justify-items: start;
    align-items: center;
    gap: 3px 10px;
    text-align: left;
  }
  .floating-card::after {
    inset: 6px;
    border-radius: 14px;
  }
  .floating-icon {
    grid-area: icon;
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
  .floating-icon img {
    width: 18px;
    height: 18px;
  }
  .floating-title {
    grid-area: title;
    font-size: 14px;
  }
  .floating-subtitle {
    grid-area: sub;
    font-size: 10px;
  }
  .floating-qr-pop {
    right: 0;
    left: 0;
    top: auto;
    bottom: 82px;
    width: auto;
    transform: translateY(10px);
  }
  .floating-qr-card:hover .floating-qr-pop {
    transform: translateY(0);
  }
  .page-hero,
  .detail-section,
  .detail-meta { padding: 20px 18px; }
  .detail-visual img,
  .legacy-richtext img {
    max-height: 360px;
  }
  .catalog-pager {
    padding: 0 12px 12px;
    gap: 8px;
  }
  .catalog-pager a {
    min-width: 38px;
    height: 38px;
  }
}
@media (max-width: 560px) {
  .hero-stage h1 {
    font-size: 22px;
    line-height: 1.16;
  }
  .detail-visual img,
  .legacy-richtext img {
    max-height: 280px;
    border-radius: 14px;
  }
  .hero-stage-slogan {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .hero-banner-frame {
    height: 138px;
    padding: 7px;
  }
  .hero-banner-frame::before {
    inset: 7px;
    border-radius: 13px;
  }
  .hero-banner-frame img {
    border-radius: 12px;
  }
  .case-cover,
  .list-card-cover {
    aspect-ratio: 4 / 3;
  }
  .floating-card {
    min-height: 64px;
    padding: 9px 10px;
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .floating-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .floating-icon img {
    width: 16px;
    height: 16px;
  }
  .floating-title {
    font-size: 13px;
  }
  .floating-subtitle {
    font-size: 10px;
  }
}
