/* Archive/Single: technology pre-content */
/* Technology cards shared by the archive and landing pages. */
.technology-archive__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.technology-info__more {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.technology-archive-card {
  min-width: 0;
}

.technology-archive-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(194, 198, 209, 0.35);
  border-radius: var(--radius-3xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.technology-archive-card__link:hover {
  transform: translateY(-0.375rem);
  box-shadow: var(--shadow-lg);
}

.technology-archive-card--featured .technology-archive-card__link {
  border: 2px solid var(--secondary-container);
  background: linear-gradient(180deg, var(--white) 68%, rgba(253, 139, 0, 0.08));
  box-shadow: 0 14px 32px rgba(0, 51, 102, 0.14);
}

.technology-archive-card--featured .technology-archive-card__link:hover {
  box-shadow: 0 20px 42px rgba(0, 51, 102, 0.2);
}

.technology-archive-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--surface-container);
}

.technology-archive-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.technology-archive-card__link:hover .technology-archive-card__image {
  transform: scale(1.06);
}

.technology-archive-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(253, 139, 0, 0.2), transparent 36%), linear-gradient(135deg, rgba(0, 51, 102, 0.1), rgba(0, 79, 111, 0.18));
  color: var(--primary);
}

.technology-archive-card__placeholder .material-symbols-outlined {
  font-size: 4rem;
}

.technology-archive-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2rem;
  overflow-wrap: anywhere;
}

.technology-archive-card__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.technology-archive-card__title {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.45;
}

.technology-archive-card--featured .technology-archive-card__title {
  font-size: 1.625rem;
}

.technology-archive-card__excerpt {
  margin: 1rem 0 0;
  color: var(--on-surface-variant);
  line-height: 1.8;
}

.technology-archive-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  width: fit-content;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--secondary);
  font-weight: 800;
  line-height: 1.4;
}

.technology-archive-card__more .material-symbols-outlined {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
}

.technology-archive-card__link:hover .technology-archive-card__more .material-symbols-outlined {
  transform: translateX(0.25rem);
}

.technology-archive__empty {
  margin: 0;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  background: var(--white);
  color: var(--on-surface-variant);
  text-align: center;
}

@media (max-width: 1023px) {
  .technology-archive__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .technology-archive__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .technology-archive-card__body {
    padding: 1.5rem;
  }
  .technology-archive-card__title {
    font-size: 1.25rem;
  }
  .technology-archive-card--featured .technology-archive-card__title {
    font-size: 1.375rem;
  }
}
/* ==========================================================================
   Custom Post Type: 技術情報 一覧・詳細
   ========================================================================== */
.page-main--technology-archive,
.page-main--technology-single {
  background: var(--background);
}

.page-hero--technology {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.92), rgba(0, 79, 111, 0.78));
}

.technology-archive__list--fields {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.technology-archive .technology-archive__list--fields {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.technology-archive__list--fields > .technology-archive-card {
  grid-column: span 3;
}

.technology-archive__list--fields > .technology-archive-card--featured {
  grid-column: span 4;
}

@media (max-width: 1023px) {
  .technology-archive .technology-archive__list--fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .technology-archive__list--fields > .technology-archive-card {
    grid-column: auto;
  }
}
@media (max-width: 767px) {
  .technology-archive .technology-archive__list--fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}
/* Page: energy cases */
.energy-cases-page {
  background: #f4f7f9;
  color: #142535;
}

.energy-cases-eyebrow {
  margin: 0 0 0.75rem;
  color: #d9b85f;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.energy-cases-intro {
  padding: clamp(4rem, 7vw, 7rem) 2rem;
  background: #fff;
}

.energy-cases-intro__inner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.energy-cases-intro h2 {
  margin: 0;
  color: #0c3455;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.45;
}

.energy-cases-intro__body > p:first-child {
  margin: 0;
  color: #41566a;
  font-size: 1.05rem;
  line-height: 2;
}

.energy-cases-notice {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #c18a27;
  border-radius: 0 0.75rem 0.75rem 0;
  background: #fff7e4;
  color: #5d4a22;
  line-height: 1.8;
}

.energy-cases-overview {
  background: #eef3f6;
}

.energy-case-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.energy-case-summary-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid rgba(12, 52, 85, 0.1);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1.25rem 3rem rgba(12, 40, 61, 0.08);
}

.energy-case-summary-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.energy-case-summary-card__number {
  color: #b77a16;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.energy-case-stage {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #fff1cc;
  color: #74500f;
  font-size: 0.75rem;
  font-weight: 800;
}

.energy-case-summary-card__category {
  margin: 1.5rem 0 0.5rem;
  color: #697b8b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.energy-case-summary-card h3 {
  margin: 0;
  color: #0c3455;
  font-size: 1.25rem;
  line-height: 1.6;
}

.energy-case-summary-card > p:not(.energy-case-summary-card__category) {
  margin: 1rem 0 1.5rem;
  color: #506578;
  line-height: 1.85;
}

.energy-case-summary-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: #0c5680;
  font-weight: 800;
}

