/* CSS Document */
@charset "utf-8";

html {
    overflow-y: scroll;
    width: 100%;
    font-size: 62.5%;
    background-color: #000000;
    scroll-behavior: smooth;
}

/* リセット（ブラウザのデフォルトスタイルを整える） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth;
    width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    opacity: 0;
    visibility: hidden;
}


/* ページ全体のフォントと背景 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
    padding: 0;
    line-height: 1;
    letter-spacing: 0.4em;
    font-weight: 100;
}

.roboto {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.2rem;
}


/* Chrome, Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

/* Firefox */
html,
body {
    scrollbar-width: none;
}

/* IE / Edge（旧） */
html,
body {
    -ms-overflow-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: 1em;
    font-weight: 400;
    text-decoration: none;
}

a {
    text-decoration: none;
    color: #333333;
}

img {
    width: 100%;
    height: auto;
}




/* イントロ */

#intro-video {
    width: 100%;
    height: 100vh;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
  transition: opacity 0.8s;
}

#intro-video.hide {
  opacity: 0;
  pointer-events: none;
}

#intro-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6));
    pointer-events: none;
    z-index: 1;
}

#intro-video .video-area {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

#intro-video .video-area video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#intro-video .kv {
    max-width: 560px;
    z-index: 9999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 60px;
    justify-content: center;
    align-items: center;
}

#intro-video .kv h1 {
    width: 54%;
    height: auto;
}

#intro-video .kv h1 img {
    width: 100%;
    height: auto;
}




/* 背景 */

#background {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../image/background.jpg") right center / cover no-repeat;
    z-index: -99;
}

/* メイン */


.main {
    width: 560px;
    margin: 0 auto;
    background-color: #ffffff;
    position: relative;
    top: 0;
}

.cart {
    position: fixed;
    top: 10px;
    right: calc((100vw - 600px) / 2 + 20px);
    width: 180px;
    /* ←固定推奨 */
    padding: 10px 20px;
    z-index: 99;
    background-color: rgba(255, 255, 255, 0.4);
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.cart a {
    width: 100%;
    height: 100%;
    display: block;
}

.cart p {
    font-size: 1.6rem;
    font-weight: 400;
    color: #000000;
    /* mix-blend-mode: difference; */
}




/* スクロールダウンの位置 */
.scroll {
    position: fixed;
    left: calc((100vw - 600px) / 2 + 20px);
    bottom: 14vh;
    padding: 10px 20px;
    writing-mode: vertical-rl;
    color: #ffffff;
    mix-blend-mode: difference;
    z-index: 99;
    font-size: 1.2rem;
    transition: opacity 0.5s ease;
    /* ←追加 */
}

/* 線のアニメーション部分 */
.scroll::before {
    animation: scroll 2.6s infinite;
    background-color: #bbbbbb;
    bottom: -12vh;
    content: "";
    height: 10vh;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 1px;
    z-index: 2;
}

/* 線の背景色 */
.scroll::after {
    background-color: #333333;
    bottom: -12vh;
    content: "";
    height: 10vh;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 1px;
}

/* 線のアニメーション */
@keyframes scroll {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    51% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

.scroll.hide {
    opacity: 0;
    pointer-events: none;
}

/* =========================
   reveal（外側＝壁）
========================= */
.reveal {
    display: block;
    overflow: hidden;
}

/* =========================
   reveal-inner（中身）
========================= */
.reveal-inner {
    display: inline-block;
    transform: translateY(40%);
    will-change: transform;
    opacity: 0;
}

/* ---------mv--------- */

#mv,
#function {
    width: 100%;
}

#mv {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

#mv .bg {
    width: 560px;
    position: fixed;
    top: 0;
    overflow: hidden;
}

#mv .bg video {
    width: 568px;
    min-height: 100vh;
    object-fit: cover;
}

#mv .bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

#mv .inner {
    z-index: 2;
    color: #ffffff;
    text-align: center;
}

#mv .kv {
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 100);
    /* 100vh相当に */
    display: flex;
    flex-direction: column;
    gap: 60px;
    justify-content: center;
    align-items: center;
}

#intro-video .kv .sub-ttl,
#mv .kv .sub-ttl {
    font-size: 2.4rem;
}

#intro-video .kv h1,
#mv .kv h1 {
    width: 50%;
}


#intro-video .kv p,
#mv .kv p {
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    line-height: 1.2;
}

#mv .text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 120px;
}

#mv .text h3 {
    font-size: 4.6rem;
    line-height: 1.3;
    letter-spacing: 0.4rem;
}

#mv .text img {
    width: 70%;
    margin: 0 auto;
}


#mv .text .inner-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#mv .text .inner-text p {
    font-size: 1.6rem;
    line-height: 2;
}


#function,
#scene,
#about,
#product {
    width: 100%;
    z-index: 2;
}



/* ---------function--------- */

#function {
    background-color: #E9E8E8;
    display: flex;
    flex-direction: column;
    padding-bottom: 26vh;
}

#function .container {
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 100);
    /* 100vh相当に */
    padding: 10% 0 10%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    z-index: 10;
}

#function .text-area,
#scene .text-area {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 6% 10%;
}

#function .text-area .text,
#scene .text-area .text {
    color: #000000;
    gap: 20px;
    width: 80%;
    line-height: 1.4;
    margin: 0;
}

#function .text h2,
#scene .text h2 {
    font-size: 3.2rem;
}

#function .text p,
#scene .text p {
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
}

#function .icon {
    writing-mode: vertical-rl;
    font-size: 1.8rem;
    font-weight: 1000;
    letter-spacing: 0.1rem;
}

#function .img-area {
    width: 100%;
    height: auto;
}

#function .img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------scene--------- */

