:root {
  --ci: #004bb4;
  --skyblue: #EAEEF3;
}

/* ヘッダー */
.p-hd__snav ul li a {
  padding-inline: 25px;
  position: relative;
  &::after {
    position: absolute;
    content: "";
    display: block;
    background-color: var(--ci);
    width: 1px;
    height: 10px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}
.mega-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

/* 表示状態 */
.mega-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* フッター */
.p-ft__navCol {
  @media screen and (min-width: 992px) {
    width: 220px;
  }
}

.page-title.is-2nd {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  span {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    font-weight: bold;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    color: #fff;
    background-color: #004bb4;
    min-width: min(370px, 100%);
    text-align: center;
    padding: 15px 40px;
    @media screen and (max-width: 991px){
      font-size: 2.8rem;
    }
  }
}

.main-contents {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-block: 80px 120px;
  &:has(.works-area) {
    padding-block: 80px 0px;
  }
  /* 一覧ページで共通で使うのでコンポーネント化 */
  .section-title {
    position: relative;
    font-size: 3.0rem;
    font-weight: bold;
    line-height: 1.5;
    padding-bottom: 24px;
    text-align: center;
    @media screen and (max-width: 991px){
      font-size: 2.4rem;
    }

    &::after {
      content: "";
      display: block;
      position: absolute;
      left: 50%;
      bottom: 0;
      width: 50px;
      height: 5px;
      background-color: var(--ci);
      translate: -50% 0;
      transition: width .3s;
    }
  }

  .category-title {
    position: relative;
    padding-left: 24px;
    font-size: 2.0rem;
    font-weight: bold;
    @media screen and (max-width: 991px){
      font-size: 1.8rem;
    }

    &::before {
      content: "";
      display: block;
      position: absolute;
      top: 3px;
      bottom: 0px;
      left: 0;
      width: 10px;
      background-color: var(--ci);
    }
  }

  .category-section-level1 {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
    max-width: 1160px;
    padding: 0 20px;
    .category-section--level2 {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }
    .category-section--level2:has(.category-subsection) {
      gap: 20px;
    }
  }

  .category-section--level2 {
    &.is-enhanced {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 100px 80px;
    }
    .enhanced-container {
      width: calc(50% - 40px);
      display: flex;
      flex-direction: column;
      gap: 20px;

      @media (max-width: 1090px) {
        width: 100%;
      }

      .category-wrap {
        .tile-list {
          display: flex;
          flex-wrap: wrap;
          gap: 20px;

          .card {
            width: calc(50% - 10px);

            @media (max-width: 1090px) {
              width: calc(33.33% - 13.333px);
            }

            @media (max-width: 700px) {
              width: calc(50% - 10px);
            }

            @media (max-width: 500px) {
              width: 100%;
            }
          }
        }
      }
    }
  }

  .products-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 80px;

    /* @media screen and (max-width: 774px) {
      max-width: 500px;
    } */

    .category-wrap {
      display: flex;
      flex-direction: column;
      gap: 40px;
      @media screen and (max-width: 700px) {
        margin-inline: auto;
        max-width: 500px;
      }
    }
  }

  .tile-list {
    /* display: flex;
    flex-wrap: wrap; */
    gap: 50px 35px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));

    .card {
      position: relative;
      /* flex-basis: 350px; */
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 4px rgba(0, 0, 0, 0.02);

      figure {
        width: 100%;
        height: auto;
        overflow: hidden;

        img {
          width: 100%;
          object-fit: cover;
          scale: 1;
          transition: scale .5s ease;
        }
      }

      .card-name {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.65;
        color: var(--ci);
      }



      .product-link {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
        @media (any-hover: hover) {
          &:hover {
            & + figure {
              @media (prefers-reduced-motion: no-preference) {
                img {
                  scale: 1.1;
                }
              }
            }
          }
        }
      }

      &.product-card {
        figure {
          aspect-ratio: 350 / 225;

          img {
            aspect-ratio: 350 / 225;
          }
        }

        .card-info {
          padding: 20px;
          display: flex;
          flex-direction: column;
          gap: 15px;
        }

        .catch {
          padding-top: 5px;
          font-size: 1.4rem;
          line-height: 1.5;
        }

        .tags {
          display: flex;
          flex-direction: column;
          gap: 15px;

          .mini-title {
            position: relative;

            span {
              font-size: 1.2rem;
              font-weight: 700;
              background: #fff;
              padding-right: 8px;
              position: relative;
              z-index: 1;
            }

            &::after {
              content: "";
              display: block;
              position: absolute;
              width: 100%;
              height: 1px;
              top: 50%;
              left: 0;
              background: #D9D9D9;
            }
          }
          .tag-list {
            position: relative;
            z-index: 2;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;

            > li {
              > a {
                color: #444444;
                display: block;
                font-size: 1.2rem;
                line-height: calc(18 / 12);
                padding: 2px 8px;
                background: #E4EBF4;
                border-radius: 8px;
                transition: background .3s;

                &:hover {
                  background: #BBC5D2;
                }
              }
            }
          }
        }
      }

      &.works-card {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;

        figure {
          aspect-ratio: 310 / 160;
          border-radius: 5px;

          img {
            aspect-ratio: 310 / 160;
          }
        }

        .card-info {
          display: flex;
          flex-direction: column;
          gap: 20px;
        }

        .works-info {
          > ul {
            > li {
              border-top: 1px solid #C5C5C5;
              padding-block: 8px;

              &:first-child {
                border: none;
                padding-block-start: 0;
              }

              &:last-child {
                padding-block-end: 0;
              }

              dl {
                display: flex;
                font-size: 1.4rem;
                font-weight: 500;
                line-height: calc(18 / 14);

                dt {
                  width: 130px;
                  flex-shrink: 0;
                }
                dd {}
              }
            }
          }
        }
      }
    }

    .card:has(.product-link) {
      transition: opacity 0.3s ease-out;
    }

    .card:has(.product-link:hover){
      @media (prefers-reduced-motion: no-preference) {
        opacity: 0.5;
      }
    }
  }

  .list-switcher {
    display: flex;
    flex-wrap: wrap;

    label {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 50%;
      padding: 18px 10px;
      background: #fff;
      color: var(--ci);
      font-size: 1.8rem;
      font-weight: 600;
      text-align: center;
      order: -1;
      cursor: pointer;
      @media screen and (max-width: 991px){
        font-size: 1.6rem;
      }
      &:not(:has(:checked)) {
        transition: background .3s;
        &:hover {
          background: rgba(53, 124, 223, .2);
        }
      }

      input {
        display: none;
      }

      &:has(:checked) {
        background: var(--ci);
        color: #fff;

        & + .usage-list {
          display: block;
          width: 100%;
        }
      }
    }

    .usage-list {
      display: none;
    }
  }

