/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ブラウザのデフォルトマージン・パディングを完全にリセット */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== ANIMATIONS ===== */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

html {
    scroll-behavior: smooth;
    font-size: 14px; /* SPサイズの基準フォントサイズ */
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf9f6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    /* SPサイズ固定 */
    min-width: 320px;
    max-width: 480px;
    margin: 0 auto;
}

/* PC版専用スタイル - SP版との干渉を防止 */
@media screen and (min-width: 768px) {
    html {
        font-size: 16px; /* PC版の基準フォントサイズ */
    }
    
    body {
        max-width: none; /* PC版では幅制限を解除 */
        min-width: 100% !important; /* ブラウザ幅に合わせる */
        margin: 0;
        overflow-x: hidden; /* 横スクロールを隠す */
    }
    
    /* PC版メインコンテナの柔軟幅設定 */
    .main-content {
        max-width: 1200px !important; /* 最大1200px */
        width: 100% !important; /* ブラウザ幅に合わせる */
        margin: 0 auto !important;
        position: relative;
        box-sizing: border-box;
    }
    
    /* PC版では全てのコンテナを1600px幅に統一 */
    .header-container,
    .services-container,
    .color-contact-section .services-container,
    .shop-produce-section .services-container,
    .about-engine-container,
    .footer-content {
        max-width: 1200px !important; /* 元の1200pxに戻す */
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    /* PC版専用：全ての矢印画像をPC版に変更 */
    .arrow-image {
        content: url('../img/PC_contactbrand_yazi.png') !important;
    }
}

/* ===== TYPOGRAPHY ===== */
.en-text {
    font-family: 'Golos Text', sans-serif;
}

/* SP版でPC版要素を非表示 */
.header-nav,
.header-phone-btn,
.header-contact-btn,
.service-connection-line,
.footer-nav-row,
.pc-about-gears,
.hero-logo,
.hero-image-container,
.scroll-down-pc {
    display: none !important;
}

/* SP版でPC版フッター装飾を非表示 */
/* SP版専用スタイル - PC版との干渉を防止 */
@media screen and (max-width: 767px) {
    /* SP版：430px基準の設定 */
    body {
        min-width: 320px !important; /* 最小幅は確保 */
        width: 100% !important;
    }
    
    .main-content {
        width: 100% !important;
        margin: 0 !important;
    }
    
    /* SP版でサービスセクションの固定テキストを非表示 */
    .hero-text-left-service,
    .hero-text-right-service {
        display: none !important;
    }
    
    .header-container {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .services-container,
    .color-contact-section .services-container,
    .shop-produce-section .services-container,
    .about-engine-container,
    .footer-content {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* SP版専用：ヒーローセクション（430px基準） */
    .hero-section {
        position: relative !important;
        top: 0 !important;
        height: 600px !important; /* 430px基準の高さ */
        max-width: 430px !important; /* 最大幅を430pxに設定 */
        margin: 150px auto 0 auto !important; /* 元のmargin-topに戻す */
        transform: none !important;
        z-index: 1 !important;
        transform-origin: center top !important; /* スケーリング基準点 */
    }
    
    /* SP版専用：ヒーロー画像のサイズ調整 */
    .hero-slide {
        background-size: 100% auto !important; /* coverから100%に変更して拡大を防止 */
        background-position: center top !important; /* 位置を上部中央に調整 */
    }
    
    /* SP版専用：スクロールアニメーションを上に移動 */
    .scroll_down a {
        bottom: 200px !important; /* 120pxから200pxに変更して上に移動 */
    }
    
    /* SP版専用：スクロールアニメーションの白い線も上に移動 */
    .scroll_down:before,
    .scroll_down:after {
        bottom: 120px !important; /* 20pxから100pxに変更して上に移動 */
        height: 70px !important; /* 100pxから60pxに短縮 */
    }
    
    /* SP版専用：ヘッダー切り替えを確実に動作させる */
    .header {
        transition: top 0.3s ease !important;
    }
    
    .header.hide {
        top: -100px !important;
        transform: translateY(0) !important;
    }
    
    
    .header-scroll {
        display: block !important;
        position: fixed !important;
        top: -100px !important;
        transition: top 0.3s ease !important;
    }
    
    .header-scroll.show {
        top: 0 !important;
    }
    
    /* SP版専用：index.html用and-more-containerの下部マージン調整 */
    body[data-page="index"] .and-more-container {
        margin-bottom: -25px !important; /* index.html専用：下部マージンを削減してボタンとの間隔を狭める */
    }

    /* SP版専用：color-contact.html用and-more-containerの下部マージン調整 */
    body[data-page="color-contact"] .and-more-container {
        margin-bottom: 0px !important; /* color-contact.html専用：通常のマージン */
    }

    /* SP版専用：index.html用and-more-textのスタイル */
    body[data-page="index"] .and-more-container .and-more-text {
        position: absolute !important;
        top: 60% !important; /* index.html専用：センター配置 */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-family: 'Golos Text', sans-serif !important;
        font-size: 14px !important; /* SP版では小さめに */
        font-weight: 700 !important;
        color: #333 !important;
        margin: 0 !important;
        letter-spacing: 0.8px !important;
    }

    /* SP版専用：color-contact.html用and-more-textのスタイル */
    body[data-page="color-contact"] .and-more-container .and-more-text {
        position: absolute !important;
        top: 50% !important; /* color-contact.html専用：センター配置（調整可能） */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-family: 'Golos Text', sans-serif !important;
        font-size: 14px !important; /* SP版では小さめに */
        font-weight: 700 !important;
        color: #333 !important;
        margin: 0 !important;
        letter-spacing: 0.8px !important;
    }
    
    /* SP版専用：index.html用colorcontact-btnスタイル */
    body[data-page="index"] .colorcontact-btn {
        background: #E9D269 !important;
        border: 2px solid #333 !important;
        color: #333 !important;
        padding: 8px 40px !important;
        border-radius: 20px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 15px !important;
        transition: all 0.3s ease !important;
        font-family: 'Zen Maru Gothic', sans-serif !important;
        letter-spacing: 0.3px !important;
        min-width: 180px !important;
        position: relative !important;
        margin-top: -10px !important; /* index.html専用：ボタンを上に移動 */
        margin-bottom: 15px !important; /* index.html専用：ボタンの下に空間を追加 */
    }

    /* SP版専用：color-contact.html用colorcontact-btnスタイル */
    body[data-page="color-contact"] .colorcontact-btn {
        background: #E9D269 !important;
        border: 2px solid #333 !important;
        color: #333 !important;
        padding: 8px 40px !important;
        border-radius: 20px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 15px !important;
        transition: all 0.3s ease !important;
        font-family: 'Zen Maru Gothic', sans-serif !important;
        letter-spacing: 0.3px !important;
        min-width: 180px !important;
        position: relative !important;
        margin-top: 10px !important; /* color-contact.html専用：ボタンを下に移動してAND MORE...!との重なりを解消 */
        margin-bottom: -20px !important; /* color-contact.html専用：下の空間を短縮（調整可能） */
    }
    
    /* SP版専用：index.html用colorcontact-btnホバー効果 */
    body[data-page="index"] .colorcontact-btn:hover {
        background: #faf9f6 !important;
        color: #333 !important;
        border-color: #333 !important;
        transform: translateX(3px) !important;
    }

    /* SP版専用：color-contact.html用colorcontact-btnホバー効果 */
    body[data-page="color-contact"] .colorcontact-btn:hover {
        background: #faf9f6 !important;
        color: #333 !important;
        border-color: #333 !important;
        transform: translateX(3px) !important;
    }
    
    /* SP版専用：index.html用colorcontact-btn矢印画像 */
    body[data-page="index"] .colorcontact-btn .arrow-image {
        width: 20px !important;
        height: 20px !important;
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        transition: transform 0.3s ease !important;
    }
    
    body[data-page="index"] .colorcontact-btn:hover .arrow-image {
        transform: translateY(-50%) translateX(3px) !important;
    }

    /* SP版専用：color-contact.html用colorcontact-btn矢印画像 */
    body[data-page="color-contact"] .colorcontact-btn .arrow-image {
        width: 20px !important;
        height: 20px !important;
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        transition: transform 0.3s ease !important;
    }
    
    body[data-page="color-contact"] .colorcontact-btn:hover .arrow-image {
        transform: translateY(-50%) translateX(3px) !important;
    }
    
    /* SP版専用：SHOP PRODUCE GALLERYの左右ナビゲーションボタンを非表示 */
    .gallery-nav-btn,
    .gallery-prev,
    .gallery-next {
        display: none !important;
    }
    
    /* SP版専用：店舗情報と説明文スライダーを非表示にして固定テキストを表示 */
    .shop-info-slider,
    .description-slider {
        display: none !important;
    }
    
    /* SP版専用：固定の説明文をボタンの前に追加 */
    .produce-button::before {
        content: "数々の経験から売り上げにコミットする棚づくりを行っています。プロ目線での効果のある什器陳列＆ディスプレイを全国で行っておりますので安心しておまかせください。";
        display: block;
        text-align: center;
        padding: 20px;
        margin: -80px 0 20px 0; /* 上のマージンを20pxから5pxに変更 */
        font-size: 1rem;
        line-height: 1.8;
        color: #555;
        background-color: transparent;
    }
    
    /* SP版専用：吹き出し背景画像の横幅調整 */
    .bubble-background.sp-only {
        width: 90% !important; /* 100%から90%に変更して左右に空間を確保 */
        max-width: 350px !important; /* 最大幅を制限 */
        margin: 0 auto !important; /* 中央配置 */
        display: block !important;
    }
    
    /* SP版専用：COLOR CONTACTセクション（背景は全幅、コンテンツは430px基準） */
    .color-contact-section {
        width: 100% !important; /* 背景表示のため全幅に */
        margin: 0 !important; /* 全幅表示 */
        transform-origin: center top !important; /* スケーリング基準点 */
    }
    
    /* SP版専用：COLOR CONTACTセクション内のコンテンツは430px基準で中央配置 */
    .section-header,
    .colorcontact-description,
    .bakugai-info-box,
    .contact-brand-section,
    .and-more,
    .colorcontact-button {
        max-width: 430px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* SP版専用：ABOUT ENGINEセクション（背景は全幅、コンテンツは430px基準） */
    .about-engine-section {
        width: 100% !important; /* 背景表示のため全幅に */
        margin: 0 !important; /* 全幅表示 */
        transform-origin: center top !important; /* スケーリング基準点 */
    }
    
    /* SP版専用：ABOUT ENGINEセクション内のコンテンツは430px基準で中央配置 */
    .about-engine-section-content,
    .about-engine-header,
    .about-engine-bubble-container,
    .company-info-section {
        max-width: 430px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .about-engine-bubble-container {
        padding: 0 20px !important;
        margin: 0 auto !important;
        max-width: 100% !important;
    }
    
    /* SP版専用：bubble-content関連のスタイル */
    .bubble-content {
        width: 85% !important; /* SP版の幅 */
        padding: 20px 15px !important; /* SP版のパディング */
        top: 45% !important; /* 上にずらす（50% → 40%） */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        position: absolute !important; /* absoluteを維持 */
        text-align: center !important;
    }
    
    .bubble-intro {
        font-size: 13px !important; /* SP版フォントサイズ */
        margin: 65px 0 0px 0 !important; /* 上部マージンを35pxに増やしてさらに下にずらす */
        font-weight: 600 !important;
        text-align: center !important; /* 中央配置 */
        position: relative !important; /* 相対配置 */
        width: 100% !important;
    }
    
    .engine-logo-container {
        margin: 0 0 5px 0 !important; /* 上部マージンを削除してイントロテキストに近づける */
        text-align: center !important;
    }
    
    .engine-logo-image {
        max-width: 180px !important; /* SP版のロゴサイズ */
        height: auto !important;
    }
    
    .bubble-description {
        font-size: 13px !important; /* SP版フォントサイズ */
        line-height: 2.0 !important; /* 行間を広げる（1.6→2.0） */
        margin: -20px 0 0 0 !important; /* SP版マージン */
        padding: 0 8px 0 15px !important; /* 左10px、右8pxで右側の間隔を調整 */
        text-align: left !important;
        font-weight: 500 !important;
    }
    
    /* SP版専用：SERVICESセクション（背景は全幅、コンテンツは430px基準） */
    .services-section {
        position: relative;
        width: 100% !important; /* 背景表示のため全幅に */
        margin: -100px 0 0 0 !important; /* 全幅表示 */
        padding: 100px 0 100px; /* 左右パディングを削除 */
        background-image: url('../img/top_sp_back.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: #333;
        z-index: 2;
        transform-origin: center top !important; /* スケーリング基準点 */
    }
    
    /* SP版専用：SERVICESセクション内のコンテンツは430px基準で中央配置 */
    .services-container {
        max-width: 430px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    .footer::before {
        display: none !important;
    }
    
    .footer {
        border-top: none !important;
        padding: 40px 0 !important;
    }
    
    /* SP版でPC版フッターナビゲーションを確実に非表示 */
    .footer-nav-row {
        display: none !important;
    }
    
    /* SP版でPC版フッターギアを確実に非表示 */
    .pc-footer-gears {
        display: none !important;
    }
    
    /* SP版用の吹き出し背景画像制御 */
    .about-engine-section .bubble-background.pc-only {
        display: none !important;
    }
    
    .about-engine-section .bubble-background.sp-only {
        display: block !important;
    }
    
    /* PC版専用セクションをSP版で隠す */
    .pc-shop-sections,
    .pc-title-section,
    .pc-gallery-section {
        display: none !important;
    }
    
    /* SP版のSHOP PRODUCEセクションをSP版で表示 */
    .yellow-background-section {
        display: block !important;
    }
    
    /* SP版でスクロールヘッダーを表示 */
    .header-scroll {
        display: block !important;
        position: fixed;
        top: -100px;
        left: 0;
        width: 100%;
        z-index: 15001;
        transition: top 0.3s ease;
    }
    
    /* SP版スクロールヘッダーの表示状態 */
    .header-scroll.show {
        top: 0;
    }
    
}

/* 小さい端末用：スケーリング対応（背景セクションは除外） */
@media screen and (max-width: 390px) {
    .hero-section,
    .services-container,
    .section-header,
    .colorcontact-description,
    .bakugai-info-box,
    .contact-brand-section,
    .and-more,
    .colorcontact-button,
    .about-engine-section-content,
    .about-engine-header,
    .about-engine-bubble-container,
    .company-info-section {
        transform: scale(0.91) !important; /* 390/430 = 0.91 */
    }
}

@media screen and (max-width: 375px) {
    .hero-section,
    .services-container,
    .section-header,
    .colorcontact-description,
    .bakugai-info-box,
    .contact-brand-section,
    .and-more,
    .colorcontact-button,
    .about-engine-section-content,
    .about-engine-header,
    .about-engine-bubble-container,
    .company-info-section {
        transform: scale(0.87) !important; /* 375/430 = 0.87 */
    }
}

@media screen and (max-width: 360px) {
    .hero-section,
    .services-container,
    .section-header,
    .colorcontact-description,
    .bakugai-info-box,
    .contact-brand-section,
    .and-more,
    .colorcontact-button,
    .about-engine-section-content,
    .about-engine-header,
    .about-engine-bubble-container,
    .company-info-section {
        transform: scale(0.84) !important; /* 360/430 = 0.84 */
    }
}

@media screen and (max-width: 320px) {
    .hero-section,
    .services-container,
    .section-header,
    .colorcontact-description,
    .bakugai-info-box,
    .contact-brand-section,
    .and-more,
    .colorcontact-button,
    .about-engine-section-content,
    .about-engine-header,
    .about-engine-bubble-container,
    .company-info-section {
        transform: scale(0.74) !important; /* 320/430 = 0.74 */
    }
}

/* SP版メインヘッダーにトランジション追加 */
@media screen and (max-width: 767px) {
    .header {
        transition: top 0.3s ease;
    }
}

/* SP版でサービスカードを縦並びに */
.service-cards-container {
    display: block;
}

/* SP版でPC版ENGINEロゴを非表示 */
.hero-section > .hero-engine-circle {
    display: none;
}

/* ===== HEADER ===== */
.header {
    position: fixed; /* 元のfixedに戻す */
    top: 0;
    left: 0;
    right: 0;
    z-index: 15000; /* ブランドロゴより確実に上に表示 */
    margin: 0;
    padding: 0;
    background-color: #faf9f6; /* 元の背景色に戻す */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    height: 150px; /* 高さを大幅に増加 */
    padding-top: 20px; /* 上部に余白を追加 */
    transition: transform 0.3s ease; /* スムーズなトランジション */
}

/* スクロール時にヘッダーを表示 */
.header.show {
    transform: translateY(0);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px 5px 15px; /* 上のパディングを大きくして下にずらす */
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative; /* 位置指定のための基準 */
    height: 100%; /* ヘッダーの高さいっぱいに */
}

/* ロゴを中央に配置して大きく表示 */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px; /* ロゴサイズをさらに大きく調整 */
    max-width: 180px;
    z-index: 10; /* 最前面に表示 */
    height: 100px; /* 高さを大幅に増加 */
}

.engine-logo {
    height: 100%;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* ===== MENU BUTTON ===== */
.menu-button {
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    width: 140px; /* 幅を大きく */
    max-width: 140px;
    z-index: 11; /* 最前面に表示 */
    height: 40px; /* 高さを大きく */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 右寄せ */
    margin-left: auto; /* 右寄せ */
    position: absolute; /* 絶対位置指定 */
    top: 15px; /* 上部からの距離を下に調整 */
    right: -10px; /* 右からの距離を少し調整 */
}

.menu-button:hover {
    opacity: 0.8;
}

.menu-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.menu-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 左右に配置 */
    width: 100%;
    height: 100%;
    padding: 0 31px; /* 左右に余白を追加 */
}

.menu-gear {
    height: 26px; /* ギアのサイズを大きく */
    width: auto;
    object-fit: contain;
    animation: rotate 3s linear infinite; /* 3秒で1回転、無限ループ */
}

.menu-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 13px; /* フォントサイズも少し大きく */
    color: #231816;
    letter-spacing: 0.5px;
    margin-left: 3px; /* MENU文字を少し右に移動 */
}

.menu-button.active .menu-background {
    opacity: 0.7;
}

/* 左側のスペーサー */
.spacer {
    width: 80px; /* MENUボタンと同じ幅でバランスを取る */
}

/* ===== SCROLL HEADER ===== */
.header-scroll {
    position: fixed;
    top: -100px; /* 初期状態では上に隠す */
    left: 0;
    right: 0;
    z-index: 15001; /* メインヘッダーより上に表示 */
    margin: 0;
    padding: 0;
    background-image: url('../img/header_scroll.png');
    background-repeat: repeat-x; /* 横方向に繰り返し */
    background-position: bottom left; /* 左下から開始 */
    background-size: auto 100%; /* 高さ100%で表示 */
    width: 100%;
    box-sizing: border-box;
    height: 80px; /* 高さを少し増加 */
    transition: top 0.3s ease;
}

.header-scroll.show {
    top: 0; /* 表示状態 */
}

.header-scroll-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px 10px; /* 上のパディングを大きくして下にずらす */
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    height: 100%; /* フルハイト使用 */
}

/* スクロール時のロゴ */
.logo-scroll {
    position: absolute;
    left: 50%;
    top: 50%; /* 中央に配置 */
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px; /* サイズを調整 */
    max-width: 120px;
    z-index: 10;
    height: 50px; /* 高さを小さく */
}

.engine-logo-scroll {
    height: 100%;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* スクロール時のMENUボタン */
.menu-button-scroll {
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    width: 80px; /* 小さくする */
    max-width: 80px;
    z-index: 11;
    height: 35px; /* 小さくする */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    position: absolute;
    top: 20px; /* 位置を調整 */
    right: 15px; /* 位置を調整 */
}

.menu-button-scroll:hover {
    opacity: 0.8;
}

.menu-button-scroll .menu-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.menu-button-scroll .menu-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-button-scroll .menu-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 左右に配置 */
    width: 100%;
    height: 100%;
    padding: 0 6px; /* 小さくする */
}

.menu-button-scroll .menu-gear {
    height: 22px; /* 小さくする */
    width: auto;
    object-fit: contain;
    animation: rotate 3s linear infinite; /* 3秒で1回転、無限ループ */
}

.menu-button-scroll .menu-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 12px; /* 小さくする */
    color: #231816;
    letter-spacing: 0.2px; /* 文字間隔も小さく */
}

.menu-button-scroll.active .menu-background {
    opacity: 0.7;
}

/* ナビゲーションメニューは削除されました */

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 0; /* マージンを削除 */
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: visible;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative; /* パララックス効果を削除：fixedからrelativeに変更 */
    top: 0; /* 固定位置指定を削除 */
    left: 0;
    right: 0;
    height: 600px; /* 画像全体が表示されるよう高さを増加 */
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 1;
    margin-top: 150px; /* 元のmargin-topに戻す */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Left side content */
.hero-left-content {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* ===== PC版専用スタイル ===== */
@media screen and (min-width: 768px) {
    /* ===== PC版全体設定 ===== */
    body {
        max-width: none;
        background-color: #faf9f6;
        min-width: 100%; /* ブラウザ幅に合わせる */
        overflow-x: hidden; /* 横スクロールを隠す */
    }
    
    /* ===== PC版ヘッダー ===== */
    .header {
        height: 200px;
        width: 100%;
        padding-top: 0;
        margin: 0;
        padding: 0;
        background-image: url('../img/top_pc_headerback.png');
        background-position: 0px 0px;
        background-repeat: repeat-x;
        border-bottom: none;
        background-color: transparent; /* PC版では背景色を透明に */
    }
    
    .header.show {
        transform: translateY(0); /* スクロール時に表示 */
    }
    
    .header-container {
        width: 1200px; /* 固定幅に変更 */
        margin: 0 auto !important; /* 1600px内で確実に中央配置 */
        padding: 0 60px;
        height: 100%;
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 20px;
        box-sizing: border-box; /* パディングを含めた幅計算 */
        align-items: center;
        position: relative;
    }
    
    /* PC版ロゴ（完全に左側に配置） */
    .logo {
        position: absolute;
        left: 70px; /* 左端から60px */
        top: 20%;
        transform: translateY(-50%);
        width: auto;
        height: 60px;
        z-index: 10;
    }
    
    .engine-logo {
        height: 60px;
        width: auto;
    }
    
    /* PC版ナビゲーション */
    .header-nav {
        position: absolute;
        bottom: 125px; /* 下部から30px（上に移動） */
        right: 60px; /* 右端から60px */
        display: flex;
        align-items: center;
        gap: 0;
        font-family: 'Golos Text', sans-serif;
        font-weight: 600;
        font-size: 12px;
        z-index: 10;
    }
    
    .nav-item {
        background-color: white;
        color: #333;
        text-decoration: none;
        padding: 1px 25px;
        border: 2px solid #333;
        border-radius: 20px;
        transition: all 0.3s ease;
        white-space: nowrap;
        position: relative;
    }
    
    .nav-item:hover {
        background-color: #f0f0f0;
        transform: translateY(-2px);
    }
    
    /* ボタン間の線 */
    .nav-item:not(:last-child) {
        margin-right: 10px;
    }
    
    .nav-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -26px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 8px;
        background-image: url('../img/line_pc1.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 1;
    }
    
    /* セパレーターを非表示 */
    .nav-separator {
        display: none;
    }
    
    /* PC版お問い合わせボタン */
    .header-contact-btn {
        position: absolute;
        top: 12px; /* 上部に配置 */
        right: 60px; /* 右端から60px */
        background-color: #d32f2f;
        color: white;
        padding: 3px 45px 3px 45px; /* 左右のパディングを調整してギア用のスペースを確保 */
        border: 2px solid #333;
        border-radius: 25px;
        text-decoration: none;
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 10;
    }
    
    .header-contact-btn::before,
    .header-contact-btn::after {
        content: '';
        width: 16px;
        height: 16px;
        background-image: url('../img/top_gear_pc1.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .header-contact-btn::before {
        left: 4px; /* 左端のギア */
    }
    
    .header-contact-btn::after {
        right: 4px; /* 右端のギア */
    }
    
    /* 旧電話ボタンを非表示 */
    .header-phone-btn {
        display: none;
    }
    
    /* SP版ヘッダー要素を非表示 */
    .menu-button,
    .menu-button-scroll {
        display: none;
    }
    
    /* SP版ヒーロー要素を非表示 */
    .hero-background,
    .hero-engine-circle,
    .hero-left-content,
    .hero-right-content,
    .scroll_down {
        display: none !important;
    }
    
    /* PC版でスクロールヘッダーを非表示 */
    .header-scroll {
        display: none !important;
    }
    
    /* SP版メニューオーバーレイを非表示 */
    .menu-overlay {
        display: none;
    }
    
    /* PC版でSP版要素を非表示 */
    .spacer {
        display: none;
    }
    
    /* PC版でナビゲーションを表示 */
    .header-nav {
        display: flex !important;
    }
    
    /* PC版でお問い合わせボタンを表示 */
    .header-contact-btn {
        display: flex !important;
    }
    
    /* PC版でヒーロー要素を表示 */
    .hero-logo,
    .hero-image-container,
    .scroll-down-pc {
        display: block !important;
    }
    
    .hero-image-container {
        display: block !important;
    }
    
    /* ===== PC版ヒーローセクション ===== */
    .hero-section {
        height: auto;
        min-height: 80vh;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 0;
        padding-top: 40px;
        overflow: visible;
        margin-bottom: 0;
        z-index: 20;
    }
    
    
    
    /* PC版ヒーローロゴ */
    .hero-logo {
        margin-top: -100px;
        margin-bottom: 10px;
        z-index: 20;
        position: relative;
    }
    
    .hero-logo img {
        height: 120px;
        width: auto;
    }
    
    /* PC版ヒーロー画像コンテナ */
    .hero-image-container {
        position: relative;
        width: 800px;
        height: 500px;
        margin: 0 auto 80px auto; /* 下部にマージンを追加してスクロールボタン用のスペースを確保 */
        border-radius: 0;
        overflow: hidden;
        box-shadow: none;
        z-index: 20;
    }
    
    /* PC版ヒーロー画像スライダー */
    .hero-pc-slider {
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .hero-pc-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
    }
    
    .hero-pc-slide.active {
        opacity: 1;
    }
    
    /* PC版ヒーローテキスト - 左上 */
    .hero-text-left {
        position: absolute;
        top: 40px;
        left: 20px;
        color: white;
        z-index: 20;
    }
    
    .hero-text-left .hero-engine {
        font-family: 'Golos Text', sans-serif;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 20px;
        text-shadow: none;
        /* ENGINEを丸で囲む */
        border: 3px solid white;
        border-radius: 50%;
        width: 200px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1;
    }
    
    .hero-text-left .hero-services {
        font-family: 'Golos Text', sans-serif;
        font-size: 32px;
        font-weight: 700;
        line-height: 1.1;
        text-shadow: none;
        margin-top: -15px;
    }
    
    /* PC版ヒーローテキスト - 右側 */
    .hero-text-right {
        position: absolute;
        top: 49%;
        right: 0px;
        transform: translateY(-50%) rotate(180deg);
        color: white;
        font-family: 'Golos Text', sans-serif;
        font-size: 36px;
        font-weight: 700;
        text-shadow: none;
        white-space: nowrap;
        z-index: 20;
        writing-mode: vertical-rl;
    }
    
    /* PC版スクロールダウンアニメーション（画像の下に固定） */
    .scroll-down-pc {
        position: absolute;
        bottom: -20px; /* ヒーローセクション下部から固定距離（30px下に移動） */
        left: 50%;
        transform: translateX(-50%);
        z-index: 50;
        width: 40px;
        height: 80px;
    }
    
    .scroll-down-pc a {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        position: absolute;
        left: 13px;
        bottom: 0;
        z-index: 3;
        width: 40px;
        height: 450px;
        color: #fff;
        font-size: 10px;
        font-family: 'Golos Text', sans-serif;
        font-weight: 900;
        line-height: 1;
        letter-spacing: .2em;
        text-transform: uppercase;
        text-decoration: none;
        writing-mode: vertical-rl;
        transition: .2s;
        transform: rotate(180deg);
    }
    
    .scroll-down-pc:before {
        content: '';
        position: absolute;
        top: -100px;
        left: 18px;
        width: 3px;
        height: 50px;
        background: rgba(255, 255, 255, 0.4);
        z-index: 1;
    }
    
    .scroll-down-pc:after {
        content: '';
        position: absolute;
        top: -100px;
        left: 18px;
        width: 3px;
        height: 50px;
        background: #fff;
        z-index: 2;
        animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
    }
    
    .scroll-down-pc a:hover {
        opacity: .5;
    }
    
    @keyframes scrollBounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-10px);
        }
        60% {
            transform: translateY(-5px);
        }
    }
    
    /* PC版ENGINEロゴを上部中央に配置 */
    .hero-section > .hero-engine-circle {
        display: block;
        position: absolute;
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        height: 36px;
        z-index: 20;
    }
    
    .hero-engine-text {
        font-size: 24px;
        letter-spacing: 8px;
        color: #333;
        font-weight: 700;
    }
    
    /* PC版背景画像を中央に配置 */
    .hero-slide {
        background-size: 400px auto;
        background-position: center;
        background-repeat: no-repeat;
        height: 300px;
        margin: 100px 0 60px;
    }
    
    /* PC版でSP用背景画像を非表示にしてPC用を使用 */
    .hero-slide:nth-child(1) {
        background-image: url('../img/hero_pc1.jpg') !important;
    }
    
    .hero-slide:nth-child(2) {
        background-image: url('../img/hero_pc2.png') !important;
    }
    
    .hero-slide:nth-child(3) {
        background-image: url('../img/hero_pc3.png') !important;
    }
    
    /* PC版ヒーローコンテンツを左上に配置 */
    .hero-left-content {
        position: absolute;
        left: 60px;
        top: 120px;
        transform: none;
        z-index: 5;
    }
    
    /* PC版でSP版ENGINEロゴを非表示 */
    .hero-engine-sp {
        display: none;
    }
    
    /* PC版サービスボタンを縦並びに */
    .hero-services {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 0;
    }
    
    .hero-service-item {
        font-size: 12px;
        padding: 8px 16px;
        background-color: rgba(255, 255, 255, 0.9);
        border: 1px solid #333;
        border-radius: 20px;
        color: #333;
        font-weight: 600;
        white-space: nowrap;
        text-align: center;
        width: 140px;
    }
    
    /* PC版右側縦書きテキスト */
    .hero-right-content {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        z-index: 5;
    }
    
    .vertical-text {
        font-size: 14px;
        letter-spacing: 4px;
        color: #333;
        font-weight: 600;
    }
    
    /* PC版スクロールインジケーターを非表示 */
    .scroll_down {
        display: none;
    }
    
    /* ===== PC版サービスセクション ===== */
    .services-section {
        background-image: url('../img/top_pc_back.png?v=2');
        background-position: 0px 0px;
        background-repeat: repeat-x;
        padding: 20px 0 80px 0;
        position: relative;
        margin-top: -300px !important;
        z-index: 5;
        width: 100vw !important; /* ビューポート全幅 */
        margin-left: calc(50% - 50vw) !important; /* 親コンテナを突破して画面全幅 */
        margin-right: calc(50% - 50vw) !important; /* 右側も画面端まで */
    }
    
    /* PC版サービスセクション - 左側固定テキスト */
    .hero-text-left-service {
        position: fixed;
        top: 50%;
        left: 0px;
        transform: translateY(-50%) rotate(180deg);
        color: black;
        font-family: 'Golos Text', sans-serif;
        font-size: 28px;
        font-weight: 700;
        white-space: nowrap;
        z-index: 999999 !important;
        writing-mode: vertical-rl;
        letter-spacing: 0.05em; /* 自然な文字間隔 */
        line-height: 1.4; /* 適度な行間 */
        display: none; /* 最初は非表示 */
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        isolation: isolate; /* 新しいスタッキングコンテキストを作成 */
        will-change: opacity; /* パフォーマンス最適化 */
    }
    
    /* PC版サービスセクション - 右側固定テキスト */
    .hero-text-right-service {
        position: fixed;
        top: 50%;
        right: 0px;
        transform: translateY(-50%);
        color: black;
        font-family: 'Golos Text', sans-serif;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        z-index: 999999 !important;
        writing-mode: vertical-rl;
        letter-spacing: 0.05em; /* より自然な文字間隔 */
        line-height: 1.6; /* 縦書きで文字が重ならない行間 */
        display: none; /* 最初は非表示 */
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        isolation: isolate; /* 新しいスタッキングコンテキストを作成 */
        will-change: opacity; /* パフォーマンス最適化 */
    }
    
    .services-container {
        width: 800px; /* 固定幅に変更 */
        margin: 0 auto;
        padding: 0 60px;
        position: relative;
        z-index: 20;
        box-sizing: border-box; /* パディングを含めた幅計算 */
    }
    
    /* PC版サービスヘッダー - 2カラムレイアウト（完全固定） */
    .services-header {
        display: grid;
        grid-template-columns: 200px 1fr;
        grid-template-rows: auto auto;
        gap: 10px 150px; /* SERVICEと事業内容をさらに近づける */
        margin-bottom: 60px;
        align-items: flex-start;
        padding: 0px 0px 0 0px;
        margin-top: 230px; /* transformの代わりに固定マージン（40px更に下に調整） */
        margin-left: -60px;
        width: 800px !important; /* 完全固定幅 */
        box-sizing: border-box;
        position: relative;
    }
    
    .services-title-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin-left: 0;
    }
    
    .services-title {
        font-size: 60px;
        font-weight: 900;
        color: #333;
        margin: 0;
        font-family: 'Golos Text', sans-serif;
        letter-spacing: 3px;
        line-height: 1;
        writing-mode: horizontal-tb;
        position: relative; /* 固定位置 */
    }
    
    .services-subtitle {
        font-size: 14px;
        color: #333;
        margin: 15px 0 0 0;
        font-weight: 400;
        letter-spacing: 3px;
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        padding-top: 0;
        margin-top: -10px; /* もう少し上にずらして調整 */
        position: relative; /* 固定位置 */
    }
    
    /* PC版ディスクリプション */
    .services-description-pc {
        font-size: 13px !important;
        line-height: 1.8 !important; /* 行間を広げる（1.3 → 1.8） */
        color: #333;
        margin: 0;
        text-align: left;
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: start;
        padding-top: 5px;
        width: 100%;
        max-width: 300px;
        display: block;
        overflow-wrap: break-word;
        font-weight: 700 !important;
    }
    
    /* SP版ディスクリプションを非表示 */
    .services-description-sp {
        display: none;
    }
    
    /* PC版サービス画像レイアウト（完全固定） */
    .service-cards-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 680px !important; /* 固定幅 */
        margin: -50px auto 0; /* さらに上に移動してカードを配置 */
        position: relative;
        gap: 80px;
        box-sizing: border-box; /* 固定幅計算 */
    }
    
    .service-card {
        position: relative;
        flex: 0 0 auto;
    }
    
    /* 左側ボタン（COLOR CONTACT）の固定位置 */
    .color-contact-card {
        position: relative;
    }
    
    /* 右側ボタン（SHOP PRODUCE）の固定位置 */
    .shop-produce-card {
        position: relative;
    }
    
    .service-card-container {
        display: block;
    }
    
    /* 左側サービス画像: service_pc_1.png に差し替え */
    .color-contact-card .service-card-image {
        content: url('../img/service_pc_1.png');
        width: 380px;
        height: auto;
        border-radius: 0;
        border: none;
        object-fit: contain;
        display: block;
    }
    
    /* 右側サービス画像: service_pc_2.png に差し替え */
    .shop-produce-card .service-card-image {
        content: url('../img/service_pc_2.png');
        width: 380px;
        height: auto;
        border-radius: 0;
        border: none;
        object-fit: contain;
        display: block;
    }
    
    /* PC版サービステキストオーバーレイ */
    .service-text-overlay {
        display: block;
        position: absolute; /* 固定位置 */
        bottom: 25px;
        left: 15px;
        color: #333;
        z-index: 10;
        padding: 6px 10px;
        border-radius: 8px;
    }
    
    .service-name {
        font-size: 10px;
        font-weight: 700;
        margin: 0 0 1px 0;
        text-shadow: none;
        color: #333;
    }
    
    .service-label {
        font-size: 9px;
        margin: 0 0 6px 0;
        text-shadow: none;
        color: #666;
        font-weight: 400;
    }
    
    .service-button {
        background-color: #e9d269;
        color: #333;
        border: none;
        border-radius: 15px;
        padding: 3px 10px;
        font-size: 8px;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }
    
    /* 接続線画像を中央に配置 */
    .service-cards-container::after {
        content: url('../img/service_line_pc1.png');
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        width: auto;
        height: auto;
        pointer-events: none;
    }
    
    /* PC版サービステキストオーバーレイの共通設定 */
    .service-text-overlay {
        display: block !important;
        position: absolute !important; /* 固定位置 */
        right: auto !important;
        top: auto !important;
        color: #333 !important;
        z-index: 10 !important;
        border-radius: 8px !important;
        text-align: left !important;
    }
    
    /* 左側ボタン（COLOR CONTACT）専用位置設定 */
    .color-contact-card .service-text-overlay {
        bottom: -20px !important; /* 15px下に調整 */
        left: 105px !important;
        right: auto !important;
        padding: 6px 10px !important;
        margin-left: 50px !important; /* 固定マージン */
        margin-top: 5px !important; /* 固定マージン */
        text-align: left !important;
    }
    
    .color-contact-card .service-name {
        position: relative; /* 固定位置 */
        margin: 0 0 1px 0 !important;
        line-height: 1.1 !important;
        white-space: nowrap !important; /* 1行に強制 */
        font-size: 20px !important; /* フォントサイズを元に戻す */
        width: auto !important; /* 幅を自動調整 */
        overflow: visible !important; /* テキストを表示 */
    }
    
    .color-contact-card .service-label {
        position: relative; /* 固定位置 */
        margin: 8px 0 8px 0 !important; /* 上下に空間を追加 */
        line-height: 1.1 !important;
        text-align: center !important;
        font-size: 12px !important; /* フォントサイズを小さく */
    }
    
    .color-contact-card .service-button {
        position: relative; /* 固定位置 */
        margin-left: 5px; /* 固定マージン */
        padding: 2px 20px !important; /* パディングを調整 */
        line-height: 1.2 !important; /* ライン高さを調整 */
        border-radius: 20px !important;
        margin: 0 auto !important;
        display: flex !important; /* flexboxで中央配置 */
        align-items: center !important; /* 垂直方向中央 */
        justify-content: center !important; /* 水平方向中央 */
        font-size: 10px !important; /* フォントサイズを小さく */
        text-align: center !important; /* テキストを中央揃え */
    }
    
    /* 右側ボタン（SHOP PRODUCE）専用位置設定 */
    .shop-produce-card .service-text-overlay {
        bottom: -20px !important; /* 左側と同じ位置に調整 */
        left: 10px !important;
        right: auto !important;
        padding: 6px 20px !important;
        margin-left: -10px !important; /* 固定マージン */
        margin-top: 5px !important; /* 固定マージン */
        text-align: left !important;
    }
    
    .shop-produce-card .service-name {
        position: relative; /* 固定位置 */
        margin: 0 0 1px 0 !important;
        line-height: 1.1 !important;
        font-size: 20px !important; /* 左側と同じサイズに統一 */
        white-space: nowrap !important; /* 1行に強制 */
        width: auto !important; /* 幅を自動調整 */
        overflow: visible !important; /* テキストを表示 */
    }
    
    .shop-produce-card .service-label {
        position: relative; /* 固定位置 */
        margin: 8px 0 8px 0 !important; /* 上下に空間を追加 */
        line-height: 1.1 !important;
        text-align: center !important;
        font-size: 12px !important; /* フォントサイズを小さく */
    }
    
    .shop-produce-card .service-button {
        position: relative; /* 固定位置 */
        padding: 2px 20px !important; /* パディングを調整 */
        line-height: 1.2 !important; /* ライン高さを調整 */
        border-radius: 20px !important;
        margin: 0 auto !important;
        display: flex !important; /* flexboxで中央配置 */
        align-items: center !important; /* 垂直方向中央 */
        justify-content: center !important; /* 水平方向中央 */
        font-size: 10px !important; /* フォントサイズを小さく */
        text-align: center !important; /* テキストを中央揃え */
    }
    
    /* PC版サービスボタンテキストの共通設定（フォントサイズのみ小さく） */
    .service-name {
        text-shadow: none !important;
        color: #333 !important;
        font-size: 22px !important;
    }
    
    .service-label {
        text-shadow: none !important;
        color: #666 !important;
        font-size: 15px !important;
    }
    
    .service-button {
        background-color: #e9d269 !important;
        color: #333 !important;
        border: 2px solid #333 !important;
        border-radius: 15px !important;
        cursor: pointer;
        display: inline-flex !important;
        align-items: center !important;
        font-size: 14px !important;
    }
    
    /* ===== PC版フッター（シンプル版） ===== */
    .footer {
        background-color: #E9D269; /* PC版は黄色背景を維持 */
        padding: 30px 0 20px;
        position: relative;
        border-top: 1px solid #333; /* 細い線に変更 */
        z-index: 10003;
    }
    
    /* PC版About ENGINEセクションのギア装飾 */
    .pc-about-gears {
        position: relative;
        width: 100%;
        height: 50px;
        margin-top: 30px;
        margin-bottom: 20px;
        display: block !important;
    }
    
    /* PC版About ENGINEギア共通スタイル */
    .pc-about-gear {
        position: absolute;
        object-fit: contain;
        display: block !important;
        visibility: visible !important;
    }
    
    /* 各ギアの個別位置・サイズ・アニメーション */
    .pc-gear-1 {
        width: auto;
        height: 25px;
        top: 104px;
        right: 115px;
        animation: pcAboutGear1 4s linear infinite;
    }
    
    .pc-gear-2 {
        width: auto;
        height: 35px;
        top: 95px;
        right: 79px;
        animation: pcAboutGear2 3s linear infinite;
        animation-delay: 0.3s;
    }
    
    .pc-gear-3 {
        width: auto;
        height: 25px;
        top: 104px;
        right: 55px;
        animation: pcAboutGear3 5s linear infinite;
        animation-delay: 0.6s;
    }
    
    .pc-gear-4 {
        width: atuo;
        height: 35px;
        top: 95px;
        right: 19px;
        animation: pcAboutGear4 3.5s linear infinite;
        animation-delay: 0.9s;
    }
    
    .pc-gear-5 {
        width: auto;
        height: 25px;
        top: 104px;
        right: -5px;
        animation: pcAboutGear5 4.5s linear infinite;
        animation-delay: 1.2s;
    }
    
    /* PC版About ENGINEギア個別回転アニメーション */
    @keyframes pcAboutGear1 {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    @keyframes pcAboutGear2 {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    @keyframes pcAboutGear3 {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    @keyframes pcAboutGear4 {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    @keyframes pcAboutGear5 {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    .footer-content {
        width: 800px; /* 固定幅に変更 */
        margin: 0 auto;
        padding: 0 60px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box; /* パディングを含めた幅計算 */
        align-items: center;
        gap: 20px;
    }
    
    .footer-logo-section {
        display: flex;
        justify-content: center;
    }
    
    .footer-logo-image {
        height: 35px;
        width: auto;
    }
    
    .footer-nav-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    /* PC版フッターナビゲーション - シンプル横並び */
    .footer-nav-row {
        display: flex;
        align-items: center;
        gap: 25px;
        font-family: 'Golos Text', sans-serif;
        font-weight: 600;
        font-size: 13px;
        flex-wrap: nowrap;
    }
    
    .footer-nav-item {
        color: #333;
        text-decoration: none;
        padding: 3px 0;
        white-space: nowrap;
        transition: color 0.3s ease;
    }
    
    .footer-nav-item:hover {
        color: #666;
    }
    
    .footer-nav-separator {
        color: #333;
        font-weight: 400;
        font-size: 13px;
    }
    
    /* PC版フッターナビゲーション - 表示 */
    .footer-nav-row {
        display: flex !important;
    }
    
    /* PC版でSP版フッター要素を非表示 */
    .nav-row,
    .nav-line,
    .footer-copyright {
        display: none !important;
    }
    
    /* SP版フッターナビゲーションを非表示 */
    .footer-nav-section .nav-line,
    .footer-nav-section .nav-row {
        display: none !important;
    }
    
    /* ===== PC版固定コンタクトボタンを非表示 ===== */
    .fixed-contact-buttons {
        display: none !important;
    }
    
    .contact-section {
        border-radius: 25px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .contact-btn {
        padding: 12px 20px;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
        transition: transform 0.2s ease;
    }
    
    .contact-btn:hover {
        transform: translateY(-2px);
    }
    
    .btn-icon {
        width: 20px;
        height: 20px;
    }
    
    /* ===== PC版COLOR CONTACTセクション ===== */
    .color-contact-section {
        background-color: #ffffff;
        padding: 80px 0;
        position: relative;
        margin-top: 0 !important;
    }
    
    .color-contact-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 60px;
        text-align: center;
        position: relative;
        z-index: 20;
    }
    
    /* PC版COLOR CONTACTヘッダー - SERVICEと同じレイアウト */
    .color-contact-section .section-header {
        display: grid !important;
        grid-template-columns: 200px 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 60px 150px !important;
        margin-bottom: 60px !important;
        align-items: flex-start !important;
        padding: 0px 0px 0 0px !important;
        transform: translateY(0px) !important;
        margin-left: -60px !important;
        width: 800px !important;
        max-width: 800px !important;
        text-align: left !important;
        margin-top: 0 !important;
    }
    
    .section-title-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin-left: 0;
    }
    
    .section-title {
        font-size: 60px;
        font-weight: 900;
        color: #333;
        margin: 0;
        font-family: 'Golos Text', sans-serif;
        letter-spacing: 3px;
        line-height: 1;
        writing-mode: horizontal-tb;
        transform: translateX(0px) translateY(0px);
    }
    
    .section-subtitle {
        font-size: 14px;
        color: #333;
        margin: 15px 0 0 0;
        font-weight: 400;
        letter-spacing: 3px;
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        padding-top: 0;
        transform: translateX(0px) translateY(-56px);
    }
    
    .section-description {
        font-size: 10px !important;
        line-height: 1.3 !important;
        color: #333;
        margin: 0;
        text-align: left;
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: start;
        padding-top: 0px;
        width: 100%;
        max-width: 300px;
        display: block;
        overflow-wrap: break-word;
        font-weight: 700 !important;
    }
    
    /* PC版bakugai画像を小さく */
    .bakugai-image {
        width: 400px !important;
        height: auto !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    .bakugai-info-box {
        margin-bottom: 30px !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    /* PC版でSP版の説明文を非表示 */
    .colorcontact-description {
        display: none !important;
    }
    
    /* PC版で新しい説明文を表示 */
    .section-description-pc {
        display: block !important;
    }
    
    /* ===== PC版SHOP PRODUCEセクション ===== */
    .shop-produce-section {
        background-color: #ffffff;
        padding: 80px 0;
        position: relative;
        margin-top: 0 !important;
    }
    
    .shop-produce-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 60px;
        text-align: center;
    }
    
    /* PC版SHOP PRODUCEヘッダーも同じレイアウト */
    .shop-produce-section .section-header {
        display: grid;
        grid-template-columns: 200px 1fr;
        grid-template-rows: auto auto;
        gap: 60px 150px;
        margin-bottom: 60px;
        align-items: flex-start;
        padding: 0px 0px 0 0px;
        transform: translateY(0px);
        margin-left: -60px;
        width: 800px;
        max-width: 800px;
        text-align: left;
    }
    
    /* ===== PC版ABOUT ENGINEセクション ===== */
    .about-engine-section {
        background-color: #e9d269;
        padding: 80px 0;
        position: relative;
        margin-top: 0 !important;
    }
    
    .about-engine-container {
        width: 800px; /* 固定幅に変更 */
        margin: 0 auto;
        padding: 0 60px;
        text-align: center;
        box-sizing: border-box; /* パディングを含めた幅計算 */
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 42px;
        font-weight: 900;
        color: #333;
        margin-bottom: 20px;
        font-family: 'Golos Text', sans-serif;
    }
    
    .section-subtitle {
        font-size: 18px;
        color: #333;
        margin-bottom: 30px;
        font-weight: 600;
    }
    
    /* PC版ブランドロゴスライダー */
    .brand-logos-slider {
        margin: 60px 0;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .brand-logos-track {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 0;
    }
    
    .brand-logo-item {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #ddd;
    }
    
    /* PC版ギャラリースライダー */
    .gallery-slider {
        margin: 60px 0;
        position: relative;
    }
    
    .gallery-container {
        max-width: 900px;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 12px;
    }
    
    .gallery-track {
        display: flex;
        transition: transform 0.3s ease;
    }
    
    .gallery-item {
        min-width: 100%;
        position: relative;
    }
    
    .gallery-image {
        width: 100%;
        height: 400px;
        object-fit: cover;
    }
    
    /* PC版スクロールテキスト */
    .scrolling-text-section {
        padding: 40px 0;
        background-color: transparent; /* 背景色を削除 */
        margin-top: -60px; /* 上に上げる */
    }
    
    .scrolling-text-item {
        font-size: 24px;
        letter-spacing: 4px;
    }
    
    /* PC版About Engineセクション */
    .about-engine-bubble-container {
        max-width: 600px;
        margin: 0 auto 60px;
        position: relative;
    }
    
    .bubble-background {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }
    
    .bubble-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #333;
        padding: 40px;
    }
    
    .bubble-intro {
        font-size: 16px;
        margin-bottom: 30px;
        font-weight: 600;
    }
    
    .engine-logo-container {
        margin: 20px 0;
    }
    
    .engine-logo-image {
        height: 40px;
        width: auto;
    }
    
    .bubble-description {
        font-size: 14px;
        line-height: 1.6;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .company-info-section {
        display: flex;
        justify-content: center;
        gap: 80px;
        flex-wrap: wrap;
        margin-top: 60px;
    }
    
    .company-info-item {
        text-align: left;
        min-width: 200px;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .info-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .info-icon {
        width: 10px;
        height: 20px;
    }
    
    .info-label {
        font-weight: 700;
        color: #333;
        font-size: 14px;
    }
    
    .info-value {
        font-size: 14px;
        color: #333;
        line-height: 1.4;
    }
}

/* Oval ENGINE logo */
.hero-engine-circle {
    width: 160px;
    height: 34px;
    border: 2px solid #fff;
    border-radius: 45px / 60%; /* 横方向15px、縦方向50% */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    margin-bottom: 5px;
}

.hero-engine-text {
    font-family: 'Golos Text', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 4px;
    text-align: center;
}

.hero-services {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-left: 0;
}

.hero-service-item {
    font-family: 'Golos Text', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    padding: 0;
    background-color: transparent;
    text-align: left;
    line-height: 1;
}

/* Right side vertical text */
.hero-right-content {
    position: absolute;
    right: -5px;
    top: 0px;
    z-index: 2;
    height: calc(100vh - 200px);
    display: flex;
    align-items: flex-start;
}

.vertical-text {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    font-family: 'Golos Text', sans-serif;
    font-size: 2.7rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0px;
    line-height: 1;
    transform: rotate(180deg);
}

/* Scroll Down Animation */
.scroll_down {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.scroll_down a {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    left: 13px;
    bottom: 120px;
    z-index: 3;
    width: 40px;
    height: 80px;
    color: #fff;
    font-size: 14px;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-rl;
    transition: .2s;
    transform: rotate(180deg);
}

.scroll_down:before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 2px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.scroll_down:after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 2px;
    height: 100px;
    background: #faf9f6;
    z-index: 2;
}

.scroll_down a:hover {
    opacity: .5;
}

#type01:after {
    animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }
    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }
    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }
    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

/* ===== SERVICES SECTION ===== */
/* SP版専用のservices-sectionは下のメディアクエリ内に移動 */

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: -20px;
}

.services-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 32px;
    font-weight: 800; /* ExtraBold */
    margin: 0;
    letter-spacing: 2px;
    color: #333;
}

.services-title-image {
    display: flex;
    align-items: center;
}

.service-icon-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.services-subtitle {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 17px;
    font-weight: 700; /* Bold */
    color: #333;
    margin-bottom: 50px; /* 2行分の空間 */
    margin-top: 10px; /* 上の空間を追加 */
    margin-right: -15px; /* 右にずらす（中央寄りに調整） */
    letter-spacing: 2.5px;
}

.services-description {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    font-weight: 700; /* Bold */
    line-height: 1.8;
    color: #333;
    max-width: 500px;
    margin: 0 auto 60px;
}

/* Service Cards */
.service-card {
    margin-bottom: 20px;
    background: transparent;
    padding: 0;
    box-shadow: none;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* COLOR CONTACT - 右からスライドイン */
.color-contact-card {
    transform: translateX(100px);
}

.color-contact-card.animate {
    opacity: 1;
    transform: translateX(0);
}

/* SHOP PRODUCE - 左からスライドイン */
.shop-produce-card {
    transform: translateX(-100px);
}

.shop-produce-card.animate {
    opacity: 1;
    transform: translateX(0);
}

.service-card-container {
    position: relative;
    width: 100%;
}

.service-card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* COLOR CONTACT - 画像を右寄せ */
.color-contact-card .service-card-image {
    object-position: right;
    transform: translateX(20px);
}

/* SHOP PRODUCE - 画像を左寄せ */
.shop-produce-card .service-card-image {
    object-position: left;
    transform: translateX(-20px);
}

/* Service Text Overlay */
.service-text-overlay {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* COLOR CONTACT - テキストを右側に配置 */
.color-contact-card .service-text-overlay {
    right: -2px;
    left: auto;
    text-align: center;
}

/* SHOP PRODUCE - テキストを左側に配置 */
.shop-produce-card .service-text-overlay {
    left: 20px;
    right: auto;
    text-align: center;
}

.service-name {
    font-family: 'Golos Text', sans-serif;
    font-size: 1.5rem;
    font-weight: 900; /* Black */
    color: #333;
    margin-bottom: 14px;
    letter-spacing: 1.5px;
    line-height: 0.3;
}

.service-label {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700; /* Bold */
    letter-spacing: 0.5px;
    line-height: 0.8;
}

.service-button {
    background: #E9D269;
    border: 2px solid #333;
    color: #333;
    padding: 3px 30px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700; /* Bold */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Zen Maru Gothic', sans-serif; /* Zen Maru Gothic */
    letter-spacing: 0.5px;
}

.service-button:hover {
    background: #faf9f6;
    color: #333;
    border-color: #333;
    transform: translateX(3px);
}

.service-button .arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
    font-weight: 700;
}

.service-button:hover .arrow {
    transform: translateX(3px);
}


/* ===== COLOR CONTACT SECTION ===== */
.color-contact-section {
    position: relative;
    padding: 80px 20px 0px 20px; /* 下部パディングをさらに小さく（40px→10px） */
    background-color: #faf9f6; /* いつもの白背景を追加 */
    background-image: url('../img/top_sp_colorcontact_back.png'); /* 新しい背景画像に変更 */
    background-size: 101% auto; /* 100%から101%に変更して隙間をなくす */
    background-position: center 450px; /* 元の位置に戻す */
    background-repeat: no-repeat;
    z-index: 100; /* 固定背景より前面に表示 */
    border-bottom: 6px solid #333; /* セクション終わりに太い黒線 */
    margin-top: -50px; /* 白色部分を上に50px伸ばす */
    padding-top: 30px; /* 上のパディングを増やしてコンテンツ位置を調整 */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 20px; /* 上部にマージンを追加 */
}

.section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 32px; /* SERVICEセクションと同じサイズ */
    font-weight: 900; /* Black */
    margin: 0;
    color: #333;
    letter-spacing: 2px;
}

.section-title-image {
    display: flex;
    align-items: center;
}

.section-icon-image {
    width: 30px; /* SERVICEセクションと同じサイズ */
    height: 30px;
    object-fit: contain;
}

.section-subtitle {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 17px; /* SERVICEセクションと同じサイズ */
    font-weight: 700; /* Bold */
    color: #333;
    margin-top: -15px; /* 上に移動 */
    margin-right: -12.5px; /* -15pxから-12.5pxに変更して右にずらす */
    letter-spacing: 2.5px;
}

/* COLOR CONTACT Section Styles */
.colorcontact-description {
    text-align: center; /* 中央揃えに変更 */
    margin-top: -25px; /* 上に移動 */
    margin-bottom: 40px;
    padding: 0 20px;
}

.colorcontact-description p {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    text-align: left; /* テキスト自体は左寄せ */
    display: inline-block; /* インラインブロックで中央配置を維持 */
}

/* Bakugai Info Box */
.bakugai-info-box {
    margin-bottom: 50px;
    padding: 0 20px;
}

.bakugai-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Bakugai ぽよよんアニメーション */
.anim-box.poyoyon3.is-animated {
    animation: poyoyon3 2.5s infinite;
    opacity: 1;
}

@keyframes poyoyon3 {
    0%, 40% {
        transform: skew(0deg, 0deg);
    }
    5% {
        transform: skew(5deg, 5deg);
    }
    10% {
        transform: skew(-4deg, -4deg);
    }
    15% {
        transform: skew(3deg, 3deg);
    }
    20% {
        transform: skew(-2deg, -2deg);
    }
    25% {
        transform: skew(1deg, 1deg);
    }
    30% {
        transform: skew(-0.6deg, -0.6deg);
    }
    35% {
        transform: skew(0.3deg, 0.3deg);
    }
}

/* Contact Brand Section */
.contact-brand-section {
    text-align: center;
    margin-bottom: 30px;
}

.contact-brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contactbrand-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.contact-brand-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #333;
    margin: 0;
    letter-spacing: 1px;
}

.contact-brand-subtitle {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: -10px 0 0 0; /* 上に移動 */
    letter-spacing: 1px;
}

/* Brand Logos Slider */
.brand-logos-slider {
    overflow: visible; /* overflowを変更して画像が見えるように */
    width: 100%;
    height: 120px; /* 高さを固定して上下切れを防ぐ */
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    position: relative; /* z-indexを有効にする */
    z-index: 1; /* ヘッダーより下に設定 */
    background: transparent; /* 透明背景にして下の黄色を透過 */
    isolation: isolate; /* 新しいスタッキングコンテキストを作成 */
}

.brand-logos-track {
    display: flex;
    animation: brandSlide 25s linear infinite;
    align-items: center; /* 画像を垂直中央揃え */
    width: 200%; /* 18個の画像分の幅を確保 */
    position: relative; /* z-indexを有効にする */
    z-index: 1; /* ヘッダーより下に設定 */
}

.brand-logo-item {
    width: 120px; /* 固定幅で4個程度表示 */
    height: auto;
    flex-shrink: 0;
    margin: 0 8px; /* 個々のロゴの間隔を短く */
    position: relative; /* z-indexを有効にする */
    z-index: 1; /* ヘッダーより下に設定 */
    background: white; /* 画像背景を白に */
    border-radius: 50%; /* 円形にする */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* 影を追加 */
}

@keyframes brandSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-120px * 9 - 16px * 9)); /* 9個の画像分の正確な幅で移動 */
    }
}

