/* ========================================
   AI・DX開発支援 ランディングページ
   Warm Tech Design System
   ======================================== */

/* カスタムプロパティ */
:root {
    /* カラー */
    --color-primary: #0D9488;
    --color-primary-light: #10B981;
    --color-accent: #F97316;
    --color-accent-light: #FB923C;
    --color-bg: #FAFAF9;
    --color-bg-warm: #F5F5F4;
    --color-text: #292524;
    --color-text-muted: #57534E;
    --color-text-light: #78716C;
    --color-white: #FFFFFF;
    --color-border: #E7E5E4;

    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, #0D9488 0%, #10B981 100%);
    --gradient-accent: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
    --gradient-bg: linear-gradient(180deg, #FAFAF9 0%, #F5F5F4 100%);

    /* シャドウ */
    --shadow-sm: 0 1px 2px rgba(41, 37, 36, 0.05);
    --shadow-md: 0 4px 6px rgba(41, 37, 36, 0.07), 0 2px 4px rgba(41, 37, 36, 0.05);
    --shadow-lg: 0 10px 15px rgba(41, 37, 36, 0.1), 0 4px 6px rgba(41, 37, 36, 0.05);
    --shadow-xl: 0 20px 25px rgba(41, 37, 36, 0.1), 0 10px 10px rgba(41, 37, 36, 0.04);

    /* ボーダー */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* スペーシング */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* トランジション */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* リセット */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* コンテナ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* レスポンシブヘルパー */
.sp-only {
    display: none;
}

.pc-only {
    display: inline;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
    .pc-only {
        display: none;
    }
}

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ボタンシャインエフェクト */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-shine:hover::before {
    left: 100%;
}

/* ボタングローエフェクト */
.btn-primary.btn-shine {
    box-shadow:
        var(--shadow-md),
        0 0 20px rgba(13, 148, 136, 0);
    transition: all var(--transition-base), box-shadow 0.4s ease;
}

.btn-primary.btn-shine:hover {
    box-shadow:
        var(--shadow-lg),
        0 0 30px rgba(13, 148, 136, 0.4);
}

/* マグネティックボタン */
.btn-magnetic {
    transition: all var(--transition-base), transform 0.2s ease-out;
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

/* セクションヘッダー */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-label {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-4xl) 0;
    overflow: hidden;
    background: var(--color-bg);
}

/* 背景レイヤーシステム */
.hero-bg-layers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* 紙テクスチャオーバーレイ */
.hero-paper-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 150px 150px;
    mix-blend-mode: overlay;
}

/* グリッドパターン（ノートブック風） */
.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* グラデーションオーブ */
.hero-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

.hero-orb.orb-teal {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: floatOrb1 20s ease-in-out infinite;
}

.hero-orb.orb-green {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    top: 50%;
    right: -5%;
    animation: floatOrb2 25s ease-in-out infinite;
}

.hero-orb.orb-orange {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation: floatOrb3 18s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, 30px) scale(1.1); }
    50% { transform: translate(20px, -20px) scale(0.95); }
    75% { transform: translate(-30px, 40px) scale(1.05); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -30px) scale(1.08); }
    66% { transform: translate(30px, 20px) scale(0.92); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, -40px) scale(1.15); }
}

/* マウストラッキングスポットライト */
.hero-spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 60%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: left, top;
}

.hero:hover .hero-spotlight {
    opacity: 1;
}

/* 装飾シェイプ - グラデーション抽象オブジェクト */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

/* グラデーションブロブ共通スタイル */
.gradient-blob {
    position: absolute;
    opacity: 0.15;
    filter: blur(2px);
    will-change: transform;
}

/* ブロブ1 - 大きめ、右上 */
.blob-1 {
    width: 350px;
    height: 350px;
    top: -5%;
    right: 5%;
    animation: floatBlob1 20s ease-in-out infinite;
}

/* ブロブ2 - 中サイズ、左下 */
.blob-2 {
    width: 280px;
    height: 280px;
    bottom: 10%;
    left: 3%;
    animation: floatBlob2 25s ease-in-out infinite;
}

/* ブロブ3 - 小さめ、右下 */
.blob-3 {
    width: 200px;
    height: 200px;
    bottom: 25%;
    right: 15%;
    animation: floatBlob3 18s ease-in-out infinite;
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, 30px) rotate(10deg); }
    50% { transform: translate(15px, -15px) rotate(-5deg); }
    75% { transform: translate(-10px, 20px) rotate(5deg); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(25px, -20px) rotate(-15deg); }
    66% { transform: translate(-15px, 15px) rotate(10deg); }
}

@keyframes floatBlob3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -25px) scale(1.1); }
}

/* パーティクル */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.4;
    will-change: transform, opacity;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }
    25% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(-30px) translateX(10px);
        opacity: 0.5;
    }
    75% {
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

/* スタッガードエントランスアニメーション */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* タイピングアニメーション */
.typing-text {
    display: inline;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--color-primary);
    margin-left: 2px;
    animation: cursorBlink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-label {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-lg);
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}


.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

/* ========================================
   サービスセクション
   ======================================== */
