/*
Theme Name: 石高精工オリジナルテーマ
Description: 石高精工様専用のWordPressオリジナルテーマ。3Dボックス型の立体デザインでモダンで洗練されたユーザー体験を提供します。
Author: カスタム開発チーム
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isitaka-theme
*/

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

/* Modern CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* ==========================================================================
   Typography & Color System (Enhanced for 3D Design)
   ========================================================================== */

:root {
    /* Primary Brand Colors - Enhanced for 3D Design */
    --color-primary: #4A8DD1;      /* 深いブルー（信頼・技術） */
    --color-primary-light: #6ba3da;
    --color-primary-dark: #3a7bc8;
    --color-primary-gradient: linear-gradient(135deg, #4A8DD1 0%, #6ba3da 100%);
    
    /* Secondary Colors */
    --color-secondary: #e74c3c;     /* 鮮やかな赤（エネルギー・情熱） */
    --color-secondary-light: #ff6b5a;
    --color-secondary-dark: #c0392b;
    
    /* 3D Box Colors */
    --color-box-blue: #4A8DD1;
    --color-box-blue-light: #6ba3da;
    --color-box-blue-dark: #3a7bc8;
    --color-box-beige: #d4b896;
    --color-box-beige-light: #e2c6a0;
    --color-box-beige-dark: #c6aa88;
    
    /* Neutral Colors */
    --color-neutral-50: #f8fafc;
    --color-neutral-100: #f1f5f9;
    --color-neutral-200: #e2e8f0;
    --color-neutral-300: #cbd5e1;
    --color-neutral-400: #94a3b8;
    --color-neutral-500: #64748b;
    --color-neutral-600: #475569;
    --color-neutral-700: #334155;
    --color-neutral-800: #2A5A87;
    --color-neutral-900: #4A8DD1;
    
    /* Success & Status Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    
    /* Typography */
    --font-family-primary: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Meiryo', sans-serif;
    --font-family-headings: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Meiryo', sans-serif;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    --font-size-7xl: 4.5rem;    /* 72px */
    
    /* Spacing */
    --spacing-1: 0.25rem;   /* 4px */
    --spacing-2: 0.5rem;    /* 8px */
    --spacing-3: 0.75rem;   /* 12px */
    --spacing-4: 1rem;      /* 16px */
    --spacing-5: 1.25rem;   /* 20px */
    --spacing-6: 1.5rem;    /* 24px */
    --spacing-8: 2rem;      /* 32px */
    --spacing-10: 2.5rem;   /* 40px */
    --spacing-12: 3rem;     /* 48px */
    --spacing-16: 4rem;     /* 64px */
    --spacing-20: 5rem;     /* 80px */
    --spacing-24: 6rem;     /* 96px */
    --spacing-32: 8rem;     /* 128px */
    
    /* 3D Effects & Shadows */
    --shadow-3d-small: 
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-3d-medium: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-3d-large: 
        0 16px 48px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-3d-box: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 0.125rem;   /* 2px */
    --radius-md: 0.375rem;   /* 6px */
    --radius-lg: 0.5rem;     /* 8px */
    --radius-xl: 0.75rem;    /* 12px */
    --radius-2xl: 1rem;      /* 16px */
    --radius-3xl: 1.5rem;    /* 24px */
    
    /* Transitions - Optimized for performance */
    --transition-fast: 150ms ease-out;
    --transition-base: 300ms ease-out;
    --transition-slow: 500ms ease-out;
    --transition-light: transform 0.3s ease, opacity 0.3s ease;
    --transition-hover: transform 0.2s ease, box-shadow 0.2s ease;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: var(--spacing-4);
    
    /* 3D Perspective */
    --perspective: 1000px;
    --transform-style: preserve-3d;
}

/* ==========================================================================
   3D Box Components
   ========================================================================== */

.box-3d {
    position: relative;
    perspective: var(--perspective);
    transform-style: var(--transform-style);
}

.box-3d-inner {
    position: relative;
    transform-style: preserve-3d;
    transition: var(--transition-3d);
}

.box-3d-face {
    position: absolute;
    backface-visibility: hidden;
}

/* Blue Box Styles */
.box-blue {
    background: linear-gradient(135deg, var(--color-box-blue) 0%, var(--color-box-blue-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.box-blue::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    transform: skewX(-20deg);
    transform-origin: top right;
}

.box-blue::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--color-box-blue-dark);
    transform: skewX(-5deg);
    transform-origin: bottom left;
}

/* Beige Box Styles */
.box-beige {
    background: linear-gradient(135deg, var(--color-box-beige) 0%, var(--color-box-beige-dark) 100%);
    color: var(--color-neutral-800);
    position: relative;
    overflow: hidden;
}

.box-beige::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    transform: skewX(20deg);
    transform-origin: top left;
}

