@charset "UTF-8";

@media screen and (min-width: 1281px) {
  .mobile-menu {
    display: none;
  }
}

@media screen and (max-width: 1281px) {
  .swiper-btn {
    display: none;
  }


  /* main */
  .m_box {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    height: 100vh;
    width: 100dvw;
    text-align: center;
    padding: 70px 24px;
    overflow-y: auto;
    box-sizing: border-box;
    font-family: var(--pre);
    backdrop-filter: blur(10px);
  }

  .mobile-menu {
    display: block;
    list-style-type: none;
    padding: 0;
    margin: 40px 0 0 0;
  }

  .mobile-menu > li {
    margin-bottom: 20px;
  }

  .mobile-menu > li > h2 {
    display: block;
    /* color: #1a1a1a; */
    color: white;
    padding: 15px;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
  }

  .mobile-menu > li > h2:hover {
    color: #b8a89e;
  }

  .mobile-menu .depth {
    display: none;
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
    border-radius: 5px;
    overflow: hidden;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 0 0 0 #ededed;
  }

  .mobile-menu .depth li {}

  .mobile-menu .depth li:first-child {
    border-top: none;
  }

  .mobile-menu .depth li a {
    display: block;
    padding: 10px 15px;
    line-height: 1.5;
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
  }

  .mobile-menu .depth li a:hover {
    color: #b8a89e;
  }

  .buy a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
  }

  .buy a:hover {}

  .buy i {
    margin-right: 10px;
  }

  .buy img {
    width: 24px;
    height: 24px;
  }



  header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 10%;
    z-index: 1000;
    transition: all 0.7s ease 0.1s;
    /* background-color: white; */
    overflow: hidden;

    &:hover {
      height: 10%;
      overflow: hidden;

      .header_wrap ul li .depth {
        max-height: 100%;
        opacity: 1;
      }
    }

    &::before {
      background-color: #ccc;
      height: 0.05vw;
      position: absolute;
      width: 100%;
      content: "";
      left: 0;
      bottom: 0;
      display: block;
    }

    .header_wrap {
      position: absolute;
      width: 100%;
      left: 0;
      height: 100%;
      display: flex;
      align-items: center;
      overflow: hidden;

      .logo {
        top: auto;

        img {
          height: 14.1rem;
          display: block;
          object-fit: scale-down;
        }
      }

      > a {
        position: fixed;
        left: 5vw;
      }

      > ul {
        display: none;
        position: absolute;
        right: 50%;
        height: 100%;
        width: 100%;
        flex-direction: column;
        text-align: center;

        > li {
          height: 100%;
          flex: 1 1 auto;
          position: relative;

          > a {
            line-height: 10vh;
            position: relative;
            padding: 0 1.6vw;
            display: block;
            color: var(--main-color);
            font-weight: 500;

            &::after {
              position: absolute;
              width: 100%;
              height: 0.18rem;
              opacity: 0;
              left: 0;
              bottom: 0;
              z-index: 1;
              margin: 0 auto;
              background-color: #534740;
              content: "";
              display: block;
              transition: all 0.45s ease;
              transform: scaleX(0);
            }
          }

          &:hover:not(.buy) > a::after {
            width: 100%;
            opacity: 1;
            transform: scaleX(1);
          }

          .depth {
            position: absolute;
            width: 100%;
            font-size: 1vw;
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            padding-top: 0.2vw;
            -webkit-transition: all 0.5s ease 0.1s;
            transition: all 0.5s ease 0.1s;

            li {
              a {
                text-align: center;
                padding: 0.5vw 0;
                color: #999;
                font-size: 0.8vw;
                font-weight: 400;
                line-height: 1vw;
                font-family: var(--pre);
              }

              &:hover a {
                color: #534740;
                transition: 0.3s all;
                font-weight: 500;
              }
            }
          }

          &:last-child {
            a {
              position: relative;
              margin-left: 1.2vw;
              display: flex;
              align-items: center;
              gap: 0.45rem;
              padding: 0 1.2vw;
              font-family: var(--pre);

              &::before {
                background-color: #1a1a1a;
                height: 46%;
                z-index: -1;
                width: 100%;
                content: "";
                left: 0;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                border-radius: 5rem;
              }

              span {
                color: white;
                font-size: 0.8vw;
              }
            }

            img {
              vertical-align: middle;
              min-height: 1rem;
              max-height: 1rem;
              display: block;
            }
          }
        }
      }
    }

    .ham {
      display: flex;
    }
  }

  /* img {
    height: 100%;
    object-fit: cover;
  } */

  footer {
    & .footer_inner {
      padding: 5% 10%;

      & .footer_info {
        & .footer_desc {
          flex-wrap: wrap;

          h5 {
            display: inline-block;
            font-size: 16px;
            font-weight: 500;
            color: #534740;
            margin: 2rem;
          }
        }

        & .footer_list {
          display: none;
        }

        & .footer_nav {
          gap: 3.2vw;
          width: 100%;

          & li a {
            img {
              height: 7.25rem;
              max-height: 25px;
            }
          }
        }
      }
    }

    & .footer_inner2 {
      & .footer_address {
        & .fam {
          img {
            height: 5rem;
          }
        }
      }
    }


    .footer_address {
      flex-wrap: wrap;

      .add p {
        margin-top: 1rem;
      }
    }

    .fam {
      margin-top: 12px;
    }
  }


  /* sub */
  main.sub_p {
    /* margin-top: 10vh; */

    section {
      padding: 10% 0;
      position: relative;
      max-width: 100%;
      margin: 0 auto;
    }

    .sub_wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: center;
      gap: 3rem;

      & h2 {
        font-size: 3.125vw;
        color: var(--main-color);
        font-weight: 500;

        + hr {
          width: 1px;
          height: 22px;
        }
      }

      & p {
        margin-inline: 20px;
        line-height: 1.5;
      }

      & .sign {
        margin-inline: 5%;
        margin-top: 40px;
        flex-direction: column;

        p {
          letter-spacing: -0.15rem;
          margin-right: 1.4vw;
          font-family: var(--maru);
        }

      }

    }

    /* sub1 */
    .s1 {}

    .s1_2 {
      margin-top: 0;

      .grid_wrap {
        gap: 20px;

        > li {
          padding-bottom: 1rem;
          margin-bottom: 40px;
        }
      }
    }

    .s1_3 {}

    .history {
      margin: 0 auto;
      padding-top: 0;

      h3 {
        text-align: center;
        font-size: 3rem;
        padding: 1rem 0;
      }

      .flex_wrap {
        display: flex;
        justify-content: center;

        .flex_right {
          flex: 1;
          border-left: 0.02rem solid #666666;
          position: relative;

          ul {
            padding: 2rem 0;

            li {
              display: flex;
              padding-bottom: 1.75rem;
              padding-left: 12px;
              font-family: var(--pre);
              flex-direction: column;
              align-items: flex-start;

              &:last-of-type {
                padding-bottom: 0;
              }

              span {
                color: var(--sub-color);
                font-size: 1.85rem;
                display: inline-block;
                min-width: 6rem;
                margin-right: 1.75rem;
                text-align: right;
                font-weight: 600;
              }

              p {
                font-size: 1.85rem;
                color: #666;
                line-height: 1.5;
              }
            }

            &::before {
              position: absolute;
              left: 0;
              top: 0;
              width: 10px;
              height: 10px;
              content: '';
              border-radius: 100%;
              transform: translate(-50%);
              background-color: var(--sub-color);
            }
          }
        }

        .flex_left {
          flex: 1;
          border-right: 0.02rem solid #666666;
          position: relative;

          ul {
            padding: 2rem 0;

            li {
              display: flex;
              flex-direction: row-reverse;
              padding-bottom: 1.75rem;
              padding-left: 0;
              padding-right: 12px;
              font-family: var(--pre);
              flex-direction: column;
              align-items: flex-end;

              &:last-of-type {
                padding-bottom: 0;
              }

              span {
                color: var(--sub-color);
                font-size: 1.85rem;
                display: inline-block;
                min-width: 6rem;
                margin-right: 1.75rem;
                text-align: right;
                font-weight: 600;
              }

              p {
                font-size: 1.85rem;
                color: #666;
                text-align: right;
                line-height: 1.5;
              }
            }

            &::before {
              position: absolute;
              right: 0;
              top: 0;
              width: 10px;
              height: 10px;
              content: '';
              border-radius: 100%;
              transform: translate(50%);
              background-color: var(--sub-color);
            }
          }
        }
      }
    }

    .s1_4 {

      width: 100%;
      max-width: 100%;
      text-align: center;

      .s3_anchor {
        display: flex;
        width: 100%;
        position: relative;
        align-items: center;
        justify-content: center;

        > li {
          position: relative;

          &.on {
            &::after {
              position: absolute;
              width: 100%;
              display: block;
              height: 0.1rem;
              background-color: var(--sub-color);
              content: '';
              bottom: 0;
              left: 0;
              z-index: 1;
            }
          }

          &.on a,
          &:hover a {
            color: var(--main-color);
            font-family: var(--pre);
            font-weight: 500;
          }
        }

        li > a {
          padding: 1rem 5vw;
          color: #999;
          font-family: var(--pre);
          font-size: 1.25vw;
          transition: color 0.3s;
          position: relative;
          display: block;
        }

        ::before {
          position: absolute;
          left: -200%;
          width: 200vw;
          border-bottom: 0.02rem solid #ccc;
          content: '';
          bottom: 0;
        }
      }

      article {
        width: 100%;
        padding: 10% 0 5%;

        h3 {
          color: #333;
          font-family: var(--pre);
          font-weight: 400;
          font-size: 1.88vw;
          text-align: left;
          max-width: 80%;
          display: block;
          margin-inline: auto;
          margin-bottom: 0.45rem;
        }

        &.a1 {
          background: url(../72ppi/s3_grid_bg1.png);
          background-size: cover;
          background-repeat: no-repeat;
          background-position-x: center;
        }

        &.a3 {
          background: url(../72ppi/s3_grid_bg3.png);
          background-size: cover;
          background-repeat: no-repeat;
        }

        .s3_grid {
          display: grid;
          max-width: 80%;
          margin: 0 auto;
          grid-template-columns: 1fr 1fr 1fr;
        }
      }
    }


    /* sub2 */
    .s2 {
      gap: 3rem;
      max-width: 100%;

      & .tab__content {
        & .flex_wrap {
          & .flex_left {
            a {
              padding-top: 50%;
              display: inline-block;
            }
          }
        }
      }


      p {
        line-height: 1.45;
      }

      & .s2_movie {
        & ul {
          gap: 2rem;

          li {
            padding: 8px 18px;

            & .tri {
              scale: 0.8;
            }
          }

        }

      }

      article {
        padding: 10% 0 5% 0;
        background: url(../72ppi/s2_bg.png);
        background-position-x: center;
        background-repeat: no-repeat;
        background-position-y: center;

        .flex_wrap {
          display: flex;
          flex-wrap: wrap;
          gap: 5rem;
          width: 100%;
          justify-content: center;
          flex-direction: column-reverse;
          padding: 15% 10%;

          .img_box {
            margin: 0 auto;
            width: 50%;

            > img {
              width: 50%;
              margin: 0 auto;
              display: block;
            }
          }

          & .desc_txt {
            width: 100%;
            text-align: center;

            h3 {
              font-size: 3.07rem;
              margin-bottom: 2rem;
            }

            p {
              line-height: 1.35;
            }
          }
        }

        .s2_bg {
          position: relative;
          width: 100%;
          height: 100%;
          display: block;
          margin-bottom: 20vw;

          img {
            width: 100%;
          }
        }
      }

      .s2_2 {
        position: absolute;
        display: block;
        margin: 0 auto;
        left: 10%;
        width: 100%;
        top: 35%;
        padding: 0;
        height: 100%;

        & .flex_wrap {
          display: flex;
          flex: 1 1 auto;
          width: 100%;
          height: 100%;
          position: relative;

          & .flex_left {
            width: 47.5%;
            background: url(../72ppi/sub2_img.png) no-repeat;
            background-size: contain;
          }

          & .flex_right {
            padding-left: 4vw;
            padding-top: 1rem;

            h3 {
              font-size: 2.5vw;
              font-weight: 500;
              margin-bottom: 1.3vw;
              position: relative;

              &::after {
                position: absolute;
                content: "";
                display: block;
                width: 2.63vw;
                height: 2.63vw;
                background-color: #bdd7e4;
                border-radius: 999px;
                left: -7.5%;
                top: -10%;
                z-index: -1;
              }
            }

            p {
              font-size: 1.35vw;
              font-family: var(--pre);
              color: #999;
              font-weight: 300;
            }
          }
        }

        .marks {
          display: flex;
          position: absolute;
          width: 100%;
          top: 50%;
          padding-left: 45%;
          right: 0;
          align-items: center;
          justify-content: center;
        }
      }

      .s2_3 {
        background: url(../72ppi/sub2_img6.png) center center no-repeat;
        background-size: cover;
        margin: 10%;
      }
    }


    /* sub3 */
    .s3 {
      padding-bottom: 0;
      max-width: 100%;

      h3 {
        display: inline-block;
        font-size: 3.07rem;
        font-weight: 500;
        position: relative;

        &::after {
          position: absolute;
          display: block;
          left: -1rem;
          top: 0;
          content: '';
          background-color: #bdd7e4;
          border-radius: 9rem;
          width: 3rem;
          height: 3rem;
          z-index: -1;
        }
      }

      section {
        padding-bottom: 0;
      }

      article {
        width: 100%;

        img {
          display: block;
          width: 100%;
          margin: 0 auto;
        }
      }
    }

    .s3 .s3_2 {
      background: url(../72ppi/s3_2_bg.png);
      max-width: 100%;
      margin-inline: auto;
      background-repeat: no-repeat;
      background-size: 100% 100%;
    }

    .s3_2_2 {
      margin: 10% 0;

      & .flex_wrap {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        align-items: center;
        gap: 7rem;

        & .flex_left {
          min-width: 900px;
          flex: 1;
        }

        & .flex_right {
          flex: 1;

          ul {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-inline: 20px;

            > li {
              display: flex;
              align-items: center;
              font-family: var(--pre);
              gap: 16px;

              img {
                max-height: 48px;
              }

              h5 {
                font-size: 16px;
                padding-bottom: 1rem;
              }

              p {
                font-size: 2rem;
                color: #666666;
              }
            }
          }
        }
      }

      a {
        background-color: #1a1a1a;
        color: white;
        font-family: var(--pre);
        text-align: center;
        font-size: 1.88rem;
        border-radius: 5rem;
        margin: 0 auto;
        width: 120px;
        padding: 3rem 1rem;
        min-width: fit-content;
      }
    }


    /* sub4 */
    .s4 {
      padding-top: 0;

      .s4_grid {

        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

        .s4_item {
          cursor: pointer;
          background-color: #fff;
          padding: 16px 24px 24px 24px;
          position: relative;
          border-radius: 1rem;
          width: 100%;
          height: 100%;
          display: grid;
          grid-template-rows: 1fr auto;

          &:hover img {
            scale: 1.05;
            transition: 0.5s;
          }

          & .s4_img {
            display: block;
            width: 100%;
            position: relative;
          }

          img {
            /* width: 60%; */
            height: 100%;
            display: block;
            padding: 10%;
            margin: 0 auto;
            transition: 0.3s;
          }

          & .s4_desc {
            display: grid;
            grid-template-rows: 1fr;
            text-align: left;
            position: relative;
            z-index: 1;

            & h4 {
              font-size: 1.67vw;
              font-family: var(--pre);
              margin-bottom: 8px;


              & + p {
                font-family: var(--pre);
                color: #999999;
                font-weight: 300;
                font-size: 0.94vw;
                min-height: 4rem;
                width: 95%;
                margin-bottom: 18px;
              }
            }

            .category {
              gap: 6px;

              span {
                padding: 2px 10px;

              }
            }
          }
        }
      }
    }

    .s4_p1 {
      padding: 0% 0 10%;

      & .flex_wrap {
        display: flex;
        /* flex-direction: column; */
        gap: 2.3vw;
        justify-content: space-between;
        width: 100%;
        position: relative;

        & .flex_left {
          position: relative;
          left: 0;
          height: 100%;

            
        }

        & .flex_right {
          display: flex;
          flex-direction: column;
          padding: 20px;
          justify-content: space-between;

          :last-child img {
            cursor: pointer;
          }

          h2 {
            font-weight: 500;
            font-size: 2.5vw;
            padding-bottom: 0;
            margin-bottom: 1rem;
          }

          > p {
            font-size: 1rem;
            font-weight: 300;
            font-family: var(--pre);
            color: #999;
            margin-bottom: 12px;
            width: 95%;

            &:last-of-type {
              margin-bottom: 46px;
            }
          }

          .category {
            gap: 6px;
            margin: 8px 0 24px;

            span {
              margin-top: 0;
              margin-bottom: 4px;
              padding: 2px 8px;
            }
          }

          & .s4_p_desc {
            margin-bottom: 4px;
            display: flex;
            align-items: center;

            p {
              line-height: 1.5;
              margin-left: 4px;
              display: inline-block;
              font-size: 1rem;
              font-weight: 300;
              font-family: var(--pre);
              color: #999;
              padding: 4px;
            }

            span {
              width: 25px;
              height: 25px;
              display: inline-block;

              img {
                min-height: 100%;
              }
            }
          }

          a {
            display: inline-block;
            padding: 10px 18px;
            background-color: var(--main-color);
            color: white;
            font-weight: 500;
            font-size: 1.125rem;
            font-family: var(--pre);
            border-radius: 5rem;
            margin-top: 22px;
            width: 32%;
            text-align: center;
            min-width: fit-content;
          }

          .s4_p_thumb {
            margin-top: 60px;
            display: flex;
            gap: 4px;
          }
          & ::before {
            height: 105px;
        }
          

        }
        
        
      }

      .go_pr {
        /* position: absolute; */
        top: 5%;
        right: 10%;
        font-style: var(--pre);
        font-size: 1.33vw;
        color: var(--main-color);
      }
    }

  }

}

