@charset "utf-8";

.title {
    height: 310px;
    background-image: url(../images/concept/bg-main.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* 背景画像サイズは親要素を覆うサイズに */

    /* タイトル文字を上下左右に位置させるコード */
    display: flex;
    flex-direction: column;
    /* flexの並ぶ方向を決める column＝縦方向 */
    justify-content: center;
    /* 水平方向 */
    align-items: center;
    /* 垂直方向 */
    color: #fff;
    text-shadow: 1px 1px 10px #4b2c14;
    /* 横ずれ 縦ずれ ぼかし 影色 */
}

.title h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: bold;
}

.title p {
    font-size: 14px;
    margin-top: 15px;
}

.feature {
    display: flex;
    justify-content: space-between;
    width: 930px;
    max-width: 90%;
    /* 最大が90％＝どの画面サイズになっても左右に5％余白が残る */
    margin: 75px auto 0;
    /* 左右にautoが入るとブラウザーの中央に配置される */
    align-items: flex-start;
    /* 親要素の開始位置側に揃えて配置 */
}

.feature img {
    width: 360px;
}

.feature-text {
    max-width: 500px;
    margin-right: 40px;
}

.reverse {
    flex-direction: row-reverse;
    /* 横方向の並び順を逆にする */
}

.reverse .feature-text {
    margin-left: 40px;
    margin-right: 0;
}

.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: #000;
    margin-top: 20px;
}

.feature-text p {
    font-size: 15px;
    line-height: 28px;
    margin-top: 25px;
}

.movie {
    width: 930px;
    max-width: 90%;
    background-color: #f8f8f8;
    padding: 50px 60px;
    margin: 55px auto 0;
}

.movie h2 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.movie h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background-color: #000;
    margin: 20px auto 0;
}


/* youtubeのサイズ調整 */
.movie iframe {
    display: block;
    /* インライン要素からブロック要素に変換
    インライン要素は幅、高さを指定できない */
    width: 100%;
    height: 456px;
    /* aspect-ratio: 16/9;
    ↑計算しなくても比率を指定したら自動で調整してくれる */
    margin-top: 30px;
}

.movie p {
    font-size: 15px;
    line-height: 28px;
    margin-top: 20px;
}

.footer {
    margin-top: 100px;
}


/* ここからモバイル用cssの設定 */
@media (max-width: 800px) {
    .feature {
        display: block;
        width: 500px;
        margin-top: 45px;
    }

    .feature-text {
        margin-right: 0;
    }

    .reverse .feature-text {
        margin-left: 0;
    }

    .feature img {
        width: 100%;
        height: auto;
        margin-top: 25px;
    }

    .movie {
        width: 500px;
        padding: 30px 25px;
    }

    .movie iframe {
        height: 240px;
    }
}