.box-beige::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 30px;
    background: var(--color-box-beige-dark);
    transform: skewX(5deg);
    transform-origin: bottom right;
}

/* 3D Section Container */
.section-3d {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    perspective: var(--perspective);
}

.section-3d-content {
    position: relative;
    z-index: 2;
    width: 100%;
    transform-style: preserve-3d;
}

/* 3D Background Elements */
.bg-element-3d {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    animation: none;
    /* Performance optimizations */
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

@keyframes fadeInUp {
    0% { 
        opacity: 0;
        transform: translateY(20px); 
    }
    100% { 
        opacity: 1;
        transform: translateY(0); 
    }
}

/* Typography Enhancement for 3D Design */
.text-3d {
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.1),
        0 2px 0 rgba(0, 0, 0, 0.08),
        0 3px 0 rgba(0, 0, 0, 0.06),
        0 4px 0 rgba(0, 0, 0, 0.04),
        0 5px 0 rgba(0, 0, 0, 0.02),
        0 10px 20px rgba(0, 0, 0, 0.2);
    /* Performance optimization */
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.text-3d-white {
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 0 rgba(255, 255, 255, 0.6),
        0 3px 0 rgba(255, 255, 255, 0.4),
        0 4px 0 rgba(255, 255, 255, 0.2),
        0 5px 10px rgba(0, 0, 0, 0.1);
    /* Performance optimization */
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Large Typography for Impact */
.text-giant {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    user-select: none;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.1);
    font-family: 'Arial Black', sans-serif;
}

/* ==========================================================================
   Base Typography (Updated for 3D Design)
   ========================================================================== */

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-neutral-800);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    line-height: 1.2;
    margin-bottom: var(--spacing-4);
    font-weight: 700;
    color: var(--color-neutral-900);
}

h1 {
    font-size: var(--font-size-6xl);
    letter-spacing: -0.025em;
}

h2 {
    font-size: var(--font-size-5xl);
    letter-spacing: -0.025em;
}

h3 {
    font-size: var(--font-size-4xl);
}

h4 {
    font-size: var(--font-size-3xl);
}

h5 {
    font-size: var(--font-size-2xl);
}

h6 {
    font-size: var(--font-size-xl);
}

/* Paragraphs */
p {
    margin-bottom: var(--spacing-4);
    line-height: 1.8;
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover,
a:focus {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin-bottom: var(--spacing-4);
    padding-left: var(--spacing-6);
}

li {
    margin-bottom: var(--spacing-1);
}

/* ==========================================================================
   Layout System (Enhanced for 3D)
   ========================================================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
}

.container-fluid {
    width: 100%;
    padding: 0 var(--container-padding);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--spacing-4) * -0.5);
}

.col {
    flex: 1;
    padding: 0 calc(var(--spacing-4) * 0.5);
    min-width: 0;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-base);
    will-change: transform, box-shadow;
}

.site-header.scrolled .header-main {
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
}

.header-container {
    position: relative;
}

.site-logo {
    z-index: 1001;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo h1 {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 18px;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    color: var(--color-neutral-700);
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 6px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--color-primary, #4a8dd1), rgba(74, 141, 209, 0));
    opacity: 0;
    transform: translateY(6px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--color-primary);
    transform: translateY(-1px);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Button */
.header-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary-dark, #3a7bc8) 0%, var(--color-primary, #4a8dd1) 100%);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 35px rgba(17, 65, 111, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.header-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.4s ease;
}

.header-contact-btn:hover::before {
    left: 100%;
}

.header-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(17, 65, 111, 0.32);
}

/* ==========================================================================
   Hero Section - Full Width Enhanced Design
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-8);
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    color: white;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #c0392b 100%);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 32px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-badge:hover::before {
    left: 100%;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.highlight-text {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff6b5a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff6b5a 100%);
    border-radius: 2px;
    animation: highlightGlow 2s ease-in-out infinite;
}

@keyframes highlightGlow {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.05); }
}

.home-hero-subtitle {
    font-size: clamp(20px, 4vw, 32px);
    line-height: 1.4;
    margin-bottom: 48px;
    opacity: 0.95;
    font-weight: 300;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-feature {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 160px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-feature:hover::before {
    opacity: 1;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.feature-number {
    display: block;
    font-size: 36px;
    font-weight: 900;
    color: var(--color-secondary);
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

.feature-text {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 220px;
    justify-content: center;
    /* Performance optimizations */
    will-change: transform, box-shadow;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    /* Performance optimization */
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.3);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 16px 48px rgba(231, 76, 60, 0.4);
    color: white;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 3;
}

