
/* ==========================================================================
   A-Doc Base Styles - 変数定義・リセット・基本設定
   ========================================================================== */

/* ==========================================================================
   DESIGN TOKENS & GLOBAL SETTINGS
   ========================================================================== */
:root {
    /* フォント設定 */
    --font-family-primary: 'Yu Mincho', '游明朝', 'YuMincho', serif;
    --font-family-english: 'Yu Mincho', '游明朝', 'YuMincho', serif;

    /* カラーパレット */
    --color-white: #FFFEF7;
    --color-black: #2C2C2C;
    --color-black-header: #222222;
    --color-white-pure: #FFFFFF;
    --color-gray-medium: #666666;
    --color-gray-light: #888888;
    --color-gold-dark: #8B6914;
    --color-gold-medium: #B8860B;
    --color-gold-light: #DAA520;
    --color-gold-bright: #FFD700;
    
    /* アルファカラー（透明度付き） */
    --color-black-alpha-10: rgba(34, 34, 34, 0.1);
    --color-black-alpha-20: rgba(34, 34, 34, 0.2);
    --color-black-alpha-30: rgba(34, 34, 34, 0.3);
    --color-white-alpha-02: rgba(255, 255, 255, 0.02);
    --color-white-alpha-20: rgba(255, 255, 255, 0.2);
    --color-gold-medium-alpha-60: rgba(184, 134, 11, 0.6);
    --color-gold-medium-alpha-70: rgba(184, 134, 11, 0.7);

    /* スペーシング */
    --spacing-3xs: 2px;
    --spacing-2xs: 4px;
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-2xl: 40px;
    --spacing-3xl: 100px;
    
    /* 特定用途のスペーシング */
    --spacing-section: 80px;
    --spacing-card: 25px;
    --spacing-button: 15px;

    /* タイポグラフィ */
    --text-xs: 11px;
    --text-sm: 12px;
    --text-base: 14px;
    --text-md: 15px;
    --text-lg: 16px;
    --text-xl: 18px;
    --text-2xl: 24px;
    --text-3xl: 32px;
    --text-4xl: 48px;

    /* レイアウト */
    --container-max-width: 1500px;
    --container-padding: var(--spacing-lg);

    /* アニメーション */
    --transition-base: 0.3s cubic-bezier(0.4, 0.4, 0, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0.4, 0, 1);

    /* エフェクト用カラー */
    --color-gold-shadow-light: rgba(255, 215, 0, 0.1);
    --color-gold-shadow-medium: rgba(255, 215, 0, 0.2);
    --color-gold-shadow-strong: rgba(255, 215, 0, 0.3);
    --color-gold-shadow-max: rgba(255, 215, 0, 0.8);
    --color-black-pure: #222222;
    --color-white-pure: #FFFFFF;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* スムーススクロール設定 */
html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ==========================================================================
   HEADER STYLES - ヘッダーナビゲーション
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-sm) 0;
    transform: translateZ(0);
    will-change: transform;
}

.header.visible {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateZ(0);
}

.header.visible .header__logo {
    color: var(--color-black);
}

.header.visible .header__menu-link {
    color: var(--color-black);
}

.header.visible .header__menu-link.contact-button-unified {
    color: var(--color-white);
}

.header.visible .header__logo-icon img {
    filter: invert(0) brightness(1);
}

.header__nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.header__logo-icon img {
    object-fit: contain;
    filter: invert(1) brightness(1);
}


.header__menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    margin: 0;
    padding: 0;
}

.header__menu-link {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
}

.header__menu-link:hover {
    color: var(--color-gold-light);
}

.header__menu-link.contact-button-unified {
    background: linear-gradient(45deg, var(--color-gold-dark), var(--color-gold-medium), var(--color-gold-light));
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    animation: shimmer 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.top .contact-button-unified {
    padding: var(--spacing-xs) var(--spacing-xl);
    font-size: 20px;
}

.header__menu-link.contact-button-unified:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    color: white;
}

/* ハンバーガーメニューをデスクトップで非表示 */
.hamburger-menu,
.mobile-menu {
    display: none;
}

/* モバイルでハンバーガーメニューを表示 */

body {
    font-family: var(--font-family-primary);
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}



        /* ==========================================================================
           TOP COMPONENT
           ========================================================================== */
.top {
            height: 100vh;
            width: 100vw;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            text-align: center;
            background: var(--color-black);
            color: var(--color-white);
            position: relative;
            overflow: hidden;
            padding-bottom: 70px;
            margin: 0;
            --top-text-shadow: 0 2px 4px var(--color-black-alpha-30);
        }

        .top__background-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

.top::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                linear-gradient(45deg, transparent 30%, var(--color-white-alpha-02) 50%, transparent 70%),
                linear-gradient(-45deg, transparent 30%, var(--color-black-alpha-10) 50%, transparent 70%);
            z-index: 1;
        }

