.material-symbols {
  font-variation-settings:
  'FILL' 1,
  'wght' 200,
  'GRAD' 0,
  'opsz' 24
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 200,
  'GRAD' 0,
  'opsz' 24
}

.products-item {
  margin-block-end: 4em;
}

.products-item__heading {
  font-size: 2rem;
  @media only screen and (max-width: 520px) {
    font-size: 1.75rem;
  }
  font-weight: bold;
  margin-bottom: 0.5rem;
  border-left: 7px solid var(--border-color, #ccc);
  border-bottom: 1px solid #ccc;
  padding-left: 1em;
  padding-right: 3.5em;
  padding-block: 1em;
  position: relative;
  margin-block-end: 1.5em;

  span {
    display: block;
    font-weight: normal;
  }
  strong {
    display: block;
    font-weight: bold;
    font-size: 1.5em;
  }
  i {
    position: absolute;
    top: 50%;
    right: .025em;
    /* font-size: 2.5em; */
    font-size: 3.5em;
    font-weight: 100;
    transform: translateY(-50%);
  }
}

.products-item__link {
  display: block;
  transition: background-color .1s ease-in-out;
  &:hover {
    background-color: #eee;
  }
}

.products-item__media {
  display: block grid;
  grid-template-columns: minmax(30%, 200px) 1fr;
  gap: 2em;
  @media only screen and (max-width: 520px) {
    grid-template-columns: auto;
  }
}

.products-item__image {
  img {
    width: 100%;
    height: auto;
    display: block;
    max-width: none;
  }
}

.products-item__functions {
  display: block flex;
  flex-wrap: wrap;
  font-size: .75em;
  gap: .5em;
  margin-block-start: 1em;
  font-weight: bold;

  a {
    display: block flex;
    border: 2px solid #dd262d;
    align-items: center;
    color: #dd262d;
    padding: .5em .75em;
    line-height: 1.3;
    height: 100%;
    box-sizing: border-box;
    transition: background-color .1s ease-in-out, color .1s ease-in-out;
    &:hover {
      background-color: #dd262d;
      color: #fff;
    }
  }
}

.products-item__spec-img {
  margin-block-start: 1em;
}

.products-item__video {
  display: block flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
  background-color: #eee;
  gap: .25em;
  i {
    color: #dd262d;
  }
  transition: background-color .1s ease-in-out;
  margin-block-start: 1em;
  &:hover {
    background-color: #ccc;
  }
}

.dialog {
  padding: 0;
  border-width: 0;
}

.dialog[open] {
  box-shadow: 0 0 10px rgba(0 0 0 / 16%);
}

.dialog::backdrop {
  background: rgba(0 0 0 / 50%);
}

.dialog iframe {
  display: block;
  max-width: 800px !important;
  width: 90vw !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}

.products-functions {
  background-color: #f9f9f9;
  padding: 3em 4em;
  @media only screen and (max-width: 520px) {
    padding: 2em 2em;
  }

  h3 {
    font-weight: bold;
  }

  a {
    transition: color .1s ease-in-out, background-color .1s ease-in-out;
    &:hover {
      background-color: #dd262d;
      color: #fff;
      opacity: 1 !important;

      &::after {
        background-color: #fff !important;
      }
    }
  }
}

.products-menu-outer {
  @media only screen and (min-width: 1025px) {
    box-sizing: border-box;
    max-height: calc(100vh - 142px);
    overflow: hidden;
    height: 100%;
    padding-block: 0 !important;
  }
}

.products-menu {
  @media only screen and (min-width: 1025px) {
    box-sizing: border-box;
    overflow-y: auto;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    padding-block: 50px !important;
  }
}

.products-menu-parent-pc:not(.products-menu-parent-pc--top) {
  margin-top: 20px;
}

.products-menu-title-pc {
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
}

.products-menu-parent-sp {
  font-weight: bold;
  &::before {
    display: none;
  }
}

.products-menu-child-sp {
  &::before {
    display: none;
  }
}

/* 2025/12/09 */
/*
.products-item {
  position: relative;
  a {
    position: relative;
    z-index: 3;
  }

  .products-item__area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
  &:has(a:hover) {
    background-color: rgba(0 0 0 / 5%);
  }
}
*/

/* 2026/01/15 */
@media only screen and (min-width: 1025px) {
  .products-menu-outer--new {
    display: block !important;
    background: rgba(0, 0, 0, .75) !important;
    .new-heading, .new-description {
      display: block;
      color: #fff;
    }
    .new-heading {
      font-size: 1.2em;
      margin-top: 1em;
      margin-bottom: .5em;
    }
    .new-description {
      font-size: .85em;
      margin-bottom: 1em;
    }
    .head-link a {
      display: inline-flex !important;
      align-items: center;
      gap: .5em;
      padding-left: 0 !important;
      text-decoration: none !important;
      i {
        font-size: 2em;
        text-decoration: none !important;
      }
      span {
        text-decoration: underline !important;
      }
      &:hover span {
        text-decoration: none !important;
      }
      &::after {
        display: none;
      }
    }
    .nav__child-head {
      border-bottom-color: #d2d2d2 !important;
    }
    .l-grid a:hover {
      opacity: 1 !important;
    }
    .head-btn a:hover,
    .l-grid .products-menu-child-sp:hover {
      opacity: .75 !important;
    }
    .l-grid .menu-products-item img {
      transition: outline .1s ease-in-out;
      outline: 7px solid transparent;
    }
    .new-heading, .new-description {
      transition: opacity .1s ease-in-out;
    }
    .l-grid .menu-products-item:hover {
      .new-heading, .new-description {
        /* opacity: .75; */
      }
      img {
        /* outline: 7px solid var(--border-color, #ccc); */
      }
    }

    /* 2026/01/22 調整 */
    .new-description {
      display: none;
    }
    .head-link a {
      i {
        font-size: 1.8em;
      }
      span {
        font-size: .9em;
      }
    }
    .menu-products-item {
      .link-pc {
        display: block flex;
        align-items: center;
        background-color: #fff;
        transition: outline .1s ease-in-out;
        outline: 7px solid transparent;
        padding: .25em .5em;
        img {
          width: 25%;
        }
      }
      &:hover .link-pc {
        outline: 7px solid var(--border-color, #ccc);
      }
      .new-heading {
        width: 75%;
        color: #1b1d1e;
        padding-inline: .75em;
        margin-block: 0 !important;
      }
    }
  }
}

/* 2026/01/23 */
@media only screen and (min-width: 1025px) {
  .pc-relative {
    position: relative;
  }
  .pc-absolute {
    position: absolute;
  }
  .pc-right-top {
    top: 0;
    right: 0;
  }
  .pc-padding-top-30 {
    padding-top: 30px !important;
  }
}