.hero-scroll span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: white;
    animation: scrollAnimation 2s ease-in-out infinite;
}

@keyframes scrollAnimation {
    0% { transform: translateY(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(40px); opacity: 0; }
}

/* ==========================================================================
   Main Page Sections - Dynamic & Powerful Design
   ========================================================================== */

/* 共通セクションスタイル */
.section {
    padding: var(--spacing-20) 0;
    position: relative;
    overflow: hidden;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #c0392b 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.section-title {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--color-neutral-900);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-size: clamp(16px, 3vw, 24px);
    line-height: 1.6;
    color: var(--color-neutral-600);
    margin-bottom: 48px;
    max-width: 800px;
}

/* 会社紹介セクション */
.company-intro-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.company-intro-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 78, 121, 0.1) 0%, transparent 70%);
    animation: none;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
    position: relative;
    z-index: 2;
}

.intro-text {
    padding: var(--spacing-8);
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.company-intro-section .section-title {
    text-align: left;
}

.company-intro-section .section-label {
    margin-left: 0;
}

.intro-lead {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.intro-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-neutral-700);
    margin-bottom: 32px;
}

.company-highlights {
    list-style: none;
    margin: 28px 0 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.highlight-card__header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-neutral-500);
}

.highlight-card__number {
    font-weight: 700;
    color: var(--color-primary);
}

.highlight-card__tag {
    font-weight: 600;
}

.highlight-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-neutral-900);
    margin: 0;
}

.highlight-card__description {
    font-size: 15px;
    color: var(--color-neutral-600);
    margin: 0;
    line-height: 1.7;
}


.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 12px 40px rgba(31, 78, 121, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-more:hover::before {
    left: 100%;
}

.btn-more:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(31, 78, 121, 0.4);
    color: white;
}

/* サービス紹介セクション */
.services-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: none;
}

.services-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
    position: relative;
    z-index: 2;
}

.services-section .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.services-section .section-title {
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.services-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
    position: relative;
    z-index: 2;
    margin-top: var(--spacing-16);
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    padding: var(--spacing-12);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff6b5a 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #c0392b 100%);
    color: white;
    border-radius: 50%;
    font-size: 40px;
    margin: 0 auto 32px;
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.4);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    opacity: 0.9;
    box-shadow: 0 16px 48px rgba(231, 76, 60, 0.5);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.service-card p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-card li {
    position: relative;
    padding: 8px 0 8px 32px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 16px;
}

.section-footer {
    text-align: center;
    margin-top: var(--spacing-16);
    position: relative;
    z-index: 2;
}

/* 加工実績セクション */
.products-showcase-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.products-showcase-section::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    animation: none;
}

ul.works-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-8);
    margin-top: var(--spacing-16);
    position: relative;
    z-index: 2;
    padding: 0;
    list-style: none;
}

.works-list--archive {
    gap: var(--spacing-6);
}

.works__item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.34) 0%, rgba(248, 250, 252, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 22px 60px rgba(15, 30, 60, 0.18);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    backdrop-filter: blur(18px);
}

.works__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 34px 90px rgba(15, 30, 60, 0.26);
}

.works__link {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.works__imgBox {
    position: relative;
    padding-top: 66%;
    overflow: hidden;
}

.works__imgBox::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 30, 60, 0) 30%, rgba(15, 30, 60, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.works__imgBox img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.works__link:hover .works__imgBox::after {
    opacity: 1;
}

.works__link:hover .works__imgBox img {
    transform: scale(1.08);
}

.works__arrow {
    position: absolute;
    bottom: var(--spacing-4);
    right: var(--spacing-4);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 18px;
    box-shadow: 0 14px 32px rgba(15, 30, 60, 0.22);
}

.works__subTitle {
    font-size: 19px;
    font-weight: 700;
    color: rgba(24, 39, 75, 0.92);
    margin: 0;
    padding: 0 var(--spacing-5) var(--spacing-5);
    line-height: 1.5;
}

/* 設備紹介セクション */
.equipment-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.equipment-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -25%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(31, 78, 121, 0.2) 0%, transparent 60%);
    animation: none;
}