/* 기존 코드 end */

@media screen and (max-width : 1441px) {
  .lang {
    top: 25px;
  }

  main {
    & .m2 {

      & span {
        font-size: 1.125rem;
        line-height: 1.5;
      }

      & .wrap {
        padding: 0 0 0 20px;
      }

      & .flex_wrap {
        .flex-left {}
      }
    }

    .banner {
      padding-inline: 5rem 9rem;

      .desc {
        .desc_i {
          .desc_t {
            p {
              font-size: 1rem;
            }
          }
        }
      }
    }

    & .m3 {
      & .ms_3 {
        margin-top: -4rem;

        & .swiper-wrapper {
          & .swiper-slide {
            img {
              width: 210px;
              height: 200px;
            }


            & .ms3_desc {
              & .category {
                min-height: 2rem;
              }
            }
          }
        }
      }
    }


    & .m4 {
      & .m4_intro {
        margin-bottom: 3rem;
      }

      & .desc {
        max-width: 1140px;
        margin: 0;

        & .desc_i {
          flex: 1;
        }
      }
    }

  }

  .m3 .swiper-btn {
    padding-top: 1.5rem;
    padding-right: 4rem;
  }

  main.sub_p {
    .s1 {
      gap: 2rem;
    }


    .history {
      background-size: 121%;
    }

    .history .his_wrap {
      row-gap: 1.5rem;

      grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    }

    .s32_swiperbox .s32_swiperThumb .swiper-wrapper {
      gap: 12px;
    }

    .s4_p1 .flex_wrap .flex_right {
      padding: 13% 11% 0 0;
    }

    .s4_p1 .flex_wrap .flex_right::before {
      height: 165px;
    }
  }
}

