/* popup */
.pc {
  display: block;
}

.mobile {
  display: none !important;
}

.layer-popup {
  position: absolute;
  z-index: 9999;
  background-color: #fff;
  box-shadow: 2px 3px 10px #555;
  border-radius: 10px;
  height: auto !important;
}

.layer-popup:nth-child(1) {
  left: 0;
}

.layer-popup img {
  width: 100%;
  height: auto !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  pointer-events: initial !important;
  cursor: pointer;
}

.layer-popup .show-chk-wrap {
  display: flex;
  padding: 6px 10px;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
}

.layer-popup .show-chk-wrap a {
  font-size: 16px;
  color: #505050;
}

.layer-popup .show-chk-wrap a:hover {
  color: #222;
  font-weight: 600;
  transition: 0.3s;
}

.close-index-popup {
  box-sizing: border-box;
  padding: 4px 12px;
  border: 1px solid #999;
  border-radius: 4px;
  cursor: pointer;
}

.close-index-popup:hover {
  border: 1px solid #505050;
  background-color:#505050;
  color: #fff !important;
  transition: 0.3s;
}

/* main */
#main {
  width: 100%;
  height: 100vh;
  position: relative;
}

.banner-swiper-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.banner-swiper-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-swiper-container .text-wrap {
  box-sizing: border-box;
  padding: 0 20px;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.banner-swiper-container .main-text {
  font-size: 52px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -1.3px;
  word-break: keep-all;
}

.banner-swiper-container .sub-text {
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.4px;
  /* color: #656563; */
  word-break: keep-all;
}

.main-container {
  position: absolute;
  width: 100%;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  z-index: 10;
}

.main-txt {
  color: #000;
  box-sizing: border-box;
}

.banner-nav-wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.banner-swiper-pagination {
  text-align: center;
  font-size: 16px;
  line-height: 24px; /* 150% */
  letter-spacing: -0.4px;
  color: rgba(0, 0, 0, 0.70);
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner-swiper-pagination .current {
  color: #000 !important;
  font-weight: 600 !important;
}

.mo-banner {
  display: none;
}

.swiper-slide-active .fade-up {
  animation: fade-up 1.5s ease-in-out;
}

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* page2 */
#page2 {
  width: 100%;
  height: 800px;
  background: #FFF;
  position: relative;
  box-sizing: border-box;
  display: flex;
  padding-left: 60px;
  padding-top: 120px;
}

.pg2-container {
  width: 100%;
  display: flex;
  z-index: 3;
  gap: 66px;
}

.pg2-wrap {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.pg2-top-div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.main-title {
  color: #1B1C80;
  font-family: "Montserrat";
  font-size: 64px;
  font-weight: 600;
  line-height: 130%; /* 83.2px */
  letter-spacing: -1.6px;
}

.main-logo {
  width: 380px;
}

.more-div {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.more-div>p {
  word-break: keep-all;
}

.main-video {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 40%;
  border-radius: 8px;
  box-shadow: 6px 8px 24px 0px rgba(0, 0, 0, 0.12);
  width: 800px;
  /* height: 450px; */
  flex-shrink: 0;
  z-index: 3;
  aspect-ratio: 1.9 / 1;
  overflow: hidden;
  cursor: pointer;
}

.pg2-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background: url(../img/main/pg2-bg.png);
  background-position: center center !important;
  background-size: cover !important;
}


/* page3 */
#page3 {
  background: #FFF;
  padding: 100px 40px 100px 60px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  overflow: hidden;
}

.pg3-top-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

#page3 .pg3-top-wrap {
  padding-right: 20px;
}

.pg3-top-inner .p18 {
  word-break: keep-all;
}

.pg3-top-div {
  display: flex;
  align-items: center;
  gap: 40px;
}

.pg3-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.magazine-swiper-container {
  position: relative;
  width: 100%;
}

.magazine-swiper-container .swiper-slide {
  width: auto;
}

