@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

:root {
    --color-Primary: #19244C;
    --color-NUMATA-Green: #007F5A;
    --color-NUMATA-Orange: #F08441;
    --color-NUMATA-LightBlue: #94C5DC;
    --color-White: #FAFAF8;
    --color-gray: #878787;

    --color-bg-main: #F9F8EE;
    --color-bg-secondary: #E0DBD2;
    --color-bg-tertiary: #E9E0C3;
    --color-border: #ccc;

    --Jp-font: 'Zen Kaku Gothic New', sans-serif;
    --En-font: 'Figtree', 'Rock Salt', sans-serif;

    --font-size-Heading-XL: clamp(34px, calc(19px + 3.75vw), 64px);
    --font-size-Heading-L: clamp(2.125rem, calc(1.4375rem + 2.75vw), 3.5rem);
    --font-size-Heading-M: clamp(1.75rem, calc(1.25rem + 2vw), 2.75rem);
    --font-size-Heading-R: clamp(1.5rem, calc(1rem + 2vw), 2.5rem);
    --font-size-Text-XL: clamp(20px, calc(14px + 1.5vw), 32px);
    --font-size-Text-L: clamp(1.125rem, calc(0.875rem + 1vw), 1.625rem);
    --font-size-Text-M: clamp(0.875rem, calc(0.625rem + 1vw), 1.375rem);
    --font-size-Text-R: clamp(0.6875rem, calc(0.53125rem + 0.625vw), 1rem);
    --font-size-Text-S: clamp(0.5rem, calc(0.375rem + 0.5vw), 0.75rem);

    --section-margin: clamp(8rem, 16vw, 20rem)
}

*::selection {
    background-color: var(--color-NUMATA-LightBlue);
    color: var(--color-White);
}

h2,
h3,
p,
li,
dt,
dd,
a,
span,
label,
button,
small {
    font-family: var(--Jp-font);
    /* --- 視覚・形状 --- */
    font-optical-sizing: auto;
    font-feature-settings: "palt" 1;
    font-kerning: normal;

    /* --- 改行・禁足・整理 --- */
    line-break: strict;
    overflow-wrap: break-word;
    word-break: auto-phrase;
    /* 文脈で改行 */
    hyphens: auto;
    /* 英単語ハイフン */
    hanging-punctuation: last allow-end;
    /* 句読点ぶら下げ */

    /* --- レイアウト --- */
    max-width: 42em;
    /* 1行を読みやすい長さに */
}


/* ==========================================================================
   Layout: Header (Desktop & Global)
   ========================================================================== */

.l-header {
    position: fixed;
    top: 20px;
    right: 20px;
    margin: 0 0 0 auto;
    text-align: right;
    font-size: var(--font-size-Text-R);
    font-weight: 600;
    color: var(--color-Primary);
    letter-spacing: .15em;
    line-height: 2.2;
    z-index: 9999;
}

/* --- PC用ナビゲーション基本スタイル --- */
.p-g-nav__logo {
    width: 8em;
    margin-bottom: 0.5em;
}

.p-g-nav__item {
    transition: all .4s ease-in-out;
}

#l-header__list .l-header-item:nth-of-type(odd).current {
    color: var(--color-NUMATA-Green);
}

#l-header__list .l-header-item:nth-of-type(even).current {
    color: var(--color-NUMATA-Orange);
}

.p-g-nav__item:hover {
    transform: translateX(-0.8em);
}

