/* Figma template button used by in-page navigation. */

.c-template-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 345px;
    min-width: 345px;
    height: 65px;
    padding: 0 46px 0 24px;
    border: 0;
    border-radius: 0;
    color: var(--color-white);
    font-family: var(--font-ja);
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 1;
    letter-spacing: 1.6px;
    text-align: center;
    transition: opacity var(--transition);
}

.c-template-button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
}

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

.c-template-button--red {
    background: #e8002b;
}

.c-template-button--orange {
    background: #ff8a00;
}

.c-template-button--navy {
    background: #153e75;
}

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

@media (max-width: 768px) {
    .c-template-button {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        height: 58px;
        padding-right: 42px;
        font-size: 16px;
        letter-spacing: 1.28px;
    }
}