.magazine-container {
  width: fit-content;
  display: flex;
  border-radius: 8px;
  border: 1px solid transparent;
  box-shadow: 6px 12px 32px 0px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.magazine-container:hover {
  border: 1px solid #06038D;
  transition: 0.2s;
}

.magazine-container>img {
  width: 450px;
  height: 450px;
  object-fit: cover;
}

.magazine-content-box {
  width: 540px;
  box-sizing: border-box;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-height: 450px;
}

.magazine-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.magazine-title {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.magazine-div {
  display: flex;
  align-items: center;
}

.magazine-div>p {
  color: #999;
}

.magazine-div>p:first-child {
  padding-right: 12px;
  border-right: 1px solid rgba(0, 0, 0, 0.20);
  height: 16px;
  display: flex;
  align-items: center;
}

.magazine-div>p:last-child {
  padding-left: 12px;
}

.magazine-content {
  font-family: 'Pretendard' !important;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  font-size: 16px !important;
  font-weight: 300;
  line-height: 150% !important; /* 24px */
  letter-spacing: -0.4px !important;
}

.magazine-content div, .magazine-content p, .magazine-content span, .magazine-content b {
  font-family: 'Pretendard' !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 150% !important; /* 24px */
  letter-spacing: -0.4px !important;
  background: #FFF !important;
  color: #505050 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.magazine-swiper-pagination {
  margin-top: 20px;
}

.magazine-swiper-pagination .swiper-pagination-bullet {
  height: 2px;
  background: rgba(27, 28, 128, 0.10) !important;
  opacity: 1 !important;
  border-radius: 0;
  margin: 0 !important;
}

.magazine-swiper-pagination .swiper-pagination-bullet-active {
  background: #1B1C80 !important;
}

/* page4 */
#page4 {
  background: #171855;
  display: flex;
  padding: 100px 40px 250px;
  flex-direction: column;
  gap: 150px;
  position: relative;
}

.pg4-title-div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  z-index: 3;
}

.pg4-title-div>p {
  color: #FFF;
  text-align: center;
  font-family: Montserrat;
  font-size: 64px;
  font-weight: 600;
  line-height: 130%; /* 83.2px */
  letter-spacing: -1.6px;
}

.pg4-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.pg4-container:nth-child(2) {
  margin: 0 !important;
}

.portfolio-box {
  width: 600px;
  height: 700px;
  background-position: center center !important;
  background-size: cover !important;
  border-radius: 8px;
  box-shadow: 6px 12px 32px 0px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
}

.pg4-container:nth-child(2n-1) .portfolio-box:last-child {
  transform: translateY(25%);
}

.pg4-container:nth-child(2n) .portfolio-box:last-child {
  transform: translateY(25%);
}

.portfolio-title {
  font-size: 28px;
  line-height: 130%; /* 36.4px */
  letter-spacing: -0.7px;
  word-break: keep-all;
  position: absolute;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 40px 20px;
}

/* page5 */
#page5 {
  background: #FFF;
  display: flex;
  padding: 50px 0 50px 60px;
  gap: 80px;
  align-items: center;
  justify-content: space-between;
}

.pg5-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
}

.pg-tit {
  color: #1B1C80;
  font-size: 40px;
  font-weight: 600;
  line-height: 130%; /* 52px */
  letter-spacing: -1px;
}

.table-wrapper {
  max-height: 300px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #FFF;
}

thead th:first-child {
  width: calc(100% - 290px)
}

.table-wrapper tbody {
  display: block;
  animation: scroll-up 20s linear infinite;
  overflow: hidden;
}

.table-wrapper tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

@keyframes scroll-up {
  0% {
      transform: translateY(0);
  }
  100% {
      transform: translateY(-50%);
  }
}

table tr:hover  {
  background: #EEE;
}

table tr:first-child {
  border-bottom: 1px solid #1B1C80;
}

table tr:first-child:hover {
  background: #FFF;
}

table th {
  color: #333;
  font-size: 16px;
  text-align: center;
  font-weight: 600;
  line-height: 24px; /* 150% */
  letter-spacing: -0.4px;
  padding: 12px 10px;
}

table td {
  text-align: center;
  overflow: hidden;
  color: #505050;
  text-overflow: ellipsis;
  font-size: 16px;
  line-height: 24px; /* 150% */
  letter-spacing: -0.4px;
  border-bottom: 1px solid #EEE;
  box-sizing: border-box;
  padding: 12px 10px;
}

table td:first-child {
  text-align: left;
}

table td:first-child p {
  width: 80%;
  color: #505050;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden; /* 넘치는 내용 숨기기 */
  text-overflow: ellipsis; /* 말줄임표 표시 */
}

