:root {
            /* ★デザインの決まり（2026-09-21 トップと同じ値）
               文字の段：スマホ×1.2／パソコン×1.25、本文16px
               余白：8の倍数。段落 < まとまり < セクション で約2倍ずつ */
            --fs-display: 40px;   /* 表示用（ABOUT などの英字） */
            --fs-h1: 28px;        /* 大見出し */
            --fs-h2: 23px;        /* 中見出し */
            --fs-h3: 19px;        /* 小見出し・リード */
            --fs-body: 16px;      /* 本文 */
            --fs-note: 13px;      /* 注意書き */
            --lh-body: 1.8;
            --lh-head: 1.4;
            --lh-note: 1.6;
            --sp-p: 16px;         /* 段落の間 */
            --sp-block: 32px;     /* まとまりの間 */
            --sp-section: 64px;   /* セクションの間 */
            --page-top: 64px;     /* ページの上端（EN切替ボタンの下にくるように） */
            --gutter: 20px;       /* 画面の左右（パソコンも真ん中の柱が480pxなので同じ20px） */
            --text-sub: #886655;  /* 補足の文字（白地で5.2：1） */
            --on-accent: #4A2E22; /* ピンクの上の文字（5.5：1） */
            --bg-color: #FFFFFF;
            --outer-bg: #E0E0E0;
            --accent-color: #ec9697;
            --body-text: #664433;
            --sidebar-width: 250px;
        }

        @media (min-width: 769px) {
            :root {
                --fs-display: 49px;
                --fs-h1: 31px;
                --fs-h2: 25px;
                --fs-h3: 20px;
                --sp-p: 24px;
                --sp-block: 48px;
                --sp-section: 96px;
            }
        }


        .english-serif {
            font-family: 'Cormorant Garamond', serif;
        }

        * {
            box-sizing: border-box;
        }

        body,
        html {
            margin: 0;
            padding: 0;
            height: 100vh;
            height: 100dvh;
            overflow: hidden;
            font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
            font-size: 16px;
            background-color: var(--outer-bg);
            color: #664433;
        }

        .layout-wrapper {
            display: flex;
            height: 100%;
            width: 100%;
            justify-content: center;
            position: relative;
            padding-left: var(--sidebar-width);
            padding-right: var(--sidebar-width);
        }

        .sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: var(--sidebar-width);
            height: 100%;
            padding: 32px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            z-index: 100;
            background-color: var(--outer-bg);
        }

        .sidebar-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar-menu li {
            margin-bottom: 20px;
        }

        .sidebar-menu a {
            text-decoration: none;
            font-family: 'Cormorant Garamond', serif;
            font-weight: 400;
            font-size: var(--fs-h3);
            color: #664433;
            transition: color 0.3s;
            letter-spacing: 0.1em;
            display: flex;
            align-items: center;
            min-height: 48px;
            padding: 0;
            line-height: var(--lh-head);
        }

        .sidebar-menu a:hover {
            color: var(--accent-color);
        }

        .center-scroll-container {
            width: 100%;
            max-width: 480px;
            height: 100%;
            background-color: var(--bg-color);
            overflow-y: scroll;
            -webkit-overflow-scrolling: touch;
            padding: 0;
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
            position: relative;
            scrollbar-width: none;
            letter-spacing: 0.04em;
        }

        .center-scroll-container::-webkit-scrollbar {
            display: none;
        }

        .content-inner {
            padding: var(--page-top) var(--gutter) var(--sp-section);
            width: 100%;
        }

        .section-number {
            font-family: 'Cormorant Garamond', serif;
            font-size: var(--fs-display);
            font-weight: 300;
            color: var(--accent-color);
            margin-bottom: 16px;
            display: block;
            letter-spacing: 0.1em;
            text-align: center;
            line-height: 1.2;
        }

        .section-dots {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            margin: 0 auto var(--sp-block);
        }

        .section-dots span {
            width: 4px;
            height: 4px;
            background-color: #ec9697;
            border-radius: 50%;
        }


        /* ★追従の問い合わせボタン（2026-08-29 追加） */
        .sticky-cta {
            display: none;
        }

        @media (max-width: 768px) {
            .sticky-cta {
                display: flex;
                position: fixed;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 1100;
                align-items: center;
                justify-content: center;
                gap: 8px;
                padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
                background: var(--accent-color);
                color: var(--on-accent);
                text-decoration: none;
                font-size: var(--fs-body);
                font-weight: bold;
                letter-spacing: 0.06em;
                box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.12);
            }

            .sticky-cta:hover,
            .sticky-cta:visited {
                color: var(--on-accent);
            }

            /* 追従ボタンのぶん、フッターのピンクを下まで伸ばす（白い隙間を作らない） */
            .copyright-footer {
                padding-bottom: 96px !important;
            }

            .back-to-top {
                bottom: 88px !important;
            }
        }

        /* ★タップ領域を44px以上に（2026-08-29 追加） */
        .sidebar-menu a {
            display: flex;
            padding: 0;
            line-height: var(--lh-head);
            font-weight: 400;
            font-size: var(--fs-h3);
            align-items: center;
            min-height: 48px;
        }

        .sidebar-menu li {
            margin-bottom: 4px;
        }

        .sidebar-menu .submenu a {
            padding: 0;
        }

        .language-floating a,
        .language-floating span {
            display: inline-block;
            padding: 14px 4px;
        }

        .language-floating {
            padding: 0 8px !important;
            top: 16px;
            right: 16px;
            font-size: var(--fs-body);
        }
        .copyright-footer {
            background-color: #ec9697;
            color: var(--on-accent);
            text-align: center;
            padding: 24px var(--gutter);
            font-size: var(--fs-note);
            margin: 0;
            width: 100%;
        }

        .copyright-footer p {
            margin: 0;
        }

        .works-list {
            display: flex;
            flex-direction: column;
            gap: var(--sp-p);
        }

        .work-filters {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            margin: 0 0 var(--sp-block);
        }

        .filter-btn {
            appearance: none;
            border: 1px solid var(--accent-color);
            background-color: transparent;
            color: #664433;
            border-radius: 999px;
            padding: 0 16px;
            font-family: 'Cormorant Garamond', serif;
            font-size: var(--fs-body);
            letter-spacing: 0.08em;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            min-height: 44px;
        }

        .filter-btn:hover,
        .filter-btn.is-active {
            background-color: var(--accent-color);
            color: var(--on-accent);
        }

        .work-item {
            width: 100%;
            display: block;
            text-decoration: none;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .work-item:hover {
            transform: scale(1.02);
        }

        .work-item.is-hidden {
            display: none;
        }

        .work-item img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            display: block;
        }

        .work-empty {
            display: none;
            text-align: center;
            color: #886655;
            font-size: var(--fs-body);
            line-height: var(--lh-body);
            padding: 32px 8px 8px;
        }

        .work-empty.is-visible {
            display: block;
        }

        .back-home {
            margin-bottom: var(--sp-block);
            display: block;
        }

        .back-link {
            text-decoration: none;
            color: #664433;
            font-size: var(--fs-body);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 48px;
        }

        .hamburger-btn {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 200;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 5px;
        }

        .hamburger-btn span {
            display: block;
            width: 24px;
            height: 2px;
            background-color: var(--accent-color);
            transition: 0.3s;
        }

        /* 開いているときは × にする */
        .hamburger-btn.is-open span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .hamburger-btn.is-open span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-btn.is-open span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* --- Back to Top Button --- */
        .back-to-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            width: 48px;
            height: 48px;
            background-color: var(--accent-color);
            color: var(--on-accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            font-size: 24px;
            line-height: 1;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        }

        /* --- Submenu (Consistency) --- */
        .submenu {
            display: none;
            list-style: none;
            padding: 8px 0 0 16px;
            margin: 0;
        }

        .submenu li {
            margin-bottom: 0;
        }

        .submenu a {
            font-size: var(--fs-body);
            color: #886655;
            font-family: 'Noto Sans JP', sans-serif;
            font-weight: 400;
        }



        .sidebar-menu .language-switch {
            margin-top: 26px;
            padding-top: 18px;
            border-top: 1px solid rgba(102, 68, 51, 0.2);
            font-family: 'Cormorant Garamond', 'Raleway', serif;
            font-size: 1rem;
            letter-spacing: 0.1em;
            color: #664433;
        }

        .sidebar-menu .language-switch a {
            font-size: 1rem;
        }

        .sidebar-menu .language-switch span {
            margin: 0 3px;
        }



        .language-floating {
            position: fixed;
            top: 16px;
            right: 16px;
            z-index: 1200;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 0 8px !important;
            border: 1px solid rgba(236, 150, 151, 0.55);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.92);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
            font-family: 'Cormorant Garamond', 'Raleway', serif;
            font-size: var(--fs-body);
            line-height: 1;
            letter-spacing: 0.08em;
        }

        .language-floating a {
            color: #664433;
            text-decoration: none;
        }

        .language-floating .is-current {
            color: #664433;
            font-weight: 500;
            text-decoration: underline;
            text-decoration-color: var(--accent-color);
            text-decoration-thickness: 2px;
            text-underline-offset: 4px;
        }

        @media (min-width: 769px) {
            .has-submenu:hover .submenu {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .has-submenu.open .submenu {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                background-color: rgba(255, 255, 255, 0.95);
                transition: transform 0.3s ease;
                width: 250px;
            }

            .sidebar.mobile-visible {
                transform: translateX(0);
            }

            .hamburger-btn {
                display: flex;
            }

            .layout-wrapper {
                padding-left: 0;
                padding-right: 0;
            }
        }
