.service-top-section {
    padding-top: 170px;    /* カンパニーと同じ高さに */
    padding-bottom: 120px; /* 下側の余白も統一 */
}

/* カテゴリレイアウト */
.service-category {
    display: flex;
    gap: 60px;
    margin-bottom: 100px;
    scroll-margin-top: 200px;
}
.category-sticky {
    width: 200px;
    flex-shrink: 0;
}
.category-sticky h3 {
    font-size: 32px;
    position: sticky;
    top: 200;
    color: #1a1a1a;
}

/* カードグリッド */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    flex-grow: 1;
}
.service-card {
    background: #f9f9f9;
    padding: 40px;
    border-left: 3px solid #bfa15f;
    transition: 0.3s;
}
.service-card:hover { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.service-card h4 { font-size: 20px; margin-bottom: 15px; }

/* ==========================================
   Contact セクション（About usページ下部）
========================================== */
.about-contact-section {
    position: relative;
    width: 100%;
    margin-top: 120px;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 画像を固定し、スクロール時にパララックス効果を出す */
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 画像のトーンを落とす、深いネイビーの透過レイヤー */
    background-color: rgba(17, 34, 51, 0.85);
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 左側のテキスト群 */
.contact-left .contact-title {
    font-size: clamp(40px, 5vw, 60px);
    font-family: 'Helvetica Neue', Arial, serif;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.contact-left .contact-sub {
    font-size: 14px;
    color: #e0e0e0;
    letter-spacing: 0.05em;
}

/* 右側のボタンデザイン */
.contact-right {
    display: flex;
    align-items: center;
}

.contact-btn {
    display: flex;
    align-items: center;
    padding: 20px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.8);
}

.contact-btn i.fa-envelope {
    font-size: 18px;
    margin-right: 20px;
    color: #ffffff;
}

.contact-btn .btn-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-right: 20px;
}

.contact-btn .btn-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-right: 40px;
}

.contact-btn i.fa-arrow-right-long {
    font-size: 14px;
}

/* ==========================================
   スマートフォン対応（レスポンシブ）
========================================== */
@media screen and (max-width: 768px) {
    .about-contact-section {
        padding: 80px 0;
    }
    .contact-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
        padding: 0 20px;
    }
    .contact-left .contact-title {
        margin-bottom: 10px;
    }
    .contact-right {
        width: 100%;
    }
    .contact-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 18px 25px;
    }
    .contact-btn .btn-text {
        margin-right: auto; /* テキストと矢印の間隔を自動で広げて右端に寄せる */
    }
}

/* ==================================================
   レスポンシブ対応（スマホで見やすく調整）
================================================== */
@media screen and (max-width: 768px) {
    /* 1. ヘッダー被り防止の余白を少し小さく */
    .service-top-section {
        padding-top: 100px;
    }

    /* 2. カテゴリのレイアウトを縦積みに変更 */
    .service-category {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
    }

    /* 3. 見出しの固定を解除し、幅を100%に */
    .category-sticky {
        width: 100%;
        margin-bottom: 0;
    }
    .category-sticky h2 {
        font-size: 24px; /* スマホ用にサイズ調整 */
        position: static; /* 画面上部に固定されないようにする */
    }

    /* 4. カードを1列にする */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* 5. カードの余白を調整 */
    .service-card {
        padding: 25px 20px;
    }
}