/* ==========================================================================
   サービス内容ページ（/services/）
   ========================================================================== */

/* ---- HERO ---- */
.sv-hero {
    opacity: 1 !important;
    transform: none !important;
}

.sv-hero__bg {
    position: relative;
    width: 100%;
    height: 316px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
}

.sv-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sv-hero__en {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 70px;
    font-weight: 700;
    color: rgba(81, 81, 81, 0.15);
    line-height: 1;
    letter-spacing: 0.1em;
    margin-bottom: -30px;
}

.sv-hero__title {
    font-family: "Noto Serif JP", serif;
    font-size: 50px;
    font-weight: 700;
    color: rgb(81, 81, 81);
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

/* ---- IBJについて ---- */
.sv-ibj {
    padding: 80px 20px;
    background: #fff;
}

.sv-ibj__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sv-ibj__heading {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin: 0 0 48px;
}

.sv-ibj__body {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.sv-ibj__text {
    flex: 1;
    min-width: 0;
}

.sv-ibj__subheading {
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 20px;
    line-height: 1.4;
}

.sv-ibj__text p {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.9;
    margin: 0 0 16px;
}

.sv-ibj__image {
    flex-shrink: 0;
    width: 580px;
}

.sv-ibj__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* ---- サービス一覧 ---- */
.sv-list {
    padding: 80px 20px;
    background: rgb(245, 244, 232);
}

.sv-list__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sv-list__heading {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin: 0 0 24px;
}

.sv-list__lead {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
    line-height: 1.9;
    margin: 0 0 56px;
}

.sv-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

.sv-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.sv-card__img {
    width: 100%;
    aspect-ratio: 350 / 233;
    overflow: hidden;
}

.sv-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sv-card__title {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 700;
    color: rgb(36, 42, 118);
    text-align: center;
    margin: 20px 20px 12px;
    line-height: 1.4;
}

.sv-card__desc {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.85;
    margin: 0 20px 24px;
    flex: 1;
}

/* ---- 対応エリア・相談方法 ---- */
.sv-area {
    padding: 80px 20px;
    background: #fff;
}

.sv-area__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.sv-area__heading {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 16px;
}

.sv-area__lead {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 16px;
    font-family: "Noto Serif JP", serif;
}

.sv-area__desc {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.9;
    margin: 0 0 48px;
}

.sv-area__grid {
    display: grid;
    grid-template-columns: repeat(3, 350px);
    gap: 24px;
    justify-content: center;
}

.sv-area-card {
    background: rgb(255, 252, 252);
    border-radius: 12px;
    border: 1px solid rgb(197, 197, 197);
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 0 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    height: 130px;
}

.sv-area-card__icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.sv-area-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.sv-area-card__title {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 700;
    color: rgb(36, 42, 118);
    margin: 0;
    text-align: center;
}

.sv-area-card__desc {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

.sv-area__hours {
    font-size: 14px;
    color: #555;
    margin: 40px 0 0;
    line-height: 1.8;
}

/* ---- CTA ---- */
.sv-cta {
    opacity: 1 !important;
    transform: none !important;
}

.sv-cta__bg {
    position: relative;
    width: 100%;
    min-height: 461px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
}

.sv-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.sv-cta__title {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 24px;
}

.sv-cta__text {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.9;
    margin: 0 0 40px;
}

.sv-cta__buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.sv-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 362px;
    height: 88px;
    border-radius: 11px;
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s ease;
}

.sv-cta__btn:hover {
    opacity: 0.85;
}

.sv-cta__btn--main {
    background: rgba(36, 42, 118, 0.94);
}

.sv-cta__btn--line {
    background: rgb(6, 199, 85);
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 1024px) {
    .sv-ibj__body {
        flex-direction: column;
    }

    .sv-ibj__image {
        width: 100%;
    }

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

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

@media (max-width: 767px) {
    .sv-hero__bg {
        height: 220px;
    }

    .sv-hero__en {
        font-size: 40px;
        margin-bottom: -18px;
    }

    .sv-hero__title {
        font-size: 32px;
    }

    .sv-ibj {
        padding: 48px 20px;
    }

    .sv-ibj__heading {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .sv-ibj__subheading {
        font-size: 18px;
    }

    .sv-ibj__stats {
        justify-content: center;
    }

    .sv-list {
        padding: 48px 20px;
    }

    .sv-list__heading {
        font-size: 24px;
    }

    .sv-list__grid {
        grid-template-columns: 1fr;
    }

    .sv-area {
        padding: 48px 20px;
    }

    .sv-area__heading {
        font-size: 24px;
    }

    .sv-area__grid {
        grid-template-columns: 1fr 1fr;
    }

    .sv-cta__btn {
        width: 100%;
        max-width: 340px;
        height: 72px;
        font-size: 20px;
    }

    .sv-cta__title {
        font-size: 24px;
    }

    .sv-cta__text {
        font-size: 16px;
    }
}

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