/* ===== カラーテーマ: ディープネイビー ===== */
:root {
    --bs-primary:     #2563a8;
    --bs-primary-rgb: 37, 99, 168;
    --bs-link-color:  #2563a8;
}
.text-primary { color: #2563a8 !important; }
.bg-primary   { background-color: #2563a8 !important; }

.btn-primary {
    background-color: #2563a8;
    border-color:     #2563a8;
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #1a4d8a;
    border-color:     #1a4d8a;
    color: #fff;
}
.btn-outline-primary {
    color:        #2563a8;
    border-color: #2563a8;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #2563a8;
    border-color:     #2563a8;
    color: #fff;
}

/* ===== セクション余白 ===== */
.page-section {
    padding: 4.5rem 0;
}

/* ===== 日本語フォント・ベース ===== */
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: #3a3a3a;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.4;
    color: #212529;
}
.masthead-subheading {
    font-family: 'Noto Serif JP', serif !important;
    letter-spacing: 0.1em;
}
.masthead-heading {
    font-family: 'Noto Serif JP', serif !important;
    letter-spacing: 0.05em;
}
.section-heading {
    font-family: 'Noto Sans JP', sans-serif !important;
    letter-spacing: 0.08em;
}
.section-subheading {
    font-family: 'Noto Sans JP', sans-serif !important;
}
#mainNav .navbar-brand {
    font-family: 'Yuji Syuku', serif !important;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.12em !important;
    color: #e8c547 !important;
    -webkit-text-stroke: 0.6px #e8c547;
    transition: color 0.2s;
}
#mainNav .navbar-brand:hover {
    color: #f7e08a !important;
    -webkit-text-stroke-color: #f7e08a;
}

/* ===== ヒーローカルーセル ===== */
header.masthead {
    padding: 0 !important;
    height: 100vh;
    position: relative;
}
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}
.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 55, 0.72) 0%,
        rgba(0, 10, 30, 0.45) 60%,
        rgba(0, 0, 0, 0.25) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next,
.hero-carousel .carousel-indicators {
    z-index: 3;
}

/* ===== サービス画像 ===== */
.service-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
}

/* ===== サービスアイコン ===== */
.service-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(37, 99, 168, 0.08);
    color: #2563a8;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}



/* ===== 事業内容 詳細リンク ===== */
.service-detail-link {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #2563a8;
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 3px;
    margin-top: 0.5rem;
}
.service-detail-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563a8;
    transition: width 0.3s ease;
}
.service-detail-link:hover {
    color: #2563a8;
}
.service-detail-link:hover::after {
    width: 100%;
}
.service-detail-arrow {
    display: inline-block;
    margin-left: 0.4em;
    transition: transform 0.25s ease;
}
.service-detail-link:hover .service-detail-arrow {
    transform: translateX(5px);
}

/* ===== 会社概要 ===== */
.about-table {
    border-collapse: collapse;
    width: 100%;
}
.about-table th,
.about-table td {
    padding: 0.85rem 1.1rem;
    font-size: 0.92rem;
    vertical-align: middle;
    line-height: 1.6;
    border: 1px solid #dee2e6;
}
.about-table th {
    width: 34%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #333;
    background-color: #f8f9fa;
    white-space: nowrap;
}
.about-table td {
    font-family: 'Noto Sans JP', sans-serif;
    color: #444;
    background-color: #fff;
}

.about-feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    height: 100%;
}
.about-feature__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(37,99,168,0.08);
    color: #2563a8;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.about-feature__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}
