/* ========================================
   FVセクション
======================================== */
.fv-section {
    padding: 60px 0 80px;
}

.fv-section .row {
    align-items: stretch;
}

.fv-section .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.fv-heading-small {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.fv-heading-large {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* サービスカードコンテナ */
.service-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.service-card {
    padding: 0 24px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:first-child {
    padding-left: 0;
}

.service-card:last-child {
    border-right: none;
    padding-right: 0;
}

.service-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--primary-color);
    line-height: 1.4;
    white-space: nowrap;
}

.service-card-description {
    font-size: 13px;
    color: var(--accent-gray);
    margin-bottom: 20px;
    line-height: 1.8;
    flex-grow: 1;
}

.service-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.service-link:hover {
    opacity: 0.6;
}

.service-link .arrow {
    width: 18px;
    height: 18px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    padding: 3px;
}

.service-link .arrow img {
    width: 100%;
    height: 100%;
}

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

.service-link:hover .arrow img {
    filter: brightness(0) invert(1);
}

.btn-contact {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    background-size: 150% 150%;
    background-position: 0% 50%;
    margin-top: auto;
}

.btn-contact:hover {
    background-position: 100% 50%;
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 18, 60, 0.3);
}

/* ========================================
   お客様の声スライダー
======================================== */
.voice-slider-container {
    position: relative;
    flex: 1;
    min-height: 300px;
}

.voice-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(10, 18, 60, 0.15);
}

.voice-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: scale(0.98);
    cursor: pointer;
}

.voice-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.voice-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.voice-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.voice-slide:hover .voice-slide-image {
    transform: scale(1.03);
}

.voice-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 32px;
    background: linear-gradient(to top, rgba(10, 18, 60, 0.75) 0%, rgba(10, 18, 60, 0.3) 40%, transparent 100%);
    z-index: 2;
}

.voice-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.voice-industry {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-bottom: 8px;
}

.voice-company {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.voice-quote {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.voice-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.voice-slide:hover .voice-cta {
    gap: 12px;
}

.voice-cta-arrow {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 6px;
}

.voice-cta-arrow img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.voice-slide:hover .voice-cta-arrow {
    background: #fff;
    border-color: #fff;
}

.voice-slide:hover .voice-cta-arrow img {
    filter: none;
}

.slider-controls {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: scale(1.2);
}

.slider-arrows {
    display: flex;
    gap: 8px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    padding: 10px;
}

.slider-arrow img {
    width: 100%;
    height: 100%;
}

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

.slider-arrow:hover img {
    filter: brightness(0) invert(1);
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light) 0%, #fff 100%);
    width: 0%;
    transition: width 0.1s linear;
}

/* ========================================
   クライアントロゴセクション
======================================== */
.client-logos {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.logos-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client-logo-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gray);
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.client-logo-img {
    width: 140px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s;
}

.client-logo-img:hover {
    opacity: 0.5;
}

.client-logo-text:hover {
    color: var(--primary-color);
}

/* ========================================
   サービス一覧セクション（トップ）
======================================== */
.top-services-section {
    padding: 100px 0;
}

.top-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.top-service-card {
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.top-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(10, 18, 60, 0.1);
    border-color: var(--primary-light);
}

.top-service-card__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--border-color);
    line-height: 1;
    margin-bottom: 20px;
}

.top-service-card:hover .top-service-card__number {
    color: var(--primary-light);
}

.top-service-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.4;
}

.top-service-card__desc {
    font-size: 14px;
    color: var(--accent-gray);
    line-height: 1.8;
    flex: 1;
    margin-bottom: 24px;
}

.top-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: gap 0.3s;
}

.top-service-card:hover .top-service-card__link {
    gap: 12px;
}

.top-service-card__arrow {
    transition: transform 0.3s;
}

.top-service-card:hover .top-service-card__arrow {
    transform: translateX(4px);
}

/* ========================================
   支援事例セクション
======================================== */
.cases-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Case Card - Sairu Style (トップページ用) */
.cases-section .case-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    background: #000;
    padding: 0;
}

.cases-section .case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(10, 18, 60, 0.16);
}

.cases-section .case-card-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.cases-section .case-card:hover .case-card-photo {
    transform: scale(1.04);
}