.energy-case-summary-card a .material-symbols-outlined {
  font-size: 1.15rem;
}

.energy-case-details {
  background: #fff;
}

.energy-case-details__list {
  display: grid;
  gap: 2rem;
  max-width: 74rem;
  margin: 0 auto;
}

.energy-case-detail-card {
  scroll-margin-top: 7rem;
  overflow: hidden;
  border: 1px solid rgba(12, 52, 85, 0.12);
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(12, 40, 61, 0.08);
}

.energy-case-detail-card__header {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(135deg, #0a2d4b, #155a7a);
  color: #fff;
}

.energy-case-detail-card__index {
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.energy-case-detail-card__index span,
.energy-case-detail-card__index strong {
  display: block;
}

.energy-case-detail-card__index span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.energy-case-detail-card__index strong {
  margin-top: 0.2rem;
  color: #efd17a;
  font-family: var(--font-heading);
  font-size: 2.4rem;
}

.energy-case-detail-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 700;
}

.energy-case-detail-card__header h3 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.5;
}

.energy-case-detail-card__body {
  display: grid;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3.25rem);
}

.energy-case-detail-card__body h4 {
  margin: 0 0 0.75rem;
  color: #0c3455;
  font-size: 1.05rem;
}

.energy-case-detail-card__body p {
  margin: 0;
  color: #506578;
  line-height: 1.9;
}

.energy-case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(12, 52, 85, 0.12);
  border-radius: 1rem;
  background: #f4f7f9;
}

.energy-case-facts > div {
  padding: 1rem 1.15rem;
  border-left: 1px solid rgba(12, 52, 85, 0.1);
}

.energy-case-facts > div:first-child {
  border-left: 0;
}

.energy-case-facts dt {
  margin-bottom: 0.4rem;
  color: #718291;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.energy-case-facts dd {
  margin: 0;
  color: #263f52;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.65;
}

.energy-case-detail-card__research-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  margin: 0.8rem 0 0;
}

.energy-case-detail-card__research-partners dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.energy-case-detail-card__research-partners dd {
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.65;
}

.energy-case-detail-card__body ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.energy-case-detail-card__body li {
  position: relative;
  padding-left: 1.4rem;
  color: #40576b;
  line-height: 1.8;
}

.energy-case-detail-card__body li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #c18a27;
  content: "";
}

.energy-case-data__table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(12, 52, 85, 0.14);
  border-radius: 1rem;
}

.energy-case-data table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  background: #fff;
}

.energy-case-data th,
.energy-case-data td {
  padding: 0.9rem 1rem;
  border-right: 1px solid rgba(12, 52, 85, 0.1);
  border-bottom: 1px solid rgba(12, 52, 85, 0.1);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.energy-case-data tr:last-child th,
.energy-case-data tr:last-child td {
  border-bottom: 0;
}

.energy-case-data th:last-child,
.energy-case-data td:last-child {
  border-right: 0;
}

.energy-case-data thead th {
  background: #0e3c5d;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.energy-case-data tbody th {
  width: 10rem;
  background: #eef4f7;
  color: #183c55;
  font-size: 0.84rem;
}

.energy-case-data tbody td {
  color: #526779;
  font-size: 0.84rem;
}

.energy-case-data tbody td:nth-child(2) {
  width: 13rem;
  color: #203f55;
  font-weight: 700;
}

.energy-case-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.energy-case-figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(12, 52, 85, 0.12);
  border-radius: 1rem;
  background: #f2f6f8;
}

.energy-case-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  background: #edf2f5;
  object-fit: contain;
}

.energy-case-figure figcaption {
  padding: 0.9rem 1rem 1rem;
  color: #627486;
  font-size: 0.78rem;
  line-height: 1.7;
}

.energy-case-caution {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #ecd49a;
  border-radius: 1rem;
  background: #fff8e8;
}

.energy-case-caution > .material-symbols-outlined {
  color: #9b6812;
}

.energy-case-caution h4 {
  color: #694b16;
}

.energy-case-caution p {
  color: #67573a;
}

.energy-case-videos {
  padding-top: 0.25rem;
}

.energy-case-videos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.energy-case-video-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(12, 52, 85, 0.12);
  border-radius: 1rem;
  background: #fff;
  color: inherit;
  box-shadow: 0 0.75rem 2rem rgba(12, 40, 61, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.energy-case-video-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1.25rem 2.75rem rgba(12, 40, 61, 0.12);
}

.energy-case-video-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #dce5eb;
}

.energy-case-video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.energy-case-video-card:hover .energy-case-video-card__media img {
  transform: scale(1.04);
}

