.hero-lowerPage {
    /* 基本はcommon.cssだが画像だけは各ページのcss */
    background-image: url(/img/bg-car-showroom.jpeg);
}

.mainMessageSection {
    background-color: var(--white);
    padding-bottom: 64px;
}

.mainMessageSection .content--titleSpace {
    width: 100%;
    padding: 64px 40px;
    background-image: url(/img/bg-triangle-bottom-orange.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: grid;
    place-items: center;
    position: relative;
}

.mainMessageSection .content--titleSpace .content--inner-small {
    z-index: 1;
    line-height: 1.3;
}

.mainMessageSection .content--titleSpace .content--title {
    font-size: 4rem;
    /* text-align: left; */
}

.mainMessageSection .content--titleSpace .content--text {
    font-size: 2.4rem;
    /* text-align: left; */
    margin-top: 16px;
}
.mainMessageSection .media {
    width: 100%;
    align-items: center;
    margin-top: 32px;
}

.mainMessageSection .media--body {
    flex: 1 0;
    background-color: var(--bg-color-trasparentgrey);
    margin-right: -600px;
    padding: 42px 24px 64px;
    z-index: 1;
}

.mainMessageSection .media--imgBox {
    width: 100%;
    max-width: 1000px;
}

.mainMessageSection .media--img {
    width: 100%;
}

.mainMessageSection .media--title {
    font-size: 3.2rem;
    line-height: 1.5;
}

.mainMessageSection .media--textBox {
    margin-top: 24px;
}

.mainMessageSection .media--text {
    font-size: 2rem;
    font-weight: bold;
    line-height: 2;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .mainMessageSection {
        padding-top: 0;
        padding-bottom: 32px;
    }

    .mainMessageSection .media--body {
        flex: 1 0;
        margin-left: 54px;
        margin-right: -400px;
        padding: 24px;
        z-index: 1;
    }

    .mainMessageSection .media--title {
        font-size: 2rem;
    }

    .mainMessageSection .media--textBox {
        margin-top: 16px;
    }

    .mainMessageSection .media--text {
        font-size: 1.6rem;
    }
    
    .mainMessageSection .media--imgBox {
        max-width: 450px;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .mainMessageSection {

    }

    .mainMessageSection .content--titleSpace {
        padding: 32px;;
    }

    .mainMessageSection .content--titleSpace .content--title {
        font-size: 2.4rem;
    }

    .mainMessageSection .content--textBox {
        margin-top: 24px;
    }

    .mainMessageSection .content--titleSpace .content--text {
        font-size: 1.8rem;
    }
    
    .mainMessageSection .media {
        margin-top: 16px;
        flex-direction: column-reverse;
    }
    
    .mainMessageSection .media--imgBox {
        width: 100%;
    }

    .mainMessageSection .media--body {
        width: 90%;
        margin-top: -32px;
        margin-right: 0;
        margin-left: 0;
    }

    .mainMessageSection .media--title {
        /* font-size: 2.4rem; */
    }

    .mainMessageSection .media--text {
        line-height: 1.5;
    }

}

.companySection {
    padding: 0 5% 64px;
    text-align: center;
}

.companySection .content--title {
    font-size: 4rem;
    padding: 1em;
    width: 100%;
    border-top: 3px solid var(--black);
    border-bottom: 3px solid var(--black);
}

.companySection .content--textBox {
    margin-top: 48px;
}

.companySection .grid-col4 {
    margin-top: 48px;
    gap: 24px;
}

.companySection .card--body {
    padding-left: 0;
    padding-right: 0;
}

.companySection .card--text {
    text-align: left;
    text-align: justify;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    
    .companySection .grid-col4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .companySection .content--title {
        font-size: 3.2rem;
        padding: 16px;
    }

    .companySection .content--textBox {
        margin-top: 32px;
    }

    .companySection .content--text {
        text-align: left;
    }
    
    .companySection .grid-col4 {
        margin-top: 32px;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .companySection .card--title {
        padding: 12px 8px;
        font-size: 1.8rem;
    }
}

.companySection .horizontalTableBox {
    width: 100%;
    margin-top: 48px;
}

.companySection .horizontalTable {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 1.4rem;
}

.companySection .horizontalTable--body {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

.companySection .horizontalTable--bodyRow {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.companySection .horizontalTable--header {
    width: 25%;
    min-width: 240px;
    color: var(--black);
    text-align: left;
    font-size: 1.6rem;
    font-weight: bold;
    background-color: var(--bg-color-table-header);
    padding: 24px 18px;
    border-bottom: 1px solid var(--white);
}

.companySection .horizontalTable--text {
    width: auto;
    color: var(--font-color-black);
    text-align: left;
    font-size: 1.6rem;
    font-weight: bold;
    background-color: var(--bg-color-lightgrey);
    padding: 24px 18px;
    border-bottom: 1px solid var(--white);
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .companySection .horizontalTableBox {
        margin-top: 24px;
    }

    .companySection .horizontalTable--body {
        display: block;
    }

    .companySection .horizontalTable--bodyRow {
        display: block;
        margin-top: 8px;
    }

    .companySection .horizontalTable--header {
        display: block;
        width: 100%;
        padding: 8px 5%;
        font-size: 1.2rem;
    }
    
    .companySection .horizontalTable--text {
        display: block;
        width: 100%;
        padding: 12px 5%;
        font-size: 1.4rem;
        background-color: transparent;
    }
}

.companySection .grid-col3 {
    margin-top: 48px;
    gap: 8px;
}

.companySection .grid-col3--img {
    width: 100%;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .companySection .grid-col3 {
        margin-top: 24px;
    }
}

.areaAndAccessSection {
    padding-bottom: 64px;
}

.areaAndAccessSection .content--header {
    width: 100%;
    padding: 64px 5%;
    text-align: center;
    background-image: url(/img/bg-access.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.areaAndAccessSection .content--header .content--title {
    font-size: 4rem;
    width: 100%;
}

.areaAndAccessSection .content--header .content--textBox {
    margin-top: 32px;
}

.areaAndAccessSection .content--header .content--text {
    font-size: 2rem;
}

.areaAndAccessSection .content--body {
    margin-top: 64px;
    padding-left: 5%;
    padding-right: 5%;
}

/* .areaAndAccessSection .content--body .content--textBox {
    margin-top: 32px;
} */

.areaAndAccessSection .content--body .content--text {
    font-size: 1.6rem;
    line-height: 1.5;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .areaAndAccessSection {
        padding-bottom: 32px;
    }
    
    .areaAndAccessSection .content--body {
        margin-top: 32px;
    }
}