.equipment-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--spacing-16);
    align-items: center;
    position: relative;
    z-index: 2;
}

.equipment-text {
    padding: var(--spacing-8);
    max-width: 620px;
}

.equipment-section .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    margin-left: 0;
}

.equipment-section .section-title {
    color: white;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    font-size: clamp(32px, 4vw, 42px);
}

.equipment-lead {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-8);
    max-width: 640px;
}

.equipment-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-8);
}

.equipment-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: var(--spacing-6);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    min-height: 130px;
    position: relative;
    overflow: hidden;
}

.equipment-metric::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.equipment-metric:hover::before {
    opacity: 1;
}

.equipment-metric__value {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: white;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.equipment-metric__unit {
    font-size: 18px;
    margin-left: 4px;
}

.equipment-metric__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.equipment-feature-list {
    list-style: none;
    margin: 0 0 var(--spacing-8);
    padding: 0;
    display: grid;
    gap: var(--spacing-5);
}

.equipment-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-5);
    padding: var(--spacing-5) var(--spacing-6);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 48, 84, 0.35);
    transition: all 0.35s ease;
}

.equipment-feature:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.equipment-feature__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0.65) 100%);
    color: #e74c3c;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.equipment-feature__icon i {
    color: inherit;
}

.equipment-feature__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.equipment-feature__title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.equipment-feature__text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.equipment-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    margin-top: var(--spacing-6);
}

.equipment-actions .btn-more {
    background: #ffffff;
    color: var(--color-primary-dark);
    border: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.equipment-actions .btn-more i {
    color: inherit;
}

.equipment-actions .btn-more:hover {
    color: var(--color-secondary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.equipment-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ニュースセクション - Enhanced Design */
.news-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.news-section .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.news-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 78, 121, 0.08) 0%, transparent 70%);
    transform: translateX(-50%);
    animation: none;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--spacing-8);
    margin-top: var(--spacing-16);
    position: relative;
    z-index: 2;
}

.news-item {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.news-item-featured {
    grid-row: span 2;
}

.news-item-featured .news-image {
    height: 300px;
}

.news-item:not(.news-item-featured) .news-image {
    height: 180px;
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.news-item:hover .news-image img {
    opacity: 0.95;
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #c0392b 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--color-neutral-500);
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 12px;
}

.news-date::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-item-featured .news-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.news-title a {
    color: var(--color-neutral-900);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.news-title a:hover {
    color: var(--color-primary);
}

.news-excerpt {
    color: var(--color-neutral-600);
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 20px;
    flex: 1;
}

.news-item-featured .news-excerpt {
    font-size: 18px;
    margin-bottom: 24px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.news-read-more:hover {
    color: var(--color-secondary);
    transform: translateX(4px);
}

.news-archive-link {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: 2px solid transparent;
}

.news-archive-link:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ニュースが空の場合 */
.news-empty {
    text-align: center;
    padding: var(--spacing-20) var(--spacing-8);
    background: white;
    border-radius: 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    margin-top: var(--spacing-16);
    position: relative;
    z-index: 2;
}

.news-empty-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 48px;
    color: white;
    box-shadow: 0 12px 40px rgba(31, 78, 121, 0.3);
    position: relative;
    overflow: hidden;
}

.news-empty-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

.news-empty h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-neutral-900);
    margin-bottom: 16px;
}

.news-empty p {
    font-size: 18px;
    color: var(--color-neutral-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================================================== 
   CTAセクション統一デザインシステム
   ========================================================================== */
.cta-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-neutral-900) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    animation: none;
    z-index: 0;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 140px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(42, 90, 135, 0.25) 45%, rgba(20, 42, 74, 0.85) 100%);
    clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-phone {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 16px 48px rgba(231, 76, 60, 0.4);
}

.cta-phone:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.5);
    color: white;
}

.cta-contact {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.cta-contact:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.2);
    color: white;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, var(--color-neutral-900) 0%, var(--color-neutral-800) 100%);
    color: white;
    padding: var(--spacing-20) 0 var(--spacing-8);
    position: relative;
    overflow: hidden;
    box-shadow: 0 -24px 60px rgba(12, 24, 45, 0.4);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(8, 18, 35, 0.55) 0%, rgba(8, 18, 35, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-12);
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: white;
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-xl);
    border-bottom: none !important;
    padding-bottom: 0;
}

.footer-section p,
.footer-section li {
    color: var(--color-neutral-300);
    line-height: 1.8;
}