.about-feature__text {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ===== 記事ナビゲーション ===== */
.post-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.post-nav__side {
    flex: 1;
}
.post-nav__center {
    flex: 0 0 auto;
    text-align: center;
}
.post-nav__prev { text-align: left; }
.post-nav__next { text-align: right; }
.post-nav__prev a,
.post-nav__next a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563a8;
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border: 1.5px solid #dde3eb;
    border-radius: 0.4rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-nav__prev a span,
.post-nav__next a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.post-nav__prev a:hover,
.post-nav__next a:hover {
    background: #2563a8;
    border-color: #2563a8;
    color: #fff;
}
@media (max-width: 575.98px) {
    .post-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    .post-nav__side {
        width: 100%;
        text-align: center !important;
    }
    .post-nav__side a {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
    .post-nav__center {
        order: 3;
        width: 100%;
    }
    .post-nav__center .btn {
        width: 100%;
    }
}

/* ===== 投稿個別ページ ===== */
.single-header {
    padding-top: 8rem;
    padding-bottom: 3rem;
    background-color: #212529;
}
.single-header--service,
.single-header--news {
    background-size: cover;
    background-position: center;
    padding: 0;
}
.single-header__overlay {
    padding-top: 8rem;
    padding-bottom: 3rem;
    background: linear-gradient(
        to bottom,
        rgba(10, 20, 40, 0.6) 0%,
        rgba(10, 20, 40, 0.75) 100%
    );
}
.single-header h1 {
    font-family: 'Noto Serif JP', serif;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.single-header .post-meta {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}
.single-content {
    padding: 4rem 0;
}
.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}
.single-content p,
.single-content li {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
}
.single-body,
.single-body p,
.single-body li,
.single-body h1,
.single-body h2,
.single-body h3,
.single-body h4,
.single-body h5,
.single-body h6,
.single-body td,
.single-body th,
.single-body span,
.single-body div {
    font-family: 'Noto Sans JP', sans-serif !important;
}

/* ===== お知らせ 検索フォーム ===== */
.news-search-form__inner {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: stretch;
}
.news-search-form__input-wrap {
    position: relative;
    flex: 1 1 240px;
}
.news-search-form__icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9aaabb;
    font-size: 0.9rem;
    pointer-events: none;
}
.news-search-form__input {
    width: 100%;
    height: 46px;
    padding: 0 1rem 0 2.4rem;
    border: 1.5px solid #dde3eb;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Noto Sans JP', sans-serif;
}
.news-search-form__input:focus {
    border-color: #2563a8;
}
.news-search-form__select {
    height: 46px;
    padding: 0 1rem;
    border: 1.5px solid #dde3eb;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-family: 'Noto Sans JP', sans-serif;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
    flex: 0 0 auto;
}
.news-search-form__select:focus {
    border-color: #2563a8;
}
.news-search-form__btn {
    height: 46px;
    padding: 0 1.5rem;
    background: #2563a8;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    flex: 0 0 auto;
}
.news-search-form__btn:hover {
    background: #1a4d8a;
}
.news-search-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f0f4fa;
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    color: #444;
}
.news-search-result__text {
    flex: 1;
}
.news-search-result__clear {
    color: #888;
    text-decoration: none;
    font-size: 0.82rem;
    white-space: nowrap;
    transition: color 0.2s;
}
.news-search-result__clear:hover {
    color: #e05252;
}
@media (max-width: 575.98px) {
    .news-search-form__select { flex: 1 1 100%; }
    .news-search-form__btn    { flex: 1 1 100%; }
}

