@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


body,
input,
textarea,
select,
button,
table {
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  color: #222;
  line-height: 1.5;
  word-break: keep-all;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol,
li {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
  height: 100px;
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 80px;
}

.m-menu-btn {
  display: none;
  width: 34px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 120;
}

.m-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 6px 0;
  border-radius: 3px;
  background: #222;
  transition: .3s;
}

.m-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.m-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.m-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

header nav ul li a:hover {
  color: #E7113B;
}

.main-visual {
  position: relative;
  max-height: 1200px;
  overflow: hidden;
}

.main-visual video {
  width: 100%;
  height: auto;
}



/* --------- */
.section {
  padding: 100px 0 150px;
}

.section01 {
  padding-top: 200px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title .sub-title {
  display: inline-block;
  margin-bottom: 15px;
  color: #E7113B;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
}

.section-title h2 {
  font-family: 'Paperlogy';
  font-size: 48px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-title p {
  font-family: 'SUIT';
  max-width: 700px;
  margin: 0 auto;
  color: #666;
  font-size: 18px;
  line-height: 1.8;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-box .service-inner {
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 20px;
  background: #fff;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 10px rgba(0, 0, 0, .08);
  transition: .3s;
  cursor: default;
  border: 1px solid rgba(0, 0, 0, .04);
}

.service-box .service-inner:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.service-box .icon {
  width: 90px;
  margin: 0 auto 24px;
}

.service-box .icon img {
  width: 100px;
}

.service-box h3 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
  color: #222;
}

.service-box p {
  color: #666;
  font-size: 16px;
  line-height: 1.7;
  white-space: normal;
  word-break: keep-all;
  height: 82px;
}

.portfolio-wrap {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 80px;
}

.portfolio-swiper {
  overflow: hidden;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.portfolio-item img {
  width: 100%;
  display: block;
  transition: .3s;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item .desc {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  opacity: 0;
  transition: .3s;
}

.portfolio-item:hover .desc {
  opacity: 1;
}

.portfolio-prev,
.portfolio-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  cursor: pointer;
}

.portfolio-prev {
  left: 20px;
  padding-right: 1px;
}

.portfolio-next {
  right: 20px;
  padding-left: 3px;
}

.portfolio-prev:hover,
.portfolio-next:hover {
  background: #E7113B;
  color: #fff;
}

.cta {
  text-align: center;
  padding: 80px 20px;
  background: #B71C3B;
  color: #fff;
}

.cta a {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  background: #fff;
  color: #E7113B;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
}

.cta h2 {
  font-size: 38px;
  margin-bottom: 10px;
}

.cta p {
  margin-bottom: 25px;
}

.cta a {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 30px;
  background: #fff;
  color: #E7113B;
  font-weight: 700;
}

footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 40px;
  font-size: 0.9rem;
}

header nav ul li a.active {
  color: #E7113B;
  font-weight: 700;
}

.process-section {
  background: #fafafa;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-item-wrap {
  padding: 34px 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  transition: .3s;
  cursor: default;
}

.process-item-wrap:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .1);
}

.process-item span {
  display: inline-block;
  margin-bottom: 24px;
  color: #E7113B;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.process-item h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.process-item h3 i {
  padding-right: 5px;
}

.process-item p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.review-marquee {
  position: relative;
  width: 100%;
}

.review-marquee::before,
.review-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 10;
  pointer-events: none;
}

.review-marquee::before {
  left: 0;
  width: 150px;
  background: linear-gradient(to right,
      #fafafa 0%,
      rgba(250, 250, 250, .95) 30%,
      rgba(250, 250, 250, 0) 100%);
}

.review-marquee::after {
  right: 0;
  width: 150px;
  background: linear-gradient(to left,
      #fafafa 0%,
      rgba(250, 250, 250, .95) 30%,
      rgba(250, 250, 250, 0) 100%);
}

.review-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: reviewMarquee 35s linear infinite;
}

.review-marquee:hover .review-track,
.review-track.is-paused {
  animation-play-state: paused;
}

.review-card {
  flex: 0 0 auto;
  width: 380px;
  min-height: 220px;
  padding: 34px 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 2px 5px 10px rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .04);
}

