@charset "utf-8";

.bg-detail::before ,
.bg-detail-large::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 375/570;
  width: 100%;
  height: auto;
  background: url('../images/20250729155914848216.png') center top / cover no-repeat;
}
@media screen and (min-width: 768px) {
  .bg-detail::before ,
  .bg-detail-large::before {
    aspect-ratio: 768/700;
  }
}
@media screen and (min-width: 1300px) {
  .bg-detail::before ,
  .bg-detail-large::before {
    aspect-ratio: 1366/768;
  }
}
@media screen and (min-width: 1600px) {
  .bg-detail::before ,
  .bg-detail-large::before {
    aspect-ratio: 1600/500;
  }
}

.detail__text {
  padding: 51px 0 45px;
  max-width: 496px;
}

.detail-top__wrap-reverse-container {
  position: relative;
  padding-top: 60px;
  z-index: 5;
}
.detail-top__wrap-reverse-container > .detail-top__wrap::after {
  display: none;
}

.detail__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #FFFFFF;
  border-radius: 25px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.16);
  text-align: center;
}
.detail__links03 {
  max-width: 720px;
  grid-template-columns: repeat(2, 1fr);
}
.detail__links04 {
  max-width: 720px;
  grid-template-columns: repeat(2, 1fr);
}
@media screen and (min-width: 900px) {
  .detail__links {
    grid-template-columns: repeat(5, 1fr);
  }
  .detail__links03 {
    max-width: 720px;
    grid-template-columns: repeat(3, 1fr);
  }
  .detail__links04 {
    max-width: 100%;
    grid-template-columns: repeat(4, 1fr);
  }
}

.detail__link {
  border-radius: 50px;
    padding: 15px 0;
}
.detail__link.is-active {
  background: #FFA639;
  opacity: 1 !important;
}
.detail__link.is-active p {
  color: #fff;
}
.detail__link:hover {
  opacity: 0.7;
}

.detail-top__wrap {
  padding-top: 83px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-direction: column;
  position: relative;
}
@media screen and (min-width: 900px) {
  .detail-top__wrap {
    flex-direction: row;
    gap: 55px;
  }
  .detail-top__wrap-reverse {
    flex-direction: row-reverse;
  }
}
.detail-top__wrap::after,
.detail-top__wrap-reverse-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(142, 154, 155, 0.4);
  width: 100%;
  height: 1px;
}
.detail-top__wrap-border-none::after {
  display: none;
}

.detail-mid__wrap {
  padding: 118px 20px 201px;
  padding-bottom: 201px;
  width: 100vw;
  margin-left: calc((100vw - 100%) / 2 * -1);
}
@media screen and (min-width: 768px) {
  .detail-mid__wrap {
    padding: 118px 83px 201px;
  }
}
.detail-mid__wrap::after {
  display: none;
}