/* And More - 画像とテキストの重ね合わせ */
.and-more {
    text-align: center;
    margin-bottom: 10px; /* 下部マージンを大幅に削減（調整可能） */
    display: flex;
    justify-content: center;
}

.and-more-container {
    position: relative;
    display: inline-block;
}

.and-more-image {
    width: auto;
    height: auto;
    max-width: 150px; /* 画像サイズを小さく */
}

.and-more-text {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Golos Text', sans-serif;
    font-size: 14px; /* テキストサイズも小さく */
    font-weight: 700;
    color: #333;
    margin: 0;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Color Contact Button */
.colorcontact-button {
    text-align: center;
    margin-bottom: 20px; /* ボタン下のマージンを小さく */
}

.colorcontact-btn {
    background: #E9D269;
    border: 3px solid #333;
    color: #333;
    padding: 8px 35px 8px 45px; /* テキストを少し右に */
    border-radius: 20px; /* 角丸を調整 */
    font-size: 0.8rem; /* 文字サイズを大きく */
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* 中央揃え */
    gap: 20px; /* 最小間隔を確保 */
    transition: all 0.3s ease;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 0.3px;
    min-width: 180px; /* 最小幅を確保 */
    position: relative; /* 矢印の絶対配置用 */
}

.colorcontact-btn:hover {
    background: #faf9f6;
    color: #333;
    border-color: #333;
}

.colorcontact-btn .arrow-image {
    width: 25px; /* 矢印画像のサイズ */
    height: 25px;
    transition: transform 0.3s ease;
    flex-shrink: 0; /* 矢印のサイズを維持 */
    /* 絶対配置を解除して通常フローに */
}


/* ===== HERO2 BAKUGAI IMAGE SECTION ===== */
.hero2-bakugai-section {
    position: fixed; /* 背景として固定 */
    top: 0; /* 画面上端から開始 */
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh; /* 画面全体の高さに拡張 */
    z-index: 1; /* 背景レイヤー */
    overflow: hidden;
    opacity: 0; /* 初期は非表示（COLOR CONTACT中は見せない） */
    transition: opacity 0.3s ease;
}

/* bakugai画像を表示するクラス */
.hero2-bakugai-section.show { opacity: 1; }

.hero2-bakugai-image {
    width: 100%;
    height: 100%; /* セクションにフィット */
    object-fit: cover; /* 隙間を埋めるためにcover使用 */
    object-position: center center; /* 中央配置 */
    display: block;
    min-width: 100%;
    min-height: 100%; /* 最小サイズも100%に設定して隙間防止 */
}

.contact-image {
    width: 100%;
    height: 200px;
    margin-bottom: 30px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    font-weight: 500;
}

.contact-description {
    padding: 0 20px;
}

.contact-description p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

/* ===== BAKUGAI SECTION ===== */
.bakugai-section {
    background-color: #f8f8f8;
    padding: 40px 20px;
    border-radius: 15px;
    margin: 40px 0;
}

.bakugai-header {
    text-align: center;
    margin-bottom: 30px;
}

.bakugai-logo {
    display: inline-block;
}

.bakugai-content {
    margin-bottom: 30px;
}

.bakugai-info {
    background-color: #faf9f6;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.info-label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.info-value {
    font-weight: 400;
    color: #555;
    font-size: 0.9rem;
    text-align: right;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
}

.contact-icon .icon-placeholder {
    border-radius: 50%;
    font-size: 10px;
}

.contact-button {
    text-align: center;
    margin-top: 30px;
}

.btn-contact {
    background-color: #E9D269;
    color: #333;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(233, 210, 105, 0.3);
}

.btn-contact:hover {
    background-color: #E9D269;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 210, 105, 0.4);
}

/* ===== SHOP PRODUCE SECTION ===== */
.shop-produce-section {
    position: relative;
    padding: 80px 20px;
    background-color: #faf9f6;
    z-index: 10;
    margin-top: calc(60vh - 150px); /* 固定背景の下端から開始（ヘッダー分を差し引く） */
    text-align: center;
}

/* Section Title with Icon */
.shop-produce-section .section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* 間隔を小さく */
    margin-bottom: 8px; /* 下の余白を小さく */
}

