/* ========================================
   CSS Variables & Reset
======================================== */
:root {
    /* Colors - Intelligent Green & Charcoal Theme */
    --primary: #2E8B57;
    --primary-dark: #246B45;
    --primary-light: #e8f5ee;
    --secondary: #00A86B;
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-light: #888888;
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-dark: #2F4F4F;
    --border-color: #e5e5e5;

    /* Accent Gold - 高級感のあるゴールド */
    --gold: #C5A572;
    --gold-dark: #A8894D;
    --gold-light: #E8D5B5;

    /* Gradients - Sophisticated Green Theme */
    --gradient-primary: linear-gradient(135deg, #2E8B57 0%, #00A86B 100%);
    --gradient-dark: linear-gradient(135deg, #2F4F4F 0%, #333333 100%);
    --gradient-hero: linear-gradient(135deg, #2E8B57 0%, #3A9B68 50%, #00A86B 100%);
    --gradient-gold: linear-gradient(135deg, #C5A572 0%, #E8D5B5 50%, #C5A572 100%);

    /* Typography */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Utility Classes
======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.sp-only {
    display: none;
}

.pc-only {
    display: inline;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
    .pc-only {
        display: none;
    }
}

/* ========================================
   Buttons - Modern Style
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.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;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(46, 139, 87, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46, 139, 87, 0.35);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46, 139, 87, 0.25);
}

.btn-large {
    padding: var(--space-lg) var(--space-3xl);
    font-size: var(--font-size-lg);
}

/* アイコン付きボタン */
.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-icon:hover svg {
    transform: translateX(4px);
}

/* ========================================
   Header
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    gap: var(--space-2xl);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 外部リンクアイコン */
.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
}

.external-icon {
    font-size: 0.7em;
    opacity: 0.7;
}

.btn .external-icon {
    font-size: 0.75em;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    height: 24px;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 var(--space-md);
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2xl);
    }

    .nav-link {
        font-size: var(--font-size-xl);
    }

    .menu-toggle {
        display: flex;
    }

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

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

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

/* ========================================
   Hero Section - Mission Focus (Modern + Tech)
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--header-height) var(--space-xl) var(--space-4xl);
    background: linear-gradient(135deg, #0a1f1a 0%, #1a3a2a 50%, #0d2820 100%);
}

/* ミッション重視のヒーローセクション */
.hero-mission {
    background: linear-gradient(135deg, #0a1a15 0%, #1a3028 50%, #0d2018 100%);
}

/* テック背景コンテナ */
.hero-tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

/* グリッドパターン */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(46, 139, 87, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 139, 87, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

/* テックサークル */
.tech-circles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(46, 139, 87, 0.2);
}

.tech-circle-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    border-width: 2px;
    border-color: rgba(46, 139, 87, 0.15);
    animation: pulseCircle 8s ease-in-out infinite;
}

.tech-circle-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -50px;
    border-color: rgba(197, 165, 114, 0.15);
    animation: pulseCircle 10s ease-in-out infinite reverse;
}

.tech-circle-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 15%;
    border-color: rgba(46, 139, 87, 0.1);
    animation: pulseCircle 6s ease-in-out infinite 2s;
}

@keyframes pulseCircle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* 接続線 */
.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(46, 139, 87, 0.3), transparent);
    height: 1px;
}

.tech-line-1 {
    width: 40%;
    top: 30%;
    left: 5%;
    animation: linePulse 4s ease-in-out infinite;
}

.tech-line-2 {
    width: 30%;
    top: 60%;
    right: 10%;
    background: linear-gradient(90deg, transparent, rgba(197, 165, 114, 0.3), transparent);
    animation: linePulse 5s ease-in-out infinite 1s;
}

.tech-line-3 {
    width: 25%;
    bottom: 25%;
    left: 15%;
    animation: linePulse 6s ease-in-out infinite 2s;
}

@keyframes linePulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* ドットパターン */
.tech-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(46, 139, 87, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

/* グラデーションオーバーレイ */
.hero-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(46, 139, 87, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(197, 165, 114, 0.1) 0%, transparent 40%);
    z-index: 1;
}

/* 下部グラデーション */
.hero-mission::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(10, 26, 21, 0.9), transparent);
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: var(--space-4xl) var(--space-xl);
    position: relative;
    z-index: 2;
}

.hero-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: var(--space-xl);
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
}

.hero-label::before,
.hero-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-label::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-xl);
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* タイトルのグラデーション強調 */
.hero-title-highlight {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: 2;
}

.hero-scroll span {
    font-size: var(--font-size-xs);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    position: relative;
}

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

