@font-face {
    font-family: 'EB Garamond';
    font-weight: 800;
    font-display: swap;
    font-style: Italic;
    src: local('EBGaramond ExtraBold'), url(../fonts/EBGaramond/EBGaramond-ExtraBoldItalic.ttf) format('truetype');
}

.treatmentDetail_intro__container__76hSW {
    justify-content: flex-start;
    gap: 100px;
}

.treatmentDetail_intro__image__pc__da_l4 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: scale(2.95) translateY(-13%) translateX(-4%);
    transform-origin: center center;
}

.treatmentDetail_intro__image__pc__da_l4 {
    width: 35%;
    aspect-ratio: 4 / 5;
    border-radius: 50% / 40%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}


.treatmentDetail_intro__contents__0EBpH {
    width: 60%;
}

.wedding_banner {
    width: 100%;
    margin: 0 auto;

    height: auto;
    padding: 30px;
    text-align: center;
}

.wedding_box {
    padding-top: 100px;
    border-radius: 40px;
    margin: 0 70px;
}

.wedding_box img {
    border-radius: 40px;
    width: 100%;
    height: auto;
    display: block;
}

.wedding_processbox {
    padding: 100px 20px;
    gap: 20px;
}

.wedding_process{
  margin: 100px 70px auto;
  padding-inline-start: 0;
  /* margin: 0 auto; */
  justify-content: space-between;
}

.wedding_process li{
  min-width: 0;
}

.wedding_process {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.wedding_process li {
    display: flex;
    gap: 20px;
    text-align: left;
    flex-direction: column;
    color: #333;
}

.wedding_process li span {
    font-weight: 500;
}


/* .wedding_process li div {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.wedding_process li img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transform-origin: center;
} */
.wedding_process li div {
    position: relative;
    width: 100%;
    height: 270px;          
    border-radius: 20px;
    overflow: hidden;
}
.wedding_process li img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transform-origin: center;
}


.wedding_process li:nth-child(1) img {
    transform: scale(1.6) translate(20px, 3px);
}

.wedding_process li:nth-child(2) img {
    transform: scale(1.8) translate(0px, -4px);
}

.wedding_process li:nth-child(3) img {
    transform: scale(2.5) translate(-20px, 22px);
}

.wedding_process li:nth-child(4) img {
    transform: scale(1.8) translate(-67px, 22px);
}


.wedding_yellowbox {
    background-color: #fdf4ca;
    width: 100%;
    margin: 0 auto;
    border-radius: 200px 200px 0 0;
    color: #594b36;
    height: auto;
    padding: 100px 20px;
}

.wedding_yellow {
    width: 100%;
    margin: 0 auto;
    padding: 20px 170px;
    color: #594b36;
}

.treatmentDetail_program__header__cq3PU::before {
    content: none;
}

.treatmentDetail_program__header__cq3PU {
    padding-bottom: 100px;
}

.wedding_program {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.wedding_program li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: #594b36 !important;
}

.wedding_program span {
    border: 3px solid #594b36;
    border-radius: 100px;
    width: 180px;
    box-sizing: border-box;
    padding: 3px 20px;
    box-sizing: border-box;
    color: #594b36 !important;
    font-family: 'EB Garamond';
    font-style: bold;
    font-weight: 800 !important;
    font-size: 30px;
    text-align: center;
}

.wedding_program p {
    color: #594b36 !important;
    font-size: 18px;
}

.wedding_program li:nth-child(1)>img {
    width: auto;
    height: 160px;
}

.wedding_program li:nth-child(2)>img {
    width: auto;
    height: 160px;
    padding-right: 15px;
}

.wedding_program li:nth-child(3)>img {
    width: auto;
    height: 160px;
    padding-right: 30px;
}

.wedding_program li p {
    position: relative;
    padding-left: 13px;
    text-align: left;
    line-height: 1.6;
}

.wedding_program li p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background-color: #594b36;
}

.wedding_giftbox {
    padding: 120px 20px;
    width: 100%;
    margin: 0 auto;
    border-radius: 200px 200px 0 0;
    color: #594b36;
    height: auto;
}

.wedding_gift {
    padding: 100px 121px;
    width: 80%;
    margin: 0 auto;
}

.wedding_gift img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 40px;
}


.wd_text01 {
    font-size: 48px;
    font-family: var(--font-eb-garamond);
    font-style: normal;
    font-weight: 400;
    color: var(--font-black)
}

.wd_text02 {
    font-size: 20px;
    font-family: var(--font-eb-garamond);
    font-style: normal;
    font-weight: 400;
    color: #333;
    line-height: 28px;
    white-space: normal !important;
}

