/* ==========================================================================
   株式会社 山恵 — Corporate site styles
   PC: 1920px viewport / content max 1200px
   ========================================================================== */

:root {
  --color-primary: #0066cc;
  --color-primary-dark: #003366;
  --color-primary-light: #3385d6;
  --color-bg-gradient-start: #e6f2ff;
  --color-bg-gradient-end: #ffffff;
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-border: #c5d9f0;
  --color-white: #ffffff;
  --color-grey: #888888;
  --color-grey-bg: #f5f5f5;
  --color-grey-header: #555555;

  --font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --container-max: 1200px;
  --page-max: 1920px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 51, 102, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 51, 102, 0.1);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  max-width: var(--page-max);
  margin-inline: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max)!important;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--white:hover {
  background-color: var(--color-bg-gradient-start);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.btn__icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.btn__icon--mail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230066cc'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.btn__icon--phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.7 3.6.7.6 0 1 .4 1 1V20c0 .6-.4 1-1 1-9.4 0-17-7.6-17-17 0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.3 2.5.7 3.6.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E");
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 51, 102, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  transition: min-height 0.3s ease;
}

.site-header.is-scrolled .site-header__inner {
  min-height: 60px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary-dark);
}

.site-header__logo-icon {
  flex-shrink: 0;
}
.site-header__logo-text {
  flex-shrink: 0;
  font-size: 0.8rem;
  /* color: #333333; */
  font-weight: 600;
  display: inline-block;
  padding-top: 10px;
}

.site-header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.site-header__menu-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary-dark);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: end;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 36px);
}

.site-header__nav-list a:not(.btn-nav-contact) {
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

.site-header__nav-list a:not(.btn-nav-contact)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.25s ease;
}

.site-header__nav-list a:not(.btn-nav-contact):hover,
.site-header__nav-list a:not(.btn-nav-contact).is-current {
  color: var(--color-primary);
}

.site-header__nav-list a:not(.btn-nav-contact):hover::after,
.site-header__nav-list a.active-nav-border::after {
  width: 100%;
}

.site-header__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.active-nav-border {
  color: var(--color-primary) !important;
  border-bottom: none !important;
}

.btn-nav-contact {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color var(--transition);
}

.btn-nav-contact:hover {
  background-color: var(--color-primary-dark) !important;
  color: var(--color-white) !important;
}

.btn-nav-contact.active-nav-border {
  background-color: var(--color-primary-dark) !important;
  border-bottom: none !important;
}

/* Section common --------------------------------------------------------- */

.section {
  padding-block: clamp(56px, 6vw, 96px);
}

.section__header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section__header--center {
  text-align: center;
}

.section__header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #0066cc;
  margin-top: 8px;
}

.section__lead {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.section__view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  white-space: nowrap;
}

.section__view-all:hover {
  text-decoration: underline;
}

.section__view-all-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  transform: rotate(45deg);
}

/* Products section ------------------------------------------------------- */

.section--products {
  background: linear-gradient(180deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 70%);
  position: relative;
  overflow: hidden;
  padding-top: 3vw;
  padding-block-end: clamp(32px, 3vw, 48px);

  &#products {
    padding-top: 1.5vw;
    .section__header {
      margin-bottom: 0;
    }
  }
}

.section--products::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(0, 102, 204, 0.03) 20px,
    rgba(0, 102, 204, 0.03) 21px
  );
  pointer-events: none;
}

.section--products .container {
  position: relative;
  z-index: 1;
}

.product-diagram {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px) 1fr;
  grid-template-rows: auto auto auto;
  /* gap: 24px; */
  gap: 5px;
  align-items: center;
  justify-items: center;
  max-width: 1100px;
  margin-inline: auto;
  position: relative;
}

.product-diagram::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  border: 2px dashed var(--color-border);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.product-diagram__center {
  grid-column: 2;
  /* grid-row: 1 / 4; */
  align-self: center;
  z-index: 2;
  position: relative;
}

.product-diagram__hero {
  width: 100%;
  max-width: 250px;
  filter: drop-shadow(var(--shadow-md));
}

.product-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 220px;
}

