@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: 200px;
    background-image: url(../image/dryfood1.png);
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 30px;
}

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

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

h1 {
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    padding-top: 100px;
}

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;
}

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

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

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: 5%;
    padding-right: 5%;
    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: 430px) {

    header img {
        width: 50%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1rem;
    }

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

    .Tel {
        font-size: 1.5rem;
    }

    footer {
        height: 250px;
        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;
    }
}