@media screen and (max-width : 1281px) {
  main {
    .banner {
      padding-inline: 20px 2vw;
    }

    & .desc_i3 {
      &:hover {
        & .img_box img {
          transform: scale(1.25);
          transition: 0.3s all;
        }
      }
    }
  }

  footer {
    & .footer_inner {
      padding: 5% 0px;

      & .footer_info {
        & .footer_desc {
          width: 100%;
          flex-wrap: nowrap;

          > div {
            flex: 0 0 50%;
          }
        }
      }
    }

    .footer_inner2 {
      padding: 2rem 20px;

      & .footer_address {
        margin: 0;

        .add p {
          font-size: 14px;
        }
      }
    }

    .gotop {
      right: 2rem;
    }
  }

  main.sub_p {

    .sub_wrap {
      gap: 0;
      padding-top: 10%;
      margin-top: 0;
    }

    .s1 {
      .img_box {
        img {
          height: auto;
        }
      }
    }

    .s1_3 {
      padding-block: 0 5%;
    }

    .s1_3_1 {
      padding-block: 0 5% !important;
    }

    .history {
      background: none;
    }

    .history .his_wrap {
      row-gap: 4.5rem;
    }

    .history .his_wrap .his_i i {
      display: none;
    }

    .history .his_wrap .his_i {
      border-bottom: 1px solid #534740;
      padding-bottom: 1rem;
    }


    .s4_p1 .flex_wrap .flex_right {
        padding: 9% 11% 0 0;
      }
  }

     main .m2 .flex_wrap .flex_right .ms_2 .swiper-slide img {
    filter: drop-shadow(5px 7px 7px rgba(0, 0, 0, 0.15));
    }

    main .m2 .flex_wrap .flex_right .ms_2 .swiper-horizontal > .swiper-pagination-progressbar, 
    main .m2 .flex_wrap .flex_right .ms_2  .swiper-pagination-progressbar.swiper-pagination-horizontal {
        width: 67%;
       left: 31%;
    }

    main.sub_p .s1 .txt_box p br {
        display: none;
    }
    main.sub_p .s1 .txt_box p  {
        max-width: 90%;
        margin-top: 1rem;
    }
    
    main .m4 .txt_box span {
        font-size: 1.125rem;
    }

    main .m2 span br {
        display: none;
    }

    main .banner .txt_box span {
        font-size: 1.125rem;
    }

    main .m4 .m4_intro p {
        font-size: 1.125rem;
    }
    main .m4 .m4_intro .view {
        font-size: 1rem;
    }
    .m5 .m5_intro {
        padding: 10% 0 3rem;
    }
    .m5 .m5_intro span {
        font-size: 1.125rem;
        line-height: 1.5;
    }
    .m5 ul li img {
        max-width: 50%;
    }
    .m5 ul {
        grid-template-columns: repeat(4, 1fr);
        padding-inline: 7vw;
    }
    .m5 ul li::before {
        bottom: 3rem;
        right: -2rem;
        width: 20%;
    }
    .m5 ul li:nth-child(4n)::before {
        display: none;
    }
    .m5 ul li:nth-child(n+5)::after {
        display: block;
    }
    .m5 ul li:nth-child(9)::after,
    .m5 ul li:nth-child(10)::after {
        display: none;
    }
    

    .m5 ul li:nth-child(5)::before {
        display: block;
    }
    .m5 ul li:last-child::before {
        display: block;
    }
    main.sub_p .history .his_wrap .his_i .txt {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    main.sub_p .history .his_wrap .his_i p {
        max-width: 85%;
    }
    main.sub_p .history .his_wrap .his_i p br {
        display: none;
    }
    
    main.sub_p .s1_3_1 .sub_wrap p {
        max-width: 60%;
    }
    main.sub_p .s1_3_1 .sub_wrap p br {
        display: none;
    }

    main.sub_p .s1_33 .img_box img {
        max-width: 70%;
    }
    main.sub_p .s1_33 .img_box {
            margin-top: -3rem;
    }
    main.sub_p .s4_p1 .flex_wrap .flex_right a img {
        max-width: 60%;
    }
    main.sub_p .s4_p1 .go_pr_wrap .go_pr {
        font-size: 1.125rem;
    }
    main.sub_p .s4_p1 .flex_wrap .flex_right .category span {
        letter-spacing: 0;
    }


    main .m1 {
        margin-bottom: 10rem;
    }
    main .m1 .ms_1 .swiper-slide img  {
        height: 100vh;
    }

    main .m2 .flex_wrap .flex_left .view {
        font-size: 1rem;
    }
               
    main .m3 .ms_3 .swiper-wrapper .swiper-slide .ms3_desc h4 {
        font-size: 20px;
        margin-top: 1.2rem;
    }
    

    main .m3 .ms_3 .swiper-wrapper .swiper-slide .ms3_desc h4 + p  {
        font-size: 16px;
        min-height: 1rem;
        margin-top: 0.7rem;
    }

    main .m3 .ms_3 .swiper-wrapper .swiper-slide .ms3_desc  h4 + p  br {
        display: none;
    } 

    main .m3 .ms_3 .swiper-wrapper .swiper-slide .ms3_desc .category {
        margin-top: 1.5rem;
    }


    /* main .m3 .ms_3 .swiper-wrapper .swiper-slide {
        min-height: 510px;
    } */
     
    main .m3  {
        padding-bottom: 6rem;
    }
    .sub_banner .txt_box {
        padding-inline: 5vw;
    }
    
    main.sub_p .s1_3_1 .sub_wrap span {
        margin-block: 2rem;
    }
    
    main.sub_p .s4 .sub_wrap span {
         margin-block: 2rem;
    }
    

    #bo_list .tbl_head01 a {
        text-align: center;
        display: block;
    }

    main .m1 .ms_1 .swiper-slide .ms_intro {
        left: 6%;
    }

    main.sub_p .s4_p1 .go_pr_wrap {
        width: 22%;
    }

    

}

