@charset "utf-8";
/* CSS Document */
.p-mv {
    background: url('../../assets/img/about/hero-img.jpg') no-repeat 30%/cover;
    position: relative;
    padding: 196px 0;
    min-height: 350px;
}
/* --- 全体コンテナ --- */
.p-services-container {
    width: 100%;
    background-color: #fff;
}
/* --- 各サービスブロック（基本設定） --- */
.p-service-block {
    padding: 80px 0;
}
.p-service-block--bg-gray {
    background-color: #f8fafc; /* 薄いグレーの背景セクション */
}
.p-service-block__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 50px;
}
/* 左右反転モディファイア */
.p-service-block--reverse .p-service-block__inner {
    flex-direction: row-reverse;
}
/* コンテンツと画像（比率はほぼ5:5） */
.p-service-block__content {
    flex: 1;
}
.p-service-block__image {
    flex: 1;
}
.p-service-block__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* 軽めの影で引き締め */
}
/* --- 見出しスタイル --- */
.p-service-block__sub-title {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 5px;
}
.p-service-block__title {
    font-family: Noto Serif JP;
    font-size: 2.2rem;
    color: var(--color-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    letter-spacing: 2.85px;
}
.p-service-block__title--large {
    font-size: 2.4rem; /* 2つ目の見出し用強めサイズ */
    line-height: 1.3;
}
/* 丸型アイコン */
.p-service-block__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #0b2545;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
}
/* 本文テキスト */
.p-service-block__text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}
/* --- CTA（コールトゥアクション）バナー --- */
.p-service-cta {
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 0 20px;
}
.p-service-cta__inner {
    /* 青系の綺麗なグラデーション背景 */
    background: linear-gradient(135deg, #004494 0%, #00225c 100%);
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px;
}
.p-service-cta__content {
    display: flex;
    align-items: center;
    gap: 20px;
}
.p-service-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2); /* 白のスケルトン丸 */
    color: #fff;
    border-radius: 50%;
    font-size: 1.3rem;
}
.p-service-cta__text {
    color: #fff;
    font-weight: bold;
    font-size: 1.15rem;
    line-height: 1.5;
}
/* 白ベースのボタン */
.p-service-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #004494;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 0 24px;
    height: 48px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.p-service-cta__btn::after {
    content: '\f054'; /* Font Awesomeの右矢印アイコン */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 10px;
    font-size: 0.8rem;
}
.p-service-cta__btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}
/* --- スマホ表示用（レスポンシブ） --- */
.u-mobile-only {
    display: none;
}
@media (max-width: 768px) {
    .u-mobile-only {
        display: inline;
    }
    .p-service-block {
        padding: 50px 0;
    }
    /* スマホの時は全て縦並び（画像が下） */
    .p-service-block__inner, .p-service-block--reverse .p-service-block__inner {
        flex-direction: column;
        gap: 30px;
    }
    .p-service-block__title {
        font-size: 1.6rem;
        gap: 10px;
        margin-bottom: 20px;
    }
    .p-service-block__title--large {
        font-size: 1.7rem;
    }
    .p-service-block__icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    /* CTAバナーのスマホ最適化 */
    .p-service-cta__inner {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }
    .p-service-cta__content {
        flex-direction: column;
        gap: 10px;
    }
    .p-service-cta__text {
        font-size: 1rem;
    }
    .p-service-cta__btn {
        width: 100%;
    }
}
.p-features__card-icon {
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.p-features__card-icon img {
    width: 64px;
    height: 64px;
}

.p-banner-area {
    background: none;
    margin: 64px 0;
    margin-bottom: 0;
}