@charset "UTF-8";

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

h2 {
    text-align: center;
    color: rgb(143, 32, 37);
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}


/* ヘッダー */

a {
    text-decoration: none;
}

header nav ul {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
}

.header-nav {
    color: rgb(143, 32, 37);
    font-weight: bold;
}

/* mainvisual */
.mv {
    width: 100%;
    display: block;
}

/* カテゴリー */
.category-item a {
    color: rgb(0, 0, 0);
    transition: 0.3s;
}

.category-item:hover {
    opacity: 0.7;
}

.category-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
}

.category-item {
    text-align: center;
}

.category-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.category-item img {
    width: 150px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 10px;
}

.btn {
    padding: 12px 30px;
    background-color: rgb(143, 32, 37);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.btn:hover {
    opacity: 0.7;
}

.btn-position {
    text-align: center;

}

/* lokks */

.looks {
    background-color: #000000;
    padding-top: 20px;
    margin-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.looks h2 {
    color: #ffffff;

}

/* スライド */


.slide-container {
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
}

.slide-wrapper {
    display: flex;
    width: max-content;
    animation: slide-flow 30s infinite linear;
}

.slide {
    width: 300px;
    flex-shrink: 0;
    object-fit: cover;
    border: 1px solid #ddd;
}

@keyframes slide-flow {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.slide-paused:hover .slide-wrapper {
    animation-play-state: paused;
}

.slide-paused:hover .slide-wrapper img:hover {
    opacity: .8;
    cursor: grabbing;
}

/* about */
.container {
    height: 780px;
    padding: 30px 0;
}

.fade-in-text {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease-out, transform 2s ease-out;
    transition-delay: calc(var(--delay) * 1.5s);
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    padding-bottom: 24px;
}

.fade-in-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.about h2 {
    margin-top: 80px;
}

/* フッター */
footer {
    background-color: #000000;
    margin-bottom: 0;
    padding: 30px;

}

h3 {
    color: #ffffff;
    text-align: center;
}

footer nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style-type: none;
    padding: 0;
}

.footer-nav {
    color: #ffffff;
}

small {
    color: #ffffff;

}

.footer-small {
    text-align: center;
}


@media screen and (max-width: 768px) {
    .category-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .category-item {
        width: calc((100% - 40px) / 3);
        flex-shrink: 0;
    }


    .category-item img {
        width: 100%;
        object-fit: contain;
    }

    .fade-in-text {
        font-size: 18px;
    }

    footer {
        margin-top: -100px;
    }
}