@charset "UTF-8";

/*thin*/
@font-face {
    font-family: "LineSeedJP";
    src:
        url("font/LINESeedJP/LINESeedJP_A_OTF_Th.otf") format("opentype");
    font-weight: 100;
    font-style: normal;
}

/*normal*/
@font-face {
    font-family: "LineSeedJP";
    src:
        url("font/LINESeedJP/LINESeedJP_A_OTF_Rg.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

/*bold*/
@font-face {
    font-family: "LineSeedJP";
    src:
        url("font/LINESeedJP/LINESeedJP_A_OTF_Bd.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

/*extra bold*/
@font-face {
    font-family: "LineSeedJP";
    src:
        url("font/LINESeedJP/LINESeedJP_A_OTF_Eb.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
}

:root {
    --window-width: min(430px, 100vw);
    --top-image-width: 420px;
}

/* Non margin and padding */
html,
body {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: "LineSeedJP";
    font-weight: 700;
    font-size: 1em;
    color: #F3F3F3;
    line-height: 1.8em;
    background-color: #303030;
}

img {
    pointer-events: none;
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

canvas {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    pointer-events: none;
}

.preloading {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: all 0.5s linear;
}

.preloading.none {
    display: none;
}

.loading {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #303030;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: all 0.5s linear;
}

.loading.loaded {
    opacity: 0;
    visibility: hidden;
}

#container {
    background-color: #E0E0E0;
    margin: 0 auto;
    width: 100%;
    max-width: var(--window-width);
    background-image: url(img/paper_texture.jpg);
    background-size: contain;
    text-align: left;
    position: relative;
}

#header {
    width: 100%;
    height: 60px;
    background-color: rgba(230, 230, 230, 0.3);
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    align-items: center;
    border-bottom: 1px solid #303030;
}

.blur {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

#logo-margin {
    padding: 20px;
    height: 50%;
}

#logo {
    height: 100%;
    opacity: 1;
    object-fit: cover;
}

#hamburger-wrapper {
    width: 35px;
    height: 35px;
    margin: 15px;
    z-index: 3000;
}

.btn-trigger {
    position: relative;
    width: 36px;
    height: 32px;
    cursor: pointer;
}

.btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #303030;
    border-radius: 2px;
}

.btn-trigger,
.btn-trigger span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
}

.btn-trigger span:nth-of-type(1) {
    top: 0;
}

.btn-trigger span:nth-of-type(2) {
    top: 15px;
}

.btn-trigger span:nth-of-type(3) {
    bottom: 0;
}

#hamburger span:nth-of-type(1) {
    -webkit-animation: hamburger-bar01 .75s forwards;
    animation: hamburger-bar01 .75s forwards;
}

@-webkit-keyframes hamburger-bar01 {
    0% {
        -webkit-transform: translateY(15px) rotate(45deg);
    }

    50% {
        -webkit-transform: translateY(15px) rotate(0);
    }

    100% {
        -webkit-transform: translateY(0) rotate(0);
    }
}

@keyframes hamburger-bar01 {
    0% {
        transform: translateY(15px) rotate(45deg);
    }

    50% {
        transform: translateY(15px) rotate(0);
    }

    100% {
        transform: translateY(0) rotate(0);
    }
}

#hamburger span:nth-of-type(2) {
    transition: all .25s .25s;
    opacity: 1;
}

#hamburger span:nth-of-type(3) {
    -webkit-animation: hamburger-bar03 .75s forwards;
    animation: hamburger-bar03 .75s forwards;
}

@-webkit-keyframes hamburger-bar03 {
    0% {
        -webkit-transform: translateY(-15px) rotate(-45deg);
    }

    50% {
        -webkit-transform: translateY(-15px) rotate(0);
    }

    100% {
        -webkit-transform: translateY(0) rotate(0);
    }
}

@keyframes hamburger-bar03 {
    0% {
        transform: translateY(-15px) rotate(-45deg);
    }

    50% {
        transform: translateY(-15px) rotate(0);
    }

    100% {
        transform: translateY(0) rotate(0);
    }
}