.wd_text02 span {
    font-size: 20px;
    font-weight: 500;
}

.wd_text03 {
    font-size: 32px;
    font-weight: 500
}

.wd_text04 {
    text-align: center;
    font-family: var(--font-pretendard);
    font-style: normal;
    color: var(--font-black);
    font-size: 18px;
    font-weight: 400;
    padding: 0 30px;
    line-height: 25px;
}

.wd_text04 span {
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
}

@media screen and (max-width: 1300px){
    .wedding_process {
    padding: 100px 10px;
}    
}

@media screen and (max-width: 1200px){
    .wedding_process {
    padding: 100px 0px;
}    
}
@media screen and (max-width: 1024px) {
    .wedding_yellow{
        padding: 20px 120px;
    }
    
}
@media screen and (max-width: 900px) {

    .treatmentDetail_intro__image__pc__da_l4 {
        width: 50%;
    }

    .treatmentDetail_intro__container__76hSW {
        gap: 50px;
    }




    .wedding_box {
        margin: 0 20px;
        padding-top: 40px;
    }



    .wedding_process {
        flex-wrap: wrap; 
        justify-content: center;
        gap: 30px;
    }

    .wedding_process li {
        width: calc(50% - 15px);
    }

    .wedding_program li:nth-child(1)>img {
    width: auto;
    height: 140px;
}

.wedding_program li:nth-child(2)>img {
    width: auto;
    height: 140px;
    padding-right: 15px;
}

.wedding_program li:nth-child(3)>img {
    width: auto;
    height: 140px;
    padding-right: 20px;
}

.wedding_program li {
    gap: 20px;
}

.wedding_program span {
    width: 140px;
    font-size: 20px;
}

.wedding_program p {
    font-size: 16px;
}
    .wedding_yellow{
        padding: 20px 80px;
    }

        .wedding_gift {
        padding: 40px 20px;
        width: 100%;
    }
    .wd_text03{
        text-align: center;
    }

}

@media screen and (max-width: 750px) {
        .treatmentDetail_intro__image__pc__da_l4 {
        width: 50%;
    }

    .treatmentDetail_intro__container__76hSW {
        gap: 30px;
    }




    
    .wedding_process li {
        width: calc(50% - 15px);
    }

    .wedding_program li:nth-child(1)>img {
    width: auto;
    height: 90px;
}

.wedding_program li:nth-child(2)>img {
    width: auto;
    height: 90px;
    padding-right: 15px;
}

.wedding_program li:nth-child(3)>img {
    width: auto;
    height: 90px;
    padding-right: 10px;
}

.wedding_program li {
    gap: 20px;
}

.wedding_program span {
    width: 120px;
    font-size: 20px;
}

.wedding_program p {
    font-size: 16px;
}
    .wedding_yellow{
        padding: 20px 80px;
    }

}
@media screen and (max-width: 600px) {
    .wd_text01 {
        font-size: 28px;
    }
    .wd_text02,
    .wd_text02 span {
        font-size: 16px;
    }

    .wd_text03 {
        font-size: 24px;
    }
    .wd_text04 span,
    .wd_text04 {
        font-size: 14px;
        line-height: 1.4;
        text-align: left;
        padding: 0;
    }
    .treatmentDetail_intro__image__mobile__wrsCu{
    border-radius: 50% / 40%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.treatmentDetail_intro__image__mobile__wrsCu img{
    width: 90%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: scale(2.95) translateY(-13%) translateX(-4%);
    transform-origin: center center;
}
.treatmentDetail_intro__contents__0EBpH{
    width: 100%;
}

.wedding_yellowbox {
        background: linear-gradient(
            to bottom,
            #ffffff 0%,
            #ffffff 15%,
            #fdf4ca 45%,
            #fdf4ca 100%
        );
    }
    

    .wedding_program {
        flex-direction: column;
        gap: 60px;
    }

    .wedding_program li>img {
        height: 120px;
    }

    .wedding_program span {
        font-size: 22px;
        width: auto;
    }

    .wedding_program p {
        font-size: 15px;
    }



    .wedding_process {
    flex-direction: column;
    gap: 32px;
    padding: 40px 20px;
  }

  .wedding_process li {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  
  .wedding_process li div {
    position: relative;   
    width: 100%;
    height: 220px;         
    border-radius: 20px;
    overflow: hidden;
  }


  .wedding_process li img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none !important; 
    border-radius: 20px;
    display: block;
  }


  .wedding_process li span,
  .wedding_process li p {
    text-align: left;
  }
}