.shop-produce-section .section-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 28px; /* フォントサイズを小さく */
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #333;
    line-height: 1.1;
}

.shop-produce-section .section-icon-image {
    width: 50px; /* アイコンをさらに大きく */
    height: 50px;
}

.shop-produce-section .section-subtitle {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 50px; /* 下の余白をさらに広げる */
    margin-top: 20px; /* 上の余白も追加 */
    letter-spacing: 1.5px;
    color: #333;
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    margin-bottom: 30px;
}

.gallery-container {
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.gallery-track {
    display: flex;
    transition: transform 0.3s ease;
}

.gallery-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
}

.gallery-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #333;
}

/* Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
    background: #E9D269;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Shop Info Slider */
.shop-info-slider {
    margin-bottom: 50px; /* プロデュース例と説明文の間にスペースを追加 */
    overflow: hidden;
}

.shop-info-container {
    width: 100%;
}

.shop-info-track {
    display: flex;
    transition: transform 0.3s ease;
}

.shop-info-item {
    min-width: 100%;
    text-align: center;
}

.shop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* 矢印との間隔を広げる */
    margin-bottom: 8px;
}

.shop-nav-arrow {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
    user-select: none;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.shop-nav-arrow:hover {
    transform: scale(1.1);
}

.shop-name {
    font-family: 'Golos Text', sans-serif;
    font-size: 24px; /* フォントサイズを大きく */
    font-weight: 700;
    color: #333;
    letter-spacing: 0.5px;
}

.shop-location {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 12px;
    color: #333; /* 黒色を維持 */
    font-weight: 700; /* 店舗名と同じ太さに */
    margin: 0;
    border: 2px solid #333; /* 枠線を追加 */
    border-radius: 15px; /* 角丸 */
    padding: 4px 12px; /* 内側の余白 */
    display: inline-block; /* インラインブロックで幅を内容に合わせる */
    background-color: transparent;
}

/* Description Slider */
.description-slider {
    margin-bottom: 40px;
    overflow: hidden;
    padding: 0 50px; /* 左右の余白を広げる */
    position: relative; /* 相対位置指定 */
}

/* 左右の端をマスクして他のディスクリプションを隠す */
.description-slider::before,
.description-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    background: linear-gradient(to right, #faf9f6, transparent);
    z-index: 10;
    pointer-events: none;
}

.description-slider::before {
    left: 0;
    background: linear-gradient(to right, #faf9f6, transparent);
}

.description-slider::after {
    right: 0;
    background: linear-gradient(to left, #faf9f6, transparent);
}

.description-container {
    width: 100%;
}

.description-track {
    display: flex;
    transition: transform 0.3s ease;
}

.description-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
}

.description-item p {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8; /* 行間を広げる */
    color: #333;
    text-align: left;
    max-width: 260px; /* 幅を制限して4行表示 */
    margin: 0;
}

/* Contact Button */
.produce-button {
    text-align: center;
}

/* Scrolling Text with Black Line Section */
.scrolling-text-section {
    position: relative;
    background-color: #faf9f6;
    padding: 0;
    overflow: hidden;
    border-bottom: 6px solid #333; /* COLOR CONTACTと同じ黒い線 */
    z-index: 100; /* 固定背景より前面に表示 */
}

.scrolling-text-container {
    position: relative;
    height: 80px; /* 大きな文字に合わせて高さを調整 */
    overflow: visible; /* 文字が線にかかるように */
    display: flex;
    align-items: flex-end; /* 下揃え */
    background-color: #faf9f6; /* 白い背景 */
    margin-bottom: -2px; /* より強く線に近づける */
}

.scrolling-text-track {
    display: flex;
    white-space: nowrap;
    animation: scrollTextRight 40s linear infinite; /* スピードを遅く */
    gap: 100vw; /* 画面幅分の間隔で空白期間を解消 */
    align-items: flex-end; /* 下揃え */
    transform: translateY(10px); /* 文字を線にくっつける（適度な値） */
}

.scrolling-text-item {
    font-family: 'Golos Text', sans-serif;
    font-size: 68px; /* 文字をより大きく */
    font-weight: 900;
    color: #333;
    letter-spacing: 8px; /* 文字間の空間を広げる */
    flex-shrink: 0;
    line-height: 0.8; /* 行の高さを小さくして文字を詰める */
    vertical-align: bottom; /* 垂直方向を底揃え */
}

/* 右から左へのスクロールアニメーション */
@keyframes scrollTextRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.produce-btn {
    background: #E9D269;
    border: 2px solid #333;
    color: #333;
    padding: 8px 40px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: all 0.3s ease;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 0.3px;
    min-width: 180px;
    position: relative;
}

.produce-btn:hover {
    background: #faf9f6;
    color: #333;
    border-color: #333;
    transform: translateX(3px);
}

.produce-btn .arrow-image {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.produce-btn:hover .arrow-image {
    transform: translateY(-50%) translateX(3px);
}

.produce-content {
    margin-bottom: 60px;
    text-align: center;
}

.produce-description p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    padding: 0 20px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    margin-bottom: 60px;
}

.gallery-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 1.8rem;
    font-weight: 900; /* Black */
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.gallery-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.gallery-item {
    aspect-ratio: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
}

.gallery-image .image-placeholder {
    border-radius: 10px;
}

/* ===== ME ME PALETTE SECTION ===== */
.meme-palette-section {
    background-color: #f8f8f8;
    padding: 40px 20px;
    border-radius: 15px;
    margin: 40px 0;
}

.meme-header {
    text-align: center;
    margin-bottom: 30px;
}

.meme-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 1.8rem;
    font-weight: 900; /* Black */
    margin-bottom: 5px;
    color: #333;
}

.meme-subtitle {
    font-size: 1rem;
    color: #666;
}

.meme-content {
    margin-bottom: 30px;
}

.meme-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
}

