@charset "utf-8";
/* =====================================================
   Phoenix Accounting Group - Content Theme (Light)
   .section / .service / カード / ボタン類のライト版スタイル
   ===================================================== */

:root {
    --ink: #1a2442;
    --ink-soft: #5a6178;
    --gold: #d4a032;
    --gold-light: #f5c75d;
    --surface: #ffffff;
    --surface-alt: #f5f6fa;
    --line: rgba(26, 36, 66, 0.08);
}

/* ===== セクション共通 ===== */
.section {
    padding: 120px 0;
    position: relative;
    background: var(--surface);
}

.section-dark {
    background: var(--surface-alt);
}

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

.section-label {
    font-size: 14px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--ink);
}

.section-description {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== サービスレイアウト ===== */
.service {
    padding: 120px 0;
    position: relative;
}

.service-desc {
    font-size: 17px;
    color: var(--ink-soft);
    margin-bottom: 30px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-grid.reverse {
    direction: rtl;
}

.service-grid.reverse > * {
    direction: ltr;
}

.service img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(26, 36, 66, 0.12);
}

/* ===== カード ===== */
.service-card {
    background: var(--surface);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(26, 36, 66, 0.06);
}

.service-card h4 {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    color: var(--ink-soft);
}

.service-card li {
    margin-bottom: 8px;
}

/* ===== ボタン ===== */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gold);
    color: #1a2442;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(212, 160, 50, 0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ===== アイコン ===== */
.card-icon {
    font-size: 50px;
    margin-bottom: 25px;
    display: inline-block;
}

/* ===== スクロールフェードイン（main.jsのIntersectionObserverが
   .visible クラスを付与する。index.html内の旧インラインスクリプトが
   使っていた .show クラスは重複のため削除済み） ===== */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== レスポンシブ ===== */
@media (max-width: 992px) {
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    .service {
        padding: 80px 0;
    }
    .service-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-grid.reverse {
        direction: ltr;
    }
    .section-title {
        font-size: 28px;
    }
    .section-header {
        margin-bottom: 50px;
    }
}
