*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color: var(--hp-color-text);
    background: var(--hp-color-surface);
    font-family: var(--hp-font-family-base);
    line-height: var(--hp-line-height-body-compact);
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--hp-color-text);
    background: var(--hp-color-surface);
    font-size: var(--hp-font-size-body-compact);
}

h1,
h2,
p,
ol {
    margin: 0;
}

ol {
    padding: 0;
    list-style: none;
}

a {
    display: block;
    color: inherit;
    text-decoration: none;
}

summary {
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

a:focus-visible,
summary:focus-visible {
    outline: var(--hp-focus-ring);
    outline-offset: var(--hp-focus-offset);
}

.max-w,
.max-wsp {
    width: calc(100% - (var(--hp-gutter-inline) * 2));
    max-width: var(--hp-content-max-width);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 600px) and (max-width: 960px) {
    .max-w,
    .max-wsp {
        max-width: 550px;
    }
}

.pc {
    display: none !important;
}

.sp {
    display: block !important;
}

.hover-opacity {
    transition: filter var(--hp-duration-fast);
}

.hover-opacity:hover {
    filter: brightness(0.78);
}

.skip-link {
    position: fixed;
    top: var(--hp-space-2);
    left: var(--hp-space-2);
    z-index: 100;
    padding: var(--hp-space-2) var(--hp-space-4);
    color: var(--hp-color-on-link);
    background: var(--hp-color-link);
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

.header {
    display: flex;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    height: var(--hp-header-height-compact);
    background: var(--hp-color-surface);
}

.header > .left {
    height: 44px;
}

.header > .right {
    width: 100%;
}

.header-categories {
    display: flex;
    height: 60px;
    padding: 0 8px;
}

.header-categories__link {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 0;
    padding: 4px 2px;
    border-bottom: 3px solid transparent;
    color: var(--hp-color-text);
    font-size: 12px;
    font-weight: var(--hp-font-weight-bold);
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.header-categories__link--monthly {
    --header-category-accent: var(--hp-color-category-monthly);
}

.header-categories__link--rizapa {
    --header-category-accent: var(--hp-color-category-rizapa);
}

.header-categories__link--hourly {
    --header-category-accent: var(--hp-color-category-hourly);
}

.header-categories__link:hover,
.header-categories__link[aria-current="page"] {
    border-bottom-color: var(--header-category-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.header-categories__supplement {
    font-size: 9px;
    font-weight: var(--hp-font-weight-regular);
}

.header .left .logo,
.footer .btm .logo {
    display: flex;
    align-items: baseline;
    color: var(--hp-color-link);
    font-family: var(--hp-font-family-display);
    font-weight: var(--hp-font-weight-bold);
    white-space: nowrap;
}

.header .left .logo {
    width: 180px;
    margin: 13px 0 0 14px;
    line-height: 1;
}

.logo__operator {
    font-size: 17px;
    letter-spacing: 0.04em;
}

.logo__service {
    margin-left: 7px;
    color: var(--hp-color-category-monthly-text);
    font-size: 12px;
    letter-spacing: 0.05em;
}

.site-main {
    min-height: 480px;
    margin-top: calc(var(--hp-header-height-compact) + 18px);
}

.site-main:focus-visible {
    outline: var(--hp-focus-ring);
    outline-offset: 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    margin-top: 37px;
    padding: 8px 16px 7px;
    color: var(--hp-color-on-breadcrumb);
    background: var(--hp-color-category-monthly);
}

.breadcrumbs--rizapa {
    background: var(--hp-color-category-rizapa);
}

.breadcrumbs--hourly {
    background: var(--hp-color-category-hourly-action);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 18px;
}

.breadcrumbs li:not(:last-child)::after {
    margin: 0 0.8em;
    content: ">";
}

.breadcrumbs a,
.breadcrumbs span {
    color: inherit;
}

.breadcrumbs [aria-current="page"] {
    font-weight: var(--hp-font-weight-medium);
}

.page-title {
    padding: 26px 0 22px;
    border-bottom: 1px solid var(--hp-color-border);
    background: var(--hp-color-surface);
}

.page-title h1 {
    font-family: var(--hp-font-family-base);
    font-size: 20px;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.page-title p {
    margin-top: var(--hp-space-2);
    color: var(--hp-color-text-muted);
    font-size: 13px;
}

.layout-preview {
    padding: 28px 0 60px;
    background: var(--hp-color-surface-muted);
}

.layout-preview__panel {
    padding: 28px 24px;
    border: 1px solid var(--hp-color-border);
    border-radius: var(--hp-radius-medium);
    background: var(--hp-color-surface);
    box-shadow: var(--hp-shadow-raised-compact);
}

.layout-preview__panel h2 {
    color: var(--hp-color-link);
    font-size: 18px;
}

.layout-preview__panel p {
    margin-top: var(--hp-space-3);
}

.footer {
    padding: 20px 0 12px;
    background: var(--hp-color-surface);
}

.footer .blank {
    color: var(--hp-color-link);
    text-align: center;
}

.footer .blank .cld {
    font-size: 14px;
    line-height: 21px;
}

.footer .blank .cld:first-child {
    margin-bottom: 23px;
}

.footer__promotion-lead,
.footer__promotion-links,
.footer__promotion-label {
    display: flex;
    align-items: center;
}

.footer__promotion-lead,
.footer__promotion-links {
    justify-content: center;
}

.footer__promotion-links {
    flex-direction: column;
}

.footer__promotion-label {
    margin-top: 4px;
    font-size: 14px;
    font-weight: var(--hp-font-weight-bold);
    line-height: 21px;
}

.footer__promotion-label img {
    display: block;
    width: 16px;
    height: 16px;
    margin-left: 7px;
}

.footer .btm {
    position: relative;
    margin-top: 28px;
}

.footer .btm .aside-link {
    display: flex;
    flex-wrap: wrap;
}

.footer .btm .aside-link span {
    font-size: 13px;
    line-height: 2.2;
    white-space: nowrap;
}

.footer .btm .aside-link span:nth-child(odd) {
    width: 136px;
}

.footer .btm .aside-link span:nth-child(even) {
    width: calc(100% - 136px);
}

.footer .btm .logo {
    justify-content: center;
    width: 189px;
    margin: 30px auto 21px;
}

.footer .btm .logo img {
    display: block;
    width: 100%;
    height: auto;
}

.footer .btm .copyright {
    display: block;
    color: var(--hp-color-text-muted);
    font-size: 12px;
    text-align: center;
    line-height: 18px;
}

@media (min-width: 961px) {
    html {
        line-height: var(--hp-line-height-body-wide);
    }

    body {
        font-size: var(--hp-font-size-body-wide);
    }

    .pc {
        display: block !important;
    }

    .sp {
        display: none !important;
    }

    .header {
        flex-wrap: nowrap;
        height: var(--hp-header-height-wide);
        padding: 0 80px;
    }

    .header .left {
        display: flex;
        align-items: flex-start;
    }

    .header > .right {
        display: flex;
        width: auto;
    }

    .header-categories {
        gap: 12px;
        margin-right: 20px;
        padding: 0;
    }

    .header-categories__link {
        flex: none;
        font-size: 14px;
        white-space: nowrap;
    }

    .header .left .logo {
        width: 237px;
        margin: 17px 0 0;
    }

    .logo__operator {
        font-size: 21px;
    }

    .logo__service {
        margin-left: 9px;
        font-size: 13px;
    }

    .header .right .pc.header__desktop {
        display: flex !important;
        align-items: flex-start;
        height: var(--hp-header-height-wide);
    }

    .header-favorite {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 50px;
        height: var(--hp-header-height-wide);
        color: var(--hp-color-text-muted);
        cursor: pointer;
        font-size: 10px;
        line-height: 15px;
        text-align: center;
        white-space: nowrap;
        text-decoration: none;
    }

    .header-favorite img {
        display: block;
        width: 25px;
        height: 23px;
        margin: 12px auto 3px;
    }

    .site-main {
        min-height: 560px;
        margin-top: var(--hp-header-height-wide);
    }

    .breadcrumbs {
        margin-top: 0;
        padding: 14px 80px 13px;
    }

    .breadcrumbs li {
        font-size: 14px;
        line-height: 21px;
    }

    .page-title {
        padding: 42px 0 36px;
    }

    .page-title h1 {
        font-size: 28px;
    }

    .page-title p {
        margin-top: var(--hp-space-3);
        font-size: 14px;
    }

    .layout-preview {
        padding: 48px 0 96px;
    }

    .layout-preview__panel {
        padding: 44px 48px;
        box-shadow: var(--hp-shadow-raised-wide);
    }

    .footer {
        padding: 50px 0 55px;
    }

    .footer .blank {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }

    .footer .blank .cld,
    .footer__promotion-links {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .footer .blank .cld:first-child {
        margin-bottom: 0;
    }

    .footer__promotion-lead {
        font-size: 12px;
        line-height: 16px;
    }

    .footer__promotion-label {
        margin: 0 0 0 11px;
        font-size: 12px;
        line-height: 16px;
    }

    .footer__promotion-label + .footer__promotion-label {
        margin-left: 50px;
    }

    .footer__promotion-label img {
        margin-left: 10px;
    }

    .footer > .max-wsp {
        width: auto;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
    }

    .footer .btm {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-flow: row-reverse;
        margin: 68px 80px 0 82px;
    }

    .footer .btm .logo {
        justify-content: flex-start;
        width: 237px;
        margin: 0;
    }

    .footer .btm .aside-link {
        margin-right: 147px;
    }

    .footer .btm .aside-link span,
    .footer .btm .aside-link span:nth-child(odd),
    .footer .btm .aside-link span:nth-child(even) {
        width: auto;
        margin-left: 30px;
        font-size: 14px;
        line-height: 21px;
    }

    .footer .btm .copyright {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        font-size: 12px;
        line-height: 18px;
    }
}

@media (min-width: 961px) and (max-width: 1200px) {
    .footer .blank {
        flex-wrap: wrap;
        row-gap: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