.cases-section .case-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 60%,
        rgba(0, 0, 0, 0.15) 75%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.cases-section .case-card-logos {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cases-section .case-card-logo {
    height: 28px;
    width: auto;
    max-width: 100px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.cases-section .case-card-logo img {
    height: 100%;
    width: auto;
    max-height: 18px;
    object-fit: contain;
    display: block;
}

.cases-section .case-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 20px;
}

.cases-section .case-card-company {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.cases-section .case-card-excerpt {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.cases-section .case-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 2px;
}

/* ========================================
   支援企業セクション
======================================== */
.works-section {
    padding: 100px 0;
}

.works-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 40px;
    align-items: center;
    margin-bottom: 50px;
}

.works-logo-item {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-gray);
    padding: 20px;
    transition: all 0.3s;
}

.works-logo-item img {
    width: 140px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s;
}

.works-logo-item:hover img {
    opacity: 0.5;
}

.works-logo-item:hover {
    color: var(--primary-color);
}

/* ========================================
   強みセクション
======================================== */
.stats-section {
    padding: 100px 0;
    background: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.stats-section .section-title-en {
    color: rgba(255, 255, 255, 0.5);
}

.stats-section .section-title-ja {
    color: #fff;
}

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

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-unit {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    line-height: 1.5;
}

/* ========================================
   コンサルタント紹介セクション
======================================== */
.consultant-section {
    padding: 100px 0;
}

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

.consultant-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 18, 60, 0.15);
}

.consultant-image img {
    width: 100%;
    height: auto;
    display: block;
}

.consultant-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gray);
    margin-bottom: 8px;
}

.consultant-name {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.consultant-bio {
    font-size: 15px;
    color: var(--accent-gray);
    line-height: 2;
    margin-bottom: 30px;
}

.consultant-media-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 18px;
    margin-bottom: 24px;
}

.consultant-media-badge-icon {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.consultant-media-badge-icon svg {
    width: 100%;
    height: 100%;
}

.consultant-media-badge-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
}

.consultant-media-badge-sub {
    font-size: 12px;
    font-weight: 400;
    color: var(--accent-gray);
}

.consultant-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s;
}

.consultant-link:hover {
    gap: 12px;
}

.consultant-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;
    padding: 8px;
}

.consultant-link .arrow img {
    width: 100%;
    height: 100%;
}

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

.consultant-link:hover .arrow img {
    filter: brightness(0) invert(1);
}

/* ========================================
   メディアセクション
======================================== */
.media-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.media-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.media-card:hover {
    box-shadow: 0 12px 40px rgba(10, 18, 60, 0.1);
    border-color: var(--primary-color);
}

.media-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.media-card-text {
    font-size: 14px;
    color: var(--accent-gray);
    line-height: 1.8;
}

/* ========================================
   INDEX CTAセクション
======================================== */
.index-cta-section {
    padding: 100px 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.cta-card {
    padding: 50px;
    border-radius: 8px;
    text-align: center;
}

.cta-card-contact {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    color: #fff;
}

.cta-card-document {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
}

.cta-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cta-card-icon img {
    width: 100%;
    height: 100%;
}

.cta-card-contact .cta-card-icon img {
    filter: brightness(0) invert(1);
}

.cta-card-document .cta-card-icon {
    background: #fff;
}

.cta-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-card-text {
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-card-contact .cta-card-text {
    color: rgba(255, 255, 255, 0.8);
}

.cta-card-document .cta-card-text {
    color: var(--accent-gray);
}

/* ========================================
   INDEX レスポンシブ
======================================== */
@media (max-width: 1199px) {
    .service-card {
        padding: 0 20px;
    }

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

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

    .consultant-card {
        grid-template-columns: 320px 1fr;
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .fv-section .row {
        flex-direction: column;
    }

    .fv-section .col-lg-6 {
        width: 100%;
        max-width: 100%;
    }

    .service-cards-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-card {
        padding: 0 16px;
    }

    .voice-slider-container {
        flex: none;
        height: 400px;
        margin-top: 50px;
    }

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

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

    .consultant-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .consultant-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .top-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .fv-heading-large {
        font-size: 28px;
    }

    .service-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card {
        padding: 0 0 24px 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .service-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .logos-wrapper {
        justify-content: center;
    }

    .voice-slider-container {
        flex: none;
        height: 350px;
    }

    .slider-controls {
        bottom: -45px;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }
}
