/* Shared Figma pill-shaped action button. */

.c-round-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 400px;
    max-width: 100%;
    height: 70px;
    padding: 0 70px 0 40px;
    border: 0;
    border-radius: 100px;
    color: var(--color-white);
    font-family: var(--font-ja);
    font-size: 24px;
    font-weight: var(--fw-bold);
    line-height: 1;
    letter-spacing: 1.92px;
    text-align: center;
    cursor: pointer;
    transition: opacity var(--transition);
    --round-button-arrow: #d9d9d9;
}

.c-round-button:hover {
    color: var(--color-white);
    opacity: .78;
}

.c-round-button--gray {
    background: #919191;
}

.c-round-button--navy {
    background: var(--color-navy);
    --round-button-arrow: var(--color-red);
}

.c-round-button--red {
    background: var(--color-red);
    --round-button-arrow: var(--color-navy);
}

.c-round-button--orange {
    background: var(--color-orange);
    --round-button-arrow: var(--color-orange);
}

.c-round-button--gradient {
    background: linear-gradient(to right, var(--color-orange), var(--color-gold));
    --round-button-arrow: var(--color-red);
}

.c-round-button__label {
    display: block;
    white-space: nowrap;
}

.c-round-button__icon {
    position: absolute;
    top: 15px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
}

.c-round-button__icon::after {
    content: '';
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 11px solid var(--round-button-arrow);
}

.c-round-button--square {
    width: 350px;
    height: 90px;
    padding: 0;
    border-radius: 0;
}

.c-round-button--square.c-round-button--gradient {
    background: linear-gradient(to right, #ff8a00, #ffc83d);
}

.c-round-button--square .c-round-button__icon {
    display: none;
}

.top-html .c-round-button {
    width: 400px;
    height: 70px;
    min-height: 70px;
}

@media (max-width: 768px) {
    .c-round-button,
    .top-html .c-round-button {
        width: 100%;
        max-width: 360px;
        height: 58px;
        min-height: 58px;
        padding: 0 58px 0 28px;
        font-size: 18px;
        letter-spacing: 1.44px;
    }

    .c-round-button__icon {
        top: 9px;
        right: 9px;
    }

    .c-round-button--square {
        width: 100%;
        max-width: 350px;
        height: 70px;
        min-height: 70px;
        padding: 0;
        border-radius: 0;
        font-size: 20px;
        letter-spacing: 1.6px;
    }
}