.services {
    padding: var(--space-4xl) 0;
    background: var(--gradient-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.service-description {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================
   ソリューションセクション
   ======================================== */
.solutions {
    position: relative;
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, #0F766E 0%, #0D9488 50%, #10B981 100%);
    overflow: hidden;
}

.solutions .section-header {
    position: relative;
    z-index: 2;
}

.solutions .section-label {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.solutions .section-title {
    color: var(--color-white);
}

.solutions .section-description {
    color: rgba(255, 255, 255, 0.8);
}

/* 背景装飾 */
.solutions-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.solutions-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: white;
}

.solutions-bg-shape.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.solutions-bg-shape.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -100px;
    animation: floatShape 15s ease-in-out infinite reverse;
}

.solutions-bg-shape.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatShape 25s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* グリッドレイアウト */
.solutions-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

/* ソリューションカード */
.solution-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* イラストエリア */
.solution-illustration {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(16, 185, 129, 0.08) 100%);
    border-radius: var(--radius-lg);
}

.solution-illustration svg {
    width: 120px;
    height: 120px;
}

/* コンテンツエリア */
.solution-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.solution-comparison {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.solution-before,
.solution-after {
    flex: 1;
}

.solution-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-before .solution-tag {
    background: var(--color-bg-warm);
    color: var(--color-text-muted);
}

.solution-after .solution-tag {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.solution-before p,
.solution-after p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text);
}

.solution-before p strong {
    color: var(--color-accent);
    font-weight: 700;
}

.solution-after p strong {
    color: var(--color-primary);
    font-weight: 700;
}

.solution-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--color-white);
    flex-shrink: 0;
}

.solution-arrow svg {
    width: 18px;
    height: 18px;
}

/* メトリクス表示 */
.solution-metric {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ========================================
   導入の流れセクション
   ======================================== */
.flow {
    padding: var(--space-4xl) 0;
    background: var(--gradient-bg);
}

.flow-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light));
}

.flow-step {
    position: relative;
    display: flex;
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);
}

.flow-step:last-child {
    padding-bottom: 0;
}

.flow-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.flow-content {
    flex: 1;
    padding-top: var(--space-sm);
}

.flow-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.flow-description {
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.flow-duration {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ========================================
   お問い合わせセクション
   ======================================== */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-3xl);
    background: var(--gradient-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.contact-description {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-benefits svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* お問い合わせフォーム */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* form-row削除済み - 縦並び1カラムレイアウトに変更 */

/* フォーム上部の「1分で完了」表記 */
.form-quick-note {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-bg-warm);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.form-group .required {
    font-size: 0.7rem;
    color: var(--color-white);
    background: var(--color-accent);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.form-group .optional {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    background: var(--color-border);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    padding-top: var(--space-sm);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--color-primary-light);
}

.btn-submit {
    width: 100%;
    margin-top: var(--space-sm);
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: var(--color-text);
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-column a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-white);
}

.footer-column li:not(:has(a)) {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   アニメーション
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 64px;
    }

    .hero {
        min-height: auto;
        padding: var(--space-3xl) 0 var(--space-4xl);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .scroll-indicator {
        display: none;
    }

    /* モバイルでグラデーションブロブを簡略化 */
    .gradient-blob {
        opacity: 0.1;
        filter: blur(4px);
    }

    .blob-1 {
        width: 200px;
        height: 200px;
    }

    .blob-2 {
        width: 150px;
        height: 150px;
    }

    .blob-3 {
        display: none;
    }

    .hero-orb {
        filter: blur(100px);
        opacity: 0.5;
    }

    .hero-orb.orb-teal {
        width: 300px;
        height: 300px;
    }

    .hero-orb.orb-green {
        width: 250px;
        height: 250px;
    }

    .hero-orb.orb-orange {
        width: 200px;
        height: 200px;
    }

    .hero-grid-pattern {
        opacity: 0.5;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        padding: var(--space-lg);
    }

    .solution-illustration {
        height: 140px;
    }

    .solution-illustration svg {
        width: 100px;
        height: 100px;
    }

    .solution-comparison {
        flex-direction: column;
        text-align: center;
    }

    .solution-arrow {
        transform: rotate(90deg);
    }

    .solution-metric {
        justify-content: center;
    }

    .metric-value {
        font-size: 1.75rem;
    }

    .flow-timeline::before {
        left: 20px;
    }

    .flow-number {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .flow-step {
        gap: var(--space-lg);
    }

    .contact-card {
        padding: var(--space-xl);
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .contact-form-wrapper {
        padding: var(--space-lg);
    }

    /* form-row削除済み */

    .form-group input,
    .form-group textarea {
        padding: var(--space-sm) var(--space-md);
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* ========================================
   アクセシビリティ対応
   ======================================== */

/* prefers-reduced-motion対応 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-orb,
    .gradient-blob,
    .particle {
        animation: none !important;
    }

    .gradient-blob path {
        animation: none !important;
    }

    .hero-spotlight {
        display: none;
    }

    .typing-cursor {
        animation: none;
    }

    .stagger-item,
    .fade-in {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* フォーカス状態の強化 */
.btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ハイコントラストモード対応 */
@media (prefers-contrast: high) {
    .hero-paper-texture,
    .hero-grid-pattern {
        display: none;
    }

    .hero-orb {
        opacity: 0.3;
    }

    .btn-primary {
        border: 2px solid var(--color-white);
    }

    .stat-card {
        border: 2px solid var(--color-text);
    }
}
