/* section-1 */
.last-project {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.project__content {
  margin-left: auto;
}

/* section-2 */
.section-2 {
  height: 100vh;
}

.section-2 .inner {
  padding: 0;
}

.section-2__content {
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: min(10vw, 10rem);
  padding: 0 10rem;
}

/* project */
.project-number {
  font-size: var(--font-size-M);
  color: var(--gray_a);
  font-weight: bold;
  margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
}

.project-box {
  width: clamp(250px, 60vw, 500px);
  height: auto;
  aspect-ratio: 1 / 0.65;
  padding: 25px;
  position: relative;
  border-radius: clamp(1.2rem, 2.5vw, 5rem);
}

.project-box.last{
  background: linear-gradient(var(--white), var(--black));
}

.project-box.projects{
  background: linear-gradient(var(--gray_f5), #ffffff00);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-box img {
  max-width: 150px;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.project-box__text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--font-size-L);
}

.project-box__text.carrot {
  font-size: clamp(1.8rem, 20vw, 15rem);
  opacity: 0.5;
}

.project-title {
  font-size: var(--font-size-L);
  font-weight: bold;
  margin-top: clamp(1rem, 2vw, 2rem);
}

.project-text {
  font-size: var(--font-size-S);
  margin-top: clamp(0.8rem, 1.5vw, 1rem);
}

/* section-3 */
.section-3 {
  background-color: var(--black);
  color: var(--white);
  position: relative;
  z-index: 2;
}

.section-3__content {
  min-height: 400px;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  gap: min(10vw, 200px);
}

.section-3__content h3 {
  font-size: var(--font-size-L);
  font-weight: bold;
}

.section-3__content p {
  font-size: var(--font-size-M);
  text-align: center;
  word-break: keep-all;
}

/* section-4 */
.section-4 {
  background-color: var(--white);
  position: relative;
  z-index: 2;
}

.section-4__content {
  min-height: 400px;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  gap: min(10vw, 200px);
}

.section-4__content h3 {
  font-size: var(--font-size-L);
  font-weight: bold;
}

.section-4__content p {
  font-size: var(--font-size-M);
  text-align: center;
  word-break: keep-all;
  line-height: 2;
}

@media (max-width: 768px) {
  .project__content {
    margin: 0 auto;
  }

  .section-3__content,
  .section-4__content {
    flex-direction: column;
    justify-content: center;
  }
}
