/* トップの色付き硝子をブロンズ調にする */
.hero[data-glass-type="tinted"] .hero-visual span {
  border-color: rgba(222, 184, 132, 0.58);
  background:
    linear-gradient(135deg, rgba(151, 103, 48, 0.72), rgba(73, 46, 25, 0.34));
  box-shadow:
    inset 0 0 55px rgba(242, 202, 143, 0.14),
    0 40px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(3px) saturate(1.1);
}

.hero[data-glass-type="tinted"] .hero-visual span::before {
  opacity: 0.38;
  background: linear-gradient(180deg, rgba(255, 231, 194, 0.3), transparent 46%, rgba(56, 30, 12, 0.18));
}

/* 硝子屋さんのお仕事 別ページ */
.site-header .back-link {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.work-page-hero {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 28%, rgba(86, 147, 139, 0.34), transparent 31%),
    linear-gradient(122deg, #071b2a, #123c52 56%, #254f4c);
}

.work-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
}

.work-page-hero .container {
  position: relative;
  z-index: 1;
}

.work-page-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  letter-spacing: 0.06em;
}

.work-page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

.work-page-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.work-page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(4, 24, 38, 0.22);
  backdrop-filter: blur(10px);
}

.work-page-main .work-atlas {
  padding-top: 88px;
}

.work-mobile-controls {
  display: none;
}

@media (max-width: 620px) {
  .work-page-hero {
    min-height: 300px;
    padding: 126px 0 56px;
  }

  .site-header .back-link {
    font-size: 0.72rem;
  }

  .work-building-wrap {
    overflow: visible !important;
    padding: 10px 0 4px !important;
  }

  .work-building {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
  }

  .work-building .work-label {
    display: none;
  }

  .work-building-wrap::after {
    display: none !important;
    content: none !important;
  }

  .work-mobile-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 14px 18px;
    border-top: 1px solid rgba(49, 93, 84, 0.14);
    background: rgba(248, 251, 250, 0.92);
  }

  .work-mobile-controls button {
    appearance: none;
    min-height: 46px;
    padding: 9px 8px;
    color: #153f50;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(49, 93, 84, 0.28);
    border-radius: 4px;
    background: #fff;
  }

  .work-mobile-controls button.is-active,
  .work-mobile-controls button[aria-pressed="true"] {
    color: #fff;
    border-color: #315d54;
    background: #315d54;
  }
}