#hamburger.active span:nth-of-type(1) {
    -webkit-animation: active-hamburger-bar01 .75s forwards;
    animation: active-hamburger-bar01 .75s forwards;
}

@-webkit-keyframes active-hamburger-bar01 {
    0% {
        -webkit-transform: translateY(0) rotate(0);
    }

    50% {
        -webkit-transform: translateY(15px) rotate(0);
    }

    100% {
        -webkit-transform: translateY(15px) rotate(45deg);
    }
}

@keyframes active-hamburger-bar01 {
    0% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(15px) rotate(0);
    }

    100% {
        transform: translateY(15px) rotate(45deg);
    }
}

#hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

#hamburger.active span:nth-of-type(3) {
    -webkit-animation: active-hamburger-bar03 .75s forwards;
    animation: active-hamburger-bar03 .75s forwards;
}

@-webkit-keyframes active-hamburger-bar03 {
    0% {
        -webkit-transform: translateY(0) rotate(0);
    }

    50% {
        -webkit-transform: translateY(-15px) rotate(0);
    }

    100% {
        -webkit-transform: translateY(-15px) rotate(-45deg);
    }
}

@keyframes active-hamburger-bar03 {
    0% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(0);
    }

    100% {
        transform: translateY(-15px) rotate(-45deg);
    }
}

.links-container{
    display: flex;
    flex-direction: column;
    position:fixed;
    top :0;
    z-index: 2000;
    width: calc(var(--window-width) + 2px);
    height: 100vh;
    background-color: #e4e4e4;
}

nav a{
    box-sizing: border-box;
    height: auto;
    align-self:center;
    width: 100%;
    padding: 20px 30px;
    line-height: 1.7em;
    font-size: 3em;
    font-weight: 800;
    color: #303030;
}

#first-view {
    width: 100%;
    height: 420px;
    position: relative;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#orimouse-front {
    width: var(--top-image-width);
    aspect-ratio: 1;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: calc(-0.5*var(--top-image-width));
}

#orimouse-front-fold {
    width: var(--top-image-width);
    aspect-ratio: 1;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: calc(var(--window-width) - 0.5 * var(--top-image-width));
}

#first-view-title-wrapper {
    width: 100%;
    height: 200px;
    font-size: 2em;
    color: #303030;
    margin: 0px;
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.first-view-title {
    width: 180px;
    height: auto;
    cursor: default;
    position: relative;
    line-height: 1.8em;
    top: 10px;
    left: 40px;
    font-size: 1.2em;
}

.fadeIn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}

.fadeIn.add-delay-500ms {
    transition-delay: 500ms;
}

.fadeIn.add-delay-1000ms {
    transition-delay: 1000ms;
}

/* 表示時のスタイル */
.fadeIn.visible {
    opacity: 1;
    transform: translateY(0);
}

#layered-title-wrapper {
    width: 100%;
    height: 400px;
    font-size: 1.4em;
    color: #303030;
    margin: 0px;
    overflow: hidden;
    position: relative;
}

.layered-title {
    width: fit-content;
    margin: 0;
    padding: 16px;
    white-space: nowrap;
    background-color: rgba(230, 230, 230, 0.3);
    border: #303030 1px solid;
    cursor: default;
    position: absolute;
    line-height: 1.6em;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.layered-dummy {
    width: fit-content;
    padding: 16px;
    background-color: #ebebeb;
    cursor: default;
    position: absolute;
    line-height: 1.6em;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(230, 230, 230, 0.3);
    border: #303030 1px solid;
}

#scroll-wrapper {
    height: 0px;
    width: auto;
    position: absolute;
}

/* スクロールダウン */
.scroll {
    z-index: 100;
    position: absolute;
    color: #303030;
    left: 380px;
    top: 12vh;
    writing-mode: vertical-rl;
}

.scroll::before {
    animation: scroll 2s infinite;
    background-color: #000;
    bottom: -115px;
    content: "";
    height: 100px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 1px;
    z-index: 2;
}

.scroll::after {
    background-color: #ccc;
    bottom: -115px;
    content: "";
    height: 100px;
    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%;
    }
}

.title-wrapper {
    width: auto;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0px 0px 0px 10px;
}