.top__left-text {
            position: absolute;
            left: max(var(--spacing-lg), calc(50vw - 800px + var(--spacing-lg)));
            top: 20vh;
            z-index: 2;
            display: flex;
            flex-direction: row;
            gap: var(--spacing-lg);
            line-height: 1;
        }

        .top__right-text {
            position: absolute;
            right: max(var(--spacing-lg), calc(50vw - 800px + var(--spacing-lg)));
            top: 20vh;
            z-index: 2;
            display: flex;
            flex-direction: row;
            gap: var(--spacing-lg);
            line-height: 1;
        }

.top__left-text-item {
            display: flex;
            align-items: center;
            gap: 0;
            line-height: 0.9;
            position: relative;
        }


        .top__left-text-symbol {
            font-size: 60px;
            font-weight: bold;
            color: var(--color-white);
            text-shadow: 
                0 0 40px rgba(255, 255, 255, 1),
                0 0 80px rgba(255, 255, 255, 0.7),
                0 0 120px rgba(255, 255, 255, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.9),
                0 12px 24px rgba(0, 0, 0, 0.7),
                0 24px 48px rgba(0, 0, 0, 0.5);
            font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
            align-self: center;
        }

        .top__left-text-with-furigana {
            font-size: 60px;
            font-weight: bold;
            color: var(--color-white);
            text-shadow: 
                0 0 40px rgba(255, 255, 255, 1),
                0 0 80px rgba(255, 255, 255, 0.7),
                0 0 120px rgba(255, 255, 255, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.9),
                0 12px 24px rgba(0, 0, 0, 0.7),
                0 24px 48px rgba(0, 0, 0, 0.5);
            letter-spacing: 6px;
            font-family: var(--font-family-english);
            text-transform: uppercase;
        }

        .top__left-text-with-furigana rt {
            font-size: 24px;
            font-weight: 400;
            color: var(--color-white);
            text-shadow: 
                0 0 20px rgba(255, 255, 255, 0.7),
                0 0 40px rgba(255, 255, 255, 0.6),
                0 3px 6px rgba(0, 0, 0, 0.7);
            letter-spacing: 2px;
            font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
            text-transform: none;
            position: relative;
            left: -60px;
        }

        .top__left-text-label {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .top__left-text-service {
            font-size: 60px;
            font-weight: bold;
            color: var(--color-white);
            text-shadow: 
                0 0 40px rgba(255, 255, 255, 1),
                0 0 80px rgba(255, 255, 255, 0.7),
                0 0 120px rgba(255, 255, 255, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.9),
                0 12px 24px rgba(0, 0, 0, 0.7),
                0 24px 48px rgba(0, 0, 0, 0.5);
            letter-spacing: 6px;
            font-family: var(--font-family-english);
            text-transform: uppercase;
            line-height: 0.9;
            margin-left: 0;
            text-align: left;
        }

        .top__left-text-words {
            font-size: 60px;
            font-weight: bold;
            color: var(--color-white);
            text-shadow: 
                0 0 40px rgba(255, 255, 255, 1),
                0 0 80px rgba(255, 255, 255, 0.7),
                0 0 120px rgba(255, 255, 255, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.9),
                0 12px 24px rgba(0, 0, 0, 0.7),
                0 24px 48px rgba(0, 0, 0, 0.5);
            letter-spacing: 6px;
            font-family: var(--font-family-english);
            text-transform: uppercase;
            line-height: 0.9;
        }

        .top__left-text-words ruby rt {
            font-size: 24px;
            font-weight: 400;
            color: var(--color-white);
            text-shadow: 
                0 0 20px rgba(255, 255, 255, 0.7),
                0 0 40px rgba(255, 255, 255, 0.6),
                0 3px 6px rgba(0, 0, 0, 0.7);
            letter-spacing: 2px;
            font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
            text-transform: none;
        }

        .top__right-text-item {
            display: flex;
            align-items: center;
            gap: 0;
            line-height: 0.9;
            position: relative;
        }


        .top__right-text-symbol {
            font-size: 60px;
            font-weight: bold;
            color: var(--color-white);
            text-shadow: 
                0 0 40px rgba(255, 255, 255, 1),
                0 0 80px rgba(255, 255, 255, 0.7),
                0 0 120px rgba(255, 255, 255, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.9),
                0 12px 24px rgba(0, 0, 0, 0.7),
                0 24px 48px rgba(0, 0, 0, 0.5);
            font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
            align-self: center;
        }

        .top__right-text-with-furigana {
            font-size: 60px;
            font-weight: bold;
            color: var(--color-white);
            text-shadow: 
                0 0 40px rgba(255, 255, 255, 1),
                0 0 80px rgba(255, 255, 255, 0.7),
                0 0 120px rgba(255, 255, 255, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.9),
                0 12px 24px rgba(0, 0, 0, 0.7),
                0 24px 48px rgba(0, 0, 0, 0.5);
            letter-spacing: 6px;
            font-family: var(--font-family-english);
            text-transform: uppercase;
        }

        .top__right-text-with-furigana rt {
            font-size: 24px;
            font-weight: 400;
            color: var(--color-white);
            text-shadow: 
                0 0 20px rgba(255, 255, 255, 0.7),
                0 0 40px rgba(255, 255, 255, 0.6),
                0 3px 6px rgba(0, 0, 0, 0.7);
            letter-spacing: 2px;
            font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
            text-transform: none;
            position: relative;
            left: -60px;
        }

        .top__right-text-label {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .top__right-text-service {
            font-size: 60px;
            font-weight: bold;
            color: var(--color-white);
            text-shadow: 
                0 0 40px rgba(255, 255, 255, 1),
                0 0 80px rgba(255, 255, 255, 0.7),
                0 0 120px rgba(255, 255, 255, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.9),
                0 12px 24px rgba(0, 0, 0, 0.7),
                0 24px 48px rgba(0, 0, 0, 0.5);
            letter-spacing: 6px;
            font-family: var(--font-family-english);
            text-transform: uppercase;
            line-height: 0.9;
            margin-left: 0;
            text-align: left;
        }

        .top__right-text-words {
            font-size: 60px;
            font-weight: bold;
            color: var(--color-white);
            text-shadow: 
                0 0 40px rgba(255, 255, 255, 1),
                0 0 80px rgba(255, 255, 255, 0.7),
                0 0 120px rgba(255, 255, 255, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.9),
                0 12px 24px rgba(0, 0, 0, 0.7),
                0 24px 48px rgba(0, 0, 0, 0.5);
            letter-spacing: 6px;
            font-family: var(--font-family-english);
            text-transform: uppercase;
            line-height: 0.9;
        }

        .top__right-text-words ruby rt {
            font-size: 24px;
            font-weight: 400;
            color: var(--color-white);
            text-shadow: 
                0 0 20px rgba(255, 255, 255, 0.7),
                0 0 40px rgba(255, 255, 255, 0.6),
                0 3px 6px rgba(0, 0, 0, 0.7);
            letter-spacing: 2px;
            font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
            text-transform: none;
        }

/* サービスボタンスタイル - 背景と外枠を無色に設定 */
.top__service-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
    transition: opacity 0.3s ease;
}

.top__service-button:hover {
    opacity: 0.8;
}

.top__service-button:focus {
    outline: none;
}

.top__content {
            position: relative;
            z-index: 2;
            padding: 0;
            max-width: 1200px;
        }


.top__title {
            font-size: 60px;
            font-weight: bold;
            font-family: var(--font-family-english);
            letter-spacing: 2px;
            text-shadow:
                0 0 20px var(--color-gold-medium-alpha-60),
                0 0 40px var(--color-gold-medium-alpha-70),
                0 2px 4px var(--color-black-alpha-30);
            color: var(--color-white);
            animation: subtleOrangeGlow 3s ease-in-out infinite alternate;
            margin-bottom: 30px;
        }

        /* オレンジグローアニメーション */
        @keyframes subtleOrangeGlow {
            from {
                text-shadow:
                    0 0 10px var(--color-gold-light),
                    0 0 40px var(--color-gold-light),
                    0 2px 4px var(--color-black-alpha-30);
            }

            to {
                text-shadow:
                    0 0 25px var(--color-gold-light),
                    0 0 50px var(--color-gold-light),
                    0 2px 4px var(--color-black-alpha-30);
            }
        }


        .top__cta {
            display: inline-block;
            padding: var(--spacing-md) var(--spacing-xl);
            background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold-medium) 30%, var(--color-gold-light) 70%, var(--color-gold-bright) 100%);
            border: 2px solid var(--color-gold-medium);
            color: var(--color-white);
            text-decoration: none;
            border-radius: 50px;
            font-size: var(--text-xl);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            margin-top: 8px;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 50%, 100% {
                box-shadow:
                    0 8px 25px rgba(184, 134, 11, 0.4),
                    0 0 0 0 rgba(218, 165, 32, 0.7);
            }

            25%, 75% {
                box-shadow:
                    0 8px 25px rgba(184, 134, 11, 0.4),
                    0 0 0 10px rgba(218, 165, 32, 0),
                    0 0 35px rgba(255, 215, 0, 0.4),
                    0 0 70px rgba(255, 215, 0, 0.6),
                    inset 0 0 35px rgba(255, 255, 255, 0.25);
            }
        }

        .top__cta:hover {
            color: #FFFEF7;
            background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold-light) 30%, var(--color-gold-medium) 70%, var(--color-gold-dark) 100%);
            transform: translateY(-2px);
            animation: none;
            box-shadow:
                0 15px 35px rgba(184, 134, 11, 0.5),
                0 0 50px rgba(255, 215, 0, 0.8);
        }

        /* TOPセクション左側テキストのレスポンシブ対応 */



        /* ==========================================================================
           ABOUT COMPONENT
           ========================================================================== */