.category-subsection {
  h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ci);
  }
}
  .usage-list {
    margin-top: 40px;

    > ul {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
      column-gap: min(calc(60 / 1200 * 100vw), 60px);
      row-gap: 40px;

      &:not(:has(.child-list)) {
        gap: 20px 40px;
      }

      > li {
        margin-inline: auto;
        max-width: 240px;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;

        > a {
          position: relative;
          display: inline-block;
          font-size: 1.6rem;
          font-weight: 600;
          padding-right: 20px;

          &::after {
            content: "";
            display: block;
            width: 7px;
            height: 12px;
            position: absolute;
            top: 50%;
            right: 0;
            translate: 0 -50%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="7" height="12" viewBox="0 0 7 12" fill="none"><path d="M4.46182 6L0.293892 1.80269C0.0979637 1.60538 0 1.35426 0 1.04933C0 0.744394 0.0979637 0.493273 0.293892 0.295964C0.48982 0.0986543 0.739183 0 1.04198 0C1.34478 0 1.59414 0.0986543 1.79007 0.295964L6.70609 5.24664C6.81296 5.35426 6.88884 5.47085 6.93372 5.59641C6.97861 5.72197 7.0007 5.8565 6.99998 6C6.99927 6.1435 6.97718 6.27803 6.93372 6.40359C6.89026 6.52915 6.81439 6.64574 6.70609 6.75336L1.79007 11.704C1.59414 11.9013 1.34478 12 1.04198 12C0.739183 12 0.48982 11.9013 0.293892 11.704C0.0979637 11.5067 0 11.2556 0 10.9507C0 10.6457 0.0979637 10.3946 0.293892 10.1973L4.46182 6Z" fill="black"/></svg>');
          }
        }

        > ul {
          display: flex;
          flex-direction: column;
          gap: 14px;

          > li {
            > a {
              font-size: 1.4rem;
              color: var(--ci);
            }
          }
        }

        a {
          opacity: 1;
          transition: opacity .3s;

          &::after {
            opacity: 1;
            transition: opacity .3s;
          }

          &:hover {
            opacity: .5;

            &::after {
              opacity: .5;
            }
          }
        }
      }
    }
  }

  .usage-list-area {
    padding: 40px clamp(20px, calc(70/1200 * 100vw), 70px) 60px;
  }
}

