@charset "UTF-8";

.gift__title{
    font-size: calc(28 / 16 * 1rem);
    font-weight: 500;
    font-family: Zen Maru Gothic;
    line-height: 150%;
    color: var(--color-primary);
}

.gift__title::after {
    content: "";
    display: block;
    width: 65px;
    height: 5px;
    background: url(../img/common/title-deco-orange.png) repeat-x center center/contain;
    margin: 14px auto 0;
}

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

.gift-box__text{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    color: #333;
    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 img{
    width: min(400 / 1440 * 100vw, 400px);
    aspect-ratio: 400 / 284;
}

.gift__section{
    margin-top: 60px;
}

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

.gift__section h2 {
    padding-bottom: 8px;
    font-family: Zen Maru Gothic;
    border-bottom: 2px solid var(--color-primary);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 30px;
}

.gift__section h3 {
    border-left: 3px solid var(--color-primary);
    font-size: 1.0rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 12px;
    padding: 0 8px;
}

.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(--color-primary); 
    margin: 0 auto;
}

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

.gift__step-item-number {
    font-family: "Poppins", sans-serif;
    font-size: 1.0rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-primary);
    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 {
    margin-top: 30px;
    line-height: 1.6;
    font-size: 1.0rem;
    font-weight: 400;
    color: #333;
}


.gift__step-item-tel {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.0;
    color: #333;
    margin-top: 1.25rem;
}

.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.0rem;
    font-weight: 400;
}

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

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

.gift-popular-menu__text{
    padding-top: 30px;
    text-align: center;
}

.gift-popular-menu__box{
    background-color: #F5FAE7;
    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.0rem;
    font-weight: 500;
    line-height: 1.8;
    color: #333;
    padding: 0 0.5rem;
    border-bottom: 1px solid var(--color-primary);
}

.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.--potenza{
    background-image: url(../img/gift/gift-popular-menu-potenza.png);
}

.gift-popular-menu__item-button{
    font-size: 15px;
    font-weight: 500;
    padding: 12px 15px;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    font-feature-settings: "palt";
    letter-spacing: -0.05em;
}

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

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

@media screen and (max-width: 767px) {
    .gift__section{
        margin-top: 1.75rem;
    }
    .gift-box{
        padding: 1.25rem 0.875rem;
    }
    .gift-box__block1{
        flex-direction: column-reverse;
    }
    .gift__steps {
        gap: 2.5rem;
    }
    .gift__step-item{
        flex-direction: column;
        align-items: center;
    }
    .gift__step-item:not(:last-child)::after{
        bottom: -1.75rem;
    }
    .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;
    }
    .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;
    }
    .gift-popular-menu__item{
        width: 100%;
        background-size: cover;
    }
    .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);
    }
    
}