/* ===== お知らせ一覧ページ カード ===== */
.news-archive-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    color: inherit;
    transition: box-shadow 0.3s, transform 0.3s;
}
.news-archive-card:hover {
    box-shadow: 0 8px 28px rgba(37,99,168,0.13);
    transform: translateY(-4px);
}
.news-archive-card__img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}
.news-archive-card__img--noimg {
    background-color: #edf0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0baca;
    font-size: 2.5rem;
}
.news-archive-card__body {
    padding: 1.1rem 1.25rem 1.25rem;
}
.news-archive-card__date {
    font-size: 0.78rem;
    color: #999;
    margin-bottom: 0.4rem;
}
.news-archive-card__title {
    font-size: 0.97rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.news-archive-card:hover .news-archive-card__title {
    color: #2563a8;
}
.news-archive-card__excerpt {
    font-size: 0.83rem;
    color: #888;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ===== お知らせ ボーダーリスト ===== */
.news-border-list {
    border-top: 2px solid #2563a8;
}
.news-bl-item {
    display: grid;
    grid-template-columns: 90px 140px 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 0.75rem;
    border-bottom: 1px solid #e4e8ee;
    color: inherit;
    transition: background 0.2s, padding-left 0.2s;
}
.news-bl-item:hover {
    background: rgba(37,99,168,0.03);
    padding-left: 1.25rem;
}
@media (max-width: 575px) {
    .news-bl-item {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }
    .news-bl-date { grid-column: 1; grid-row: 1; }
    .news-bl-labels { grid-column: 1; grid-row: 2; }
    .news-bl-title { grid-column: 1; grid-row: 3; }
    .news-bl-arrow { grid-column: 2; grid-row: 1 / 4; align-self: center; }
}
.news-bl-date {
    font-size: 0.82rem;
    color: #999;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.news-bl-labels {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}
.news-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.2em 0.75em;
    border-radius: 2rem;
    white-space: nowrap;
    background-color: rgba(37,99,168,0.09);
    color: #2563a8;
}
/* カテゴリカラー（term_id の余りで割り当て） */
.news-label.label-c1 { background-color: rgba(37,99,168,0.10);  color: #2563a8; }  /* ネイビー */
.news-label.label-c2 { background-color: rgba(25,135,84,0.12); color: #157347; }  /* グリーン */
.news-label.label-c3 { background-color: rgba(111,66,193,0.10);color: #6f42c1; }  /* パープル */
.news-label.label-c4 { background-color: rgba(230,100,0,0.10); color: #c25f00; }  /* オレンジ */
.news-label.label-c5 { background-color: rgba(13,110,253,0.10);color: #0d6efd; }  /* ブルー */
.news-badge-new {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.2em 0.65em;
    border-radius: 2rem;
    background-color: #dc3545;
    color: #fff;
    white-space: nowrap;
}
.news-bl-title {
    font-size: 0.93rem;
    font-weight: 700;
    color: #212529;
    flex-grow: 1;
    line-height: 1.6;
    transition: color 0.2s;
    padding-left: 1.25rem;
}
.news-bl-item:hover .news-bl-title {
    color: #2563a8;
}
.news-bl-arrow {
    font-size: 0.75rem;
    color: #bbb;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}
.news-bl-item:hover .news-bl-arrow {
    color: #2563a8;
    transform: translateX(3px);
}

/* 過去のお知らせを見る リンク */
.news-more-link {
    display: inline-block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #2563a8;
    text-decoration: none;
    letter-spacing: 0.06em;
    position: relative;
    padding-bottom: 4px;
}
.news-more-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563a8;
    transition: width 0.3s ease;
}
.news-more-link:hover {
    color: #2563a8;
}
.news-more-link:hover::after {
    width: 100%;
}
.news-more-arrow {
    display: inline-block;
    margin-left: 0.4em;
    transition: transform 0.25s ease;
}
.news-more-link:hover .news-more-arrow {
    transform: translateX(5px);
}

/* ===== 事業内容 詳細セクション 共通 ===== */
.service-section {
    padding: 4rem 0;
    border-top: 1px solid #e9ecef;
}
.service-section__en {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #2563a8;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    opacity: 0.6;
    text-align: center;
}
.service-section__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
    text-align: center;
}
.service-section__body {
    font-size: 1rem;
    color: #555;
    line-height: 1.85;
}
.service-section__body p { margin-bottom: 0.6rem; }
.service-section__body p:last-child { margin-bottom: 0; }

/* お悩み：左画像 ＋ 右テキスト（チェックボックスアイコン） */
.service-section__img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}
.service-section--trouble .service-section__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-section--trouble .service-section__body ul li {
    padding: 0.7rem 0 0.7rem 2rem;
    position: relative;
    font-size: 1rem;
    color: #444;
    border-bottom: 1px solid #f0f2f5;
    line-height: 1.8;
}
.service-section--trouble .service-section__body ul li:last-child { border-bottom: none; }
/* チェックボックス背景 */
.service-section--trouble .service-section__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 1.1rem;
    height: 1.1rem;
    background: #3aaa71;
    border-radius: 3px;
}
/* チェックマーク */
.service-section--trouble .service-section__body ul li::after {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 1.1rem;
    height: 1.1rem;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1.1rem;
    text-align: center;
}

/* できること：2カラムカード（リッチ） */
.service-section--features .service-section__body ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-section--features .service-section__body ul li {
    background: #fff;
    border: 1px solid #e8effc;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem 2rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.85;
    box-shadow: 0 4px 20px rgba(37,99,168,0.09);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* 上部グラデーションライン */
.service-section--features .service-section__body ul li::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563a8 0%, #60a5fa 100%);
}
/* ホバー時リフト */
.service-section--features .service-section__body ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(37,99,168,0.17);
}
/* FAアイコン（右上・装飾） */
.service-section--features .service-section__body ul li > i,
.service-section--features .service-section__body ul li > svg {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2rem;
    color: #2563a8;
    opacity: 0.15;
}
/* タイトル */
.service-section--features .service-section__body ul li strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    padding-bottom: 0.7rem;
    margin-bottom: 0.7rem;
    border-bottom: 1px solid #edf2fb;
}
@media (max-width: 575px) {
    .service-section--features .service-section__body ul {
        grid-template-columns: 1fr;
    }
}

/* 選ばれる理由：最大3カラム POINT バッジカード（件数に合わせて自動調整） */
.service-section--reasons .service-section__body ul {
    counter-reset: reason-step;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-section--reasons .service-section__body ul li {
    counter-increment: reason-step;
    flex: 0 0 calc(33.333% - 1rem);
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 0.75rem;
    padding: 4.5rem 1.5rem 2rem;
    font-size: 1rem;
    color: #666;
    line-height: 1.85;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    position: relative;
    text-align: left;
    box-sizing: border-box;
}
/* 四角バッジ（上部・改行レイアウト） */
.service-section--reasons .service-section__body ul li::before {
    content: counter(reason-step, decimal-leading-zero);
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 2.2rem;
    height: 2.2rem;
    background: #2563a8;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    line-height: 2.2rem;
    border-radius: 5px;
    letter-spacing: 0.02em;
}
/* タイトル（セパレーター） */
.service-section--reasons .service-section__body ul li strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid #e5eaf2;
    line-height: 1.6;
}
@media (max-width: 767px) {
    .service-section--reasons .service-section__body ul li {
        flex: 0 0 calc(50% - 0.75rem);
    }
}
@media (max-width: 575px) {
    .service-section--reasons .service-section__body ul li {
        flex: 0 0 100%;
    }
}

/* お客様事例：2列横スライダー */
.service-section--cases .service-section__body ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    list-style: none;
    padding: 0.25rem 0.25rem 1.25rem;
    margin: 0;
}
.service-section--cases .service-section__body ul::-webkit-scrollbar {
    height: 4px;
}
.service-section--cases .service-section__body ul::-webkit-scrollbar-track {
    background: #edf0f5;
    border-radius: 2px;
}
.service-section--cases .service-section__body ul::-webkit-scrollbar-thumb {
    background: #b0c4de;
    border-radius: 2px;
}
.service-section--cases .service-section__body ul li {
    flex: 0 0 calc(50% - 0.75rem);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #d6e4f7;
    border-radius: 0.75rem;
    padding: 5.75rem 1.5rem 2rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.85;
    box-shadow: 0 4px 16px rgba(37,99,168,0.08);
    position: relative;
}
/* 上部中央の丸いイラスト */
.service-section--cases .service-section__body ul li::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #e8f0fb;
    box-shadow: 0 2px 8px rgba(37,99,168,0.12);
}
.service-section--cases .service-section__body ul li strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #212529;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
    border-bottom: 2px solid #e8f0fb;
}
@media (max-width: 575px) {
    .service-section--cases .service-section__body ul li {
        flex: 0 0 calc(85% - 0.75rem);
    }
}