.about {
            --about-bg: #111111;
            --about-padding: var(--spacing-2xl) 0;
            background: var(--about-bg);
            padding: var(--about-padding);
            position: relative;
            margin-top: 0;
        }



        .about__header {
            margin-bottom: var(--spacing-md);
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            justify-content: flex-start;
        }

        .about__header::before {
            content: '';
            display: block;
            width: var(--spacing-xl);
            height: 2px;
            background-color: var(--color-white);
            flex-shrink: 0;
        }

.about__subtitle {
            text-align: left;
            font-size: var(--text-3xl);
            font-weight: bold;
            color: var(--color-white);
            margin-bottom: 20px;
            display: flex;
            align-items: baseline;
            gap: 15px;
        }



.about__card {
            background: linear-gradient(135deg, #F5F5F5 0%, #FAFAFA 50%, #F5F5F5 100%);
            border-radius: 15px;
            padding: calc(var(--spacing-xl) / 2) var(--spacing-xl) var(--spacing-xl) var(--spacing-xl);
            box-shadow:
                0 1px 3px var(--color-black-alpha-20),
                0 1px 2px var(--color-black-alpha-30),
                0 10px 20px var(--color-black-alpha-10);
            position: relative;
            transform: translateZ(0);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

.about__card:hover {
            transform: translateY(-2px);
            box-shadow:
                0 3px 6px var(--color-black-alpha-20),
                0 3px 6px var(--color-black-alpha-30),
                0 15px 30px var(--color-black-alpha-20);
        }


        .about__logo {
            text-align: center;
            margin-bottom: 0;
        }

        .about__logo img {
            height: 100px;
            width: auto;
            filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
        }



        /* タイトル */
.about__title {
            font-size: var(--text-2xl);
            font-weight: bold;
            color: var(--color-black);
            margin-bottom: var(--spacing-card);
            line-height: 1.4;
            padding: 0;
            text-align: center;
        }

        /* 768px 以下 */

        /* 区切り線 */
.about__divider {
            position: relative;
            height: 1px;
            margin: 30px 0 0 0;
            overflow: hidden;
        }

.about__divider::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right,
                    transparent 0%,
                    #FAF8F1 20%,
                    #FAF8F1 80%,
                    transparent 100%);
        }