.meme-description {
    padding: 0 20px;
}

.meme-description p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
}

/* ===== SUPPORT SECTION ===== */

/* ===== ABOUT ENGINE SECTION ===== */
/* ===== ABOUT ENGINE SECTION ===== */
.about-engine-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #E9D269; /* 黄色背景 */
    position: relative;
    z-index: 100;
    border-bottom: 6px solid #333; /* セクション終わりに黒い棒線 */
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 2rem;
    font-weight: 900; /* Black */
    margin-bottom: 10px;
    color: #333;
}

.about-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.about-content {
    margin-bottom: 40px;
}

.about-logo {
    text-align: center;
    margin-bottom: 30px;
}

.about-logo .logo-placeholder {
    font-size: 3rem;
    font-weight: 900;
    color: #333;
}

.about-description {
    padding: 0 20px;
}

.about-description p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

.company-info {
    background-color: #f8f8f8;
    padding: 30px 20px;
    border-radius: 10px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-grid .info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

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

.info-grid .info-label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    min-width: 100px;
}

.info-grid .info-value {
    font-weight: 400;
    color: #555;
    font-size: 1rem;
    text-align: right;
    flex: 1;
}

/* Breadcrumb Navigation */
.breadcrumb-section {
    background-color: #faf9f6; /* 元の背景色を維持 */
    padding: 15px 20px;
    margin-top: 0px; /* 上の空間を削除 */
}

.breadcrumb-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-item {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.breadcrumb-item.current {
    font-weight: 700;
}

.breadcrumb-separator {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0 5px;
}

/* Footer Gear Section */
.footer-gear-section {
    background-color: #faf7f1; /* いつもの白に戻す */
    padding: 30px 20px 0;
    text-align: center;
    position: relative; /* 相対位置指定 */
}

.gear-icons {
    display: flex;
    justify-content: flex-end; /* 右寄せに変更 */
    align-items: center;
    gap: -10px; /* ギア間の間隔をさらに狭く */
    margin-bottom: 0; /* マージンを削除 */
    padding-right: 10px; /* 右端の余白を削除 */
    position: absolute; /* 絶対位置指定 */
    top: 18px; /* 黒い棒の上に配置 */
    right: 0; /* 右端に配置 */
    z-index: 10; /* 黒い棒より前面に */
}

/* ギア回転アニメーションの定義（位置調整も含む） */
@keyframes rotateAnimation1 {
  from {
    transform: translateY(4px) rotate(0deg);
  }
  to {
    transform: translateY(4px) rotate(360deg);
  }
}

@keyframes rotateAnimation2 {
  from {
    transform: translateY(0px) rotate(0deg);
  }
  to {
    transform: translateY(0px) rotate(360deg);
  }
}

@keyframes rotateAnimation3 {
  from {
    transform: translateY(3px) rotate(0deg);
  }
  to {
    transform: translateY(3px) rotate(360deg);
  }
}

/* 各ギアのサイズと位置を個別に調整 */
.footer-gear:nth-child(1) { /* f_gear_1 - 一番小さく */
    width: auto;
    height: 25px;
    object-fit: contain;
    animation: rotateAnimation1 4s linear infinite; /* 4秒で1回転、位置調整込み */
}

.footer-gear:nth-child(2) { /* f_gear_2 - 少し大きく */
    width: auto;
    height: 35px;
    object-fit: contain;
    animation: rotateAnimation2 3s linear infinite; /* 3秒で1回転、位置調整込み */
    animation-delay: 0.3s; /* 0.3秒の遅延 */
}

.footer-gear:nth-child(3) { /* f_gear_3 - 中くらい */
    width: auto;
    height: 25px;
    object-fit: contain;
    animation: rotateAnimation3 5s linear infinite; /* 5秒で1回転、位置調整込み */
    animation-delay: 0.6s; /* 0.6秒の遅延 */
}

.footer-gear:nth-child(4) { /* f_gear_4 - 大きく */
    width: auto;
    height: 35px;
    object-fit: contain;
    animation: rotateAnimation2 3.5s linear infinite; /* 3.5秒で1回転、位置調整込み */
    animation-delay: 0.9s; /* 0.9秒の遅延 */
}

.footer-gear:nth-child(5) { /* f_gear_5 - 一番大きく */
    width: auto;
    height: 25px;
    object-fit: contain;
    animation: rotateAnimation3 4.5s linear infinite; /* 4.5秒で1回転、位置調整込み */
    animation-delay: 1.2s; /* 1.2秒の遅延 */
}

.black-line {
    width: 100vw; /* ビューポート幅いっぱいに */
    height: 1px; /* 細い線に変更 */
    background-color: #333;
    margin: 20px 0 0 0; /* 左右マージンを0に */
    margin-left: calc(-50vw + 50%); /* 画面左端から開始 */
    margin-right: calc(-50vw + 50%); /* 画面右端まで */
}
/* ===== COLOR CONTACT LENS PAGE ===== */
/* Color Contact Title Section */
.color-contact-title-section {
    padding: 180px 20px 60px 20px;
    background-color: #faf9f6;
    text-align: center;
}

.color-contact-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-direction: column;
}

.color-contact-main-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 45px;
    font-weight: 900;
    color: #333;
    margin: 0 0 15px 0;
    letter-spacing: 3px;
    line-height: 1.0;
    text-align: center;
}

.color-contact-subtitle-button {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    background-color: #E9D269;
    border: 2px solid #333;
    border-radius: 15px;
    padding: 2px 24px;
    display: inline-block;
    letter-spacing: 8px;
}