.energy-case-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #d71920;
  transform: translate(-50%, -50%);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.25);
}

.energy-case-video-card__body {
  display: grid;
  gap: 0.6rem;
  padding: 1.2rem;
}

.energy-case-video-card__body strong {
  color: #0c3455;
  font-size: 0.95rem;
  line-height: 1.6;
}

.energy-case-video-card__body > span {
  color: #627486;
  font-size: 0.8rem;
  line-height: 1.7;
}

.energy-case-video-card__body small {
  align-self: end;
  color: #0c5680;
  font-weight: 800;
}

.energy-case-videos__note {
  margin-top: 1rem !important;
  color: #6a7b89 !important;
  font-size: 0.78rem;
}

.energy-case-sources {
  border: 1px solid rgba(12, 52, 85, 0.12);
  border-radius: 1rem;
  background: #f7f9fa;
}

.energy-case-sources summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  color: #173c56;
  font-size: 0.9rem;
  font-weight: 800;
}

.energy-case-sources[open] summary {
  border-bottom: 1px solid rgba(12, 52, 85, 0.1);
}

.energy-case-sources ul {
  padding: 1.1rem 1.25rem 0;
}

.energy-case-sources > p {
  padding: 0 1.25rem 1.25rem;
  color: #71808c;
  font-size: 0.78rem;
}

.energy-cases-process {
  background: #eef3f6;
}

.energy-cases-process__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.energy-cases-process__list li {
  min-width: 0;
  padding: 1.75rem;
  border-top: 3px solid #c18a27;
  border-radius: var(--radius-3xl);
  background: #fff;
}

.energy-cases-process__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 12rem;
  aspect-ratio: 3/2;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-xl);
  background: #eef3f6;
  object-fit: contain;
}

.energy-cases-process__list span {
  display: block;
  flex-shrink: 0;
  color: #b77a16;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.energy-cases-process__heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.75rem;
  margin-bottom: 1.25rem;
}
.energy-cases-process__heading strong {
  flex: 1;
  min-width: 0;
  line-height: 1.6;
}

.energy-cases-process__list strong {
  display: block;
  color: #0c3455;
  font-size: 1.05rem;
}

.energy-cases-process__list p {
  margin: 0.75rem 0 0;
  color: #5a6d7e;
  line-height: 1.75;
}

@media (max-width: 960px) {
  .energy-cases-intro__inner {
    grid-template-columns: 1fr;
  }
  .energy-case-summary-grid {
    grid-template-columns: 1fr;
  }
  .energy-cases-process__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .energy-cases-intro {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
  .energy-case-detail-card__header {
    grid-template-columns: 1fr;
  }
  .energy-case-detail-card__index {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0;
    border: 0;
    text-align: left;
  }
  .energy-case-detail-card__index strong {
    font-size: 1.75rem;
  }
  .energy-case-facts {
    grid-template-columns: 1fr;
  }
  .energy-case-facts > div {
    border-top: 1px solid rgba(12, 52, 85, 0.1);
    border-left: 0;
  }
  .energy-case-facts > div:first-child {
    border-top: 0;
  }
  .energy-case-figures,
  .energy-case-videos__grid {
    grid-template-columns: 1fr;
  }
  .energy-cases-process__list {
    grid-template-columns: 1fr;
  }
}
.technology-pagination {
  margin-top: 4rem;
}

.technology-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.technology-pagination .page-numbers li {
  margin: 0;
}

.technology-pagination .page-numbers a,
.technology-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(0, 51, 102, 0.16);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--primary);
  font-weight: 800;
}

.technology-pagination .page-numbers .current {
  background: var(--primary);
  color: var(--white);
}

.technology-pagination .page-numbers a:hover {
  background: rgba(0, 51, 102, 0.08);
}

/* single */
.technology-single__hero .page-hero__overlay {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.92) 0%, rgba(0, 79, 111, 0.72) 52%, rgba(0, 55, 79, 0.44) 100%);
}

.technology-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.technology-single__date {
  color: var(--blue-100);
  font-size: 0.9375rem;
  font-weight: 700;
}

.technology-single__category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  background: rgba(253, 139, 0, 0.18);
  color: var(--secondary-container);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.4;
}

.technology-single__title {
  max-width: 1080px;
}

.technology-single__lead {
  max-width: 880px;
}

.technology-single__inner {
  max-width: var(--content-width, 1440px);
}

.technology-single__content {
  overflow-wrap: break-word;
  border-radius: var(--radius-3xl);
  padding: 4rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Case-study figures: click-to-enlarge lightbox. */
.energy-case-detail-card .energy-case-figure img.is-lightbox-enabled {
  cursor: zoom-in;
}

.energy-case-detail-card .energy-case-figure img.is-lightbox-enabled:focus-visible {
  outline: 3px solid #fd8b00;
  outline-offset: 4px;
}

body.is-case-lightbox-open {
  overflow: hidden;
}

.case-image-lightbox[hidden] {
  display: none;
}

.case-image-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 20, 34, 0.92);
  backdrop-filter: blur(7px);
}