/* よくある質問：1カラムQ&Aカード */
.service-section--faq .service-section__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.service-section--faq .service-section__body ul li {
    background: #fff;
    border: 1px solid #d6e4f7;
    border-radius: 0.5rem;
    padding: 1.5rem 1.75rem 2rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.85;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.service-section--faq .service-section__body ul li strong {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #e8f0fb;
}
.service-section--faq .service-section__body ul li strong::before {
    content: 'Q';
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: #2563a8;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 900;
    margin-top: 0.05rem;
}

/* こんな方に：中央寄せ1カラム ＋ 丸チェック */
.service-section--target .service-section__body {
    text-align: center;
}
.service-section--target .service-section__body ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: left;
    min-width: 260px;
}
.service-section--target .service-section__body ul li {
    padding: 0.75rem 0 0.75rem 2.2rem;
    position: relative;
    font-size: 1rem;
    color: #444;
    border-bottom: 1px solid #f0f2f5;
    line-height: 1.8;
}
.service-section--target .service-section__body ul li:last-child {
    border-bottom: none;
}
.service-section--target .service-section__body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.88rem;
    width: 1.35rem;
    height: 1.35rem;
    background: #2563a8;
    color: #fff;
    border-radius: 50%;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1.35rem;
    text-align: center;
}

