* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            max-width: 100%;
            overflow-x: hidden;
        }

        body {
            font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #faf9f6;
            overflow-x: hidden;
            position: relative;
            background-image: url(images/main_back.jpg);
            background-size: contain;
            background-repeat: repeat;
            max-width: 100vw;
            width: 100%;
        }

        /* 和紙テクスチャのベース（修正版） */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            max-width: 100%;
            z-index: -2;
            pointer-events: none;
            overflow: hidden;
        }

        /* 水墨画風の背景アニメーション（修正版） */
        .ink-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            max-width: 100%;
            z-index: -1;
            pointer-events: none;
            overflow: hidden;
        }

        .ink-drop {
            position: absolute;
            border-radius: 50%;
            opacity: 0;
            animation: inkSpread 8s ease-out infinite;
        }

        .ink-drop:nth-child(1) {
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(139,69,19,0.1) 0%, rgba(139,69,19,0.05) 30%, transparent 70%);
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .ink-drop:nth-child(2) {
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(210,105,30,0.08) 0%, rgba(210,105,30,0.03) 40%, transparent 70%);
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .ink-drop:nth-child(3) {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(101,67,33,0.06) 0%, rgba(101,67,33,0.02) 50%, transparent 80%);
            top: 40%;
            left: 60%;
            animation-delay: 4s;
        }

        .ink-drop:nth-child(4) {
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(139,69,19,0.12) 0%, rgba(139,69,19,0.04) 35%, transparent 65%);
            bottom: 30%;
            left: 20%;
            animation-delay: 6s;
        }

        /* 水墨画の流れるような線（修正版） */
        .ink-stroke {
            position: absolute;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(139,69,19,0.1), rgba(139,69,19,0.05), transparent);
            opacity: 0;
            animation: inkFlow 12s ease-in-out infinite;
        }

        .ink-stroke:nth-child(5) {
            width: 300px;
            top: 25%;
            left: -300px;
            transform: rotate(-15deg);
            animation-delay: 1s;
        }

        .ink-stroke:nth-child(6) {
            width: 400px;
            top: 70%;
            right: -400px;
            transform: rotate(10deg);
            animation-delay: 3s;
        }

        .ink-stroke:nth-child(7) {
            width: 250px;
            top: 50%;
            left: -250px;
            transform: rotate(-8deg);
            animation-delay: 5s;
        }

        /* 電話予約ボタン（モバイル最適化） */
        .phone-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #9d895e 0%, #b38e53 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(139, 69, 19, 0.4);
            z-index: 1000;
            transition: all 0.3s ease;
            cursor: pointer;
            animation: phoneFloat 3s ease-in-out infinite;
            text-decoration: none;
        }

        .phone-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(186, 156, 84, 0.6);
        }

        .phone-button::before {
            content: '📞';
            font-size: 1.5rem;
            color: white;
        }

        .phone-button::after {
            content: 'お電話で予約';
            position: absolute;
            right: 70px;
            background: rgba(139, 93, 19, 0.9);
            color: white;
            padding: 6px 10px;
            border-radius: 15px;
            font-size: 0.9rem;
            white-space: nowrap;
            opacity: 1;
            transform: translateX(0);
            transition: all 0.3s ease;
            pointer-events: none;
        }

        /* スクロール時のホバーのみ表示 */
        .phone-button.scrolled::after {
            opacity: 0;
            transform: translateX(10px);
        }

        .phone-button.scrolled:hover::after {
            opacity: 1;
            transform: translateX(0);
        }

        /* ヘッダー（ハンバーガーメニュー対応） */
        .header {
            background: linear-gradient(135deg, #8b6b13 0%, #d28d1e 100%);
            color: white;
            padding: 0.8rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.51);
            position: fixed;
            width: 100%;
            max-width: 100vw;
            top: 0;
            z-index: 1000;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 1rem;
            position: relative;
            width: 100%;
        }

        .logo {
            font-family: 'Yuji Syuku', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
            font-size: 1.4rem;
            font-weight: normal;
            letter-spacing: 0.15em;
            -webkit-text-stroke: 1.2px black;
            text-stroke: 1.2px black;
            paint-order: stroke;
        }

        /* ハンバーガーボタン */
        .hamburger {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            width: 24px;
            height: 20px;
            background: transparent;
            border: none;
            cursor: pointer;
            position: relative;
            z-index: 1001;
        }

        .hamburger span {
            display: block;
            height: 3px;
            width: 100%;
            background: white;
            border-radius: 2px;
            transition: all 0.3s ease;
            position: relative;
        }

        /* ハンバーガーアクティブ時 */
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        /* ナビゲーションメニュー */
        .nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            max-width: 80vw;
            height: 100vh;
            background: linear-gradient(135deg, #8b6b13 0%, #d28d1e 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            transition: right 0.3s ease;
            z-index: 1000;
            box-shadow: -5px 0 20px rgba(0,0,0,0.3);
            overflow: hidden;
        }

        .nav.active {
            right: 0;
        }

        .nav a {
            color: white;
            text-decoration: none;
            font-size: 1.1rem;
            padding: 1rem 2rem;
            border-radius: 25px;
            transition: all 0.3s ease;
            -webkit-text-stroke: 1px black;
            text-stroke: 1px black;
            paint-order: stroke;
            text-align: center;
            width: 90%;
            max-width: 200px;
        }

        .nav a:hover {
            background-color: rgba(255,255,255,0.2);
            transform: scale(1.05);
        }

        /* オーバーレイ */
        .nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
        }

        .nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* メインビジュアル（モバイル最適化） */
        .hero {
            background-image:url(images/00.png);
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: scroll;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 1.5rem;
            margin-top: 70px;
            color: rgb(35, 35, 35);
            position: relative;
            overflow: hidden;
            width: 100%;
            max-width: 100vw;
        }

        .hero-logo-area {
            text-align: center;
            z-index: 2;
            position: relative;
            margin-bottom: 2rem;
            width: 100%;
            max-width: 100%;
        }

        .hero-logo {
            font-family: 'Yuji Syuku', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            letter-spacing: 0.15em;
            font-weight: normal;
            animation: slideInRight 1.5s ease;
            -webkit-text-stroke: 3px #ffffffa0;
            text-stroke: 3px #ffffffa0;
            paint-order: stroke;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
        }

        .hero-subtitle {
            font-family: 'Yuji Syuku';
            font-size: 1.2rem;
            opacity: 0.95;
            letter-spacing: 0.1em;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            animation: slideInRight 1.5s ease 0.3s both;
            -webkit-text-stroke: 2px #5e5e5eb8;
            text-stroke: 2px #5e5e5eb8;
            paint-order: stroke;
            margin-bottom: 1rem;
        }

        .hero-subtitle strong {
            font-weight: normal;
        }

        .hero-tagline {
            font-size: 1rem;
            opacity: 0.9;
            letter-spacing: 0.3rem;
            animation: slideInRight 1.5s ease 0.6s both;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            -webkit-text-stroke: 2px #5e5e5eb8;
            text-stroke: 2px #5e5e5eb8;
            paint-order: stroke;
        }

        .hero-news {
            width: 95%;
            max-width: 500px;
            background: rgba(255, 255, 255, 0.95);
            color: #333;
            border-radius: 15px;
            padding: 1.5rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            backdrop-filter: blur(10px);
            max-height: 60vh;
            overflow-y: auto;
            animation: slideInRight 1.5s ease 0.9s both;
        }

        .hero-news h3 {
            color: #8B4513;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            text-align: center;
            letter-spacing: 0.05em;
            border-bottom: 2px solid #D2691E;
            padding-bottom: 0.5rem;
        }

        .hero-news-item {
            display: flex;
            flex-direction: column;
            padding: 0.8rem 0;
            border-bottom: 1px solid #e0e0e0;
            transition: all 0.3s ease;
        }

        .hero-news-item:hover {
            background: rgba(210, 105, 30, 0.05);
            border-radius: 8px;
            padding: 0.8rem;
            margin: 0 -0.8rem;
        }

        .hero-news-item:last-child {
            border-bottom: none;
        }

        .hero-news-date {
            background: linear-gradient(45deg, #8B4513, #D2691E);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.7rem;
            margin-bottom: 0.4rem;
            align-self: flex-start;
            font-weight: 500;
        }

        .hero-news-title {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            line-height: 1.6;
            transition: color 0.3s ease;
            font-size: 0.85rem;
        }

        .hero-news-title:hover {
            color: #D2691E;
        }

        /* セクション共通（モバイル最適化） */
        .section-about {
            box-shadow: 0px -8px 28px -6px rgba(20,20,20,0.4) inset;
            border-top:5px groove #094336;
            background: linear-gradient(135deg, #2f5d64 0%, #194248 100%);
            padding: 4rem 0;
            position: relative;
            z-index: 10;
            color: #fff;
            width: 100%;
            max-width: 100vw;
            overflow: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
            position: relative;
            z-index: 3;
            width: 100%;
        }

        .section-title {
            font-family: 'Yuji Syuku', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: #ecc7ab;
            position: relative;
            letter-spacing: 0.1em;
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s ease;
            font-weight: normal;
        }

        .about-section {
            font-family: 'Yuji Syuku';
            color: #edd1bb;
            font-size: 142%;
            line-height: 2.8;
            width: 94%;
            margin: 20px auto 4rem;
            text-align: center;
            gap: 2rem;
        }
        .about-section span{
            display: block;
        }
        .section-title.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 60px;
            height: 3px;
            background: linear-gradient(to right, #D2691E, #8B4513);
            border-radius: 2px;
            transition: transform 0.8s ease 0.3s;
        }

        .section-title.visible::after {
            transform: translateX(-50%) scaleX(1);
        }
        /* 特徴セクション（モバイル最適化） */
        .features {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-top: 2rem;
            width: 100%;
        }

        .feature-card {
            background: white;
            padding: 1.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            text-align: center;
            transition: all 0.6s ease;
            border: 2px solid #f0e6d2;
            opacity: 0;
            transform: translateX(50px);
            position: relative;
            width: 100%;
            max-width: 100%;
        }

        .feature-card.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .feature-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 0.8rem;
            color: #D2691E;
        }

        .feature-card h3 {
            font-size: 1.3rem;
            margin-bottom: 0.8rem;
            color: #8B4513;
            letter-spacing: 0.05em;
        }

        .feature-card p {
            line-height: 1.6;
            color: #555;
            font-size: 0.9rem;
        }

        /* 全セクション共通のオーバーフロー制御 */
        .section-news,
        .retro-tv-section,
        .section-services,
        .footer {
            width: 100%;
            max-width: 100vw;
            overflow: hidden;
        }

        /* ニュースセクション（モバイル最適化） */
        .section-news {
            border-top:5px ridge #ffc369;
            box-shadow: 0px -8px 28px -6px rgba(20,20,20,0.4);
            padding: 4rem 0;
            position: relative;
            z-index: 9;
            margin-top: -100px;
            padding-top: 6rem;
        }

        .section-news::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url(images/tora_back03.png);
            background-size: 80%;
            background-position: -200px 40px !important;
            background-attachment: scroll;
            background-repeat: no-repeat;
            background-color: rgb(255 255 255 / 0.2);
            z-index: 2;
        }

        .news-section {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            align-items: center;
            width: 100%;
            padding:5rem 1rem;
        }

        .news-title-area {
            text-align: center;
            width: 100%;
        }

        .news-title-area h2 {
            font-family: 'Yuji Syuku', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
            font-size: 2.5rem;
            color: #8B4513;
            margin-bottom: 1rem;
            letter-spacing: 0.1em;
            position: relative;
            font-weight: bold;
        }

        .news-title-area h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(to right, #D2691E, #8B4513);
            border-radius: 2px;
            -webkit-text-stroke: 2px rgb(22, 22, 22);
            text-stroke: 2px rgba(37, 37, 37, 0.5);
            paint-order: stroke;
        }

        .news-description {
            font-size: 1.2rem;
            color: #4d4d4d;
            line-height: 1.6;
            margin-top: 1rem;
            padding-left:12px;
            background: linear-gradient(to right, #fff7e9a8, #fffaf752);
            -webkit-text-stroke: 8px rgb(255, 255, 255);
            text-stroke: 8px rgb(255, 255, 255,0.5);
            paint-order: stroke;
            margin-left:0px !important;
                text-align:left !important;
        }

            .news-title-area p.news-description span{
                display: block;
            }
        .news-content {
            background: linear-gradient(135deg, #fff8e7 0%, #f5e6d3 100%);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            max-height: 550px;
            overflow-y: auto;
            width: 100%;
            max-width: 500px;
        }

        .news-content h3 {
            font-family: 'Yuji Syuku', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
            color: #8B4513;
            font-size: 1.2rem;
            margin-bottom: 1rem;
            text-align: center;
            letter-spacing: 0.05em;
            font-weight: bold;
        }

        .news-item {
            display: flex;
            flex-direction: column;
            padding: 0.8rem 0;
            border-bottom: 1px solid #e0d0b7;
        }

        .news-item:last-child {
            border-bottom: none;
        }

        .news-date {
            font-family: 'Yuji Syuku', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
            background: #8B4513;
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.75rem;
            margin-bottom: 0.4rem;
            align-self: flex-start;
            font-weight: 500;
            -webkit-text-stroke: 1px rgb(240, 240, 240);
            text-stroke: 1px rgba(234, 234, 234, 0.5);
            paint-order: stroke;
            letter-spacing: 0.4px;
        }

        .news-title {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            line-height: 1.6;
            transition: color 0.3s ease;
            font-size: 0.85rem;
        }

        .news-title:hover {
            color: #D2691E;
        }

        .news-loading {
            text-align: center;
            color: #666;
            font-style: italic;
            padding: 1.5rem;
            font-size: 0.9rem;
        }

        .news-error {
            text-align: center;
            color: #d32f2f;
            padding: 0.8rem;
            background: #ffebee;
            border-radius: 8px;
            margin: 0.8rem 0;
            font-size: 0.8rem;
        }

        /* 昭和テレビセクション（モバイル最適化） */
        .retro-tv-section {
            padding: 6rem 0;
            background: linear-gradient(135deg, rgba(40,30,20,0.95) 0%, rgba(60,45,30,0.95) 100%);
            position: relative;
            z-index: 8;
            overflow: hidden;
            box-shadow: 0px 8px 12px -4px rgba(0,0,0,0.6) inset;
        }

        .tv-container {
            display: flex;
            align-items: center;
            justify-content: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
            position: relative;
            z-index: 2;
            width: 100%;
        }

        .tv-content {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            align-items: center;
            width: 100%;
            text-align: center;
        }

        .tv-info {
            color: #f5e6d3;
            order: 2;
            width: 100%;
        }

        .tv-title {
            font-family: 'Yuji Syuku', 'Hiragino Kaku Gothic ProN', sans-serif;
            font-size: 2rem;
            color: #D2691E;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            letter-spacing: 0.1em;
        }

        .tv-description {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 1.2rem;
            opacity: 0.9;
        }

        .tv-description span {
            display: block;
        }

        .tv-features {
            list-style: none;
            margin-bottom: 1.5rem;
        }

        .tv-features li {
            padding: 0.4rem 0;
            position: relative;
            padding-left: 1.5rem;
            line-height: 2.2;
            font-size: 1.2rem;
            left:28px !important;
            -webkit-text-stroke: 1px rgb(255, 255, 255);
            text-stroke: 1px rgba(255, 255, 255);
            paint-order: stroke;
        }

        .tv-features li::before {
            content: '🎵';
            position: absolute;
            top: 5px;
            left: -24px;
            background-color: rgba(255, 246, 214, 0.2);
            box-shadow: 0px 0px 18px 5px rgba(255,255,255,0.6) inset;
            border-radius: 50%;
            border: 2px solid #ffdc85;
            text-align: center;
            width: 36px;
            height: 36px;
            line-height: 36px;
            font-size: 1.2rem;
        }

        .retro-tv {
            position: relative;
            width: 280px;
            height: 200px;
            margin: 0 auto;
            order: 1;
        }

        .tv-frame {
            position: absolute;
            width: 100%;
            height: 100%;
            background: url('images/tv_op00.png') no-repeat center;
            background-size: contain;
            z-index: 3;
        }

        .tv-screen {
            position: absolute;
            top: 15%;
            left: 8%;
            width: 60%;
            height: 58%;
            background: #000;
            border-radius: 6px;
            overflow: hidden;
            z-index: 2;
        }

        .tv-image-container {
            position: relative;
            width: 100%;
            height: 100%;
            background: #111;
        }

        .tv-image {
            position: absolute;
            top: 2%;
            left: 0;
            width: 96%;
            height: 96%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
            filter: blur(0.6px) contrast(0.9) brightness(0.8) sepia(0.1);
        }

        .tv-image.active {
            opacity: 1;
        }

        .tv-noise {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent 50%, rgba(255,255,255,0.03) 50%);
            background-size: 2px 2px;
            animation: tvNoise 0.1s linear infinite;
            z-index: 4;
            pointer-events: none;
        }

        .tv-scanlines {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(transparent 50%, rgba(0,0,0,0.1) 50%);
            background-size: 100% 3px;
            z-index: 5;
            pointer-events: none;
        }

        .tv-screen::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 6px;
            box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
            z-index: 6;
            pointer-events: none;
        }

        /* サービスセクション（モバイル最適化） */
        .section-services {
            background: linear-gradient(135deg, #2f5d64 0%, #194248 100%);
            color: white;
            padding: 6rem 0;
            position: relative;
            overflow: hidden;
            z-index: 7;
            box-shadow: 0px -8px 28px -6px rgba(20,20,20,0.3) inset;
            border-top:5px groove #094336;
        }

        .fusuma-panel {
            display: none;
        }

        .services-content {
            position: relative;
            z-index: 2;
            text-align: center;
            opacity: 1;
            transform: scale(1);
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
            width: 100%;
        }

        .services-title {
            font-family: 'Yuji Syuku', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
            font-size: 2.2rem;
            color: #fff8f3;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            letter-spacing: 0.1em;
            font-weight: normal;
        }

        .services-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            max-width: 600px;
            margin: 0 auto;
            width: 100%;
        }

        .service-card {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem 1.5rem;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(210, 105, 30, 0.3);
            transition: all 0.4s ease;
            text-align: center;
            width: 100%;
        }

        .service-card img{
            width:100%;
            height:auto;
        }
        .service-card:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
            border-color: rgba(210, 105, 30, 0.6);
        }

        .service-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: #D2691E;
            display: block;
        }

        .service-card h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: #fff;
            letter-spacing: 0.05em;
        }

        .service-card p {
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.6;
            font-size: 0.9rem;
        }

        /* フッター（モバイル最適化） */
        .footer {
            border-top:5px ridge #094336;
            box-shadow: 0px -8px 28px -6px rgba(20,20,20,0.2);
            background-image: url(images/footer.png);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            background-color:rgba(0,0,0,0);
            color: rgb(32, 32, 32);
            text-align: center bottom;
            padding: 2.5rem 0;
            margin-top: 0;
            position: relative;
            z-index: 6;
            -webkit-text-stroke: 1px #cca412f9;
            text-stroke: 1px #f0ca34df;
            paint-order: stroke;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
            position: relative;
            z-index: 2;
            width: 100%;
            background-color:rgba(0,0,0,0);
        }

        .footer h3 {
            font-family: 'Yuji Syuku', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
            font-size: 1.8rem;
            margin-bottom: 1rem;
            letter-spacing: 0.1em;
            font-weight: normal;
        }
        .footer a{
            color: rgb(32, 32, 32);
            text-decoration: none;
        }
        .footer h3 span{
            display:block;
            font-size: 1.2rem;
        }

        .footer p {
            margin-bottom: 1.5rem;
            opacity: 0.9;
            line-height: 1.6;
            font-size: 0.9rem;
        }

        .footer-links {
            display: flex;
            flex-direction: row;
            gap: 1.8rem;
            margin:3rem auto 4rem;
            text-align: center;
            justify-content: center;
        }

        .footer-links a {
            position:relative;
            color: rgb(32, 32, 32);
            text-decoration: none;
            padding: 0.6rem 0.8rem;
            font-weight:500;
            border-radius: 15px;
            transition: all 0.3s ease;
            font-size: 1.28rem;
            background-color: rgba(255,255,255,0.08);
        }

        .footer-links a:hover {
            display:inline-block;
            background: linear-gradient(135deg, #9d895e84 0%, #b38e5382 100%);
            font-weight:bold;
            transition: 0.3s ease;
        }

        /* スクロールアニメーション */
        .scroll-fade-in {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s ease;
        }

        .scroll-fade-in.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .scroll-slide-left {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s ease;
        }

        .scroll-slide-left.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .scroll-slide-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s ease;
        }

        .scroll-slide-right.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .hero-news {
            width: 95%;
            max-width: 500px;
            background: rgba(255, 255, 255, 0.95);
            color: #333;
            border-radius: 15px;
            padding: 1.5rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            backdrop-filter: blur(10px);
            max-height: 60vh;
            overflow-y: auto;
            animation: slideInRight 1.5s ease 0.9s both;
        }

        .hero-news h3 {
            color: #8B4513;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            text-align: center;
            letter-spacing: 0.05em;
            border-bottom: 2px solid #D2691E;
            padding-bottom: 0.5rem;
        }

        .hero-news-item {
            display: flex;
            flex-direction: column;
            padding: 0.8rem 0;
            border-bottom: 1px solid #e0e0e0;
            transition: all 0.3s ease;
        }

        .hero-news-item:hover {
            background: rgba(210, 105, 30, 0.05);
            border-radius: 8px;
            padding: 0.8rem;
            margin: 0 -0.8rem;
        }

        .hero-news-item:last-child {
            border-bottom: none;
        }

        .hero-news-date {
            background: linear-gradient(45deg, #8B4513, #D2691E);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.7rem;
            margin-bottom: 0.4rem;
            align-self: flex-start;
            font-weight: 500;
        }

        .hero-news-title {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            line-height: 1.6;
            transition: color 0.3s ease;
            font-size: 0.85rem;
        }
        #news-list{
            height:400px;
            overflow-y: auto;
        }
        .hero-news-title:hover {
            color: #D2691E;
        }
        .local-keywords{
            text-align: right;
        }
        /* アニメーション */
        @keyframes phoneFloat {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-8px);
            }
        }

        @keyframes tvNoise {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(2px);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-15px) rotate(180deg);
            }
        }

        @keyframes inkSpread {
            0% {
                opacity: 0;
                transform: scale(0.1);
            }
            20% {
                opacity: 0.6;
                transform: scale(0.4);
            }
            40% {
                opacity: 0.4;
                transform: scale(0.7);
            }
            60% {
                opacity: 0.2;
                transform: scale(1);
            }
            80% {
                opacity: 0.1;
                transform: scale(1.3);
            }
            100% {
                opacity: 0;
                transform: scale(1.8);
            }
        }

        @keyframes inkFlow {
            0% {
                opacity: 0;
                transform: translateX(0);
            }
            20% {
                opacity: 0.2;
            }
            50% {
                opacity: 0.4;
                transform: translateX(50vw);
            }
            80% {
                opacity: 0.1;
            }
            100% {
                opacity: 0;
                transform: translateX(100vw);
            }
        }

        @keyframes tigerFloat {
            0%, 100% {
                transform: translateY(0px) translateX(0px) rotate(0deg);
                opacity: 0.1;
            }
            25% {
                transform: translateY(-15px) translateX(8px) rotate(2deg);
                opacity: 0.15;
            }
            50% {
                transform: translateY(-8px) translateX(-4px) rotate(-1deg);
                opacity: 0.2;
            }
            75% {
                transform: translateY(-22px) translateX(12px) rotate(3deg);
                opacity: 0.1;
            }
        }

        .toranoana-section {
            font-family: 'Yuji Syuku';
            color: #edd1bb;
            font-size: 1.28rem;
            line-height: 2;
            width: 94%;
            margin: 20px auto 4rem;
            text-align: left;
            display: flex;
            gap: 5rem;
            justify-content: center;
            flex-wrap: wrap;
            -webkit-text-stroke: 1px #48403aff;
            text-stroke: 1px #48403aff;
            paint-order: stroke;
            text-shadow: -1px -2px #332f2b4c;
            letter-spacing: -0.8px;
        }

        .toranoana-section::before {
            content: '';
            position: absolute;
            background-color: rgb(255 255 255 / 0.2);
        }
        .toranoana-section h3,.toranoana-section h4{
            font-size:1.68rem;
            -webkit-text-stroke: 2px #48403aff;
            text-stroke: 2px #48403aff;
            text-shadow: -1px -2px #332f2b4c;
            margin-bottom:-20px;
        }

        .annai ul{
            width:90%;
            text-align:center;
            margin:8px 5%;
        }
        .annai li{
            width:auto;
            font-size:105%;
            float:left;
            border-bottom:2px dotted #fa9c10ff;
            padding:8px 0 4px;
            text-align: left;
            margin:4px 4% 12px;
        }
        .rental{
            margin-top:50px;
            font-size: 1.38rem;
            color:#fff;
            -webkit-text-stroke: 2px #48403aff;
            text-stroke: 2px #48403aff;
            text-shadow: -1px -2px #332f2b4c;
        }
        .merit{
            margin-top:-20px;
            font-size: 1.38rem;
            color:#fff;
            line-height: 2;
            margin:0 auto;
        }
        /* タブレット用メディアクエリ */
        @media (min-width: 768px) and (max-width: 1024px) {
            .header-content {
                padding: 0 2rem;
            }

            .hamburger {
                display: none;
            }

            .nav {
                position: static;
                width: auto;
                height: auto;
                background: transparent;
                flex-direction: row;
                gap: 1.2rem;
                box-shadow: none;
                max-width: none;
            }

            .nav a {
                font-size: 0.9rem;
                padding: 0.5rem 1rem;
                width: auto;
                max-width: none;
            }

            .nav-overlay {
                display: none;
            }

            .logo {
                font-size: 1.6rem;
            }

            .hero {
                display: grid;
                grid-template-columns: 1fr 350px;
                gap: 2rem;
                padding: 2rem;
                margin-top: 80px;
            }

            .hero-logo {
                font-size: 3.5rem;
            }

            .hero-subtitle {
                font-size: 1.4rem;
            }

            .hero-tagline {
                font-size: 1.1rem;
            }

            .hero-news {
                width: 100%;
                max-width: none;
                margin: 0;
            }

            .features {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }

            .news-section {
                display: grid;
                grid-template-columns: 1fr 350px;
                gap: 2rem;
                align-items: start;
            }

            .news-title-area {
                text-align: left;
            }

            .news-title-area h2::after {
                left: 0;
                transform: none;
            }

            .tv-content {
                display: grid;
                grid-template-columns: 1fr 350px;
                gap: 3rem;
                text-align: left;
            }

            .tv-info {
                order: 1;
            }

            .retro-tv {
                width: 350px;
                height: 250px;
                order: 2;
            }

            .services-grid {
                grid-template-columns: repeat(2, 1fr);
                max-width: 800px;
            }

            .phone-button {
                width: 70px;
                height: 70px;
            }

            .phone-button::before {
                font-size: 1.7rem;
            }

            .phone-button::after {
                right: 75px;
                font-size: 1rem;
                padding: 8px 12px;
            }
        .toranoana-section h3,.toranoana-section h4{
            width:100%;
            font-size:1.68rem;
            -webkit-text-stroke: 2px #48403aff;
            text-stroke: 2px #48403aff;
            text-shadow: -1px -2px #332f2b4c;
            margin-bottom:-20px;
            margin-left:0 !important;
            margin-right:0 !important;
        }
        }

        /* 大画面デスクトップ用メディアクエリ */
        @media (min-width: 1025px) {
            .header-content {
                padding: 0 2rem;
            }

            .hamburger {
                display: none;
            }

            .nav {
                position: static;
                width: auto;
                height: auto;
                background: transparent;
                flex-direction: row;
                gap: 2rem;
                box-shadow: none;
                max-width: none;
            }

            .nav a {
                font-size: 1rem;
                padding: 0.5rem 1rem;
                width: auto;
                max-width: none;
            }

            .nav-overlay {
                display: none;
            }

            .logo {
                font-size: 1.8rem;
            }

            .hero {
                display: grid;
                grid-template-columns: 1fr 400px;
                gap: 4rem;
                padding: 0 3rem;
                margin-top: 80px;
                background-attachment: fixed;
            }

            .hero-logo {
                font-size: 5rem;
            }

            .hero-subtitle {
                font-size: 1.8rem;
            }

            .hero-tagline {
                font-size: 1.3rem;
                margin-top: 180px;
            }

            .hero-news {
                width: 100%;
                max-width: none;
                margin: 0;
                max-height: 80vh;
            }

            .features {
                grid-template-columns: repeat(3, 1fr);
                gap: 2rem;
            }

            .news-section {
                display: grid;
                grid-template-columns: 1fr 400px;
                gap: 3rem;
                align-items: start;
            }

            .news-title-area {
                text-align: left;
            }

            .news-title-area h2 {
                font-size: 3rem;
                left: 4%;
            }

            .news-title-area h2::after {
                left: 0;
                transform: none;
            }

            .news-description {
                font-size: 1.6rem;
                line-height: 2.6;
                margin-left: 6%;
            }

            .tv-content {
                display: grid;
                grid-template-columns: 1fr 500px;
                gap: 4rem;
                text-align: left;
            }

            .tv-info {
                order: 1;
            }

            .tv-title {
                font-size: 3rem;
            }

            .tv-description {
                font-size: 1.18rem;
            }

            .retro-tv {
                width: 450px;
                height: 320px;
                order: 2;
            }

            .services-title {
                font-size: 3rem;
            }

            .services-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 3rem;
                max-width: 1000px;
            }

            .phone-button {
                width: 74px;
                height: 74px;
                bottom: 30px;
                right: 30px;
            }

            .phone-button::before {
                font-size: 1.8rem;
            }

            .phone-button::after {
                right: 80px;
                font-size: 1rem;
                padding: 8px 12px;
            }
        }

        @media (max-width: 480px) {
        a{
            text-decoration: none;
        }
        .hero-logo {
            font-family: 'Yuji Syuku', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            letter-spacing: 0.15em;
            font-weight: normal;
            animation: slideInRight 1.5s ease;
            -webkit-text-stroke: 2px #dddddda0;
            text-stroke: 2px #dddddda0;
            text-shadow: 0.1px 0.1px 2px rgba(0,0,0,0.1);
            paint-order: stroke;
        }
        .hero-subtitle,.hero-tagline {
            font-family: 'Yuji Syuku';
            font-size: 1.2rem;
            text-shadow: 0.1px 0.1px 2px rgba(0,0,0,0.1);
            opacity: 0.95;
            letter-spacing: 0.1em;
            animation: slideInRight 1.5s ease 0.3s both;
            -webkit-text-stroke: 2px #c9c9c9b8;
            text-stroke: 2px #c9c9c9b8;
            paint-order: stroke;
            margin-bottom: 1rem;
        }
            .services-title {
                font-size: 1.6rem;
            }
        .tv-features li {
            padding: 0.8rem 0;
            position: relative;
            padding-left: 1.5rem;
            line-height: 2;
            font-size: 124%;
            left:12px !important;
            -webkit-text-stroke: 1px rgb(255, 255, 255);
            text-stroke: 1px rgba(255, 255, 255);
            paint-order: stroke;
            text-align:left;
        }

        .tv-features li::before {
            content: '🎵';
            position: absolute;
            top: 15px;
            left: -12px;
            background-color: rgba(255, 246, 214, 0.2);
            box-shadow: 0px 0px 18px 5px rgba(255,255,255,0.6) inset;
            border-radius: 50%;
            border: 2px solid #ffdc85;
            text-align: center;
            width: 28px;
            height: 28px;
            line-height: 28px;
            font-size: 0.9rem;
        }

        .about-section {
            font-family: 'Yuji Syuku';
            color: #edd1bb;
            font-size: 130%;
            line-height: 1.74;
            width: 96%;
            margin: 40px auto 4rem;
            text-align: center;
        }
        .footer {
            background-image: url(images/footer_sp.png);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            color: rgb(32, 32, 32);
            text-align: center;
            padding: 2.5rem 0;
            margin-top: 0;
            position: relative;
            z-index: 6;
            -webkit-text-stroke: 1px #1c515958;
            text-stroke: 1px #1c515958;
            paint-order: stroke;
        }
        .footer a,.footer span{
            color: rgb(32, 32, 32);
            text-decoration: none;
        }
        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            margin-bottom: 1.5rem;
        }
        .toranoana-section h3 span,.toranoana-section h4 {
            display:block;
            white-space: nowrap !important;
        }
        .annai ul{
            width:90%;
            text-align:center;
            margin:12px auto 8px;
            list-style-type: square !important;
            text-align:center;
        }
        .annai li{
            font-size:105%;
            float:left;
            border-bottom:2px dotted #fa9c10ff;
            padding:8px 0 4px;
            text-align: left;
            margin:10px 0 12px 12px;
            display:block !important;
        }
        .annai li:before {
            content: "✔︎ ";  /*アイコンの種類*/
        }
            .tv-title {
                font-size: 150%;
                white-space: nowrap;
            }
            .tv-description {
                font-size: 124%;
            }
            .news-title-area p.news-description {
                font-size: 110%;
                line-height: 2.6;
                margin-left: -5% !important;
            }

            .news-title-area p.news-description span{
                display:initial !important;
                white-space: nowrap;

            }
    }
        @media (max-width: 398px) {
            .news-title-area p.news-description {
                font-size: 100%;
                line-height: 2.6;
                margin-left: -5% !important;
            }
        }
        /* 極小デバイス用 */
        @media (max-width: 380px) {
            .hero-logo {
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .hero-tagline {
                font-size: 0.9rem;
                letter-spacing: 0.2rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .about-section {
                font-size: 1rem;
            }

            .retro-tv {
                width: 240px;
                height: 170px;
            }

            .tv-title {
                font-size: 1.6rem;
            }

            .services-title {
                font-size: 1.6rem;
            }

            .nav {
                width: 260px;
                max-width: 75vw;
            }

            .nav a {
                font-size: 1rem;
                width: 85%;
                max-width: 180px;
            }
            .news-title-area p.news-description {
                font-size: 100%;
                line-height: 2.6;
                margin-left: -8% !important;
            }

        }
/* 滑らか襖演出CSS - main.cssの襖部分を置き換え */

/* GPU加速を利用したパフォーマンス最適化 */
.section-services {
    background: linear-gradient(135deg, rgba(44,24,16,0.98) 0%, rgba(26,15,8,0.98) 100%) !important;
    color: white !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 7 !important;
    box-shadow: 0px -11px 16px -6px rgba(0,0,0,0.6) !important;
    /* GPU加速 */
    transform: translateZ(0) !important;
    will-change: auto !important;
}

/* 襖パネル - パフォーマンス最適化版 */
.fusuma-panel {
    position: absolute !important;
    top: 0 !important;
    width: 50% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #d4af8c 0%, #b8956f 100%) !important;
    /* 最適化されたトランジション */
    transition: transform 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    z-index: 5 !important;
    border: 4px solid #8B4513 !important;
    overflow: hidden !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* GPU加速とパフォーマンス最適化 */
    transform: translateZ(0) !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
    perspective: 1000px !important;
}

/* 襖の和紙テクスチャ - 軽量化 */
.fusuma-panel::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    /* 軽量化されたテクスチャ */
    background: linear-gradient(45deg, 
        rgba(184, 149, 111, 0.3) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(184, 149, 111, 0.3) 75%),
        linear-gradient(-45deg, 
        rgba(184, 149, 111, 0.2) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(184, 149, 111, 0.2) 75%) !important;
    background-size: 60px 60px, 60px 60px !important;
    background-position: 0 0, 30px 30px !important;
    opacity: 0.4 !important;
    z-index: 1 !important;
    /* GPU最適化 */
    transform: translateZ(0) !important;
}

/* 左襖の初期位置と動作 */
.fusuma-left {
    left: 0 !important;
    transform: translate3d(0, 0, 0) !important; /* GPU加速 */
    border-right: 12px ridge #8B4513 !important;
    box-shadow: 0px 0px 6px -3px rgba(0,0,0,0.9) inset !important;
}

/* 右襖の初期位置と動作 */
.fusuma-right {
    right: 0 !important;
    transform: translate3d(0, 0, 0) !important; /* GPU加速 */
    border-left: 12px ridge #8B4513 !important;
    box-shadow: 0px 0px 6px -3px rgba(0,0,0,0.9) inset !important;
}

/* 襖が開いた状態 - GPU最適化 */
.section-services.fusuma-open .fusuma-left {
    transform: translate3d(-100%, 0, 0) !important; /* GPU加速 */
}

.section-services.fusuma-open .fusuma-right {
    transform: translate3d(100%, 0, 0) !important; /* GPU加速 */
}

/* 襖の装飾 - 軽量化 */
.decoration {
    position: absolute !important;
    top: 20% !important;
    left: 50% !important;
    transform: translate3d(-50%, 0, 0) !important; /* GPU加速 */
    width: 80px !important;
    height: 80px !important;
    /* 軽量化された装飾 */
    background: 
        radial-gradient(circle at 20% 20%, rgba(210,105,30,0.4) 2px, transparent 2px),
        radial-gradient(circle at 60% 60%, rgba(210,105,30,0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 30%, rgba(210,105,30,0.3) 1px, transparent 1px) !important;
    background-size: 25px 25px, 25px 25px, 25px 25px !important;
    opacity: 0.5 !important;
    z-index: 2 !important;
    /* GPU最適化 */
    will-change: auto !important;
}

/* 襖の取っ手 - 最適化 */
.handle {
    position: absolute !important;
    top: 50% !important;
    width: 12px !important;
    height: 50px !important;
    background: linear-gradient(180deg, #654321 0%, #4a2f1a 100%) !important;
    border-radius: 6px !important;
    transform: translate3d(0, -50%, 0) !important; /* GPU加速 */
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.3), 2px 2px 8px rgba(0,0,0,0.4) !important;
    z-index: 3 !important;
    /* GPU最適化 */
    will-change: auto !important;
}

.fusuma-left .handle {
    right: 30px !important;
}

.fusuma-right .handle {
    left: 30px !important;
}

/* コンテンツエリア - 最適化 */
.services-content {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    opacity: 0 !important;
    transform: translate3d(0, 0, 0) scale(0.95) !important; /* GPU加速 */
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    /* GPU最適化 */
    will-change: opacity, transform !important;
    backface-visibility: hidden !important;
}

.section-services.fusuma-open .services-content {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important; /* GPU加速 */
}

/* フレームレート最適化のためのメディアクエリ */
@media (prefers-reduced-motion: reduce) {
    .fusuma-panel,
    .services-content {
        transition: none !important;
        animation: none !important;
    }
    
    .section-services.fusuma-open .fusuma-left {
        transform: translate3d(-100%, 0, 0) !important;
    }
    
    .section-services.fusuma-open .fusuma-right {
        transform: translate3d(100%, 0, 0) !important;
    }
    
    .section-services.fusuma-open .services-content {
        opacity: 1 !important;
        transform: translate3d(0, 0, 0) scale(1) !important;
    }
}

/* 低性能デバイス用の最適化 */
@media (max-width: 768px) {
    .fusuma-panel {
        display: none !important;
        will-change: auto !important;
    }

    .section-services {
        min-height: auto !important;
        padding: 4rem 0 !important;
        will-change: auto !important;
    }

    .services-content {
        opacity: 1 !important;
        transform: translate3d(0, 0, 0) scale(1) !important;
        will-change: auto !important;
    }
}

/* 高DPIディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .fusuma-panel::before {
        background-size: 30px 30px, 30px 30px !important;
        background-position: 0 0, 15px 15px !important;
    }
}

/* パフォーマンス監視用（開発時のみ） */
@supports (will-change: transform) {
    .fusuma-panel {
        will-change: transform !important;
    }
}

/* タッチデバイス用の最適化 */
@media (hover: none) and (pointer: coarse) {
    .fusuma-panel {
        transition: transform 1.2s ease-out !important;
    }
    
    .services-content {
        transition: all 1.2s ease-out 0.8s !important;
    }
}

/* 4K・高解像度ディスプレイ対応 */
@media (min-width: 2560px) {
    .section-services {
        transform: translateZ(0) scale(1) !important;
    }
}