.case-image-lightbox__dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(92vw, 1280px);
  max-width: min(92vw, 1280px);
  max-height: 92vh;
  gap: 0.75rem;
  padding: clamp(0.6rem, 2vw, 1rem);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 1.2rem;
  background: #ffffff;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.45);
}

.case-image-lightbox__controls {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
}

.case-image-lightbox__zoom-button {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(0, 51, 102, 0.2);
  border-radius: 0.65rem;
  background: #edf4f7;
  color: #003366;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.case-image-lightbox__zoom-button:hover,
.case-image-lightbox__zoom-button:focus-visible {
  border-color: #003366;
  background: #003366;
  color: #ffffff;
  outline: none;
}

.case-image-lightbox__zoom-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.case-image-lightbox__zoom-button:disabled:hover {
  border-color: rgba(0, 51, 102, 0.2);
  background: #edf4f7;
  color: #003366;
}

.case-image-lightbox__zoom-button .material-symbols-outlined {
  font-size: 1.25rem;
}

.case-image-lightbox__zoom-status {
  min-width: 3.5rem;
  color: #334e63;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: center;
}

.case-image-lightbox__viewport {
  min-width: 0;
  min-height: 12rem;
  max-height: min(72vh, 860px);
  overflow: auto;
  border-radius: 0.75rem;
  background: #e6edf1;
  overscroll-behavior: contain;
  text-align: center;
}

.case-image-lightbox__viewport.is-zoomed {
  text-align: left;
}

.case-image-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 960px);
  margin: auto;
  border-radius: 0.75rem;
  object-fit: contain;
}

.case-image-lightbox__image.is-zoomed {
  max-width: none;
  max-height: none;
  margin: 0;
}

.case-image-lightbox__caption {
  max-width: 70rem;
  margin: 0;
  padding: 0 0.45rem 0.25rem;
  color: #334e63;
  font-size: 0.85rem;
  line-height: 1.65;
  text-align: center;
}

.case-image-lightbox__close {
  position: absolute;
  z-index: 1;
  top: -0.9rem;
  right: -0.9rem;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: #003366;
  color: #ffffff;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0.5rem 1.4rem rgba(0, 0, 0, 0.3);
}

.case-image-lightbox__close:hover,
.case-image-lightbox__close:focus-visible {
  background: #fd8b00;
  outline: none;
}

@media (max-width: 640px) {
  .case-image-lightbox {
    padding: 1rem;
  }
  .case-image-lightbox__dialog {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    border-radius: 0.9rem;
  }
  .case-image-lightbox__controls {
    justify-content: flex-start;
    padding-right: 3rem;
  }
  .case-image-lightbox__zoom-button--reset > span:last-child {
    display: none;
  }
  .case-image-lightbox__viewport {
    min-height: 10rem;
    max-height: 72vh;
  }
  .case-image-lightbox__image {
    max-height: 72vh;
  }
  .case-image-lightbox__close {
    top: 0.3rem;
    right: 0.3rem;
    width: 2.65rem;
    height: 2.65rem;
  }
}
/* 導入事例：分野一覧と共通のヘッダー画像 */
.energy-cases-page-hero .page-hero__overlay {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.8), rgba(0, 79, 111, 0.6));
}

.energy-cases-page-hero .page-hero__title {
  font-size: clamp(2.125rem, 4vw, 3.5rem);
}

/* 導入事例：「参照した資料」内のDownload Monitor資料カード */
.case-source-downloads {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 1rem;
  padding: 0;
}

.case-source-downloads .nb2-document-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(194, 198, 209, 0.35);
  border-radius: var(--radius-3xl, 1.5rem);
  background: #ffffff;
  box-shadow: var(--shadow-sm, 0 0.4rem 1.25rem rgba(12, 52, 85, 0.08));
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-source-downloads .nb2-document-card > div:first-child {
  min-width: 0;
}

.case-source-downloads .nb2-document-card:hover {
  border-color: rgba(0, 51, 102, 0.2);
  box-shadow: var(--shadow-lg, 0 1rem 2.5rem rgba(12, 52, 85, 0.14));
  transform: translateY(-0.375rem);
}

