@import "style.css";

main {
    width: 100%;
}

.bigimg,
.commerce-content-box {
    width: 68vw;
    margin: 0 auto;
}

.bigimg {
    height: calc(512/1330 * 68vw);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bigimg img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.commerce-content-box .commerce-tit {
    font-size: 30px;
    font-weight: 500;
    color: #0073C2;
    padding: 60px 0 0;
}

.commerce-content-box .commerce-desc {
    font-size: 14px;
    color: #6C98B7;
    text-align: center;
    line-height: 2;
    padding: 10px 0;
    text-align: left;
}

.commerce-content-box .commerce-content {
    width: 960px;
    font-size: 16px;
    color: var(--color-2);
    line-height: 2;
    padding-bottom: 60px;
}

.commerce-content-box .commerce-content .grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    margin: 20px 0;
    border-right: 1px solid #4874cb;
    border-bottom: 1px solid #4874cb;
}

.commerce-content-box .commerce-content .grid div {
    border: 1px solid #4874cb;
    border-right: none;
    border-bottom: none;
    padding: 3px 6px;
}

@media screen and (max-width: 1200px) {
    .commerce-content-box .commerce-content {
        width: 100%;
    }
}

@media screen and (max-width: 1330px) and (min-width: 768px) {
    .bigimg {
        width: 92vw;
        height: calc(512 / 1330 * 92vw);
    }

    .commerce-content-box {
        width: 92vw;
    }
}

@media screen and (max-width: 1023px) and (min-width: 768px) {}

@media screen and (max-width: 767px) {
    .bigimg {
        width: 100vw;
        height: calc(512 / 1330 * 100vw);
    }

    .commerce-content-box {
        width: 100vw;
        padding: 0 1rem;
    }

    .commerce-content-box .commerce-tit {
        font-size: 1.45rem;
        padding: 1rem 0 0;
    }

    .commerce-content-box .commerce-desc {
        font-size: 0.75rem;
    }

    .commerce-content-box .commerce-content {
        font-size: 0.875rem;
        padding-bottom: 1.5rem;
    }
}