/* リセット・基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

:root {
    /* カラーシステム */
    --primary-50: #f0f9f4;
    --primary-100: #dcf2e7;
    --primary-200: #bbe5d1;
    --primary-300: #8dd3b3;
    --primary-400: #58ba8e;
    --primary-500: #2d6e4e;
    --primary-600: #1f5a3f;
    --primary-700: #1a4a33;
    --primary-800: #173d2b;
    --primary-900: #133325;
    
    /* ニュートラルカラー */
    --neutral-50: #fafbfb;
    --neutral-100: #f5f6f7;
    --neutral-200: #eaebec;
    --neutral-300: #d5d7da;
    --neutral-400: #9ca0a6;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    
    /* サーフェスカラー */
    --surface-primary: #ffffff;
    --surface-secondary: #fafbfb;
    --surface-tertiary: #f5f6f7;
    
    /* スペーシングシステム */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* タイポグラフィスケール */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* シャドウシステム */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* ボーダー半径 */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--surface-primary);
    font-weight: 400;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* コンテナ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 1440px) {
    .container {
        max-width: 1440px;
        padding: 0 var(--space-2xl);
    }
}

/* ヘッダー */
.header {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-600);
    padding: var(--space-lg) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--neutral-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d6e4e;
    letter-spacing: 0.02em;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navigation a {
    color: #2d6e4e;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
}

.navigation a:hover,
.navigation a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #2d6e4e 0%, #4a8968 100%);
    box-shadow: 0 2px 10px rgba(45, 110, 78, 0.3);
}

/* ハンバーガーメニューボタン */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
    border-radius: 6px;
    transition: all 0.2s ease;
    /* タッチデバイス最適化 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    /* より大きなタッチターゲット */
    min-width: 40px;
    min-height: 40px;
}

.menu-toggle:hover {
    background-color: rgba(45, 110, 78, 0.1);
    transform: scale(1.05);
}

.menu-toggle:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

.menu-toggle:active {
    transform: scale(0.95);
    background-color: rgba(45, 110, 78, 0.15);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: var(--primary-600);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    display: block;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* メニューオーバーレイ */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}


/* メインコンテンツ */
main {
    margin-top: 0;
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    background: 
        linear-gradient(
            135deg,
            var(--primary-500) 0%,
            var(--primary-400) 35%,
            var(--primary-300) 100%
        );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(
            ellipse at top right,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at bottom left,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 50%
        );
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s infinite linear;
    z-index: 1;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-60px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-content h2 {
    font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
    font-weight: 800;
    margin-bottom: var(--space-xl);
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: none;
}

.hero-content p {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* セクション共通スタイル */
section {
    padding: var(--space-5xl) 0;
}

section h2 {
    text-align: center;
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    margin-bottom: var(--space-4xl);
    color: var(--primary-600);
    position: relative;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-400) 0%, var(--primary-500) 100%);
    margin: var(--space-xl) auto 0;
    border-radius: var(--radius-full);
    position: relative;
}

section h2::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--neutral-200);
}

/* サービスセクション */
.services {
    background: var(--surface-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--neutral-200) 50%, transparent 100%);
}

.services-intro,
.philosophy-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-4xl) auto;
    font-size: var(--text-lg);
    color: var(--neutral-600);
    line-height: 1.7;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.service-item {
    background: var(--surface-primary);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-200);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-xl) auto;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-icon::after {
    transform: rotate(45deg) translate(100%, 100%);
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    background: white;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    z-index: 2;
}

.office-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l8-4v18'/%3E%3Cpath d='M19 21V11l-6-4'/%3E%3Cpath d='M9 9v.01'/%3E%3Cpath d='M9 12v.01'/%3E%3Cpath d='M9 15v.01'/%3E%3Cpath d='M9 18v.01'/%3E%3C/svg%3E");
}

.building-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v8h20v-8a2 2 0 0 0-2-2h-2'/%3E%3Cpath d='M10 6h.01'/%3E%3Cpath d='M10 10h.01'/%3E%3Cpath d='M10 14h.01'/%3E%3Cpath d='M14 6h.01'/%3E%3Cpath d='M14 10h.01'/%3E%3Cpath d='M14 14h.01'/%3E%3C/svg%3E");
}

.clean-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.service-item:hover .service-icon {
    transform: translateY(-8px) scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-2xl);
}