.detail-top__img {
  aspect-ratio: 480 / 495;
  width: min(100%, 480px);
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
@media screen and (min-width: 900px) {
  .detail-top__img {
    width: min(calc(480 / 1366 * 100vw), 480px);
  }
}

.l-detail {
  margin-top: -200px;
  padding: 311px 0 197px;
  background: #FFFBF7;
}
.detail-wrap {
    display: flex;
    flex-direction: column;
    gap: 97px;
}
.detail-body {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 70px;
}
@media screen and (min-width: 1024px) {
   .detail-body,
  .detail-body02 {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
  .detail-body > .last-of-type {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
  }
}
@media screen and (min-width: 1350px) {
  .detail-body {
    grid-template-columns: repeat(3, 1fr);
  }
  .detail-body02 {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-body > .last-of-type {
    grid-column: auto;
    justify-self: auto;
    width: auto;  
  }
}

.detail__item-img {
  margin-top: 17px;
  aspect-ratio: 386 / 218;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.detail-body__img {
  aspect-ratio: 380 / 232;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.detail-service__wrap {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media screen and (min-width: 768px) {
  .detail-service__wrap {
    grid-template-columns: repeat(2, 1fr);
  }
 .detail-service__wrap03 > .detail-service__item:last-of-type {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
  }
}
@media screen and (min-width: 1350px) {
  .detail-service__wrap {
    grid-template-columns: repeat(4, 1fr);
  }
    .detail-service__wrap03 {
    grid-template-columns: repeat(3, 1fr);
  }
  .detail-service__wrap03 > .detail-service__item:last-of-type {
    grid-column: auto;
    justify-self: auto;
    width: auto;  
  }
}

.detail-price__btn::after {
  content: "";
  position: absolute;
  background: url(../images/icon-arrow-orange.svg) center / contain no-repeat;
  width: 30px;
  height: 30px;
      top: 50%;
    transform: translateY(-50%);
    right: 30px;
}
@media screen and (min-width: 600px) {
  .detail-price__btn::after {
    width: 40px;
    height: 40px;
  }
}
.detail-price__btn:hover {
  background: #F8DCB9;
}


.detai-step__wrap {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 978px;
}
@media screen and (min-width: 600px) {
 .detai-step__wrap {
   gap: 21px;
  }
}
.detai-step__item {
  display: flex;
  align-items: start;
  gap: 19px;
  flex-direction: column;
}
@media screen and (min-width: 600px) {
  .detai-step__item {
    flex-direction: row;
    gap: 41px;
  }
}
.detai-step__head {
  width: 100px;
  height: 100px;
  padding: 28px 26px;
  background: #FFF0E0;
  border-radius: 50%;
  text-align: center;
  flex-shrink: 0;
}
.detai-step__item:nth-of-type(2) .detai-step__head {
  background: #FFE1B9;
}
.detai-step__item:nth-of-type(3) .detai-step__head {
  background: #FFCE8B;
}
.detai-step__item:nth-of-type(4) .detai-step__head {
  background: #F8BA64;
}
.detai-step__body {
     padding: 28px 20px 31px; 
  position: relative;
}
@media screen and (min-width: 600px) {
.detai-step__body {
     padding: 28px 39px 31px 40px; 
  }
}
.detai-step__body::after {
  content: "";
  position: absolute;
  width: 45px;
  height: 21px;
  background: #FFA538;
  bottom: -21px;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
.detai-step__item:last-of-type .detai-step__body::after{
  display: none;
}


.detail-flow__wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1010px;
  position: relative;
}
@media screen and (min-width: 768px) {
 .detail-flow__wrap {
   gap: 18px;
  }
}
.timeline-line {
  position: absolute;
  background: #635542;
  width: 1px;
  transform-origin: top left;
  z-index: 0;
}

.detail-flow__item {
  display: flex;
  align-items: start;
  gap: 19px;
}
@media screen and (min-width: 768px) {
  .detail-flow__item {
    align-items: center;
    gap: 41px;
  }
}
.detail-flow__head {
      margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-content: end;
  width: 78px;
  font-size: 19px !important;
}
@media screen and (min-width: 768px) {
  .detail-flow__head {
        margin-top: 0;
    width: 127px;
    gap: 41px;
    font-size: 30px !important;
  }
}
.detail-flow__head::after {
  content: "";
  width: 14px;
  height: 14px;
  background: #FF9A21;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 5;
}
.detail-flow__body {
  padding: 28px 25px 31px; 
  position: relative;
  display: flex;
  align-items: center;
      flex-direction: column;
  gap: 39px;
  justify-content: space-between;
  flex-grow: 1;
}
@media screen and (min-width: 1024px) {
  .detail-flow__body {
    padding: 30px 25px 30px 40px; 
        flex-direction: row;
  }
}
.detail-flow__img {
      aspect-ratio: 300 / 180;
    width: min(100%, 200px);
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  flex-shrink: 0;
}
@media screen and (min-width: 768px) {
  .detail-flow__img {
    width: min(100%, 300px);
  }
}

