/* contact */
#contact {
  color: #333333;
  /* max-width: 1280px; */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact_link {
  position: relative;
  width: 50%;
  height: 30rem;
  overflow: hidden;
}

.contact_link:hover {
  opacity: 1;
}

.contact_link:first-child {
  background-color: var(--lightOrange);

  background-repeat: no-repeat;
  background-size: 50%;
  background-position: right -30% top 120px;
}

.contact_link:last-child {
  background-color: var(--darkOrange);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: right -30% top 120px;
  color: #fff;
}

.contact_link::before {
  content: "";
  width: 29rem;
  aspect-ratio: 1;
  /* background-image: url("../img/logo_shape.svg"); */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='292' height='290.447' viewBox='0 0 292 290.447'%3E%3Cg transform='translate(-592.91 -250.18)'%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(718.472 250.18)' fill='%23F0EDE8'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(649.019 277.5) rotate(-30)' fill='%23F0EDE8'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(793.128 256.392) rotate(30)' fill='%23F0EDE8'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(592.91 412.541) rotate(-90)' fill='%23F0EDE8'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(620.23 481.994) rotate(-120)' fill='%23F0EDE8'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(600.816 337.887) rotate(-60)' fill='%23F0EDE8'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(884.91 373.711) rotate(90)' fill='%23F0EDE8'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(854.762 304.259) rotate(60)' fill='%236E6862'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(874.177 448.366) rotate(120)' fill='%23F0EDE8'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(757.302 540.626) rotate(180)' fill='%23F0EDE8'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(829.08 510.434) rotate(150)' fill='%23F0EDE8'/%3E%3Cpath d='M0,0,3.883,31.064H34.947L38.83,0Z' transform='translate(682.646 528.793) rotate(-150)' fill='%23F0EDE8'/%3E%3C/g%3E%3C/svg%3E");
  position: absolute;
  right: -12rem;
  bottom: -14rem;
  background-size: contain;
}

.contact_link:hover:before {
  animation: spin 6s linear infinite;
}

.contact_title {
  font-size: 2.4rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.contact_en {
  font-size: 3rem;
  position: absolute;
  top: 70%;
  left: 85%;
  transform: translate(-70%, -20%);
  white-space: nowrap;
  font-size: 4.8rem;
}

footer {
  display: flex;
  /* justify-content: center; */
  border-bottom: 3rem solid var(--darkOrange);
  padding: 6rem;
}

.f_logo {
  width: 6.8rem;
  margin-right: 15.5rem;
}

.f_ul {
  display: flex;
  /* margin-bottom: 52px; */
  align-items: flex-start;
}

.f_li {
  font-size: 1.4rem;
  margin-right: 4.5rem;
}

.h_square {
  background-color: #f2efea;
  padding: 0.2rem 1rem;
}

.f_underline {
  display: inline-block;
  text-align: left;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 1px;
  margin-top: 1.55rem;
}
.sp_flex {
  display: flex;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 699.98px) {
  /* contact */
  #contact {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .contact_link {
    width: 100%;
    height: 17rem;
  }

  .contact_link::before {
    width: 20rem;
    bottom: -8rem;
    right: -8rem;
  }

  .contact_title {
    font-size: 2rem;
  }

  .contact_en {
    font-size: 2rem;
    position: absolute;
    top: 80%;
    left: 85%;
    transform: translate(-70%, -20%);
  }

  footer {
    /* justify-content: space-around; */
    /* margin-top: 33px; */
    padding: 3rem 1.5rem;
    gap: 5rem;
  }

  .f_logo {
    width: 62px;
    height: 73px;
    margin-right: 0;
  }
  .f_ul {
    flex-direction: column;
    /* margin-bottom: 52px; */
  }
  .f_li {
    margin-bottom: 3rem;
    margin-right: 0;
  }
  .sp_flex {
    gap: 72px;
  }

  .f_underline {
    margin-top: 21.15px;
  }
}