/* サービス詳細ヘッダー背景画像スタイル */
.office-cleaning-bg {
    background-image: linear-gradient(rgba(45, 110, 78, 0.3), rgba(45, 110, 78, 0.3)), url('../images/office-cleaning.webp');
}

.mansion-cleaning-bg {
    background-image: linear-gradient(rgba(45, 110, 78, 0.3), rgba(45, 110, 78, 0.3)), url('../images/mansion-cleaning.webp');
}

.special-cleaning-bg {
    background-image: linear-gradient(rgba(45, 110, 78, 0.3), rgba(45, 110, 78, 0.3)), url('../images/special-cleaning.webp');
}

.office-cleaning-bg,
.mansion-cleaning-bg,
.special-cleaning-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: var(--space-3xl);
}

.service-header-overlay {
    background: rgba(255, 255, 255, 0.8);
    padding: var(--space-2xl) var(--space-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-header-overlay h2 {
    color: var(--primary-600);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    text-align: left;
}

.service-item h3 {
    color: var(--primary-600);
    margin-bottom: var(--space-lg);
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.service-item p {
    color: var(--neutral-600);
    line-height: 1.7;
    font-size: var(--text-base);
    text-align: left;
    max-width: none;
}

/* 企業理念セクション */
.philosophy {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--surface-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M0 0l100 100M100 0L0 100' stroke='%23000' stroke-width='0.5' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.philosophy-item {
    background: var(--surface-primary);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.philosophy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-400) 0%, var(--primary-500) 100%);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.philosophy-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-200);
}

.philosophy-item h3 {
    color: var(--primary-600);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.philosophy-item p {
    color: var(--neutral-600);
    line-height: 1.7;
    font-size: var(--text-base);
    text-align: left;
}

/* 私たちの強みセクション（新レイアウト） */
.strengths {
    background: var(--surface-primary);
    position: relative;
}

.strengths-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.strength-main {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
}

.strength-main h3 {
    color: var(--primary-600);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.strength-main p {
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-size: var(--text-lg);
}

.strength-main ul {
    list-style: none;
    padding: 0;
}

.strength-main li {
    color: var(--neutral-700);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--neutral-200);
    position: relative;
    padding-left: var(--space-lg);
}

.strength-main li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
}

.strength-main li:last-child {
    border-bottom: none;
}

.strength-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.strength-item {
    background: var(--surface-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.strength-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400) 0%, var(--primary-500) 100%);
}

.strength-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
}

.strength-item h4 {
    color: var(--primary-600);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.strength-item p {
    color: var(--neutral-600);
    line-height: 1.6;
    font-size: var(--text-sm);
}

/* 清掃プロセスセクション（ステップ形式） */
.process {
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--surface-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-100) 0%, transparent 70%);
    transform: skewX(-15deg);
    opacity: 0.5;
}

.process-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-4xl) auto;
    font-size: var(--text-lg);
    color: var(--neutral-600);
    line-height: 1.7;
}

.process-steps {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 40px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-300) 0%, var(--primary-500) 50%, var(--primary-300) 100%);
    z-index: 1;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-4xl);
    position: relative;
    z-index: 2;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-right: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    flex-shrink: 0;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
    -webkit-mask-composite: xor;
}