@media screen and (max-width : 1200px) {
    main.sub_p {
        .s4_p1 .flex_wrap .flex_right {
            padding: 7% 11% 0 0;
        }
    }
}


@media screen and (max-width : 1025px) {
  main {
    .m1 {
      height: 65dvh;
    }

    .m2 {
      & span {
        font-size: 1rem;

        br {
          display: none;
        }
      }

      & .flex_wrap {
        & .flex_right {
          & .ms2 {

            .swiper-horizontal > .swiper-pagination-progressbar,
            .swiper-pagination-progressbar.swiper-pagination-horizontal {
              width: 65%;
              left: 30%;
              margin-top: 0;
            }
          }
        }
      }
    }

    .banner .txt_box span {
      font-size: 1rem;
    }

    & .banner {
      height: 100dvh;
      padding-block: 10rem;

      & .desc {
        & .desc_i {
          & .desc_t {
            p {
              font-size: 14px;
            }
          }
        }
      }
    }

    .ms_3 {
      margin-top: -4rem;
    }

    & .m4 {
      & .desc {
        max-width: 800px;
      }

      .plus {
        width: 50px;
      }

      .txt_box {
        span {
          font-size: 14px;
        }
      }
    }
  }

  footer {
    & .footer_inner {
      & .footer_info {
        & .footer_desc {
          > div {
            flex: 0 0 39%;
          }
        }
      }
    }
  }

  /* main end */

  .history {
    background: none;
  }

  .history .his_wrap .his_i h5 {
    min-height: 1rem;
    padding-top: 1rem;
  }

  .history .his_wrap .his_i p {
    height: 3rem;
  }

  .s32_swiperbox .s32_swiperThumb {
    right: -5rem;
  }

  & .s4_p1 {
    & .flex_wrap {
      & .flex_right {
        & .category {
          span {
            font-size: 16px;
            letter-spacing: initial;
          }
        }
      }
    }
  }
}