.main-contents.-products-top,
.main-contents.-works-top {
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;

  .category-section-level1 {
    .category-section--level2 {
      header {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        row-gap: 10px;
        .more {
          a {
            display: inline-block;
            position: relative;
            padding-right: 14px;
            font-size: 1.4rem;
            color: var(--ci);
            opacity: 1;
            transition: opacity .3s;

            &::before {
              position: absolute;
              display: block;
              content: "";
              width: 4px;
              height: 8px;
              top: 50%;
              right: 0;
              translate: 0 -50%;
              background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="8" viewBox="0 0 4 8" fill="none"><path d="M2.54961 4L0.167938 1.20179C0.0559793 1.07025 0 0.90284 0 0.699551C0 0.496263 0.0559793 0.328849 0.167938 0.197309C0.279897 0.0657695 0.42239 0 0.595418 0C0.768446 0 0.910939 0.0657695 1.0229 0.197309L3.83205 3.49776C3.89312 3.56951 3.93648 3.64723 3.96213 3.73094C3.98778 3.81465 4.0004 3.90433 3.99999 4C3.99958 4.09566 3.98696 4.18535 3.96213 4.26906C3.93729 4.35277 3.89393 4.43049 3.83205 4.50224L1.0229 7.80269C0.910939 7.93423 0.768446 8 0.595418 8C0.42239 8 0.279897 7.93423 0.167938 7.80269C0.0559793 7.67115 0 7.50374 0 7.30045C0 7.09716 0.0559793 6.92975 0.167938 6.79821L2.54961 4Z" fill="%23004BB4"/></svg>');
            }

            &::after {
              display: block;
              content: "";
              width: 100%;
              height: 1px;
              background: var(--ci);
              position: absolute;
              bottom: -4px;
              left: 0;
              opacity: 1;
              transition: opacity .3s;
            }

            &:hover {
              opacity: .5;

              &::after {
                opacity: 0;
              }
            }
          }
        }
      }

      .field-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
        gap: 16px 26px;

        li {
          width: 100%;
          display: flex;
          flex-direction: column;

          a {
            position: relative;
            display: flex;
            min-height: 7.0rem;
            padding: 15px 28px 15px 20px;
            flex-direction: column;
            flex-grow: 1;
            justify-content: center;
            border: 1px solid var(--ci);
            border-radius: 12px;
            font-size: 1.6rem;
            color: var(--ci);
            line-height: calc(20 / 16);
            background: rgba(255, 255, 255, 1);
            transition: background .3s;

            &:hover {
              background: rgba(53, 124, 223, .2);
            }

            &::after {
              position: absolute;
              content: "";
              display: block;
              top: 50%;
              right: 12px;
              width: 9px;
              height: 14px;
              translate: 0 -50%;
              background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='14' viewBox='0 0 9 14' fill='none'><path d='M5.24215 7L0.345291 2.10314C0.115097 1.87294 0 1.57997 0 1.22422C0 0.86846 0.115097 0.575485 0.345291 0.345291C0.575485 0.115097 0.86846 0 1.22421 0C1.57997 0 1.87294 0.115097 2.10314 0.345291L7.87892 6.12108C8.00448 6.24664 8.09363 6.38266 8.14637 6.52915C8.1991 6.67563 8.22505 6.83259 8.22421 7C8.22338 7.16741 8.19743 7.32436 8.14637 7.47085C8.09531 7.61734 8.00616 7.75336 7.87892 7.87892L2.10314 13.6547C1.87294 13.8849 1.57997 14 1.22421 14C0.86846 14 0.575485 13.8849 0.345291 13.6547C0.115097 13.4245 0 13.1315 0 12.7758C0 12.42 0.115097 12.1271 0.345291 11.8969L5.24215 7Z' fill='%23004bb4'/></svg>");
            }
          }
        }
      }

      .category-subsection {
        display: flex;
        flex-direction: column;
        gap: 20px;

        h4 {
          font-size: 1.8rem;
          font-weight: 600;
          color: var(--ci);
        }
      }
      .category-subsection + .category-subsection {
        margin-top: 40px;
      }
    }

    .usage-block {
      display: flex;
      flex-direction: column;
      gap: 40px;

      h4 {
        font-size: 24px;
        font-weight: bold;
        text-align: center;
      }

      details {
        summary {
          cursor: pointer;
          list-style: none;
          background: var(--ci);
          text-align: center;
          padding: 20px 20px;
          span {
            display: inline-grid;
            grid-template-columns: 1fr auto 1fr;
            column-gap: 1em;
            align-items: center;
            inline-size: min(100%, 25em);
            font-size: 2.0rem;
            font-weight: 600;
            color: #fff;
            @media screen and (max-width: 991px){
              font-size: 1.8rem;
            }
            &::before {
              content: "";
            }
            &::after {
              content: "";
              display: inline-block;
              width: 18px;
              height: 10px;
              background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" width="18" height="10" viewBox="0 0 18 10" fill="none"><path d="M9 3.62597L2.70404 9.58015C2.40807 9.86005 2.03139 10 1.57399 10C1.11659 10 0.73991 9.86005 0.443946 9.58015C0.147981 9.30026 0 8.94402 0 8.51145C0 8.07889 0.147981 7.72265 0.443946 7.44275L7.86996 0.419871C8.03139 0.267199 8.20628 0.158803 8.39462 0.0946807C8.58296 0.0305584 8.78475 -0.000993871 9 2.36962e-05C9.21525 0.00104126 9.41704 0.0325945 9.60538 0.0946806C9.79372 0.156767 9.96861 0.265164 10.13 0.419871L17.5561 7.44275C17.852 7.72265 18 8.07889 18 8.51145C18 8.94402 17.852 9.30026 17.5561 9.58015C17.2601 9.86005 16.8834 10 16.426 10C15.9686 10 15.5919 9.86005 15.296 9.58015L9 3.62597Z" fill="white"/></svg>');
              rotate: 180deg;
              transition: rotate .3s;
            }
          }
        }

        &[open] {
          summary span::after {
            rotate: 0deg;
          }

          &::details-content {
            grid-template-rows: 1fr;
          }
        }

        &::details-content {
          content-visibility: unset;
          display: block grid;
          grid-template-rows: 0fr;

          @media (prefers-reduced-motion: no-preference) {
            transition-duration: .3s;
            transition-property: grid-template-rows;
          }
        }

        .accordion-detail-wrap {
          overflow: hidden;
        }

        &::details-content {
          background: var(--skyblue);
        }

        
      }
    }
  }
}

