/* ========================================
   共通コンポーネント - ボタン
   ======================================== */

/* ベースボタンスタイル */
.jikuma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.0625rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    gap: 10px; /* アイコンとテキストの間隔 */
}

/* プライマリボタン（メイン行動） */
.jikuma-btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #DC8808 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.jikuma-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.4);
    color: white !important; /* ホバー時も白を維持 */
    text-decoration: none !important;
}

/* セカンダリボタン（サブ行動） */
.jikuma-btn-secondary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1B365D 100%);
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
}

.jikuma-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(30, 58, 138, 0.4);
    color: white;
}

/* アウトラインボタン（第3の選択肢） */
.jikuma-btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}

.jikuma-btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.2);
}

/* ゴーストボタン（最小限のスタイル） */
.jikuma-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.jikuma-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* ボタンサイズバリエーション */
.jikuma-btn-small {
    font-size: 0.875rem;
    padding: 10px 24px;
}

.jikuma-btn-large {
    font-size: 1.25rem;
    padding: 20px 48px;
}

/* ボタンアイコン */
.jikuma-btn i {
    font-size: 1.125em;
}

/* 光るエフェクト（オプション） */
.jikuma-btn-shine::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateY(-50%);
    transition: left 0.5s ease;
}

.jikuma-btn-shine:hover::before {
    left: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .jikuma-btn {
        font-size: 1rem;
        padding: 14px 32px;
    }
    
    .jikuma-btn-small {
        font-size: 0.875rem;
        padding: 10px 20px;
    }
    
    .jikuma-btn-large {
        font-size: 1.125rem;
        padding: 18px 40px;
    }
}

/* ========================================
   共通コンポーネント - セクションタイトル
   ======================================== */

.jikuma-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    line-height: 1.4;
    position: relative;
}

/* タイトル装飾バリエーション */
.jikuma-section-title-underline::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
    border-radius: 2px;
}

.jikuma-section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* アイコン付きタイトル */
.jikuma-title-icon {
    margin-right: 10px;
    display: inline-block;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .jikuma-section-title {
        font-size: 1.5rem;
    }
    
    .jikuma-section-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   共通コンポーネント - カード
   ======================================== */

.jikuma-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.jikuma-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* カードアイコン */
.jikuma-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-crystal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
    font-size: 24px;
}

.jikuma-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.jikuma-card-desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}