@media screen and (max-width : 900px) {
  main {
    .m1 {
      height: 100dvh;

      .wrap {
        margin-top: 0;
      }

      & .ms_1 {
        & .swiper-slide {
          & .ms_intro {
            & h2 {
              font-size: 2.5rem;
            }
          }
        }
      }
    }

    & .m2 {
      padding: 0;
      margin-bottom: 15%;

      & h3 {
        font-size: 2rem;
      }

      & span {
        width: 69%;
        font-size: 1.25rem;
        display: block;
      }

      & .flex_wrap {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        & .flex_right {
          & .ms_2 {

            .swiper-horizontal > .swiper-pagination-progressbar,
            .swiper-pagination-progressbar.swiper-pagination-horizontal {
              left: 25%;
              height: 0.05rem;
              margin-top: 2rem;
            }
          }
        }

        .flex_left {
          width: 100%;
          padding: 4rem 2rem 2rem 2rem;

          & .view {
            font-size: 18px;
            margin-bottom: 2rem;
          }
        }

        & .flex_right {
          width: calc(100% - 20px);
          height: auto;

          & .ms_2 {
            padding: 0;
          }
        }
      }
    }

    & .banner {
      height: 115dvh;
      flex-direction: column;
      align-items: center;
      gap: 4vh;
    }

    .banner .desc {
      width: 100%;
    }

    .banner .desc .desc_i:nth-child(3) {
      grid-column: initial;
    }

    .banner .desc .desc_i .desc_t h3 {
      font-size: 20px;
    }

    .banner .txt_box h2 {
      font-size: 2rem;
      text-align: center;
    }

    .banner .txt_box span {
      text-align: center;
      font-size: 20px;
      display: block;
    }

    .banner .desc .desc_i .desc_t h3 {
      font-size: 26px;
    }

    .banner .desc .desc_i .desc_t p {
      font-size: 1.125rem;
    }

    /* banner end */

    & .m3 {
      & .m3_intro {
        & h3 {
          font-size: 2rem;
        }
      }

      .ms_3 {
        margin-top: 0;
        padding-inline: 20px;

        & .swiper-wrapper {
          & .swiper-slide {
            & .ms3_desc {
              & h4 {
                font-size: 24px;
                margin-top: 0.5rem;

                & + p {
                  font-size: 18px;
                  min-height: 4rem;
                }
              }

              & .category {
                span {
                  font-size: 16px;
                }
              }
            }
          }
        }
      }
    }

    .view {
      font-size: 14px;
    }

    & .m4 {
      & .m4_intro {
        h3 {
          font-size: 32px;
        }
      }

      & .desc {
        max-width: none;
      }

      & .txt_box {
        & p {
          font-size: 1rem;
        }
      }
    }

    .m5 {
      & .m5_intro {
        & h3 {
          font-size: 2rem;
        }

        & span {
          font-size: 16px;
          line-height: 1.8;
          letter-spacing: 0.25px;
        }
      }
    }
  }

  footer {
    & .footer_inner {
      & .footer_info {
        & .footer_desc {
          flex-direction: column;

          span {
            font-size: 16px;
          }

          h5 {
            margin: 2rem 2rem 2rem 0;
          }
        }
      }
    }
  }

  main.sub_p {
    .s1 {
      flex-direction: column-reverse;
    }

    .s1 .txt_box {
      flex: content;
      width: 100%;
      padding-inline: 20px;
    }

    .s1_1_2 {
      padding-inline: 20px;
      padding-bottom: 10rem;
    }

    .s1_1_2 .txt p br {
      display: none;
    }

    .s1_1_2 .txt span br {
      display: none;
    }

    .s1_1_2 .img_i:nth-child(2) .txt {
      margin-bottom: 0;
      margin-top: 0;
    }

    .s1_1_2 .img_i:nth-child(2) img {
      height: 215px;
      object-fit: contain;
      margin-bottom: 4rem
    }

    .history {
      background: none;
    }

    .history .his_wrap {
      grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
      margin-top: 2rem;
    }


    & .s1_2 {
      & .grid_wrap {
        & > li {
          &:last-child {
            width: initial;
          }
        }
      }
    }

    .s32_swiperbox .s32_swiperThumb {
      right: -4rem;
    }

    & .s4 {
      & .s4_grid {
        & .s4_item {
          & .s4_desc {
            & h4 {
              font-size: 20px;

              & + p {
                font-size: 16px;
              }
            }
          }
        }
      }
    }

    & .s4_p1 {
        & .flex_wrap {
            flex-direction: column;

            & .flex_left {
                & img {
                    height: 600px;
                    object-fit: cover;
                    width: 100%;
                }
            }
            & .flex_right {
                padding-inline: 20px;
                padding-top: 7%;

                .category {
                    min-height: 2rem;
                    width: 100%;
                }

                & ::before {
                    /* height: 155px; */
                    display: none;
                }

                & a {
                    max-width: fit-content;
                    padding: 1rem 2.5rem;
                    font-size: 1rem;

                    & i {
                        margin-right: 0.5rem;
                    }
                }

                & > p {
                    &:last-of-type {
                        margin-bottom: 25px;
                        font-size: 1.125rem;
                        margin-top: 0.5rem;
                    }
                }

                .s4_p_thumb {
                    gap: 10px;
                }

                h2 {
                    font-size: 1.5rem;
                }
            }
        }

        & .go_pr_wrap {
            & .go_pr {
                font-size: 18px;
            }
        }
        
    }
    
    /* .s4_p1 .flex_wrap .flex_right {
        padding: 0% 11% 0 0;
    } */

    /* & .s4_p1 {
        & .flex_wrap {
            & .flex_right {
                & ::before {
                    height: 75px;
                }
            }
        }
    } */
  }


  /* main.sub_p .s1_3_1 .sub_wrap {
    margin-bottom: 6rem;
  } */

  main .m2 .flex_wrap .flex_right .ms_2 .swiper-horizontal > .swiper-pagination-progressbar, main .m2 .flex_wrap .flex_right .ms_2 .swiper-pagination-progressbar.swiper-pagination-horizontal {
    width: 90%;
    left: 4%;
  }
  main .m2 .flex_wrap .flex_right .ms_2 .swiper-wrapper {
    padding-bottom: 1rem;
  }
  main .m4 .m4_intro p {
    font-size: 1.25rem;
 }
 main .m4 .m4_intro .view {
    font-size: 1.125rem;
  }
  main .desc_i3:hover .img_box img {
    transform: scale(1);
   }

   .m5 ul {
    grid-template-columns: repeat(3, 1fr);
    padding-inline: 20px;
  }

  .m5 ul li:nth-child(3n)::before {
    display: none;
  }
  .m5 ul li:nth-child(4)::before {
    display: block;
  }
  .m5 ul li:nth-child(8)::before {
    display: block;
  }
  .m5 ul li:nth-child(9)::after {
    display: block;
  }

    main .m5 .m5_intro span {
        font-size: 18px;
        line-height: 1.6;
    }
 

    main .m3 .ms_3 .swiper-horizontal > .swiper-pagination-progressbar, 
    main .m3 .ms_3 .swiper-pagination-progressbar.swiper-pagination-horizontal {
        width: 94%;
         left: 3%;
         margin-top: 3rem;
    }
 

    main .m3 {
        padding-bottom: 10%;
    }
 

    main.sub_p .s1 .txt_box h2 {
        margin-bottom: 2.5rem;
    }
 
    main.sub_p .s1 .img_box img {
        max-height: 400px;
    }
    

     main.sub_p .s1_1_2 .img_box {
        flex-direction: column;
        gap: 7rem;
    }
  

    main.sub_p .s1_1_2 .txt span {
        letter-spacing: 0;
        max-width: 80%;
        display: block;
        margin: 0 auto;
    }
 

    main.sub_p .s1_1_2 .txt p {
        letter-spacing: 0;
        max-width: 70%;
        margin: 0 auto;
        margin-block: 1rem;
    }
 

    .s1_1_2 .img_i:nth-child(2) {
     margin-bottom: 0;
    }

  .history .his_wrap .his_i p {
    height: 5rem;
  }

  main.sub_p .s1_3_1 .sub_wrap p {
    max-width: 80%;
  }
  main.sub_p .s1_33 .img_box img {
    max-width: 100%;
  }

  main.sub_p .s32_swiperbox .s32_swiper {
        width: 100%;
  }
 
  main.sub_p  .s32_swiperbox .s32_swiperThumb {
    position: initial;
    width: 96%;
  }
 

 main.sub_p .s32_swiperbox {
        flex-direction: column;
        gap: 1rem;
        padding-inline: 20px;
        padding-block: 5rem;
  }
 
 main.sub_p .s32_swiperbox .s32_swiperThumb .swiper-wrapper {
    flex-direction: row;
  }
 

main.sub_p .s4 .sub_wrap p br {
  display: none;
}
 

 main.sub_p .s4 .sub_wrap p {
    width: 80%;
 }


 main.sub_p .s4 .s4_grid .s4_item .s4_desc p {
    font-size: 18px;
  }
 

 main.sub_p  .s4  .s4_grid  .s4_item .s4_desc .category span {
      letter-spacing: 0;
  }

 main.sub_p .s4_p1 .flex_wrap .flex_right h2,
 main.sub_p .s4_p1 .flex_wrap .flex_right p,
 main.sub_p .s4_p1 .flex_wrap .flex_right .category,
 main.sub_p .s4_p1 .flex_wrap .flex_right a {
    order: 2;
 }
 main.sub_p .s4_p1 .flex_wrap .flex_right .s4_p_thumb {
    order: 1;
    margin-top: 0;
    margin-bottom: 4rem;
 }
 main.sub_p .s4_p1 .flex_wrap .flex_right  {
    padding-top: 0;
 }

 main.sub_p .s4_p1 .flex_wrap .flex_right a {
    margin-top: 1rem;
 }

 main.sub_p .s4_p1 .flex_wrap .flex_right::before {
     display: none;
  }


 main.sub_p .s4_p1 {
        padding: 0% 0 20%;
    }
  

  .c_inner .c_board_name > div p:nth-child(1) {
    width: 106%;
 }
 .c_inner .c_board_name > div p:nth-child(2) {
    width: 37%;
  }
  .c_inner .c_board_name > div p:nth-child(3) {
    width: 43%;
  }
  .c_inner .c_board_name > div p:nth-child(4) {
    width: 30%;
  }
  #bo_list .tbl_head01 td {
    padding-left: 2rem;
  }
  .bo_tit_ul2 li:nth-child(1) {
    width: 50%;
    padding-left: 10%;
 }
 
 .bo_tit_ul2 li:nth-child(2) {
    width: 21%;
  }
  .bo_tit_ul2 li:nth-child(3) {
    width: 18%;
 }
 .bo_tit_ul2 li:nth-child(4) {
    width: 14%;
 } 
 .checkbox label {
    font-size: 16px;
 }

 main .m1 .ms_1 .swiper-slide img {
    width: 100%;
    /* height: 560px; */
    height: 100vh;
    object-fit: cover;
 }

 footer .footer_inner .footer_info .footer_desc p {
    font-size: 16px;
  }

 footer .footer_inner2 .footer_address .add p {
     font-size: 16px;
  }
 

 main .m1 {
    margin-bottom: 0;
 }

 main .m3 .ms_3 .swiper-wrapper .swiper-slide {
     min-height: 528px;
  }
  

 main.sub_p {
    .s1_1_2 .img_i:nth-child(2) {
        margin-bottom: 0;
    }
 }

 .mobile-menu .depth li a {
    font-size: 20px;
 }

 main.sub_p .s1_1_2 .img_box .img_i {
      max-width: initial;
 }
 main.sub_p .s4_p1 .flex_wrap .flex_right a img {
    max-width: 90%;
  }
 
  #bo_v {
    margin-top: 2rem;
 }
 main.sub_p .s3 .oem_wrap {
    grid-template-columns: 1fr 1fr;
 }

 main .m1 .ms_1 .swiper-button-prev, 
 main .m1 .ms_1  .swiper-rtl .swiper-button-next {
    display: none;
 }

 main.sub_p .s4_p1 .go_pr_wrap {
    width: 30%;
 }
 

                    
}