.about__description {
            font-size: var(--text-lg);
            line-height: 1.8;
            color: var(--color-black);
            text-align: left;
            padding: 0;
        }


        /* ==========================================================================
           CASE COMPONENT
           ========================================================================== */


        /* ==========================================================================
           BILINGUAL TEXT STYLES
           ========================================================================== */
        .bilingual-text {
            --color-text-japanese: var(--color-black);
            --color-text-english: var(--color-gray-light);
        }

        .text-japanese {
            color: var(--color-text-japanese);
        }
        
        .service-details__description .text-japanese {
            color: var(--color-black);
        }
        
        .management .text-japanese {
            color: var(--color-white) !important;
        }
        
        .management__member-name {
            font-size: 20px !important;
            color: var(--color-white) !important;
            margin-bottom: 10px;
        }
        
        .management__member-title {
            font-size: 20px !important;
            color: #FFFFFF !important;
        }
        
        .management__member-info {
            padding: 0 10px 10px 10px !important;
        }
        

        .bilingual-text .text-english, 
        .english-subtitle {
            color: var(--color-text-english);
            font-family: var(--font-family-english);
            font-weight: normal;
            font-style: italic;
            font-size: var(--text-lg);
            line-height: 1.6;
        }

        .text-english.gradient-text-title {
            font-family: var(--font-family-english);
            font-weight: bold;
            text-align: left;
            justify-content: flex-start;
            font-size: var(--text-base);
        }

        .bilingual-separator {
            height: 1px;
            background-color: var(--color-gold-medium);
            margin: var(--spacing-sm) 0;
            opacity: 0.7;
            width: 100%;
        }

        /* ==========================================================================
           CASE COMPONENT
           ========================================================================== */
        .case__subtitle {
            text-align: left;
            font-size: var(--text-3xl);
            font-weight: bold;
            color: var(--color-white);
            margin-bottom: 20px;
            display: flex;
            align-items: baseline;
            gap: 15px;
        }



        /* ==========================================================================
           SERVICES COMPONENT
           ========================================================================== */
        .services {
            --services-bg: #111111;
            --services-text: var(--color-white);
            --services-padding: var(--spacing-2xl) 0;
            background: var(--services-bg);
            color: var(--services-text);
            padding: var(--services-padding);
        }



        /* ==========================================================================
           SERVICES COMPONENT - aboutセクションと同じ構造
           ========================================================================== */
        .services__header {
            margin-bottom: var(--spacing-md);
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            justify-content: flex-start;
        }

        .services__header::before {
            content: '';
            display: block;
            width: var(--spacing-xl);
            height: 2px;
            background-color: var(--color-white);
            flex-shrink: 0;
        }

        .services__card {
            background: linear-gradient(135deg, #F5F5F5 0%, #FAFAFA 50%, #F5F5F5 100%);
            border-radius: 15px;
            padding: var(--spacing-xl);
            box-shadow:
                0 1px 3px var(--color-black-alpha-20),
                0 1px 2px var(--color-black-alpha-30),
                0 10px 20px var(--color-black-alpha-10);
            transition: all 0.3s ease;
            margin-bottom: 20px;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        .services__card:hover {
            transform: translateY(-2px);
            box-shadow:
                0 3px 6px var(--color-black-alpha-20),
                0 3px 6px var(--color-black-alpha-30),
                0 15px 30px var(--color-black-alpha-20);
        }

        .services__group-title {
            font-size: var(--text-2xl);
            font-weight: bold;
            color: var(--color-black);
            margin-bottom: var(--spacing-card);
            line-height: 1.4;
            padding: 0;
        }

        /* 768px 以下 */


        .services__divider {
            position: relative;
            height: 1px;
            margin: 0;
            overflow: hidden;
        }

        .services__divider::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right,
                    transparent 0%,
                    #FAF8F1 20%,
                    #FAF8F1 80%,
                    transparent 100%);
        }

        .services__description {
            font-size: var(--text-lg);
            line-height: 1.8;
            color: var(--color-black);
            text-align: left;
        }

        
