/* Root */
.take-time {
  padding: 1.81rem 0 1.81rem 0;
}

/* =========================
   Desktop Wrapper
   ========================= */
.take-time__desktop-wrapper {
  display: block;
}

@media screen and (min-width: 768px) {
  .take-time__desktop-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

/* =========================
   Text Section
   ========================= */
.take-time__container h1 {
  font-size: 1.45rem;
  color: #802a8f;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  width: 16.54rem;
}

@media screen and (min-width: 768px) {
  .take-time__container h1 {
    font-size: 1rem;
    width: 16.56rem;
  }
}

.take-time__container h1 span {
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .take-time__container h1 span {
    font-weight: 500;
  }
}

.take-time__container p {
  font-size: 0.6rem;
  color: #666;
  margin-top: 0.4rem;
}

@media screen and (min-width: 768px) {
  .take-time__container p {
    font-size: 0.45rem;
  }
}

/* =========================
   Image
   ========================= */
.take-time__image-container {
  text-align: center;
  margin-top: 2rem;
}

.take-time__image-container img {
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .take-time__image-container {
    margin-top: 0;
    display: none;
  }
}

/* =========================
   Speciality Container
   ========================= */
.take-time__speciality-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 4rem;
}
@media screen and (min-width: 768px) {
  .take-time__speciality-container {
    margin-top: 2rem;
  }
}

/* =========================
   Speciality Box
   ========================= */
.take-time__speciality-box {
  position: relative;
  /* height: 8rem; */
}
@media screen and (min-width: 768px) {
  .take-time__speciality-box {
    /* height: auto; */
  }
}

/* Upper Layer */
.take-time__speciality-box-upper-layer {
  position: absolute;
  top: -1.6rem;
  left: 2rem;
  z-index: 2;
  padding: 0.4rem;
  height: 4.54rem;
  width: 14.45rem;
  background: #d280a0;
  border-radius: 0.36rem;
}
@media screen and (min-width: 768px) {
  .take-time__speciality-box-upper-layer {
    width: 8.71rem;
    height: 2.73rem;
    top: -1rem;
    left: 1rem;
  }
}

.take-time__speciality-box-upper-layer p {
  font-size: 1.09rem;
  color: #fff;
  line-height: 1;
}
.take-time__speciality-box-upper-layer h1 {
  display: none;
}
@media screen and (min-width: 768px) {
  .take-time__speciality-box-upper-layer p {
    font-size: 0.528rem;
  }
  .take-time__speciality-box-upper-layer h1 {
    display: block;
    font-size: 0.603rem;
    color: white;
    font-weight: 600;
  }
}

/* Lower Layer */
.take-time__speciality-box-lower-layer {
  width: 15.81rem;
  height: 4.54rem;
  background-color: #ffe7ee;
  padding: 0.5rem;
}
@media screen and (min-width: 768px) {
  .take-time__speciality-box-lower-layer {
    width: 9.5rem;
    height: 2.73rem;
    padding: 0.2rem;
  }
}

.take-time__speciality-box-lower-layer h2 {
  font-size: 0.9rem;
  color: #d280a0;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .take-time__speciality-box-lower-layer h2 {
    font-size: 0.528rem;
  }
}


/* Hover */
.take-time__speciality-box:hover {
  background: #ffeef4;
  transition: 0.3s ease;
}

.take-time__btn {
  display: block;
}
@media screen and (min-width: 768px) {
  .take-time__btn {
    display: none;
  }
}
