@charset "UTF-8";

.gift{
    padding: 10rem 0;
}

.gift p{
    margin-bottom: 0;
}

.gift__inner{
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.gift__title-jp{
    font-size: calc(28 / 10 * 1rem);
    font-weight: 500;
    font-family: var(--font-NotoSansJp);
    line-height: 150%;
}

.gift__title-en{
    font-size: calc(14 / 10 * 1rem);
    font-weight: 500;
    font-family: 'Lato', sans-serif;
    line-height: 150%;
    color: var(--themeColor);
    padding-bottom: 0;
}

.gift-box{
    background-color: #F0FAFF;
    padding: 20px 0;
    border-radius: 15px;
    margin-top: 60px;
}

.gift-box__text{
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 0!important;
    text-align: center;
}

.gift-box__block1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: min(40 / 1440 * 100vw, 40px);
    margin-top: 45px;
}

.gift-box__block1-left p{
    text-align: left;
}

.gift-box__block1 img{
    width: min(400 / 1440 * 100vw, 400px);
    aspect-ratio: 400 / 284;
}

.gift__section{
    margin-top: 60px;
}

.gift__section-content{
    margin-top: 30px;
}

.gift__section-content p{
    text-align: left;
}

.gift__section h2 {
    padding-bottom: 8px;
    font-family: var(--font-NotoSansJp);
    border-bottom: 2px solid var(--themeColor);
    font-size: 2.0rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 30px;
    text-align: left;
}

.gift__section h3 {
    font-family: var(--font-NotoSansJp);
    border-left: 3px solid var(--themeColor);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 12px;
    padding: 0 8px;
    text-align: left;
}

.gift__steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.gift__step-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.gift__step-item:not(:last-child)::after{
    position: absolute;
    content: '';
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    display: block;
    width: 0;
    height: 0;
    border-left: 27px solid transparent;
    border-right: 27px solid transparent; 
    border-top: 16px solid var(--themeColor);
    margin: 0 auto;
}

.gift__step-item-left {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
}

.gift__step-item-number {
    font-family: var(--font-Poppins);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--themeColor);
    letter-spacing: 0.04em;
}

.gift__step-item-img {
    width:86px;
    object-fit: contain;
    aspect-ratio: 86 / 74;
    flex-shrink: 0;
}

.gift__step-item-right {
    flex: 1;
}

.gift__step-item-text {
    font-family: var(--font-NotoSansJp);
    margin-top: 30px;
    line-height: 1.6;
    font-size: 1.4rem;
    font-weight: 400;
    text-align: left;
}


.gift__step-item-tel {
    display: flex;
    align-items: center;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.0;
    margin-top: 2.0rem;
}

.gift__step-item-tel-text{
    margin-left: 0.5rem;
    display: flex;
    align-items: flex-end;
}

.gift__step-item-tel-img {
    width: 18px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.gift__step-item-tel-sub {
    font-size: 1.4rem;
    font-weight: 400;
}

.gift__step-item-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 2.0rem;
    margin-top: 1.6rem;
}

a.gift__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    padding: 26px 20px;
    border-radius: 40px;
    background-color: var(--themeColor);
    color: var(--whiteColor);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0;
    text-align: center;
    min-height: 50px;
    max-height: 50px;
    border: 1px solid var(--themeColor);
}

a.gift__btn.gift__btn--web{
    background-color: #F09B99;
    border: 1px solid #F09B99;
}

a.gift__btn:hover {
    background-color: var(--whiteColor);
    color: var(--themeColor);
}

a.gift__btn.gift__btn--web:hover{
    background-color: var(--whiteColor);
    color: #F09B99;
}

a.gift__btn::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7.5px solid var(--whiteColor);
}

a.gift__btn:hover::before {
    border-left: 7.5px solid var(--themeColor);
}

a.gift__btn.gift__btn--web:hover::before {
    border-left: 7.5px solid #F09B99;
}

.gift__warning-list li{
    font-family: var(--font-NotoSansJp);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.0;
}

.gift-popular-menu{
    margin-top: 60px;
}

.gift-popular-menu__text{
    padding-top: 30px;
    font-size: 1.6rem;
}

.gift-popular-menu__box{
    background-color: #F0FAFF;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.gift-popular-menu__title-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-popular-menu__title{
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.8;
    padding: 0 0.5rem;
    border-bottom: 1px solid var(--themeColor);
}

.gift-popular-menu__list{
    display: flex;
    justify-content: space-between;
    gap: 35px;
    margin-top: 1.25rem;
}

.gift-popular-menu__item{
    width: 33.3%;
    aspect-ratio: 68 / 59;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.gift-popular-menu__item.--spots-freckles-liver{
    background-image: url(../img/gift/gift-popular-menu-spots-freckles-liver.png);
}

.gift-popular-menu__item.--hair-loss{
    background-image: url(../img/gift/gift-popular-menu-hair-loss.png);
}

.gift-popular-menu__item.--piiling{
    background-image: url(../img/gift/gift-popular-menu-piiling.png);
}

.gift-popular-menu__item-button{
    font-size: 1.5rem;
    font-weight: 500;
    padding: 6px 15px;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    font-feature-settings: "palt";
    letter-spacing: -0.05em;
    background-color: var(--whiteColor);
    color: var(--themeColor);
    border-radius: 2.2rem;
}

.gift-popular-menu__item-button-icon{
    background-image: url(../img/right-arrow-primary.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    width: 12px;
    aspect-ratio: 1 / 1;
    display: inline-block;
    margin-left: 1.0rem;
}

.gift-popular-menu__buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.0rem;
    margin-top: 3.0rem;
}

@media screen and (max-width: 1024px) {
    .gift-popular-menu__list{
        gap: 2.0rem;
    }
}
@media screen and (max-width: 767px) {
    .gift{
        padding: 6rem 0;
    }
    .gift__section{
        margin-top: 3.5rem;
    }
    .gift-box{
        padding: 1.25rem 0.875rem;
    }
    .gift-box__text{
        font-size: 1.4rem;
    }
    .gift-box__block1{
        flex-direction: column-reverse;
        align-items: self-start;
    }
    .gift__steps {
        gap: 3.5rem;
    }
    .gift__step-item{
        flex-direction: column;
        align-items: center;
    }
    .gift__step-item:not(:last-child)::after{
        bottom: -2.5rem;
    }
    .gift-box__block1 img{
        width: 100%;
    }
    .gift__step-item-text{
        margin-top: 0;
    }
    .gift__step-item-tel{
        justify-content: center;
    }
    .gift__step-item-tel-text{
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .gift__step-item-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 2.5rem;
    }
    .gift__step-item-button{
        line-height: 1.4;
    }
    .gift-popular-menu{
        margin-top: 1.75rem;
    }
    .gift-popular-menu__list{
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 3.0rem;
    }
    .gift-popular-menu__item{
        width: 100%;
        background-size: cover;
    }
    .gift-popular-menu__buttons{
        flex-direction: column;
        align-items: center;
    }
    .gift-popular-menu__item-button{
        font-size: calc(25vw / 767 * 100);
        padding: 1.25rem 1.0rem;
        width: 80%;
        gap: 0.5rem;
    }
    .gift-popular-menu__item-button-icon{
        width: calc(24vw / 767 * 100);
    }
    
}

