/* =========================
   Link buttons for ZO pages
========================= */

.menu-content .menu-main .button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.menu-content .menu-main .link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid #cfd6e6;
    background: #f8f9fc;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.menu-content .menu-main .link-button::after{
    content: '';
}

.menu-content .menu-main .link-button:hover {
    background: #eef2f8;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.10);
    transform: translateY(-1px);
}

.menu-content .menu-main .link-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

@media (max-width: 560px) {
    .menu-content .menu-main .button-container {
        gap: 8px;
    }

    .menu-content .menu-main .link-button {
        width: 100%;
        min-height: 42px;
        font-size: 14px;
    }
}
/* =========================
   ZO comparison table
   mobile horizontal scroll
========================= */

.scale-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.scale-table {
    min-width: 720px;
}

.scale-table th,
.scale-table td {
    white-space: normal;
}

.scale-table .table-note {
    min-width: 150px;
}

/* スマホでは無理に折り返さず、横スクロール優先 */
@media (max-width: 560px) {
    .scale-table-wrap {
        margin-left: -4px;
        margin-right: -4px;
        padding-bottom: 6px;
    }

    .scale-table {
        min-width: 760px;
    }

    .scale-table th,
    .scale-table td {
        font-size: 13px;
        line-height: 1.55;
    }

    .scale-table .table-note {
        min-width: 180px;
    }
}
.scroll-guide {
    display: none;
}

@media (max-width: 560px) {
    .scroll-guide {
        display: block;
        font-size: 12px;
        color: #6b7280;
        margin: 4px 0 6px;
        text-align: right;
    }
}

.level-item {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

/* スマホ最適化 */
@media (max-width: 560px) {
    .level-item {
        line-height: 1.5;
        padding: 10px;
    }
}