/* =========================================
   0. Font Definition
   ========================================= */
   @font-face {
    font-family: "ls-350";
    src: url("assets/TWKLausanne-350.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    unicode-range: U+0000-007F, U+2000-21FF, U+2197, U+0100-017F;
}

@font-face {
    font-family: "ls-450";
    src: url("assets/TWKLausanne-450.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    unicode-range: U+0000-007F, U+2000-21FF, U+2197, U+0100-017F;
}

        @font-face {
            font-family: "ls-200";
            src: url("assets/TWKLausanne-200.woff") format("woff");
            font-weight: 200;
            font-style: normal;
            unicode-range: U+0000-007F, U+2000-21FF, U+2197, U+0100-017F;
        }

/* =========================================
   1. Variables (統合版)
   ========================================= */
:root {
    /* フォント・テキスト */
    --font-base: "ls-450", "Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", "Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;
    --font-head: "ls-350", "Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", "Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;
    --font-marquee: "ls-200", "Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", "Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;
    --font-weight-base: 600;
    --font-size: 12px;

    /* カラー */
    --headercolor: #fff;
    --color-dot: #000;
    --color-bg: #f5f5f5; /* フッター等で使用 */

    /* レイアウト寸法 */
    --content-margin: clamp(
    12px,
    calc(12px + (24 - 12) * ((100vw - 480px) / (1024 - 480))),
    24px
  );
    --grid-columns: 5;
    --gap: 0px;
    --dot-size: 6px;
    --bar-height: 28px;
    --header-height: 72px;

    /* 計算式 */
    --gridsize: calc((100vw - 2 * var(--content-margin) - 6px) / 5);
    --grid-cell: calc((100vw - (var(--content-margin) * 2)) / var(--grid-columns));
}

/* =========================================
   2. Base & Reset
   ========================================= */
* {
    box-sizing: border-box;
}

html {
    font-size: var(--font-size);
    font-family: var(--font-base);
    font-weight: var(--font-weight-base);
    background-color: #f5f5f5;
    
    /* アンチエイリアス */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    /* スクロール挙動 */
    scroll-behavior: auto;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: clip; /* 横スクロール禁止 */
    line-height: 1.75;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================================
   3. Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    font-feature-settings: "palt";
    letter-spacing: 0.02em;
    margin: 0;
}

h1 {
    font-size: 60px;
}

p {
    /* 和文の箱組設定 */
    text-align: justify;
    text-justify: inter-ideograph;
    font-feature-settings: "palt";
    line-height: 1.75;
    margin-bottom: 1em;
}

/* =========================================
   4. Components: Announcement & Header
   ========================================= */
announcement {
    position: fixed;
    top: 0;
    width: 100vw;
    background-color: #f5f5f5;
    display: flex;
    gap: 16px;
    align-items: center;
    height: var(--bar-height);
    color: #111;
    line-height: 1;
    z-index: 3000;
    border-bottom: 1px solid #ccc;
}

header {
    position: fixed;
    inset: var(--bar-height) 0 auto 0;
    padding: var(--content-margin);
    z-index: 10;
    color: var(--headercolor);
    background: transparent;
    mix-blend-mode:difference;

}
.header-content p{
    font-size: 18px !important;
}

.grid-wrp > .header-content:last-child {
    position: absolute;
    right: 0;
    text-align: right;
    padding-right: var(--dot-size);
}

.grid-wrp {
    position: relative;
    display: grid;
    align-items: start;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    grid-auto-rows: auto;
    width: 100%;
}
.grid-wrp > * {
    padding-left: var(--dot-size);
    box-sizing: border-box;
}
.header-content {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    flex-direction: column;
    justify-content: flex-start;
}


.header-content a { color: #fff; }
.header-black .header-content a { color: #000 !important; }

.header-content img {
    display: block;
    width: 48px;
    height: auto;
    transform: none !important;
}
.header-black .header-content img { filter: invert(1); }

.header-content p {
    margin: 0;
    line-height: 1.2;
}

.grid-wrp > .header-content:last-child {
    position: absolute;
    right: 0;
    text-align: right;
    width: max-content;
}

/* =========================================
   5. Components: Marquee
   ========================================= */
.marquee-wrp {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee {
    display: inline-flex;
    gap: 2rem;
    padding-block: 0.5rem;
    will-change: transform;
    color: #666;
    font-family: var(--font-marquee);
    font-weight:200;
}

.marquee span {
    display: inline-block;
    font-size: 12px; /* span指定を統一 */
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: none;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .marquee { transform: translateX(0) !important; }
}

/* =========================================
   6. Components: Grid Dots
   ========================================= */
   main{
    position: relative;
   }
        /* Background Dots System */
        .dots-layer {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='6' height='6' fill='%23000000'/%3E%3C/svg%3E");
            background-size: var(--grid-cell) var(--grid-cell);
            background-position: var(--content-margin) 0; 
            opacity: 1.0;
        }


#footer-grid .grid-dots {
    top: -6px;
}
#dummy{
    height:800px
}
/* =========================================
   7. Layout: Hero & Pages
   ========================================= */
.hero {
    padding: var(--content-margin);
    padding-top: calc(var(--bar-height) + var(--header-height) + var(--content-margin));
    min-height: 120vh;
    /* 注意: 実際の使用ではindex.phpのインラインstyle属性が優先されます */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.hero {
    /* 切り替え制御 */
    transition: background-image 0.8s ease-in-out; /* 0.8秒かけてフェード */
    background-size: cover;
    background-position: center;
}

.hero {
    position: relative;
    width: 100%;
    height: 120vh; /* 任意の高さ */
    overflow: hidden;
    z-index: 0;
}

/* 背景をまとめる箱 */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* ロゴより背面に */
}

/* 個別の画像レイヤー */
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* 基本は非表示 */
    transition: opacity 1.2s ease-in-out;
}

/* アクティブ時 */
.hero-bg-layer.is-active {
    opacity: 1;
}
/* PC用：デフォルトは非表示、幅が広い時だけ表示 */
.hero-bg-container.pc {
    display: block;
}
.hero-bg-container.sp {
    display: none;
}

/* SP用：767px以下（一例）での切り替え */
@media screen and (max-width: 767px) {
    .hero-bg-container.pc {
        display: none;
    }
    .hero-bg-container.sp {
        display: block;
    }
}

/* 共通設定（前述の通り） */
.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.hero-bg-layer.is-active {
    opacity: 1;
}

/* ロゴの重なり順を上げる */
.textlogo {
    position: relative;
    z-index: 10;
}
.textlogo {
    width: 100%;
    margin-bottom: calc(20vh + 6px);
}
.textlogo img { width: 100%; }

.page-grid {
    margin: 0 var(--content-margin);
    background-color: #f5f5f5;
    background-size: 100%;
    background-clip: content-box;
    display: grid;
    grid-template-columns: repeat(5, var(--gridsize));
    position: relative;
}

/* =========================================
   8. Layout: Catalog Grid & Columns
   ========================================= */
.catalog-grid {
    margin: 0 var(--content-margin);
    background-color: #f5f5f5;
    background-size: 100%;
    background-clip: content-box;
    display: flex;
    position: relative;
    padding-top: var(--gridsize);
}

.col {
    position: relative;
    padding: 40vh 0 0 0;
    z-index: 2;
    gap: calc(3 * var(--gridsize));
    display: flex;
    flex-direction: column;
}

.col.col-title {
    width: 20%;
    padding-left: 8px;
    z-index: 4;
}

.col.col-visual {
    width: calc(60% - 10px);
    margin: 0 auto;
    gap: calc((1.5 * var(--gridsize)) + 28px);
}

.col.col-menu {
    width: 20%;
    padding-right: 8px;
}
/* 右側のカラム全体のコンテナ */
.col.col-title.right {
    width: 20%;          /* カラムの幅 */
    text-align: right;   /* テキスト自体の右揃え */
    
    display: flex;
    flex-direction: column; /* 要素を縦に積む */
    align-items: flex-end;  /* 右端（end）に寄せる重要設定 */
    justify-content: flex-start;
    
    padding-left: 8px;   /* 必要に応じて調整 */
    box-sizing: border-box; /* paddingを含めた幅計算にする */
    
    /* 右端を固定位置にするための配置 */
    position: relative; 
    z-index: 4;
}
/* =========================================
   9. Sticky Elements (Titles, Visuals, Menus)
   ========================================= */

/* --- Sticky Titles --- */
.sticky-title {
    font-size: 60px;
    position: sticky;
    z-index: 2;
    display: flex;
    height: 70px;
    align-items: baseline;
    margin: 0;
    line-height: 70px;
    padding-top: 0;
    letter-spacing: -0.03em;
    gap: 0.5em;
    align-items: flex-end;
}
.sticky-title a {
    /* これを追加 */
    white-space: nowrap; 
    
    /* 念のための設定 */
    display: inline-block; /* または block */
    text-decoration: none;
    color: inherit;
}
.col-title.right .sticky-title{
    font-size:28px;
    line-height: 1;
    padding-bottom: 10px;
}

.sticky-title:nth-child(1) { 
    top: calc(var(--gridsize) );
    margin-bottom: calc(70px * 4); }
.sticky-title:nth-child(2) { top: calc(var(--gridsize) + 70px); 
    margin-bottom: calc(70px * 3);}
.sticky-title:nth-child(3) { top: calc(var(--gridsize) + 140px); 
    margin-bottom: calc(70px * 2);}
.sticky-title:nth-child(4) { top: calc(var(--gridsize) + 210px); 
    margin-bottom: calc(70px * 1);}
.sticky-title:nth-child(5) { top: calc(var(--gridsize) + 280px); }

/* --- Sticky Visuals (Parallax) --- */
.sticky-visual {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    margin-bottom: 50vh;
    z-index: 1;
    overflow: hidden;
    backface-visibility: hidden;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.sticky-visual img{
    object-fit: cover;
}

.sticky-visual:nth-child(1) img{
    aspect-ratio: 700 / 840;
    width: 75%;
    z-index: 1;
}
.sticky-visual:nth-child(2) img{
    aspect-ratio: 820 / 640;
    z-index: 2;
    width: 85%;
}
.sticky-visual:nth-child(3) img{
    aspect-ratio: 900 / 600;
    z-index: 3;
    width: 90%;
}
.sticky-visual:nth-child(4) img{
    aspect-ratio: 652 / 682;
    width: 69%;
    z-index: 4;
}
.sticky-visual:nth-child(5) img{
    width: 62%;
    aspect-ratio: 572 / 1000;
    z-index: 5;
}

.sticky-visual.dummy { height: 1px; margin: 0; visibility: hidden; }

/* パララックス用画像 */
.parallax-img {
    display: block;
    width: 100%;
    height: 120% !important; /* のりしろ */
    object-fit: cover;
    margin-top: -10%; /* 初期位置調整 */
    will-change: transform;
}

/* --- Sticky Menus --- */
.sticky-menu {
    text-align: right;
    font-size: 60px;
    position: sticky;
    height: 75px;
    line-height: 75px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
}

.sticky-menu a {
    white-space: nowrap;
    color: black;
}

.sticky-menu:nth-child(1) { top: calc(var(--gridsize) + 24px); }
.sticky-menu:nth-child(2) { top: calc(var(--gridsize) + 48px); }
.sticky-menu:nth-child(3) { top: calc(var(--gridsize) + 72px); }
.sticky-menu:nth-child(4) { top: calc(var(--gridsize) + 96px); }
.sticky-menu:nth-child(5) { top: calc(var(--gridsize) + 120px); }

/* Sticky要素の最後のみ余白を大きく取る
.sticky-visual:last-child,
.sticky-title:last-child,
.sticky-menu:last-child {
    margin-bottom: 100vh !important;
} */

/* =========================================
   10. Footer
   ========================================= */
/* 固定フッター（コンテンツ下） */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1;
    margin: 0;
    padding: 20px calc(var(--content-margin) + var(--dot-size)) 20px;
    box-sizing: border-box;
    border-top: 1px solid #000;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 500;
    background-color: var(--color-bg);
    /* グリッド風背景 */
    background-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
    background-size: 9px 10px;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-position: top 0 left 0, top 0 right 0, bottom 0 left 0, bottom 0 right 0;
    font-size:16px;
}

.footer-visual {
    grid-column: 2 / 5;
    grid-row: 1 / span 3;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.footer-visual img {
    width: 80%;
    height: auto;
    object-fit: contain;
    transform: none !important;
}

/* メインフッター（JS制御などで表示切り替え用？） */
footer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    z-index: 0; /* 背面に配置 */
    flex-direction: column;
}

.footer-img {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
    margin-top:20vh;
}
.header-content a:hover,
.sp-nav-links a:hover,
.sticky-title a:hover {
  opacity: 0.6;
}

.footer-img img{
    width:55%;
}
.copy { text-align: left; width: 300px; }
.address { text-align: center; flex-grow: 1; line-height:1.2;}
.social { text-align: right; width: 300px; display: flex; justify-content: flex-end; gap: 16px; }
.social a { transition: opacity 0.3s; }
.social a:hover { opacity: 0.6; }


@media (max-width: 1023px) {

    /* =========================================
   1. Variables & Reset
   ========================================= */
   :root {
    --dot-size: 2px; 
}

p {
font-size:15px;
}
h1, h2{ font-size:32px; }
h3{ font-size:25px; }
.col {
    padding: 20vh 0 0 0;
}
.header-content:not(:first-child) {
    display: none;
}
.sticky-title{
    font-size: 32px;
    mix-blend-mode: difference;
    color:white;
    z-index:999;
    height:40px;
    line-height: 40px;
}
.col-title.right .sticky-title{
    font-size:16px !important;
    padding-top:14px;
    padding-bottom:8px;
    line-height:16px;
}
.sticky-title:nth-child(1) {
    top: calc(var(--gridsize) * 3);
    margin-bottom:160px;
}
.sticky-title:nth-child(2) {
    top: calc(var(--gridsize) * 3 + 40px);
    margin-bottom:120px;
}
.sticky-title:nth-child(3) {
    top: calc(var(--gridsize) * 3 + 80px);
    margin-bottom:80px;
}
.sticky-title:nth-child(4) {
    top: calc(var(--gridsize) * 3 + 120px);
    margin-bottom:40px;
}
.sticky-title:nth-child(5) {
    top: calc(var(--gridsize) * 3 + 160px);
    margin-bottom:0px;
}
.sticky-visual {
    position: relative;
    margin-bottom: 50vh;
    z-index: 1;
    overflow: hidden;
    backface-visibility: hidden;
    margin: 0 auto;
    display: flex;
    align-items: center;
    top: initial;
        transform: initial;
        height: calc(6 * var(--gridsize));
        margin-top: 75px;
        /* background-color: red; */
}
.col.col-title {
    width:0%;
    padding-left:0px;
}
/* .sticky-title{
    background-color: blue;
} */
.col.col-visual {
    width:100%;
    gap:calc(2 * var(--gridsize));;
}
.col.col-title.right {
    width:0%;
padding-left:0px;
}

    .col{
        gap: calc(8 * var(--gridsize));
    }
    .sticky-visual img{
        z-index:1;
    }

    .sticky-visual:nth-child(1) img{
        aspect-ratio: 700 / 840;
        width: 100%;
    }
    .sticky-visual:nth-child(1) {
        margin-top:42px;
    }
    .sticky-visual:nth-child(2) {
        margin-top:208px;
    }
    .sticky-visual:nth-child(3) {
        margin-top:136px;
    }
    .sticky-visual:nth-child(4) {
        margin-top:140px;
    }
    .sticky-visual:nth-child(5) {
        margin-top:80px;
    }
    .sticky-visual:nth-child(2) img {
        aspect-ratio: 289 / 407;
        z-index: 2;
        width: 90%;
    }
    .sticky-visual:nth-child(3) img{
        aspect-ratio: 304 / 354;
        z-index: 3;
        width: 95%;
    }
    .sticky-visual:nth-child(4) img{
        aspect-ratio: 316 / 450;
        width: 90%;
        z-index: 4;
    }
    .sticky-visual:nth-child(5) img{
        width: 80%;
        aspect-ratio: 276 / 492;
        z-index: 5;
    }
    .footer-bottom{
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 20px;
    }
    .copy {
        grid-row: 2;
        font-size:14px;
    }
    .address {
        text-align: center;
        grid-row: 1;
        grid-column: 1 / -1;
        font-size:14px;
    }
    .social {
        grid-row: 2;
        text-align: right;
        font-size:14px;
        display: flex;
  gap: 12px;          /* アイコン間の余白（お好み） */
  flex-wrap: nowrap; /* ← 改行させない */
  white-space: nowrap;
  justify-self: end;
    }
    .footer-img img {
        width: 120%;
        margin-bottom: 36px;
        max-width: 120%;
    }
    .footer-img {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        overflow: hidden;
        margin-top: 100px;
    }
    #dummy{
        height:100px;
        margin-top:0;
    }
    .col {
        z-index: auto;
    }
    .col.col-title {
        z-index:auto;
    }
    
    /* 右側も同様に */
    .col.col-title.right {
        z-index: auto;
    }
}
/* デフォルトではSP用を隠す */
.spHeader, .sp-nav { display: none; }
nav .footer-bottom {
    background: white;
    background-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
    background-size: 9px 10px;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-position: top 0 left 0, top 0 right 0, bottom 0 left 0, bottom 0 right 0;
}

@media (max-width: 1023px) {
    .hero{
        height: calc(100vh + 50px);
        min-height: calc(100vh + 50px);
    }
    .textlogo{
        margin-bottom: calc(5vh + 160px);
    }
    .transparent.is-active .sp-logo {
        filter: invert(0);
    }
    .transparent .sp-logo {
        filter: invert(1);
    }
    /* PC用を消す */
    .pcHeader { display: none !important; }

    /* SPヘッダー固定 */
    .spHeader {
        display: block;
        position: fixed;
        top: var(--bar-height);
        left: 0;
        width: 100%;
        height: 60px;
        background: transparent;
        z-index: 1001;
        padding: 0 var(--content-margin) 0 calc(var(--content-margin) + 2px);
        mix-blend-mode: difference;
    }

    .spHeader-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }

    .sp-logo img { width: 40px; height: auto; }

    .sp-menu-trigger {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        position: relative;
        z-index: 2002;
    }
    .sp-menu-trigger .icon-close { fill:white; }
    /* SVGアイコンの切り替え制御 */
    .sp-menu-trigger .icon-close { display: none; }
    .sp-menu-trigger.is-active .icon-open { display: none; }
    .sp-menu-trigger.is-active .icon-close { display: block; fill:#000;}

    .sp-menu-trigger rect {
        fill: #000; /* 閉じるアイコンだけ青くする、など */
    }
    .sp-menu-trigger.is-active .icon-close rect{
        fill: #000;
    }


    /* オーバーレイメニュー本体 */
    .sp-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        background: #fff;
        z-index: 1000;
        padding: 0px;
        overflow-y: scroll;
        
        /* アニメーション */
        clip-path: inset(0 0 100% 0); /* 上から下に開く演出 */
        transition: clip-path 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .sp-nav.is-active {
        clip-path: inset(0 0 0 0);
    }

    /* メニュー内のタイポグラフィ (スクショ再現) */
    .sp-nav-section {
        margin-bottom: 15px;
    }

    .sp-nav-label {
        margin-bottom: 4px;
        line-height: 1;
        letter-spacing: -0.03rem;
        font-size:32px;
    }

    .sp-nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        line-height: 1;
    }

    .sp-nav-links a {
        font-size: 16px;
        white-space: nowrap;
        line-height: 1;
    }
    .sp-menu-trigger {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 80px;  /* クリック領域を広めに確保 */
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 100; /* メニュー(2001)より上に配置 */
        outline: none;
        -webkit-tap-highlight-color: transparent; /* タップ時の青い枠を消す */
    }
    span.icon-open {
        filter: invert(1);
    }
    /* SVG自体のサイズと色 */
    .sp-menu-trigger svg {
        width: 70px; /* 共有いただいたwidthに合わせる */
        height: auto;
        display: block;
        transition: transform 0.3s ease; /* 少し動きを滑らかに */
    }

    /* 閉じるボタン（X）を中央で綺麗に交差させるための調整 */
    /* 15度はかなり鋭角なので、もし角度が足りなければここでも微調整可能 */
    .icon-close svg {
        transform-origin: center;
    }

    /* ホバー時やアクティブ時の視認性向上（オプション） */
    .sp-menu-trigger:active {
        opacity: 0.6;
    }
    .copy,.social{
        width:fit-content;
    }
    .spHeader.is-active{
        mix-blend-mode: initial;
    }
    .sp-nav-inner {
        margin-top: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-right: var(--content-margin);
        margin-left: var(--content-margin);
        margin-bottom: 140px;
    }
}
@media (max-width: 768px) {

                    /* =========================================
                   1. Variables & Reset
                   ========================================= */
                   :root {
                    --dot-size: 2px; 
                }

                        /* Background Dots System */
        .dots-layer {
            z-index: 1;
            pointer-events: none;
            margin-top: 42px; 
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='2' height='2' fill='%23000000'/%3E%3C/svg%3E");
            background-size: var(--grid-cell) var(--grid-cell);
            background-position: var(--content-margin) 0; 
            opacity: 1.0;
        }
        nav footer{
            position: relative;
        }
        nav .footer-bottom {
            background: white;
            background-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
        background-size: 9px 10px;
        background-repeat: no-repeat;
        background-origin: border-box;
        background-position: top 0 left 0, top 0 right 0, bottom 0 left 0, bottom 0 right 0;
        }
    }