thead th:nth-child(2), table td:nth-child(2) {
  width: 180px;
}

thead th:last-child, table td:last-child {
  width: 110px;
}

.flex-td {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.status {
  flex-shrink: 1;
  white-space: nowrap;
  border-radius: 4px;
  background: #E7E7E7;
  display: flex;
  box-sizing: border-box;
  width: 55px;
  padding: 0px 4px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #505050;
  text-overflow: ellipsis;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px; /* 171.429% */
  letter-spacing: -0.35px;
}

.status.ing {
  background: #F8E08E;
}

.status.done {
  background: #1B1C80;
  color: #FFF;
}

#page5>img {
  width: 52%;
  aspect-ratio: 1 / 0.7;
  object-fit: cover;
}


/* page6 */
#page6 {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 50px 60px 100px 60px;
  gap: 60px;
}

.pg6-top-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

#page6 .pg-tit {
  display: flex;
  align-items: end;
  gap: 10px;
  line-height: 100%;
}

#page6 .pg-tit span {
  display: flex;
  align-items: end;
  gap: 5px;
}

.pg6-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-swiper-container {
  overflow: hidden;
  width: 100%;
  padding: 12px 0;
}

.review-swiper-pagination {
  margin-top: 30px;
}

.review-swiper-pagination .swiper-pagination-bullet {
  height: 2px;
  background: rgba(27, 28, 128, 0.10) !important;
  opacity: 1 !important;
  border-radius: 0;
  margin: 0 !important;
}

.review-swiper-pagination .swiper-pagination-bullet-active {
  background: #1B1C80 !important;
}

.review-swiper-container .swiper-slide {
  width: auto !important;
}

.review-box:hover {
  background: rgba(6, 3, 141, 0.1);
}


/* 하단 이미지 */
#bg-div {
  width: 100%;
  height: 600px;
  background: url(../img/main/bg-img.png);
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: fixed;
}

.sub-logo {
  width: 408px;
}


/* + service */
#service-page {
  background: #FFF;
  box-sizing: border-box;
  padding: 120px 60px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-box-container {
  width: 100%;
  display: flex;
  gap: 30px;
}

.service-main-box {
  width: 33.3%;
  border-radius: 12px;
}

.service-main-box>img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1 / 0.7;
  object-fit: cover;
}

.service-main-box:hover {
  background: rgba(6, 3, 141, 0.05);
  transition: 0.3s !important;
}

.service-main-content {
  box-sizing: border-box;
  padding: 30px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-main-content .p16 {
  color: #767676;
  word-break: keep-all;
}

/* 650px */
.mo-br {
  display: none;
}

/* 480px */
.xs-br {
  display: none;
}

.xxs-br {
  display: none;
}


/* AS */
#as-page {
  width: 100%;
  background: #FFF;
  display: flex;
  padding: 100px 60px 0;
  align-items: center;
  justify-content: center;
}

.as-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.as-left {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.as-left h1 {
  color: #1B1C80;
  font-size: 56px;
  font-weight: 600;
  line-height: 130%; /* 72.8px */
  letter-spacing: -1.4px;
  padding-bottom: 20px;
  border-bottom: 1px solid #BBBBD9;
}

.as-right {
  width: 65%;
  display: flex;
  align-items: center;
}

.as-circle {
  max-width: 362px;
  width: 34%;
  display: flex;
  aspect-ratio: 1 / 1;
  padding: 20px 20px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  border-radius: 500px;
  background-position: center center !important;
  background-size: cover !important;
}

.as-circle:first-child {
  background: url(../img/main/circle.png);
}

.as-circle:nth-child(2) {
  background: url(../img/main/circle2.png);
}

.as-circle:last-child {
  background: url(../img/main/circle3.png);
}

.as-circle:nth-child(n+2) {
  margin-left: -10px;
}

.as-circle-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.as-tit {
  color: #FFF;
  font-family: Pretendard;
  font-size: 32px;
  line-height: 130%; /* 41.6px */
  letter-spacing: -0.8px;
}

.as-content {
  color: #FFF;
  text-align: center;
  font-size: 18px;
  line-height: 130%; /* 23.4px */
  letter-spacing: -0.45px;
  word-break: keep-all;
}

.as-content br {
  display: none;
}

.as-open {
  display: flex;
  box-sizing: border-box;
  padding: 6px 20px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.50);
  color: #FFF;
  text-align: center;
  font-size: 16px;
  line-height: 140%; /* 22.4px */
  letter-spacing: -0.4px;
  cursor: pointer;
}