.case-source-downloads .nb2-document-card h3 {
  margin: 0;
  color: var(--primary, #003366);
  font-family: var(--font-heading, inherit);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.case-source-downloads .nb2-document-card p:not(.nb2-meta) {
  margin-top: 0.75rem;
  color: var(--on-surface-variant, #5f6876);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.case-source-downloads .nb2-meta {
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full, 999px);
  background: rgba(253, 139, 0, 0.14);
  color: var(--secondary, #c76600);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.case-source-downloads .nb2-document-card__action {
  width: 220px;
  max-width: 100%;
  min-width: 0;
}

.case-source-downloads .nb2-document-card__action .nb2-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  box-sizing: border-box;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-xl, 0.75rem);
  background: var(--primary, #003366);
  color: #ffffff;
  box-shadow: none;
  line-height: 1.4;
  white-space: nowrap;
}

.case-source-downloads .nb2-document-card__action .nb2-button:hover,
.case-source-downloads .nb2-document-card__action .nb2-button:focus-visible {
  box-shadow: var(--shadow-lg, 0 1rem 2.5rem rgba(12, 52, 85, 0.14));
}

.energy-case-detail-card__body,
.energy-case-detail-card__body > * {
  min-width: 0;
}

.technology-case-overview--presentation {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  min-width: 0;
}

.technology-case-overview__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid rgba(12, 52, 85, 0.13);
  border-radius: 1.5rem;
  box-shadow: 0 1.25rem 3rem rgba(12, 52, 85, 0.12);
}

.technology-case-overview__panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.35rem;
  content: "";
}

.technology-case-overview__panel--approach {
  background: radial-gradient(circle at 100% 0%, rgba(0, 121, 173, 0.13), transparent 32%), linear-gradient(145deg, #ffffff 0%, #f2f9fd 100%);
}

.technology-case-overview__panel--approach::before {
  background: linear-gradient(90deg, #003366 0%, #0079ad 72%, #fd8b00 100%);
}

.technology-case-overview__panel--outcome {
  border-color: rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at 100% 0%, rgba(89, 210, 239, 0.24), transparent 32%), linear-gradient(145deg, #003366 0%, #064c70 100%);
  box-shadow: 0 1.5rem 3.5rem rgba(0, 51, 102, 0.24);
}

.technology-case-overview__panel--outcome::before {
  background: linear-gradient(90deg, #77ddf4 0%, #ffffff 48%, #fd8b00 100%);
}

.technology-case-overview__header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.technology-case-overview__number {
  display: grid;
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 1rem;
  background: #003366;
  color: #ffffff;
  font-family: var(--font-heading, sans-serif);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 51, 102, 0.18);
}

.technology-case-overview__kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: #b65f00;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.technology-case-overview__header h4 {
  margin: 0;
  color: #0c3455;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.4;
}

.technology-case-overview__lead {
  font-size: 0.96rem;
  line-height: 1.9;
}

.technology-case-overview__panel--outcome .technology-case-overview__number {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.technology-case-overview__panel--outcome .technology-case-overview__kicker {
  color: #9ce8f8;
}

.technology-case-overview__panel--outcome .technology-case-overview__header h4 {
  color: #ffffff;
}

.energy-case-detail-card__body .technology-case-overview__panel--outcome .technology-case-overview__lead {
  color: rgba(255, 255, 255, 0.9);
}

.technology-case-overview__steps {
  display: grid;
  gap: 0.65rem;
}

.technology-case-overview__step {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 51, 102, 0.1);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.86);
}

.technology-case-overview__step > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: #fd8b00;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.technology-case-overview__step strong,
.technology-case-overview__step small {
  display: block;
}

.technology-case-overview__step strong {
  color: #173c58;
  font-size: 0.9rem;
  line-height: 1.45;
}

.technology-case-overview__step small {
  margin-top: 0.12rem;
  color: #657a8b;
  font-size: 0.72rem;
  line-height: 1.45;
}