.title {
    width: auto;
    height: auto;
    display: inline-block;
    font-size: 3em;
    line-height: 0.7em;
    font-weight: 800;
    color: #303030;
    position: relative;
    margin: 0;
    margin-right: auto;
}

.box {
    aspect-ratio: 1;
    height: 30%;
    border: #303030 solid 1px;
    margin: 0px 10px;
}

.fill {
    background-color: #303030;
}

.content-container {
    width: auto;
    margin: 0px 10px;
}

.title-space {
    width: 100%;
    height: 200px;
    position: relative;
    color: #303030;
}

.media-space {
    width: 100%;
    height: auto;
    position: relative;
    color: #303030;
    text-align: center;
}

.main-section {
    width: 100%;
    height: auto;
    position: relative;
    color: #303030;
    display: flex;
    flex-direction: row;
}

.main-section-title-wrapper {
    width: 60%;
}

.border-right {
    border-right: solid #303030 1px;
}

.border-left {
    border-left: solid #303030 1px;
}

.border-top {
    border-top: solid #303030 1px;
}

.border-bottom {
    border-bottom: solid #303030 1px;
}

.border-top-bold {
    border-top: solid #303030 3px;
}

.main-section-title {
    position: absolute;
    bottom: 0px;
    width: auto;
    white-space: nowrap;
    line-height: 1.2em;
    font-size: 3em;
    padding: 20px;
    margin: 0;
}

.question-and-answer {
    width: 100%;
    height: auto;
    position: relative;
    color: #303030;
}

.question-wrapper {
    display: flex;
    align-items: center;
    margin: 0;
    margin-right: auto;
}

.question {
    width: auto;
    padding: 10px;
    margin: 0;
    line-height: 1.7em;
    font-size: 2em;
    font-weight: 700;
    color: #303030;
}

.question-number {
    width: 40%;
    padding: 10px;
    margin: 0;
    line-height: 1.7em;
    font-size: 3em;
    font-weight: 800;
    color: #303030;
}

.answer {
    width: auto;
    padding: 10px;
    margin: 0;
    padding-bottom: 40px;
    font-size: 0.9em;
    line-height: 1.5em;
    text-align: justify;
    text-justify: inter-character;
    font-weight: 400;
    align-self: center;
    color: #303030;

}

.dummy-space {
    width: 100%;
    height: 60px;
}

.sketch-wrapper {
    width: 100%;
    height: 800px;
    position: relative;
}

.content-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-top: solid #303030 1px;
    border-right: solid #303030 1px;

}

.main-section-content {
    width: 40%;
    height: 100%;
    margin: 0;
    padding: 10px;
    font-size: 0.9em;
    line-height: 1.5em;
    text-align: justify;
    text-justify: inter-character;
    font-weight: 400;
    align-self: center;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: repeat(8, auto);
    color: #303030;
    font-size: 1.2em;
    font-weight: 400;
    width: 100%;
    outline: solid #303030 0.5px;
}

.grid-item {
    outline: solid #303030 0.5px;
    padding: 10px;
}

.grid-item:nth-child(2n-1) {
    font-weight: 700;
}

.shop-text {
    width: auto;
    padding: 10px;
    margin: 0;
    line-height: 1.7em;
    font-size: 1.5em;
    font-weight: 700;
    color: #303030;
}

.shop-link-wrapper {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shop-link {
    width: 200px;
    height: 70px;
    margin: 0;
    border-radius: 35px;
    background-color: #303030;
    color: #ebebeb;
    font-weight: 700;
    line-height: 1.7em;
    font-size: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}


.footer {
    width: 100%;
    height: 300%;
    background-color: #000;
    margin: 0;
}

.icon-wrapper {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding-top: 20px;
    justify-content: center;
    text-align: center;
}

.icon-wrapper li {
    width: 30px;
    object-fit: cover;
    margin: 30px 40px;
}

#copyright {
    width: auto;
    padding: 20px;
    margin: 0;
    color: #ebebeb;
    font-weight: 400;
    font-size: 0.5em;
    line-height: 0.8em;
}

.youtube-ifreme {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
}