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

body {
    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);
    }
}

/* ==========================================================================
   Projects
   ========================================================================== */
.p-single-wrapper {
    width: 58svw;
    margin: var(--section-margin) auto;
}

.p-single-post__title {
    font-size: var(--font-size-Heading-M);
    font-weight: 900;
    letter-spacing: .15em;
    margin-bottom: .5em;
    color: var(--color-NUMATA-Green);
}

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

main a {
    color: var(--color-NUMATA-Orange);
    text-decoration: underline;
}

main a::after {
    display: inline-block;
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url(../../images/common/icon-external-link.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

@media screen and (max-width: 1080px) {
    .p-single-wrapper {
        width: 80%;
    }
}

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

    .p-single-wrapper {
        width: 100%;
        padding: 0 44px;
    }

}