body { font-family: "Noto Sans JP", sans-serif; }
.font-jp { font-family: "Zen Maru Gothic", sans-serif; }
.font-en { font-family: "Quicksand", sans-serif; }

.section-en {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 5rem);
  letter-spacing: 0.08em;
  color: rgba(6, 32, 62, 0.08);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #74777e;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: #1f3554; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.category-hub-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 53, 84, 0.12);
}

.category-hub-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.category-hub-grid > .category-hub-card {
  width: 100%;
}
@media (min-width: 640px) {
  .category-hub-grid > .category-hub-card {
    width: calc((100% - 1.5rem) / 2);
  }
}
@media (min-width: 1024px) {
  .category-hub-grid > .category-hub-card {
    width: calc((100% - 3rem) / 3);
  }
}

.works-item .rounded-2xl { transition: box-shadow 0.2s; }
.works-item:hover .rounded-2xl { box-shadow: 0 4px 16px rgba(6,32,62,0.15); }
.works-item { cursor: pointer; width: 100%; }
@media (min-width: 640px)  { .works-item { width: calc(50% - 12px); } }
@media (min-width: 1024px) { .works-item { width: calc(33.333% - 16px); } }

.works-item-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #EEF2F6;
  color: #1f3554;
  margin-top: 0.35rem;
}

#lightbox-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.92);
  cursor: zoom-out;
  opacity: 0; transition: opacity 0.25s ease;
  display: none;
}
#lightbox-overlay.open { opacity: 1; display: block; }
#lightbox-img {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: 8px;
  transition: transform 0.25s ease;
}
#lightbox-overlay.open #lightbox-img { transform: translate(-50%, -50%) scale(1); }
@media (min-width: 1024px) { #lightbox-img { max-width: 55vw; max-height: 72vh; } }
#lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  color: white; background: rgba(255,255,255,0.15);
  border: none; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; font-size: 1.25rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
#lightbox-close:hover { background: rgba(255,255,255,0.3); }

.svc-chip {
  display: inline-block;
  background: #fff;
  color: #44474e;
  font-size: 0.875rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  border: 1px solid #fff;
  box-shadow: 0 1px 4px rgba(6, 32, 62, 0.06);
}

.svc-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 53, 84, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .svc-card { transition: none; }
  .svc-card:hover { transform: none; }
}

.contact-tab-active {
  background-color: #06203e;
  color: white;
  border-color: #06203e;
}
.field-error { border-color: #ef4444 !important; }
.error-msg {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
}
.error-msg.show { display: block; }

.category-nav-chip {
  border: 1px solid #EEF2F6;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: #44474e;
  transition: all 0.2s;
  white-space: nowrap;
}
.category-nav-chip:hover,
.category-nav-chip.active {
  background: #06203e;
  color: white;
  border-color: #06203e;
}

header.scrolled { box-shadow: 0 2px 16px rgba(6, 32, 62, 0.08); }
