/**
 * サービス一覧ページ（/service/）専用
 * サービス一覧カード（TOP風5列）・SERVICE概要・拠点カード・地図
 */

/* ========== サービス一覧カード（TOPページ事業内容と同じデザイン・5列） ========== */
.service-list-section .service-cards-wrap.is-inview .row > *:nth-child(4) .service-block {
    animation-delay: 1.2s;
}

.service-list-section .service-cards-wrap.is-inview .row > *:nth-child(5) .service-block {
    animation-delay: 1.6s;
}

/* スマホ：縦1列（row-cols-1）・TOP同様縦長カード */
@media (max-width: 991.98px) {
    .service-list-section .service-block {
        aspect-ratio: 3 / 4;
    }
}

/* ========== SERVICE概要 ========== */
.service-intro {
    background: #fff;
}

.service-intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

@media (min-width: 768px) {
    .service-intro-text {
        font-size: 1.05rem;
    }
}

/* ========== 拠点一覧 ========== */
.location-list {
    background: #f8f9fa;
}

.location-cards {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.location-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.location-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 0;
}

@media (max-width: 991.98px) {
    .location-card-inner {
        grid-template-columns: 1fr;
    }
}

.location-card-img-wrap {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e9ecef;
}

.location-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.location-card-body {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 992px) {
    .location-card-body {
        padding: 2rem 2.25rem;
    }
}

.location-card-ttl {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #0378ad;
}

.location-card-company {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 0.75rem 0;
}

.location-card-dl {
    margin: 0;
    font-size: 0.95rem;
}

.location-card-dl dt {
    font-weight: 600;
    color: #0378ad;
    margin-top: 0.75rem;
    margin-bottom: 0.2rem;
}

.location-card-dl dt:first-child {
    margin-top: 0;
}

.location-card-dl dd {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

.location-card-dl a {
    color: #0378ad;
    text-decoration: none;
}

.location-card-dl a:hover {
    text-decoration: underline;
}

.location-card-map-wrap {
    border-top: 1px solid #eee;
}

.location-map {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

.location-card-map-wrap--no-map {
    padding: 1.5rem 1.75rem;
    background: #f1f3f5;
}

.location-card-no-map {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

@media (min-width: 992px) {
    .location-card-no-map {
        padding: 0 2rem;
    }
}