/* 768px 以下 */

        .services__subtitle {
            text-align: left;
            font-size: var(--text-3xl);
            font-weight: bold;
            color: var(--color-white);
            margin-bottom: 20px;
            display: flex;
            align-items: baseline;
            gap: 15px;
        }

        /* ==========================================================================
           PHILOSOPHY COMPONENT
           ========================================================================== */
.philosophy {
            --philosophy-bg: #222222;
            --philosophy-padding: var(--spacing-2xl) 0;
            background: var(--philosophy-bg);
            padding: var(--philosophy-padding);
            position: relative;
            min-height: 500px;
        }



.philosophy__container {
            max-width: 1400px;
            margin: 0 auto;
        }

.philosophy__header {
            margin-bottom: var(--spacing-md);
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            justify-content: flex-start;
        }

.philosophy__header::before {
            content: '';
            display: block;
            width: var(--spacing-xl);
            height: 2px;
            background-color: var(--color-white);
            flex-shrink: 0;
        }

.philosophy__subtitle {
            font-size: 35px;
            color: var(--color-white);
            font-weight: bold;
            margin-bottom: 20px;
            text-align: left;
        }



.philosophy__grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--spacing-lg);
        }



.philosophy__item {
            background-color: var(--color-white);
            border: 1px solid var(--color-black-alpha-20);
            border-radius: 10px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            aspect-ratio: 1;
            display: flex;
            flex-direction: column;
            cursor: pointer;
            overflow: hidden;
            position: relative;
        }

.philosophy__item::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: linear-gradient(135deg, transparent 0%, rgba(184, 134, 11, 0.03) 100%);
            opacity: 0;
            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1;
        }

.philosophy__item:hover {
            transform: translateY(-5px);
            box-shadow: 
                0 10px 30px var(--color-black-alpha-20),
                0 0 0 1px rgba(184, 134, 11, 0.1);
        }

.philosophy__item:hover::before {
            opacity: 1;
        }


.philosophy__item-image {
            width: 100%;
            height: 80%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--color-black-alpha-10);
        }

.philosophy__item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.philosophy__item-title {
            height: 20%;
            font-size: var(--text-2xl);
            font-weight: bold;
            color: var(--color-white);
            background-color: var(--color-white);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: var(--spacing-sm) var(--spacing-md);
            position: relative;
        }



