@charset "UTF-8";
/* ==========================================================================
   bg
   ========================================================================== */

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--color-bg-tertiary);
}

/* 2. 動くノイズの層（オーバーレイ）を作る */
body::before {
    content: "";
    position: fixed;
    /* 画面に固定 */
    top: -100px;
    /* 動かした時に端が見えないよう、画面より大きく作る */
    left: -100px;
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    z-index: 0;
    /* 常に一番手前に配置 */
    pointer-events: none;
    /* 重要：下のボタンやリンクをクリックできるようにする */

    /* 用意した1枚のノイズ画像を敷き詰める */
    background-image: url('../../images/common/noise.webp');
    background-repeat: repeat;

    /* 濃さの調整（0.03〜0.08くらいが最もプロっぽく見えます） */
    opacity: 0.16;

    /* アニメーションの指定 */
    animation: noise-jump 2s steps(2) infinite;
}

/* 3. ノイズをガクガク動かすアニメーション */
@keyframes noise-jump {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, -10px);
    }
}



/* ==========================================================================
   Horizontal container
   ========================================================================== */

.horizontal-wrapper {
    display: flex;
    align-items: center;
    height: 100vh;
    width: max-content;
    /* 中身の合計幅に合わせる */
    padding: 0 5vw;
    /* 最初と最後に少し余白 */
    will-change: transform;
}

.horizontal-container {
    position: relative;
    flex-shrink: 0;
    /* 幅が潰れないようにする */
    font-size: var(--font-size-Text-R);
    /* アイテム間の距離 */
    display: flex;
    flex-direction: column;
    display: -webkit-flex;
    -webkit-flex-direction: column;
}

.horizontal-container.p-schedule__text {
    width: 24em;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
}

.horizontal-container.p-furniture {
    margin-right: 14em;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
}

.horizontal-container.large {
    width: 100svw;
}

.horizontal-container img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width:767px) {

    .c-section-container,
    .c-section-container:nth-of-type(odd) {
        flex-direction: row;
    }
}

/* ==========================================================================
   Projects / activity
   ========================================================================== */
.p-activity__intro {
    margin-right: 20svw;
}

.p-activity__inner {
    width: 76svw;
    margin: 20svh auto;
}

@media screen and (max-width: 1080px) {
    .p-activity__intro {
        margin-right: 60svw;
    }

    .p-activity__inner {
        width: 120svw;
        margin: 20svh auto;
    }
}

@media screen and (max-width: 767px) {
    .p-activity__inner {
        width: 180svw;
        margin: 20svh auto;
    }

    .p-activity__inner {
        width: 120svw;
        margin: 20svh auto;
    }
}

/* ==========================================================================
   Projects / schedule
   ========================================================================== */
.p-schedule {
    display: flex;
    height: 44svh;
}

.p-schedule__text {
    font-size: var(--font-size-Text-R);
    margin-bottom: 4em;
    margin-right: 4em;
}

.p-schedule__term-wrapper {
    letter-spacing: 0.15em;
    line-height: 1.5;
    color: var(--color-Primary);
    margin-bottom: 1em;
    position: absolute;
    top: -5em;
    left: -4.2em;
    width: 6em;
}

.p-schedule__term {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 6em;
    text-align: center;
    color: var(--color-White);
}

.p-schedule__num {
    display: block;
    font-size: var(--font-size-Text-M);
    font-family: var(--En-font);
    font-weight: 900;
}

.p-schedule__mos {
    display: block;
    font-size: var(--font-size-Text-R);
    font-family: var(--Jp-font);
    font-weight: 800;
}

.p-schedule__term::before {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -10;
    width: 6em;
    height: 6em;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.p-schedule .horizontal-container:nth-of-type(4n+1) .p-schedule__term::before {
    background-image: url(../../images/about/bg-book-green.svg);
}

.p-schedule .horizontal-container:nth-of-type(4n+3) .p-schedule__term::before {
    background-image: url(../../images/about/bg-book-orange.svg);
}

.p-schedule__title {
    font-family: var(--Jp-font);
    font-size: var(--font-size-Text-M);
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: .5em;
}

.p-schedule .horizontal-container:nth-of-type(4n+1) .p-schedule__title {
    color: var(--color-NUMATA-Green);
}

.p-schedule .horizontal-container:nth-of-type(4n+3) .p-schedule__title {
    color: var(--color-NUMATA-Orange);
}

.p-schedule__description {
    font-family: var(--Jp-font);
    font-size: var(--font-size-Text-R);
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 2;
    color: var(--color-Primary);
    margin-bottom: 1em;
}

/* ==========================================================================
   Projects / furniture
   ========================================================================== */

.p-furniture__hatrack {
    width: clamp(154px, 12svw, 350px);
}

.p-furniture__chest {
    width: clamp(120px, 9svw, 248px);
}

.p-furniture__bookshelf {
    width: clamp(360px, 26svw, 730px);
}

.p-furniture__plant_corner {
    width: clamp(330px, 22svw, 660px);
}

.p-furniture__instrument {
    width: clamp(218px, 18svw, 512px);
}

.p-furniture__dining {
    width: clamp(398px, 34svw, 1080px);
}

.p-furniture__refrigerator {
    width: clamp(168px, 13.5svw, 360px);
}

.p-furniture__living {
    width: clamp(680px, 58svw, 1550px);
}

.p-furniture__display_shelf {
    width: clamp(218px, 18svw, 512px);
}