.footer-section a {
    color: var(--color-neutral-300);
    transition: var(--transition-base);
}

.footer-section a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    margin-top: var(--spacing-12);
    padding-top: var(--spacing-6);
    text-align: center;
    color: var(--color-neutral-400);
    position: relative;
    z-index: 2;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-primary) 20%, 
        var(--color-secondary) 50%, 
        var(--color-primary) 80%, 
        transparent 100%);
    border-radius: 2px;
    opacity: 0.6;
}

/* Footer CTA Buttons */
.footer-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-8);
    flex-wrap: wrap;
}

.footer-phone-btn,
.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: var(--transition-base);
    white-space: nowrap;
    min-width: 180px;
    text-align: center;
}

.footer-phone-btn {
    background: var(--color-secondary);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-phone-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.footer-phone-btn:hover::before {
    transform: translateX(100%);
}

.footer-phone-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

.footer-contact-btn {
    background: transparent;
    color: var(--color-neutral-300);
    position: relative;
    overflow: hidden;
}

.footer-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-neutral-600);
    opacity: 0.2;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-contact-btn:hover::before {
    transform: scaleX(1);
}

.footer-contact-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 141, 209, 0.4);
}

/* Contact Hours */
.contact-hours {
    color: var(--color-neutral-300);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-4);
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
}

.contact-hours i {
    color: var(--color-secondary);
}

/* ==========================================================================
   Responsive Design (3D Enhanced)
   ========================================================================== */

/* 
 * レスポンシブデザインのスタイルは assets/css/responsive.css に分離されています
 * ページの読み込み速度向上とメンテナンス性向上のため
 */