.step-content {
    background: var(--surface-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    flex: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.step:hover .step-content::before {
    left: 100%;
}

.step:hover .step-content {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.step-content h3 {
    color: var(--primary-600);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.step-content p {
    color: var(--neutral-600);
    line-height: 1.7;
    font-size: var(--text-base);
}

/* 安全・品質への取り組みセクション */
.quality-safety {
    background: var(--surface-primary);
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.quality-item {
    background: linear-gradient(135deg, var(--surface-secondary) 0%, var(--surface-primary) 100%);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quality-item.wide {
    grid-column: 1 / -1;
}

.quality-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-400) 0%, var(--primary-500) 100%);
}

.quality-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-200);
}

.quality-item h3 {
    color: var(--primary-600);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.quality-item p {
    color: var(--neutral-600);
    line-height: 1.7;
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
}

.quality-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.quality-features span {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    border: 1px solid var(--primary-200);
}

/* フッター拡張 */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: white;
}

.footer-section h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.9);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: var(--space-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.company-info-footer {
    margin-top: var(--space-lg);
}

.company-info-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ページヒーローセクション */
.page-hero {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    color: white;
    padding: var(--space-5xl) 0 var(--space-4xl);
    margin-top: 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: skewX(-15deg);
}

.page-hero-content h1 {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: 800;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.page-hero-content p {
    font-size: var(--text-lg);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* サービス詳細ページ */
.detailed-services {
    background: var(--surface-secondary);
    padding: var(--space-5xl) 0;
}

.service-detail-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xl);
}

.service-detail {
    background: var(--surface-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-200);
}

.service-detail-header {
    border-bottom: 1px solid var(--neutral-200);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    overflow: hidden;
}

/* 背景画像がない場合のデフォルトスタイル */
.service-detail-header:not(.office-cleaning-bg):not(.mansion-cleaning-bg):not(.special-cleaning-bg) {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-3xl);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.service-detail-header:not(.office-cleaning-bg):not(.mansion-cleaning-bg):not(.special-cleaning-bg) h2 {
    color: var(--primary-600);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.service-detail-content {
    padding: var(--space-3xl);
}

.service-summary {
    font-size: var(--text-lg);
    color: var(--neutral-600);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.service-features {
    margin-bottom: var(--space-3xl);
}

.service-features h3 {
    color: var(--primary-600);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.feature-item {
    background: var(--surface-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
}

.feature-item h4 {
    color: var(--primary-600);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.feature-item ul {
    list-style: none;
    padding: 0;
}

.feature-item li {
    color: var(--neutral-600);
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: var(--space-lg);
}

.feature-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
}

.service-schedule,
.service-areas,
.special-services {
    margin-top: var(--space-2xl);
}

.service-schedule h3,
.service-areas h3,
.special-services h3 {
    color: var(--primary-600);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.schedule-item {
    background: var(--surface-primary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    text-align: center;
}

.schedule-item .frequency {
    display: inline-block;
    background: var(--primary-500);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.schedule-item .tasks {
    color: var(--neutral-600);
    font-size: var(--text-sm);
}

.area-grid,
.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.area-item,
.special-item {
    background: var(--surface-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
}

.area-item h4,
.special-item h4 {
    color: var(--primary-600);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.area-item p,
.special-item p {
    color: var(--neutral-600);
    line-height: 1.6;
    font-size: var(--text-sm);
}

/* 清掃機材・技術セクション */
.equipment-technology {
    background: var(--surface-primary);
    padding: var(--space-5xl) 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-3xl);
}

.equipment-category {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
}

.equipment-category h3 {
    color: var(--primary-600);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    text-align: center;
}

.equipment-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.equipment-item {
    background: var(--surface-primary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
}

.equipment-item h4 {
    color: var(--primary-600);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.equipment-item p {
    color: var(--neutral-600);
    line-height: 1.6;
    font-size: var(--text-sm);
}

/* 料金体系セクション */
.pricing-info {
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-5xl) 0;
}

.pricing-note {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl) auto;
    background: var(--surface-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-md);
}

.pricing-note p {
    color: var(--neutral-600);
    font-size: var(--text-lg);
    line-height: 1.7;
}

.pricing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.pricing-feature {
    background: var(--surface-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-feature h3 {
    color: var(--primary-600);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.pricing-feature p {
    color: var(--neutral-600);
    line-height: 1.6;
}

/* About ページ専用スタイル */
.company-history {
    background: var(--surface-primary);
    padding: var(--space-5xl) 0;
}

.history-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
    margin-top: var(--space-2xl);
}

.history-main p {
    color: var(--neutral-600);
    line-height: 1.8;
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
}

.history-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.highlight-item {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
}

.highlight-item h3 {
    color: var(--primary-600);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.highlight-item p {
    color: var(--neutral-600);
    line-height: 1.6;
    font-size: var(--text-sm);
}

.our-values {
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-5xl) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.value-item {
    background: var(--surface-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--surface-primary) 100%);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg) auto;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.value-icon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: white;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.trust-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.quality-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E"); }
.team-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.improvement-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M7 17l9.2-9.2M17 17H7V7'/%3E%3C/svg%3E"); }
.community-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3Ccircle cx='12' cy='9' r='3'/%3E%3C/svg%3E"); }

.value-item h3 {
    color: var(--primary-600);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.value-item p {
    color: var(--neutral-600);
    line-height: 1.6;
}

.service-philosophy {
    background: var(--surface-primary);
    padding: var(--space-5xl) 0;
}

.philosophy-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.philosophy-text h3 {
    color: var(--primary-600);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    margin-top: var(--space-2xl);
}

.philosophy-text h3:first-child {
    margin-top: 0;
}

.philosophy-text p {
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.philosophy-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.feature-box {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
}

.feature-box h4 {
    color: var(--primary-600);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.feature-box p {
    color: var(--neutral-600);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.our-promise {
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-5xl) 0;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.promise-item {
    background: var(--surface-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.promise-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.promise-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-lg);
    font-weight: 700;
    margin: 0 auto var(--space-lg) auto;
}

.promise-item h3 {
    color: var(--primary-600);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.promise-item p {
    color: var(--neutral-600);
    line-height: 1.6;
}

/* Philosophy ページ専用スタイル */
.philosophy-main {
    background: var(--surface-primary);
    padding: var(--space-5xl) 0;
}

.philosophy-hero {
    text-align: center;
    margin-bottom: var(--space-5xl);
}

.mission-statement {
    font-size: var(--text-2xl);
    color: var(--neutral-600);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.core-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-5xl);
}

.core-value {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.core-value.quality {
    direction: rtl;
}

.core-value.quality * {
    direction: ltr;
}

.value-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon-large {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-2xl);
}

.value-icon-large::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.trust-large::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.quality-large::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E"); }
.community-large::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3Ccircle cx='12' cy='9' r='3'/%3E%3C/svg%3E"); }

.value-content h3 {
    color: var(--primary-600);
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.value-content h4 {
    color: var(--neutral-700);
    font-size: var(--text-xl);
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.value-content p {
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.value-content ul {
    list-style: none;
    padding: 0;
}

.value-content li {
    color: var(--neutral-600);
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: var(--space-lg);
}

.value-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
}

.action-principles {
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-5xl) 0;
}

.principles-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl) auto;
}

.principles-intro p {
    color: var(--neutral-600);
    font-size: var(--text-lg);
    line-height: 1.7;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.principle-item {
    background: var(--surface-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.principle-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.principle-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg) auto;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.principle-icon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: white;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.customer-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.excellence-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E"); }
.integrity-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.teamwork-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.growth-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M7 17l9.2-9.2M17 17H7V7'/%3E%3C/svg%3E"); }
.safety-icon::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }

.principle-item h3 {
    color: var(--primary-600);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.principle-item p {
    color: var(--neutral-600);
    line-height: 1.6;
}

.future-vision {
    background: var(--surface-primary);
    padding: var(--space-5xl) 0;
}

.vision-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.vision-main h3 {
    color: var(--primary-600);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.vision-main p {
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.vision-goals {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.goal-item {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
}

.goal-item h4 {
    color: var(--primary-600);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.goal-item p {
    color: var(--neutral-600);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* 会社概要セクション */
.company {
    background: var(--surface-primary);
    padding: var(--space-5xl) 0;
}

/* 事業方針セクション */
.business-policy {
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-5xl) 0;
}

.policy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.policy-main h3 {
    color: var(--primary-600);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.policy-main p {
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.policy-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.policy-item {
    background: var(--surface-primary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-md);
}

.policy-item h4 {
    color: var(--primary-600);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.policy-item p {
    color: var(--neutral-600);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* 品質へのこだわりセクション */
.quality-commitment {
    background: var(--surface-primary);
    padding: var(--space-5xl) 0;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.commitment-item {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--surface-secondary) 100%);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.commitment-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.commitment-item h3 {
    color: var(--primary-600);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.commitment-item p {
    color: var(--neutral-600);
    line-height: 1.7;
}

.company-info {
    max-width: 800px;
    margin: 0 auto;
}

.company-info table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: #fafafa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.company-info td {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.company-info td:first-child {
    background: #f1f8e9;
    font-weight: bold;
    color: #2d6e4e;
    width: 30%;
}

.company-info tr:last-child td {
    border-bottom: none;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    text-align: center;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.footer p {
    opacity: 0.9;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .strengths-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps::before {
        left: 30px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: var(--text-lg);
        margin-right: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-xs) var(--space-md);
    }
    
    .logo {
        font-size: var(--text-base);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding-top: 50px;
    }
    
    .navigation.active {
        right: 0;
    }
    
    .navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 0 var(--space-xl);
    }
    
    .navigation li {
        border-bottom: 1px solid var(--neutral-200);
    }
    
    .navigation li:last-child {
        border-bottom: none;
    }
    
    .navigation a {
        display: block;
        padding: var(--space-lg) 0;
        font-size: var(--text-base);
        color: var(--neutral-700);
        background: none;
        border-radius: 0;
    }
    
    .navigation a:hover,
    .navigation a.active {
        color: var(--primary-600);
        background: none;
        box-shadow: none;
    }
    
    main {
        margin-top: 50px;
    }
    
    .page-hero {
        margin-top: 50px;
        padding: var(--space-3xl) 0 var(--space-2xl);
    }
    
    .hero-content h2 {
        font-size: clamp(var(--text-2xl), 6vw, var(--text-4xl));
        word-break: keep-all;
        overflow-wrap: normal;
        white-space: nowrap;
    }
    
    .hero-content p {
        font-size: var(--text-base);
    }
    
    section {
        padding: var(--space-3xl) 0;
    }
    
    section h2 {
        font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
        margin-bottom: var(--space-2xl);
    }
    
    .services-grid,
    .philosophy-content,
    .values-grid,
    .principles-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .service-item,
    .philosophy-item {
        padding: var(--space-xl);
    }
    
    .company-info table {
        font-size: var(--text-sm);
    }
    
    .company-info td {
        padding: var(--space-md);
    }
    
    .company-info td:first-child {
        width: 40%;
    }
    
    .strengths-layout {
        grid-template-columns: 1fr;
    }
    
    .strength-main {
        padding: var(--space-xl);
    }
    
    .strength-side {
        order: -1;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: var(--space-lg);
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
        text-align: left;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: var(--space-lg);
    }
    
    /* サービス詳細ページ */
    .service-detail-header:not(.office-cleaning-bg):not(.mansion-cleaning-bg):not(.special-cleaning-bg) {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
        padding: var(--space-xl);
    }
    
    .office-cleaning-bg,
    .mansion-cleaning-bg,
    .special-cleaning-bg {
        min-height: 250px;
        justify-content: center;
        padding: var(--space-xl);
    }
    
    .service-header-overlay {
        padding: var(--space-lg) var(--space-xl);
    }
    
    .service-header-overlay h2 {
        font-size: var(--text-2xl);
        text-align: center;
    }
    
    .service-detail-content {
        padding: var(--space-xl);
    }
    
    .feature-list,
    .schedule-grid,
    .area-grid,
    .special-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .equipment-category {
        padding: var(--space-xl);
    }
    
    .pricing-features {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .pricing-note {
        padding: var(--space-lg);
        margin-bottom: var(--space-xl);
    }
    
    /* 会社概要ページ */
    .policy-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .commitment-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    /* 私たちについてページ */
    .history-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .philosophy-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .philosophy-features {
        order: -1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: var(--text-base);
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-break: keep-all;
        overflow-wrap: normal;
        white-space: nowrap;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .navigation ul {
        font-size: 0.9rem;
        gap: 0.8rem;
    }
    
    .service-item,
    .philosophy-item {
        padding: 1rem;
    }
    
    .strength-main {
        padding: var(--space-lg);
    }
    
    .company-info td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    /* サービス詳細ページ（極小画面） */
    .service-detail-header:not(.office-cleaning-bg):not(.mansion-cleaning-bg):not(.special-cleaning-bg) {
        padding: var(--space-md);
    }
    
    .office-cleaning-bg,
    .mansion-cleaning-bg,
    .special-cleaning-bg {
        min-height: 200px;
        justify-content: center;
        padding: var(--space-lg);
    }
    
    .service-header-overlay {
        padding: var(--space-md) var(--space-lg);
    }
    
    .service-header-overlay h2 {
        font-size: var(--text-xl);
        text-align: center;
    }
    
    .service-detail-content {
        padding: var(--space-md);
    }
    
    .equipment-category {
        padding: var(--space-md);
    }
    
    .feature-item,
    .area-item,
    .special-item,
    .equipment-item {
        padding: var(--space-md);
    }
    
    .pricing-note {
        padding: var(--space-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
        text-align: left;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: var(--space-md);
    }
}

/* 高度なアニメーション */
.animate-element {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* パフォーマンス最適化 */
.service-item,
.philosophy-item,
.service-icon,
.service-header-overlay {
    will-change: transform;
}

/* スムーズなスクロール改善 */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ホバーエフェクト */
.navigation a,
.service-item,
.philosophy-item {
    transition: all 0.3s ease;
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4a8968;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d6e4e;
}