/* ===== 改善されたcompany-info.css ===== */

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* パンくずリストの改善 */
.breadcrumb {
    background: var(--background-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    font-size: var(--font-size-small);
    box-shadow: var(--shadow-light);
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb a:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ===== ヒーローセクション ===== */
.hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
        url('../images/company-info.jpg');
    /* 背景画像の表示方法を調整 */
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-text-container {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 60px 20px;
}

.hero-title {
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.hero-title-main {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out;
}

.hero-title-sub {
    display: block;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-description {
    text-align:left;
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== セクションタイトル ===== */
.section-title {
    text-align: center;
    margin: 0 0 60px 0;
    position: relative;
}

.section-title-text {
    display: inline-block;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #003E5E;
    background: linear-gradient(135deg, #003E5E 0%, #005A9E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 0 20px;
}

.section-title-line {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #003E5E 0%, #005A9E 50%, #80C0FF 100%);
    border-radius: 2px;
}

/* ===== 会社概要セクション ===== */
.company-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.company-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 62, 94, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 90, 158, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.overview-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 62, 94, 0.1);
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003E5E 0%, #005A9E 50%, #80C0FF 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.overview-card:hover::before {
    transform: scaleX(1);
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 12px rgba(0, 0, 0, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.15);
}

.overview-card:focus {
    outline: 2px solid #005A9E;
    outline-offset: 4px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #003E5E 0%, #005A9E 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003E5E;
    margin: 0;
}

.card-content {
    margin-bottom: 32px;
}

.card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 20px 0;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(0, 62, 94, 0.1) 0%, rgba(0, 90, 158, 0.1) 100%);
    color: #003E5E;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(0, 62, 94, 0.2);
}

.card-footer {
    margin-top: auto;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #005A9E;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #005A9E;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
}

.card-link:hover {
    background: #005A9E;
    color: white;
    transform: translateX(4px);
}

.card-link:focus {
    outline: 2px solid #003E5E;
    outline-offset: 2px;
}

.link-arrow {
    transition: transform 0.3s ease;
}

.card-link:hover .link-arrow {
    transform: translateX(4px);
}

/* ===== CTAセクション ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #003E5E;
    margin: 0 0 24px 0;
    line-height: 1.3;
}

.cta-description {
    text-align: left;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 40px 0;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: linear-gradient(135deg, #003E5E 0%, #005A9E 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 62, 94, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 62, 94, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #003E5E;
    border-color: #003E5E;
}

.cta-button.secondary:hover {
    background: #003E5E;
    color: white;
    transform: translateY(-2px);
}

.cta-button:focus {
    outline: 2px solid #005A9E;
    outline-offset: 2px;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }


    .hero-text-container {
        padding: 40px 16px;
    }

    .company-overview,
    .stats-section,
    .cta-section {
        padding: 60px 0;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .overview-card {
        padding: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== アクセシビリティ強化 ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ハイコントラストモード対応 */
@media (prefers-contrast: high) {
    .overview-card {
        border: 2px solid #000;
    }
    
    .card-link {
        border-width: 3px;
    }
    
    .feature-tag {
        border-width: 2px;
    }
}

/* フォーカス表示の強化 */
.overview-card:focus-visible,
.card-link:focus-visible,
.cta-button:focus-visible,

/* 印刷スタイル */
@media print {
    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto;
    }
    
    .stats-section {
        background: white !important;
        color: black !important;
    }
    
    .overview-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