/* PCではハンバーガーと丸背景を隠す */
.p-hamburger,
.p-g-nav__circle,
.p-g-nav__image {
    display: none;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

@media screen and (max-width: 767px) {
    .l-header {
        width: 100%;
        top: 0;
        right: 0;
    }

    /* --- 丸の拡大背景 --- */
    .p-g-nav__circle {
        display: block;
        /* SPで有効化 */
        position: fixed;
        z-index: 9997;
        /* ナビより下、コンテンツより上 */
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: var(--color-NUMATA-LightBlue);
        /* デザインに合わせて変更してください */
        transform: scale(0);
        top: -100px;
        left: calc(50% - 50px);
        transition: all .6s ease;
        pointer-events: none;
    }

    /* JSで付与される拡大クラス */
    .p-g-nav__circle.is-circle-active {
        transform: scale(50);
        pointer-events: auto;
    }

    /* --- ナビゲーション本体 --- */
    .p-g-nav {
        display: none;
        /* 初期は非表示 */
        position: fixed;
        z-index: 9998;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* JSで付与される表示クラス */
    .p-g-nav.is-panel-active {
        display: block;
        padding: 20% 15%;
    }

    .p-g-nav__logo {
        display: none;
    }

    /* リストの配置（中央揃え） */
    .p-g-nav__list {
        display: flex;
        flex-direction: column;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .p-g-nav.is-panel-active .p-g-nav__list {
        opacity: 1;
    }

    /* リストアイテムのアニメーション */
    .p-g-nav.is-panel-active .p-g-nav__item {
        animation: gnaviAnime 1s forwards;
        animation-delay: .2s;
        opacity: 0;
        transform: translateY(4px);
    }

    .p-g-nav__image {
        display: block;
        width: 50%;
        margin: 4em auto 0;
        animation: gnaviAnime 1s forwards;
    }

    @keyframes gnaviAnime {
        0% {
            opacity: 0;
            transform: translateY(4px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .p-g-nav__item {
        font-size: var(--font-size-Text-L);
        text-align: left;
        list-style: none;
    }

    .p-g-nav__item a {
        text-decoration: none;
        padding: 15px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    /* --- ハンバーガーボタン --- */
    .p-hamburger {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        z-index: 9999;
        top: 1.5svh;
        right: 2.5svw;
        width: 3em;
        height: 3em;
        border-radius: 50%;
        border: 1px solid var(--color-Primary);
        background: none;
        cursor: pointer;
        transition: all .4s;
    }

    .p-hamburger:hover {
        transform: scale(1.1);
    }

    .p-hamburger span {
        display: inline-block;
        position: absolute;
        width: 60%;
        height: 1px;
        background: var(--color-Primary);
        transition: all .4s;
    }

    /* 3本線の位置 */
    .p-hamburger span:nth-of-type(1) {
        top: 30%;
    }

    .p-hamburger span:nth-of-type(2) {
        top: 50%;
    }

    .p-hamburger span:nth-of-type(3) {
        top: 70%;
    }

    /* ×印への変化 */
    .p-hamburger.is-active span:nth-of-type(1) {
        top: 50%;
        transform: rotate(-45deg);
    }

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

    .p-hamburger.is-active span:nth-of-type(3) {
        top: 50%;
        transform: rotate(45deg);
    }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.l-inner {
    width: 76svw;
    margin: var(--section-margin) auto;
}

@media screen and (max-width: 767px) {
    .l-inner {
        width: 100%;
        padding: 0 25px;
    }
}


/* ==========================================================================
   Layout: footer (Desktop)
   ========================================================================== */

.l-footer {
    width: 80%;
    margin: clamp(4rem, 10vw, 8rem) auto;
}

.l-footer__inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16svh;
}

.l-footer__info {
    width: 30%;
}

.l-footer__logo {
    width: 100%;
    margin-bottom: 8em;
}

.l-footer__logo img {
    -webkit-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
    pointer-events: auto !important;
}

.l-footer__social-wrapper {
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.l-footer__social-group {
    font-size: var(--font-size-Text-R);
    margin-right: 3.5em;
}

.l-footer__social-group:last-child {
    margin-right: 0;
}

.l-footer__social-list {
    width: 8em;
    display: flex;
    justify-content: space-between;
}

.l-footer__social-wrapper .l-footer__social-group:nth-child(3) .l-footer__social-list {
    justify-content: center;
}

.l-footer__social-item {
    width: 1.6em;
    aspect-ratio: 1/1;
}

.l-footer__nav {
    font-size: var(--font-size-Text-R);
    width: 50%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8em 6em;
}

.l-footer__social-heading,
.l-footer__nav-heading,
.l-footer__nav-item {
    font-size: var(--font-size-Text-R);
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1;
    color: var(--color-Primary);
    margin-bottom: 1em;
}

.l-footer__social-heading,
.l-footer__nav-heading {
    font-weight: 800;
}

.l-footer__nav-heading {
    position: relative;
}

.l-footer__nav-heading::before {
    position: absolute;
    top: 0;
    left: -2em;
    content: "";
    display: inline-block;
    width: 2em;
    height: 1em;
    background-image: url(../../images/common/icon-door.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.l-footer__nav .l-footer__nav-group:nth-of-type(odd) .l-footer__nav-heading {
    color: var(--color-NUMATA-Orange);
}

.l-footer__nav .l-footer__nav-group:nth-of-type(even) .l-footer__nav-heading {
    color: var(--color-NUMATA-Green);
}

.l-footer__logo a,
.l-footer__social-item a,
.l-footer__nav-item a {
    transition: all .4s ease-in-out;
}

.l-footer__logo a:hover,
.l-footer__social-item a:hover,
.l-footer__nav-item a:hover {
    opacity: .5;
}

.l-footer__accordion-menu {
    display: none;
}

.l-footer__bottom {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5svh;
}

.p-page-top {
    display: block;
    position: relative;
    width: 14%;
    margin-bottom: 12svh;
}

.p-page-top__chevron {
    display: block;
    position: absolute;
    top: 10%;
    left: 50%;
    translate: -50% -50%;
    width: 10%;
    rotate: -90deg;
    z-index: 10;
}

.p-page-top__label {
    display: block;
    position: absolute;
    top: 30.5%;
    left: 50%;
    translate: -50% -50%;
    font-family: var(--En-font);
    font-size: var(--font-size-Text-R);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    color: var(--color-Primary);
    text-align: center;
    white-space: nowrap;
    z-index: 10;
}

.p-page-top__image {
    position: absolute;
    z-index: 2;
    top: 65%;
    left: 50%;
    translate: -50% -50%;
    width: 50%;
    aspect-ratio: 1/1;
    transition: transform 0.2s;
}

.p-page-top__bg {
    z-index: 1;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--color-bg-tertiary);
    border-radius: 50%;
    transition: all .3s ease-in-out;
}

.p-page-top:hover .p-page-top__bg {
    transform: scale(1.26);
}

.p-page-top:hover .p-page-top__image {
    animation: sway 1.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    /* 0.5秒で1サイクル、無限に繰り返す */
}

@keyframes sway {

    /* 右端：到達時にイーズアウト */
    0% {
        transform: rotate(6deg);
    }

    /* 左端：到達時にイーズアウト */
    50% {
        transform: rotate(-6deg);
    }

    100% {
        transform: rotate(6deg);
    }
}

.l-footer__visual {
    width: 35%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.l-footer__visual .p-image__book-shelf {
    width: 56%;
}

.l-footer__visual .p-image__display-shelf {
    width: 40%;
}

.p-footer__copyright {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-bottom: 10svh;
}

.p-footer__copyright small {
    font-family: var(--En-font);
    font-size: var(--font-size-Text-R);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1;
    color: var(--color-Primary);
    text-align: right;
}

/* =========================================
       スマホ幅のアコーディオン設定 (1080px以下)
       ========================================= */
@media screen and (max-width: 1080px) {

    .l-footer__inner {
        display: flex;
        justify-content: space-between;
        margin-bottom: 6svh;
    }

    .l-footer__info {
        width: 40%;
    }

    .l-footer__logo {
        width: 78%;
        margin-bottom: 2em;
    }

    .l-footer__social-wrapper {
        flex-direction: column;
        gap: 2em;
    }

    /* Nav全体を縦並びに */
    .l-footer__nav {
        display: block;
    }

    .l-footer__nav-group {
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    /* ----------------------------------
           アコーディオンの重要設定
           ---------------------------------- */

    /* 1. 見出しのある行（最初のli）のレイアウト */
    .l-footer__nav-item:first-child {
        display: flex;
        justify-content: space-between;
        /* 見出しとボタンを左右に配置 */
        align-items: center;
        margin-bottom: 0;
        padding: 15px 0;
    }

    .l-footer__nav .l-footer__nav-group:first-of-type .l-footer__nav-item:first-child {
        padding-top: 0;
    }

    /* 2. 見出しのパディング調整 */
    .l-footer__nav-heading {
        margin-bottom: 0;
        flex-grow: 1;
        /* タップ領域を広げるため */
    }

    /* 3. ボタンを表示する */
    .l-footer__accordion-menu {
        display: block;
        width: 1em;
        aspect-ratio: 1/1;
        transition: transform 0.3s ease;
        /* 回転アニメーション */
    }

    /* 4. デフォルトで「2番目以降のli」を隠す */
    /* ※ .has-accordion クラスを持っているulの中身だけ隠すロジック */
    .l-footer__nav-list.has-accordion .l-footer__nav-item:not(:first-child) {
        display: none;
    }

    /* 5. 開いた状態（.is-open）の時、中身を表示する */
    .l-footer__nav-list.is-open .l-footer__nav-item:not(:first-child) {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    /* 6. 開いた状態の時、アイコンを回転させる */
    .l-footer__nav-list.is-open .l-footer__accordion-menu {
        transform: rotate(90deg);
    }

    /* ----------------------------------
               footer bottom
               ---------------------------------- */
    .p-page-top {
        width: 20%;
        aspect-ratio: 1/1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width:767px) {
    .l-footer {
        width: 100%;
        padding: 0 25px;
    }

    .l-footer__social-wrapper {
        width: 100%;
    }

    .l-footer__social-list {
        width: auto;
        justify-content: flex-start;
        gap: 2em;
    }

    .l-footer__social-wrapper .l-footer__social-group:nth-child(3) .l-footer__social-list {
        justify-content: flex-start;
    }

    .l-footer__social-item {
        width: 2.2em;
    }

    .p-page-top {
        width: 28%;
    }

    .l-footer__bottom {
        position: relative;
        justify-content: center;
    }

    .l-footer__visual {
        width: 33%;
    }

    .l-footer__bottom .l-footer__visual:nth-of-type(1) {
        position: absolute;
        left: 0;
        width: 46%;
        bottom: 0;
    }

    .l-footer__bottom .l-footer__visual:nth-of-type(2) {
        position: absolute;
        width: 46%;
        right: 0;
        bottom: 0;
    }
}

/* ==========================================================================
   Components / section-container
   ========================================================================== */
.c-section-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: var(--section-margin) auto;
}

.c-section-container--row {
    flex-direction: row;
    justify-content: center;
}

.c-section-container__heading {
    position: relative;
    font-size: var(--font-size-Heading-M);
    font-weight: 900;
    letter-spacing: .15em;
    white-space: nowrap;
    margin-bottom: .5em;
}

.c-section-container:nth-of-type(odd) .c-section-container__heading {
    color: var(--color-NUMATA-Orange);
}

.c-section-container:nth-of-type(even) .c-section-container__heading {
    color: var(--color-NUMATA-Green);
}

.c-section-container__sub {
    position: relative;
    font-size: var(--font-size-Text-M);
    font-weight: 900;
    letter-spacing: .15em;
    margin: 0 0 .5em 1em;
}

.c-section-container__heading::before {
    position: absolute;
    top: .25em;
    left: -1.25em;
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url(../../images/common/icon-door.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.c-section-container__lead {
    font-size: var(--font-size-Text-M);
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 2;
    color: var(--color-Primary);
    margin-bottom: 1em
}

.c-section-container__lead--large {
    font-size: var(--font-size-Text-L);
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 2;
    color: var(--color-Primary);
    margin-bottom: 1em
}

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

.c-section-container__description--large {
    font-size: var(--font-size-Text-M);
    font-weight: 500;
    letter-spacing: .15em;
    line-height: 2;
    color: var(--color-Primary);
    margin-bottom: 1.5em
}

.c-section-container__image {
    width: 48%;
    margin: auto 0;
}

@media screen and (max-width:1080px) {
    .c-section-container {
        margin: 16svh auto;
    }
}

@media screen and (max-width:767px) {
    .c-section-container__heading {
        margin-left: .5em;
    }
}

/* ==========================================================================
   Components / View More Button
   ========================================================================== */

.c-view-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0 16px;
    text-decoration: none;
    color: var(--color-Primary);
    font-weight: 700;
    font-size: var(--font-size-Text-L);
}


/* ホバー時に中のアイコンを動かす */
.c-view-more-button:hover .c-view-more-button__arrow {
    animation: arrow-slide-loop .8s ease-in-out forwards;
}

.c-view-more-button__text {
    font-family: var(--En-font);
    font-size: var(--font-size-Text-L);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.c-view-more-button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.4em;
    height: 1.4em;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.c-view-more-button__icon--orange {
    border: 1.6px solid var(--color-NUMATA-Orange);
}

.c-view-more-button__icon--green {
    border: 1.6px solid var(--color-NUMATA-Green);
}

.c-view-more-button__arrow {
    width: 64%;
    height: auto;
    position: relative;
    display: block;
}

@keyframes arrow-slide-loop {
    0% {
        transform: translateX(0);
    }

    45% {
        transform: translateX(160%);
    }

    46% {
        opacity: 0;
        transform: translateX(-160%);
    }

    47% {
        opacity: 1;
    }

    100% {
        transform: translateX(0);
    }
}

/* ==========================================================================
   Components / banner
   ========================================================================== */

.c-banner {
    font-size: var(--font-size-Text-R);
    width: 16em;
    margin-top: 3em;
    display: flex;
    flex-direction: column;
}

.c-banner--large {
    font-size: var(--font-size-Text-R);
    width: clamp(300px, 40svw, 3000px);
    height: auto;
    display: flex;
    flex-direction: column;
}

.c-banner__image {
    position: relative;
    overflow: hidden;
    border-radius: 6%;
}

.c-banner__image img {
    width: 100%;
    object-fit: cover;
    transition: transform .6s ease-out;
    border: none;
}

.c-banner:hover .c-banner__image img,
.c-banner:active .c-banner__image img,
.c-banner--large:hover .c-banner__image img,
.c-banner--large:active .c-banner__image img {
    transform: scale(1.08);
}

.c-banner__tittle {
    display: flex;
    font-family: var(--Jp-font);
    font-size: var(--font-size-Text-R);
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.5;
    margin-top: 1em;
}

.c-banner__tittle--large {
    display: flex;
    font-family: var(--Jp-font);
    font-size: var(--font-size-Text-M);
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.5;
    margin-top: 1em;
}

.c-icon-external-link {
    display: inline-block;
    /* 中のimgを制御しやすくする */
    width: .8em;
    height: .8em;
    margin-left: 0.4em;
    margin-top: auto;
    margin-bottom: auto;
}

.c-icon-external-link img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Components / tag
   ========================================================================== */
.c-tag {
    display: block;
    font-size: var(--font-size-Text-S);
    font-weight: 500;
    letter-spacing: .15em;
    line-height: 1;
    white-space: nowrap;
    border-radius: 9999px;
    width: fit-content;
    padding: .5em 1em;
}

.c-tag--gray {
    color: var(--color-gray);
    border: 1px solid var(--color-gray);
}

/* ==========================================================================
   Components / text
   ========================================================================== */

.c-text {
    font-family: var(--Jp-font);
    color: var(--color-Primary);
}

.c-text__sub-info {
    font-family: var(--Jp-font);
    font-size: var(--font-size-Text-L);
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 2;
    color: var(--color-Primary);
}

.c-text__heading {
    font-family: var(--Jp-font);
    font-size: var(--font-size-Heading-R);
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1;
    color: var(--color-Primary);
    margin-bottom: .5em;
}

.c-text__sub-heading {
    font-family: var(--Jp-font);
    font-size: var(--font-size-Heading-R);
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1;
    color: var(--color-Primary);
    margin-bottom: .5em;
}

.c-text__small-heading {
    font-family: var(--Jp-font);
    font-size: var(--font-size-Text-M);
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1;
    color: var(--color-Primary);
    margin-bottom: .5em;
}

.c-text__lead {
    font-family: var(--Jp-font);
    font-size: var(--font-size-Text-M);
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 2;
    color: var(--color-Primary);
    margin-bottom: 1em;
}

.c-text__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;
}

.c-text__link {
    font-family: var(--Jp-font);
    font-size: var(--font-size-Text-R);
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 2;
    color: var(--color-NUMATA-Green);
    text-decoration: underline;
}



/* ==========================================================================
   Components / page-header
   ========================================================================== */

/* 見出しの調整 */
.c-page-header__title {
    position: relative;
    font-size: var(--font-size-Heading-L);
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1;
    color: var(--color-Primary);
    margin-bottom: .5em;
}

.c-page-header__sub-title {
    position: relative;
    font-size: var(--font-size-Heading-M);
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1;
    color: var(--color-Primary);
    margin-bottom: .5em;
}

.c-page-header__lead {
    font-size: var(--font-size-Text-M);
    font-weight: 600;
    letter-spacing: .15em;
    line-height: 1;
    color: var(--color-Primary);
    margin-bottom: .5em;
}

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

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

    .c-section-container,
    .c-section-container:nth-of-type(odd),
    .c-section-container:nth-of-type(even) {
        flex-direction: column;
        gap: 4svh;
        margin: var(--section-margin) auto;
    }

    .c-section-container:first-child {
        margin-top: 8svh;
    }
}

/* ==========================================================================
   Components / post-nav
   ========================================================================== */
.c-post-nav__list {
    font-size: var(--font-size-Text-L);
    margin-top: 3em;
}

.c-post-nav__item {
    position: relative;
    margin-bottom: 2em;
    transition: all .4s;
}

.c-post-nav__list .c-post-nav__item:nth-of-type(1)::before {
    position: absolute;
    top: 50%;
    left: -.75em;
    translate: 0 -50%;
    content: "";
    display: inline-block;
    background-color: var(--color-Primary);
    width: .3em;
    height: .3em;
}

.c-post-nav__list .c-post-nav__item:nth-of-type(2)::before {
    position: absolute;
    top: 50%;
    left: -.75em;
    translate: 0 -50%;
    content: "";
    display: inline-block;
    background-color: var(--color-NUMATA-Green);
    width: .3em;
    height: .3em;
}

.c-post-nav__list .c-post-nav__item:nth-of-type(3)::before {
    position: absolute;
    top: 50%;
    left: -.75em;
    translate: 0 -50%;
    content: "";
    display: inline-block;
    background-color: var(--color-NUMATA-Orange);
    width: .3em;
    height: .3em;
}

.c-post-nav__list .c-post-nav__item:nth-of-type(4)::before {
    position: absolute;
    top: 50%;
    left: -.75em;
    translate: 0 -50%;
    content: "";
    display: inline-block;
    background-color: var(--color-NUMATA-LightBlue);
    width: .3em;
    height: .3em;
}

.c-post-nav__item .c-post-nav__item-tag {
    font-family: var(--En-font);
    font-weight: 600;
    letter-spacing: .15em;
    line-height: 1;
    color: var(--color-Primary);
}

.c-post-nav__item .c-post-nav__item-num {
    font-family: var(--En-font);
    font-weight: 600;
    letter-spacing: .15em;
    line-height: 1;
    color: var(--color-Primary);
}

.c-post-nav__item:hover {
    transform: translateX(0.8em);
}

@media screen and (max-width:767px) {
    .c-post-nav__list {
        font-size: var(--font-size-Text-L);
        display: grid;
        gap: 1em 2em;
        grid-template-columns: repeat(auto-fit, minmax(8em, 1fr));
        margin-top: 0;
    }

    .c-post-nav__item {
        margin-bottom: 0;
    }

    .c-post-nav__item:hover {
        transform: translateX(0);
    }
}

/* ==========================================================================
   Components / marquee
   ========================================================================== */
.c-marquee {
    overflow: hidden;
    width: 100%;
    font-size: var(--font-size-Heading-L);
    padding: 20px 0;
    border-top: 2px solid var(--color-Primary);
    border-bottom: 2px solid var(--color-Primary);
}

.c-marquee__track {
    width: 100%;
    overflow: hidden;
}

.c-marquee__items {
    display: flex;
    width: max-content;
    will-change: transform;
}

.c-marquee__items span {
    flex-shrink: 0;
}

.c-marquee__items img {
    display: block;
}