/* ========================================
   金庫処分ナビ - Design System
   Theme: "Secure & Professional"
   Created: 2026-01-08
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    /* Typography */
    --font-display: 'LINESeedJP', sans-serif;
    --font-body: 'LINESeedJP', sans-serif;
    --font-size-base: 1rem;    /* 16px */
    --font-size-sm: 0.875rem;  /* 14px */
    --font-size-lg: 1.125rem;  /* 18px */
    --font-size-xl: 1.5rem;    /* 24px */
    --font-size-2xl: 2rem;     /* 32px */
    --font-size-3xl: 2.5rem;   /* 40px */
    --font-size-4xl: 3rem;     /* 48px */

    /* Colors - Secure Theme */
    --color-primary: #2C3E50;      /* Steel Blue (金庫のイメージ) */
    --color-secondary: #E67E22;    /* Gold Orange (安心・信頼) */
    --color-accent: #3498DB;       /* Sky Blue */
    --color-dark: #1A252F;         /* Deep Navy */
    --color-light: #ECF0F1;        /* Light Gray */
    --color-white: #FFFFFF;

    /* Semantic Colors */
    --color-success: #27AE60;
    --color-danger: #E74C3C;
    --color-warning: #F39C12;
    --color-info: #3498DB;

    /* Neutral Colors */
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #2C3E50 0%, #4A6785 100%);
    --gradient-cta: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    --gradient-card: linear-gradient(135deg, rgba(44, 62, 80, 0.08) 0%, rgba(52, 152, 219, 0.04) 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    --section-padding: 80px 0;
    --container-max-width: 1200px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 37, 47, 0.1);
    --shadow-lg: 0 8px 30px rgba(26, 37, 47, 0.15);
    --shadow-xl: 0 12px 40px rgba(26, 37, 47, 0.2);
    --shadow-card: 0 4px 20px rgba(26, 37, 47, 0.1);
    --shadow-hover: 0 8px 30px rgba(26, 37, 47, 0.15);

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

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1050;
    --z-tooltip: 1070;
}

/* ========== Base Styles ========== */
body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1, .h1 { font-size: var(--font-size-4xl); }
h2, .h2 { font-size: var(--font-size-3xl); }
h3, .h3 { font-size: var(--font-size-2xl); }
h4, .h4 { font-size: var(--font-size-xl); }
h5, .h5 { font-size: var(--font-size-lg); }
h6, .h6 { font-size: var(--font-size-base); }

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

a:hover {
    color: var(--color-secondary);
}

/* ========== Icon Sizes ========== */
.icon-lg {
    font-size: 48px;
}

.feature-icon-circle {
    width: 100px;
    height: 100px;
}

/* ========== Step Circle ========== */
.step-circle {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
}

/* ========== Price Tag ========== */
.price-tag {
    margin: var(--spacing-md) 0;
}

.price-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
}

.price-unit {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
}

/* ========== Featured Card ========== */
.featured-card {
    border: 2px solid var(--color-primary);
    position: relative;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-cta);
}

/* ========== Buttons ========== */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-cta);
    border: none;
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #D35400 0%, #E67E22 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-white);
}

.btn-cta {
    font-size: var(--font-size-lg);
    padding: 1rem 2rem;
}

.btn-secondary {
    background-color: var(--color-primary);
    border: none;
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ========== Cards ========== */
.card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-secondary);
}

.card-header {
    background: var(--gradient-card);
    border-bottom: 1px solid var(--gray-200);
    font-weight: 600;
}

/* ========== Footer ========== */
.footer {
    background-color: var(--gray-900);
}

.footer h5, .footer h6 {
    color: var(--color-white);
}

.footer a {
    color: var(--gray-400);
    transition: color var(--transition-base);
}

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

.footer .text-muted,
.footer p,
.footer small,
.footer span {
    color: var(--gray-400) !important;
}

.footer .small {
    color: var(--gray-400) !important;
}

/* ========== Hero Section ========== */
.hero {
    background: var(--gradient-hero);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px
        );
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeUp 0.8s ease-out;
}

.hero-cta {
    animation: fadeUp 0.8s ease-out 0.2s backwards;
}

/* ========== Animations ========== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeUp 0.6s ease-out;
}

/* ========== Forms ========== */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* ========== Accordion (Material Icons standard) ========== */
.accordion-icon {
    font-size: 14px;
    transition: transform var(--transition-slow);
}

.collapsed .accordion-icon {
    transform: rotate(-90deg);
}

/* ========== Utility Classes ========== */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-accent { color: var(--color-accent) !important; }

.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-light-gradient { background: var(--gradient-card); }
.bg-gradient-primary { background: var(--gradient-hero) !important; }

.shadow-card { box-shadow: var(--shadow-card); }
.shadow-hover { box-shadow: var(--shadow-hover); }

.section-padding {
    padding: var(--section-padding);
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
        --font-size-2xl: 1.5rem;
        --section-padding: 60px 0;
    }

    .hero {
        padding: var(--spacing-2xl) 0;
    }

    .btn-cta {
        font-size: var(--font-size-base);
        padding: 0.875rem 1.5rem;
    }

    h1, .h1 { font-size: var(--font-size-3xl); }
    h2, .h2 { font-size: var(--font-size-2xl); }

    .icon-lg {
        font-size: 40px;
    }

    .feature-icon-circle {
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
}

@media (min-width: 1025px) {
    .container {
        max-width: var(--container-max-width);
    }
}