.main-contents.-works-top {
  .field-list {
    margin-inline: auto;
    max-width: 880px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr))!important;
    gap: 16px 50px!important;
    @media screen and (max-width: 880px) {
      max-width: 400px;
      grid-template-columns: 1fr;
    }
  }
  .category-section-level1 {
    .category-section--level2 {
      header {
        position: relative;
        padding-bottom: 16px;
        &::after {
          content: "";
          position: absolute;
          left: 0;
          bottom: 0;
          width: 100%;
          height: 2px;
          background: linear-gradient(
            to right,
            #004BB4 0,
            #004BB4 124px,
            #DDDDDD 124px,
            #DDDDDD 100%
          );
        }
      }
    }
  }
  .usage-list {
    margin-top: 0;
    > ul {
      &:not(:has(ul)) {
        row-gap: 20px;
      }
    }
  }
}

.main-contents.-products-list,
.main-contents.-works-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 70px;
  @media screen and (max-width: 991px) {
    padding-inline: 20px;
  }
  .works-area {
    position: relative;
    background: var(--skyblue);
    width: 100vw;
    left: 50%;
    translate: -50% 0;
    display: flex;
    justify-content: center;
    padding-block: 80px;
    padding-inline: 70px;
    @media screen and (max-width: 991px) {
      padding-inline: 20px;
    }
    .category-wrap {
      max-width: 1160px;
      width: 100%;
      padding: 0 20px;
      @media screen and (max-width: 700px) {
        max-width: 540px;
      }
    }
  }

  .sort-modal--mobile {
    display: none;
    @media screen and (max-width: 768px),
          screen and (max-height: 680px) {
      display: block;
      position: fixed;
      top: 100px;
      right: 0;
      z-index: 2;
      box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.2);
      > a {
      background-color: #fff;
      content: "";
      display: block;
      padding: 20px;
      width: 80px;
      height: 80px;
      background-image: url('data:image/svg+xml;utf8, <svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.56972 14.9849C11.307 14.9849 14.3367 11.8182 14.3367 7.91187C14.3367 4.00556 11.307 0.838867 7.56972 0.838867C3.83242 0.838867 0.802734 4.00556 0.802734 7.91187C0.802734 11.8182 3.83242 14.9849 7.56972 14.9849Z" stroke="%23004bb4" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8647 17.6281L12.3569 12.9165" stroke="%23004bb4" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      background-origin: content-box;
      }
      .sort-modal--mobile__wrapper {
        position: absolute;
        top: 0;
        right: 0;
        padding: 20px;
        width: max-content;
        background-color: #fff;
        /* box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.2); */
        display: flex;
        flex-direction: column;
        row-gap: 20px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease-out;
        z-index: 10;
        &.is-open {
          opacity: 1;
          pointer-events: auto;
        }
      }
    }
  }

  .sort-modal {
    position: fixed;
    top: 100px;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    row-gap: 54px;
    z-index: 3;
    @media screen and (max-width: 768px),
          screen and (max-height: 680px) {
      &.sort-modal--double .modal-opener {
        display: none;
      }
    }
    &.is-open {
      opacity: 1;
      visibility: visible;
    }
    > .modal-opener {
      > a {
        /* flex-grow: 0; */
        writing-mode: vertical-rl;
        background: var(--ci);
        display: flex;
        column-gap: 10px;
        align-items: center;
        padding: 20px 24px;
        color: #fff;
        font-size: 1.6rem;
        font-weight: inherit;
        line-height: inherit;
        @media screen and (max-width: 991px) {
          padding: 10px 8px;
        }
      }
      > a::after {
        content: "";
        display: inline-block;
        width: 18px;
        height: 19px;
        background: url('data:image/svg+xml;utf8, <svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.56972 14.9849C11.307 14.9849 14.3367 11.8182 14.3367 7.91187C14.3367 4.00556 11.307 0.838867 7.56972 0.838867C3.83242 0.838867 0.802734 4.00556 0.802734 7.91187C0.802734 11.8182 3.83242 14.9849 7.56972 14.9849Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8647 17.6281L12.3569 12.9165" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
      }
    }

    .accordion-detail-wrap__close {
      display: block;
      position: absolute;
      top: 10px;
      right: 10px;
      width: 40px;
      height: 40px;
    }
    .accordion-detail-wrap {
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease-out;
      background: var(--skyblue);
      position: fixed;
      top: 100px;
      left: 0;
      right: 0;
      margin-inline: auto;
      max-width: 1100px;
      width: 80%;
      height: calc(95% - 100px);
      overflow-y: auto;
      z-index: 800;
      box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.2);
      border-radius: 10px;
      &.is-open {
        opacity: 1;
        pointer-events: auto;
      }
      .accordion-detail-wrap__close {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
      }
      .accordion-detail-wrap__title {
        padding: 14px 60px 0px 20px;
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.65;
      }
      .usage-list {
        margin-top: unset;
        padding: 20px;
        .category-section--level2 {
          display: flex;
          flex-direction: column;
          gap: 40px;
        }
        .usage-list-area {
          padding-top: unset;
        }
        .category-section--level2:has(.category-subsection) {
          gap: 20px;
        }
      }

      .area-list {
        padding: 20px 20px 20px;
        gap: 30px 50px;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr));

        @media (max-width: 768px) {
          gap: 15px;
        }
        a {
          color: var(--ci);
          font-size: 1.6rem;
          position: relative;
          display: block;
          &::after {
            content: "";
            display: block;
            width: 7px;
            height: 12px;
            position: absolute;
            top: 50%;
            right: 0;
            translate: 0 -50%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="7" height="12" viewBox="0 0 7 12" fill="none"><path d="M4.46182 6L0.293892 1.80269C0.0979637 1.60538 0 1.35426 0 1.04933C0 0.744394 0.0979637 0.493273 0.293892 0.295964C0.48982 0.0986543 0.739183 0 1.04198 0C1.34478 0 1.59414 0.0986543 1.79007 0.295964L6.70609 5.24664C6.81296 5.35426 6.88884 5.47085 6.93372 5.59641C6.97861 5.72197 7.0007 5.8565 6.99998 6C6.99927 6.1435 6.97718 6.27803 6.93372 6.40359C6.89026 6.52915 6.81439 6.64574 6.70609 6.75336L1.79007 11.704C1.59414 11.9013 1.34478 12 1.04198 12C0.739183 12 0.48982 11.9013 0.293892 11.704C0.0979637 11.5067 0 11.2556 0 10.9507C0 10.6457 0.0979637 10.3946 0.293892 10.1973L4.46182 6Z" fill="%23004bb4"/></svg>');
          }
        }
      }
    }
  }
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  
  /* 表示状態 */
  .modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }
}

