.inner {
  max-width: 1280px;
  margin: 0 auto;
}
.com__subject1 {
  font-weight: 600;
  font-size: 18px;
  line-height: 28.8px;
  letter-spacing: -0.45px;
  color: rgba(39, 118, 187, 1);
}
.main__top {
  margin-top: 250px;
}
.main__top__title {
  max-width: 1280px;
  margin: 0 auto;
}
.main__top__title h2 {
  font-weight: 600;
  font-size: 110px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.main__top__title p {
  margin-top: 35px;
  color: rgba(29, 29, 31, 1);
  font-weight: 500;
  font-size: 29px;
  line-height: 1.5;
  letter-spacing: 0%;
}
.main__top__title p span {
  font-weight: 500;
  font-size: 29px;
  line-height: 1.5;
  color: rgba(39, 118, 187, 1);
}
.main__top__ul {
  max-width: 1580px;
  margin: 0 auto;
  margin-top: 110px;
  gap: 30px;
  display: flex;
  opacity: 0;
  transform: translate(0px, 100px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.main__top__ul.active {
  opacity: 1;
  transform: translate(0px, 0px);
}

.main__top__ul li {
  position: relative;
  font-size: 0;
}
.main__top__ul li:nth-child(2) {
  margin-top: 50px;
  display: inline-flex;
  gap: 30px;
  flex-direction: column;
}
.main__top__ul li:nth-child(3) {
  margin-top: 100px;
}
.main__top__ul li:nth-child(5) {
  margin-top: 125px;
}
.main__company {
  position: relative;
  padding-top: 280px;
}
.main__company__bg1 {
  position: absolute;
  left: 0;
  top: -100px;
}
.main__company__title {
  display: flex;
  gap: 95px;
  margin: 0 auto;
  justify-content: center;
  align-items: flex-end;
}
.main__company__title h3,
.main__portfolio__title h3 {
  margin-top: 25px;
  font-weight: 400;
  font-size: 50px;
  line-height: 70px;
  letter-spacing: -1.25px;
  color: rgba(29, 29, 31, 1);
}
.main__company__title h3 b,
.main__portfolio__title h3 b {
  font-weight: 600;
  font-size: 50px;
  line-height: 70px;
  letter-spacing: -1.25px;
  color: rgba(29, 29, 31, 1);
}
.main__company__title p {
  max-width: 535px;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -1px;
  color: rgba(51, 51, 51, 1);
}
.main__company__img {
  margin-top: 100px;
  text-align: right;
  width: calc(100% - 150px);
  margin-left: 150px;
  height: 480px;
  overflow: hidden;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  position: relative;
}
/* .main__company__img::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: width 1s ease;
}

.main__company__img.act::before {
  width: 0;
} */

.main__company__img img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main__product {
  margin: 0 auto;
  margin-top: 230px;
  position: relative;
  overflow: hidden;
}
.main__product .inner {
  max-width: 1280px;
  margin: 0 auto;
}
.main__product__title {
  width: 50%;
}
.main__product__title ul {
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.main__product__title ul li {
  cursor: pointer;
  padding: 30px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  transition: padding 0.5s ease, border 0.5s ease;
}
.main__product__title ul li.active {
  border-top: 1px solid rgba(0, 0, 0, 1);
  padding: 44px 0;
}
.main__product__title ul li .content {
  width: calc(100% - 86px);
}
.main__product__title ul li .content span {
  color: rgba(29, 29, 31, 0.3);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.4;
  letter-spacing: -1.25px;
  transition: color 0.5s ease, font-weight 0.5s ease;
}
.main__product__title ul li.active .content span {
  color: rgba(29, 29, 31, 1);
  font-weight: 700;
}
.main__product__title ul li .content p {
  margin-top: 20px;
  opacity: 0;
  height: 100%;
  max-height: 0;
  transition: max-height 0.5s ease;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: rgba(51, 51, 51, 1);
}
.main__product__title ul li.active .content p {
  opacity: 1;
  max-height: 500px;
}
.main__product__title ul li .arr {
  background: url(../images/main/arr1.png) no-repeat;
  background-position: center center;
  width: 86px;
  height: 26px;
  box-sizing: border-box;
  padding: 0 30px;
  transition: background 0.5s ease;
}
.main__product__title ul li.active .arr {
  background: url(../images/main/arr2.png) no-repeat;
  background-position: center center;
}
.main__product__flex {
  margin-top: 35px;
  display: flex;
  width: 1280px;
  max-width: 1280px;
  position: relative;
}
.main__product__img {
  position: absolute;
  left: 50%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.main__product__img ul {

}

.main__product__img li.active {
  opacity: 1;
  z-index: 1;
}

.main__product__img li {
  opacity: 0;
  transition: opacity 1s ease;
  z-index: -1;  
  width: 100%;
  height: 100%;
  position: absolute;
}

.main__product__img li a {
  display: block;
  width: 100%;
  height: 100%;
}

.main__product__img li img {
  width: 50vw;
  height: 100%;
  object-fit: cover;
  position: absolute;
  transition: transform 0.5s ease;
  transform: scale(1);
}

.main__product__img li:hover img {
  transform: scale(1.05);
}

.main__portfolio {
  margin-top: 230px;
}
.main__portfolio .inner {
  max-width: 1280px;
  margin: 0 auto;
}
.main__portfolio__title {}
.main__portfolio ul {
  display: flex;
  gap: 80px;
  margin-top: 100px;
}
.main__portfolio ul li {
  width: calc(50% - 40px);
}
.main__portfolio ul li .imgbox {
  overflow: hidden;
  border-radius: 15px;
}
.main__portfolio ul li .imgbox img {
  width: 100%;
}
.main__portfolio ul li .textbox h4 {
  margin-top: 30px;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.4;
  letter-spacing: 0%;
  color: rgba(29, 29, 31, 1);
}
.main__portfolio ul li .textbox p {
  margin-top: 20px;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.5px;
  color: rgba(51, 51, 51, 1);
}
.main__bg1 {
  margin-top: 230px;
  background: url(../images/main/bg2.png) no-repeat;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
}
.main__bg1__title p {
  font-weight: 300;
  font-size: 60px;
  line-height: 1.4;
  letter-spacing: -1.5px;
  text-align: center;
  color: #fff;
}
.main__bg1__title p b {
  font-weight: bold;
}
@media screen and (max-width: 1680px) {
  .main__top__ul {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 110px;
    gap: 30px;
    display: flex;
    justify-content: center;
    padding: 0 80px;
  }
  .main__top__ul li img {
    width: 100%;
  }
  .main__company__img {
    width: calc(100% - 80px);
    margin-left: 80px;
  }
}
@media screen and (max-width: 1400px) {
  .inner,
  .main__top__title,
  .main__company__title,
  .main__top__ul {
    padding: 0 40px;
    box-sizing: border-box;
  }
  .main__top__title h2 {
    font-size: max(7.5vw, 33px);
    line-height: 1.3;
  }
  .main__top__title {
    /* text-align: center; */
  }
  .main__top__title p,
  .main__top__title p span {
    font-size: max(2vw, 15px);
    margin-top: 15px;
  }
  .main__company__img {
    width: calc(100% - 40px);
    margin-left: 40px;
  }
  .main__company__bg1 img {
    width: 35vw;
  }
  .main__company__title {
    display: flex;
    gap: 55px;
    margin: 0 auto;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
  }
  .main__company__title div:last-child {
    width: 100%;
    text-align: right;
  }
  .main__company__title p {
    max-width: 535px;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -1px;
    color: rgba(51, 51, 51, 1);
    display: inline-block;
  }
  .main__company {
    padding-top: 220px;
  }
  .main__product__flex {
    width: 100%;
  }
  .main__product {
    margin: 0 auto;
    margin-top: 150px;
  }
}
@media screen and (max-width: 1280px) {
  .main__company__title h3,
  .main__portfolio__title h3,
  .main__company__title h3 b,
  .main__portfolio__title h3 b {
    font-size: max(4vw, 25px);
    line-height: 1.4;
  }
  .main__company__title p {
    font-size: max(1.6vw, 15px);
    line-height: 1.7;
  }
  .main__product__title ul li .content span {
    font-size: 30px;
  }
  .main__product__title ul li .content p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
  }
  .main__portfolio ul li .textbox h4 {
    margin-top: 3vw;
    font-size: max(3vw, 20px);
  }
  .main__portfolio ul li .textbox p {
    margin-top: 3vw;
    font-size: max(2.2vw, 14px);
  }
  .main__bg1__title p {
    font-size: max(4vw, 28px);
  }
}
@media screen and (max-width: 1024px) {
  .inner, .main__top__title, .main__company__title, .main__top__ul {
    padding: 0 20px;
    box-sizing: border-box;
  }
  .main__company__img {
    width: calc(100% - 20px);
    margin-left: 20px;
    margin-top: 50px;
    height: 350px;
  }
  .main__top {
    margin-top: max(19vw, 100px);
  }
  .main__top__ul {
    gap: 15px;
    margin-top: 50px;
  }
  .main__top__ul li:nth-child(2) {
    gap: 15px;
  }
  .main__company {
    padding-top: 150px;
  }
  .main__portfolio {
    margin-top: 150px;
  }
  .main__portfolio ul {
    margin-top: 50px;
    gap: 40px;
  }
  .main__portfolio ul li {
    width: calc(50% - 20px);
  }
}
@media screen and (max-width: 780px) {
  .main__product__flex {
    margin-top: 10px;
    width: 100%;
    font-size: 0;
    position: relative;
    flex-direction: column-reverse;
  }
  .main__product__title {
    width: 100%;
  }
  .main__product__img {
    position: relative;
    left: 0;
    width: 100%;
    display: block;
    height: 300px;
  }
  .main__product__img ul,
  .main__product__img ul li {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .main__product__img ul li {
      position: absolute;
  }

  .main__product__img li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
  }
  .main__product__title ul {
    margin-top: 50px;
  }
  .main__product__title ul li,
  .main__product__title ul li.active {
    padding: 20px 0;
  }
  .main__product__title ul li .content span {
    font-size: 25px;
  }
  .main__product__title ul li .content p {
    margin-top: 10px;
    font-size: 13px;
  }
  .main__product__title ul li .arr {
    background-size: 18px;
  }
  .main__product__title ul li.active .arr {
    background-size: 13px;
  }
  .main__portfolio {
    margin-top: 70px;
  }
}
@media screen and (max-width: 640px) {
  .com__subject1 {
    font-size: 13px;
  }
  .main__company__title h3,
  .main__portfolio__title h3 {
    margin-top: 5px;
  }
  .main__top__ul {
    gap: 15px;
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .main__top__ul li {
    width: calc(50% - 7.5px);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 0 !important;
  }
  .main__top__ul li:last-child {
    width: 100%;
    height: 210px;
  }
  .main__top__ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
  }
  .main__company__title {
    gap: 20px;
  }
  .main__company__title p {
    text-align: left;
  }
  .main__company__title p br {
    display: none;
  }
  .main__company__bg1 {
    display: none;
  }
  .main__company {
    padding-top: 100px;
  }
  .main__company__img {
    margin-top: 40px;
    height: 250px;
  }
  .main__product {
    margin-top: 80px;
  }
  .main__product__title ul li,
  .main__product__title ul li.active {
    padding: 15px 0;
  }
  .main__product__title ul {
    margin-top: 20px;
  }
  .main__product__img {
    height: 200px;
  }
  .main__product__title ul li .content {
    width: calc(100% - 50px);
  }
  .main__product__title ul li .arr {
    padding: 0 15px;
    width: 50px;
  }
  .main__portfolio ul {
    margin-top: 30px;
    gap: 30px;
    flex-direction: column;
  }
  .main__portfolio ul li {
    width: 100%;
  }
  .main__product__title ul li .content span {
    font-size: 20px;
  }
  .main__bg1 {
    margin-top: 80px;
  }
}