.product-card--tl {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.product-card--bl {
  grid-column: 1;
  grid-row: 3;
  justify-self: end;
}

.product-card--tr {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

.product-card--br {
  grid-column: 3;
  grid-row: 3;
  justify-self: start;
}

.product-card--bc {
  grid-column: 2;
  grid-row: 3;
  justify-self: center;
}

.product-card__link {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.3s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card__link:hover {
  box-shadow: 0 14px 36px rgba(0, 51, 102, 0.18);
  transform: translateY(-6px) scale(1);
}

.product-card__figure {
  margin: 0 0 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-card__figure img {
  width: 100%;
  object-fit: cover;
}

.product-card__title {
  font-size: .9rem;
  /* font-size: 1rem; */
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: center;
  line-height: 1.4;
}

.products-contents {
  ul {
    row-gap: 1rem;
    li {
      line-height: .5rem;
    }
  }
}

/* Product page headings -------------------------------------------------- */

.products-contents h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
}

.products-contents h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  padding-bottom: 8px;
  padding-left: 12px;
  border-left: 3px solid var(--color-primary);
  border-bottom: 1px solid var(--color-border);
}

/* Product material tags -------------------------------------------------- */

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: clamp(16px, 2.5vw, 24px);
  background: var(--color-bg-gradient-start);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.material-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  line-height: 1.4;
}

/* Product card hover ----------------------------------------------------- */

[data-purpose="product-card"] > div:first-child {
  transition: transform var(--transition), box-shadow var(--transition);
}

[data-purpose="product-card"] p {
  transition: color var(--transition);
}

[data-purpose="product-card"]:hover > div:first-child {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.12);
}

[data-purpose="product-card"]:hover p {
  color: var(--color-primary);
}

/* Contact section ------------------------------------------------------- */
#contact {
  
  padding-bottom: 7rem;
}

/* DX section ------------------------------------------------------------- */

.section--dx {
  background-color: var(--color-white);
}

.dx-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: stretch;
  max-width: 1100px;
  margin-inline: auto;
}

.dx-panel {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.dx-panel__header {
  padding: 14px 24px;
}

.dx-panel--old .dx-panel__header {
  background-color: var(--color-grey-header);
}

.dx-panel--new .dx-panel__header {
  background-color: var(--color-primary);
}

.dx-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
}

.dx-panel__body {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 20px;
  padding: 24px;
  align-items: center;
}

.dx-panel__list {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.dx-panel__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.dx-panel__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-grey);
}

.dx-panel__list--check li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
}

.dx-comparison__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

.dx-comparison__arrow-icon {
  display: block;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 28px solid var(--color-primary);
}

/* DX pyramid (CSS icons) ------------------------------------------------- */

.dx-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dx-pyramid__tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 4px;
}

.dx-pyramid--old .dx-pyramid__tier {
  background-color: var(--color-grey-bg);
  color: var(--color-grey);
}

.dx-pyramid--new .dx-pyramid__tier {
  background-color: #e6f2ff;
  color: var(--color-primary);
}

.dx-pyramid__tier--top {
  width: 56px;
  height: 48px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  padding-top: 12px;
}

.dx-pyramid__tier--mid {
  width: 80px;
  height: 44px;
}

.dx-pyramid__tier--base {
  width: 104px;
  height: 44px;
}