.main-contents.-works-list {
  .category-section-level1 {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 1160px;
    padding: 0 20px;
  }
  .container {
    margin-top: 40px;
    p > a {
      padding-inline: 18px;
      font-size: 1.6rem;
      line-height: calc(30 / 16);
      position: relative;
             &::before {
              position: absolute;
              content: "";
              display: block;
              top: 50%;
              left: 0;
              width: 9px;
              height: 14px;
              transform: translateY(-50%) rotate(180deg);
              background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='14' viewBox='0 0 9 14' fill='none'><path d='M5.24215 7L0.345291 2.10314C0.115097 1.87294 0 1.57997 0 1.22422C0 0.86846 0.115097 0.575485 0.345291 0.345291C0.575485 0.115097 0.86846 0 1.22421 0C1.57997 0 1.87294 0.115097 2.10314 0.345291L7.87892 6.12108C8.00448 6.24664 8.09363 6.38266 8.14637 6.52915C8.1991 6.67563 8.22505 6.83259 8.22421 7C8.22338 7.16741 8.19743 7.32436 8.14637 7.47085C8.09531 7.61734 8.00616 7.75336 7.87892 7.87892L2.10314 13.6547C1.87294 13.8849 1.57997 14 1.22421 14C0.86846 14 0.575485 13.8849 0.345291 13.6547C0.115097 13.4245 0 13.1315 0 12.7758C0 12.42 0.115097 12.1271 0.345291 11.8969L5.24215 7Z' fill='%23000000'/></svg>");
            }
    }
    .status-box {
      margin-top: 20px;
      padding: 10px 20px;
      background-color: #fff;
      display: flex;
      flex-direction: column;
      row-gap: 12px;
      .subtitle {
        position: relative;
        padding-left: 16px;
        line-height: calc(30 / 18);
        font-size: 1.8rem;
        font-weight: bold;

        &::before {
          content: "";
          display: block;
          position: absolute;
          top: 4px;
          bottom: 4px;
          left: 0;
          width: 6px;
          background-color: var(--ci);
        }
      }
      .status-list {
        display: flex;
        flex-wrap: wrap;
        @media screen and (max-width: 991px) {
          flex-direction: column;
        }
        li + li {
          position: relative;
          padding-left: 30px;
          @media screen and (max-width: 991px) {
            padding-left: unset;
          }
          &::before {
            content: "";
            display: block;
            position: absolute;
            top: 6px;
            bottom: 6px;
            left: 0;
            width: 1px;
            background-color: var(--ci);
            @media screen and (max-width: 991px) {
              display: none;
            }
          }
        }
        li {
          display: flex;
          align-items: center;
          padding-right: 30px;
          font-size: 1.6rem;
          line-height: calc(30 / 16);
          strong {
            font-weight: 600;
          }
          a {
            display: block;
            margin-left: 8px;
            border-radius: 9999px;
            background-color: var(--ci);
            color: #fff;
            font-size: 1.2rem;
            line-height: 1;
            padding: 2px 10px 4px;
          }
        }
      }
    }
  }
}