/* Ultra-wide Screens のみここに残す */
@media (min-width: 1200px) {
    .hero-title {
        font-size: var(--font-size-7xl);
    }
    
    .text-giant {
        font-size: 12rem;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
        transform: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .no-print {
        display: none !important;
    }
    
    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .scroll-indicator {
        display: none !important;
    }
}

/* ==========================================================================
   Responsive Design - Hero Section
   ========================================================================== */

/* Tablet (768px) */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
        top: 0;
    }
    
    .hero-content-wrapper {
        padding: 0 var(--spacing-4);
        padding-top: 80px; /* ヘッダー固定分のみ */
        margin-top: 0;
    }
    
    .hero-title {
        font-size: clamp(36px, 10vw, 64px);
    }
    
    .home-hero-subtitle {
        font-size: clamp(18px, 5vw, 24px);
        margin-bottom: 32px;
    }
    
    .hero-features {
        gap: 24px;
        margin-bottom: 48px;
    }
    
    .hero-feature {
        padding: 24px 16px;
        min-width: 140px;
    }
    
    .feature-number {
        font-size: 28px;
    }
    
    .feature-text {
        font-size: 14px;
    }
    
    .hero-buttons {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        min-width: 200px;
        padding: 16px 32px;
        font-size: 16px;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .hero-section {
        min-height: 100vh;
        height: 100vh;
        margin-top: 0;
        padding-top: 0;
        top: 0;
    }
    
    .hero-background {
        top: 0;
        left: 0;
        position: absolute;
    }
    
    .hero-content-wrapper {
        padding: 0 var(--spacing-3);
        min-height: auto;
        padding-top: 60px; /* ヘッダー固定分のみ */
        padding-bottom: var(--spacing-16);
        margin-top: 0;
        position: relative;
        z-index: 10;
    }
    
    .hero-badge {
        padding: 10px 24px;
        font-size: 12px;
        margin-bottom: 24px;
    }
    
    .hero-title {
        font-size: clamp(28px, 12vw, 48px);
        margin-bottom: 24px;
    }
    
    .home-hero-subtitle {
        font-size: clamp(16px, 6vw, 20px);
        margin-bottom: 24px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .hero-feature {
        padding: 20px 16px;
        min-width: auto;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .feature-number {
        font-size: 24px;
    }
    
    .hero-buttons {
        gap: 16px;
    }
    
    .hero-btn {
        min-width: auto;
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
        font-size: 16px;
        gap: 12px;
    }
    
    .hero-scroll {
        bottom: 20px;
    }
    
    .hero-scroll span {
        font-size: 10px;
        margin-bottom: 12px;
    }
    
    .scroll-line {
        height: 30px;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: clamp(64px, 6vw, 96px);
    }
    
    .home-hero-subtitle {
        font-size: clamp(24px, 3vw, 32px);
    }
    
    .hero-features {
        gap: 64px;
    }
    
    .hero-feature {
        padding: 40px 32px;
        min-width: 180px;
    }
}

/* Ultra Wide (1400px+) */
@media (min-width: 1400px) {
    .hero-content-wrapper {
        max-width: 1800px;
    }
    
    .hero-content {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: clamp(72px, 5vw, 108px);
    }
}

/* ==========================================================================
   Main Page Sections - Responsive Design
   ========================================================================== */

/* Tablet (768px) */
@media (max-width: 768px) {
    .intro-content,
    .equipment-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    /* スマホサイズで背景画像として表示 */
    .company-intro-section {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        color: inherit;
        position: relative;
        min-height: auto;
        display: block;
        padding: var(--spacing-16) 0;
    }

    .company-intro-section::before {
        display: block;
    }

    .intro-content {
        position: relative;
        z-index: 2;
    }

    .intro-text {
        order: 1;
        background: white;
        padding: var(--spacing-6);
        border-radius: 12px;
        border: 1px solid rgba(31, 78, 121, 0.08);
        box-shadow: 0 8px 24px rgba(15, 30, 60, 0.1);
    }

    .intro-text .section-label {
        color: var(--color-secondary);
        background: rgba(231, 76, 60, 0.12);
        border: 1px solid rgba(231, 76, 60, 0.18);
    }

    .intro-text .section-title,
    .intro-text .intro-lead,
    .intro-text p {
        color: var(--color-neutral-700);
    }

    .intro-text .btn-more {
        margin-top: var(--spacing-4);
    }

    .intro-image {
        display: block;
    }
    
    .equipment-image {
        order: 2;
        transform: none;
    }
    
    .equipment-text {
        max-width: none;
    }
    
    .equipment-metrics {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-4);
    }
    
    .equipment-metric {
        min-height: 115px;
        padding: var(--spacing-5);
    }
    
    .equipment-feature-list {
        gap: var(--spacing-4);
    }
    
    .equipment-feature {
        padding: var(--spacing-4) var(--spacing-5);
        align-items: flex-start;
    }
    
    .equipment-feature__icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        color: #e74c3c;
    }
    
    .intro-image:hover,
    .equipment-image:hover {
        opacity: 0.95;
    }
    
    .services-grid,
    .products-showcase {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .cta-section {
        padding: 80px 0 40px;
    }

    .cta-section::after {
        height: 110px;
        clip-path: polygon(0 65%, 100% 15%, 100% 100%, 0 100%);
    }
    
    .cta-content h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }
    
    .cta-content p {
        font-size: 18px;
        margin-bottom: 36px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .cta-button {
        min-width: 280px;
        padding: 16px 32px;
    }
    
    .company-highlights {
        gap: 20px;
        margin: 28px 0 32px;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .company-intro-section {
        padding: 50px 0;
        min-height: 60vh;
    }
    
    .intro-text {
        padding: 30px 16px;
        margin: 20px 0;
    }
    
    .intro-text .section-title {
        font-size: clamp(20px, 6vw, 24px);
    }
    
    .intro-text .intro-lead {
        font-size: clamp(16px, 5vw, 20px);
    }
    
    .intro-text p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .intro-text .highlight-card {
        margin-bottom: 12px;
    }
    
    .intro-text .highlight-card__title {
        font-size: 16px;
    }
    
    .intro-text .highlight-card__description {
        font-size: 13px;
    }
    
    .services-section,
    .products-showcase-section,
    .equipment-section {
        padding: 50px 0;
    }

    .cta-section {
        padding: 60px 0 32px;
    }

    .cta-section::after {
        height: 90px;
        clip-path: polygon(0 75%, 100% 25%, 100% 100%, 0 100%);
    }
    
    .equipment-text {
        padding: var(--spacing-4);
    }

    .section-title {
        font-size: clamp(28px, 8vw, 48px);
        margin-bottom: 24px;
    }

    .section-subtitle {
        font-size: clamp(14px, 4vw, 18px);
        margin-bottom: 32px;
    }
    
    .services-grid,
    .works-list {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
    
    .service-card,
    .works__item {
        box-shadow: 0 18px 50px rgba(15, 30, 60, 0.25);
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .highlight-card__tag {
        font-size: 11px;
        letter-spacing: 0.16em;
    }

    .highlight-card__title {
        font-size: 18px;
    }
    
    .btn-more {
        padding: 16px 32px;
        font-size: 16px;
        gap: 12px;
    }
    
    .cta-content h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .cta-content p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .cta-buttons {
        gap: 16px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        max-width: 260px;
    }
    
    .equipment-metrics {
        grid-template-columns: 1fr;
        gap: var(--spacing-3);
    }

    .equipment-metric {
        min-height: auto;
        padding: var(--spacing-4);
    }

    .equipment-metric__value {
        font-size: 26px;
    }

    .equipment-feature {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-3);
        padding: var(--spacing-4) var(--spacing-4);
    }

    .equipment-feature__icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        color: #e74c3c;
    }

    .equipment-actions {
        justify-content: flex-start;
    }
} 

/* News Section Responsive Design */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .news-item-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .news-item-featured .news-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .news-item-featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .news-item-featured .news-image,
    .news-item:not(.news-item-featured) .news-image {
        height: 200px;
    }
    
    .news-item-featured .news-title {
        font-size: 22px;
    }
    
    .news-item-featured .news-excerpt {
        font-size: 16px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-empty {
        padding: var(--spacing-16) var(--spacing-6);
    }
    
    .news-empty-icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
        margin-bottom: 24px;
    }
    
    .news-empty h3 {
        font-size: 28px;
    }
    
    .news-empty p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: var(--spacing-16) 0;
    }
    
    .news-content {
        padding: 16px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .news-item-featured .news-title {
        font-size: 20px;
    }
    
    .news-excerpt {
        font-size: 14px;
    }
    
    .news-item-featured .news-excerpt {
        font-size: 16px;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-category {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .news-empty {
        padding: var(--spacing-12) var(--spacing-4);
    }
    
    .news-empty-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .news-empty h3 {
        font-size: 24px;
    }
}

/* セクションヘッダー共通スタイル */
.section-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary, #e74c3c);
    background: rgba(231, 76, 60, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title-large {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: var(--color-primary, #4A8DD1);
    margin-bottom: 16px;
    line-height: 1.3;
}

.global-cta {
    color: var(--color-primary, #4A8DD1);
}

/* ==========================================================================
   統一メインコンテンツスタイル
   ========================================================================== */

/* メインコンテンツセクション */
.main-content-section {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f5f9 100%);
    min-height: 60vh;
    position: relative;
}

/* コンテンツレイアウト */
.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-16);
    align-items: start;
}

/* メインコンテンツ記事 */
.content-article {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-3d-medium);
    transition: var(--transition-3d);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-article:hover {
    box-shadow: var(--shadow-3d-large);
    transform: translateY(-2px);
}

/* アイキャッチ画像 */
.content-featured-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.content-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.content-article:hover .content-featured-image img {
    opacity: 0.95;
}

/* コンテンツ本文 */
.content-body {
    padding: var(--spacing-10);
    line-height: 1.8;
    color: var(--color-neutral-700);
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    color: var(--color-primary);
    margin: var(--spacing-10) 0 var(--spacing-5);
    line-height: 1.4;
    font-weight: 700;
}

.content-body h1 {
    font-size: var(--font-size-3xl);
    border-bottom: 3px solid var(--color-secondary);
    padding-bottom: var(--spacing-2);
    margin-bottom: var(--spacing-6);
}

.content-body h2 {
    font-size: var(--font-size-2xl);
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: var(--spacing-2);
    margin-bottom: var(--spacing-5);
}

.content-body h3 {
    font-size: var(--font-size-xl);
    position: relative;
    padding-left: var(--spacing-6);
    margin-bottom: var(--spacing-4);
}

.content-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--color-secondary);
    border-radius: 2px;
}

.content-body h4 {
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    border-left: 4px solid var(--color-secondary);
    padding-left: var(--spacing-4);
    margin-bottom: var(--spacing-3);
}

.content-body p {
    margin-bottom: var(--spacing-5);
    color: var(--color-neutral-600);
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-3d-small);
    margin: var(--spacing-5) 0;
    transition: var(--transition-base);
}