.dx-pyramid__icon {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.dx-pyramid__icon--person {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm0 2c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm0 2c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z'/%3E%3C/svg%3E");
}

.dx-pyramid__icon--layers {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
}

.dx-pyramid__icon--server {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v4H4V6zm0 8h16v4H4v-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v4H4V6zm0 8h16v4H4v-4z'/%3E%3C/svg%3E");
}

.dx-pyramid__icon--people {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-8 0c1.7 0 3-1.3 3-3S9.7 5 8 5 5 6.3 5 8s1.3 3 3 3zm0 2c-2.3 0-7 1.2-7 3.5V19h14v-2.5C15 14.2 10.3 13 8 13zm8 0c-.3 0-.6 0-1 .1 1.2.9 2 2 2 3.4V19h6v-2.5c0-2.3-4.7-3.5-7-3.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-8 0c1.7 0 3-1.3 3-3S9.7 5 8 5 5 6.3 5 8s1.3 3 3 3zm0 2c-2.3 0-7 1.2-7 3.5V19h14v-2.5C15 14.2 10.3 13 8 13zm8 0c-.3 0-.6 0-1 .1 1.2.9 2 2 2 3.4V19h6v-2.5c0-2.3-4.7-3.5-7-3.5z'/%3E%3C/svg%3E");
}

.dx-pyramid__icon--gears {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13c.1-.3.1-.7.1-1s0-.7-.1-1l2.1-1.6c.2-.1.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-1l-.4-2.6c0-.2-.2-.4-.5-.4h-4c-.2 0-.4.2-.5.4l-.4 2.6c-.6.3-1.2.6-1.7 1l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2 0 .5.1.6L4.6 11c-.1.3-.1.7-.1 1s0 .7.1 1l-2.1 1.6c-.2.1-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7 1l.4 2.6c0 .2.2.4.5.4h4c.2 0 .4-.2.5-.4l.4-2.6c.6-.3 1.2-.6 1.7-1l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2 0-.5-.1-.6L19.4 13zM12 15.5A3.5 3.5 0 1 1 15.5 12 3.5 3.5 0 0 1 12 15.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13c.1-.3.1-.7.1-1s0-.7-.1-1l2.1-1.6c.2-.1.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-1l-.4-2.6c0-.2-.2-.4-.5-.4h-4c-.2 0-.4.2-.5.4l-.4 2.6c-.6.3-1.2.6-1.7 1l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2 0 .5.1.6L4.6 11c-.1.3-.1.7-.1 1s0 .7.1 1l-2.1 1.6c-.2.1-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7 1l.4 2.6c0 .2.2.4.5.4h4c.2 0 .4-.2.5-.4l.4-2.6c.6-.3 1.2-.6 1.7-1l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2 0-.5-.1-.6L19.4 13zM12 15.5A3.5 3.5 0 1 1 15.5 12 3.5 3.5 0 0 1 12 15.5z'/%3E%3C/svg%3E");
}

.dx-pyramid__icon--cloud {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.35 10.04A7.5 7.5 0 0 0 12 4C9.1 4 6.6 5.64 5.35 8.04A5.5 5.5 0 0 0 0 13.5 5.5 5.5 0 0 0 5.5 19H19a5 5 0 0 0 .35-8.96z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.35 10.04A7.5 7.5 0 0 0 12 4C9.1 4 6.6 5.64 5.35 8.04A5.5 5.5 0 0 0 0 13.5 5.5 5.5 0 0 0 5.5 19H19a5 5 0 0 0 .35-8.96z'/%3E%3C/svg%3E");
}

.dx-pyramid__label {
  font-size: 0.625rem;
  font-weight: 500;
}

/* Stats section ---------------------------------------------------------- */

.section--stats {
  /* background-color: var(--color-bg-gradient-start); */
  background-image: url('images/bg_achievement.png');
  background-size: cover;
  width: 100%;
  /* position: relative; */
  /* overflow: hidden; */
}

.section--stats::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(0, 102, 204, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.section--stats .container {
  position: relative;
  z-index: 1;
}

.stats-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 48px);
  text-align: center;
}

.stats-list__icon {
  margin-inline: auto;
  margin-bottom: 16px;
}

.stats-list__number {
  margin-bottom: 8px;
  line-height: 1.2;
}

.stats-list__value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
}

.stats-list__unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-left: 2px;
}

.stats-list__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

/* About section ---------------------------------------------------------- */

.section--about {
  background-color: var(--color-white);
  padding-block-start: clamp(32px, 3vw, 48px);
}

.about-lead {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: var(--color-text-muted);
  line-height: 1.9;
  /* max-width: 720px; */
  margin-bottom: clamp(36px, 5vw, 56px);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}

.about-feature {
  background: var(--color-bg-gradient-start);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 24px);
  border: 1px solid var(--color-border);
  text-align: center;
}


.about-feature__number {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--color-border);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.about-feature__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.about-feature__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  text-align: left;
}

/* CTA section ------------------------------------------------------------ */

.section--cta {
  background-color: var(--color-white);
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px);
  text-align: center;
  color: var(--color-white);
}

.cta-box__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.cta-box__lead {
  font-size: 0.9375rem;
  opacity: 0.95;
  margin-bottom: 32px;
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-box__btn {
  min-width: 220px;
}

/* Company section ----------------------------------------------------------- */
#overview {
  padding-top: 1.5vw;
}

/* News section ----------------------------------------------------------- */

.section--news {
  background: linear-gradient(180deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%);
}

.news-list {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.news-list__item {
  border-bottom: 1px solid var(--color-border);
}

.news-list__item:last-child {
  border-bottom: none;
}

.news-list__link {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  transition: background-color var(--transition);
}

.news-list__link:hover {
  background-color: #f8fbff;
}

.news-list__date {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
}

.news-list__category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  white-space: nowrap;
}

.news-list__title {
  font-size: 0.9375rem;
  color: var(--color-text);
}