@keyframes scrollDown {
    0% {
        top: 0;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: calc(var(--header-height) + var(--space-2xl)) var(--space-md) var(--space-3xl);
        min-height: 100vh;
    }

    .hero-content {
        padding: var(--space-2xl) var(--space-sm);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
        line-height: 1.5;
    }

    .hero-label::before,
    .hero-label::after {
        width: 20px;
    }

    .hero-description {
        font-size: var(--font-size-base);
        line-height: 1.8;
    }

    .hero-scroll {
        display: none;
    }
}

/* ========================================
   Page Hero
======================================== */
.page-hero {
    padding: calc(var(--header-height) + var(--space-4xl)) var(--space-xl) var(--space-4xl);
    background: var(--bg-secondary);
    text-align: center;
}

.page-hero-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.page-hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
}

.page-hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-top: var(--space-md);
}

.service-hero {
    background: var(--gradient-primary);
    color: white;
}

.service-hero .page-hero-label {
    color: rgba(255, 255, 255, 0.8);
}

.service-hero .page-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .page-hero {
        padding: calc(var(--header-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
    }

    .page-hero-title {
        font-size: var(--font-size-3xl);
    }
}

/* ========================================
   Sections
======================================== */
.section {
    padding: var(--space-4xl) var(--space-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-3xl) var(--space-md);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }
}

