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

.mainMessageSection {
    padding: 40px 5%;
    background-image: url(/img/bg-car-showroom.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: grid;
    place-items: center;
}

.mainMessageSection::after {
    position: absolute;
    content: "";
    background: var(--primary-bg-gradation-transparent);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.mainMessageSection .content--inner-medium {
    position: relative;
    z-index: 1;
}

.mainMessageSection .content--titleBox {
    margin-top: 40px;
}

.mainMessageSection .content--title {
    font-size: 3.2rem;
    text-align: center;
    line-height: 1.5;
}

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

.mainMessageSection .content--text-large {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
}

.mainMessageSection .content--text {
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.5;
}

.mainMessageSection .grid-col4 {
    margin-top: 40px;
    column-gap: 32px;
}

.mainMessageSection .grid-col4--textBox {
    background-color: var(--white);
    padding: 16px 24px;
    display: grid;
    place-items: center;
}

.mainMessageSection .grid-col4--text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-bland-color);
    line-height: 2;
}


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

    .mainMessageSection .content--title {
        text-align: left;
    }

    .mainMessageSection .grid-col4--textBox {
        padding: 8px 16px;
    }

    .mainMessageSection .grid-col4--text {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    
    .mainMessageSection .content--titleBox {
        margin-top: 32px;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .mainMessageSection .content--title {
        font-size: 2.4rem;
        text-align: justify;
    }

    .mainMessageSection .grid-col4 {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 16px;
        row-gap: 16px;
    }


}


.highQualitySection {
    padding: 64px 5%;
    background: var(--bg-color-bland-color-transparent);
}

.highQualitySection .content--title {
    font-size: 5.6rem;
    text-align: center;
}

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

.highQualitySection .content--text {
    font-size: 2.8rem;
    text-align: center;
}

.highQualitySection .media {
    display: flex;
    margin-top: 64px;
}

.highQualitySection .media--imgBox {
    width: 100%;
    line-height: 0;
}

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

.highQualitySection .media--body {
    width: 100%;
    align-self: flex-start;
    color: var(--black);
    background-color: var(--white);
    padding: 64px 32px 48px;
    margin-top: -24px;
    margin-right: -64px;
    z-index: 1;
    display: grid;
    justify-content: center;
    row-gap: 24px;
}

.highQualitySection .media--title {
    font-size: 2.8rem;
    text-align: left;
    position: relative;
}

.highQualitySection .media-reverse .media--body {
    margin-left: -64px;
    margin-right: 0;
}

.highQualitySection .media--textBox {
    /* margin-top: 48px; */
}

.highQualitySection .media--text {
    line-height: 2;
    text-align: left;
}

.highQualitySection .media--btnBox {
    width: 100%;
}

.highQualitySection .media--btn {
    width: 100%;
    color: var(--primary-bland-color);
    border: 2px solid var(--primary-bland-color);
}

.highQualitySection .media--btn::after {
    background-image: url(/img/icon_arrow_right_orange.png);
}

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

    .highQualitySection .media--title::after {
        font-size: 4rem;
    }

    .highQualitySection .media--body {
        margin-top: 0;
        margin-right: -32px;
        padding: 32px;
    }

    .highQualitySection .media--imgBox {
        margin-top: -24px;
    }
}

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

    .highQualitySection .content--title {
        font-size: 3.2rem;
    }

    .highQualitySection .content--text {
        font-size: 1.6em;
    }

    .highQualitySection .media--title {
        font-size: 2.4rem;
    }

    .highQualitySection .media--title-en {
        font-size: 3.6rem;
    }

    .highQualitySection .media {
        flex-direction: column-reverse;
    }

    .highQualitySection .media-reverse .media--body {
        margin-left: 0;
    }
}


.flow {
    padding: 64px 5% 64px;
}

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

.flow .stepBox {
    width: 100%;
    max-width: 1000px;
    margin: 64px auto 0;
}

.flow .step {
    padding: 40px;
    background-color: var(--bg-color-lightgrey);
}

.flow .step .media {
    column-gap: 32px;
    align-items: center;
}

.flow .step .media--imgBox {
    flex-basis: 50%;
}

.flow .step .media--img {
    width: 100%;
}

.flow .step .media--body {
    flex-basis: 50%;
}

.flow .step .media--title {
    font-size: 3.2rem;
    line-height: 1.3;
}

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

.flow .step .media--text {
    line-height: 1.5;
    margin-top: 1.5em;
}

.flow .step--textBox {
    margin: 32px 0;
}

.flow .step--text {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
}

.flow .step--btnBox .grid-col2 {
    column-gap: 24px;
}

.flow .step .horizontalTableBox {
    margin-top: 48px;
}

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

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

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

.flow .step .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(--table-border-color-lightgrey);
}

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

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

    .flow {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .flow .step .horizontalTableBox {
        margin-top: 24px;
    }

    .flow .step .horizontalTable--body {
        display: block;
    }

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

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

.flow .arrowBox {
    display: grid;
    place-items: center;
    margin: 32px 0;
}

.flow .arrowImg {
    width: 56px;
    height: 40px;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    
    .flow .step .media--title {
        font-size: 2.2rem;
    }

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

    .flow .step--text {
        font-size: 2.2rem;
    }

    .flow .telBtn--tel,
    .flow .contactBtn--contact {
        font-size: 2.2rem;
    }

    .flow .telBtn--text,
    .flow .contactBtn--text {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    
    .flow .step {
        padding: 24px;
    }
    
    .flow .step .media {
        flex-direction: column-reverse;
        row-gap: 16px;
    }
    
    .flow .step .media--title {
        font-size: 2.2rem;
    }

    .flow .step--textBox {
        font-size: 2.2rem;
        margin: 24px 0;
    }

    .flow .step--text {
        font-size: 2rem;
        line-height: 1.5;
    }

    .flow .step--btnBox .grid-col2 {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 24px;
    }

    .flow .telBtn--tel,
    .flow .contactBtn--contact {
        font-size: 2.2rem;
    }

    .flow .telBtn--text,
    .flow .contactBtn--text {
        font-size: 1.3rem;
    }
}

.requestUsSection {
    padding: 24px 5%;
    /* background: var(--primary-bg-gradation); */
    background-image: url(/img/bg-car-showroom.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.requestUsSection::after {
    position: absolute;
    content: "";
    background: var(--primary-bg-gradation-transparent);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.requestUsSection .content--titleBox {
    padding: 24px;
    border: 2px solid var(--white);
    position: relative;
    z-index: 1;
}

.requestUsSection .content--title {
    font-size: 3.2rem;
    line-height: 1.5;
    text-align: center;
    position: relative;
    z-index: 1;
}

.requestUsSection .content--textBox {
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.requestUsSection .content--text {
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: center;
}

.requestUsSection .content--btnBox {
    margin-top: 40px;
    display: grid;
    justify-items: center;
    position: relative;
    z-index: 1;
}

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

    .requestUsSection .content--titleBox {
        padding: 16px;
    }
    
    .requestUsSection .content--title {
        font-size: 2rem;
        line-height: 1.5;
        text-align: left;
    }

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

    .requestUsSection .content--text {
        font-size: 1.6rem;
        text-align: left;
    }

    .requestUsSection .content--btnBox {
        margin-top: 32px;
    }
}