/* 料金：ネイビー枠カード */
.service-section--price {
    text-align: center;
}
.price-card {
    display: block;
    border: 2px solid #2563a8;
    border-radius: 0.75rem;
    padding: 2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563a8;
    text-align: center;
}
.price-card small {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: #888;
    margin-top: 0.6rem;
}

/* 導入フロー：3列固定カードグリッド ＋ 矢印 */
.service-section--flow .service-section__body ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: flow-step;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 1.75rem;
}
.service-section--flow .service-section__body ol li {
    counter-increment: flow-step;
    background: #f0f6ff;
    border: 1px solid #d6e4f7;
    border-top: 3px solid #2563a8;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    font-size: 1rem;
    color: #555;
    line-height: 1.85;
    overflow: hidden;
    min-height: 160px;
}
.service-section--flow .service-section__body ol li::before {
    content: counter(flow-step);
    position: absolute;
    right: 0.4rem;
    bottom: -1rem;
    font-size: 5.5rem;
    font-weight: 900;
    color: rgba(37, 99, 168, 0.1);
    line-height: 1;
    pointer-events: none;
}
/* カード間の矢印（行末の3列目は非表示） */
.service-section--flow .service-section__body ol li:not(:last-child)::after {
    content: '❯';
    position: absolute;
    right: -1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #b0bec8;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 1;
}
.service-section--flow .service-section__body ol li:nth-child(3n)::after {
    display: none;
}
.service-section--flow .service-section__body ol li strong {
    display: block;
    font-weight: 700;
    color: #212529;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid #d6e4f7;
    width: 100%;
}
@media (max-width: 767px) {
    .service-section--flow .service-section__body ol {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1rem;
        row-gap: 1rem;
    }
    .service-section--flow .service-section__body ol li {
        min-height: auto;
        padding: 1.5rem 1rem 1.25rem;
    }
    .service-section--flow .service-section__body ol li:not(:last-child)::after {
        display: none;
    }
}
@media (max-width: 575px) {
    .service-section--flow .service-section__body ol {
        grid-template-columns: 1fr;
    }
}

