:root {
            --bg-color: #FFFFFF;
            --outer-bg: #E0E0E0;
            --accent-color: #ec9697;
            --body-text: #664433;
            --sidebar-width: 250px;
        }

        .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: 1.05rem;
            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: 40px;
            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: 300;
            font-size: 1.1rem;
            color: #664433;
            transition: color 0.3s;
            letter-spacing: 0.1em;
        }

        .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: 20px;
            left: 20px;
            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;
        }

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

        .content-inner {
            padding: 60px 24px 40px;
            width: 100%;
        }

        /* Breadcrumbs */
        .breadcrumbs {
            font-size: 0.95rem;
            color: #888;
            margin-bottom: 40px;
        }

        .breadcrumbs a {
            color: #888;
            text-decoration: none;
        }

        /* 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: 1.8rem;
            font-weight: 700;
            margin: 0 0 30px 0;
            color: #333;
            line-height: 1.4;
        }



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

        /* Tag Box */
        .tag-box {
            border: 1px solid #333;
            padding: 20px;
            text-align: center;
            margin-bottom: 40px;
            font-size: 1.1rem;
            color: #333;
        }

        /* Description */
        .description-text {
            font-size: 1.05rem;
            line-height: 2;
            margin-bottom: 40px;
            text-align: left;
        }

        /* Video Embed */
        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            /* 16:9 */
            height: 0;
            overflow: hidden;
            margin-bottom: 40px;
            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: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: var(--accent-color);
            color: white;
            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: 10px 0 0 15px;
            margin: 0;
        }
        .submenu li { margin-bottom: 12px; }
        .submenu a { 
            font-size: 0.9rem; 
            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: 18px;
            right: 18px;
            z-index: 1200;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            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: 0.9rem;
            line-height: 1;
            letter-spacing: 0.08em;
        }

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

        .language-floating .is-current {
            color: var(--accent-color);
        }

        @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: block;
            width: fit-content;
            margin: 48px auto 40px;
            padding: 14px 34px;
            border: 1px solid var(--accent-color);
            border-radius: 999px;
            color: var(--accent-color);
            text-decoration: none;
            font-size: 0.95rem;
            letter-spacing: 0.08em;
            transition: 0.3s;
            text-align: center;
        }

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

        /* ★追従の問い合わせボタン（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: 15px 20px calc(15px + env(safe-area-inset-bottom));
                background: var(--accent-color);
                color: #fff;
                text-decoration: none;
                font-size: 1rem;
                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: #fff;
            }

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

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

        /* ★タップ領域を44px以上に（2026-08-29 追加） */
        .sidebar-menu a {
            display: block;
            padding: 11px 0;
            line-height: 1.4;
        }

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

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

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

        .language-floating {
            padding: 2px 10px !important;
        }
        .copyright-footer {
            background-color: #ec9697;
            color: white;
            text-align: center;
            padding: 20px;
            font-size: 0.85rem;
            margin: 0;
            width: 100%;
        }

        .copyright-footer p {
            margin: 0;
        }
