@import url('//fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300&display=swap');

/*------------------
common parts
------------------*/
html {
}

body {
    font-size: 1.4rem;
    font-family: 'Noto Serif JP', serif, Meiryo, メイリオ, sans-serif;
}

.lh-lg {
    line-height: 2.5 !important;
}

a {
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

/*------------------
header
------------------*/
.header {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    opacity: 0.8;
}

.header a {
    color: #000000;
}

a.nav-link {
    display: inline-block;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

a.nav-link:hover {
    color: #000000;
}

a.nav-link:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #393939;
    transform: translate(-100%, 0);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
    content: "";
}

a.nav-link:hover:after {
    transform: translate(0, 0);
}

footer {
    width: 100%;
    background: #000000;
}

footer a {
    color: #ffffff;
}

footer a:hover {
    color: #a8a8a8;
}

.copy {
    font-size: 1.1rem;
    color: #646464;
}

.first_contents {
    color: #3F1804;
}

/* フェードイン用スタイル */
.scrollanime {opacity: 0;} /*一瞬表示されるのを防ぐ*/
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: translate(0);
    }
}

/*2.上下の動きを指定*/
.updown {transform: translateY(-60px);}
.downup {transform: translateY(60px);}

/*3.左右の動きを指定*/
.sect02{overflow: hidden;} /*横スクロールバーを隠す*/
.slide-right {transform: translateX(120px);}
.slide-left {transform: translateX(-120px);}

/* wrap */
.hero {
    position: relative;
}

.carousel {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

/* video */
.video-box {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* overlay */
.overlay::after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
}

/* text */
.text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.top-scroll {
    font-size: 1.1rem;
    color: #fff !important;
    position: relative;
}

.scroll-area {
    display: inline-block;
    margin-top: 8px;
    width: 3px;
    height: 51px;
    position: relative;
    overflow: hidden;
}

.scroll-area span {
    display: block;
    position: absolute;
    width: 1px;
    height: 51px;
    color: #fff !important;
    top: 0;
    -webkit-animation: scroll 1.3s 0.1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    animation: scroll 1.3s 0.1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes scroll {
    from {
        top: -51px;
    }
    to {
        top: 51px;
    }
}

@-webkit-keyframes scroll {
    from {
        top: -51px;
    }
    to {
        top: 51px;
    }
}

.carousel-inner {
    /*background-color: black;*/
}

img.slide_img {
    /*opacity: 0.6;*/
}

.text-vertical {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

.bg-brown {
    background-color: #3F1804 !important;
}

.bg-mesh {
    background-image: url("../img/bg_mesh.png");
    background-color: #C9B886;
}

.bg-washi {
    background-image: url("../img/washi.jpg");
}

/*------------------SP---------------------*/
@media (max-width: 768px) {
    body {
        min-width: 100%;
    }

    .header {
        width: 100%;
        height: 70px;
        background: #fff;
        z-index: 10;
    }

    .header.top {
        color: #000000;
        background: #fff;
    }

    .header.top a {
        color: #000000;
        -webkit-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }

    .nav-link {
        font-size: 120%;
    }

    .copy {
        font-size: 0.8rem;
    }

    .slide-right {transform: translateX(20px);}
    .slide-left {transform: translateX(-20px);}

    h2 {
        font-size: 16px;
    }

    .small {
        font-size: 12px;
    }

    .wrapper p {
        font-size: 12px;
    }

    .nav-link {
        font-size: 80%;
    }

    .first_contents p {
        font-size: 14px;
    }

    .first_contents h1 {
        font-size: 24px;
    }

    .first_contents .img_area {
        position: absolute;
        left: 80%;
    }

    .bg_overlay {
        margin-top: 70px;
        height: calc(100vh - 70px);
        min-height: calc(100vh - 70px);
    }

    .bg_firstview {
        margin-top: 70px;
        width: 100%;
        height: calc(100vh - 70px);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .footer-item {
        font-size: 13px;
    }

    .video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%) scale(0.7, 0.7);
    }

    .text-box {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 33%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        overflow: hidden;
    }

}