.philosophy__item-title-text {
            flex-grow: 1;
            text-align: center;
            position: relative;
            z-index: 2;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

.philosophy__item-title-text.gradient-text-title {
            display: block;
            justify-content: flex-start;
            font-size: inherit;
            line-height: 1.2;
            animation: shimmerPhilosophy 3s ease-in-out infinite;
        }

        @keyframes shimmerPhilosophy {
            0%, 100% { 
                filter: brightness(1.3); 
                text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
            }
            50% { 
                filter: brightness(1.6); 
                text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
            }
        }

.philosophy__item:hover .philosophy__item-title-text {
            transform: translateX(-2px);
        }

.philosophy__item:hover .philosophy__item-title-text.gradient-text-title {
            filter: brightness(1.8);
            text-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
        }

.philosophy__item-arrow {
            font-size: 42px;
            color: var(--color-white);
            font-weight: 100;
            opacity: 0.8;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            z-index: 2;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
        }

.philosophy__item:hover .philosophy__item-arrow {
            opacity: 1;
            transform: translateX(6px) scale(1.1);
            color: var(--color-gold-light);
            text-shadow: 0 0 15px rgba(218, 165, 32, 0.5);
        }



        /* ==========================================================================
           GRADIENT TEXT STYLE - FROM SOLUCA PROJECT
           ========================================================================== */
.gradient-text-title {
            text-align: center;
            font-size: var(--text-base);
            font-weight: bold;
            background: linear-gradient(45deg, var(--color-gold-dark), var(--color-gold-medium), var(--color-gold-light));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1.3;
            position: relative;
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0%, 100% { 
                filter: brightness(1.3); 
                text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
            }
            50% { 
                filter: brightness(1.6); 
                text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
            }
        }

.gradient-text-title-green {
            text-align: center;
            font-size: var(--text-xl);
            font-weight: bold;
            background: linear-gradient(45deg, #047857, #10b981, #34d399);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1.3;
            position: relative;
            animation: shimmerGreen 3s ease-in-out infinite;
        }

        @keyframes shimmerGreen {
            0%, 100% { 
                filter: brightness(1); 
                text-shadow: 0 0 10px rgba(4, 120, 87, 0.1);
            }
            50% { 
                filter: brightness(1.2); 
                text-shadow: 0 0 15px rgba(4, 120, 87, 0.3);
            }
        }

        /* Responsive adjustments for gradient text */



        /* ==========================================================================
           SERVICE DETAILS COMPONENT
           ========================================================================== */
        .service-details {
            --service-details-bg: #111111;
            --service-details-padding: var(--spacing-2xl) 0;
            background: var(--service-details-bg);
            padding: var(--service-details-padding);
        }



        .service-details__header {
            margin-bottom: var(--spacing-md);
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            justify-content: flex-start;
        }

        .service-details__header::before {
            content: '';
            display: block;
            width: var(--spacing-xl);
            height: 2px;
            background-color: var(--color-white);
            flex-shrink: 0;
        }

        .service-details__subtitle {
            text-align: left;
            font-size: var(--text-3xl);
            font-weight: bold;
            color: var(--color-white);
            margin-bottom: 20px;
            display: flex;
            align-items: baseline;
            gap: 15px;
        }

        .service-details__grid {
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 1400px;
            margin: 0 auto;
        }


        .service-details__card {
            background: linear-gradient(135deg, #F5F5F5 0%, #FAFAFA 50%, #F5F5F5 100%);
            border-radius: 15px;
            padding: var(--spacing-xl);
            box-shadow:
                0 1px 3px var(--color-black-alpha-20),
                0 1px 2px var(--color-black-alpha-30),
                0 10px 20px var(--color-black-alpha-10);
            transition: all 0.3s ease;
            display: flex;
            gap: var(--spacing-lg);
            align-items: flex-start;
        }

        .service-details__card:hover {
            transform: translateY(-2px);
            box-shadow:
                0 3px 6px var(--color-black-alpha-20),
                0 3px 6px var(--color-black-alpha-30),
                0 15px 30px var(--color-black-alpha-20);
        }

        .service-details__icon {
            flex-shrink: 0;
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(184, 134, 11, 0.1);
            border-radius: 12px;
        }

        /* 768px 以下のとき */

        .service-details__icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .service-details__content {
            flex: 1;
        }







        /* ==========================================================================
           MANAGEMENT COMPONENT
           ========================================================================== */
        .management {
            --management-bg: #111111;
            --management-padding: var(--spacing-2xl) 0;
            background: var(--management-bg);
            padding: var(--management-padding);
        }



        .management__header {
            margin-bottom: var(--spacing-md);
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            justify-content: flex-start;
        }

        .management__header::before {
            content: '';
            display: block;
            width: var(--spacing-xl);
            height: 2px;
            background-color: var(--color-white);
            flex-shrink: 0;
        }

        .management__subtitle {
            text-align: left;
            font-size: var(--text-3xl);
            font-weight: bold;
            color: var(--color-white);
            margin-bottom: var(--spacing-lg);
            display: flex;
            align-items: baseline;
            gap: 15px;
        }

        .management__grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-xl);
            max-width: 1400px;
            margin: 0 auto;
            align-items: flex-start;
        }

        .management__member {
            background: transparent;
        }


        .management__member-info {
            width: 100%;
        }

        .management__member-title {
            font-size: var(--text-base);
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 0;
            text-align: left;
        }

        .management__member-profile {
            border-bottom: 1px solid var(--color-white-alpha-20);
            padding: var(--spacing-md) 0;
        }

        .management__member-profile:last-child {
            border-bottom: none;
        }

        .management__member-name {
            font-size: var(--text-lg);
            color: var(--color-white);
            line-height: 1.6;
            vertical-align: top;
            margin-bottom: 10px;
        }

        .management__member-description {
            font-size: var(--text-lg);
            color: var(--color-white);
            line-height: 1.6;
        }



        /* ==========================================================================
           COMPANY COMPONENT
           ========================================================================== */
.company {
            --company-bg: #111111;
            --company-padding: var(--spacing-2xl) 0;
            background: var(--company-bg);
            padding: var(--company-padding);
        }



.company__container {
            max-width: 1400px;
            margin: 0 auto;
        }

.company__header {
            margin-bottom: var(--spacing-md);
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            justify-content: flex-start;
        }

.company__header::before {
            content: '';
            display: block;
            width: var(--spacing-xl);
            height: 2px;
            background-color: var(--color-white);
            flex-shrink: 0;
        }

.company__header-title {
            font-size: var(--text-xl);
            font-weight: 400;
            letter-spacing: 2px;
            color: var(--color-white);
            margin: 0;
            flex-shrink: 0;
        }

.company__subtitle {
            text-align: left;
            font-size: var(--text-3xl);
            font-weight: bold;
            color: var(--color-white);
            margin-bottom: 20px;
            display: flex;
            align-items: baseline;
            gap: 15px;
        }

        /* セクションタイトル内の英訳を日本語と同じサイズに */
        .about__subtitle .text-english,
        .service-details__subtitle .text-english,
        .services__subtitle .text-english,
        .company__subtitle .text-english,
        .management__subtitle .text-english,
        .contact__header-title .text-english {
            font-family: var(--font-family-english);
            font-weight: bold;
            font-size: var(--text-3xl);
        }

        /* サービス内容カードタイトルを事業内容と同じサイズに */
        .service-details__title {
            font-size: var(--text-2xl);
            font-weight: bold;
            margin-bottom: var(--spacing-card);
            line-height: 1.4;
            text-align: left;
        }



.company__content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-xl);
            align-items: flex-end;
        }