.review-card .star {
  margin-bottom: 18px;
  color: #E7113B;
  font-size: 18px;
  letter-spacing: 2px;
}

.review-card p {
  min-height: 90px;
  color: #222;
  font-size: 17px;
  line-height: 1.7;
  white-space: normal;
  word-break: keep-all;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-more {
  padding: 8px 16px;
  border: 1px solid #E7113B;
  border-radius: 30px;
  background: #fff;
  color: #E7113B;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.review-more.mo-acc {
  display: none;
}

.review-more:hover {
  background: #E7113B;
  color: #fff;
}

.review-card span {
  display: block;
  color: #999;
  font-size: 15px;
  font-weight: 700;
}


.review-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}

.review-modal.active {
  display: block;
}

.review-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.review-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 560px;
  padding: 36px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

.review-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

.review-modal-star {
  margin-bottom: 20px;
  color: #E7113B;
  font-size: 20px;
  letter-spacing: 2px;
}

.review-modal-text {
  color: #222;
  font-size: 16px;
  line-height: 1.8;
  white-space: normal;
  word-break: keep-all;
}

.review-modal-writer {
  display: block;
  margin-top: 24px;
  color: #999;
  font-size: 15px;
  font-weight: 700;
}

.review-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 39px;
  margin-top: 15px;
}

.sub-visual {
  padding: 190px 0 90px;
  background: linear-gradient(135deg, #f4f7ff 0%, #ffffff 60%, #fff4eb 100%);
  text-align: center;
}

.sub-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 18px;
  border-radius: 30px;
  background: #E7113B;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sub-visual h1 {
  font-size: 54px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.sub-visual p {
  color: #555;
  font-size: 20px;
}

@keyframes reviewMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .main-visual {
    padding-top: 100px;
    height: auto;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-prev {
    left: 20px;
    padding-right: 1px;
  }

  .portfolio-next {
    right: 20px;
    padding-left: 3px;
  }
}

@media (max-width: 768px) {
  body.m-menu-open {
    overflow: hidden;
  }

  header {
    height: 65px;
    padding: 0;
  }

  header .container {
    height: 100%;
  }

  header .logo img {
    height: 40px;
  }

  .m-menu-btn {
    display: block;
  }

  header nav {
    position: fixed;
    top: 65px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background: #fff;
    transition: .35s;
    z-index: 110;
    padding: 50px 20px;
    box-shadow: -4px 8px 20px rgba(0, 0, 0, .08);
  }

  header nav.active {
    right: 0;
  }

  header nav ul {
    display: block;
    text-align: center;
  }

  header nav ul li+li {
    margin-top: 24px;
  }

  header nav ul li a {
    display: block;
    padding: 14px 0;
    font-size: 22px;
    font-weight: 700;
  }

  .main-visual {
    padding-top: 65px;
    height: auto;
  }

  .sub-visual {
    padding: 140px 0 70px;
  }

  .sub-visual h1 {
    font-size: 38px;
  }

  .sub-visual p {
    font-size: 17px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .section-title p {
    font-size: 16px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .service-box .service-inner {
    padding: 20px;
    height: 233px;
  }

  .service-box .icon {
    margin-bottom: 0;
  }

  .service-box p {
    height: auto;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-item-wrap {
    padding: 28px 22px;
  }

  .review-track {
    gap: 16px;
    animation-duration: 28s;
  }

  .review-card {
    width: 270px;
    min-height: 200px;
    padding: 12px 20px;
  }

  .review-card p {
    font-size: 16px;
    min-height: 85px;
    margin-bottom: 10px;
  }

  .review-more.mo-acc {
    display: block;
  }

  .cta h2 {
    font-size: 30px;
  }

  .review-marquee::before {
    width: 50px;
  }

  .review-marquee::after {
    width: 50px;
  }

  .review-card .star {
    margin-bottom: 0;
  }

  .review-more {
    margin-top: 0;
  }

  .review-card span {
    margin-top: 0;
  }

  .review-card-bottom {
    margin-top: 5px;
  }
}