/* @media screen and (max-width : 850px) {
    main.sub_p {
        & .s4_p1 {
            & .flex_wrap {
                flex-direction: column;

                & .flex_left {
                    & img {
                        height: 600px;
                        object-fit: cover;
                        width: 100%;
                    }
                }
                & .flex_right {
                    padding-inline: 20px;

                    .category {
                        min-height: 2rem;
                        width: 100%;
                    }

                    & ::before {
                        height: 155px;
                    }

                    & a {
                        max-width: fit-content;
                        padding: 1rem 2.5rem;

                        & i {
                            margin-right: 0.5rem;
                        }
                    }

                    & > p {
                        &:last-of-type {
                            margin-bottom: 25px;
                        }
                    }

                    .s4_p_thumb {
                        gap: 10px;
                    }
                }
            }
            
        }
    }
} */

@media screen and (max-width : 768px) {
  main {
    & .m1 {
      & .ms_1 {
        & .swiper-slide {
          & .ms_intro {
            & h2 {
              font-size: 2.25rem;
            }

            & p {
              font-size: 1.125rem;
            }
          }
        }
      }
    }

    & .m2 {
      & h3 {
        margin-top: 10rem;
      }

      & .flex_wrap {
        .flex_left {
          padding: 0;
        }
      }
    }

    & .banner {
      height: auto;
    }

    & .m3 {
      & .ms_3 {
        & .swiper-wrapper {
          & .swiper-slide {
            & .ms3_desc {
              & h4 {
                & + p {
                  br {
                    display: none;
                  }
                }
              }
            }
          }
        }
      }

    }

    & .m4 {
      & .txt_box {
        left: 1rem;
      }
    }

  }

  /* main end */

  .sub_banner {
    & .txt_box {
      & h2 {
        font-size: 2rem;
      }
    }
  }

  /* sub banner end  */

  /* sub page start */
  main.sub_p {
    .s1_1_2 .img_i {
      flex: 1;
    }

    .s1_1_2 .img_i:nth-child(2) img {
      margin-bottom: 0;
    }

    & .s1_3 {
      & .sub_wrap {
        & p {
          width: 80%;
          margin: 0 auto;

          br {
            display: none;
          }
        }
      }
    }

    & .s1_3_1 {
      & .sub_wrap {
        & p {
          width: 80%;
          margin: 0 auto;

          br {
            display: none;
          }
        }
      }
    }

    .s3 .oem_wrap .oem_i {
      margin: 0 auto;
    }

    & .s4_p1 {
      & .flex_wrap {
        & .flex_right {
          h2 {
            font-size: 26px;
            margin-bottom: 0;
          }

          > p {

            font-size: 18px;
            margin-top: 0.5rem;

            &:last-of-type {
              margin-top: 0.5rem;
            }
          }
        }
      }

      /* & .go_pr_wrap {
        & .go_pr {
          font-size: 18px;
        }
      } */
    }
  }

  /* sub page end */
}

@media screen and (max-width: 500px) {

  main .m1 .ms_1 {
    height: 500px;
    animation: none;
    position: relative;
  }
}