.content-body img:hover {
    box-shadow: var(--shadow-3d-medium);
    transform: translateY(-1px);
}

.content-body ul,
.content-body ol {
    margin: var(--spacing-5) 0;
    padding-left: var(--spacing-6);
}

.content-body li {
    margin-bottom: var(--spacing-2);
    color: var(--color-neutral-600);
}

.content-body blockquote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--color-secondary);
    padding: var(--spacing-5) var(--spacing-6);
    margin: var(--spacing-8) 0;
    font-style: italic;
    color: var(--color-neutral-700);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    position: relative;
}

.content-body blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: var(--spacing-4);
    font-size: 60px;
    color: var(--color-secondary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-6) 0;
    font-size: var(--font-size-sm);
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-3d-small);
}

.content-body th,
.content-body td {
    padding: var(--spacing-3);
    text-align: left;
    border-bottom: 1px solid var(--color-neutral-200);
}

.content-body th {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    font-weight: 600;
}

.content-body tbody tr:hover {
    background: rgba(74, 141, 209, 0.05);
}

/* コンテンツメタ情報 */
.content-meta {
    padding: 0 var(--spacing-10) var(--spacing-10);
    border-top: 1px solid var(--color-neutral-200);
}

.content-meta-list {
    display: flex;
    gap: var(--spacing-6);
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--color-neutral-500);
    flex-wrap: wrap;
    margin-top: var(--spacing-4);
}

