/*
 * Components CSS
 * 共通コンポーネントスタイル - WordPress Theme: 石高精工
 */

/* ==========================================================================
   Section Title Component
   ========================================================================== */

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: var(--color-primary, #4A8DD1);
    margin-bottom: 16px;
    line-height: 1.3;
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
    letter-spacing: -0.02em;
}

/* レスポンシブ: モバイルで装飾線を非表示 */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 12px;
    }
}

/* ==========================================================================
   Section Label Component
   ========================================================================== */

.section-label {
    display: inline-block;
    background: var(--color-secondary, #e74c3c);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* ==========================================================================
   Section Header Component
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-neutral-600, #666);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ==========================================================================
   Button Components
   ========================================================================== */

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--color-primary, #4A8DD1), #3a7bc8);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 78, 121, 0.3);
    color: white;
}

/* CTAボタンのスタイルはstyle.cssで統一管理 */

/* 残りのCTAスタイルもstyle.cssで統一管理 */

/* ==========================================================================
   Card Components
   ========================================================================== */

.card {
    background: white;
    border-radius: var(--radius-3xl, 1.5rem);
    padding: var(--spacing-8, 2rem);
    box-shadow: var(--shadow-3d-medium, 0 8px 24px rgba(0, 0, 0, 0.15));
    transition: var(--transition-3d, all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94));
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary-gradient, linear-gradient(135deg, #4A8DD1 0%, #6ba3da 100%));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base, 300ms ease-in-out);
}

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

.card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(2deg);
    box-shadow: var(--shadow-3d-large, 0 16px 48px rgba(0, 0, 0, 0.2));
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--color-primary-gradient, linear-gradient(135deg, #4A8DD1 0%, #6ba3da 100%));
    color: white;
    border-radius: var(--radius-2xl, 1rem);
    margin-bottom: var(--spacing-6, 1.5rem);
    font-size: var(--font-size-2xl, 1.5rem);
    box-shadow: var(--shadow-3d-small, 0 4px 8px rgba(0, 0, 0, 0.12));
    position: relative;
    overflow: hidden;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-neutral-900, #4A8DD1);
}

.card-content {
    font-size: var(--font-size-base, 1rem);
    line-height: 1.7;
    color: var(--color-neutral-600, #475569);
    margin-bottom: var(--spacing-6, 1.5rem);
}

/* ==========================================================================
   Form Components
   ========================================================================== */

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary-gradient, linear-gradient(135deg, #4A8DD1 0%, #6ba3da 100%));
    box-shadow: 0 0 0 3px rgba(46, 122, 189, 0.1);
}

/* ==========================================================================
   Table Components
   ========================================================================== */

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.table th {
    background: var(--color-primary-gradient, linear-gradient(135deg, #4A8DD1 0%, #6ba3da 100%));
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    border: none;
} 