.as-open:hover {
  background: #FFF;
  color: #1B1C80;
}

@media(min-width: 1700px) {
  #page2 {
    padding: 0 100px;
  }
  .pg2-container {
    gap: 90px;
  }
  #page3 {
    padding-left: 100px;
    padding-right: 80px;
  }
  #service-page, #as-page  {
    padding-left: 100px;
    padding-right: 100px;
  }
  .banner-swiper-container .text-wrap {
    top: 50%;
  }
  .banner-swiper-container .main-text {
    font-size: 64px;
    letter-spacing: -1.6px;
  }
  .banner-swiper-container .sub-text {
    font-size: 30px;
    letter-spacing: -0.75px;
  }
  #page5>img {
    aspect-ratio: 1 / 0.5;
  }
  .pg2-container {
    align-items: center;
    justify-content: space-between;
  }
  .main-video {
    position: static;
    transform: none;
    width: calc(100% - 690px);
  }
}

@media(min-width: 2150px) {
  .portfolio-box {
    width: 700px;
    height: 800px;
  }
}

@media(min-width: 2350px) {
  .main-video {
    width: calc(100% - 1000px);
  }
  .portfolio-box {
    width: 800px;
    height: 900px;
  }
}

@media(max-width: 1500px) {
  #page4 {
    padding-bottom: 240px;
  }
  .portfolio-box {
    width: 500px;
    height: 600px;
  }
  .as-left {
    width: 32%;
  }
  .as-left h1 {
    font-size: 48px;
    letter-spacing: -1.2px;
  }
  .as-right {
    width: 68%;
  }
}

@media (max-width: 1450px) {
  .main-video {
    left: 42%;
    width: 700px;
    /* height: 420px; */
  }
  .portfolio-title {
    font-size: 20px;
    letter-spacing: -0.5px;
    padding: 20px;
  }
}

@media(max-width: 1400px) {
  .as-left {
    width: 30%;
  }
  .as-left h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .as-right {
    width: 70%;
  }
  .as-tit {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  .as-content {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
}

@media(max-width: 1350px) {
  .p48 {
    font-size: 32px;
    line-height: 42px; /* 131.25% */
    letter-spacing: -0.8px;
  }
  .main-title {
    font-size: 48px;
    line-height: 62px; /* 129.167% */
    letter-spacing: -1.2px;
  }
  #page2 {
    height: 700px;
  }
  .main-logo {
    width: 300px;
  }
  .main-video {
    width: 650px;
    /* height: 400px; */
  }
  .p20 {
    font-size: 18px;
    line-height: 26px; /* 144.444% */
    letter-spacing: -0.45px;
  }
  .portfolio-box {
    width: 400px;
    height: 500px;
  }
  .pg4-container:nth-child(2) .portfolio-box:last-child, .pg4-container:last-child .portfolio-box:last-child {
    transform: translateY(34%);
  }
  #page5 {
    gap: 50px;
  }
  .pg5-container {
    gap: 30px;
  }
  .pg-tit {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  #page5>img {
    width: 50%;
  }
}

@media(max-width: 1250px) {
  #page2 {
    padding: 100px 60px 170px;
    height: auto;
  }
  .pg2-container {
    flex-direction: column;
    gap: 40px;
  }
  .pg2-wrap {
    gap: 50px;
  }
  .main-video {
    width: 100%;
    /* height: 500px; */
    position: static;
    transform: none;
    border-radius: 0;
  }
  .pg2-bg {
    width: 100%;
    height: 500px;
    left: 0;
    bottom: 0;
    top: unset;
  }
  .magazine-container>img {
    width: 400px;
    height: 400px;
  }
  .magazine-content-box {
    width: 490px;
    max-height: 402px;
  }
  .magazine-content {
    -webkit-line-clamp: 6;
  }
  #bg-div {
    height: 500px;
  }
  table td:nth-child(2), table th:nth-child(2) {
    display: none;
  }
  #page5>img {
    width: 50%;
  }
  .sub-logo {
    width: 360px;
  }
  .service-box-container {
    gap: 20px;
  }
  .p32 {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  .as-container {
    flex-direction: column;
    gap: 40px;
  }
  .as-left, .as-right {
    width: 100%;
  }
  .as-left h1 {
    border-bottom: none;
    padding-bottom: 0;
  }
  .as-circle {
    max-width: unset;
  }
}

