@charset "utf-8";

#vdbanner {
    width: 0;
    height: 0;
}

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2c4242;
    background-color: #fff;
    position: relative;
}


header {
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: #ffffff11;
    backdrop-filter: blur(3px);
    z-index: 100;
}

header .logo {
    max-width: 150px;
    padding-top: 15px;

}


.site-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.site-menu ul {
    display: flex;
    gap: 30px;
}

.site-menu ul li {
    position: relative;
    overflow: hidden;
}

.site-menu li a::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #00a365;
    transform: translate(-100%, 0);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;

}

.site-menu li a:hover:after {
    transform: translate(0, 0);
}


header .icon {
    display: flex;
}

.icon img {
    width: 30px;
    padding: 5px;
}

.btn {
    width: 30px;
    aspect-ratio: 1/1;
    background-color: transparent;
    border: none;
}

.btn span,
.btn span::before,
.btn span::after {
    width: 100%;
    height: 2px;
    background-color: #2c4242;
    display: block;
    position: relative;
}

.btn span::before,
.btn span::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
}

.btn span::after {
    top: 10px;
}

main {
    margin-top: 120px;
}

.firstview {
    background: url(./img/インテリア２.png) no-repeat center/cover;
    height: 100vh;
    position: relative;
}

.firstview p {
    font-size: 30px;
    color: #fff;
    font-family: 'Times New Roman', Times, serif;
    position: absolute;
    left: 100px;
    bottom: 180px;
    text-shadow: #333 1px 1px;
}

.about,
.styling,
.news {
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.products {
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.newitem,
.ranking {
    margin-top: 60px;
}


.about h2,
.products h2,
.styling h2,
.news h2,
.newitem h3 .ranking h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.nihongo {
    padding-bottom: 30px;
}

.about {
    position: relative;
}

.flexbox {
    display: flex;
}

.about-contents {
    margin: 80px;
}

.about-content {
    margin: 20px;
    padding: 20px;
    text-align: left;

}

.about-content2 {
    padding: 20px;
    margin-left: 100px;
    text-align: left;
}


.aboutimg {
    display: flex;
    justify-content: end;
    object-fit: contain;
}

.aboutunder {
    margin-top: 60px;
    width: 100%;
}


.products {
    margin: 0 150px;
}

.category {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.category ul {
    display: flex;
}

.category ul li {
    padding: 25px;
}

.categorytext {
    width: 250px;
    padding-right: 35px;
    padding-top: 15px;
    align-items: center;

}


.aboutdeco .rightdeco {
    position: absolute;
    right: 30px;
    top: 100px;
    left: 500px;
    top: 350px;

    z-index: -5;
}

.aboutdeco .leftdeco {
    position: absolute;
    left: 20px;
    top: 110px;
    z-index: -5;

}

.aboutdeco .middledeco {
    position: absolute;
    left: 500px;
    top: 350px;
    z-index: -5;
}

.newitem ul,
.ranking ul {
    display: flex;
    justify-content: space-around;
}

.newitem dl,
.ranking dl {
    text-align: left;
}

.newitem img:hover,
.ranking img:hover {
    opacity: 0.5;
    transition: 0.3s;
    transform: scale(1.1);
}

.styling p {
    display: flex;
    justify-content: center;
}

.stylingback {
    background: url(./img/stylingbackimg.png) no-repeat center/cover;
    height: 80vh;
    width: 100%;
}

.stylingback img {
    width: 250px;
    margin-top: 40px;
    justify-content: center;
    padding: 0 30px;
}

.firstline,
.secondline {
    display: flex;
    overflow: hidden;
}

.firstline>div {
    flex-shrink: 0;
    white-space: nowrap;
    animation: RtoL 10s linear infinite 0.5s both;
}

@keyframes RtoL {
    100% {
        transform: translateX(-50%);
    }
}

.secondline>div {
    flex-shrink: 0;
    white-space: nowrap;
    animation: LtoR 10s linear infinite 0.5s both;
}

@keyframes LtoR {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

.news {
    position: relative;
}

.news-contents {
    margin-top: 30px;
}

.news-contents p {
    background-color: #f1f1f1;
    padding: 10px 20px;
    margin: 10px auto;
    max-width: 600px;
    border-radius: 5px;
    text-align: left;
    overflow: hidden;
}

.news-contents p::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #2c4242;
    transform: translate(-110%, 0);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;

}

.news-contents p:hover:after {
    transform: translate(0, 0);
}

.newsdeco .rightdeco {
    position: absolute;
    left: 40px;
    top: 100px;
    z-index: -5;
}


.newsdeco .leftdeco {
    position: absolute;
    right: 20px;
    top: 50px;
    z-index: -5;

}

.andmore {
    position: absolute;
    right: 100px;
    width: 100px;
    border: #2c4242 solid 1px;
    border-radius: 15px;
    font-size: 80%;
    padding: 5px 3px;
}

.andmore:hover {
    background-color: #e5ece5;
    transition: 0.3s;
}



footer {
    background-color: #e5ece5;
    padding: 60px 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #333;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    padding: 0;
    margin-bottom: 30px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.follow p {
    margin-bottom: 10px;
}

footer .flexbox {
    justify-content: space-around;
}

.follow ul {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.follow img {
    height: 24px;
}

.footer-contents ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    list-style: none;
    margin-top: 30px;
}

footer p:last-child {
    margin-top: 50px;
    font-size: 0.8rem;
}

.opening {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5ece5;
    z-index: 9999;
    animation: byeShutter 2.6s forwards;
}

.opening::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    background-color: #fbfde5;
    width: 0;
    height: 1px;
    animation: shutterOpen 2.6s forwards;
}

@keyframes byeShutter {
    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
        z-index: -1;
    }
}

@keyframes shutterOpen {
    0% {
        width: 0;
        height: 1px;
    }

    50% {
        width: 100%;
        height: 1px;
    }

    90% {
        width: 100%;
        height: 100%;
    }

    100% {
        width: 100%;
        height: 100%;
    }
}

@keyframes contentScale {
    70% {
        transform: perspective(800px) scale(0.9) rotateX(15deg);
    }
}


.fuwa {
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(150px);
}

.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}