.post-container {
  display: flex;
  flex-direction: column;
  gap: 120px;
  max-width: 1280px;
  margin: auto;
  padding: 0 20px;
}

/* single-products */
.business-singleSlide__img img {
  border-radius: 24px;
}

.business-singleTtl__catch {
  color: var(--ci);
}

/* single-workss */
.works-singleSlider {
  margin-bottom: 60px;
  .works-singleSlider__inner {
    max-width: 1140px;
    padding-inline: 80px;
  }
  .works-singleSlider__slickSlide {
    aspect-ratio: unset;
  }
  .works-singleSlide__img p {
    height: auto;
    aspect-ratio: 980 / 483;
  }
  .works-singleSlide__img img {
    border-radius: 20px;
  }
  .works-singleSlider__thumbs {
    margin-inline: auto;
    max-width: 730px;
    img {
      border-radius: 10px;
    }
  }
  .slick-prev {
    background-image: url(../img/common/icon-slider-prev-blue-wt.svg);

  }
  .slick-next {
    background-image: url(../img/common/icon-slider-next-blue-white.svg);
  }
  .slick-prev,
  .slick-next {
    transition: opacity 0.3s ease-out, box-shadow 0.2s ease-out;
    &:focus-visible {
      @media (prefers-reduced-motion: no-preference) {
        opacity: 0.5;
      }
    }
  }
  .slick-prev:active,
  .slick-next:active {
    @media (prefers-reduced-motion: no-preference) {
      box-shadow: unset;
    }
  }
  @media (any-hover: hover) {
    .slick-prev:hover,
    .slick-next:hover {
      @media (prefers-reduced-motion: no-preference) {
        opacity: 0.5;
      }
    }
  }
}