.company__info {
            background: transparent;
        }

.company__info-table {
            width: 100%;
            border-collapse: collapse;
            border-top: 1px solid var(--color-white-alpha-20);
        }

.company__info-row {
            border-bottom: 1px solid var(--color-white-alpha-20);
        }

.company__info-label {
            padding: var(--spacing-md) 0;
            font-size: var(--text-base);
            color: rgba(255, 255, 255, 0.7);
            width: 180px;
            vertical-align: top;
        }

.company__info-value {
            padding: var(--spacing-md) 0;
            font-size: var(--text-lg);
            color: var(--color-white);
            line-height: 1.6;
        }

.company__map {
            background: linear-gradient(135deg, #F5F5F5 0%, #FAFAFA 50%, #F5F5F5 100%);
            border-radius: 10px;
            overflow: hidden;
            height: 400px;
        }

.company__map iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* ==========================================================================
           MANAGEMENT COMPONENT
           ========================================================================== */
        .management__content {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-xl);
            max-width: 1400px;
            margin: 0 auto;
        }

        .management__card {
            background: linear-gradient(135deg, #F5F5F5 0%, #FAFAFA 50%, #F5F5F5 100%);
            border-radius: 15px;
            padding: var(--spacing-xl);
            box-shadow:
                0 1px 3px var(--color-black-alpha-20),
                0 1px 2px var(--color-black-alpha-30),
                0 10px 20px var(--color-black-alpha-10);
            transition: all 0.3s ease;
            border: 1px solid rgba(184, 134, 11, 0.1);
        }

        .management__card:hover {
            transform: translateY(-2px);
            box-shadow:
                0 3px 6px var(--color-black-alpha-20),
                0 3px 6px var(--color-black-alpha-30),
                0 15px 30px var(--color-black-alpha-20);
            border-color: rgba(184, 134, 11, 0.2);
        }

        .management__profile-header {
            margin-bottom: var(--spacing-lg);
            padding-bottom: var(--spacing-md);
            border-bottom: 2px solid rgba(184, 134, 11, 0.2);
        }

        .management__name-section {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-sm);
        }

        .management__name {
            font-size: clamp(28px, 5vw, 36px);
            font-weight: bold;
            color: var(--color-white) !important;
            margin: 0;
            background: linear-gradient(45deg, var(--color-gold-dark), var(--color-gold-medium), var(--color-gold-light));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shimmer 3s ease-in-out infinite;
        }

        .management__title {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-xs);
        }

        .management__title .text-japanese {
            font-size: clamp(16px, 3vw, 20px);
            font-weight: 600;
            color: var(--color-white) !important;
        }

        .management__title .text-english {
            font-size: clamp(14px, 2.5vw, 16px);
            font-style: italic;
            color: var(--color-gray-light);
        }

        .management__profile-content {
            line-height: 1.8;
        }

        .management__profile-content .text-japanese {
            font-size: clamp(16px, 2.5vw, 18px);
            color: var(--color-white) !important;
            margin-bottom: var(--spacing-sm);
        }

        .management__profile-content .text-english {
            font-size: clamp(14px, 2.2vw, 16px);
            color: var(--color-gray-light);
            font-style: italic;
        }

        /* レスポンシブ対応 */


        /* ==========================================================================
           CONTACT COMPONENT
           ========================================================================== */
