.hero-lowerPage {
    /* 基本はcommon.cssだが画像だけは各ページのcss */
    background-image: url(/img/bg-car-showroom.jpeg);
}

.mainMessageSection {
    padding: 32px 5% 64px;
}

.mainMessageSection .media {
    display: flex;
}

.mainMessageSection .media--body {
    flex-basis: 60%;
    align-self: flex-start;
    color: var(--black);
    background-color: var(--bg-color-bland-color-transparent);
    padding: 32px 48px;
    margin-top: -24px;
    margin-right: -64px;
    z-index: 1;
    display: grid;
    justify-content: center;
    row-gap: 24px;
}

.mainMessageSection .media-reverse .media--body {
    margin-left: -64px;
    margin-right: 0;
}

.mainMessageSection .media--title {
    font-size: 2.8rem;
    line-height: 1.5;
    text-align: left;
}

.mainMessageSection .media--textBox {
    margin-top: 1em;
}

.mainMessageSection .media--text {
    line-height: 2;
    text-align: left;
}

.mainMessageSection .media--imgBox {
    flex-basis: 40%;
    line-height: 0;
}

.mainMessageSection .media--img {
    width: 100%;
}

.mainMessageSection .media--item {
    color: var(--primary-bland-color);
    font-size: 4rem;
    line-height: 1.2;
    font-weight: bold;
    list-style: decimal;
    margin-left: 48px;
    /* list-style-position: inside; */
}

.mainMessageSection .media--itemText {
    color: var(--black);
    font-size: 2.2rem;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .mainMessageSection .media {
        flex-direction: column-reverse;
        align-items: center;
    }

    .mainMessageSection .media--body {
        width: 90%;
        padding: 32px 48px;
        margin-top: -200px;
        margin-right: 0;
        align-self: auto;
        row-gap: 16px;
    }
    
    .mainMessageSection .media-reverse .media--body {
        margin-left: -0;
        margin-right: 0;
    }

    .mainMessageSection .media--imgBox {
        width: 100%;
        margin-top: -24px;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .mainMessageSection {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .mainMessageSection .content--title {
        font-size: 4.8rem;
    }

    .mainMessageSection .content--text {
        font-size: 2.4rem;
    }

    .mainMessageSection .media--title {
        font-size: 2.4rem;
    }

    .mainMessageSection .media {
        flex-direction: column-reverse;
    }

    .mainMessageSection .media--body {
        margin-top: -100px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .mainMessageSection .media-reverse .media--body {
        margin-left: 0;
    }

    .mainMessageSection .media--item {
        font-size: 2.4rem;
        margin-left: 24px;
    }
    
    .mainMessageSection .media--itemText {
        font-size: 1.6rem;
    }
}

.maintenanceSection {
    background-color: var(--white);
    padding-bottom: 64px;
}

.maintenanceSection .content--titleSpace {
    width: 100%;
    padding: 40px;
    background-image: url(https://placehold.jp/1800x600.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: grid;
    place-items: center;
    position: relative;
}

.maintenanceSection .content--titleSpace::after {
    position: absolute;
    content: "";
    background: var(--background-color-transparentblack);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.maintenanceSection .content--titleSpace .content--inner-small {
    z-index: 1;
}

.maintenanceSection .content--titleSpace .content--title {
    font-size: 4rem;
}

.maintenanceSection .content--titleSpace .content--text {
    font-size: 1.6rem;
    margin-top: 16px;
}

.maintenanceSection .content--subTitleSpace {
    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;
}

.maintenanceSection .content--subTitleSpace .content--inner-small {
    z-index: 1;
    line-height: 1.3;
}

.maintenanceSection .content--subTitleSpace .content--subTitle {
    font-size: 4rem;
    /* text-align: left; */
}

.maintenanceSection .content--subTitleSpace .content--text {
    font-size: 2.4rem;
    /* text-align: left; */
    margin-top: 16px;
}

.maintenanceSection .mediaSpace {
    padding: 0 5%;
}

.maintenanceSection .media {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 64px;
    column-gap: 40px;
}

.maintenanceSection .media--body {
    flex: 1 0;
    padding-top: 24px;
}

.maintenanceSection .media--textBox {
    margin-top: 2em;
}

.maintenanceSection .media--text {
    line-height: 1.5;
}

.maintenanceSection .media--imgBox {
    flex: 0 1 480px;
    line-height: 0;
}

.maintenanceSection .media--img {
    width: 100%;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    
    .maintenanceSection .media {
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        margin-top: 64px;
        column-gap: 24px;
    }

    .maintenanceSection .media--imgBox {
        flex: 0 1 320px;
    }

    .maintenanceSection .media--body {
        flex: 1 0;
        padding-top: 0;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    
    .maintenanceSection .media {
        flex-direction: column;
        row-gap: 24px;
        margin-top: 40px;
    }

    .maintenanceSection .media--imgBox {
        flex-basis: auto;
        width: 100%;
    }
}

.differentSection {
    padding: 64px 5%;
    background-image: url(/img/bg-car-showroom.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.differentSection::after {
    position: absolute;
    content: "";
    background: var(--background-color-transparentblack);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.differentSection .frontOfBg {
    z-index: 1;
}

.differentSection .content--title {
    font-size: 4rem;
    text-align: center;
}

.differentSection .content--textBox {
    margin-top: 32px;
}

.differentSection .content--text-xlarge {
    color: var(--black);
    font-size: 3.2rem;
    font-weight: bold;
    text-align: center;
    padding: 8px 16px;
    background-color: var(--white);
    line-height: 1.3;
}

.differentSection .content--text-large {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
}

.differentSection .content--text {
    font-size: 1.8rem;
    text-align: left;
    line-height: 1.5;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    
    .differentSection .content--title {
        font-size: 3.2rem;
    }

    .differentSection .content--text-xlarge {
        font-size: 2.4rem;
        padding-left: 8px;
        padding-right: 8px;
    }

    .differentSection .content--text-large {
        font-size: 2rem;
    }

    .differentSection .content--text {
        font-size: 1.6rem;
    }

}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    
    .differentSection .content--title {
        font-size: 2.4rem;
    }

    .differentSection .content--text-xlarge {
        font-size: 1.8rem;
        padding-left: 8px;
        padding-right: 8px;
    }

    .differentSection .content--text-large {
        font-size: 1.8rem;
    }

    .differentSection .content--text {
        font-size: 1.6rem;
    }

}