.color-contact-description {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Contact Products Section */
.color-contact-products-section {
    margin-top: 0px; /* ディスクリプションの下に配置 */
    overflow: hidden;
    width: 100%;
    height: 350px; /* 画像サイズに合わせて縮小 */
}

.products-slider {
    width: 100%;
    overflow: hidden;
}

.products-track {
    display: flex;
    animation: slideProducts 8s linear infinite;
    width: max-content; /* 画像の実際のサイズに合わせる */
}

.products-image {
    width: auto; /* 画像の縦横比を保持 */
    height: 350px; /* 適切なサイズに縮小 */
    object-fit: contain; /* 画像全体が見えるように */
    flex-shrink: 0;
}

/* シンプルで確実な無限ループ */
@keyframes slideProducts {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Color Contact Bakuga Section */
.color-contact-bakuga-section {
    width: 100%;
    text-align: center;
    margin: 20px 0;
    position: relative;
    padding: 0 20px; /* 左右に余白を追加 */
}

.bakuga-image {
    width: 80%; /* スマホでは画面幅の80%に縮小 */
    max-width: 350px; /* 最大サイズも少し小さく調整 */
    height: auto;
    object-fit: contain;
}

/* Contact Brand Main Section with Background */
.contact-brand-main-section {
    background-image: url('../img/colorcontact/color-contact_bakugaiback.png');
    background-repeat: no-repeat;
    background-size: auto 100%; /* 背景画像の高さを100%に固定して幅は自動調整 */
    background-position: center top;
    padding: 120px 20px 20px; /* 下のパディングを縮小して白い空間を狭く */
    margin-top: -120px; /* さらに上にずらす */
    min-height: 570px; /* 背景画像が適切に表示される高さに戻す */
}

/* Color Contact専用のContact Brand Section調整 */
.contact-brand-main-section .contact-brand-section {
    margin-top: 40px; /* Contact Brandセクションをさらに下に */
}

.contact-brand-main-section .brand-logos-slider {
    margin-top: 20px; /* ブランドロゴスライダーも下に */
}

.contact-brand-main-section .and-more {
    margin-top: 0px; /* AND MORE...をさらに下に移動（調整可能） */
}

.contact-brand-main-section .colorcontact-button {
    margin-top: 15px; /* ボタンを上に移動して上の空間を削減（調整可能） */
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    background-color: #E9D269; /* 黄色背景に戻す */
    color: #333; /* 黒いテキスト */
    padding: 40px 20px 20px;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-placeholder {
    font-family: 'Golos Text', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-nav-list a {
    text-decoration: none;
    color: #ccc;
    font-size: 0.9rem;
    font-family: 'Golos Text', sans-serif;
    transition: color 0.3s ease;
}

.footer-nav-list a:hover {
    color: #E9D269;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.copyright {
    font-size: 0.8rem;
    color: #999;
}

/* ===== NEW ABOUT ENGINE SECTION ===== */
/* About Engine Header */
.about-engine-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* さらに間隔を狭く */
    margin-bottom: -5px; /* 下の余白も狭く */
}

.about-engine-icon {
    width: 20px; /* アイコンを小さく */
    height: 34px;
}

.about-engine-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 26px; /* さらにフォントサイズを小さく */
    font-weight: 900;
    color: #333;
    margin: 0;
    letter-spacing: 0px; /* 文字間隔をなくす */
}

.about-engine-subtitle {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px; /* サブタイトルも小さく */
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0; /* 下の余白も狭く */
}

/* Speech Bubble Container */
.about-engine-bubble-container {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

.bubble-background {
    max-width: 400px;
    height: auto;
    display: block;
}

/* Check Badge */
.check-badge {
    position: absolute;
    top: -25px;
    left: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-image {
    width: 100px; /* サイズを大きく */
    height: 100px;
    animation: rotateGear 7s linear infinite; /* 3秒で1回転、無限ループ */
}

/* ギア回転アニメーション */
@keyframes rotateGear {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.check-text {
    position: absolute;
    font-family: 'Golos Text', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

/* Bubble Content */
.bubble-content {
    position: absolute;
    top: 52%; /* 中央よりやや下 */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* 幅を広げて左右の空間を削減 */
    padding: 25px 10px; /* 左右パディングを小さく */
}

.bubble-intro {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 19px;
    font-weight: 700; /* Bold */
    color: #333;
    margin: 0 0 0px 0;
    text-align: center;
    position: relative; /* 独立した位置調整を可能に */
    transform: translateY(-40px); /* 上下位置調整用（0pxで現在位置） */
}

.engine-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
    position: relative; /* 独立した位置調整を可能に */
    transform: translateY(-25px); /* 上下位置調整用（0pxで現在位置） */
}

.engine-logo-image {
    max-width: 220px; /* さらに小さく */
    height: auto;
    display: block;
}

.bubble-description {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px; /* 吹き出しに合わせてさらに小さく */
    line-height: 1.5;
    color: #333;
    margin: 0;
    text-align: left;
    font-weight: 500; /* Bold */
    width: 100%; /* 左右の空間をなくして端まで使用 */
    position: relative; /* 独立した位置調整を可能に */
    transform: translateY(-0px); /* 上下位置調整用（0pxで現在位置） */
}

/* Company Information */
.company-info-section {
    display: flex;
    flex-direction: column;
    gap: 0; /* ギャップをなくす */
    align-items: stretch; /* 幅を揃える */
    max-width: 400px;
    margin: -60px auto 0 auto; /* 上に20px移動 */
    padding: 0 20px;
}

.company-info-item {
    display: flex;
    align-items: center; /* 横1行で中央揃え */
    gap: 0; /* ギャップなし */
    width: 100%;
    padding: 12px 0; /* パディングを狭く */
    border-bottom: 1px solid #333; /* 細い線に変更 */
    position: relative;
}

.company-info-item:last-child {
    border-bottom: none; /* FAXの下の線を削除 */
}

/* アイコンとラベルを横並びにするヘッダー */
.info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px; /* 固定幅でラベル部分を揃える */
    margin-right: 15px; /* 値との間隔 */
}

.info-icon {
    width: 10px;
    height: 20px;
}

.info-label {
    font-family: 'Golos Text', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-align: left;
}

.info-value {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 700; /* Bold */
    color: #333;
    line-height: 1.4;
    text-align: left; /* 左寄せ */
    flex: 1; /* 残りの幅を使用 */
}

/* ===== FOOTER SECTION ===== */
.footer {
    background-color: #E9D269; /* 黄色背景に戻す */
    padding: 40px 20px 80px 20px; /* 下部パディングを増やしてボタンの分のスペースを確保 */
    text-align: center;
}

.footer-content {
    max-width: 400px;
    margin: 0 auto;
}

/* Footer Logo */
.footer-logo-section {
    margin-bottom: 30px;
}

.footer-logo-image {
    max-width: 170px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Footer Navigation */
.footer-nav-section {
    margin-bottom: 30px;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    gap: 20px;
}

.nav-link {
    font-family: 'Golos Text', sans-serif;
    font-size: 27px; /* 文字を全体的に大きく */
    font-weight: 900; /* Black */
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #666;
}

.nav-separator {
    font-family: 'Golos Text', sans-serif;
    font-size: 35px; /* 棒線（|）を長く */
    font-weight: 700; /* 太さを1段階落とす（900→700） */
    color: #333;
}

.nav-line {
    width: 150%; /* 棒線を全体的に伸ばす */
    height: 2px;
    background-color: #333;
    margin: 0 -25%; /* 左右により大きくはみ出させる */
}

/* Footer Copyright */
.footer-copyright {
    margin-top: 10px;
}

.footer-copyright p {
    font-family: 'Golos Text', sans-serif;
    font-size: 12px;
    font-weight: 800; /* ExtraBold */
    color: #333; /* 黒いテキストで見えるように */
    color: #333; /* 黒文字 */
    margin: 0;
}

/* ===== FIXED CONTACT BUTTONS (SP版のみ) ===== */
@media screen and (max-width: 767px) {
    .fixed-contact-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        width: 100%;
        z-index: 1000;
        border-top: 3px solid #333; /* 上部に黒い線 */
    }
    
    /* SP版でPC版ディスクリプションを非表示、SP版を表示 */
    .services-description-pc {
        display: none !important;
    }
    
    .services-description-sp {
        display: block !important;
    }
    
    /* SP版でPC版COLOR CONTACT説明文を非表示 */
    .section-description-pc {
        display: none !important;
    }
    
    /* SP版でSP版COLOR CONTACT説明文を表示 */
    .colorcontact-description {
        display: block !important;
    }
}

/* 外側のセクション（背景色） */
.contact-section {
    flex: 1;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-section {
    background-color: #333; /* 黒背景（外側） */
}

.mail-section {
    background-color: #E9D269; /* 黄色背景（外側） */
}

/* 内側のボタン（白背景+黒文字） */
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px; /* 文字ギリギリのサイズ */
    background-color: white; /* 内側は白背景 */
    color: #333; /* 黒文字 */
    border: 2px solid #333; /* 黒い囲い */
    border-radius: 20px; /* コンパクトな角丸 */
    cursor: pointer;
    transition: all 0.3s ease; /* 詳細はこちらと同じトランジション */
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700; /* Bold */
    font-size: 16px; /* 文字サイズを大きく */
    width: auto; /* 内容に合わせた幅 */
    max-width: none; /* 最大幅制限を解除 */
}

.phone-btn {
    background-color: white;
    color: #333;
}

.mail-btn {
    background-color: white;
    color: #333;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease; /* アイコンのアニメーション */
}

.btn-text {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700; /* Bold */
    font-size: 14px; /* 文字サイズを大きく */
    transition: color 0.3s ease; /* 文字色のアニメーション */
}

.contact-btn:hover {
    background: #faf9f6; /* 詳細はこちらと同じホバー背景 */
    color: #333;
    border-color: #333;
    transform: translateX(3px); /* 詳細はこちらと同じ横移動 */
}

.contact-btn:hover .btn-icon {
    transform: translateX(2px); /* アイコンも一緒に移動 */
}

/* ===== MENU OVERLAY ===== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(233, 210, 105, 0.8); /* #e9d269 with 80% opacity */
    z-index: 15000; /* ヘッダーより確実に上に表示 */
    opacity: 0; /* 初期状態では透明 */
    visibility: hidden; /* 初期状態では非表示 */
    transform: scale(0.95); /* 初期状態では少し小さく */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* イージング */
    overflow: hidden;
}

.menu-overlay.active {
    opacity: 1; /* 完全に表示 */
    visibility: visible; /* 表示 */
    transform: scale(1); /* 通常サイズ */
}

.menu-overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 60px 20px 20px 20px; /* 上のパディングを大きくして全体を下にずらす */
    box-sizing: border-box;
}

/* Close Button */
.menu-close-button {
    position: absolute;
    top: 30px; /* 上から60pxの位置に移動 */
    right: 20px;
    cursor: pointer;
    opacity: 0; /* 初期状態では透明 */
    transform: translateX(20px); /* 初期状態では右にずらす */
    transition: all 0.3s ease;
    transition-delay: 0.6s; /* 最後に表示 */
    z-index: 15100; /* メニューオーバーレイより上に表示 */
}

.menu-overlay.active .menu-close-button {
    opacity: 1; /* 表示 */
    transform: translateX(0); /* 元の位置に */
}

.menu-close-button:hover {
    transform: scale(1.1);
}

.menu-close-image {
    width: 100px;
    height: auto;
}

/* New Menu Units Container */
.menu-units-container {
    position: relative;
    width: 100%;
    height: calc(100% - 160px); /* Close button and copyright space */
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Menu Background Gear - 位置とサイズを調整可能に */
.menu-background-gear {
    position: absolute;
    top: 85%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 15%;
    max-width: 80px;
    height: auto;
    display: block;
    object-fit: contain;
    opacity: 0;
    transition: all 0.3s ease;
    transition-delay: 0s;
}

.menu-overlay.active .menu-background-gear {
    opacity: 1; /* 表示 */
}

/* Menu Unit Items */
.menu-unit-item {
    position: absolute;
    cursor: pointer;
    opacity: 0; /* 初期状態では透明 */
    transform: translateY(20px); /* 初期状態では下にずらす */
    transition: all 0.3s ease;
}

.menu-overlay.active .menu-unit-item {
    opacity: 1; /* 表示 */
    transform: translateY(0); /* 元の位置に */
}

.menu-unit-item:hover {
    transform: translateY(0) scale(1.05); /* ホバー時はスケールアップ */
}

.menu-unit-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Individual Menu Unit Positioning */
.menu-unit-home {
    top: 5%;
    right: 10%;
    width: 25%;
    transition-delay: 0.1s;
}

.menu-unit-colorcontact {
    top: 10%;
    left: 3%;
    width: 55%;
    transition-delay: 0.2s;
}

.menu-unit-shopproduce {
    top: 28%;
    right: 9%;
    width: 55%;
    transition-delay: 0.3s;
}

.menu-unit-aboutus {
    bottom: 25%;
    left: 5%;
    width: 33%;
    transition-delay: 0.4s;
}

.menu-unit-contact {
    bottom: 15%;
    right: 15%;
    width: 40%;
    transition-delay: 0.5s;
}



/* Copyright */
.menu-copyright {
    position: absolute;
    bottom: 20px;
    left: 50%;
    opacity: 0; /* 初期状態では透明 */
    transform: translateX(-50%) translateY(20px); /* 初期状態では下にずらす */
    transition: all 0.3s ease;
    transition-delay: 0.7s; /* 最後に表示 */
    text-align: center;
}

.menu-overlay.active .menu-copyright {
    opacity: 1; /* 表示 */
    transform: translateX(-50%) translateY(0); /* 元の位置に */
}

.menu-copyright p {
    font-family: 'Golos Text', sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 12px;
    color: #333;
    margin: 0;
}


/* ===== ABOUT ENGINE PAGE STYLES ===== */
/* About Engine専用のスタイル - 基本は shop-produce と同じだが、一部調整 */

/* About Engine Description Main Text - フォントサイズを小さく調整 */
.about-engine-description-main {
    font-size: 17px !important; /* フォントサイズをさらに小さく */
    line-height: 1.6 !important; /* 行間をさらに短く */
    margin-bottom: 15px !important;
    letter-spacing: -0.5px !important; /* 文字間隔を詰める */
}

/* About Engine Logo Section */
.about-engine-logo-section {
    text-align: center;
    margin: 15px 0 10px 0; /* 上下のマージンを短く、ロゴを棒に近づける */
    padding: 10px 0; /* パディングも短く */
}

.about-engine-logo {
    max-width: 210px; /* ロゴサイズを大きく */
    height: auto;
    object-fit: contain;
}

/* About Engine Description Detail */
.about-engine-description-detail {
    margin-top: 15px !important; /* ロゴに近づける */
    line-height: 1.8 !important; /* 行間を広く */
    letter-spacing: 0.3px !important; /* 文字間隔を少し広く */
    font-size: 14px !important; /* フォントサイズを調整 */
}

/* Engine Info Section */
.engine-info-section {
    background-image: url('../img/aboutengine/aboutengine_background.png');
    background-repeat: no-repeat;
    background-size: contain; /* coverからcontainに変更して全体を表示 */
    background-position: center;
    padding: 60px 20px; /* パディングを増やして上下の余白を確保 */
    margin-top: -20px;
    text-align: center;
    min-height: 600px; /* 最小高さを設定して背景画像が切れないように */
}

/* Engine Info Title */
.engine-info-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3px; /* ENGINE INFOと企業情報を近づける */
}

.engine-info-gear-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.engine-info-main-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 32px; /* フォントサイズを大きく */
    font-weight: 900; /* Black = 900 */
    color: #333;
    margin: 0;
}

.engine-info-subtitle-button {
    background-color: #fff;
    color: #333;
    padding: 2px 40px;
    border-radius: 20px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 40px; /* 企業情報ボタンとCEOセクションの距離を調整 */
    border: 2px solid #333;
}

/* CEO Section - スマートフォン向け横並び */
.ceo-section {
    display: flex !important;
    flex-direction: row !important; /* 横並び */
    align-items: flex-start !important; /* 上寄せに変更 */
    justify-content: flex-start !important; /* 左寄せ */
    gap: 20px !important;
    margin-bottom: 40px !important;
    max-width: 350px !important; /* スマホ向けの幅 */
    margin-left: auto !important;
    margin-right: auto !important;
}

.ceo-image-container {
    flex-shrink: 0 !important;
    order: 1 !important; /* 画像を左に */
}

.ceo-image {
    width: 200px; /* 画像を大きく */
    height: 200px; /* 画像を大きく */
    object-fit: cover;
}

.ceo-info {
    text-align: left !important; /* 左寄せ */
    flex: 1 !important; /* 残りスペースを使用 */
    order: 2 !important; /* テキストを右に */
}

.ceo-title-button {
    background-color: #fff;
    color: #333;
    padding: 2px 16px;
    border-radius: 15px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
    border: 1px solid #333;
}

.ceo-name {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.ceo-reading {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Company Info Section */
.company-info-section {
    max-width: 400px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px; /* アイコンとテキストの間隔を狭く */
    padding: 15px 0;
    text-align: left;
}

.info-icon-image {
    width: 8px; /* 細長くするため幅を狭く */
    height: 20px; /* 高さは維持 */
    object-fit: contain;
    margin-top: 2px;
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: row; /* 横並びに変更 */
    justify-content: space-between; /* 左右に分散配置 */
    align-items: flex-start;
    gap: 20px; /* ラベルと値の間隔 */
}

.info-label {
    font-family: 'Golos Text', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    flex-shrink: 0; /* ラベルのサイズを固定 */
    min-width: 100px; /* 最小幅を設定 */
}

.info-value {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    flex: 1; /* 残りスペースを使用 */
    text-align: left; /* 左寄せに変更 */
}

.info-divider {
    height: 2px; /* 太い線に変更 */
    background-color: #333;
    margin: 0; /* マージンを削除して全幅に */
    border: none; /* ボーダーを削除 */
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .ceo-section {
        flex-direction: column;
        text-align: center;
        align-items: center; /* モバイルでは中央寄せ */
    }
    
    .ceo-info {
        text-align: center;
    }
}

/* ===== SHOP PRODUCE PAGE STYLES ===== */
/* Shop Produce Title Section */
.shop-produce-title-section {
    padding: 180px 20px 60px 20px; /* ヘッダー分のマージンを追加 */
    background-color: #faf9f6;
    text-align: center;
}

.shop-produce-title-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せに変更 */
    gap: 15px;
    margin-bottom: 40px;
}

.shop-produce-icon {
    display: flex;
    align-items: center;
    margin-left: 17px;
}

.shopproduce-icon-image {
    height: 120px; /* タイトルの縦幅に合わせて調整 */
    width: auto;
    object-fit: contain;
}

.shop-produce-title-text {
    text-align: left;
}

.shop-produce-main-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 45px;
    font-weight: 900;
    color: #333;
    margin: 0 0 8px 0;
    letter-spacing: 2px;
    line-height: 1.0;
}

.shop-produce-subtitle-button {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    background-color: #E9D269; /* 黄色い背景 */
    border: 2px solid #333;
    border-radius: 15px;
    padding: 2px 24px;
    display: inline-block;
    letter-spacing: 8px;
}

.shop-produce-description {
    max-width: 400px;
    margin: 0; /* 左寄せに変更 */
    padding: 0 20px;
}

.description-main {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 20px; /* フォントサイズを少し小さく調整 */
    font-weight: 700; /* Bold */
    color: #333;
    line-height: 1.5; /* 行間を少し詰める */
    text-align: left;
    margin: 0 0 10px 0; /* 下マージンを小さく */
    letter-spacing: 3px;
}

.description-line {
    width: 100%;
    height: 2px;
    background-color: #333;
    margin: 10px 0 10px 0; /* 下のマージンを小さくして近づける */
}

.description-detail {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 13.5px; /* 小さめの文字サイズ */
    font-weight: 700; /* Bold */
    color: #333;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* この汎用スタイルは削除または無効化 */
/* .shop-produce-description p {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.8;
    text-align: left;
} */

/* Yellow Background Section */
.yellow-background-section {
    background-image: url('../img/shopproduce/background.png');
    background-repeat: repeat;
    background-size: cover;
    background-position: center center; /* 中央基準に変更して切れを防ぐ */
    padding: 60px 20px 20px; /* 下部パディングを小さくして上に詰める */
    text-align: center;
    transform: translateY(0px); /* 上への移動を削除してスペースを作る */
    width: 100vw; /* ビューポート幅いっぱいに */
    margin-left: calc(-50vw + 50%); /* 中央配置のまま幅を広げる */
    margin-top: -10px; /* 上のテキストとの間にスペースを追加 */
}

.gallery-title-container {
    display: flex;
    align-items: center;
    justify-content: center; /* 中央配置に変更 */
    gap: 25px; /* ギアとタイトルの間隔を狭める */
    margin-bottom: 8px;
    padding: 0; /* パディングを削除 */
}

.gallery-gear-icon {
    display: flex;
    align-items: center;
}

.gallery-gear-image {
    width: 35px;
    height: 45px;
    object-fit: contain;
    transform: translateY(-10px);
}

.gallery-main-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 25px;
    font-weight: 900;
    color: #333;
    margin: 0;
    letter-spacing: 1.5px;
    line-height: 1.1;
    margin-left: -25px; /* タイトル自体を左に移動 */
    transform: translateY(-10px); /* テキストのみ上に移動 */
}

.gallery-subtitle-button {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333; /* 黒いテキスト */
    margin: 0 auto 50px auto;
    letter-spacing: 1.5px;
    background-color: white; /* 白い背景 */
    border: 2px solid #333; /* 黒い枠線 */
    border-radius: 20px; /* 角丸を大きく */
    padding: 1px 14px; /* パディングを大きく */
    display: block;
    width: fit-content;
    text-align: center;
}

/* Shop Sections */
.shop-sections {
    display: flex;
    flex-direction: column;
    gap: 0; /* セクション間の余白を削除 */
    margin-bottom: 60px;
}

/* 1番目のセクション（MeMePalette）のz-index */
.memepalette-section {
    z-index: 1;
}

/* 2番目のセクション（EYESCREAM）を少し上に重ねる */
.eyescream-section {
    transform: translateY(-25px);
    z-index: 2; /* MeMePaletteより前面に */
}

/* 3番目のセクション（EYESCREAM2）をさらに上に重ねる */
.eyescream2-section {
    transform: translateY(-50px);
    z-index: 3; /* 最前面に */
}

.shop-section {
    position: relative;
    width: 100%;
    margin-bottom: 0; /* セクション間の余白を削除 */
    border-radius: 0; /* 角丸を削除 */
    overflow: hidden;
    padding: 0; /* パディングを削除 */
    box-shadow: none; /* 影を削除 */
}

.shop-background {
    position: relative; /* absoluteから変更 */
    width: 100%;
    z-index: 1;
}

.shop-background-image {
    width: 100%;
    height: auto; /* 高さを自動調整 */
    object-fit: contain; /* 画像全体を表示 */
    display: block;
    opacity: 1; /* 完全に表示 */
}

.shop-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    text-align: left; /* 左寄せに変更 */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 下寄せに変更 */
    align-items: flex-start; /* 左寄せに変更 */
    padding: 20px 20px 60px 20px; /* 下部にボタン分の余白を確保 */
    min-height: 400px; /* 最小高さを設定してコンテンツの高さを安定化 */
}

.shop-header {
    display: flex;
    align-items: flex-start; /* 上寄せに変更 */
    justify-content: flex-start; /* 左寄せに変更 */
    gap: 15px;
    margin-top: 0; /* マージンをリセット */
    transform: translateY(-0px); /* さらに下に移動 */
}

.shop-title-section {
    display: flex;
    flex-direction: row; /* 横並び */
    align-items: baseline; /* ベースライン揃え */
    gap: 8px; /* 間隔を調整 */
}

.shop-icon {
    display: flex;
    align-items: center;
}

.shop-icon-image {
    width: 30px;
    height: 60px; /* 縦長に調整 */
    object-fit: contain;
    transform: translateY(10px); /* アイコンの位置を調整 */
}

.shop-title-section {
    text-align: left;
    display: flex;
    flex-direction: column; /* 縦並びに変更 */
    align-items: flex-start; /* 左寄せ */
    gap: 2px; /* 間隔を調整 */
}

.shop-name-row {
    display: flex;
    flex-direction: row; /* 横並び */
    align-items: baseline; /* ベースライン揃え */
    gap: 8px; /* 間隔を調整 */
}

.shop-name {
    font-family: 'Golos Text', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
    letter-spacing: 0.5px;
}

.shop-subtitle {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin: 0; /* マージンをリセット */
}

.shop-location {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 12px;
    color: #333;
    font-weight: 700;
    margin: 3px 0 0 0; /* 上のマージンを小さく */
    border: 2px solid #333;
    border-radius: 15px;
    padding: 4px 12px;
    display: inline-block;
    background-color: white;
    align-self: flex-start; /* 左寄せ */
    margin-left: 0; /* 左マージンを削除して店舗名と同じ位置に */
    transform: translateY(-5px); /* 位置を調整 */
}

.shop-divider {
    width: 100%;
    height: 2px;
    background-color: #333;
    margin: 20px 0;
    transform: translateY(-20px); /* 棒線をさらに上に移動 */
}

.shop-comment-section {
    text-align: center; /* 中央寄せに変更 */
    margin-bottom: 30px;
    transform: translateY(-30px); /* COMMENTセクションを上に移動 */
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央寄せ */
}

.shop-hp-button-container {
    position: absolute;
    bottom: 20px; /* 下から20pxの位置に固定 */
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center; /* 確実に中央寄せ */
}

.comment-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
    align-self: flex-start; /* タイトルは左寄せ */
}

.comment-text {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 15px; /* 文字を大きく */
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    margin: 0 0 15px 0;
    text-align: left; /* テキストは左寄せ */
    align-self: flex-start; /* テキストは左寄せ */
}

/* 古いボタンスタイルは削除 */