@media screen and (max-width : 450px) {
  main {
    & .m1 {
      /* height: 100%; */

      & .ms_1 {

        /* margin-top: -60px; */
        animation: none;
        position: relative;
        height: 100vh;

        & .swiper-slide {
          & .ms_intro {
            left: 5%;

            & h2 {
              font-size: 1.375rem;
            }
          }
        }
      }
    }

    & .m2 {
      margin-bottom: 6rem;

      & .wrap {
        padding: 0 20px;
      }

      & h3 {
        margin-top: 4rem;
        font-size: 1.125rem;
        letter-spacing: 0;
        max-width: 90%;
        margin-bottom: 0.7rem;

        br {
          display: none;
        }
      }

      & span {
        width: 90%;
        word-break: keep-all;
        font-size: 0.85rem;
      }

      & .flex_wrap {
        & .flex_left {
          & .view {
            margin-bottom: 1rem;
            margin-top: 2rem;
            font-size: 0.875rem;
            letter-spacing: 0;

            & img {
                max-width: 35px;
            }
          }
        }

        & .flex_right {
          & .ms_2 {
            .swiper-slide {
              & img {
                max-width: 100%;
                margin: 0 auto;
              }
            }
          }
        }
      }
    }

    .banner {
      padding-block: 5rem 8rem;
      padding-inline: 20px;
    }

    .banner .txt_box h2 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
        letter-spacing: -0.4px;
    }

    .banner .txt_box span {
      font-size: 14px;
      display: block;
      text-align: center;
      padding-inline: 1.5rem;
    }

    .banner .txt_box span br {
      display: none;
    }

    .banner .desc {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .banner .desc .desc_i {
      width: 70%;
    }

    .banner .desc .desc_i .desc_t h3 {
        font-size: 18px;
        margin-top: 1rem;
        margin-bottom: 1.25rem;
    }

    .banner .desc .desc_i .desc_t p {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 0;
    }

    /* banner end */

    & .m3 {
      &.ms_3 {

        .swiper-horizontal > .swiper-pagination-progressbar,
        .swiper-pagination-progressbar.swiper-pagination-horizontal {
          margin: 7% 0;
        }
      }

      & .m3_intro {
        padding: 20% 0 0;

        & h3 {
          font-size: 1.5rem;
        }
      }

      & .ms_3 {
        padding-bottom: 20%;

        & .swiper-wrapper {
          & .swiper-slide {
            & .ms3_desc {
              & h4 {
                font-size: 18px;

                br {
                  display: none;
                }
              }
            }
          }
        }
      }
    }

    & .m4 {
      padding-block: 20%;

      & .m4_intro {
        h3 {
          font-size: 18px;
          letter-spacing: 0;
        }

        p {
          font-size: 14px;
          max-width: 88%;
          line-height: 1.5;
          margin-top: 0.7rem;

          br {
            display: none;
          }
        }
      }

      & .desc {
        flex-direction: column;

        &.desc_i {
          flex: none;
        }

        & .desc_i3 {
          width: auto;

          &:hover {
            & .img_box img {
              transform: scale(1);
              transform-origin: bottom;
            }
          }
        }
      }
    }

    & .m5 {
      padding-bottom: 20%;

      & .m5_intro {
        padding: 20% 0 3rem;

        & h3 {
          font-size: 1.25rem;
        }

        & span {
          font-size: 14px;
          max-width: 83%;
          margin: 0 auto;
          margin-top: 2rem;

          &::before {
            content: none;
          }

          br {
            display: none;
          }
        }


      }

      > img {
        width: 100%;
      }
    }

  }

  main .m1 .ms_1 .swiper-button-next,
  main .m1 .ms_1 .swiper-button-prev {
        display: none;
  }
  header .header_wrap .logo img  {
    height: 1.8rem;
  }
  main .m1 .ms_1 .swiper-slide .ms_intro {
    top: 58%;
  }


  .sub_banner {
    & .txt_box {
      & h2 {
        font-size: 1.25rem;
        padding-block: 5rem 2rem;
        letter-spacing: 0;
        max-width: 85%;
        line-height: 1.7;
      }
    }
  }

  .sub_banner .txt_box ul a {
    font-size: 14px;
  }

  main.sub_p {
    & .sub_nav {
      & ul {
        & li {
          & a {
            font-size: 16px;
            display: flex;
                        align-items: center;
                        justify-content: center;
          }
        }
      }
    }

    .s1 .txt_box h2 {
        max-width: 85%;
        font-size: 1.125rem;
        letter-spacing: 0;
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
    }

    .s1 .txt_box h2 br {
      display: none;
    }

    .s1 .txt_box p {
        line-height: 1.5;
        font-size: 0.875rem;
        margin-top: 0;
        margin-bottom: 0.7rem;
    }

    .s1_1_2 {
      padding-block: 5rem 10rem;
      margin-bottom: 0;

    }

    .s1_1_2 .txt p {
      max-width: 65%;
      margin: 0 auto;
      padding-bottom: 1rem;
    }

    .s1_1_2 .img_box {
      flex-direction: column;
      gap: 5rem;
    }

    .s1_1_2 .img_i {
      flex: none;
    }

    .s1_1_2 .img_i img {
      width: 200px;
    }

    .s1_1_2 .img_i:nth-child(1) img,
    .s1_1_2 .img_i:nth-child(3) img {
      transform: rotate(180deg);
    }

    .s1_1_2 .img_i:nth-child(2) img {
      height: auto;
    }

    .s1_1_2 .img_i:nth-child(2) .txt {
      margin-top: 0;
    }

    .sub1_1_2 .txt p {
      max-width: 70%;
      margin: 0 auto;
      padding-block: 0.5rem 1rem;
    }

    .s1_1_2 .txt span {
      display: block;
      max-width: 69%;
      margin: 0 auto;
    }

    .history {
      padding-bottom: 20%;
    }

    .s1_2 {
      & .grid_wrap {
        grid-template-columns: 1fr 1fr;
      }
    }

    .s1_3 {
      padding-block: 2rem 4rem;
    }

    .s1_3 .sub_wrap h2 {
        font-size: 1rem;
        padding-inline: 20px;
        max-width: 90%;
        line-height: 1.5;
        letter-spacing: 0;
    }

    .s1_3 .sub_wrap p {
      font-size: 14px;
    }

    .history .his_wrap {
      row-gap: 1.5rem;
    }

    .s1_33 .img_box {
      margin-top: 0;
    }

    .s1_33 .img_box img {
      width: 100%;
    }

    & .s1_3_1 {
      padding-block: 2rem 4rem !important;

      .sub_wrap {
        margin-top: 0;
      }
    }

    .s32_swiperbox {
      padding-inline: 20px;
    }

    .s32_swiperbox .s32_swiperThumb {
      right: -4rem;
    }

    .s32_swiperbox .s32_swiperThumb .swiper-wrapper {
      gap: 7px;
    }

    .sub_nav {
      & ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: center;
      }
    }

    .s3 {
      padding-bottom: 10rem;
      padding-top: 0;
    }

    .s3 .oem_wrap {
        grid-template-columns: 1fr 1fr;
      gap: 2rem 1rem;
    }

    .s4_p1 {
      & .flex_wrap {
        & .flex_right {
          & > p {
            &:last-of-type {
              font-size: 16px;
              text-wrap: wrap;
              margin-top: 0.7rem;
            }

          }

          & a {
            font-size: 0.875rem;
            padding: 0.8rem 1rem;

            & i {
              width: 25px;
              margin-right: 0;
              margin-left: 0;
            }

            :last-child img {
                max-width: 15px;
            }

          }

          h2 {
            font-size: 1.25rem;
          }

          & .category {
            margin: 0 0 10px;
            
            & span {
                font-size: 0.875rem;
            }
          }
          & ::before {
            display: none;
          }
          
         }
        }
      }


      .go_pr_wrap {
        width: 90%;

        & .go_pr {
          & i {
            width: 18px;
          }
        }
      }
    }

    & .s5_tab {
      summary {
        padding: 1rem;
      }
    }
  

  .sub5 .sub_banner .txt_box h2 {
    font-size: 1.25rem;
  }



  /* sub end */

  /* footer start  */
  footer {
    & .footer_inner {
      padding: 3rem 0px 2rem;
      margin: 0 20px;

      & .footer_info {
        & .footer_desc {
          gap: 2rem;

          span {
            display: block;
          }

          h5 {
            margin: 1rem 0;
          }

          p {
            line-height: 1.75;
          }
        }

        & .footer_nav {
          display: grid;
          row-gap: 2rem;
          grid-template-columns: 1fr 1fr;
          width: 85%;
        }
      }
    }

    & .footer_inner2 {
      & .footer_address {
        .add p:nth-child(2) {
          width: 75%;
          line-height: 1.5;
        }
      }
    }
  }

  /* footer end  */


  main.sub1 .sub_nav ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
  main.sub4 .sub_nav ul {
    grid-template-columns: 1fr 1fr;
  }
  main.detail .sub_nav ul {
    grid-template-columns: 1fr 1fr;
  }
  main.sub_p .s4_p1 .go_pr_wrap {
    width: 45%;
    /* justify-content: flex-start; */
  }
  main.sub_p .s4_p1 .go_pr_wrap .go_pr {
    font-size: 16px;
  }

  main.sub_p .s4_p1 .flex_wrap .flex_left img {
    height: 300px;
  }
  main.sub_p .s4_p1 .flex_wrap .flex_right {
    padding-top: 0;
  }
  main.sub_p .s4_p1 .flex_wrap .flex_right .category,
  main.sub_p .s4_p1 .flex_wrap .flex_right h2, 
  main.sub_p .s4_p1 .flex_wrap .flex_right p,
  main.sub_p .s4_p1 .flex_wrap .flex_right a {
    order: 2;
  }
  main.sub_p .s4_p1 .flex_wrap .flex_right .s4_p_thumb {
    order: 1;
    margin-top: 0;
    margin-bottom: 3.5rem;
  }
  .mobile-menu > li > h2 {
    font-size: 20px;
  }  
  .mobile-menu .depth li a {
    font-size: 14px;
  }
  .mobile-menu > li.buy h2 {
    font-size: 18px;
  }
  main.sub5 .sub_nav ul {
    grid-template-columns: 1fr 1fr 1fr;
  }

  main.sub_p .sub_nav ul li {
    height: 100%;
  }
  main.sub5_1 .sub_nav ul li,
  main.sub_5_3 .sub_nav ul li {
    height: 100%;
  }

  /* main.sub5_1 .sub_nav ul li:first-child a,
  main.sub5_1 .sub_nav ul li:nth-last-child(2) a,
  main.sub_5_3 .sub_nav ul li:first-child a,
  main.sub_5_3 .sub_nav ul li:nth-last-child(2) a,
  main.sub_5 .sub_nav ul li:first-child a,
  main.sub_5 .sub_nav ul li:nth-last-child(2) a,
  main.notice_g5 .sub_nav ul li:first-child a,
  main.notice_g5 .sub_nav ul li:nth-last-child(2) a{
    line-height: 40px;
  }
   */

  .title_info {
    display: block;
  }
  main .m2 .flex_wrap .flex_right .ms_2 .swiper-slide  img{
    filter: none;
  }


  main .m2 .flex_wrap .flex_right .ms_2 .swiper-horizontal > .swiper-pagination-progressbar, main .m2 .flex_wrap .flex_right .ms_2 .swiper-pagination-progressbar.swiper-pagination-horizontal {
    width: 89%;
    left: 6%;
    margin-top: 1rem;
  }

  main .banner .desc .desc_i .desc_t {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0;
  }
  

 main .m3 .m3_intro span {
    font-size: 16px;
    margin-bottom: 0;
    letter-spacing: 0;
  }
  

 main .m3 .m3_intro h3 {
    font-size: 20px;
    letter-spacing: 0;
    margin-top: 0.7rem;
  }
   
 main .m3 .ms_3 .swiper-wrapper .swiper-slide .ms3_desc .category span {
      font-size: 14px;
   }
 

 main .m3 .ms_3 .swiper-wrapper .swiper-slide .ms3_desc h4 p {
    font-size: 14px;
    min-height: 3rem;
    margin-top: 1rem;
  }
  

 main .m3 .ms_3 .swiper-wrapper .swiper-slide .ms3_desc .category  span {
      font-size: 14px;
      letter-spacing: 0;
  }
 

 main {
    & .m3 {
        & .ms_3 {
            .swiper-horizontal > .swiper-pagination-progressbar, .swiper-pagination-progressbar.swiper-pagination-horizontal {
                width: 90%;
                left: 5%;
                margin-top: 2rem;
            }
        }
    }
 }

 main .m4 .m4_intro .view {
    font-size: 0.875rem;
 }

 main .m4 .m4_intro .view img {
    max-width: 35px;
 }
 main .m4 .plus {
     display: none;
  }
 

 main .m4 .txt_box span {
    letter-spacing: 0;
    opacity: 1;
    visibility: visible;
    display: block;
    font-size: 14px;
    max-width: 90%;
    margin-top: 0.5rem;
  }
  
 .m5 ul {
    grid-template-columns: repeat(2, 1fr);
 }
 .m5 ul li:nth-child(2n)::before {
    display: none;
 }
 .m5 ul li:nth-child(3)::before,
 .m5 ul li:nth-child(9)::before {
    display: block;
 }
 .m5 ul li:nth-child(9)::after,
 .m5 ul li:nth-child(10)::after {
    display: none;
 }
 .m5 ul li::before {
    bottom: 2.5rem;
    right: -2rem;
    width: 29%;
 }

 main.sub_p .s1 .img_box img {
      max-height: 200px;
  }
   

 main.sub_p .s1_1_2 .tit h2 {
        font-size: 1.25rem;
  }
  main.sub_p .s1_1_2 .txt h4 {
    font-size: 1.25rem;
 }
 main.sub_p .s1_1_2 .txt p {
    font-size: 1rem;
    padding-bottom: 0.5rem;
    margin-top: 0.2rem;
    max-width: 80%;
 }
 main.sub_p .s1_1_2 .txt span {
    font-size: 0.875rem;
 }
 main.sub_p .s1_1_2 .img_i:nth-child(2) {
        margin-bottom: 0;
 }

 main.sub_p .s1_3 .sub_wrap span {
     margin-block: 1.5rem;
  }
 
 main.sub_p .history .his_wrap .his_i h5 {
     font-size: 1rem;
      padding-top: 0;
  }
 
 main.sub_p .history .his_wrap .his_i p {
    max-width: 80%;
    font-size: 0.875rem;
 }

 main.sub_p .s1_3_1 .sub_wrap  h2 {
    font-size: 1.125rem;
  }


 main.sub_p .s1_3_1 .sub_wrap span {
    margin-block: 1.5rem;
  }
   

 main.sub_p .s1_3_1 .sub_wrap  p {
    font-size: 0.875rem;
 }
   

 main.sub_p .mec {
      grid-template-columns: 1fr 1fr;
      column-gap: 0;
      row-gap: 1rem;
      padding-top: 0;
  }

 main.sub_p .mec .mec_i img {
    max-width: 70%;
 }

 main.sub_p .s4 .sub_wrap h2 {
      font-size: 1.25rem;
      letter-spacing: 0;
   }
   
 main.sub_p .s4 .sub_wrap span {
      margin-block: 1.5rem;
  }
 
 main.sub_p .s4 .sub_wrap {
    padding-top: 15%;
 }
 main.sub_p .s4  .sub_wrap p {
    font-size: 0.875rem;
 }
 

 main.sub_p .s4 .s4_grid .s4_item .category span {
    font-size: 0.875rem;
 }
 main.sub_p .s4 .s4_grid .s4_item .s4_desc h4  {
    margin-bottom: 0.7rem;
 }
 main.sub_p .s4 .s4_grid .s4_item .s4_desc p  {
    font-size: 0.875rem;
    margin-bottom: 0;
 }

 main.sub_p .s4_p1 .flex_wrap .flex_right h2 {
    font-size: 1.125rem;
    margin-bottom: 0;
 }

 .bo_tit_ul2 li:nth-child(1) {
    width: 64%;
    padding-left: 13%;
 }
 #bo_list .tbl_head01 a {
    font-size: 14px;
 }

 .c_inner .c_board_name p {
    font-size: 14px;
 }

 .bo_names span {
    font-size: 14px;
 }
 main.sub_p .s5_tab summary {
    font-size: 1rem;
 }

 main.sub_p .s5_tab details p {
      font-size: 0.875rem !important;
      margin-top: 0;
  }
 

 
 .file_p  {
    margin-top: 0;
 }

 .checkbox label {
    font-size: 14px;
}