.news-list__chevron {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  transform: rotate(45deg);
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(48px, 5vw, 72px);
}

.site-footer__logo-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  > img{
    border: 1px solid #888888;
  }
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary-dark);
}

.site-footer__brand {
  border-right: 1px solid var(--color-border);
  padding-right: clamp(32px, 5vw, 64px);
}


.site-footer__address {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--color-text-muted);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.site-footer__address a:hover {
  color: var(--color-primary);
}

.site-footer__cert {
  margin-top: 20px;
}

.site-footer__cert-logo {
  /* width: auto;
  height: 48px; */
  display: block;
  /* opacity: 0.9; */
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.site-footer__nav-title {
  display: block;
  position: relative;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  padding-left: 10px;
  border-bottom: 1px solid var(--color-border);
}

.site-footer__nav-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 3px;
  height: 13px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.site-footer__nav-col ul {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--color-text-muted);
}

.site-footer__nav-col a:hover {
  color: var(--color-primary);
}

.site-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-block: 24px;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}

.back-to-top:hover {
  background-color: var(--color-bg-gradient-start);
  border-color: var(--color-primary);
}

.back-to-top__icon {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
  transform: rotate(45deg) translate(2px, 2px);
}

.site-footer__copyright {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.back-to-top-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: var(--color-bg-gradient-start);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-family: inherit;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}

.back-to-top-footer:hover {
  background: #d6e8fc;
  border-color: var(--color-primary);
}

.back-to-top-footer__icon {
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid currentColor;
}

/* Fade-in scroll animation ----------------------------------------------- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* Mobile nav open state -------------------------------------------------- */

.site-header.is-menu-open .site-header__menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .site-header__menu-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .site-header__menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .product-diagram {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .product-diagram::before {
    display: none;
  }

  .product-diagram__center {
    grid-column: 1 / -1;
    grid-row: auto;
    order: -1;
    margin-bottom: 16px;
  }

  .product-card--tl,
  .product-card--bl,
  .product-card--tr,
  .product-card--br,
  .product-card--bc {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    max-width: none;
  }

  .dx-comparison {
    grid-template-columns: 1fr;
  }

  .dx-comparison__arrow {
    padding: 0;
  }

  .dx-comparison__arrow-icon {
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 24px solid var(--color-primary);
    border-bottom: none;
    width: auto;
    height: auto;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-right: 0;
    padding-bottom: clamp(24px, 3vw, 32px);
  }
}

@media (max-width: 872px) {
  .site-header__logo-text{
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header__menu-toggle {
    display: flex;
  }

  .site-header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }
  /* .site-header__logo-text{
    display: none;
  } */
  .site-header.is-menu-open .site-header__nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 20px;
  }

  .site-header__nav-list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .btn-nav-contact {
    display: block;
    text-align: left;
    padding: 12px 0;
    background: transparent;
    color: var(--color-text) !important;
    border-radius: 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
    font-weight: 500;
  }

  .btn-nav-contact:hover {
    background: transparent !important;
    color: var(--color-primary) !important;
  }

  .btn-nav-contact.active-nav-border {
    background-color: transparent !important;
    color: var(--color-primary) !important;
    border-bottom: 1px solid var(--color-border) !important;
  }

  .site-header__cta {
    width: 100%;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .product-diagram {
    grid-template-columns: 1fr;
  }
  .product-card__link:hover {
    box-shadow: none;
    transform: none;
  }
   #products{
    .product-diagram{
      margin-top: 2rem;
    }
    .product-diagram__center{
      display: none;
    }
   }

  #environmental-policy{
    .leading-relaxed{
      padding-left: 0;
    }
  }
  #contact{
    padding-top: 2rem;
    padding-bottom: 3rem;
    img{
      width: 20%;
    }
    .contact-card{
      padding: 2rem 1rem;
    }
  }
  .dx-panel__body {
    grid-template-columns: 1fr;
  }

  .dx-pyramid {
    margin-top: 8px;
  }

  .news-list__link {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .news-list__date {
    grid-column: 1;
  }

  .news-list__category {
    grid-column: 2;
    justify-self: end;
  }

  .news-list__title {
    grid-column: 1 / -1;
  }

  .news-list__chevron {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
  }
  .site-footer__nav-col img {
    width: 50%;
  }
  .cta-box__btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .stats-list {
    grid-template-columns: 1fr;
  }

  .section__header--row {
    flex-direction: column;
    align-items: flex-start;
  }



}