/* ===== お問い合わせCTAバナー ===== */
.service-cta {
    background: #2563a8;
    padding: 3.5rem 0;
    text-align: center;
}
.service-cta__lead {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.service-cta__btn {
    display: inline-block;
    background: #fff;
    color: #2563a8;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 3rem;
    border-radius: 0.4rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background 0.2s, transform 0.2s;
}
.service-cta__btn:hover {
    background: rgba(255,255,255,0.88);
    color: #2563a8;
    transform: translateY(-2px);
}

/* ===== お問い合わせセクション（暗い背景）テキスト調整 ===== */
section#contact .text-primary {
    color: rgba(255, 255, 255, 0.75) !important;
}
section#contact .section-subheading {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* CF7 送信結果メッセージ */
section#contact .wpcf7-response-output {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border: none !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}
section#contact .wpcf7-mail-sent-ok {
    background: rgba(74, 222, 128, 0.2) !important;
    border: 1px solid rgba(74, 222, 128, 0.4) !important;
    color: #fff !important;
}
section#contact .wpcf7-validation-errors,
section#contact .wpcf7-mail-sent-ng,
section#contact .wpcf7-spam-blocked {
    background: rgba(255, 100, 100, 0.2) !important;
    border: 1px solid rgba(255, 100, 100, 0.4) !important;
    color: #fff !important;
}

/* ===== ITよろず相談 お知らせバー ===== */
#announce-bar-wrap {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1031;
}
.announce-bar {
    position: relative;
    height: 44px;
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0 3rem;
    transition: opacity 0.3s ease, height 0.3s ease;
    overflow: hidden;
}
.announce-bar.is-hidden {
    opacity: 0;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.announce-bar__inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}
.announce-bar__link {
    color: #fff;
    text-decoration: none;
    background: rgba(0,0,0,0.18);
    padding: 0.2rem 0.85rem;
    border-radius: 2rem;
    margin-left: 0.75rem;
    font-size: 0.8rem;
    transition: background 0.2s;
    white-space: nowrap;
}
.announce-bar__link:hover {
    background: rgba(0,0,0,0.3);
    color: #fff;
}
.announce-bar__close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    line-height: 1;
    transition: color 0.15s;
}
.announce-bar__close:hover {
    color: #fff;
}
@media (max-width: 575.98px) {
    .announce-bar__desc { display: none; }
    .announce-bar { padding: 0 2.5rem 0 0.75rem; justify-content: flex-start; }
}

/* ===== フローティングボタン ===== */
.float-cta-wrap {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}
.float-cta {
    background: var(--float-bg, #2563a8);
    color: #fff;
    border-radius: 3rem;
    width: 148px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
    animation: float-cta-pulse 2.4s ease-in-out infinite;
    transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    overflow: hidden;
}
.float-cta:hover {
    color: #fff;
    filter: brightness(0.85);
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.4);
    animation: none;
}
.float-cta__icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}
.float-cta__label {
    line-height: 1.2;
}
.float-cta__sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.02em;
}
@keyframes float-cta-pulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
    50%       { box-shadow: 0 6px 36px rgba(0,0,0,0.45); }
}
@media (max-width: 767.98px) {
    .float-cta-wrap { display: none; }
}

/* ===== ハイライトアニメーション ===== */
.single-body mark,
.service-section__body mark {
    background: linear-gradient(transparent 55%, rgba(255, 220, 50, 0.55) 45%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
    transition: background-size 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.single-body mark.hl-active,
.service-section__body mark.hl-active {
    background-size: 100% 100%;
}

/* ===== スクロールリビール ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ===== 料金テーブル ===== */
.price-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}
.price-table-wrap table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.price-table-wrap table th {
    background: #2563a8;
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 600;
    border: 1px solid #1e4f8c;
    white-space: nowrap;
}
.price-table-wrap table td {
    background: #fff;
    padding: 0.75rem 1rem;
    border: 1px solid #dde3eb;
    vertical-align: top;
}
.price-table-wrap table tr:nth-child(even) td {
    background: #f5f8fc;
}
