.slogan + .terms {
    margin-top: 0;
}

.terms {
    margin-bottom: 100px;
}

.terms + noindex > .i-manager {
    margin-top: 0;
}

.terms__section + .terms__section {
    margin-top: 72px;
}

.terms__title {
    margin: 0 0 10px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    color: #000;
}

.terms__subtitle {
    margin: 0 0 40px;
    max-width: 720px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: #6b6b6b;
}

.terms__grid {
    display: grid;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    align-items: start;
}

.terms__grid--4 {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 32px;
}

.terms__grid--5 {
    grid-template-columns: repeat(5, 1fr);
    column-gap: 24px;
}

.terms__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.terms__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 0 16px;
    flex-shrink: 0;
    color: #e21d24;
}

.terms__item-icon svg {
    display: block;
    width: 32px;
    height: 32px;
}

.terms__item-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    width: 100%;
}

.terms__item-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
}

.terms__item-text {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #4a4a4a;
}

.terms__item-tag {
    display: inline-block;
    margin-top: 14px;
    padding: 5px 12px;
    border-radius: 8px;
    background: #f3f3f3;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #6b6b6b;
}

.terms__note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 32px;
    padding: 18px 24px;
    border-radius: 16px;
    background: #f5f5f5;
}

.terms__note-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.terms__note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    flex-shrink: 0;
}

.terms__note-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.terms__note-text {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #4a4a4a;
}

.terms__note-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #e21d24;
    text-decoration: none;
    white-space: nowrap;
}

.terms__note-link:hover {
    color: #c4181e;
}

@media screen and (max-width: 1100px) {
    .terms__title {
        font-size: 32px;
    }

    .terms__grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 28px;
    }

    .terms__grid--5 {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 24px;
    }
}

@media screen and (max-width: 960px) {
    .terms {
        margin-bottom: 80px;
    }

    .terms__section + .terms__section {
        margin-top: 56px;
    }

    .terms__title {
        font-size: 28px;
    }

    .terms__subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }
}

@media screen and (max-width: 780px) {
    .terms {
        margin-bottom: 60px;
    }

    .slogan + .terms {
        margin-top: 0;
    }

    .terms__title {
        font-size: 24px;
    }

    .terms__grid--4,
    .terms__grid--5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }

    .terms__note {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 18px;
        gap: 14px;
    }
}

@media screen and (max-width: 560px) {
    .terms {
        margin-bottom: 40px;
    }

    .terms__section + .terms__section {
        margin-top: 40px;
    }

    .terms__title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .terms__subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .terms__grid {
        margin-bottom: 20px;
    }

    .terms__grid--4,
    .terms__grid--5 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .terms__item {
        flex-direction: row;
        gap: 14px;
    }

    .terms__item-icon {
        width: 32px;
        height: 32px;
        margin: 0;
    }

    .terms__item-icon svg {
        width: 28px;
        height: 28px;
    }

    .terms__item-title {
        font-size: 15px;
    }

    .terms__item-tag {
        margin-top: 10px;
    }

    .terms__note-text,
    .terms__note-link {
        font-size: 13px;
    }

    .terms__note-link {
        white-space: normal;
    }
}
