html {
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: "Noto Sans JP", "Hiragino kaku Gothic ProN", Meiryo, sans-serif;
    overflow-x: hidden;
}

img {
    width: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: #333;
}

li {
    list-style: none;
}

.wrapper {
    max-width: 65.5rem;

    margin: 0 auto;
    padding-inline: 7rem;
}

.fv {
    background-image: url(../img/mv.jpg);
    width: 100%;
    height: 1600px;
    background-size: cover;
    background-position: left bottom;

}

.fv_text {
    width: 80%;
    max-width: 53.26rem;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.fv_text p {
    color: #fff;
}

.fv_text--title {
    font-size: 2.25rem;
    font-weight: 500;
    padding-top: 13.56rem;
    margin-bottom: 3.25rem;
    line-height: 4.5rem;
}

.fv_text--read {
    max-width: 40rem;
    font-size: 1.1rem;
    line-height: 2.75rem;
    letter-spacing: 0.1rem;
}

/* 開催日 */
.fv_text img {
    width: 50%;
    max-width: 450px;

    height: auto;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateX(20%) translateY(50%);
    z-index: 100;
}

.main-content {
    background-color: #e9f2d1;
}

.main-content__wrap {
    display: block;

}

/* エコカーフェアタイトル */
h1 img {
    width: 85%;

    object-fit: cover;
    margin-top: 150px;
    margin-bottom: 80px;

}

.img_wrap {
    position: relative;
    display: inline-block;
}


/* プレゼントもカーボンニュートラル */
.img-present {

    width: 100%;
    max-width: 1200px;
    margin-bottom: 5.5vw;
}


/* 黄色の吹き出し */
.img-memo {
    width: 50%;

    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(30%) translateY(-78%);

}

.main-content__text {
    background-color: #29ac39;
    border-radius: 40px;
    margin-bottom: 5.5vw;

}

.main-content__text p {
    font-size: 2.25rem;
    padding: 25px 20px;
    text-align: center;
    color: #fdec00;
}

.img-comment {
    text-align: center;
    padding-bottom: 5.5vw;
}

.img-comment img {
    max-width: 46.36rem;


}

/* リンクページ */
h2 {

    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    color: #399d26;
    padding-top: 2rem;
    padding-bottom: 3rem;
}


.link {
    margin-bottom: 3rem;


}

.link_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.link_wrap li a img {
    max-width: 480px;
}

/* フッター */
.footer {
    background-color: #2cb65c;
    padding-top: 6.25rem;
    padding-bottom: 4.5rem;
    padding-inline: 20px;
    text-align: center;
}

.footer-text {
    font-size: 1.87rem;
    font-weight: 500;
    letter-spacing: 0.5rem;
    color: #fdec00;
    margin-bottom: 1.5rem;

}

.footer-name {
    font-size: 2.45rem;
    font-weight: 600;
    letter-spacing: 0.5rem;
    color: #fff;
}

/* =====================
レスポンシブ
===================== */


/* タブレット */
@media screen and (max-width:1024px) {
    html {
        font-size: 14px;
    }

    .wrapper {
        max-width: 800px;
        padding-inline: 60px;
    }

    .fv {
        background-position: -200px 0;
        height: 1200px;
    }

    .fv_text {
        width: 70%;
    }



    h1 img {
        margin-top: 100px;
        margin-bottom: 50px;
    }

    .img-present {
        max-width: 700px;
    }

    .img-memo {
        width: 45%;
        transform: translateX(23%) translateY(-78%);
    }

    h2 {
        font-size: 2rem;
    }

    /* リンク */
    .link_wrap {
        gap: 1.2rem;
        max-width: 800px;
        padding: 20px;
    }

    /* フッター */

    .footer {
        padding-inline: 15px;
    }

    .footer-text {
        letter-spacing: 0.25rem;
        font-size: 1.5rem;
    }

    .footer-name {
        font-size: 2rem;
        letter-spacing: 0;
    }
}


@media screen and (max-width:767px) {
    html {
        font-size: 12px;
    }

    .wrapper {
        max-width: 600px;
        padding-inline: 20px;
    }

    .fv {
        height: 900px;
        background-position: -110px 0;
    }

    .fv_text--title {
        font-size: 1.75rem;
        font-weight: 600;
        padding-top: 4rem;
        margin-bottom: 2.5rem;
        line-height: 3rem;
    }

    .fv_text--read {
        font-size: 1rem;
        line-height: 2.5rem;
    }



    h1 img {
        margin-top: 75px;
        margin-bottom: 40px;
    }

    .main-content__text {
        border-radius: 20px;
    }

    .main-content__text p {
        font-size: 1.75rem;
        padding: 20px 15px;
    }

    h2 {

        padding-inline: 20px;
        font-size: 2rem;
        padding-bottom: 1rem;
    }

    /* リンク */

    .link_wrap {
        grid-template-columns: 1fr 1fr;
    }

    .footer {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    .footer-text {
        font-size: 1.25rem;
        letter-spacing: 0.25rem;
    }

    .footer-name {
        font-size: 1.5rem;
        letter-spacing: 0.25rem;
    }

}

/* 小さいスマホ用に */
@media screen and (max-width:550px) {


    .fv_text img {
        width: 60%;
    }

    .main-content__text p {
        font-size: 1.25rem;
    }

    h2 {

        padding-inline: 20px;
        font-size: 1.85rem;
        padding-bottom: 1rem;
    }

    .footer {
        padding-top: 3.75rem;
    }

    .footer-text {
        font-size: 1.25rem;

    }

    .footer-name {
        letter-spacing: 0.5rem;
    }

}