.works-singleInfo {
  margin-inline: auto;
  max-width: 770px;
}

/* ページャー */
.pager {
  margin-bottom: 30px;
  .pager-inner,
  .pager-list {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    @media screen and (max-width: 991px) {
      column-gap: 10px;
    }
  }

  .prev,
  .next,
  .dots {
    display: block;
    width: 63px;
    height: 63px;
    @media screen and (max-width: 991px) {
      width: 40px;
      height: 40px;
    }
    @media screen and (max-width: 600px) {
      zoom: progress(100lvw, 0px, 600px);
      -webkit-text-size-adjust: initial;
    }
  }

  .prev,
  .next {
    @media (prefers-reduced-motion: no-preference) {
      transition-duration: .3s;
      transition-property: opacity;
    }
    &:focus-visible {
      opacity: 0.5;
    }
  }
  @media (any-hover: hover) {
    .prev:hover,
    .next:hover {
      opacity: 0.5;
    }
  }


  .pager-list li a,
  .pager-list li .current {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 63px;
    height: 63px;
    font-size: 22px;
    font-weight: 900;
    border-radius: 10px;
    border: 1px solid var(--ci);
    @media screen and (max-width: 991px) {
      width: 40px;
      height: 40px;
      font-size: 18px;
    }
    @media screen and (max-width: 600px) {
      zoom: progress(100lvw, 0px, 600px);
      -webkit-text-size-adjust: initial;
    }
  }

  .pager-list li a {
    color: var(--ci);
    background-color: #fff;
    @media (prefers-reduced-motion: no-preference) {
      transition-duration: .3s;
      transition-property: color, background-color;
    }
    &:focus-visible {
      @media (prefers-reduced-motion: no-preference) {
        color: #fff;
        background-color: var(--ci);
      }
    }
  }

  @media (any-hover: hover) {
    .pager-list li a:hover {
      @media (prefers-reduced-motion: no-preference) {
        color: #fff;
        background-color: var(--ci);
      }
    }
  }

  .pager-list li .current {
    color: #fff;
    background-color: var(--ci);
  }

}

