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

.online-page {
    width: 100%;
    background: #fff;
    color: #111;
    overflow-x: hidden;
}

.online-page img {
    max-width: 100%;
    display: block;
}

.ot-hero {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    padding: 70px 0 120px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 86px;
    align-items: center;
}

.ot-hero__image {
    width: 100%;
}

.ot-hero__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.ot-hero__text {
    text-align: center;
}

.ot-label {
    margin: 0 0 18px;
    font-size: 12px;
    letter-spacing: 0.18em;
}

.ot-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.35;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.ot-hero__text p {
    margin: 0;
    font-size: 14px;
    line-height: 2;
}

.ot-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 42px;
    margin-top: 30px;
    padding: 0 28px;
    border-radius: 999px;
    background: #101412;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.ot-button--small {
    min-width: 128px;
    height: 36px;
    margin-top: 0;
}

.ot-section {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    padding: 70px 0 90px;
}

.ot-section h2 {
    margin: 0 0 45px;
    text-align: center;
    font-size: 21px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.ot-tabs {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 54px;
}

.ot-tabs button {
    appearance: none;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    padding: 0 0 10px;
    color: #111;
    font-size: 13px;
    cursor: pointer;
}

.ot-tabs button.is-active {
    border-color: #111;
}

.ot-product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 56px 34px;
    width: 100%;
}

.ot-product {
    min-width: 0;
}

.ot-product a {
    display: block;
    color: #111;
    text-decoration: none;
}

.ot-product figure {
    width: 100%;
    margin: 0 0 15px;
    background: #f6f6f6;
    overflow: hidden;
}

.ot-product figure img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ot-product a:hover figure img {
    transform: scale(1.04);
}

.ot-product h3 {
    margin: 0 0 5px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.ot-product p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.ot-more {
    margin-top: 48px;
    text-align: center;
}

.ot-category-grid,
.ot-model-grid,
.ot-brand-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.ot-category,
.ot-model,
.ot-brand {
    display: block;
    color: #111;
    text-decoration: none;
}

.ot-category img,
.ot-model img,
.ot-brand img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f6f6f6;
}

.ot-category span,
.ot-model span,
.ot-brand span {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.ot-news-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 42px;
}

.ot-news-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    color: #111;
    text-decoration: none;
}

.ot-news-card img {
    width: 180px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.ot-news-card time {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
}

.ot-news-card strong {
    display: block;
    font-size: 13px;
    line-height: 1.8;
}

.ot-info-list {
    width: min(900px, 100%);
    margin: 0 auto;
}

.ot-info-list a {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 20px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    color: #111;
    text-decoration: none;
    font-size: 13px;
}

.ot-info-list a::after {
    content: "›";
    text-align: right;
}

@media (max-width: 900px) {
    .ot-hero,
    .ot-section {
        width: calc(100% - 40px);
    }

    .ot-hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 28px 0 70px;
    }

    .ot-hero__text {
        padding: 0 8px;
    }

    .ot-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 18px;
    }

    .ot-category-grid,
    .ot-model-grid,
    .ot-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 16px;
    }

    .ot-news-grid {
        grid-template-columns: 1fr;
    }

    .ot-news-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .ot-news-card img {
        width: 120px;
    }
}

@media (max-width: 520px) {
    .ot-hero,
    .ot-section {
        width: calc(100% - 28px);
    }

    .ot-section {
        padding: 54px 0 70px;
    }

    .ot-section h2 {
        margin-bottom: 34px;
        font-size: 18px;
    }

    .ot-tabs {
        gap: 22px;
        margin-bottom: 38px;
        flex-wrap: wrap;
    }

    .ot-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 14px;
    }

    .ot-product h3,
    .ot-product p {
        font-size: 11px;
    }

    .ot-news-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ot-news-card img {
        width: 100%;
    }

    .ot-info-list a {
        grid-template-columns: 1fr 20px;
        gap: 8px;
    }

    .ot-info-list a span {
        grid-column: 1 / -1;
    }
}