@charset "UTF-8";

/* 基本スタイル */

/*section{
    padding-left: 20px;
}*/

a{
    text-decoration: none;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

h2 small {
    display: block;
    font-size: 18px;
    color: #1791c8;
    margin-bottom: 4px;
    border-top: #1791c8 solid 10px;
    padding-top: 30px;
    padding-bottom: 5px;
}

.first {
    font-size: 16px;
    margin-bottom: 30px;
    color: #555;
}

h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

h3 small {
    font-size: 14px;
    color: #1791c8;
    display: block;
    margin-bottom: 4px;
    border-top: #1791c8 solid 10px;
    padding-top: 30px;
}

/* 車両リスト全体のスタイル */
.vehicles-list {
    display: flex;
    flex-wrap: wrap;
}

/* 個々の車両要素のスタイル */
.vehicle-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

/* 画像のスタイル */
.vehicle-item img {
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

/* コンテンツ部分のスタイル */
.vehicle-item-content {
    flex: 1;
}

.vehicle-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1791c8;
    margin-top: 20px;
}

.vehicle-item p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 130px;
    color: #555;
    text-align: justify;
}

/* レスポンシブ対応（770px以下） */
@media screen and (max-width: 770px) {
    .vehicle-item {
        flex-direction: column;
        margin-bottom: 30px;
        gap:0px;
    }

    .vehicle-item p {
        margin-bottom: 0px;
    }

    .vehicle-item-content {
    }
}