.shop-hp-button {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    background-color: white;
    border: 2px solid #333;
    border-radius: 25px;
    padding: 8px 25px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.shop-hp-button:hover {
    background-color: #f0f0f0;
    transform: translateX(3px);
}

/* ===== SP版でPC版専用要素を非表示 ===== */
@media screen and (max-width: 767px) {
    .color-contact-header-pc {
        display: none !important;
    }
    
    .brand-logos-pc-image {
        display: none !important;
    }
}

/* ===== PC COLOR CONTACT SECTION ===== */
@media screen and (min-width: 768px) {
    /* PC版でのスクロール動作を確保 */
    html, body {
        scroll-behavior: smooth;
        overflow-x: hidden;
        overflow-y: auto;
    }

    /* PC版カラーコンタクトセクション */
    .color-contact-section {
        background-image: url('../img/top_pc_back2.png?v=3') !important;
        background-size: auto !important; /* SP版のbackground-size: 100% autoを上書き */
        background-position: 0px 380px !important;
        background-repeat: repeat-x !important;
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-bottom: 6px solid #333 !important; /* PC版：セクション終わりにボーダー線を追加 */
    }

    /* SP版要素を非表示 */
    .color-contact-section .color-contact-sp {
        display: none !important;
    }

    /* PC版カラーコンタクトコンテナ - SERVICEと同じ構造 */
    .color-contact-section .services-container {
        width: 800px; /* 固定幅に変更 */
        margin: 0 auto;
        padding: 0 60px;
        position: relative;
        z-index: 20;
        box-sizing: border-box; /* パディングを含めた幅計算 */
    }
    
    /* PC版専用ヘッダー - SERVICEと同じ構造 */
    .color-contact-header-pc {
        display: grid !important;
        grid-template-columns: 200px 1fr;
        grid-template-rows: auto auto;
        gap: 10px 150px; /* SERVICEセクションと同じ間隔に調整 */
        margin-bottom: 20px; /* 下の空間を減らす */
        align-items: flex-start;
        padding: 0px 0px 0 0px;
        transform: translateY(0px);
        margin-left: -60px;
        width: 800px;
        max-width: 800px;
    }

    .color-contact-left {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .color-contact-title-container {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        margin-bottom: 15px;
        flex-direction: row;
    }

    .color-contact-section .services-title-image {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
        display: block;
    }

    .color-contact-section .service-icon-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .color-contact-title {
        font-family: 'Golos Text', sans-serif;
        font-size: 28px;
        font-weight: 900;
        color: #333;
        margin: 0;
        line-height: 1;
        white-space: nowrap;
    }

    .color-contact-subtitle {
        font-family: 'Zen Maru Gothic', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #333;
        margin: 0; /* gridのgapを使うためmarginをリセット */
        margin-top: -10px; /* タイトルに近づける */
        text-align: left;
        margin-left: 75px; /* アイコン幅 + ギャップ分のオフセット */
        white-space: nowrap;
    }

    .color-contact-right {
        flex: 1;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 5px; /* タイトルと高さを合わせる微調整 */
    }

    .color-contact-description-pc {
        font-family: 'Zen Maru Gothic', sans-serif;
        font-size: 13px; /* SERVICEセクションと同じサイズに調整 */
        font-weight: 700;
        line-height: 1.6;
        color: #333;
        margin: 0;
        text-align: left;
        max-width: 700px;
    }

    /* PC版ブランドロゴ - 画面全幅無限スクロール */
    .color-contact-section .brand-logos-slider {
        width: 100vw; /* ビューポート全幅 */
        margin-left: calc(50% - 50vw); /* 親コンテナの制限を突破して画面全幅に */
        margin-top: -25px; /* 位置を上に移動 */
        overflow: visible; /* 端から端まで表示 */
        padding: 0;
        background: transparent; /* 背景を透明に */
        position: relative;
        margin-right: calc(50% - 50vw); /* 右側も確実に画面端まで */
        z-index: 10; /* 確実に前面に表示 */
    }

    .color-contact-section .brand-logos-track-pc {
        display: flex;
        width: calc(100vw * 3); /* 画面幅の3倍で端から端まで */
        animation: scroll-brands-optimized 40s linear infinite; /* 速度を遅くして軽量化 */
        min-width: calc(100vw * 3); /* 最小幅も統一 */
        will-change: transform; /* GPUアクセラレーションを有効化 */
        backface-visibility: hidden; /* 裏面描画を無効化 */
        transform: translateZ(0); /* ハードウェアアクセラレーション強制 */
    }

    .color-contact-section .brand-logos-pc-image {
        width: 1600px; /* 固定サイズでロゴサイズを維持 */
        height: auto;
        flex-shrink: 0;
        display: block;
        object-fit: contain; /* 比率を保持してはみ出しを防ぐ */
        object-position: center; /* 中央から表示 */
        will-change: auto; /* 不要なGPU使用を避ける */
        backface-visibility: hidden; /* 描画最適化 */
    }

    /* 最適化された無限スクロールアニメーション - 完全に端から端まで */
    @keyframes scroll-brands-optimized {
        0% {
            transform: translate3d(100vw, 0, 0); /* 画面右端外から開始 */
        }
        100% {
            transform: translate3d(-200vw, 0, 0); /* 画面左端外まで移動 */
        }
    }

    /* SP版ブランドロゴスライダーをPC版で非表示 */
    .color-contact-section .brand-logos-track {
        display: none !important;
    }

    /* Color Contact Finish セクション - パララックス背景固定 */
    .color-contact-finish-section {
        position: relative;
        width: 100%;
        height: 100vh; /* 画面高さ分の高さを確保 */
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .color-contact-finish-image {
        position: fixed; /* 背景を固定 */
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        object-fit: cover; /* 画面全体をカバー */
        object-position: center;
        z-index: -1; /* 背景レイヤー */
        opacity: 0; /* 初期状態では非表示 */
        transition: opacity 0.3s ease; /* 滑らかな表示切り替え */
    }

    /* パララックス背景が表示される状態 */
    .color-contact-finish-image.visible {
        opacity: 1;
    }

    /* SP用Hero2 BakugaiセクションをPC版で非表示 */
    .hero2-bakugai-section {
        display: none !important;
    }

    /* SHOP PRODUCEセクション以降 - パララックス効果で上に上がってくる */
    .shop-produce-section {
        position: relative;
        border-radius: 0; /* 角丸を削除して角張った状態に */
        z-index: 10; /* 背景画像より前面に */
        margin-top: -30px; /* 少し重ねて自然な効果 */
        padding: 80px 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100vw !important; /* 画面全幅に拡張 */
        margin-left: calc(50% - 50vw) !important; /* 画面全幅表示 */
        margin-right: calc(50% - 50vw) !important; /* 画面全幅表示 */
    }

    /* SHOP PRODUCEセクションのコンテナ - 他セクションと同じ構造 */
    .shop-produce-section .services-container {
        width: 1200px !important; /* 1200px幅に拡張 */
        margin: 0 auto !important;
        padding: 0 60px !important;
        position: relative;
        z-index: 20;
        box-sizing: border-box !important; /* パディングを含めた幅計算 */
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* SHOP PRODUCEセクションのタイトルコンテナ */
    .shop-produce-section .section-title-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 20px !important;
        gap: 20px !important;
        text-align: center !important;
        width: 100% !important;
        transform: translateX(-20px) !important; /* 全体を左に20px移動 */
    }

    /* SHOP PRODUCEセクションのアイコン */
    .shop-produce-section .section-icon-image {
        width: 60px !important;
        height: 60px !important;
        object-fit: contain !important;
        margin: 0 !important;
        display: block !important;
        flex-shrink: 0 !important;
    }

    /* SHOP PRODUCEセクションのタイトル */
    .shop-produce-section .section-title {
        font-family: 'Golos Text', sans-serif !important;
        font-size: 36px !important;
        font-weight: 900 !important;
        color: #333 !important;
        margin: 0 !important;
        line-height: 0.9 !important; /* 縦の幅を狭める */
        text-align: center !important;
        flex-shrink: 0 !important;
    }

    /* SHOP PRODUCEセクションのサブタイトル */
    .shop-produce-section .section-subtitle {
        font-family: 'Zen Maru Gothic', sans-serif !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #333 !important;
        margin: -10px auto 40px auto !important; /* 上の余白を20pxに変更して空間を作る */
        text-align: center !important;
        width: 100% !important;
        transform: translateX(18px) !important; /* 全体左移動を考慮して調整 */
        letter-spacing: 0.5em !important; /* 文字間隔を開ける */
    }

    /* PC版専用ギャラリー */
    .pc-gallery-section {
        width: 100%;
        max-width: 1200px; /* 1200px幅に拡張 */
        margin: 0 auto;
        padding: 0 60px;
    }

    /* PC版ギャラリーグリッド */
    .pc-gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, auto); /* 真ん中にぎゅっと集める */
        gap: 10px; /* 間隔を調整 */
        margin-bottom: 100px; /* 下部に余裕を持たせる */
        justify-content: center; /* 中央寄せ */
        justify-items: center; /* アイテムも中央寄せ */
    }

    /* PC版ギャラリーアイテム */
    .pc-gallery-item {
        text-align: center;
    }

    /* PC版ギャラリー画像コンテナ */
    .pc-gallery-image-container {
        width: 250px; /* 200px → 250px に拡大 */
        height: 250px; /* 200px → 250px に拡大 */
        border-radius: 50%;
        overflow: hidden;
        margin: 0 auto 20px auto;
        border: 3px solid #333;
    }

    /* PC版ギャラリー画像 */
    .pc-gallery-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* PC版店舗名 */
    .pc-shop-name {
        font-family: 'Golos Text', sans-serif;
        font-size: 18px;
        font-weight: 700;
        color: #333;
        margin: 0 0 5px 0;
        text-align: center;
    }

    /* PC版店舗地名 */
    .pc-shop-location {
        font-family: 'Zen Maru Gothic', sans-serif;
        font-size: 14px;
        font-weight: 500;
        color: #666;
        margin: 0;
        text-align: center;
    }

    /* PC版ギャラリー説明テキスト */
    .pc-gallery-description {
        font-family: 'Zen Maru Gothic', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #333;
        line-height: 1.8;
        text-align: center;
        margin: 0 0 40px 0;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* PC版ギャラリーボタンコンテナ */
    .pc-gallery-button {
        text-align: center;
        margin-bottom: 60px;
    }

    /* PC版ギャラリーボタン - COLOR CONTACTと同じスタイル */
    .pc-gallery-btn {
        background-color: white;
        color: #333;
        border: 3px solid #333;
        border-radius: 30px;
        padding: 18px 45px;
        font-family: 'Zen Maru Gothic', sans-serif;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 12px;
    }

    .pc-gallery-btn:hover {
        background-color: #f0f0f0;
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

    /* PC版でSP用ギャラリーを非表示 */
    .gallery-slider {
        display: none !important;
    }

    .shop-info-slider {
        display: none !important;
    }

    /* PC版でSP用のその他の要素も非表示 */
    .shop-produce-section .gallery-container,
    .shop-produce-section .gallery-track,
    .shop-produce-section .gallery-item:not(.pc-gallery-item),
    .shop-produce-section .gallery-nav-btn,
    .shop-produce-section .shop-info-container,
    .shop-produce-section .shop-info-track,
    .shop-produce-section .shop-info-item,
    .shop-produce-section .shop-nav,
    .shop-produce-section .shop-name,
    .shop-produce-section .shop-location,
    .shop-produce-section .shop-description,
    .shop-produce-section .shop-button,
    .shop-produce-section .shop-btn,
    .shop-produce-section .description-slider,
    .shop-produce-section .description-container,
    .shop-produce-section .description-track,
    .shop-produce-section .description-item,
    .shop-produce-section .produce-button,
    .shop-produce-section .produce-btn {
        display: none !important;
    }

    /* SHOP PRODUCEセクション以降のすべてのセクション */
    .shop-produce-section ~ section {
        position: relative;
        background-color: transparent; /* 背景色を削除 */
        z-index: 10;
        margin-top: -30px; /* セクション間を詰める */
    }

    /* scrolling-text-sectionの特別な調整 */
    .scrolling-text-section {
        background-color: transparent !important;
        margin-top: -20px !important; /* さらに上に上げる（-80px → -120px） */
        width: 100vw !important; /* 画面全幅に拡張 */
        margin-left: calc(50% - 50vw) !important; /* 画面全幅表示 */
        margin-right: calc(50% - 50vw) !important; /* 画面全幅表示 */
        border-bottom: 6px solid #333 !important; /* ボーダー線を端から端まで */
    }
    
    /* PC版専用：scrolling-text-trackを端から端まで */
    .scrolling-text-track {
        width: calc(100vw * 3) !important; /* 画面幅の3倍 */
        animation: scroll-text-optimized 40s linear infinite !important; /* ブランドロゴと同じアニメーション */
    }
    
    /* PC版専用：端から端までのテキストアニメーション */
    @keyframes scroll-text-optimized {
        0% {
            transform: translate3d(100vw, 0, 0); /* 画面右端外から開始 */
        }
        100% {
            transform: translate3d(-200vw, 0, 0); /* 画面左端外まで移動 */
        }
    }

    /* PC版ABOUT ENGINEセクション - 左右分割レイアウト */
    .about-engine-section {
        background-color: #E9D269 !important; /* 黄色背景 */
        padding: 150px 0 !important; /* 80px → 120px に拡大して上部空間を増やす */
        margin-top: 0px !important; /* セクション上部にマージンを追加 */
        position: relative !important; /* ギア配置のため */
        width: 100vw !important; /* ビューポート全幅に拡張 */
        margin-left: calc(50% - 50vw) !important; /* 中央配置のまま画面全幅に */
        margin-right: calc(50% - 50vw) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }

    /* 中央寄せされたコンテンツコンテナ */
    .about-engine-section-content {
        display: flex !important;
        max-width: 900px !important; /* 1200px → 900px に狭める */
        gap: 40px !important; /* 60px → 40px に狭める */
        align-items: flex-start !important;
        justify-content: center !important; /* 中央寄せを強化 */
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        padding: 0 40px !important; /* 60px → 40px に狭める */
        box-sizing: border-box !important;
    }

    /* PC版タイトル部分を表示 */
    .about-engine-section .about-engine-header {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        position: absolute !important;
        top: -50px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
    }
    
    .about-engine-section .about-engine-icon {
        width: 30px !important;
        height: 40px !important;
    }
    
    .about-engine-section .about-engine-title {
        font-family: 'Golos Text', sans-serif !important;
        font-size: 32px !important;
        font-weight: 700 !important;
        color: #333 !important;
        margin: 0 !important;
        letter-spacing: 0em !important;
    }
    
    .about-engine-section .about-engine-subtitle {
        display: block !important;
        text-align: center !important;
        position: absolute !important;
        top: -10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        font-size: 17px !important;
        color: #333 !important;
        margin: 0 !important;
    }

    /* 左側 - 会社情報カード */
    .about-engine-section .about-engine-bubble-container {
        flex: 1 !important;
        position: relative !important;
        max-width: 420px !important; /* 500px → 420px に縮小 */
        margin: 100px auto 0 auto !important; /* 上部マージンを100px追加して下にずらす */
    }

    /* PC版のみ吹き出し背景画像を表示 */
    .about-engine-section .bubble-background.pc-only {
        display: block !important;
    }
    
    .about-engine-section .bubble-background.sp-only {
        display: none !important;
    }
    
    /* PC版専用：bubble-content関連のスタイル */
    .bubble-content {
        position: absolute !important;
        top: 52% !important; /* 中央よりやや下 */
        left: 48% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important; /* 幅を広げて左右の空間を削減 */
        text-align: center !important;
    }
    
    .bubble-intro {
        font-family: 'Zen Maru Gothic', sans-serif !important;
        font-size: 17px !important; /* PC版サイズ */
        font-weight: 600 !important;
        color: #333 !important;
        margin: 60px 0 0px 0 !important; /* SP版と同様に上部マージンを追加 */
        text-align: center !important;
    }
    
    .engine-logo-container {
        display: flex !important;
        justify-content: center !important;
        margin: -30px 0 5px 0 !important; /* ロゴを上にずらす（-10px → -30px） */
        position: relative !important;
        transform: none !important; /* transformを削除 */
    }
    
    .engine-logo-image {
        max-width: 160px !important; /* ロゴを小さく（200px → 160px） */
        height: auto !important;
        display: block !important;
    }
    
    .bubble-description {
        font-family: 'Zen Maru Gothic', sans-serif !important;
        font-size: 13px !important; /* PC版サイズ */
        line-height: 2.0 !important; /* SP版と同様に行間調整 */
        color: #333 !important;
        margin: 20px 0 0 0 !important; /* テキストを上にずらす（40px → 10px） */
        padding: 0 0 !important; /* 左右にパディング追加 */
        text-align: left !important; /* 左寄せに変更 */
    }

    /* 右側 - 連絡先情報（PC版調整） */
    .about-engine-section .company-info-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important; /* ギャップをなくす */
        align-items: stretch !important; /* 幅を揃える */
        max-width: 400px !important;
        margin: 100px 0 0 0 !important; /* 左寄せ + 上部マージンを60px → 100px に拡大 */
        padding: 110px 40px 0 0 !important; /* 左パディングを削除して左に寄せる */
        flex: 1 !important;
        background: none !important; /* 背景削除 */
        border: none !important; /* 枠削除 */
        box-shadow: none !important; /* 影削除 */
        border-radius: 0 !important; /* 角丸削除 */
    }

    /* 連絡先アイテムのスタイル調整（PC版調整） */
    .about-engine-section .company-info-item {
        display: flex !important;
        align-items: center !important; /* 横1行で中央揃え */
        gap: 0 !important; /* ギャップなし */
        width: 100% !important;
        padding: 18px 0 !important; /* パディングを広げる（12px → 18px） */
        border-bottom: 1px solid #333 !important; /* 細い線に変更 */
        position: relative !important;
        margin-bottom: 0 !important;
        background: none !important; /* 背景削除 */
        border-radius: 0 !important; /* 角丸削除 */
        box-shadow: none !important; /* 影削除 */
        border-left: none !important; /* 左枠削除 */
        border-right: none !important; /* 右枠削除 */
        border-top: none !important; /* 上枠削除 */
    }

    .about-engine-section .company-info-item:last-child {
        border-bottom: none !important; /* FAXの下の線を削除 */
    }

    /* アイコンとラベルを横並びにするヘッダー（SP版と同じ） */
    .about-engine-section .info-header {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 140px !important; /* 固定幅でラベル部分を揃える */
        margin-right: 15px !important; /* 値との間隔 */
    }

    .about-engine-section .info-icon {
        width: 10px !important; /* 20px → 24px に拡大 */
        height: 20px !important; /* 20px → 24px に拡大 */
        flex-shrink: 0 !important;
    }

    .about-engine-section .info-label {
        font-family: 'Golos Text', sans-serif !important;
        font-size: 14px !important; /* 14px → 18px に拡大 */
        font-weight: 700 !important;
        color: #333 !important;
        letter-spacing: 0.1em !important;
        white-space: nowrap !important;
    }

    .about-engine-section .info-value {
        font-family: 'Zen Maru Gothic', sans-serif !important;
        font-size: 14px !important; /* 14px → 16px に拡大 */
        font-weight: 500 !important;
        color: #333 !important;
        line-height: 1.4 !important;
        flex: 1 !important;
    }

    /* ギア装飾の調整 - 右上に配置 */
    .about-engine-section .pc-about-gears {
        position: absolute !important;
        top: 650px !important; /* 上から120px（連絡先より上に） */
        right: 20px !important; /* 右から20px */
        z-index: 1 !important; /* コンテンツより後ろ */
    }

    /* 個別ギアの位置調整（元の設定を維持） */
    .about-engine-section .pc-about-gear {
        position: absolute !important;
    }
}

/* SP版でPC版専用要素を非表示 */
@media screen and (max-width: 767px) {
    .color-contact-section .brand-logos-track-pc {
        display: none !important;
    }

    /* Color Contact Finish セクションをSP版で非表示 */
    .color-contact-finish-section {
        display: none !important;
    }

    /* SP用Hero2 BakugaiセクションをSP版で表示 */
    .hero2-bakugai-section {
        display: block !important;
        top: 0 !important; /* SP版では画面上端から */
        height: 100vh !important; /* SP版では画面全体の高さ */
        width: 100vw !important; /* 画面全幅 */
    }
    
    /* SP版専用：bakugai画像の隙間防止 */
    .hero2-bakugai-image {
        width: 100vw !important; /* 画面全幅 */
        height: 100vh !important; /* 画面全体の高さ */
        object-fit: cover !important; /* 隙間を埋める */
        object-position: center center !important;
        min-width: 100vw !important;
        min-height: 100vh !important;
    }

    /* PC版ギャラリーをSP版で非表示 */
    .pc-gallery-section {
        display: none !important;
    }
    
    /* SP版専用：MeMePaletteの画像変更 */
    .gallery-item:nth-child(2) .gallery-image {
        content: url('../img/S__173285786.jpg') !important;
    }
    
    /* SP版専用：MeMePaletteの店舗名を「プロデュース例」に変更 */
    .shop-info-item:nth-child(2) .shop-name {
        font-size: 0 !important; /* 元のテキストを非表示 */
    }
    
    .shop-info-item:nth-child(2) .shop-name::after {
        content: 'プロデュース例' !important;
        font-size: 18px !important;
        font-family: 'Zen Maru Gothic', sans-serif !important;
        font-weight: 700 !important;
    }
    
    /* SP版専用：天王台の表示を削除 */
    .shop-info-item:nth-child(2) .shop-location {
        display: none !important;
    }
    
    /* SP版専用：プロデュース例の矢印を削除 */
    .shop-info-item:nth-child(2) .shop-nav-arrow {
        display: none !important;
    }
    
    /* SP版専用：SHOP PRODUCE GALLERYセクション全体を左にずらす */
    .shop-produce-section .services-container {
        transform: translateX(-15px) !important; /* 全体を左に30pxずらす */
    }
    
    /* SP版専用：左右スクロール機能を削除 */
    .gallery-nav-btn {
        display: none !important; /* ナビゲーションボタンを非表示 */
    }
    
    .gallery-slider {
        pointer-events: none !important; /* スワイプ操作を無効化 */
    }
    
    .gallery-track {
        transform: translateX(-100%) !important; /* 2番目の画像（プロデュース例）を固定表示 */
    }
    
    .shop-info-track {
        transform: translateX(-100%) !important; /* 2番目の情報（プロデュース例）を固定表示 */
    }
    
    /* SP版専用：CONTACT BRANDセクションの修正 */
    .contact-brand-header {
        display: flex !important;
        flex-direction: row !important; /* 横並びに変更（ギアマークを左横に） */
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        text-align: center !important;
    }
    
    .contact-brand-title {
        white-space: nowrap !important; /* 改行なし */
        font-size: 24px !important;
        font-weight: 700 !important;
    }
    
    .contact-brand-subtitle {
        text-align: center !important;
        margin: 5px auto 0 auto !important;
        font-size: 16px !important;
    }
    
    /* SP版専用：About ENGINEセクションの修正 */
    .about-engine-bubble-container {
        margin-bottom: 80px !important; /* 下の余白を増やす（50px → 80px） */
    }
    
    /* SP版専用：CHECKバッジのサイズと位置調整 */
    .check-badge {
        top: -20px !important; /* 位置を少し下に */
        left: 10px !important; /* 左に余白を追加 */
    }
    
    .check-image {
        width: 70px !important; /* サイズを小さく（100px → 70px） */
        height: auto !important;
    }
    
    /* SP版専用：CHECKテキストのフォントサイズを小さく */
    .check-text {
        font-size: 12px !important; /* 17px → 12px に縮小 */
    }

    /* SP版では従来のスライダーを表示 */
    .gallery-slider {
        display: block !important;
    }

    .shop-info-slider {
        display: block !important;
    }

    /* PC版メインコンテンツレイアウト */
    .color-contact-section .bakugai-info-box,
    .color-contact-section .contact-brand-section,
    .color-contact-section .and-more,
    .color-contact-section .colorcontact-button {
        max-width: 1200px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 60px;
    }

    /* Bakugaiカードのスタイル調整 */
    .color-contact-section .bakugai-info-box {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 60px;
        margin-top: 10px; /* 上との余白を埋める */
    }

    .color-contact-section .bakugai-image {
        max-width: 800px !important; /* サイズを大きく */
        width: 100% !important;
        height: auto !important;
    }

    /* Contact Brandセクションのスタイル調整 */
    .color-contact-section .contact-brand-section {
        text-align: center;
        margin-bottom: 20px;
    }

    .color-contact-section .contact-brand-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px;
    }

    .color-contact-section .contactbrand-icon {
        width: 40px;
        height: 40px;
    }

    .color-contact-section .contact-brand-title {
        font-family: 'Golos Text', sans-serif;
        font-size: 28px;
        font-weight: 900;
        color: #333;
        margin: 0;
        line-height: 1;
    }

    .color-contact-section .contact-brand-subtitle {
        font-family: 'Zen Maru Gothic', sans-serif;
        font-size: 14px;
        font-weight: 500;
        color: #333;
        margin: 0;
    }


    /* And Moreセクションのスタイル調整 */
    .color-contact-section .and-more {
        text-align: center;
        margin-bottom: 60px;
    }

    .color-contact-section .and-more-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .color-contact-section .and-more-image {
        width: 150px;
        height: auto;
    }

    .color-contact-section .and-more-text {
        font-family: 'Golos Text', sans-serif;
        font-size: 28px;
        font-weight: 700;
        color: #333;
        margin: 0;
    }

    /* 詳細ボタンのスタイル調整 */
    .color-contact-section .colorcontact-button {
        text-align: center;
    }

    .color-contact-section .colorcontact-btn {
        background-color: white;
        color: #333;
        border: 3px solid #333;
        border-radius: 30px;
        padding: 18px 45px 18px 55px; /* テキストを少し右に */
        font-family: 'Zen Maru Gothic', sans-serif;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center; /* 中央揃え */
        gap: 12px;
    }

    .color-contact-section .colorcontact-btn:hover {
        background-color: #f0f0f0;
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

    .color-contact-section .arrow-image {
        width: 22px;
        height: 22px;
        /* PC版専用：画像を置き換え */
        content: url('../img/PC_contactbrand_yazi.png');
        flex-shrink: 0; /* 矢印のサイズを維持 */
    }
}

/* ===== SHOP PRODUCE PC VERSION ===== */
@media screen and (min-width: 768px) {
    /* PC版専用タイトルセクション */
    .pc-title-section {
        display: block !important;
        padding: 150px 0 60px 0 !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
    
    .pc-title-container {
        margin-left: 250px !important;
        max-width: 700px !important;
        position: relative !important;
    }
    
    /* タイトル部分のコンテナ */
    .pc-title-header {
        display: flex !important;
        align-items: flex-start !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }
    
    .pc-title-icon {
        flex-shrink: 0 !important;
    }
    
    .pc-title-icon img {
        width: 20px !important;
        height: 110px !important;
        object-fit: cover !important;
    }
    
    .pc-title-text-container {
        flex: 1 !important;
    }
    
    .pc-title-main {
        font-family: 'Golos Text', sans-serif !important;
        font-size: 38px !important;
        font-weight: 900 !important;
        color: #333 !important;
        margin: 0 0 8px 0 !important;
        line-height: 0.9 !important;
    }
    
    .pc-title-sub {
        font-family: 'Zen Maru Gothic', sans-serif !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #333 !important;
        background-color: #E9D269 !important; /* 黄色の背景 */
        padding: 1px 40px !important;
        border-radius: 20px !important;
        border: 4px solid #333 !important; /* 黒枠を追加 */
        display: inline-block !important;
        margin: 0 !important;
    }
    
    
    /* キャッチフレーズ */
    .pc-title-catchphrase {
        font-family: 'Zen Maru Gothic', sans-serif !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        color: #333 !important;
        margin: 30px 0 20px 0 !important; /* 上マージンを小さくして上にくっつける */
        max-width: 600px !important;
        letter-spacing: 0.28em;
    }
    
    /* 2つ目の区切り線 */
    .pc-title-divider-2 {
        width: 100% !important;
        height: 4px !important;
        background-color: #333 !important;
        margin: 20px 0 !important;
    }
    
    .pc-title-description {
        font-family: 'Zen Maru Gothic', sans-serif !important;
        font-size: 13px !important; /* 20px → 14px に縮小 */
        line-height: 1.6 !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin: 0 !important;
        max-width: 800px !important;
    }
    
    /* SP版タイトルセクションをPC版で隠す */
    .shop-produce-title-section {
        display: none !important;
    }
    
    .shop-produce-title-section .section-title-container {
        display: flex !important;
        flex-direction: column !important; /* 縦配置に変更 */
        align-items: flex-start !important; /* 左寄せ */
        gap: 10px !important;
        margin-bottom: 15px !important;
        max-width: 800px !important; /* コンテナサイズ800px */
        margin-left: 100px !important; /* 左に空間を追加 */
        margin-right: auto !important;
    }
    
    .shop-produce-title-section .section-icon-image {
        width: 40px !important; /* サイズを少し小さく */
        height: 40px !important;
        margin-bottom: 5px !important;
    }
    
    .shop-produce-title-section .section-title {
        font-size: 32px !important; /* サイズを少し小さく */
        margin: 0 !important;
        font-family: 'Golos Text', sans-serif !important;
        font-weight: 700 !important;
        color: #333 !important;
        line-height: 1.2 !important;
    }
    
    .shop-produce-title-section .section-subtitle {
        font-size: 14px !important; /* サイズを小さく */
        margin: 10px 0 0 100px !important; /* 左マージンで位置調整 */
        max-width: 700px !important;
        font-family: 'Zen Maru Gothic', sans-serif !important;
        font-weight: 500 !important;
        color: #333 !important;
        text-align: left !important;
    }
    
    .shop-produce-title-section .section-description {
        font-size: 12px !important; /* サイズを小さく */
        max-width: 700px !important;
        margin: 15px 0 0 100px !important; /* 左マージンで位置調整 */
        line-height: 1.6 !important;
        font-family: 'Zen Maru Gothic', sans-serif !important;
        color: #333 !important;
        text-align: left !important;
    }
    
    /* 黄色背景セクション - 2カラムレイアウト */
    .yellow-background-section {
        padding: 80px 0 !important;
        max-width: 1200px !important; /* 最大幅1200px */
        margin: 0 auto !important;
    }
    
    .yellow-background-section .gallery-container {
        max-width: 800px !important; /* コンテナサイズ800px */
        margin: 0 auto !important;
        padding: 0 40px !important;
    }
    
    /* SP版のSHOP PRODUCEタイトルセクションをPC版で隠す */
    .shop-produce-title-section {
        display: none !important;
    }
    
    /* SP版のyellow-background-section全体をPC版で隠す */
    .yellow-background-section {
        display: none !important;
    }
    
    /* PC版専用ギャラリーセクション */
    .pc-gallery-section {
        display: block !important;
        width: 100% !important; /* 全画面表示 */
        max-width: none !important; /* 最大幅制限を削除 */
        margin: 0 !important;
        padding: 38px 0 50px 0 !important; /* 下パディングを大幅に削減 */
        background-image: none !important; /* 背景画像を削除 */
        background-color: #faf9f6 !important; /* 元の背景色に戻す */
        border-radius: 0 !important; /* 角丸を削除 */
        overflow: visible !important; /* overflowをvisibleに変更 */
    }
    
    /* ギャラリーヘッダー */
    .pc-gallery-header {
        text-align: center !important;
        margin-bottom: 40px !important;
        max-width: 1200px !important; /* コンテンツ幅を制限 */
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 40px !important; /* 左右にパディング */
    }

    /* ギアとタイトルの横並び */
    .pc-gallery-top {
        display: flex !important;
        align-items: flex-start !important; /* ギアを上揃えにする */
        justify-content: center !important;
        gap: 0px !important;
        margin-bottom: 3px !important;
    }

    .pc-gallery-icon {
        flex-shrink: 0 !important;
    }

    .pc-gallery-icon img {
        width: 30px !important;
        height: 40px !important;
    }

    .pc-gallery-title {
        font-family: 'Golos Text', sans-serif !important;
        font-size: 26px !important;
        font-weight: 900 !important;
        color: #333 !important;
        line-height: 1.1 !important;
        margin: 0 10px!important;
        text-align: center !important;
    }

    .pc-gallery-subtitle {
        font-family: 'Zen Maru Gothic', sans-serif !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #333 !important;
        background-color: white !important;
        padding: 1px 30px !important; /* 細長く、横幅を長く */
        border-radius: 20px !important; /* より細長い形状 */
        border: 2px solid #333 !important; /* 囲いを細く */
        display: inline-block !important;
    }

    /* ショップカード */
    .pc-shop-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        max-width: 800px !important; /* コンテンツ幅を制限 */
        margin: 50px auto 0 auto !important; /* ショップカードを下にずらす */
        padding: 0 40px !important; /* 左右にパディング */
    }

    .pc-shop-card {
        position: relative !important;
        margin-bottom: 20px !important;
    }

    .pc-shop-card:nth-child(2) {
        margin-top: -60px !important; /* 2番目のカードを上に重ねる */
    }

    .pc-shop-card:nth-child(3) {
        margin-top: -60px !important; /* 3番目のカードを上に重ねる */
    }

    .pc-card-image {
        width: 100% !important;
        display: block !important;
    }

    .pc-card-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .pc-card-content {
        position: absolute !important;
        top: 20px !important;
        right: 80px !important; /* 右から80pxに変更してテキストを左に */
        padding: 20px !important;
        max-width: 300px !important;
    }

    /* 1個目のカードのテキストを下にずらす */
    .pc-shop-card:nth-child(1) .pc-card-content {
        top: 50px !important;
    }

    /* 2個目のカードのテキストを下にずらす */
    .pc-shop-card:nth-child(2) .pc-card-content {
        top: 100px !important;
    }

    /* 3個目のカードのテキストを下にずらす */
    .pc-shop-card:nth-child(3) .pc-card-content {
        top: 110px !important;
    }

    .pc-card-header {
        margin-bottom: 10px !important;
    }

    .pc-card-title-row {
        display: flex !important;
        align-items: center !important;
        gap: -10px !important; /* 10pxから5pxに縮小 */
    }

    .pc-card-icon {
        flex-shrink: 0 !important;
    }

    .pc-card-icon img {
        width: 40px !important;
        height: 60px !important;
        object-fit: contain !important;
    }

    .pc-card-text {
        flex: 1 !important;
        position: relative !important; /* 黒い棒の基準点にする */
    }

    .pc-card-divider {
        width: 100% !important;
        height: 3px !important;
        background-color: #333 !important;
        margin-top: 10px !important; /* 調整可能な間隔 */
        margin-bottom: 15px !important; /* 調整可能な間隔 */
    }

    .pc-card-comment {
        font-size: 12px !important;
        font-weight: 800 !important;
        color: #333 !important;
        letter-spacing: 1px !important;
        text-align: left !important; /* 左揃え */
        margin-bottom: -2px !important; /* ディスクリプションとの間隔 */    }

    .pc-card-header h3 {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #333 !important;
        margin: 0 0 -7px 0 !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 10px !important; /* 調整可能な間隔 */
    }

    .pc-card-subtitle {
        font-size: 12px !important; /* 調整可能なサイズ */
        font-weight: 600 !important;
        color: #666 !important;
    }

    .pc-card-location-circle {
        display: inline-block !important;
        padding: 1px 8px !important; /* 調整可能なパディング */
        border: 2px solid #333 !important;
        border-radius: 50px !important; /* 丸い形 */
        font-size: 12px !important; /* 調整可能なフォントサイズ */
        color: #333 !important;
        font-weight: 600 !important;
        margin-top: 8px !important;
        text-align: center !important;
    }

    .pc-card-content-wrapper {
        margin-top: 15px !important; /* 調整可能な間隔 */
    }

    .pc-card-description {
        font-size: 12px !important;
        line-height: 1.5 !important;
        color: #333 !important;
        margin: 0 0 15px 0 !important; /* 調整可能な間隔 */
        text-align: left !important; /* テキストは左寄せ */
    }

    .pc-card-button {
        display: block !important; /* ブロック要素にして中央寄せ可能に */
        width: fit-content !important; /* コンテンツ幅に合わせる */
        margin: 0 auto !important; /* 中央寄せ */
        padding: 1px 20px !important;
        background-color: white !important; /* 白背景に変更 */
        color: #333 !important; /* 黒文字 */
        text-decoration: none !important;
        border-radius: 15px !important;
        border: 2px solid #333 !important; /* 黒枠を追加 */
        font-size: 12px !important;
        font-weight: 800 !important; /* フォントウェイトを太く */
        text-align: center !important;
        transition: background-color 0.3s ease !important;
    }

    .pc-card-button:hover {
        background-color: #f5f5f5 !important; /* 薄いグレーに変更 */
        color: #333 !important;
        border-color: #333 !important;
    }
    
    /* PC版パンくずリスト調整 */
    .breadcrumb-section {
        margin-top: 20px !important; /* 上に空間を作る */
    }
    
    /* PC版フッター背景色を黄色に設定（index.html以外） */
    body:not([data-page="index"]) .footer {
        background-color: #E9D269 !important; /* いつもの黄色背景 */
    }
    
    /* index.html専用フッター背景色を白に設定 */
    body[data-page="index"] .footer {
        background-color: #FFFFFF !important; /* 純白背景 */
    }
    
    /* color-contact.html専用：ご相談はこちらボタンのテキストを少し右に */
    body[data-page="color-contact"] .colorcontact-btn {
        justify-content: center !important; /* 中央揃え */
    }
    
    /* PC版color-contact背景画像設定 - colorcontact_pc_back001.png使用（最優先） */
    .contact-brand-main-section {
        background: url('../img/colorcontact/colorcontact_pc_back001.png') repeat-x left center !important; /* 横方向に繰り返し */
        background-size: auto 100% !important; /* 高さ100%、幅は自動調整 */
        width: 100vw !important; /* ビューポート全幅 */
        max-width: none !important; /* 最大幅制限を解除 */
        margin-left: calc(50% - 50vw) !important; /* 親コンテナを突破して画面全幅 */
        margin-right: calc(50% - 50vw) !important; /* 右側も画面端まで */
        padding-left: 0 !important; /* 左パディングをリセット */
        padding-right: 0 !important; /* 右パディングをリセット */
        padding-top: 180px !important; /* 上部にパディングを追加 */
        position: relative !important; /* 位置を相対的に */
        z-index: 1 !important; /* ヘッダーより下に配置 */
    }
    
    /* PC版ブランドロゴアニメーション - 完全に綺麗なループ */
    .contact-brand-main-section .brand-logos-track-pc {
        display: flex;
        width: calc(100vw * 3); /* 画面幅の3倍で完全なループ */
        animation: scroll-brands-optimized 40s linear infinite;
        min-width: calc(100vw * 3);
        will-change: transform;
        backface-visibility: hidden;
        transform: translateZ(0);
    }

    .contact-brand-main-section .brand-logos-pc-image {
        width: 1600px; /* 固定サイズでロゴサイズを維持 */
        height: auto;
        flex-shrink: 0;
        display: block;
        object-fit: contain; /* 比率を保持してはみ出しを防ぐ */
    }
    
    /* PC版でSP版ブランドロゴを非表示 */
    .contact-brand-main-section .brand-logos-track {
        display: none !important;
    }
    
    /* PC版ブランドロゴスライダーコンテナ設定 - 完全に綺麗なループ */
    .contact-brand-main-section .brand-logos-slider {
        width: 100vw; /* ビューポート全幅 */
        margin-left: calc(50% - 50vw); /* 親コンテナの制限を突破して画面全幅に */
        margin-right: calc(50% - 50vw); /* 右側も確実に画面端まで */
        margin-top: 40px; /* タイトルとの間隔を調整 */
        overflow: visible; /* はみ出しを表示して端から端まで見せる */
        padding: 0;
        background-color: #E9D269;
        position: relative;
        z-index: 1; /* ヘッダーより下に設定 */
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    /* PC版でcolorcontact_bakuga.png画像を下にずらして表示 */
    .color-contact-bakuga-section {
        position: relative !important;
        z-index: 20 !important; /* 背景画像より上に表示 */
        margin-top: 0px !important; /* 上部マージンを追加して下にずらす */
        padding-top:0px !important; /* 上部パディングも追加 */
    }

    .bakuga-image {
        position: relative !important;
        z-index: 21 !important; /* さらに上に表示 */
        transform: translateY(150px) !important; /* さらに下に50pxずらす */
    }

    /* PC版でCONTACT BRANDセクション以降を下にずらす */
    .contact-brand-main-section .contact-brand-section {
        margin-top: 120px !important; /* ギアマークとタイトルを下にずらす */
        position: relative !important;
        z-index: 15 !important; /* 背景画像の上に表示 */
    }

    /* PC版でabout-engine.htmlのフッター背景色を黄色に設定 */
    .footer {
        background-color: #E9D269 !important; /* PC版では黄色背景 */
    }

    /* PC版でabout-engine.htmlの背景画像設定 */
    .engine-info-section {
        background-image: url('../img/aboutengine_PC_back1.png') !important;
        background-size: auto 100% !important; /* サービスセクションと同じ設定 */
        background-position: left center !important; /* サービスセクションと同じ設定 */
        background-repeat: repeat-x !important; /* 横方向に繰り返し */
        width: 100vw !important; /* ビューポート全幅 */
        max-width: none !important; /* 最大幅制限を解除 */
        margin-left: calc(50% - 50vw) !important; /* 親コンテナを突破して画面全幅 */
        margin-right: calc(50% - 50vw) !important; /* 右側も画面端まで */
        margin-bottom: 0px !important; /* 下部マージンを0に変更 */
        padding-left: 0 !important; /* 左パディングをリセット */
        padding-right: 0 !important; /* 右パディングをリセット */
        padding-top: 60px !important; /* 上部のパディングを適切に */
        padding-bottom: 60px !important; /* 下部のパディングを適切に */
        position: relative !important; /* 位置を相対的に */
        min-height: auto !important; /* 最小高さを自動に */
    }

    /* PC版専用ロゴセクション */
    .pc-logo-section {
        text-align: center !important; /* 中央揃え */
        margin-top: 40px !important; /* ロゴの上に空間を作成 */
        margin-bottom: 30px !important; /* ロゴの下に空間を作成 */
    }

    .pc-logo-image {
        width: 200px !important; /* ロゴを大きく表示 */
        height: auto !important;
        max-width: 100% !important;
    }

    /* PC版で2カラムレイアウトを実装 */
    @media screen and (min-width: 768px) {
        /* ENGINE INFOタイトル部分を調整 */
        .engine-info-section .engine-info-title {
            margin-bottom: -5px !important; /* タイトル下のマージンを小さく */
            margin-top: 40px !important; /* タイトル上のマージンを追加してタイトルを下に */
        }
        
        .engine-info-section .engine-info-main-title {
            font-size: 24px !important; /* タイトルを小さく */
            margin: 0 !important;
        }
        
        .engine-info-section .engine-info-subtitle-button {
            font-size: 11px !important; /* さらに小さく */
            padding: 2px 15px !important; /* 縦を小さく、横を長く */
            margin-bottom: 15px !important; /* 下のマージンを小さく */
            border-radius: 15px !important; /* より横長の楕円形に */
        }
        /* 2カラムレイアウト用ラッパー */
        .engine-info-section .pc-two-column-wrapper {
            display: flex !important;
            gap: 60px !important;
            align-items: flex-start !important;
            max-width: 800px !important;
            margin: 5px auto 0 auto !important; /* 上のマージンをさらに小さく */
            padding: 0 20px 0 60px !important; /* 左パディングを増やして右に移動 */
        }

        /* CEOセクションを左側に配置 */
        .engine-info-section .pc-two-column-wrapper .ceo-section {
            flex: 1 !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 1px !important; /* 画像とテキストの間隔を詰める */
        }

        /* CEO情報部分の幅を画像に合わせる */
        .engine-info-section .pc-two-column-wrapper .ceo-info {
            width: 100% !important;
            max-width: 200px !important; /* 画像サイズに合わせて調整 */
            margin-top: 0 !important; /* 上のマージンを削除 */
        }

        /* CEO画像コンテナのマージンを削除 */
        .engine-info-section .pc-two-column-wrapper .ceo-image-container {
            margin-bottom: 0 !important; /* 下のマージンを削除 */
        }

        /* 代表取締役社長と植田恭平（+ひらがな）を横並びに */
        .engine-info-section .pc-two-column-wrapper .ceo-title-name-row {
            display: flex !important;
            align-items: flex-start !important;
            gap: 10px !important;
            margin-bottom: 5px !important;
        }

        /* 代表取締役社長のスタイル（より小さめ） */
        .engine-info-section .pc-two-column-wrapper .ceo-title-button {
            font-size: 10px !important;
            white-space: nowrap !important;
            align-self: center !important;
            padding: 1px 7px !important; /* ボタンの内側の余白を小さく */
            border-radius: 8px !important; /* 角の丸みも小さく */
            border-width: 1px !important; /* ボーダーの太さも細く */
        }

        /* 植田恭平とひらがなのコンテナ */
        .engine-info-section .pc-two-column-wrapper .ceo-name-with-reading {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
        }

        /* 植田恭平のスタイル（より大きめ） */
        .engine-info-section .pc-two-column-wrapper .ceo-name {
            font-size: 22px !important;
            font-weight: bold !important;
            margin: 0 !important;
        }

        /* ひらがなのスタイル（小さめ、左詰め） */
        .engine-info-section .pc-two-column-wrapper .ceo-reading {
            font-size: 12px !important;
            text-align: left !important;
            margin: 0 !important;
            padding-left: 0 !important;
        }

        /* 会社情報セクションを右側に配置 */
        .engine-info-section .pc-two-column-wrapper .company-info-section {
            flex: 1 !important;
        }
    }
    
    /* SP版でPC版ブランドロゴを非表示 */
    @media screen and (max-width: 767px) {
        .contact-brand-main-section .brand-logos-track-pc {
            display: none !important;
        }

        /* SP版でabout-engine.htmlの背景画像を無効化 */
        .engine-info-section {
            background-image: none !important;
            background-size: auto !important;
            background-position: initial !important;
            background-repeat: initial !important;
            width: auto !important;
            max-width: initial !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding-left: initial !important;
            padding-right: initial !important;
            padding-top: initial !important;
            padding-bottom: initial !important;
            position: initial !important;
        }

        /* SP版でPC版専用ロゴセクションを非表示 */
        .pc-logo-section {
            display: none !important;
        }

        /* PC版専用セクションは削除済みのため設定不要 */
    }
    
    /* PC版専用：SHOP PRODUCEセクションの矢印画像を変更 */
    .produce-btn .arrow-image {
        content: url('../img/PC_contactbrand_yazi.png');
    }
    
}

/* ===== SP DESIGN ONLY ===== */
/* すべてのスタイルはSPサイズ（スマートフォン）に最適化されています */
/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

/* ローディング中は全てのコンテンツを隠す */
body.loading {
    overflow: hidden;
}

body.loading .header,
body.loading .header-scroll,
body.loading .main-content,
body.loading .footer,
body.loading .fixed-contact-buttons,
body.loading .menu-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* ローディング完了後にコンテンツを表示 */
body:not(.loading) .header,
body:not(.loading) .header-scroll,
body:not(.loading) .main-content,
body:not(.loading) .footer,
body:not(.loading) .fixed-contact-buttons {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out 0.2s, visibility 0.5s ease-in-out 0.2s;
}

/* メニューオーバーレイは通常時は非表示のまま（activeクラスが付いた時のみ表示） */
body:not(.loading) .menu-overlay {
    /* メニューオーバーレイは元のCSSルールに従って表示制御される */
    transition: opacity 0.5s ease-in-out 0.2s, visibility 0.5s ease-in-out 0.2s;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInScale 1.2s ease-out;
}

.loading-logo {
    max-width: 200px;
    height: auto;
    animation: logoFloat 2s ease-in-out infinite;
}

/* ローディングアニメーション */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* PC版でのローディングロゴサイズ調整 */
@media screen and (min-width: 768px) {
    .loading-logo {
        max-width: 300px;
    }
}

/* SP版でのローディングロゴサイズ調整 */
@media screen and (max-width: 767px) {
    .loading-logo {
        max-width: 150px;
    }
}

/* レスポンシブ対応は無効化しています */

@media screen and (max-width: 767px) {
    /* SP版でPC版ブランドロゴアニメーションを非表示 */
    .contact-brand-main-section .brand-logos-track-pc {
        display: none !important;
    }
    
    /* SP版でSP版ブランドロゴを表示 */
    .contact-brand-main-section .brand-logos-track {
        display: flex !important;
    }
}

/* ===== 立体的フローティングギャラリー ===== */
.color-contact-products-section {
    padding: 20px 0 100px 0; /* 上のパディングを削減してディスクリプションに近づける */
    overflow: hidden;
    position: relative;
}

.floating-gallery {
    width: 100%;
    height: 600px; /* 500px → 600px に拡大 */
    position: relative;
    overflow: hidden;
}

/* PC版フローティングギャラリー1600px対応 */
@media screen and (min-width: 768px) {
    .floating-gallery {
        width: 1600px !important; /* 1600px幅固定 */
        margin: 0 auto !important;
        height: 650px !important; /* 最適化された高さ */
        overflow: hidden;
        position: relative;
    }
    
    /* PC版で画像サイズを最適化（視覚的バランス重視） */
    .large-item .product-image {
        max-height: 350px !important; /* 存在感のあるサイズ */
        min-height: 280px !important;
        background: transparent !important; /* 背景色を透明に */
        background-color: transparent !important;
    }
    
    .medium-item .product-image {
        max-height: 290px !important; /* バランスの良いサイズ */
        min-height: 220px !important;
        background: transparent !important; /* 背景色を透明に */
        background-color: transparent !important;
    }
    
    .small-item .product-image {
        max-height: 230px !important; /* 適度な存在感 */
        min-height: 180px !important;
        background: transparent !important; /* 背景色を透明に */
        background-color: transparent !important;
        transform: translateY(-30px) !important; /* 画像を上に30px移動（20px→30px） */
    }
    
    /* group-4のsmall-itemは特に上に移動 */
    .group-4 .small-item .product-image {
        transform: translateY(-40px) !important; /* HUBlrS.pngを特に上に移動 */
    }
    
    /* PCでグループ6を非表示 */
    .group-6 {
        display: none !important;
    }
    
    /* PC版：全画像の背景色を完全除去（最優先設定） */
    .product-image,
    img.product-image,
    .product-float img,
    .product-float .product-image,
    .gallery-group img,
    .floating-gallery img {
        background: none !important;
        background-color: transparent !important;
        background-image: none !important;
        background-size: auto !important;
        background-position: initial !important;
        background-repeat: no-repeat !important;
        background-attachment: initial !important;
        background-origin: initial !important;
        background-clip: initial !important;
    }
    
    /* PC版：コンテナの背景を完全除去（最強設定） */
    .product-float,
    .gallery-group,
    .floating-gallery .product-float,
    .floating-gallery .gallery-group,
    .color-contact-products-section .product-float,
    .color-contact-products-section .gallery-group {
        background: none !important;
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important; /* 影も除去 */
    }
    
    /* PC版：画像要素のみに影を適用（コンテナではなく） */
    .product-float .product-image {
        background: none !important;
        background-color: transparent !important;
        background-image: none !important;
    }

}

/* 3グループ一定速度システム */
.gallery-group {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1; /* 常に表示 */
}

/* PC版5グループシステム（最適化・バランス重視） */
.group-1 {
    animation: groupCycle1 18s linear infinite; /* ゆったりとした速度 */
    animation-delay: 0s;
}

.group-2 {
    animation: groupCycle2 16s linear infinite; /* 段階的な速度差 */
    animation-delay: -2.5s; /* 絶妙なタイミング調整 */
}

.group-3 {
    animation: groupCycle3 14s linear infinite; /* 中程度の速度 */
    animation-delay: -5s; /* バランスの良い間隔 */
}

.group-4 {
    animation: groupCycle4 12s linear infinite; /* やや速め */
    animation-delay: -7.5s; /* 連続性を保つ間隔 */
}

.group-5 {
    animation: groupCycle5 10s linear infinite; /* 最も速い */
    animation-delay: -10s; /* 最終グループの調整 */
}

.group-6 {
    animation: groupCycle6 8s linear infinite; /* 非表示グループ */
    animation-delay: -12.5s;
}

.product-float {
    position: absolute;
    opacity: 1; /* 常に完全不透明 */
    transform: translateX(-150px) translateY(20px) scale(0.8);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

/* 大きい画像（手前・メイン） */
.large-item {
    z-index: 3;
}

.large-item .product-image {
    max-height: 250px; /* 180px → 250px */
    width: auto;
    object-fit: contain;
    background: transparent !important; /* 背景色を透明に */
    background-color: transparent !important;
}

/* 中サイズ画像 */
.medium-item {
    z-index: 2;
}

.medium-item .product-image {
    max-height: 180px; /* 120px → 180px */
    width: auto;
    object-fit: contain;
    background: transparent !important; /* 背景色を透明に */
    background-color: transparent !important;
}

/* 小さい画像（奥・背景的） */
.small-item {
    z-index: 1;
    transform: translateY(-15px); /* コンテナ自体を上に15px移動 */
}

.small-item .product-image {
    max-height: 120px; /* 80px → 120px */
    width: auto;
    object-fit: contain;
    opacity: 1; /* 0.8 → 1 に変更して透明度統一 */
    background: transparent !important; /* 背景色を透明に */
    background-color: transparent !important;
}

/* ホバー効果 */
.product-float:hover {
    transform: translateX(0) translateY(-10px) scale(1.1) !important;
    z-index: 10;
}

.product-float:hover .product-image {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

/* スクロールトリガーでアニメーション開始 */
.scroll-trigger.active .product-float {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}

/* 各アイテムに個別の遅延とアニメーション */
.scroll-trigger.active .large-item:nth-of-type(1) { 
    transition-delay: 0.2s; 
    animation: floatBounce 3s ease-in-out infinite;
}
.scroll-trigger.active .large-item:nth-of-type(2) { 
    transition-delay: 0.5s; 
    animation: floatBounce 3.2s ease-in-out infinite;
}
.scroll-trigger.active .medium-item:nth-of-type(1) { 
    transition-delay: 0.1s; 
    animation: floatGentle 3.5s ease-in-out infinite;
}
.scroll-trigger.active .medium-item:nth-of-type(2) { 
    transition-delay: 0.3s; 
    animation: floatGentle 2.8s ease-in-out infinite;
}
.scroll-trigger.active .medium-item:nth-of-type(3) { 
    transition-delay: 0.4s; 
    animation: floatGentle 3.1s ease-in-out infinite;
}
.scroll-trigger.active .medium-item:nth-of-type(4) { 
    transition-delay: 0.6s; 
    animation: floatGentle 3.4s ease-in-out infinite;
}
.scroll-trigger.active .medium-item:nth-of-type(5) { 
    transition-delay: 0.7s; 
    animation: floatGentle 2.9s ease-in-out infinite;
}
.scroll-trigger.active .small-item { 
    transition-delay: 0.15s; 
    animation: floatSubtle 4s ease-in-out infinite;
}

/* 6グループ用キーフレーム（右から左） */
@keyframes groupCycle1 {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes groupCycle2 {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes groupCycle3 {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes groupCycle4 {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes groupCycle5 {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes groupCycle6 {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 浮遊アニメーション（大きい画像用） */
@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* 浮遊アニメーション（中サイズ画像用） */
@keyframes floatGentle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 浮遊アニメーション（小さい画像用） */
@keyframes floatSubtle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* PC版6グループ位置調整（1600px幅対応・上部集中） */
@media screen and (min-width: 768px) {
    /* PC版6グループ位置調整（端から端・全体的に上部シフト） */
    .group-1 .product-float:nth-child(1) { top: 0% !important; left: 0% !important; }
    .group-1 .product-float:nth-child(2) { top: 15% !important; left: 85% !important; }
    
    .group-2 .product-float:nth-child(1) { top: 5% !important; left: 40% !important; }
    .group-2 .product-float:nth-child(2) { top: 20% !important; left: 95% !important; }
    
    .group-3 .product-float:nth-child(1) { top: 3% !important; left: 70% !important; }
    .group-3 .product-float:nth-child(2) { top: 25% !important; left: 5% !important; }
    
    .group-4 .product-float:nth-child(1) { top: 10% !important; left: 90% !important; }
    .group-4 .product-float:nth-child(2) { top: 30% !important; left: 30% !important; }
    
    .group-5 .product-float:nth-child(1) { top: 8% !important; left: 15% !important; }
    .group-5 .product-float:nth-child(2) { top: 28% !important; left: 75% !important; }
    
    .group-6 .product-float:nth-child(1) { top: 0% !important; left: 98% !important; }
    .group-6 .product-float:nth-child(2) { top: 22% !important; left: 55% !important; }
}

/* SP版調整 */
@media screen and (max-width: 767px) {
    .floating-gallery {
        height: 550px; /* 500px → 550px さらに拡大で上部空間確保 */
    }
    
    .large-item .product-image {
        max-height: 180px; /* 140px → 180px に拡大 */
        background: transparent !important; /* 背景色を透明に */
        background-color: transparent !important;
    }
    
    .medium-item .product-image {
        max-height: 140px; /* 100px → 140px に拡大 */
        background: transparent !important; /* 背景色を透明に */
        background-color: transparent !important;
    }
    
    .small-item .product-image {
        max-height: 100px; /* 70px → 100px に拡大 */
        opacity: 1 !important; /* SP版でも透明度統一 */
        background: transparent !important; /* 背景色を透明に */
        background-color: transparent !important;
    }
    
    .color-contact-products-section {
        padding: 10px 0 60px 0; /* ディスクリプションにさらに近づける */
    }
    
    /* SP版6グループシステム（渋滞解消・スタート位置大幅分散） */
    .group-1 {
        animation: groupCycle1 18s linear infinite; /* 最も遅い */
        animation-delay: 0s; /* 最初のグループ */
    }
    
    .group-2 {
        animation: groupCycle2 15s linear infinite; /* 2番目に遅い */
        animation-delay: -8s; /* 大幅に遅延 */
    }
    
    .group-3 {
        animation: groupCycle3 12s linear infinite; /* 中程度 */
        animation-delay: -16s; /* さらに大幅に遅延 */
    }
    
    .group-4 {
        animation: groupCycle4 9s linear infinite; /* やや速い */
        animation-delay: -24s; /* 大幅に遅延 */
    }
    
    .group-5 {
        animation: groupCycle5 6s linear infinite; /* 最も速い */
        animation-delay: -32s; /* 最大遅延 */
    }
    
    .group-6 {
        animation: groupCycle6 8s linear infinite; /* 中程度 */
        animation-delay: -40s; /* 最大遅延 */
    }
    
    /* SP版6グループ位置調整（2枚大幅分離・見やすい配置） */
    .group-1 .product-float:nth-child(1) { top: 0% !important; left: 0% !important; }
    .group-1 .product-float:nth-child(2) { top: 15% !important; left: 70% !important; }
    
    .group-2 .product-float:nth-child(1) { top: 8% !important; left: 25% !important; }
    .group-2 .product-float:nth-child(2) { top: 25% !important; left: 85% !important; }
    
    .group-3 .product-float:nth-child(1) { top: 5% !important; left: 50% !important; }
    .group-3 .product-float:nth-child(2) { top: 30% !important; left: 10% !important; }
    
    .group-4 .product-float:nth-child(1) { top: 20% !important; left: 75% !important; }
    .group-4 .product-float:nth-child(2) { top: 35% !important; left: 35% !important; }
    
    .group-5 .product-float:nth-child(1) { top: 12% !important; left: 15% !important; }
    .group-5 .product-float:nth-child(2) { top: 40% !important; left: 60% !important; }
    
    .group-6 .product-float:nth-child(1) { top: 3% !important; left: 80% !important; }
    .group-6 .product-float:nth-child(2) { top: 28% !important; left: 45% !important; }
}

/* ===== ヘッダーロゴリンク ===== */
.logo a,
.logo-scroll a {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo a:hover,
.logo-scroll a:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* ===== ボタンリンク共通スタイル ===== */
a.service-button,
a.colorcontact-btn,
a.produce-btn,
a.contact-btn,
a.mail-btn {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    text-align: center !important;
}

/* ===== スクロールトップボタン ===== */
.scroll-to-top-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ボタンが表示される時 */
.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

/* SP版画像 */
.scroll-btn-sp {
    display: block;
    width: 40px;
    height: auto;
    transition: transform 0.3s ease;
}

/* PC版画像 */
.scroll-btn-pc {
    display: none;
    width: 60px;
    height: auto;
    transition: transform 0.3s ease;
}

/* ホバー効果 */
.scroll-to-top-btn:hover .scroll-btn-sp,
.scroll-to-top-btn:hover .scroll-btn-pc {
    transform: scale(1.1);
}

/* PC版スタイリング */
@media screen and (min-width: 768px) {
    .scroll-to-top-btn {
        bottom: 30px;
        right: 30px;
    }
    
    .scroll-btn-sp {
        display: none;
    }
    
    .scroll-btn-pc {
        display: block;
    }
}

/* SP版でのindex.html専用フッター背景色設定 */
@media screen and (max-width: 767px) {
    /* index.html以外のページは黄色背景 */
    body:not([data-page="index"]) .footer {
        background-color: #E9D269 !important;
    }
    
    /* index.html専用フッター背景色を白に設定 */
    body[data-page="index"] .footer {
        background-color: #FFFFFF !important;
    }
}