.contact {
    --contact-padding: 40px 0;
    padding: var(--contact-padding);
    background: var(--color-white-pure);
    color: var(--color-black);
    position: relative;
}



.contact__container {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

.contact__header {
            margin-bottom: var(--spacing-md);
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            justify-content: center;
        }

.contact__header::before,
.contact__header::after {
            content: '';
            display: block;
            width: var(--spacing-xl);
            height: 2px;
            background: linear-gradient(45deg, var(--color-gold-goldenrod), var(--color-gold-medium), var(--color-gold-light));
            animation: shimmer 3s ease-in-out infinite;
        }


        /* PC版のみ（レスポンシブ範囲外）でのタイトル設定 */

.contact__header-title {
            text-align: center;
            font-size: var(--text-3xl);
            font-weight: bold;
            color: var(--color-black);
            margin-bottom: 20px;
        }

.contact__subtitle {
            font-size: 20px;
            color: var(--color-black);
            font-weight: 600;
            margin-bottom: 30px;
            opacity: 0.95;
        }

.contact__phone {
    text-align: center;
}

.contact__phone-label {
    display: block;
    font-size: 18px;
    color: var(--color-black);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    opacity: 0.8;
}

.contact__phone-number {
    display: inline-block;
    font-size: 24px;
    font-weight: 900;
    text-decoration: none;
    padding: 15px 30px;
    border: 0.25px solid var(--color-gold-medium);
    border-radius: 12px;
    box-shadow: 
        0 4px 15px rgba(184, 134, 11, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 2px;
    
    /* 背景色 */
    background-color: var(--color-white-pure);
    /* グラデーションテキスト効果 */
    background-image: linear-gradient(45deg, var(--color-gold-dark), var(--color-gold-medium), var(--color-gold-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

.contact__phone-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.6s;
}

.contact__phone-number:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(184, 134, 11, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--color-gold-medium);
    filter: brightness(1.2);
}

.contact__phone-number:hover::before {
    left: 100%;
}

.contact__phone-number:active {
    transform: translateY(-1px);
}

/* PC用の電話番号表示制御 */
.contact__phone-number--desktop {
    display: inline-block;
}

.contact__phone-number--mobile {
    display: none;
}

/* タブレット・スマホ用の電話番号表示制御 */

/* ニュースページでは、ロゴ・会社名・お問い合わせ 以外のメニューを非表示 */
body.news-page .header__menu li:not(:last-child) {
    display: none !important;
}
/* 品質管理ポリシーページでは、ロゴ・会社名・お問い合わせ 以外のメニューを非表示 */
body.quality-page .header__menu li:not(:last-child) {
    display: none !important;
}

/* 反社会的勢力に対するポリシーページでは、ロゴ・会社名・お問い合わせ 以外のメニューを非表示 */
body.anti-social-page .header__menu li:not(:last-child) {
    display: none !important;
}

/* プライバシーポリシーページでは、ロゴ・会社名・お問い合わせ 以外のメニューを非表示 */
body.privacy-page .header__menu li:not(:last-child) {
    display: none !important;
}
/* 情報セキュリティページでは、ロゴ・会社名・お問い合わせ 以外のメニューを非表示 */
body.security-page .header__menu li:not(:last-child) {
    display: none !important;
}
/* コンプライアンスポリシーページでは、ロゴ・会社名・お問い合わせ 以外のメニューを非表示 */
body.compliance-page .header__menu li:not(:last-child) {
    display: none !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN - 1600px以下 (大型タブレット・小型ノートPC用)
   ========================================================================== */

/* ==========================================================================
   RESPONSIVE DESIGN - 1250px以下 (HEROセクション専用)
   ========================================================================== */

/* ==========================================================================
   RESPONSIVE DESIGN - 768px以下 (タブレット縦向き・小型ノートPC用)
   ========================================================================== */

/* ==========================================================================
   RESPONSIVE DESIGN - iPhone 14をベースとしたスマートフォン最適化
   iPhone 14: 390px × 844px (CSS pixels)
   ========================================================================== */

/* iPhone 14 Pro Max対応 (430px幅まで) */

/* iPhone 14標準サイズ (390px) 専用最適化 */

/* iPhone 14 mini対応 (375px以下) */

/* iPhone 14 Pro Max横向き対応 */

/* iOS Safari対応：ダイナミックビューポート */
@supports (height: 100dvh) {
}