@charset "UTF-8";

/*リセットCSS*/
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

body {
    background-size: cover;
    font-family: "Huninn", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a {
    color: black;
}

/* 複数画像切り替え*/
.slider-container {
    position: relative;
    width: 100%;
    height: 60%;
    overflow: hidden;
    padding: 0 0 12%;
}

.slideimg {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    animation: slideAnime 20s infinite;
}

.slideimg:nth-of-type(1) {
    background-image: url('../images/mv①.jpg');
    animation-delay: 0s;
}

.slideimg:nth-of-type(2) {
    background-image: url('../images/mv②.jpg');
    animation-delay: 5s;
}

.slideimg:nth-of-type(3) {
    background-image: url('../images/mv③.jpg');
    animation-delay: 10s;
}

.slideimg:nth-of-type(4) {
    background-image: url('../images/mv④.jpg');
    animation-delay: 15s;
}

.slideimg:nth-of-type(5) {
    background-image: url('../images/mv⑤.jpg');
    animation-delay: 20s;
}

@keyframes slideAnime {

    0%,
    30%,
    100% {
        opacity: 0;
    }

    /* 非表示のタイミング */
    10%,
    20% {
        opacity: 1;
    }

    /* 表示されるタイミング */
}

#wrap {
    margin: 0 auto;
}

#About {
    background-color: aliceblue;
    border-radius: 100px;
}

img {
    width: 100%;
}

main {
    height: 1280px;
}

header {
    color: #000000;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;

}

h2 {
    font-size: 50px;
    padding: 0 0 50px;
}

.main-menu {
    position: absolute;
    top: 20px;
    right: 20px;
}

.main-menu ul {
    display: flex;
    justify-content: end;
}

.main-menu ul li a {
    color: #000000;
    display: block;
    padding: 10px 20px;
    font-size: 20px;
}

.main-menu ul li a:hover {
    background: #b0b0b0;
}

#About p {
    text-align: center;
    line-height: 3rem;
    font-size: 25px;
}

section {
    margin: 5%;
    padding: 50px 100px 50px;
}

footer {
    background-color: #FFF;
    color: #000000;
    padding: 20px;
}

a.pagetop {
    display: block;
    width: 50px;
    height: 50px;
    text-align: center;
    box-sizing: border-box;
    padding-top: 12px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #333;
    color: #FFF;
    position: fixed;
    bottom: 0;
    right: 20px;
}

html {
    scroll-behavior: smooth;
}

#Cardgame {
    background-color: beige;
}

.cardgame {
    display: flex;
}

.cardgame_p {
    padding: 0 5%;
    line-height: 2rem;
}

#cardgame_imgSet {
    width: 100%;
}

.list-grid1 .list * {
    margin: 0;
    padding: 0;
}

.list-grid1 .list {
    display: grid;
    margin-bottom: var(--global-space);
}

.list-grid1 .list p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.list-grid1 .list {
    padding: 1rem;
    background: #fff;
    color: #111;
    grid-template-rows: auto 1fr auto;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.list-grid1 .list figure {
    margin: -1rem;
    margin-bottom: 0.5rem;
}

@media screen and (min-width:800px) {

    .list-grid1 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3vw;
    }

    .list-grid1 .list {
        margin-bottom: 0;
    }

}

.btn a {
    display: block;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    background: var(--accent-color);
    color: var(--accent-inverse-color);
}

footer {
    background-color: #111;
    color: #FFF;
    text-align: center;
}