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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "LINE Seed JP", sans-serif;
    line-height: 1.5;
    background: #fff;
    overflow-x: hidden;
}

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

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

sup {
    font-size: 10px;
}

.hr__divider {
    border: none;
    height: 1px;
    background-color: #d0e3cc;
    max-width: 1200px;
    margin: 14px 0 30px;
}

.top-bar {
    background: #ffffff;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 60px;
    justify-content: center;
}

.hero {
    position: relative;
    width: auto;
    max-height: 340px;
    background-image: url("../images/MG_Hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: visible;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px 72px;
}

.hero__text {
    max-width: 480px;
    color: #fff;
}

.hero__heading {
    font-size: 38px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 20px;
    max-width: 280px;
}

.hero__sub {
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
}

.hero__pin {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.article {
    padding-bottom: 56px;
    max-width: 1200px;
    margin: 0 auto;
}

.article__header {
    padding: 28px 0 40px;
}

.article__date {
    font-size: 12px;
    color: #000;
    margin-bottom: 24px;
}

.article__title {
    font-size: 32px;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: #23374c;
}

.article__intro {
    font-size: 20px;
}

.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 50px;
    max-width: 1200px;
    margin: 0 auto 70px;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.award-img {
    width: 62px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.award-text {
    font-size: 16px;
    line-height: 1.4;
    color: #23374c;
}

.category-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    color: #23374c;
    margin-bottom: 12px;
}

.category-description {
    font-size: 16px;
    color: #000;
    line-height: 1.7;
}

.category-section:nth-of-type(odd) {
    position: relative;
    padding: 20px 0;
}

.category-section:nth-of-type(odd)::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background-color: #f7f7fb;
    z-index: -1;
}

/* Even sections: image left */

.product-card {
    display: grid;
    grid-template-columns: 48% 1fr;
    grid-template-rows: auto 1fr auto;
    column-gap: 40px;
    background: transparent;
    padding: 32px 0 0;
}

.card-image-wrap {
    grid-column: 1;
    grid-row: 1 / 3;
    position: relative;
    margin-bottom: 12px;
}

.pricing-cta {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}

.product-name-wrap {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.product-name-wrap img {
    width: 26px;
    height: auto;
}

.card-details-col {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Odd sections: image right */

.category-section:nth-of-type(odd) .product-card {
    grid-template-columns: 1fr 48%;
}

.category-section:nth-of-type(odd) .card-image-wrap {
    grid-column: 2;
    grid-row: 1 / 3;
}

.category-section:nth-of-type(odd) .pricing-cta {
    grid-column: 2;
    grid-row: 3;
}

.category-section:nth-of-type(odd) .product-name-wrap {
    grid-column: 1;
    grid-row: 1;
}

.category-section:nth-of-type(odd) .card-details-col {
    grid-column: 1;
    grid-row: 2 / 4;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1b2a4a;
    line-height: 1.3;
}

.product-name sup {
    font-size: 0.6em;
}

.badge {
    position: absolute;
    top: 24px;
    left: 40px;
    background-color: #d0e3cc;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 32px;
    z-index: 2;
    letter-spacing: 0.02em;
}

.product-image {
    width: 100%;
    max-width: 550px;
    height: 360px;
    object-fit: cover;
}

.pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.price-label {
    font-size: 0.82rem;
    color: #000;
}

.price {
    font-size: 24px;
    color: #3a5878;
    line-height: 1.6;
    font-weight: 400;
    padding: 6px 0;
}

.financing {
    font-size: 0.78rem;
    color: #000;
}

.financing-total {
    font-size: 0.75rem;
    color: #000;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #23374c;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    padding: 14px 36px;
    border-radius: 32px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.btn-learn-more:hover {
    background-color: #2c3e6b;
}

.product-description {
    font-size: 16px;
    color: #000;
    line-height: 1.7;
    margin-bottom: 24px;
}

.spec-group {
    margin-bottom: 16px;
    text-align: left;
}

.spec-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    margin-bottom: 6px;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    border: 1.5px solid #d0e3cc;
    border-radius: 32px;
    padding: 5px 16px;
    background: #d0e3cc25;
    color: #23374c;
}

.footer {
    background: #a1cca525;
    color: #000;
    padding: 32px 0;
}

.footer p {
    font-weight: 400;
    font-size: 12px;
}

.footer__inner {
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 14px;
    width: auto;
}

.footer__copy {
    font-size: 12px;
    color: #000;
    text-align: center;
    padding: 6px 14px;
}

/* 960px */

@media (max-width: 960px) {
    .wrap {
        width: min(960px, 100% - 24px);
    }

    .top-bar__inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px 0;
        width: 100%;
    }

    .top-bar__inner img {
        max-width: 230px;
    }

    .hero {
        min-height: auto;
        background-image: unset;
        background-color: #d0e3cc50;
    }

    .hero__inner {
        flex-direction: column;
        align-items: center;
        padding: 32px 20px 56px;
        gap: 24px;
        text-align: center;
    }

    .hero__heading {
        font-size: 24px;
        font-weight: 600;
        color: #23374c;
        max-width: 100%;
    }

    .hero__sub {
        font-size: 18px;
        color: #23374c;
    }

    .article__header {
        padding: 50px 0 30px;
        text-align: center;
    }

    .article__title {
        font-size: 28px;
        max-width: 310px;
        margin: 0 auto;
        line-height: 1.5;
    }

    .article__intro {
        font-size: 16px;
        line-height: 1.5;
        font-weight: 400;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 12px;
        margin: 0 auto 40px;
    }

    .award-img {
        width: 70px;
        height: 52px;
    }

    .award-text {
        font-size: 0.9rem;
    }

    .award-text strong {
        font-size: 0.95rem;
    }

    .award-text strong::after {
        content: ":";
    }

    .award-separator {
        display: none;
    }

    .award-product {
        display: block;
    }

    .category-section {
        padding: 0 16px;
        text-align: center;
    }

    .category-section:nth-of-type(odd) {
        padding: 24px 16px;
    }

    .category-title {
        font-size: 1.35rem;
    }

    .category-description {
        font-size: 0.88rem;
    }

    .product-card,
    .category-section:nth-of-type(odd) .product-card {
        display: flex;
        flex-direction: column;
        padding: 16px 0;
    }

    .product-name-wrap,
    .category-section:nth-of-type(odd) .product-name-wrap {
        order: -1;
        margin-top: 0;
        margin-bottom: 12px;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .product-name-wrap img {
        width: 18px;
        height: auto;
    }

    .card-image-wrap,
    .category-section:nth-of-type(odd) .card-image-wrap {
        order: 0;
        margin: 0 auto;
    }

    .pricing-cta,
    .category-section:nth-of-type(odd) .pricing-cta {
        order: 2;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
    }

    .card-details-col,
    .category-section:nth-of-type(odd) .card-details-col {
        order: 3;
        margin-top: 20px;
    }

    .product-name-wrap {
        padding: 10px 0;
    }

    .product-name {
        font-size: 18px;
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .badge {
        top: 4vw;
        left: 6vw;
    }

    .product-description {
        font-size: 0.88rem;
    }

    .pill {
        font-size: 14px;
    }

    .price {
        font-size: 1.5rem;
    }

    .btn-learn-more {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }

    .footer__logo img {
        width: auto;
        height: 20px;
    }
}

/* 961px*/

@media (min-width: 961px) {
    .article {
        padding: 0 20px;
    }

    .awards-grid a:hover .award-text,
    .awards-grid a:hover .award-text strong {
        transition: color 0.2s ease;
        color: #135297;
    }
}
