main.sub h2 {
  background: none;
  padding: 0;
  margin: unset;
  width: 100%;
}

main {
  width: 100%;
  position: relative;
}
main::before {
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  left: 50%;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  background: url("../../img/common/logo.png") no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.05;
  content: "";
}
main .title {
  padding-top: 2rem;
  margin-top: 0;
  position: relative;
}
main .title::after {
  width: 100%;
  height: 80%;
  background-color: #fafafa;
  content: "";
  position: absolute;
  display: block;
  top: 0;
  transform: translateX(-50%);
  left: 50%;
  z-index: -1;
}
main .specialty {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 4rem;
  position: relative;
  padding-bottom: 3rem;
}
main .specialty .inner {
  width: 70%;
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4rem;
  position: relative;
}
main .specialty .inner section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 5%;
  align-items: center;
}
main .specialty .inner section .text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
main .specialty .inner section .text h2 {
  position: relative;
}
main .specialty .inner section .text h2::after {
  position: absolute;
  width: 15%;
  height: 2px;
  background-color: #24140e;
  display: block;
  content: "";
  bottom: -0.3rem;
  transform: translateX(-50%);
  left: 50%;
  opacity: 0.8;
}
main .specialty .inner section .image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
main .specialty .inner section .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.8s all ease;
}
main .specialty .inner section .image:hover img {
  scale: 1.1;
}
main .specialty .inner section:nth-child(2) {
  grid-template-areas: "TEXT IMG";
}
main .specialty .inner section:nth-child(2) .text {
  grid-area: TEXT;
}
main .specialty .inner section:nth-child(2) .image {
  grid-area: IMG;
}

@media screen and (max-width: 1080px) {
  main .specialty .inner section .text {
    gap: 0.5rem;
  }
}
@media screen and (max-width: 834px) {
  main .specialty {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  main .specialty .inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  main .specialty .inner section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  main .specialty .inner section .text {
    gap: 1rem;
  }
}
@media screen and (max-width: 640px) {
  main .title {
    padding-top: 1.5rem;
  }
}/*# sourceMappingURL=style.css.map */