@charset "UTF-8";

.title {
    position: absolute;
    bottom: 8%;
    right: 4%;
    width: fit-content;
}

.title img {
    width: 25vw;
    min-width: 433px;
}

main {
    background-image: url(../img/bg.png);
    background-size: cover;
    background-repeat: repeat-y;
}

h2 {
    font-size: 1em;
    text-align: center;
    margin-top: 100px;
}

h3 {
    font-size: 1.75em;
    text-align: center;
    margin: 0;
}

#menu {
    padding: 100px 50px;
    text-align: center
}

#menu a {
    display: inline-block;
    background-color: #000;
    border-radius: 5px;
    padding: 5px 20px;
    font-size: 0.7em;
    margin-bottom: 10px;
}

.wrapper {
    width: 90%;
    max-width: 912px;
    margin: auto;
    padding: 30px 0 70px;
}

.wrapper p {
    font-size: 0.8em;
}

.wrapper span {
    display: block;
    margin: 0 auto 30px;
    text-align: center;
    width: 200px;
    border-radius: 14px;
    background-color: #000;
    color: #fff;
    padding: 3px 0 1px;
    font-size: 0.7em;
    letter-spacing: 0;
}

.wrapper span.uchoten {
    background-color: #325B34;
}

.wrapper span.daiki {
    background-color: #802E0E;
}

.wrapper span.ym {
    background-color: #00468C;
}

.wrapper span.gutsy {
    background-color: #EA5532;
}

.wrapper .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.wrapper .grid img {
    width: 100%;
}

article {
    background-color: #fff;
    padding: 25px 40px;
    font-size: 0.7em;
}

article small {
    font-size: 1em;
    display: inline-block;
    border: #000 1px solid;
    padding: 3px 10px 0;
    margin-bottom: 10px;
}

.spacer {
    height: 300px;
}

footer {
    margin: 0;
}

@media screen and (max-width:1024px) {

    .title {
        position: absolute;
        bottom: -8%;
        right: 2%;
        width: fit-content;
    }

    .title img {
        width: 45vw;
        min-width: 281px;
    }

    main {
        background-image: url(../img/bg.png);
        background-size: contain;
        background-repeat: repeat-y;
    }

    h2 {
        font-size: 1em;
        text-align: center;
        margin-top: 100px;
    }

    h3 {
        font-size: 1.75em;
        text-align: center;
        margin: 0;
    }

    #menu {
        padding: 80px 50px;
        text-align: center
    }

    #menu a {
        display: inline-block;
        background-color: #000;
        border-radius: 5px;
        padding: 5px 30px;
        font-size: 0.8em;
        margin-bottom: 10px;
    }

    .wrapper {
        width: 85%;
        margin: auto;
        padding: 30px 0 70px;
    }

    .wrapper p {
        font-size: 0.8em;
    }

    .wrapper span {
        display: block;
        margin: 0 auto 30px;
        text-align: center;
        width: 200px;
        border-radius: 14px;
        background-color: #000;
        color: #fff;
        padding: 5px 0 3px;
        font-size: 0.8em;
        letter-spacing: 0;
    }

    .wrapper span.uchoten {
        background-color: #325B34;
    }

    .wrapper span.daiki {
        background-color: #802E0E;
    }

    .wrapper span.ym {
        background-color: #00468C;
    }

    .wrapper span.gutsy {
        background-color: #EA5532;
    }

    .wrapper .grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        width: 60%;
        margin: auto;
        margin-bottom: 15px;
    }

    .wrapper .grid img {
        width: 100%;
    }

    article {
        background-color: #fff;
        padding: 25px 40px;
        font-size: 0.8em;
    }

    article small {
        font-size: 1em;
        display: inline-block;
        border: #000 1px solid;
        padding: 3px 10px 0;
        margin-bottom: 10px;
    }

    .spacer {
        height: 300px;
    }

    footer {
        margin: 0;
    }
}

@media screen and (max-width:700px) {

        h2 {
        font-size: 1em;
        text-align: center;
        margin-top: 30px;
    }

        #menu {
        padding: 30px 50px;
        text-align: center;
    }

    .wrapper {
        width: 95%;
        margin: auto;
        padding: 30px 0 100px;
    }

    .wrapper .grid {
        width: 100%;
    }

    article {
        background-color: #fff;
        padding: 25px;
        font-size: 0.8em;

    }
}

@media screen and (max-width:400px) {}