.content-meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
}

.content-meta-item i {
    color: var(--color-secondary);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .main-content-section {
        padding: var(--spacing-16) 0;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .content-body {
        padding: var(--spacing-6);
    }
    
    .content-body h1 {
        font-size: var(--font-size-2xl);
    }
    
    .content-body h2 {
        font-size: var(--font-size-xl);
    }
    
    .content-body h3 {
        font-size: var(--font-size-lg);
    }
    
    .content-body table {
        font-size: 12px;
    }
    
    .content-body th,
    .content-body td {
        padding: var(--spacing-2);
    }
}

@media (max-width: 480px) {
    .main-content-section {
        padding: var(--spacing-12) 0;
    }
    
    .content-body {
        padding: var(--spacing-4);
    }
    
    .content-body h1 {
        font-size: var(--font-size-xl);
    }
    
    .content-body h2 {
        font-size: var(--font-size-lg);
    }
    
    .content-body h3 {
        font-size: var(--font-size-md);
    }
    
    .content-meta-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-2);
    }
}

/* ==========================================================================
   軽量でおしゃれなアニメーション効果
   ========================================================================== */

/* エレガントなフェードイン */
@keyframes elegantFadeIn {
    0% { 
        opacity: 0;
        transform: translateY(10px); 
    }
    100% { 
        opacity: 1;
        transform: translateY(0); 
    }
}

/* ソフトパルス効果 */
@keyframes softPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* 軽いグロー効果 */
@keyframes gentleGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(74, 141, 209, 0.2); 
    }
    50% { 
        box-shadow: 0 0 20px rgba(74, 141, 209, 0.4); 
    }
}

/* カラー変更アニメーション */
@keyframes colorShift {
    0% { color: var(--color-primary); }
    50% { color: var(--color-secondary); }
    100% { color: var(--color-primary); }
}

/* 軽いスライドイン */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ボタンのエレガントなホバー効果 */
.btn-elegant-hover {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.btn-elegant-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-elegant-hover:hover::before {
    left: 100%;
}

/* カードのソフトアニメーション */
.card-soft-hover {
    transition: var(--transition-hover);
}

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

/* テキストのソフトアニメーション */
.text-elegant {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.text-elegant:hover {
    color: var(--color-secondary);
    opacity: 0.9;
}

/* アイコンの軽いアニメーション */
.icon-gentle-spin {
    transition: transform 0.3s ease;
}

.icon-gentle-spin:hover {
    transform: rotate(10deg);
}

/* プログレッシブアニメーション用のクラス */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* 軽いアンダーライン効果 */
.underline-elegant {
    position: relative;
    text-decoration: none;
}

.underline-elegant::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease, left 0.3s ease;
}

.underline-elegant:hover::after {
    width: 100%;
    left: 0;
}

/* ==========================================================================
   加工実績関連のスタイル追加
   ========================================================================== */

/* 加工実績がない場合の表示 */
.no-works-message,
.no-works-grid {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

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

.no-works-content i {
    font-size: 64px;
    color: var(--color-primary);
    margin-bottom: 24px;
    opacity: 0.7;
}

.no-works-content h3,
.no-works-content h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-neutral-800);
    margin-bottom: 16px;
}

.no-works-content p {
    color: var(--color-neutral-600);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* 加工実績のタイトルリンク */
.product-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-info h4 a:hover {
    color: var(--color-primary);
}

/* フィルターアニメーション */
.product-card.filter-animate {
    animation: filterSlideIn 0.5s ease-out;
}

@keyframes filterSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* フィルターボタンの改良 */
.filter-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 141, 209, 0.3);
}

/* 製品カードのホバー効果改良 */
.product-card {
    transition: var(--transition-hover-light);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.product-overlay {
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}