#scene {
    min-height: calc(var(--vh, 1vh) * 100);
    /* 100vh相当に */
    position: relative;
    z-index: 5;
    overflow: hidden;
}

#scene .text-area {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 60px;
    margin-bottom: 0;
    z-index: 10;
}

#scene .text-area .text {
    color: #ffffff;
}

.wrapper {
    position: relative;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    /* 100vh相当に */
}

.wrapper-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 100);
    /* 100vh相当に */
}

.wrapper-inner img {
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 100);
    /* 100vh相当に */
    object-fit: cover;
}


/* 初期状態（下に隠す） */
.wrapper-inner {
    clip-path: inset(100% 0 0 0);
}

/* 1枚目は最初から表示 */
.wrapper-inner-1 {
    clip-path: inset(0 0 0 0);
}


.wrapper-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    opacity: var(--dark, 0);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* ---------about--------- */

#about {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../image/about-bg.png") center / cover no-repeat;
}

#about .inner {
    display: flex;
    flex-direction: column;
    gap: 120px;
    line-height: 1.5;
}

#about .inner .ttl {
    font-size: 3.6rem;
}

#about .inner .txt {
    font-size: 1.6rem;
}



/* ---------product--------- */

#product {
    background-color: #E9E8E8;
}

#product .inner {
    padding: 120px 60px;
    color: #000000;
    letter-spacing: 0;
}

#product .inner>img {
    width: 35%;
    margin-top: 120px;
}

#product h3,
#product .color-en {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 5rem;
    font-weight: 500;
    color: #000000;
}

#product table {
    margin-top: 60px;
    display: flex;
}

#product table tr {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    margin-bottom: 60px;
}

#product table td {
    display: flex;
    flex-direction: column;
    width: 40%;
}

#product table td .color-tip {
    width: 85%;
    height: 50px;
    overflow: hidden;
    margin: 20px auto;
}

#product table td .color-tip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#product table td .color-en {
    font-size: 2rem;
    line-height: 1.2;
}

#product table td .color-jp {
    font-size: 1.4rem;
}

#product .btn a {
    width: 60%;
    padding: 20px 20px;
    margin: 0 auto 50px;
    background-color: #262626;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

#product .btn a:hover {
    opacity: 0.6;

}

#product .btn p {
    color: #ffffff;
    font-size: 2rem;
}


#product .limited {
    width: 50%;
    padding: 10px 20px;
    border: #333333 1px solid;
    margin: 30px auto 0;
}

#product .limited p {
    color: #333333;
    font-size: 1.7rem;
}










@media screen and (max-width: 600px) {

    #intro-video {
        display: none;
    }

    #background {
        display: none;
    }

    .main {
        width: 100%;
    }

    #mv .bg {
        width: 100%;
    }


    .cart {
        right: 0;
        width: 110px;
        /* ←固定推奨 */
        padding: 8px 6px;
        z-index: 999;
    }

    .cart p {
        font-size: 1.4rem;
        letter-spacing: 0.3rem;
    }



    /* スクロールダウンの位置 */
    .scroll {
        position: fixed;
        padding: 0 10px;
        left: 0;
        bottom: 14vh;
    }

    /* 線のアニメーション部分 */
    .scroll::before {
        bottom: -11vh;
        height: 10vh;
    }

    /* 線の背景色 */
    .scroll::after {
        bottom: -11vh;
        height: 10vh;
    }

    /* ---------mv--------- */

    #mv .bg {
        width: 100%;
    }

    #mv .bg video {
        width: 100%;
        height: 100%;
    }

    #mv .kv .sub-ttl {
        font-size: 1.8rem;
    }

    #mv .kv h1 {
        width: 54%;
    }

    #mv .kv p {
        font-size: 1.2rem;
    }

    #mv .text h3 {
        font-size: 3.6rem;
    }

    #mv .text .inner-text {
        gap: 16px;
    }

    #mv .text .inner-text p {
        font-size: 1.2rem;
        line-height: 1.8;
    }


    #function,
    #scene,
    #about,
    #product {
        width: 100%;
        z-index: 2;
    }



    /* ---------function--------- */


    #function .container {
        padding: 120px 0 90px;
        justify-content: space-around;
    }

    #function .text-area,
    #scene .text-area {
        padding: 0 30px 60px;
    }

    #function .text-area .text,
    #scene .text-area .text {
        width: 86%;
    }

    #function .text h2,
    #scene .text h2 {
        font-size: 2.6rem;
    }

    #function .text p,
    #scene .text p {
        font-size: 1.4rem;
    }

    #function .icon {
        font-size: 1.4rem;
    }



    /* ---------scene--------- */

    #scene .text-area {
        padding-top: 60px;
    }




    /* ---------about--------- */

    #about {
        height: 90vh;
    }

    #about .inner {
        gap: 80px;
        padding: 0 2vw;
    }

    #about .inner .ttl {
        font-size: 3rem;
    }

    #about .inner .txt {
        font-size: 1.4rem;
        letter-spacing: 0.3rem;
    }




    /* ---------product--------- */

    #product .inner {
        padding: 100px 20px;
    }

    #product .inner>img {
        margin-top: 60px;
    }

    #product h3,
    #product .color-en {
        font-size: 4.2rem;
    }

    #product table td .color-tip {
        height: 36px;
    }

    #product table td .color-en {
        font-size: 2rem;
    }

    #product table td .color-jp {
        font-size: 1.2rem;
    }

    #product .btn a {
        padding: 14px 20px;
        border-radius: 6px;
    }

    #product .btn p {
        color: #ffffff;
        font-size: 1.4rem;
    }


    #product .limited {
        margin: 16px auto 0;
        padding: 5px 8px;
    }

    #product .limited p {
        font-size: 1.4rem;
    }



}