@media(max-width: 1100px) {
  #page4 {
    gap: 100px;
    padding-bottom: 200px;
  }
  .pg4-title-div>p {
    font-size: 48px;
    letter-spacing: -1.2px;
  }
  .portfolio-box {
    width: 300px;
    height: 350px;
  }
  .portfolio-title {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  .pg4-container:nth-child(2) .portfolio-box:last-child, .pg4-container:last-child .portfolio-box:last-child {
    transform: translateY(34%);
  }
  .pg5-container {
    gap: 20px;
  }
  table td, table td:first-child p, table th {
    font-size: 14px;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.35px;
  }
  table td {
    padding: 12px 4px;
  }
  thead th:nth-child(2), table td:nth-child(2) {
    width: 150px;
  }
  thead th:nth-child(3), table td:nth-child(3) {
    width: 100px;
  }
  #page5>img {
    width: 47%;
  }
}

@media(max-width: 1024px) {
  .banner-swiper-container .main-text {
    font-size: 36px;
    letter-spacing: -0.9px;
  }
  .banner-swiper-container .sub-text {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  .magazine-container>img {
    width: 350px;
    height: 350px;
  }
  .magazine-content-box {
    width: 440px;
    padding: 20px;
    gap: 20px;
    max-height: 350px;
  }
  .magazine-wrap {
    gap: 10px;
  }
  .magazine-div>p:first-child {
    padding-right: 6px;
  }
  .magazine-div>p:last-child {
    padding-left: 6px;
  }
  .p32 {
    font-size: 24px;
    line-height: 34px; /* 141.667% */
    letter-spacing: -0.6px;
  }
  .magazine-content {
    -webkit-line-clamp: 8;
  }
  .magazine-div>.p16 {
    font-size: 14px;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.35px;
  }
  #bg-div {
    height: 400px;
  }
  #page5>img {
    width: 50%;
  }
}

@media(max-width: 900px) {
  .main-video {
    /* height: 400px; */
  }
  .pg2-bg {
    height: 450px;
  }
  #page2 {
    padding: 80px 30px 170px;
  }
  #page3 {
    padding: 100px 0 100px 30px;
    gap: 40px;
  }
  .pg3-top-div {
    flex-direction: column;
    align-items: start;
    gap: 4px;
  }
  .pg3-top-inner {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  #page3 .pg3-top-wrap {
    padding: 0;
  }
  .pg3-top-wrap {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  .magazine-container>img {
    width: 300px;
    height: 300px;
  }
  .magazine-content-box {
    width: 390px;
    max-height: 302px;
  }
  .magazine-content {
    -webkit-line-clamp: 6;
  }
  .pg4-title-div {
    gap: 30px;
  }
  .portfolio-box {
    width: 280px;
    height: 300px;
  }
  .portfolio-title {
    font-size: 16px;
    letter-spacing: -0.4px;
    padding: 20px 10px;
  }
  .pg4-container:nth-child(2) .portfolio-box:last-child, .pg4-container:last-child .portfolio-box:last-child {
    transform: translateY(40%);
  }
  #page5 {
    padding: 80px 0 0;
    flex-direction: column;
    gap: 40px;
  }
  .pg5-container {
    box-sizing: border-box;
    padding: 0 30px;
  }
  table td, table td:first-child p {
    font-size: 16px;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
  }
  table td {
    padding: 12px 10px;
  }
  table td:nth-child(2), table th:nth-child(2) {
    display: table-cell;
    width: 180px;
  }
  #page5>img {
    width: 100%;
  }
  #page6 {
    padding: 80px 0 80px 30px;
    gap: 40px;
  }
  .pg6-top-wrap {
    flex-direction: column;
    gap: 20px;
    align-items: start;
    box-sizing: border-box;
    padding-right: 30px;
  }
  #page6 .pg-tit {
    flex-direction: column;
    align-items: start;
    line-height: 130%;
    gap: 12px;
  }
  #page6 .pg-tit span {
    align-items: baseline;
  }
  .sub-logo {
    width: 320px;
  }
  #service-page {
    padding: 80px 30px 0;
    gap: 40px;
  }
  .service-main-content {
    padding: 15px 5px;
  }
  .banner-swiper-container .main-text {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  .banner-swiper-container .sub-text {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  #as-page {
    padding: 80px 30px 0;
  }
  .as-content br {
    display: block;
  }
  .as-content span {
    display: none;
  }
}