main.sub_p {
    .history .his_wrap {
        margin-top: 0;
    }
 }

 main .m1 .ms_1 .swiper-slide .ms_intro p {
      max-width: 90%;
  }

  main .m2 .flex_wrap .flex_right {
    width: 100%;
  }

  main .m4 .desc .desc_i {
    width: 100%;
  }
  main .m4 .desc .desc_i .img_box img {
    width: 100%;
  }

  main .m3 .ms_3 .swiper-wrapper .swiper-slide .ms3_desc h4 + p {
    font-size: 0.875rem;
  }
            
 
  
        

 
    

    
}


@media screen and (max-width : 361px) {

  header .header_wrap .logo img {
    width: 100px;
  }

  main .banner .desc .desc_i .desc_t {
    padding-top: 1rem;
  }

  main .m4 .m4_intro h3 {
    font-size: 22px;
  }

  main .m5 .m5_intro h3 {
    font-size: 1.65rem;
  }

  footer .gotop {
    top: -3rem;
  }

  footer .gotop a {
    width: 2.75rem;
    height: 2.75rem;
  }

  .sub_banner .txt_box h2 {
    font-size: 1.35rem;
    padding-right: 1.5rem;
  }

  .sub_banner .txt_box ul a {
    font-size: 12px;
  }

  main.sub_p .s1 .txt_box h2 {
    max-width: 97%;
  }

  main.sub_p .s1_1_2 {
    gap: 3rem;
  }

  main.sub_p .s1_1_2 .img_i img {
    width: 160px;
  }

  main.sub_p .s1_1_2 .img_i:nth-child(2) {
    margin-bottom: 0;
  }

  main.sub_p .s1_1_2 .txt p {
    max-width: 80%;
  }

  main.sub_p .s1_1_2 .img_box {
    gap: 3rem;
  }

  main.sub_p .s1_1_2 .txt h4 {
    padding-top: 1.25rem;
  }

  main.sub_p .s4 .s4_grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  main.sub_p .s4 .s4_grid .s4_item .category {
    width: 100%;
  }
}

@media screen and (max-width : 361px) {
    main .m1 .ms_1 .swiper-slide .ms_intro p {
        max-width: 80%;
    }
    .sub_banner .txt_box h2 br {
        display: none;
    }
    .sub3 .sub_banner .txt_box h2 br {
        display: block;
    }
}