/* ========================================
   Mission Section
======================================== */
.mission {
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    z-index: -1;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-size: var(--font-size-lg);
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.mission-text:last-child {
    margin-bottom: 0;
}

.mission-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* ========================================
   Services Preview - Light Theme
======================================== */
.services-preview {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* 薄いドットパターン */
.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(46, 139, 87, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

/* サービス紹介 - 左画像・右説明レイアウト */
.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.service-intro-image {
    position: relative;
    padding: 8px;
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    background: #ffffff;
}

.service-intro-content {
    text-align: left;
}

.service-intro-content .section-label {
    text-align: left;
}

.service-intro-content .section-title {
    text-align: left;
    margin-bottom: var(--space-sm);
}

.service-intro-content .section-subtitle {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.service-intro-content .section-label {
    text-align: left;
    color: var(--primary);
}

.service-intro-content .section-title {
    text-align: left;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.service-intro-content .section-subtitle {
    text-align: left;
    margin-bottom: var(--space-xl);
    color: var(--text-secondary);
}

.service-intro-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: var(--space-lg);
}

.service-intro-cta {
    margin-top: var(--space-xl);
}

@media (max-width: 768px) {
    .service-intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .service-intro-content {
        text-align: center;
    }

    .service-intro-content .section-label,
    .service-intro-content .section-title,
    .service-intro-content .section-subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .service-features {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Numbers Section - Light Theme
======================================== */
.numbers {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* 薄いグリッドパターン */
.numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(46, 139, 87, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 139, 87, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.numbers > .container {
    position: relative;
    z-index: 1;
}

.numbers .section-header {
    position: relative;
    z-index: 1;
}

.numbers .section-label {
    color: var(--primary);
}

.numbers .section-title {
    color: var(--text-primary);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.number-card {
    text-align: center;
    padding: var(--space-2xl);
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(46, 139, 87, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.number-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.15);
}

.number-value {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    line-height: 1;
}

.number-unit {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary);
}

.number-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-top: var(--space-md);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .number-card {
        padding: var(--space-lg);
    }

    .number-value {
        font-size: 3rem;
    }
}

/* ========================================
   Company Preview - Dark Tech Theme
======================================== */
.company-preview {
    background: linear-gradient(180deg, #0a1a15 0%, #1a3028 50%, #0d2018 100%);
    position: relative;
    overflow: hidden;
}

/* テックドット背景 */
.company-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(46, 139, 87, 0.12) 1px, transparent 1px);
    background-size: 25px 25px;
    z-index: 0;
}

/* グラデーションオーバーレイ */
.company-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(197, 165, 114, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(46, 139, 87, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.company-preview > .container {
    position: relative;
    z-index: 1;
}

.company-preview .section-header {
    position: relative;
    z-index: 1;
}

.company-preview .section-label {
    color: var(--gold);
}

.company-preview .section-title {
    color: #ffffff;
}

.company-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 1;
    gap: var(--space-4xl);
    align-items: center;
}

.company-info-brief {
    margin: var(--space-xl) 0;
    background: rgba(255, 255, 255, 0.03);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(46, 139, 87, 0.2);
    backdrop-filter: blur(10px);
}

.info-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(46, 139, 87, 0.2);
}

.info-row dt {
    font-size: var(--font-size-sm);
    color: var(--gold);
}

.info-row dd {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.9);
}

.company-preview-image {
    position: relative;
}

.company-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(46, 139, 87, 0.2);
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1), rgba(26, 48, 40, 0.8));
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
    border: 1px solid rgba(46, 139, 87, 0.2);
}

@media (max-width: 768px) {
    .company-preview-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* ========================================
   CTA Section - Modern
======================================== */
.cta-section {
    background: linear-gradient(135deg, #1a3a2a 0%, #2F4F4F 50%, #1a3a2a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* 装飾的なオーバーレイ */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(46, 139, 87, 0.15) 0%, transparent 60%);
    z-index: 0;
    animation: floatBg 15s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(197, 165, 114, 0.08) 0%, transparent 50%);
    z-index: 0;
    animation: floatBg 20s ease-in-out infinite reverse;
}

.cta-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.4;
}

.cta-text {
    font-size: var(--font-size-base);
    opacity: 0.85;
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
    background: var(--gold-light);
    color: var(--text-primary);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Company Info Section - Light Theme
======================================== */
.company-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* 薄いドットパターン */
.company-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(46, 139, 87, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
}

.company-section > .container {
    position: relative;
    z-index: 1;
}

.company-section .section-header {
    position: relative;
    z-index: 1;
}

.company-section .section-label {
    color: var(--primary);
}

.company-section .section-title {
    color: var(--text-primary);
}

.company-info-table {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(46, 139, 87, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.company-info-table .info-row {
    grid-template-columns: 160px 1fr;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-color);
}

.company-info-table .info-row dt {
    color: var(--primary);
    font-weight: 600;
}

.company-info-table .info-row dd {
    color: var(--text-primary);
}

.business-list {
    list-style: disc;
    padding-left: var(--space-lg);
    color: var(--text-primary);
}

.business-list li {
    margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
    .company-info-table .info-row {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .company-info-table .info-row dt {
        font-weight: 700;
        color: var(--primary);
    }
}

/* ========================================
   Message Section - Light Theme
======================================== */
.message-section {
    background: #f8fafa;
    position: relative;
    overflow: hidden;
}

/* 薄いドットパターン */
.message-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(46, 139, 87, 0.03) 1px, transparent 1px);
    background-size: 35px 35px;
    z-index: 0;
}

.message-section > .container {
    position: relative;
    z-index: 1;
}

.message-section .section-header {
    position: relative;
    z-index: 1;
}

.message-section .section-label {
    color: var(--primary);
}

.message-section .section-title {
    color: var(--text-primary);
}

.message-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-3xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.message-image .image-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #f0f4f0, #e8ebe8);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.ceo-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.message-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--primary);
}

.message-body {
    font-size: var(--font-size-base);
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.message-body:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .message-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .message-image {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* ========================================
   Philosophy Section (MVV) - Light Theme
======================================== */
.philosophy {
    background: #f8fafa;
    position: relative;
    overflow: hidden;
}

/* 薄いグリッドパターン */
.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(46, 139, 87, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 139, 87, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.philosophy > .container {
    position: relative;
    z-index: 1;
}

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

.philosophy-item:last-child {
    margin-bottom: 0;
}

.philosophy-header {
    margin-bottom: var(--space-2xl);
}

.philosophy-header .section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    color: var(--primary);
}

.philosophy-header .section-label::before,
.philosophy-header .section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--primary);
}

.philosophy-header .section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.6;
    font-weight: 700;
    color: var(--text-primary);
}

.philosophy-content {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(46, 139, 87, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.philosophy-content .philosophy-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 2;
}

/* Values Grid - Light Cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.value-card {
    background: #ffffff;
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(46, 139, 87, 0.1);
}

/* グラデーションボーダー効果 */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(46, 139, 87, 0.4);
}

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

.value-card:hover::after {
    opacity: 1;
}

.value-card > * {
    position: relative;
    z-index: 1;
}

/* 番号バッジ */
.value-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-gold);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.value-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.value-subtitle {
    font-size: var(--font-size-xs);
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.value-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .philosophy-header .section-title {
        font-size: var(--font-size-xl);
    }

    .philosophy-content {
        padding: var(--space-lg);
    }

    .philosophy-content .philosophy-text {
        font-size: var(--font-size-sm);
    }
}