@media (max-width: 768px) {
  .pc {
    display: none !important;
  }
  .mobile {
    display: block !important;
  }
  .layer-popup {
    max-width: 90%;
    top: 5%;
    left: 5%;
  }
  .banner-swiper-container {
    height: 100vh;
  }
  .banner-swiper-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .magazine-container>img {
    width: 250px;
    height: 250px;
  }
  .magazine-content-box {
    width: 340px;
    max-height: 252px;
  }
  .p32 {
    font-size: 18px;
    line-height: 26px; /* 144.444% */
    letter-spacing: -0.45px;
  }
  .magazine-content {
    -webkit-line-clamp: 4;
  }
  #page4 {
    gap: 30px;
    padding: 80px 20px;
  }
  .pg4-title-div {
    position: static;
    transform: none;
    gap: 20px;
    margin-bottom: 10px;
  }
  .pg4-container {
    flex-direction: column;
    gap: 30px;
    margin: 0 !important;
  }
  .pg4-container:nth-child(2n-1) .portfolio-box:last-child, .pg4-container:nth-child(2n) .portfolio-box:last-child {
    transform: none !important;
    margin-left: auto;
  }
  .portfolio-box {
    width: 350px;
    height: 380px;
  }
  table td:nth-child(2), table th:nth-child(2) {
    display: none;
  }
  .pc-banner {
    display: none;
  }
  .mo-banner {
    display: flex;
  }
  .service-box-container {
    flex-direction: column;
    gap: 40px;
  }
  .service-main-box {
    width: 100%;
  }
  .service-main-content {
    align-items: center;
    gap: 4px;
  }
  .service-main-box .p32 {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  .banner-swiper-container .main-text {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .banner-swiper-container .sub-text {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  .as-right {
    width: 90%;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }
  .as-circle {
    width: 100%;
  }
  .as-circle:nth-child(n+2) {
    margin-left: 0;
    margin-top: -10px;
  }
  .as-tit {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .as-content {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  .as-content br {
    display: none;
  }
  .as-content span {
    display: inline-block;
  }
}

@media(max-width: 650px) {
  #page2 {
    padding: 80px 20px 170px;
  }
  #page3 {
    padding: 80px 0 80px 20px;
  }
  .magazine-container {
    flex-direction: column;
    width: 320px;
  }
  .magazine-container>img {
    width: 100%;
    height: 320px;
  }
  .magazine-content-box {
    min-height: 275px;
    width: 100%;
    padding: 16px 10px;
    max-height: 597px;
  }
  .magazine-content {
    font-size: 14px;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.35px;
    -webkit-line-clamp: 6;
  }
  .magazine-div>.p16 {
    font-size: 12px;
    line-height: 130%; /* 15.6px */
    letter-spacing: -0.3px;
  }
  .pg3-container {
    gap: 20px;
  }
  .magazine-swiper-pagination, .review-swiper-pagination {
    margin-top: 0;
  }
  .pg5-container {
    padding: 0 20px;
  }
  .pg-tit {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  table td, table td:first-child p {
    font-size: 14px;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.35px;
  }
  table td {
    padding: 12px 4px;
  }
  table th {
    padding: 0 0 6px;
  }
  #page6 {
    padding: 80px 0 80px 20px;
  }
  .mo-br {
    display: block;
  }
  .review-swiper-container .swiper-slide {
    width: 300px;
  }
  .review-container {
    width: 250px;
    height: 186px;
  }
  .review-content, .review-name {
    font-size: 14px !important;
    line-height: 150% !important; /* 21px */
    letter-spacing: -0.35px !important;
  }
  .review-content {
    -webkit-line-clamp: 5;
  }
  .sub-logo {
    width: 280px;
  }
  .pg3-top-inner .p20 {
    white-space: nowrap;
  }
  .as-tit {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  .as-content {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
}


@media (max-width: 600px) {
  .main-container {
    width: 100%;
    padding: 60px 40px;
  }
  .p48 {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  .main-title {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .p40 {
    font-size: 28px;
    line-height: 130%; /* 36.4px */
    letter-spacing: -0.7px;
  }
  .p28 {
    font-size: 15px;
    letter-spacing: -0.375px;
  }
  .p20, .p18 {
    font-size: 16px;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
  }
  .p16 {
    font-size: 14px;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.35px;
  }
  .more-div {
    gap: 20px;
  }
  .main-logo {
    width: 232px;
  }
  .main-video {
    width: 95%;
    /* height: 300px; */
    margin: 0 auto;
  }
  .pg2-bg {
    height: 350px;
  }
  #bg-div {
    height: 300px;
  }
  .portfolio-box {
    width: 300px;
    height: 320px;
  }
  .portfolio-title {
    font-size: 18px;
    letter-spacing: -0.45px;
    padding: 20px 10px;
  }
  .pg4-title-div>p {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .status {
    font-size: 14px;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.35px;
  }
  .flex-td {
    gap: 4px;
  }
  .banner-swiper-container .text-wrap {
    gap: 6px;
    top: 50%;
  }
  .banner-swiper-container .main-text {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  .banner-swiper-container .sub-text {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  #bg-div {
    background-attachment: unset;
  }
  .as-left h1 {
    font-size: 36px;
    letter-spacing: -0.9px;
  }
}

@media(max-width: 480px) {
  .main-video {
    /* height: 250px; */
  }
  .pg2-bg {
    height: 300px;
  }
  .magazine-container {
    width: 270px;
  }
  .magazine-container>img {
    height: 270px;
  }
  .magazine-content-box {
    min-height: 225px;
  }
  .magazine-content {
    -webkit-line-clamp: 4;
  }
  .portfolio-box {
    width: 280px;
    height: 300px;
  }
  .portfolio-title {
    font-size: 15px;
    letter-spacing: -0.375px;
  }
  .review-swiper-container .swiper-slide {
    width: 250px;
  }
  .xs-no-br {
    display: none;
  }
  .xs-br {
    display: block;
  }
  .pg3-top-inner {
    align-items: start;
  }
  .p48 {
    font-size: 26px;
    letter-spacing: -0.7px;
  }
  .main-title {
    font-size: 38px;
    letter-spacing: -0.95px;
  }
  .p40 {
    font-size: 26px;
    letter-spacing: -0.65px;
  }
  .p28 {
    font-size: 13px;
    letter-spacing: -0.325px;
  }
  .p20, .p18 {
    font-size: 14px;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.35px;
  }
  .p16 {
    font-size: 12px;
    line-height: 18px; /* 150% */
    letter-spacing: -0.3px;
  }
  .portfolio-title {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  .pg4-title-div>p {
    font-size: 38px;
    letter-spacing: -0.95px;
  }
  .status {
    font-size: 12px;
    line-height: 18px; /* 150% */
    letter-spacing: -0.3px;
  }
  .banner-swiper-container .main-text {
    font-size: 26px;
    letter-spacing: -0.65px;
  }
  .banner-swiper-container .sub-text {
    font-size: 14px;
    letter-spacing: -0.35px;
  }
  .service-main-box .p32 {
    font-size: 22px;
    letter-spacing: -0.55px;
  }
  .sub-logo {
    width: 190px;
  }
  .as-tit {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
}

@media(max-width: 400px) {
  .main-video {
    /* height: 220px; */
  }
  .review-swiper-container .swiper-slide {
    width: 220px;
  }
}

@media(max-width: 400px) {
  .xxs-br {
    display: block;
  }
  .banner-swiper-container .main-text {
    font-size: 29px;
  }
  .banner-swiper-container .sub-text {
    font-size: 15px;
    line-height: 110%;
    margin-top: 8px;
  }
}

@media(max-width: 380px) {
 .portfolio-box {
    width: 260px;
    height: 280px;
  }
}

@media(max-width: 370px) {
  .xxxs-no-br {
    display: none;
  }
}
