/* ========================================
   サービス紹介テキスト
======================================== */
.service-intro {
    padding: 100px 0;
}

.service-intro-text {
    font-size: 18px;
    line-height: 2.2;
    color: var(--accent-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   数字で見る実績
======================================== */
.stats-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(10, 18, 60, 0.04);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 18, 60, 0.1);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-unit {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    font-size: 13px;
    color: var(--accent-gray);
    margin-top: 8px;
}

/* ========================================
   サービスブロック
======================================== */
.services-section {
    padding: 80px 0 100px;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 80px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 60px rgba(10, 18, 60, 0.07);
    transition: box-shadow 0.4s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.service-block,
a.service-block:hover,
a.service-block:focus,
a.service-block:active {
    text-decoration: none;
    color: inherit;
}

a.service-block *,
a.service-block *:hover {
    text-decoration: none;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block:hover {
    box-shadow: 0 20px 80px rgba(10, 18, 60, 0.13);
}

.service-block:nth-child(even) {
    direction: rtl;
}

.service-block:nth-child(even) > * {
    direction: ltr;
}

/* ========================================
   ビジュアルパネル（完全CSS）
======================================== */
.service-visual {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* サービスごとの配色 */
.service-visual--01 {
    background: linear-gradient(155deg, #0a1240 0%, var(--primary-color) 50%, var(--primary-light) 100%);
}

.service-visual--02 {
    background: linear-gradient(155deg, #0d1a3f 0%, #1c2d6a 50%, #2a4080 100%);
}

.service-visual--03 {
    background: linear-gradient(155deg, #060b24 0%, #101e50 50%, var(--primary-light) 100%);
}

/* 装飾リング（大） */
.service-visual::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -15%;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

/* 装飾リング（小） */
.service-visual::after {
    content: '';
    position: absolute;
    bottom: -18%;
    left: -8%;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

/* 背景ナンバー */
.service-visual__bg-number {
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(110px, 13vw, 180px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

/* ビジュアル内コンテンツ */
.service-visual__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 36px;
    width: 100%;
}

/* CSSアイコン */
.service-visual__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 28px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.service-block:hover .service-visual__icon {
    border-color: rgba(255, 255, 255, 0.45);
    transform: scale(1.08);
}

/* アイコン01: コンサルティング（矢印が交差するグラフ風） */
.service-visual__icon--chart::before {
    content: '';
    width: 22px;
    height: 22px;
    border-left: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    position: relative;
    top: 2px;
    left: -2px;
}

.service-visual__icon--chart::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    transform: rotate(-40deg);
    top: 26px;
    left: 24px;
}

/* アイコン02: No.1調査（盾マーク風） */
.service-visual__icon--shield::before {
    content: '1';
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1;
}

/* アイコン03: キーマンアクセス（ターゲット風） */
.service-visual__icon--target::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.service-visual__icon--target::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

/* ラベル */
.service-visual__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

/* ビジュアルタイトル */
.service-visual__title {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* キーワードタグ */
.service-visual__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.service-visual__tag {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.service-block:hover .service-visual__tag {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

/* 装飾ライン */
.service-visual__line {
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    margin: 24px auto 0;
    transition: width 0.4s ease, background 0.4s ease;
}

.service-block:hover .service-visual__line {
    width: 72px;
    background: rgba(255, 255, 255, 0.4);
}

/* ========================================
   コンテンツ側
======================================== */
.service-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gray);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.service-content__title {
    font-size: clamp(24px, 2.8vw, 30px);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.service-content__desc {
    font-size: 15px;
    color: var(--accent-gray);
    line-height: 2;
    margin-bottom: 28px;
}

/* 特徴リスト */
.service-content__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

/* CSSチェックアイコン */
.service-feature-item__check {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.service-feature-item__check::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 7px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

/* お問い合わせリンク */
.service-content__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s;
}

.service-content__link:hover {
    gap: 14px;
}

.service-content__link-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.service-content__link-arrow::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin-left: -3px;
    transition: border-color 0.3s;
}

.service-content__link:hover .service-content__link-arrow {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-color: transparent;
}

.service-content__link:hover .service-content__link-arrow::after {
    border-color: #fff;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 991px) {
    .service-intro {
        padding: 72px 0;
    }

    .stats-section {
        padding: 64px 0;
    }

    .services-section {
        padding: 64px 0 80px;
    }

    .service-block {
        grid-template-columns: 1fr;
        margin-bottom: 56px;
    }

    .service-block:nth-child(even) {
        direction: ltr;
    }

    .service-visual {
        min-height: 320px;
    }

    .service-content {
        padding: 48px 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .service-intro {
        padding: 56px 0;
    }

    .service-intro-text {
        font-size: 15px;
        line-height: 2;
    }

    .services-section {
        padding: 56px 0 64px;
    }

    .service-content {
        padding: 32px 22px;
    }

    .service-visual {
        min-height: 240px;
    }

    .service-visual__inner {
        padding: 36px 18px;
    }

    .service-visual__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .service-visual__bg-number {
        top: 12px;
        left: 16px;
    }

    .service-visual__tags {
        gap: 6px;
    }

    .service-visual__tag {
        padding: 4px 12px;
        font-size: 11px;
    }

    .stats-section {
        padding: 56px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .stat-item {
        padding: 24px 14px;
    }

    .stat-number {
        font-size: 36px;
    }

    .service-block {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .service-content {
        padding: 28px 18px;
    }

    .service-content__features {
        gap: 10px;
    }

    .service-feature-item {
        font-size: 13px;
    }
}
