img {
    max-width: 100%;
}

a {
    margin: 25px 0;
    display: block;

}

body,
button {
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    font-size: 25px;

    @media screen and (max-width:768px) {
        font-size: smaller;
    }
}

button {
    border: 1px solid #6D8346;
    border-radius: 30px;
    margin-right: 5px;
    padding: 0 25px;

}

.bg {
    background-image: url(img/0827h.jpg);
    background-size: cover;
    height: 100vh;
    transition: 3s;
    background-position: center;

    @media screen and (min-width:915px)and (max-width:1250px) {
        background-size: 125%;
        background-position: bottom center;

    }
}

.bg.black {
    background-image: none;
    background-color: black;
}

.bg.white {
    background-image: none;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bg.koucha,
.bg.poteto,
.bg.beer {
    background-size: cover;
    background-position: center;
}

.bg.koucha {
    background-image: url(img/koucha.webp);
}

.bg.poteto {
    background-image: url(img/poteto.jpg);
}

.bg.beer {
    background-image: url(img/beer.webp);
}


.pc {
    display: flex;
    position: relative;
    height: 100vh;
    justify-content: center;
    align-items: flex-end;

    @media screen and (max-width:768px) {
        padding: 0 25px;
    }

    figure {
        margin: 0 0 80px 0;

        @media screen and (max-width:768px) {
            margin-bottom: 150px;
            width: 33%;
        }
    }

    figure.xiaolan {
        img {
            width: 255px;
        }

        @media screen and (max-width:768px) {
            width: 42%;
        }
    }
}

.txtbox {
    position: absolute;
    bottom: 25px;
    left: 25px;
    content: "";
    width: calc(100% - 110px);
    height: 250px;
    display: block;
    border: 5px solid #6D8346;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 25px;

    @media screen and (max-width:768px) {
        height: 25%;
    }
}

.txt {
    margin-top: 0;
}