/*==============================================================
Service
==============================================================*/
.service {
  .cont {
    .box {
      max-width: 1320px;

      .tab-flex {
        display: flex;
        justify-content: center;
        gap: 32px;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;

        @media screen and (max-width: 991px) {
          max-width: 85%;
          gap: 12px;
        }

        @media screen and (max-width: 560px) {
          max-width: 80%;
          flex-direction: column;
        }

        .tab-item {
          .tab {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            background: #3b6a7a;
            border-radius: 100px 100px 20px 20px;

            @media screen and (max-width: 560px) {
              flex-direction: row;
              border-radius: 100px 20px 20px 100px;
            }

            .icon {
              padding: 10px;
              background-color: #ffbb003d;
              border-radius: 100px;

              @media screen and (max-width: 560px) {
                flex: 1;
                padding: 2px;
              }
            }

            & h2 {
              color: #fff;
              padding-bottom: 8px;
              font-weight: 600;
              font-family: Noto sans jp;

              @media screen and (max-width: 991px) {
                font-size: 14px;
              }

              @media screen and (max-width: 560px) {
                flex: 3;
                font-size: 16px;
                padding-bottom: 0px;
              }
            }
          }
        }
      }

      .item {
        padding: 80px 0px 0px 0px;

        @media screen and (max-width: 991px) {
          padding: 40px 0px 0px 0px;
          width: 100%;
          max-width: 85%;
          margin: 0 auto;
        }

        @media screen and (max-width: 560px) {
          max-width: 100%;
          padding: 16px 0px 0px 0px;
        }

        .item-list {
          display: flex;
          align-items: center;
          flex-direction: column;
          gap: 120px;

          @media screen and (max-width: 1280px) {
            gap: 64px;
          }

          .list-item {
            display: flex;
            align-items: center;
            gap: 24px;
            width: 100%;

            @media screen and (max-width: 991px) {
              flex-direction: column-reverse;
            }

            .left {
              flex: 1;
              display: flex;
              flex-direction: column;
              gap: 24px;

              @media screen and (max-width: 1280px) {
                gap: 10px;
              }

              @media screen and (max-width: 560px) {
                position: relative;
              }

              .ttl-en {
                font-size: clamp(1.5rem, 1.3333rem + 0.3472vw, 1.75rem);
                position: relative;

                &::before {
                  content: "";
                  position: absolute;
                  top: -12px;
                  left: -12px;
                  width: 32px;
                  height: 32px;
                  background-color: #ffbb003b;
                  z-index: -1;
                }
              }

              .ttl-jp {
                font-size: 14px;

                @media screen and (max-width: 560px) {
                  margin-left: 2.5rem;
                }

                &::before {
                  width: 30%;
                  left: -24%;

                  @media screen and (max-width: 560px) {
                    width: 26%;
                  }
                }
              }

              .txt {
                display: flex;
                flex-direction: column;
                gap: 24px;

                @media screen and (max-width: 991px) {
                  gap: 10px;
                }

                .des {
                }
                .content {
                  display: flex;
                  align-items: center;
                  gap: 20px;
                  justify-content: center;
                  width: 100%;
                  max-width: 90%;
                  margin: 0 auto;

                  @media screen and (max-width: 1280px) {
                    max-width: 100%;
                  }

                  .content-left {
                    background-color: #ececec;
                    border-radius: 10px;
                    padding: 16px;
                    min-height: 130px;
                    flex: 3;

                    .content-cont {
                      display: flex;
                      flex-direction: column;
                      justify-content: center;
                      align-items: center;
                      gap: 8px;

                      .ttl {
                        padding: 2px 8px;
                        background: #1f2e55;
                        font-family: Noto sans jp;
                        width: 100%;
                        font-weight: 600;
                        max-width: max-content;
                      }

                      .content-des {
                        width: 100%;
                      }
                    }
                  }

                  .content-right {
                    flex: 1;

                    @media screen and (max-width: 560px) {
                      position: absolute;
                      top: 0;
                      right: 24px;
                      width: 100%;
                      max-width: 56px;
                    }
                  }
                }
              }
            }
            .right {
              flex: 1;

              @media screen and (max-width: 991px) {
                width: 100%;
              }

              .img {
                background-color: #1f2e55;
                border-radius: 10px;
                padding: 10px;

                .n2-ss-slider-wrapper-inside {
                  border-radius: 5px;
                  overflow: hidden;
                }
              }
            }
          }
        }
      }
    }
  }
}

#piping,
#equipment,
#steel,
#plant {
  scroll-margin-top: 120px;
}
