/* ==========================================
   共通定義 - Core Styles
   ========================================== */

/* カラー変数 */
:root {
    /* Custom Brand Colors */
    --brand-light: #4ade80;
    --brand-color: #00a99d;
    --brand-dark: #14532d;
    --brand-accent: #ea580c;
    
    --bs-body-font-family: 'Noto Sans JP', sans-serif;
    --bs-body-color: #4b5563; /* gray-600 equivalent */
}

/* 基本スタイル */
body {
    font-family: var(--bs-body-font-family);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 80px; /* Mobile bottom padding */
}

footer {
    margin-top: 3rem;
}

#footer-logo a {
    color: white;
    text-decoration: none;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* Utility Helpers mimicking Tailwind */
.text-brand { color: var(--brand-color) !important; }
.text-brand-dark { color: var(--brand-dark) !important; }
.bg-brand { background-color: var(--brand-color) !important; }
.bg-brand-dark { background-color: var(--brand-dark) !important; }

.btn-brand {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    color: white;
    transition: all 0.3s ease;
}
.btn-brand:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-brand {
    color: var(--brand-color);
    border-color: var(--brand-color);
}
.btn-outline-brand:hover {
    background-color: var(--brand-color);
    color: white;
}

.tracking-widest { letter-spacing: 0.1em; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Font Family */
.font-serif {
    font-family: 'Noto Serif JP', serif;
}

/* Card Hover Effects */
.hover-card {
    transition: all 0.3s ease;
}
.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/* Decoration */
.blur-bg-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    filter: blur(64px);
    transform: translate(50%, -50%);
}

/* Mobile Menu */
#mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f3f4f6;
    z-index: 99;
}
#mobile-menu.show {
    display: block;
}

/* ==========================================
   共通コンポーネント
   ========================================== */

/* セクションタイトル */
.section-label {
    color: var(--brand-color);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 3rem;
    letter-spacing: 0.5rem;
}

/* サービスリストアイテム */
.service-item {
    display: flex;
    align-items: center;
    color: #6b7280;
}
.service-dot {
    display: inline-block;
    border-radius: 50%;
    background-color: var(--brand-color);
    margin-right: 0.75rem;
    width: 8px;
    height: 8px;
}

/* ==========================================
   レスポンシブテーブル (Company Profileなど)
   ========================================== */
@media (max-width: 767.98px) {
    .responsive-table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table th,
    .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
        overflow: hidden;
    }

    .responsive-table th {
        background-color: #f8f9fa;
        font-weight: bold;
        border-bottom: 1px solid #dee2e6;
        padding: 0.75rem;
    }

    .responsive-table td {
        padding: 0.75rem;
        border-top: none;
        background-color: #fff;
    }
}
