: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: var(--body-text);
        }

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

        /* --- Sidebar (Desktop) --- */
        .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);
            /* Grey Background */
        }

        .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,
        .sidebar-menu a.active {
            color: var(--accent-color);
        }

        /* --- Hamburger Menu (Mobile) --- */
        .hamburger-btn {
            display: none;
            /* Hidden on Desktop */
            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);
        }

        /* Mobile Sidebar toggled state */
        .sidebar.mobile-hidden {
            transform: translateX(-100%);
            background-color: rgba(255, 255, 255, 0.95);
            transition: transform 0.3s ease;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        }

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

        .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) 0;
            width: 100%;
        }

        /* Breadcrumbs */
        .breadcrumbs {
            font-size: var(--fs-note);
            color: var(--text-sub);
            margin-bottom: var(--sp-p);
            line-height: var(--lh-note);
        }

        .breadcrumbs a {
            color: var(--text-sub);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            min-height: 44px;
        }

        /* Header Section */
        .header-content {
            display: flex;
            align-items: flex-start;
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
            padding-bottom: 30px;
        }

        .page-title {
            font-size: var(--fs-h1);
            font-weight: 700;
            margin: 0 0 var(--sp-p) 0;
            color: #333;
            line-height: var(--lh-head);
        }



        /* Hero Image */
        .hero-image {
            width: 100%;
            height: auto;
            border-radius: 8px;
            margin-bottom: 0;
            display: block;
        }

        /* Tag Box */
        .tag-box {
            border: 1px solid #333;
            padding: 16px;
            text-align: center;
            margin-bottom: var(--sp-block);
            font-size: var(--fs-body);
            color: #333;
            line-height: var(--lh-body);
        }

        /* Description */
        .description-text {
            font-size: var(--fs-body);
            line-height: var(--lh-body);
            margin-bottom: var(--sp-block);
            text-align: left;
        }

        /* Video Embed */
        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            /* 16:9 */
            height: 0;
            overflow: hidden;
            margin-bottom: var(--sp-block);
            border-radius: 8px;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* Footer Navigation */
        .page-nav {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid #eee;
            padding-top: 20px;
            margin-top: 60px;
        }

        .page-nav a {
            text-decoration: none;
            color: var(--accent-color);
            font-size: 1.05rem;
        }


        /* --- 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 {
                width: 250px;
                background-color: var(--outer-bg);
            }

            .hamburger-btn {
                display: flex;
            }

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

        @media (min-width: 769px) {
            .sidebar {
                transform: none !important;
                background-color: var(--outer-bg);
            }

            .sidebar.mobile-hidden {
                transform: none;
                box-shadow: none;
                background-color: var(--outer-bg);
            }
        }

        
        /* WORKS一覧へ戻るボタン（2026-08-29 追加） */
        .back-to-works {
            display: flex;
            width: fit-content;
            margin: var(--sp-block) auto;
            padding: 0 32px;
            border: 1px solid var(--accent-color);
            border-radius: 999px;
            color: #664433;
            text-decoration: none;
            font-size: var(--fs-body);
            letter-spacing: 0.08em;
            transition: 0.3s;
            text-align: center;
            align-items: center;
            justify-content: center;
            min-height: 48px;
        }

        .back-to-works:hover {
            background-color: var(--accent-color);
            color: var(--on-accent);
        }

        /* ★追従の問い合わせボタン（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;
        }

        /* ★実績画像の枠（2026-09-21 デザインの決まり）
           枠の余白は60ページそれぞれの style 属性に直接書いてある（下40px・内側20px）。
           60ページを書き換えてアップし直さなくて済むよう、ここでまとめて上書きする */
        .content-inner div[style*="background: #fdfdfd"] {
            margin-bottom: var(--sp-block) !important;
        }

        .content-inner div[style*="background: #fdfdfd; padding: 20px"] {
            padding: 16px !important;
        }

        /* ★見出しを言葉の途中で折り返さない（2026-09-21 デザインの決まり・トップと同じ） */
        .page-title {
            word-break: keep-all;
            overflow-wrap: anywhere;
        }