.technology-case-overview__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.technology-case-overview__metric {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.technology-case-overview__metric strong,
.technology-case-overview__metric span,
.technology-case-overview__metric small {
  display: block;
}

.technology-case-overview__metric strong {
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.technology-case-overview__metric span {
  margin-top: 0.35rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

.technology-case-overview__metric small {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  line-height: 1.45;
}

.technology-case-overview__figure {
  margin-top: auto;
  border-color: rgba(0, 51, 102, 0.12);
  border-radius: 1.1rem;
  background: #ffffff;
  box-shadow: 0 0.75rem 1.75rem rgba(12, 52, 85, 0.1);
}

.technology-case-overview__figure figcaption {
  background: rgba(255, 255, 255, 0.96);
}

.technology-case-overview__details-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 1rem;
  background: #ffffff;
  color: #003366;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 0.75rem 1.75rem rgba(0, 24, 48, 0.2);
}

.technology-case-overview__details-link:hover,
.technology-case-overview__details-link:focus-visible {
  background: #fff6ea;
  color: #8a4600;
}

.technology-case-overview__details-link .material-symbols-outlined {
  font-size: 1.25rem;
}

.energy-case-documents-anchor {
  scroll-margin-top: 7rem;
}

@media (min-width: 769px) {
  .technology-case-overview--presentation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .technology-case-overview--single-figure {
    align-items: start;
  }
  @supports (grid-template-rows: subgrid) {
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) {
      grid-template-rows: repeat(7, auto);
      row-gap: 0.65rem;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__panel {
      display: grid;
      grid-row: 1/8;
      grid-template-rows: subgrid;
      row-gap: 0.65rem;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__panel--approach {
      grid-column: 1;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__panel--outcome {
      grid-column: 2;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__header {
      grid-row: 1;
      margin-bottom: 0.6rem;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__lead {
      grid-row: 2;
      margin-bottom: 0.6rem;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__steps {
      display: contents;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__step:nth-child(1) {
      grid-row: 3;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__step:nth-child(2) {
      grid-row: 4;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__step:nth-child(3) {
      grid-row: 5;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__figure {
      grid-row: 6;
      align-self: start;
      margin-top: 0;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__details-link {
      grid-row: 7;
    }
  }
  @supports not (grid-template-rows: subgrid) {
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__header {
      min-height: 4rem;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__lead {
      min-height: 12rem;
    }
    .energy-cases-page .technology-case-overview--presentation:not(.technology-case-overview--single-figure) .technology-case-overview__step {
      min-height: 5rem;
      box-sizing: border-box;
    }
  }
}
@media (max-width: 768px) {
  .technology-case-overview--presentation {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .technology-case-overview__panel {
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 1.1rem;
  }
  .technology-case-overview__number {
    flex-basis: 3rem;
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
  }
  .technology-case-overview__metrics {
    gap: 0.55rem;
  }
  .technology-case-overview__metric {
    padding: 0.7rem;
  }
}
.energy-case-data,
.energy-case-data__table-wrap {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 900px) {
  .case-source-downloads .nb2-document-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .case-source-downloads .nb2-document-card > * {
    min-width: 0;
  }
  .case-source-downloads .nb2-document-card__action {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: left;
  }
  .case-source-downloads .nb2-document-card__action .nb2-button {
    padding-right: 1rem;
    padding-left: 1rem;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 640px) {
  .energy-case-detail-card__body {
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .case-source-downloads .nb2-document-card {
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
  }
  .case-source-downloads .nb2-document-card h3 {
    font-size: 1rem;
  }
  .case-source-downloads .nb2-document-card p:not(.nb2-meta) {
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .case-source-downloads .nb2-document-card__action .nb2-button {
    min-height: 46px;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .energy-case-details.section {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .energy-case-detail-card__body,
  .case-source-downloads .nb2-document-card {
    padding: 1rem;
  }
}
/* Page: infrastructure applications */
.agriculture-cases-page .page-hero__title {
  margin-bottom: 1rem;
}

.agriculture-cases-page .page-hero__text {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.agriculture-cases-page .infrastructure-genre-nav {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: #fff;
}

.agriculture-cases-page .infrastructure-genre {
  scroll-margin-top: 6rem;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: #eef3f6;
}

.agriculture-cases-page .infrastructure-genre:nth-of-type(even) {
  background: #f8fafb;
}

.agriculture-cases-page .infrastructure-genre__cases .energy-case-summary-card h3 {
  margin: 0 0 0.8rem;
}

.agriculture-cases-page .energy-case-summary-card > .energy-case-stage {
  display: inline-block;
}

.agriculture-cases-page .energy-case-summary-card > p {
  margin: 0.85rem 0 1.25rem;
}

.agriculture-cases-page .energy-case-detail-card {
  scroll-margin-top: 6rem;
}

.infrastructure-cases-page .page-hero__title {
  margin-bottom: 1rem;
}

.infrastructure-cases-page .page-hero__text {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.infrastructure-hero-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
}

.infrastructure-hero-counts span {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 700;
}

.infrastructure-cases-page .infrastructure-genre-nav {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: #fff;
}

.infrastructure-genre-nav .section-heading {
  margin-bottom: 1.75rem;
}

.infrastructure-genre-nav__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 74rem;
  margin: 0 auto;
}

.infrastructure-genre-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(12, 52, 85, 0.12);
  border-radius: 1rem;
  background: #f4f7f9;
  color: #0c3455;
  text-decoration: none;
  box-shadow: 0 0.5rem 1.5rem rgba(12, 40, 61, 0.05);
}

.infrastructure-genre-nav__list a:hover,
.infrastructure-genre-nav__list a:focus-visible {
  border-color: #0c5680;
  background: #e9f2f7;
}

.infrastructure-genre-nav__list a span {
  flex-shrink: 0;
  color: #577186;
  font-size: 0.85rem;
}

.infrastructure-cases-page .infrastructure-genre {
  scroll-margin-top: 6rem;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: #eef3f6;
}

.infrastructure-cases-page .infrastructure-genre:nth-of-type(even) {
  background: #f8fafb;
}

.infrastructure-genre .section-heading {
  margin-bottom: 2rem;
}

.infrastructure-genre__count {
  color: #687c8d;
  font-size: 0.55em;
  vertical-align: middle;
}

.infrastructure-genre__cases {
  max-width: 74rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.infrastructure-genre__cases .energy-case-summary-card {
  padding: 1.5rem;
}

.infrastructure-genre__cases .energy-case-summary-card h3 {
  margin-top: 1rem;
}

.infrastructure-genre__cases .energy-case-summary-card > p {
  margin: 0.75rem 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

.infrastructure-resource-anchor {
  display: block;
  height: 0;
}

.infrastructure-resources {
  max-width: 74rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(12, 52, 85, 0.16);
}

.infrastructure-resources h3 {
  margin: 0 0 1.5rem;
  color: #0c3455;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.infrastructure-resources h4 {
  margin: 0;
  color: #0c3455;
  font-size: 1.1rem;
}

.infrastructure-resources__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.75rem 0 0.75rem;
}

.infrastructure-resources__controls {
  display: flex;
  gap: 0.5rem;
}

.infrastructure-resources__controls[hidden] {
  display: none;
}

.infrastructure-resources__scroll-button {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #9db0bd;
  border-radius: 50%;
  background: #fff;
  color: #0c3455;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.infrastructure-resources__scroll-button:hover,
.infrastructure-resources__scroll-button:focus-visible {
  border-color: #0c5680;
  background: #e9f2f7;
}

.infrastructure-resources__scroll-button:disabled {
  opacity: 0.4;
  cursor: default;
}

.infrastructure-resources__documents,
.infrastructure-resources__videos {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.5rem 0.25rem 1rem;
  scrollbar-color: #91a8b8 #e3ebf0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.infrastructure-resources__documents > .nb2-document-card {
  flex: 0 0 26rem;
}

.infrastructure-resources__videos > .energy-case-video-card {
  flex: 0 0 20rem;
}

.infrastructure-resources__documents:focus-visible,
.infrastructure-resources__videos:focus-visible {
  outline: 3px solid #0c5680;
  outline-offset: 2px;
}

.infrastructure-resources__documents .nb2-document-card h5 {
  margin: 0;
  color: #003366;
  font-size: 1.125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.infrastructure-resources__documents .nb2-document-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: stretch;
  padding: 1.25rem;
  scroll-margin-top: 7rem;
}

.infrastructure-resources__documents .nb2-document-card__action {
  width: 100%;
}

.infrastructure-resources__documents .nb2-document-card__action .nb2-button + .nb2-button {
  margin-top: 0.5rem;
}

.infrastructure-resources__shared {
  margin: 1rem 0 0;
  color: #506578;
  line-height: 1.7;
}

.infrastructure-resources__shared a {
  margin-left: 0.4rem;
  color: #0c5680;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 768px) {
  .infrastructure-genre-nav__list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .agriculture-cases-page .energy-cases-page-hero {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
  .agriculture-cases-page .infrastructure-genre,
  .agriculture-cases-page .infrastructure-genre-nav {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .infrastructure-cases-page .energy-cases-page-hero {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
  .infrastructure-cases-page .infrastructure-genre,
  .infrastructure-cases-page .infrastructure-genre-nav {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .infrastructure-genre__cases {
    grid-template-columns: 1fr;
  }
  .infrastructure-genre__cases .energy-case-summary-card {
    padding: 1.25rem;
  }
  .infrastructure-resources__documents > .nb2-document-card,
  .infrastructure-resources__videos > .energy-case-video-card {
    flex-basis: 84%;
  }
}
/* Page: manufacturing application index */
.technology-manufacturing-page .infrastructure-genre-nav {
  background: #fff;
}

.technology-manufacturing-page .infrastructure-genre-nav__list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.technology-manufacturing-page .infrastructure-genre {
  scroll-margin-top: 6rem;
  background: #eef3f6;
}

.technology-manufacturing-page .infrastructure-genre:nth-of-type(even) {
  background: #f8fafb;
}

.technology-ozone-hygiene-page .infrastructure-genre-nav__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technology-operation-sites {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(0, 51, 102, 0.14);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #f7fbfd 0%, #edf6fa 100%);
}

.technology-operation-sites__header {
  display: grid;
  gap: 0.5rem;
}

.technology-operation-sites__header .technology-operation-sites__kicker {
  color: #b65f00;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.technology-operation-sites__header h4 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.technology-operation-sites__header > p:last-child {
  font-size: 0.94rem;
}

.technology-operation-sites__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.technology-operation-sites__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid rgba(0, 51, 102, 0.12);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(12, 40, 61, 0.07);
}

.technology-operation-sites__card .technology-operation-sites__location {
  margin-bottom: 0.35rem;
  color: #b65f00;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.technology-operation-sites__card h5 {
  margin: 0 0 0.75rem;
  color: #0c3455;
  font-size: 1.15rem;
  line-height: 1.5;
}

.technology-operation-sites__card .technology-operation-sites__description {
  min-height: 6.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.technology-operation-sites__figure {
  position: relative;
  margin: 1.25rem 0;
  border-color: rgba(0, 51, 102, 0.14);
  background: #edf4f7;
}

.technology-operation-sites__figure img {
  height: auto;
  aspect-ratio: 4/3 !important;
  object-fit: cover;
  object-position: center;
}

.technology-operation-sites__figure figcaption {
  min-height: 7.4rem;
  color: #40576b;
  font-size: 0.84rem;
}

.technology-operation-sites__zoom-hint {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(0, 51, 102, 0.88);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.2);
}

.technology-operation-sites__zoom-hint .material-symbols-outlined {
  font-size: 1rem;
}

.technology-operation-sites__link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  color: #003366;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-color: rgba(0, 51, 102, 0.35);
  text-underline-offset: 0.25em;
}

.technology-operation-sites__link:hover {
  color: #b65f00;
  text-decoration-color: currentcolor;
}

.technology-operation-sites__link:focus-visible {
  border-radius: 0.25rem;
  outline: 2px solid #003366;
  outline-offset: 4px;
}

.technology-operation-sites__link .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 1.05rem;
}

@media (max-width: 1024px) {
  .technology-manufacturing-page .infrastructure-genre-nav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .technology-manufacturing-page .infrastructure-genre-nav__list,
  .technology-ozone-hygiene-page .infrastructure-genre-nav__list {
    grid-template-columns: 1fr;
  }
  .technology-operation-sites__grid {
    grid-template-columns: 1fr;
  }
  .technology-operation-sites__card .technology-operation-sites__description,
  .technology-operation-sites__figure figcaption {
    min-height: 0;
  }
}
.technology-toc-page {
  --technology-toc-top: var(--site-header-offset);
  --technology-anchor-offset: calc(var(--site-header-offset) + 76px);
}
@media (max-width: 767px) {
  .technology-toc-page {
    --technology-anchor-offset: calc(var(--site-header-offset) + 72px);
  }
}
.technology-toc-page .infrastructure-genre,
.technology-toc-page .energy-case-detail-card,
.technology-toc-page .energy-case-documents-anchor,
.technology-toc-page .energy-cases-process,
.technology-toc-page .contact-cta,
.technology-toc-page #agriculture-process,
.technology-toc-page #agriculture-collaboration,
.technology-toc-page #agriculture-comparison,
.technology-toc-page #agriculture-faq,
.technology-toc-page .agriculture-faq__group {
  scroll-margin-top: var(--technology-anchor-offset);
}

.technology-toc {
  position: sticky;
  top: var(--technology-toc-top);
  z-index: 40;
  border-block: 1px solid #dce4e9;
  background: #fff;
  box-shadow: 0 4px 12px rgba(12, 52, 85, 0.06);
}
.technology-toc__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0.5rem 2rem;
}
.technology-toc__label {
  flex-shrink: 0;
  padding-right: 1rem;
  border-right: 1px solid #dce4e9;
  color: #577186;
  font-size: 0.8125rem;
  font-weight: 700;
}
.technology-toc__button {
  display: none;
}
.technology-toc__links {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: space-between;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.technology-toc__links a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  color: #41566a;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
}
.technology-toc__links a:hover {
  background: #f0f5f8;
}
.technology-toc__links a[aria-current=location] {
  background: #0c3455;
  color: #fff;
}
.technology-toc__links a:focus-visible {
  outline: 2px solid #0c3455;
  outline-offset: 2px;
}
@media (max-width: 767px) {
  .technology-toc__inner {
    position: relative;
    display: block;
    padding: 0.375rem 1rem;
  }
  .technology-toc__label {
    display: none;
  }
  .technology-toc.is-ready .technology-toc__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-radius: 8px;
    background: #f0f5f8;
    color: #0c3455;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }
  .technology-toc.is-ready .technology-toc__button:focus-visible {
    outline: 2px solid #0c3455;
    outline-offset: 2px;
  }
  .technology-toc__current {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid #cbd6de;
    color: #577186;
    font-size: 0.8125rem;
    font-weight: 400;
  }
  .technology-toc__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .technology-toc.is-ready:not(.is-open) .technology-toc__links {
    display: none;
  }
  .technology-toc.is-ready.is-open .technology-toc__links {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-height: min(65vh, 100dvh - var(--technology-anchor-offset));
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px solid #dce4e9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(12, 52, 85, 0.14);
  }
  .technology-toc.is-ready.is-open .technology-toc__links a {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  .technology-toc.is-open .technology-toc__button .material-symbols-outlined {
    transform: rotate(180deg);
  }
}
