/* =====================================================================
   HACOS 案C テーマ（全ページ共通の上書きレイヤー）
   既存CSSの後に読み込み、案C（オレンジ・ボールド）の見た目へ刷新する。
   既存の画像・コピー・HTML構造はそのまま活かす。
   ===================================================================== */

:root {
    --c-or: #E75500;
    --c-or-l: #FF7A2F;
    --c-or-d: #BF4600;
    --c-bl: #00A0E8;
    --c-tl: #16C79A;
    --c-ink: #1A1D23;
    --c-muted: #7A7F88;
    --c-tint: #FFF4EC;
    --c-line: #F0E3D9;
}

/* ---------- ナビゲーション ---------- */
.bgc-nav {
    background: #fff;
    box-shadow: 0 2px 16px rgba(26, 29, 35, .08);
    max-height: none;
    z-index: 50;
    /* スクロール追従（基本CSSの position:absolute を上書き） */
    position: sticky;
    top: 0;
    transition: box-shadow .25s ease;
}

/* sticky中（スクロール時）はヘッダーを細くする（デスクトップのみ） */
@media (min-width: 992px) {
    .bgc-nav .logo {
        transition: margin .25s ease, width .25s ease, height .25s ease;
    }

    .bgc-nav .dropmenu {
        transition: height .25s ease;
    }

    .bgc-nav.scrolled {
        box-shadow: 0 6px 20px rgba(26, 29, 35, .14);
    }

    .bgc-nav.scrolled .logo {
        margin-top: 8px;
        margin-bottom: 8px;
        width: 116px;
        height: 34px;
    }

    /* nav高さを決めている .dropmenu(height:80px) を縮める */
    .bgc-nav.scrolled .dropmenu {
        height: 58px;
    }
}

.dropmenu {
    font-weight: 700;
}

.dropmenu:hover {
    color: var(--c-or);
}

/* カレントページのメニュー（旧: 各ページのインラインstyleを共通化） */
.bgc-nav .dropmenu[aria-current="page"] {
    color: #E75500;
}

.line-nav {
    border-color: #ECECEC;
}

/* ---------- ボタン ---------- */
.btn {
    background-color: var(--c-or);
    border-radius: 100px;
    font-weight: 700;
}

.btn:hover {
    background-color: var(--c-or-d);
}

.sub-btn {
    border-radius: 100px;
    font-weight: 700;
}

/* ---------- カード ---------- */
.card {
    border-radius: 22px;
}

.card-shadow {
    box-shadow: 0 14px 40px rgba(26, 29, 35, .08);
}

/* ---------- ヒーロー：オレンジのトーンを重ねて案Cの世界観に ---------- */
.header-img {
    position: relative;
}

.header-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 460px at 88% -10%, rgba(231, 85, 0, .42), transparent 60%),
        linear-gradient(120deg, rgba(231, 85, 0, .30) 0%, rgba(231, 85, 0, .05) 46%, rgba(0, 160, 232, .12) 100%);
    z-index: 0;
    pointer-events: none;
}

/* ヒーロー内のコンテンツだけをオーバーレイより前面へ
   （.hacos-cp は既に absolute/z-index:2 のため対象外） */
.header-img .wih-top,
.header-img .rs-top {
    position: relative;
    z-index: 1;
}

/* ---------- フッター：ダーク基調 ---------- */
.fot {
    background: #16191E;
    box-shadow: none;
}

.fot,
.fot p,
.fot a,
.fot .f-body {
    color: #C7CDD6;
}

.fot a:hover {
    color: #fff;
}

.fot .line-fot {
    border-color: rgba(255, 255, 255, .14);
}

/* 連絡先の小アイコンを白へ反転（ダーク背景で視認） */
.fot .content-col-start .content-row img {
    filter: brightness(0) invert(1);
    opacity: .85;
}

/* トップへ戻るボタンは白丸のまま、矢印を反転 */
.fot .top-btn {
    background: #fff;
}

/* =====================================================================
   案C 共通ユーティリティ（新しいセクションで使用）
   ===================================================================== */

.c-eyebrow {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-or);
    display: block;
}

.c-mark {
    background: linear-gradient(transparent 62%, #FFD9C2 62%);
}

.c-tint-sec {
    background: var(--c-tint);
}

/* KPI 実績ストリップ */
.c-kpi {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.c-kpi .cell {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    background: #fff;
    border-radius: 22px;
    padding: 30px 22px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(231, 85, 0, .12);
    box-sizing: border-box;
}

.c-kpi .ic {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--c-tint);
    color: var(--c-or);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.c-kpi .ic svg {
    width: 26px;
    height: 26px;
}

.c-kpi .num {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 50px;
    line-height: 1;
    color: var(--c-or);
}

.c-kpi .num small {
    font-size: 22px;
}

.c-kpi .lab {
    font-weight: 700;
    font-size: 15px;
    margin: 12px 0 4px;
    color: var(--c-ink);
}

.c-kpi .sub {
    font-size: 12.5px;
    color: var(--c-muted);
    line-height: 1.7;
}

/* CTA バンド */
.c-band {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(120deg, #FF8A3D, var(--c-or) 58%, var(--c-or-d));
    border-radius: 28px;
    padding: 48px 52px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.c-band::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    pointer-events: none;
}

.c-band .c-band-h {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.5;
    position: relative;
    text-align: start;
}

.c-band .c-band-figs {
    display: flex;
    gap: 26px;
    margin-top: 14px;
    position: relative;
}

.c-band .c-band-figs .n {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 30px;
}

.c-band .c-band-figs .c {
    font-size: 12px;
    opacity: .92;
}

.c-band .c-go {
    background: #fff;
    color: var(--c-or);
    padding: 16px 30px;
    border-radius: 100px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.c-band .c-go:hover {
    background: #FFF0E6;
}

@media (max-width: 991px) {
    .c-band {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }

    .c-band .c-band-h,
    .c-band .c-band-figs {
        text-align: center;
        justify-content: center;
    }

    .c-kpi .cell {
        max-width: 100%;
    }
}
