@charset "utf-8";

html {
    scroll-behavior: smooth;
}

body {
    background-color: antiquewhite;
    background-image: url(../image/background.png);
    font-family: '游ゴシック Medium', 'Noto Serif JP', sans-serif;

}

header {
    height: 950px;
    background-image: url(../image/野菜.jpg);
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 50px;
}

.logo {
    background-color: rgba(255, 255, 255, 0.6);
    width: 100%;
    height: 50px;
    position: fixed;
    padding: 10px;
}

button {
    color: #ffffff;
    margin-bottom: 10px;
    padding: 10px 20px;
    background-color: rgb(179, 94, 94);
    border-radius: 50px;
    text-align: center;
    transition: background-color 0.3s;
}

button:hover {
    background-color: rgb(193, 138, 90);
}

p {
    margin-bottom: 20px;
    /* font-size: 20px; */
}

h1 {
    color: rgb(255, 255, 255);
    /* text-align: center; */
    font-size: 5vw;
    /* font-size: clamp(2.188rem, 0.659rem + 6.22vw, 8.125rem); */
    font-weight: bold;
    /* line-height: 150%; */
    position: relative;
    top: 400px;
    padding-left: 20px;
}

.H1 {
    height: 950px;
    background: rgba(0, 0, 0, 0.2);
}

section {
    font-size: 1.3rem;
    border-radius: 10px;
    text-align: center;
    width: 70%;
    /* 横幅 */
    margin: 0px auto;
    margin-bottom: 50px;
}

h2 {
    color: #ffffff;
    background-color: rgb(159, 0, 26);
    font-weight: bold;
    font-size: 2rem;
    padding: 20px;
    margin-bottom: 20px;
    /* margin: 50px 0 20px; */
}

main img {
    width: 60%;
    margin: 10px;
}

.Info img {
    border-radius: 5%;
}

h3 {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 30px;
}

main li {
    margin-bottom: 5%;
    line-height: 25px;
    /* 行間 */
}

h4 {
    color: rgba(99, 41, 0, 0.798);
    ;
    font-weight: bold;
}

.Client p {
    text-align: left;
}

.client1 {
    background: rgba(255, 255, 255, 0.798);
    padding: 40px 60px;
}

.client2 {
    background: rgba(255, 255, 255, 0.798);
    padding: 40px 60px;
}

address a:hover {
    text-decoration: underline;
}

/* .Visit img {
    width: 100%;
    padding: 0% 10%;
} */

iframe {
    margin: 5% 0;
    width: 100%;
    height: 400px;
}

.attention {
    font-weight: 500;
}

.NewsNav p:hover {
    text-decoration: underline;
}

.Tel {
    font-size: 2rem;
}

footer {
    background-color: rgb(71, 71, 71);
    color: #ffffff;
    height: 350px;
    /* height: 230px; */
    width: 100%;
    padding: 20px 50px;
}

footer ul {
    display: flex;
    justify-content: center;
}

footer li {
    margin-right: 30px;
    margin-bottom: 5px;
}

footer ul li a:hover {
    text-decoration: underline;
}

footer p {
    padding-top: 15px;
    padding-left: 2%;
    padding-right: 2%;
    margin-bottom: 50px;
}

footer small {
    text-align: center;
}

.CompanyName {
    font-size: 2.5rem;
}

.Top {
    padding: 10px;
    margin-right: 10px;
    background-color: rgba(81, 81, 81, 0.5);
    color: #ffffff;
    font-size: 20px;
    font-weight: bolder;
    position: fixed;
    right: 0;
    bottom: 65px;
    border-radius: 10%;
}

.Buy {
    font-size: 1.3rem;
    color: #ffffff;
    background-color: rgb(198, 101, 44);
    transition: background-color, font-size 0.3s;
    position: fixed;
    bottom: 0px;
    width: 100%;
    text-align: center;
    padding: 15px;
    left: calc(50% - 100%/2);
}

.Buy:hover {
    font-size: 1.4rem;
    background-color: rgb(215, 166, 61);
}

@media (max-width: 840px) {

    h1 {
        top: 600px;
        font-size: 7vw;
        /* line-height: 70px; */
    }

    section {
        font-size: 0.9rem;
        width: 80%;
    }

    main img {
        width: 70%;
    }

    .client1 {
        padding: 50px;
    }

    .client2 {
        padding: 50px;
        /* color: aqua; */
    }

    .CompanyName {
        font-size: 1.5rem;
    }

}

@media (max-width: 430px) {
    header {
        height: 900px;
    }

    .H1 {
        height: 900px;
    }


    header img {
        width: 50%;
    }

    h1 {
        /* line-height: 30px; */
        top: 300px;
        font-size: 8vw;
        text-align: center;
    }

    h2 {
        font-size: 1rem;
    }

    section {
        font-size: 0.9rem;
        width: 80%;
    }

    main img {
        width: 90%;
    }

    .client1 {
        padding: 30px;
    }

    .client2 {
        padding: 30px;
        /* color: rgb(60, 255, 0); */
    }

    .Tel {
        font-size: 1.5rem;
    }

    footer {
        height: 330px;
        padding: 10px;
    }

    footer ul {
        flex-direction: column;
        /* 縦並び */
    }

    .CompanyName {
        font-size: 1rem;
    }

    footer p,
    small {
        font-size: 0.7rem;
        margin-bottom: 10px;
        padding-top: 5px;
        padding-left: 0;
        padding-right: 0;
    }

    footer small {
        text-align: left;
    }
}