/* Main Visual */
.main-visual {
  position: relative;
  width: 100%;
  height: 785px;
  background: #333;
  overflow: hidden;
}

.main-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.main-visual img,
.main-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Service Section */
.service-section {
  padding: 80px 0;
  background: #fff;
}

.service-wrapper {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}

.service-info {
  flex: 0 0 300px;
}

.notice-text {
  color: #e53935;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.service-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.8;
}

.service-guide {
  font-size: 12px;
  color: #999;
  margin-bottom: 30px;
  line-height: 1.8;
}

.service-link {
  color: #2196F3;
  font-size: 17px;
  margin-bottom: 10px;
}

.service-title {
  font-size: 34px;
  font-weight: normal;
  line-height: 1.5;
  margin-bottom: 30px;
}

.service-title strong {
  font-weight: bold;
}

.service-list li {
  padding: 12px 15px;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}


.service-list li a {
  font-size: 21px;
  color: #333;
}

.service-list li .arrow {
  color: #999;
  font-size: 12px;
}

.service-list li.active {
  background: #0088ff;
}

.service-list li.active a,
.service-list li.active .arrow {
  color: #fff;
}

.service-list li:not(.active):hover {
  background: #0088ff;
}

.service-list li:not(.active):hover a,
.service-list li:not(.active):hover .arrow {
  color: #fff;
}

.service-images {
  flex: 1;
  display: flex;
  gap: 30px;
}

.service-card {
  flex: 1;
  /*aspect-ratio: 1;*/
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  height: 350px;
}


.card-shape {
  position: absolute;
  width: 150%;
  height: 150%;
  border-radius: 50%;
  opacity: 0.3;
}

.card-green .card-shape {
  background: #fff;
  top: -50%;
  left: -50%;
}

.card-blue .card-shape {
  background: #fff;
  bottom: -60%;
  right: -60%;
}


.card-purple .card-shape {
  background: #fff;
  top: -30%;
  right: -60%;
}

/* Portfolio Section */
.portfolio-section {
  padding: 80px 0;
  background: #fff;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  font-size: 21px;
  color: #666;
  margin-bottom: 50px;
}

.portfolio-slider {
  width: 100%;
  overflow: hidden;
  background: #f4f4f6;
  padding: 40px 0;
}

.portfolio-track {
  display: flex;
  gap: 20px;
}

.portfolio-track.animate {
  animation: slideLoop 40s linear infinite;
}

.portfolio-slider:hover .portfolio-track.animate {
  animation-play-state: paused;
}

.portfolio-slide {
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.portfolio-slide img {
  display: block;
  height: 200px;
  width: auto;
}

@keyframes slideLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Customer Section */
.customer-section {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.btn-customer {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 298px;
  height: 60px;
  padding: 0 20px;
  background: #333;
  color: #fff;
  font-size: 20px;
  border-radius: 10px;
  transition: background 0.3s;
}

.btn-customer:hover {
  background: #555;
}

/* Quote Section */
.quote-section {
  padding: 80px 0;
  background: #fff;
}

.quote-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.quote-info {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 404px;
}

.quote-title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 20px;
}

.quote-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

.quote-buttons {
  display: flex;
  gap: 30px;
}

.btn-quote {
  display: block;
  transition: transform 0.3s;
}

.btn-quote:hover {
  transform: translateY(-3px);
}

.btn-quote img {
  display: block;
}

.quote-image {
  flex: 1;
}

.image-placeholder {
  width: 100%;
  height: 408px;
  display: flex;
  justify-content: flex-end;
}

.image-placeholder img {
  display: block;
  height: 100%;
}

/* Main Responsive */
@media (max-width: 1024px) {
  .service-wrapper {
    flex-direction: column;
  }

  .service-info {
    flex: none;
    width: 100%;
  }

  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .quote-wrapper {
    flex-direction: column;
  }

  .quote-info {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-images {
    flex-wrap: wrap;
  }

  .service-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    flex: 0 0 100%;
  }
}