/* ========================================
   Philosophy Section (企業理念)
======================================== */
.philosophy-section {
    background: var(--bg-secondary);
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* 2カラム版（Mission & Vision のみの場合） */
.philosophy-cards-2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-card {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.philosophy-number {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.philosophy-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.philosophy-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.philosophy-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .philosophy-cards {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Access Section - Light Theme
======================================== */
.access-section {
    background: #f8fafa;
    position: relative;
    overflow: hidden;
}

/* 薄いグリッドパターン */
.access-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(46, 139, 87, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 139, 87, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.access-section > .container {
    position: relative;
    z-index: 1;
}

.access-section .section-header {
    position: relative;
    z-index: 1;
}

.access-section .section-label {
    color: var(--primary);
}

.access-section .section-title {
    color: var(--text-primary);
}

.access-content {
    max-width: 800px;
    margin: 0 auto;
}

/* 複数拠点表示用 */
.access-locations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

.access-location {
    background: #ffffff;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(46, 139, 87, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.access-location-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .access-locations {
        grid-template-columns: 1fr;
    }
}

.access-map {
    margin-bottom: var(--space-xl);
}

.access-map iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.map-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f0f4f0, #e8ebe8);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.map-placeholder span {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.map-placeholder p {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.access-info {
    text-align: center;
}

.access-address {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.access-detail {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* ========================================
   Features Section (Service Page)
======================================== */
.service-overview {
    background: var(--bg-secondary);
}

.overview-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.overview-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    line-height: 1.5;
}

.overview-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: var(--space-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-item {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon-large {
    width: 72px;
    height: 72px;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
}

.feature-icon-large svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.feature-item-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.feature-item-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    padding-left: var(--space-lg);
    position: relative;
    margin-bottom: var(--space-xs);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .overview-title {
        font-size: var(--font-size-2xl);
    }
}

/* ========================================
   Target Section
======================================== */
.target-section {
    background: var(--bg-secondary);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

.target-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.target-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.target-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.target-title {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .target-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .target-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Benefits Section
======================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.benefit-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
}

.benefit-value {
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-unit {
    font-size: var(--font-size-2xl);
}

.benefit-label {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin: var(--space-md) 0;
}

.benefit-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-value {
        font-size: 3rem;
    }
}

/* ========================================
   Service Link Section
======================================== */
.service-link-section {
    background: var(--bg-secondary);
}

.service-link-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.service-link-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.service-link-text {
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

/* ========================================
   Contact Section
======================================== */
.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.contact-intro-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.contact-intro-note {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.required-mark {
    color: #e53e3e;
    margin-left: 2px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-size-base);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.checkbox-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.privacy-link {
    color: var(--primary);
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: var(--space-2xl);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ========================================
   Contact Other Section
======================================== */
.contact-other {
    background: var(--bg-secondary);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.contact-method {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.contact-method-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-full);
}

.contact-method-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.contact-method-title {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.contact-method-value {
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.contact-method-note {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer - Dark Tech Theme
======================================== */
.footer {
    background: linear-gradient(180deg, #0a1a15 0%, #0d1f18 100%);
    color: white;
    padding: var(--space-4xl) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

/* テックドット背景 */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(46, 139, 87, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

/* 上部グラデーションライン */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 139, 87, 0.4), var(--gold), rgba(46, 139, 87, 0.4), transparent);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo .logo-text {
    font-size: var(--font-size-lg);
}

.footer-description {
    margin-top: var(--space-md);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: var(--space-4xl);
    justify-content: flex-end;
}

.footer-nav-title {
    font-size: var(--font-size-xs);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.footer-nav ul li {
    margin-bottom: var(--space-sm);
}

.footer-nav a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(46, 139, 87, 0.2);
}

.copyright {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

@media (max-width: 768px) {
    .footer {
        padding: var(--space-3xl) 0 var(--space-lg);
    }

    .footer-inner {
        padding: 0 var(--space-md);
    }

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

    .footer-links {
        justify-content: flex-start;
        gap: var(--space-3xl);
    }
}

/* ========================================
   Animations - Enhanced
======================================== */
.fade-in,
.fade-in-scale,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-scale {
    transform: translateY(40px) scale(0.92);
}

.fade-in-left {
    transform: translateX(-50px);
    opacity: 0;
}

.fade-in-right {
    transform: translateX(50px);
    opacity: 0;
}

.fade-in.visible,
.fade-in-scale.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.stagger-item {
    transition-delay: calc(var(--stagger-index, 0) * 0.15s);
}

/* ホバーアニメーション共通 */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* グロー効果 */
.glow-on-hover {
    position: relative;
}

.glow-on-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    box-shadow: 0 0 40px rgba(46, 139, 87, 0.3);
    pointer-events: none;
}

.glow-on-hover:hover::after {
    opacity: 1;
}

/* パルスアニメーション */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* フローティングアニメーション */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* シマー効果（ローディングなど） */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}