.search-form-products {
  text-align: center;
  max-width: 740px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
  > h2 {
    font-size: 2.8rem;
    font-weight: bold;
    @media screen and (max-width: 991px) {
      font-size: 2.0rem;
    }
    > span {
      display: inline-block;
      font-size: inherit;
      font-weight: inherit;
      line-height: inherit;
      letter-spacing: inherit;
    }
  }
  > form {
    margin-top: 34px;
    margin-inline: auto;
    width: 100%;
    border-radius: 12px;
    background-color: #004BB4;
    display: flex;
    align-items: center;
  }
  input[type = "text"] {
    flex: 1;
    font-size: 1.6rem;
    border: unset;
    border-radius: 12px 0 0 12px;
    padding: 18px;
    border: 1px solid #004BB4;
    background-color: #fff;
    &::placeholder {
      font-size: 1.6rem;
      color: #C1C1C1;
    }
  }
  button[type = "submit"] {
    width: 55px;
    height: 55px;
    border-radius: 0 12px 12px 0;
    display: grid;
    place-content: center;
    &::after {
      transition: transform 0.3s;
      display: block;
      content: "";
      width: 24px;
      height: 25px;
      background-image: url('data:image/svg+xml;utf8, <svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.56972 14.9849C11.307 14.9849 14.3367 11.8182 14.3367 7.91187C14.3367 4.00556 11.307 0.838867 7.56972 0.838867C3.83242 0.838867 0.802734 4.00556 0.802734 7.91187C0.802734 11.8182 3.83242 14.9849 7.56972 14.9849Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8647 17.6281L12.3569 12.9165" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    &:focus-visible::after {
      @media (prefers-reduced-motion: no-preference) {
        transform: scale(1.2);
      }
    }
    &:active::after {
      transform: scale(1.9);
    }
  }
  @media (any-hover: hover) {
    button[type = "submit"]:hover::after {
      @media (prefers-reduced-motion: no-preference) {
        transform: scale(1.2);
      }
    }
  }
}

/* サムネイル画像モーダル拡大表示add202601 */
a[data-modal-image] {
  cursor: pointer;
  transition: opacity 0.3s;
  &:focus-visible {
    @media (prefers-reduced-motion: no-preference) {
      opacity: 0.6;
    }
  }
}
@media (any-hover: hover) {
  a[data-modal-image]:hover {
    @media (prefers-reduced-motion: no-preference) {
      opacity: 0.6;
    }
  }
}

.data-modal-image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  &.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  .data-modal-image-overlay__inner {
    position: relative;
  }

  .data-modal-image-overlay__image {
    max-width: 80vw;
    max-height: 80vh;
    aspect-ratio: 1;
  }
  
  .data-modal-image-overlay__image img {
    max-width: 100%;
    max-height: 100%;
    display: block;
  }
  .data-modal-image-overlay__close {
    position: absolute;
    top: -17px;
    right: -17px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: var(--ci);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.3s;
  }
  .data-modal-image-overlay__close:focus-visible {
    @media (prefers-reduced-motion: no-preference) {
      opacity: 0.6;
    }
  }
  
  @media (any-hover: hover) {
    .data-modal-image-overlay__close:hover {
      @media (prefers-reduced-motion: no-preference) {
        opacity: 0.6;
      }
    }
  }
}
/* サムネイル画像モーダル拡大表示ここまで */
