@charset "utf-8";

/* ページタイトル */
.title {
    background-image: url(../images/concept_main.jpg);
}

/* コンセプト紹介 */
.feature {
    display: flex;
    justify-content: space-between;
    width: min(930px, 90%);
    margin: 75px auto 0;
    align-items: flex-start;
    gap: 40px;
    /* テキストと画像の間の余白 */
}

.feature img {
    width: 100%;
    max-width: 360px;
    height: auto;
}

.feature-text {
    max-width: 500px;
}

.reverse {
    flex-direction: row-reverse;
}

.feature-text h2 {
    font-size: 22px;
    font-weight: bold;
    line-height: 30px;
}

.feature-text h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background-color: #000000;
    margin-top: 20px;
}

.feature-text p {
    font-size: 15px;
    line-height: 28px;
    margin-top: 25px;
}

/* フッター */
.footer {
    margin-top: 100px;
}

/* レスポンシブ（スマホ表示） */
@media (max-width: 800px) {

    /* コンセプト紹介 */
    .feature {
        display: flex;
        flex-direction: column;
        /* 縦並びに変更 */
        width: 100%;
        max-width: 500px;
        margin: 45px auto 0;
        padding: 0 20px;
        /* 端にくっつかないよう左右に余白追加 */
        gap: 0;
    }

    /* 反転ブロックもスマホでは「テキスト→画像」の順に揃える */
    .reverse {
        flex-direction: column;
    }

    .feature-text {
        max-width: 100%;
    }

    .feature img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-top: 25px;
    }

    /* フッター */
    .footer {
        margin-top: 50px;
    }
}