
.bigtitle{
    color :#4682b4;
    font-size :30px;
    font-weight: normal;
    font-family :"Noto Serif JP",serif;
}
a{
    color :black;
    text-decoration: none;
    font-weight: bold;
}

#header-nav{
    background-color: rgba(45, 99, 216, 0.74);
    position :sticky;
    top :0;
    z-index :1000;
}

.navbarNav{
    display: flex;
    flex-direction: column;
    align-items: end;
}

.nav-link{
    font-size :25px;
}

.close-btn {
    position: absolute; /* メニュー内で絶対位置に配置 */
    top: 10px; /* 上からの距離 */
    right: 20px; /* 右からの距離 */
    font-size: 30px; /* サイズ調整 */
    background: none; /* 背景なし */
    border: none; /* ボーダーなし */
    color: white; /* 色を白に */
    cursor: pointer; /* カーソルをポインターに */
    display :none;
}

#mainVisual{
    background-image: url('img/250613155517105.JPG');
    background-size: cover;       /* 画面いっぱいに広げる */
    background-position: center;  /* 中央に配置 */
    background-repeat: no-repeat; /* 繰り返さない */
    position: relative; /* ← 子要素のposition基準にする */
    width: 100%;
    height :550px;    
}

#mainVisualText{
    position: absolute; /* ← この要素を重ねる */
    top: 50%;            /* 上から50% */
    left: 50%;           /* 左から50% */
    transform: translate(-50%, -50%); /* 中央にピッタリ */
    color: white;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.5); /* 文字を見やすく */
}

.section-title {
  /* text-align: center;  <- このデザインでは左寄せの方が合います */
  color: #003366;
  margin-left :10px;
  margin-top: 100px;
  margin-bottom: 40px;
  font-family: "Noto Serif JP", serif; /* ゴシック体で現代的かつ誠実な印象に */
  font-size: 1.6rem;
  font-weight: bold;
  background-color: #f0f4f8; /* 薄い青灰色の背景 */
  padding: 20px 30px; /* 内側の余白 */
  border-left: 8px solid #003366; /* 左側に太いネイビーの線 */
  border-radius: 4px; /* 少しだけ角を丸く */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* わずかな影で立体感 */
}
/* 1) ヒーロー部：高さと背景だけ */
.hero{
    height: 250px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0)) no-repeat,rgba(6, 163, 163, 0.58);
    text-align:center;
    padding-top :40px;
    border-radius: 8px;

}
.hero-title{
    color:#fff;
    font-size:2rem;
    line-height:1.6;
}

/* 2) チェックカード全体ラッパー */
.check-wrapper{
  /* ↓ ここが “上の要素に少し重ねる” キモ！ */
    margin-top:-40px;          /* かぶせる量を調整 */
    padding:0 8%;
    display:grid;
    grid-template-columns:repeat(2, 1fr);;
    gap:40px 40px;
}

/* 3) 各カード */
.check-card{
    background:#fff;
    padding:32px 28px 28px 28px;
    box-shadow:0 8px 18px rgba(0,0,0,.12);
    position:relative;
    border :#2b4c7d 2px solid;
    display:flex;               /* ← 横並びにする */
    align-items:flex-start;     /* 上揃え（中央にしたいなら center）*/
    gap:14px; 
}

.check-label{
    font-size:.75rem;
    letter-spacing:.05em;
    color:#0f6a9a;
    flex-shrink:0;   
}
.check-no{
    font-size:3.5rem;
    font-weight:700;
    color:#2b4c7d;
    line-height:1;
    flex-shrink:0;   
}
.check-text{
    margin-top:8px;
    line-height:1.8;
    color:#2b4c7d;
    font-size:1.05rem;
}

/* 4) レスポンシブ微調整（任意） */
/* @media (max-width: 600px){
  .hero{height:260px;}
  .hero-title{font-size:1.5rem;}
  .check-wrapper{margin-top:-90px;}
  .check-no{font-size:3rem;}
} */

.advance-wrapper {
    padding: 0 8%;
    display: grid;
    /* 2列のカラム定義 */
    grid-template-columns: 1fr 1fr;
    
    /* --- 変更点: 行の定義 --- */
    /* 上2つは380px固定、3行目（所長挨拶）は中身の量に合わせて自動(auto)にする */
    grid-template-rows: 380px 380px auto; 
    
    gap: 40px 40px;
}

.advance-card {
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    position: relative;
    height: 100%;
    overflow: hidden;
    /* 角丸を少しつけても優しい印象になります（お好みで） */
    border-radius: 8px; 
}

.card-wrapper {
    padding :30px;
}
.advance-card .advance-text {
    padding :10px;
    margin :0;
}

.advance-title {
    font-size :20px;
    font-weight: bold; /* タイトルを太字に補強 */
    margin-bottom: 10px; /* タイトルと本文の間隔 */
}

/* --- 右側の大きなカード --- */
.large-card {
    grid-column: 2;
    /* 1行目から3行目の線まで（上2つのブロック分）結合 */
    grid-row: 1 / 3;
}

/* --- 通常カードの画像スタイル --- */
.advance-image {
    width: 100%;
    height: 50%; 
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.large-card .advance-image {
    height:65%; 
    object-position: top;
}

/* =========================================
   以下、今回追加した「所長挨拶カード」用CSS
   ========================================= */

.director-card {
    /* グリッドの左右いっぱい（1列目の線から最後の線まで）を使う */
    grid-column: 1 / -1;
    
    /* 中身を横並びにする（Flexbox） */
    display: flex;
    align-items: center; /* 上下中央揃え */
    padding: 20px;       /* 全体の内側余白 */
}

/* 所長の写真スタイル（丸く・小さく） */
.director-image {
    width: 120px;       /* 幅120px */
    height: 120px;      /* 高さ120px */
    border-radius: 50%; /* 完全な円にする */
    object-fit: cover;  /* トリミング調整 */
    border: 3px solid #eee; /* 薄い枠線をつけて写真をくっきりさせる */
    flex-shrink: 0;     /* 画面が狭くなっても写真を潰さない */
    margin-left: 20px;  /* 左側の余白 */
}

/* 所長のテキストエリア調整 */
.director-text-box {
    padding: 10px 30px; /* 文字周りの余白調整 */
}

/* --- スマホ対応（レスポンシブ） --- */
/* 画面幅が狭い時（例えば768px以下）の設定 */
@media (max-width: 768px) {
    .advance-wrapper {
        grid-template-columns: 1fr; /* 1列にする */
        grid-template-rows: auto;   /* 行の高さはすべて自動 */
    }
    .large-card {
        grid-column: auto;
        grid-row: auto;
    }
    .director-card {
        flex-direction: column; /* スマホでは縦並びにする */
        text-align: center;
    }
    .director-image {
        margin: 0 auto 20px auto; /* 写真を中央寄せ */
    }
}/* ============ 基本リセット ============ */

/* 全幅背景 */
body{
  background:#f4f8fc;         /* 薄いグレー背景 */
  font-family:'Noto Sans JP',sans-serif;
  color:#274060;
}

/* 1. 白カード =========================== */
.feature{
  padding:60px 0;
}
.feature-inner{
  position:relative;
  margin:0 auto;
  max-width:1120px;
  background:#fff;
  border-radius:4px;
  padding:60px 60px;          /* 上下左右余白 */
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  overflow:hidden;            /* 番号がはみ出す場合に隠す */
}

/* 2. 番号（大きく薄い） ================= */
.feature-no{
  position:absolute;
  top:-10px;
  left:40px;
  font-size:14rem;            /* 特大文字 */
  font-weight:700;
  color:rgba(142,172,215,.2); /* 薄いブルー */
  line-height:1;
  pointer-events:none;        /* クリック貫通 */
}

/* 反対側に番号を置きたいケース */
.reverse .feature-no{
  left:auto;
  right:40px;
}

/* 3. コンテンツ 2 カラム --------------- */
.feature-content{
  display:flex;
  align-items:center;
  gap:48px;                   /* 画像と文の間隔 */
}

/* 画像ブロック */
.feature-img{
  flex:0 0 42%;          /* 横幅は 42 % のまま */
  height:260px;          /* ← ★縦幅を固定 (お好みで) */
  overflow:hidden;       /* A パターン用（B なら外して OK） */
  border-radius:4px;
  position:relative;
  object-fit:cover;
}

.feature-img img{
  width:100%;
  height:100%;
}

/* テキスト側（残り幅） */
.feature-text{
  flex:1;
}
.feature-text h3{
  font-size:1rem;
  letter-spacing:.1em;
  margin-bottom:12px;
}
.feature-text .lead{
  font-size:2rem;
  font-weight:700;
  margin-bottom:20px;
}
.feature-text p{line-height:1.8;}

/* 4. 交互レイアウト（画像左→右） ------- */
.reverse .feature-content{
  flex-direction:row-reverse;
}


/* --- セクション装飾 --- */
.price-table-wrap{padding:60px 15%;}
.price-title{
    font-size:1.6rem;font-weight:700;color:#1d4ed8;
    border-left:4px solid #1d4ed8;padding-left:16px;margin-bottom:12px;
}
.price-sub{margin-bottom:32px;}

/* --- スクロールラッパー --- */
.price-table-scroll{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

/* --- テーブルスタイル --- */
.price-table{
    border-collapse:collapse; width:100%;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.price-table th,
.price-table td{
    padding:14px 18px; text-align:center; white-space:nowrap;
}
.price-table thead th{
    background:#f6f8fe; color:#1e3a8a; font-weight:700; border-bottom:3px solid #1d4ed8;
}
.price-table tbody tr:nth-child(even){background:#f9fbff;}
.price-table tbody tr:hover{background:#eef4ff;}
.price-table tbody td:first-child{font-weight:700;} /* 人数列を太字 */

/* ===== contact-neon ===== */
.contact-neon{
    --clr1:#38bdf8;   
    --clr2:#6366f1;   
    display:inline-flex;
    padding:14px 48px;
    font-size:2rem;
    font-weight:700;
    letter-spacing:.06em;
    text-decoration:none;
    position:relative;
    overflow:hidden;     /* ラインがはみ出すのを隠す */
    /* 角丸線だけのボタン */
    border:2px solid transparent;      /* 一旦透明に */
    background:transparent;
    transition:color .25s ease,background .25s ease;
    height :150px;
    justify-content: space-evenly;
    align-items: center;
}

/* 走る光ライン（擬似要素） */
.contact-neon::before{
    content:'';
    position:absolute; inset:0;
    background:linear-gradient(90deg,var(--clr1),var(--clr2));
    filter:blur(16px);
    opacity:0;
    transition:opacity .25s ease;
    z-index:0; 
}

/* Hover：背景を半透明に＋光をON */
.contact-neon:hover{
    background:rgba(99,102,241,.12);          /* hover 用に薄く塗る */
}
.contact-neon:hover::before{
    opacity:1;
}

/* キーボードフォーカス用 */
.contact-neon:focus-visible{
    outline:3px solid var(--clr1);outline-offset:3px;
}

.neon-wrapper{
    width :30%;
    text-align: center;
    height :70%;
    display :grid;
    justify-content: center;
}


.contact-neon .txt{
    position:relative;
    z-index:1;              /* ← 3   （文字を前面へ）*/
    background:linear-gradient(90deg,var(--clr1),var(--clr2));
    -webkit-background-clip:text;   /* Safari/Chrome */
    background-clip:text;           /* 標準 */
    color:transparent;              /* 文字の塗りを消す */
    -webkit-text-fill-color:transparent; /* Safari 保険 */
}



.small-txt{
    position:relative;
    z-index:1;              /* ← 3   （文字を前面へ）*/
    background:linear-gradient(90deg,var(--clr1),var(--clr2));
    -webkit-background-clip:text;   /* Safari/Chrome */
    background-clip:text;           /* 標準 */
    color:transparent;              /* 文字の塗りを消す */
    -webkit-text-fill-color:transparent; /* Safari 保険 */
    font-size: 1rem;
}


.contact-neon:hover .txt{
    background:none;                        /* グラデ背景を外す */
    color:#fff;                             /* 通常ブラウザ */
    -webkit-text-fill-color:#fff;           /* Safari 用 */
}


:root {
    --navy: #003366;   /* 好みで濃さを微調整してね */
    --navy-dark: #00254d;
}

.submit-btn {
    /* 真ん中寄せ用（インライン要素をブロック化＋autoマージン） */
    display: block;
    margin: 2rem auto;          /* 上下に余白を持たせつつ中央寄せ */
    padding: .8rem 3.5rem;
    font-size: 1.25rem;

    /* 紺＆白 */
    background-color: var(--navy);
    color: #fff;

    /* ちょっとだけリッチな見た目 */
    border: none;
    border-radius: .5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
    cursor: pointer;

    /* なめらかな変化用 */
    transition: background-color .25s ease,
                transform .15s ease,
                box-shadow .25s ease;
}

.submit-btn:hover {
    /* 色をほんのり暗く＆ふわっと浮く */
    background-color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,.2);
}

.submit-btn:active {
    /* クリック時に沈み込む感じ */
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
}

/* ───────────── Flow Section Styles ───────────── */
:root{
  --navy:#003366;
  --line:#b0bfd2;        /* 点線の色 */
}

.grant-flow{
  background:#f9fbfe;    /* ほんのりブルーの背景 */
}

.flow-steps{
  position:relative;
  counter-reset:flow-step;
}

.flow-steps .step{
  max-width:180px;       /* アイコン＋ラベルの幅 */
  margin-bottom:2rem;
  position:relative;
  flex:1 1 140px;
  position:relative;        /* スマホ時に折り返す */
}

.flow-steps .step:nth-child(-n+4)::after{
    content:"";
    position:absolute;
    top:60px;              /* アイコン高さの中心に合わせる */
    right:-50%;            /* アイコン間の中央まで伸ばす */
    width:100%;
    height:2px;
    background-image:repeating-linear-gradient(
        to right,
        var(--line) 0 10px,
        transparent 10px 20px);
    z-index:0; 
}

/* アイコンを丸背景＋影付きで */
.icon-wrap{
  width:120px;height:120px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 30% 30%, #fff 0%, #eef5ff 100%);
  box-shadow:0 4px 10px rgba(0,0,0,.08);
  position:relative;      /* ← 追加（絶対配置でなくても OK） */
  z-index:2;  
}

.icon-img{
  width:55%;             /* 画像自体は線だけなので縮小して配置 */
}

/* 文字サイズなどお好みで */
.step-label{
  font-weight:600;
  color:var(--navy);
  letter-spacing:.02em;
  font-size:1rem;
}

.sidebar {
    max-height: 400px;
    overflow-y: scroll;
}

.footer-title{
    display:inline-flex;   /* 横並び + インライン扱い（block でも OK） */
    align-items:center;    /* ← ★縦方向（交差軸）を中央に */
    gap:8px;
}



.footer-inquiry {
    width: auto; /* 幅を自動調整 */
    justify-content: center;
    height: 50px;
    background-color: white;
    display: flex;
    align-items: center;
}


.contract-banner{
    width :35%;
    background-color: white;
}

.it-image{
    height :400px;
}

.undermost{
    background-color: #9f9cf6;
    
}

.undermost a{
    color :white;
}

.com-cell{
    font-size :20px;
}

.pro-cell{
    font-size :35px;
    color :navy;
}

.cont-call{
    font-size :25px;
    color :navy;
    font-weight: bold;
}

.call-li{
    font-size :17px;
}

/* ====================================
   お問い合わせセクション用スタイル
   ==================================== */

/* リストのスタイル調整 */
.inquiry-list {
    list-style: none; /* ・を消す（お好みで） */
}

/* フォームの行（PC表示：Flexboxで横並び） */
.contact-row {
    display: flex;
    border-bottom: 1px solid #dee2e6;
}

/* ラベル部分（PC） */
.contact-label {
    width: 30%; /* 左側3割 */
    background-color: #f8f9fa; /* 薄いグレー背景 */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #2b4c7d; /* テーマカラーに合わせる */
}

/* 入力部分（PC） */
.contact-input {
    width: 70%; /* 右側7割 */
    padding: 20px;
    background-color: #fff;
}

/* Bootstrapのform-controlを少し調整 */
.contact-input .form-control {
    width: 100%;
    max-width: 400px; /* 入力欄が長くなりすぎないように */
}


/* ====================================
   スマホ用レスポンシブ (768px以下)
   ==================================== */
@media (max-width: 768px) {
    
    /* 文字サイズの調整 */
    .cont-call {
        font-size: 1.1rem; /* 少し小さく */
        line-height: 1.5;
    }
    .call-li {
        font-size: 0.9rem;
    }

    /* フォームのレイアウト変更：横並び解除 → 縦積み */
    .contact-row {
        display: block; /* Flex解除 */
        margin-bottom: 20px; /* 行ごとの間隔 */
        border-bottom: none; /* PC用の線を消す */
    }

    /* ラベル部分（スマホ） */
    .contact-label {
        width: 100%; /* 幅いっぱい */
        background: none; /* 背景色なし（または薄い色） */
        padding: 0 0 8px 0; /* 下に少し余白 */
        justify-content: flex-start; /* 左寄せ */
        font-size: 1rem;
    }
    
    /* 必須アイコンなどをつける場合に備えて */
    .contact-label::after {
        /* content: "必須";  もし必要なら */
        /* margin-left: 10px; */
        /* font-size: 0.7rem; */
        /* color: white; background: red; padding: 2px 5px; border-radius: 3px; */
    }

    /* 入力部分（スマホ） */
    .contact-input {
        width: 100%; /* 幅いっぱい */
        padding: 0;  /* 余白リセット */
    }
    
    .contact-input .form-control {
        max-width: 100%; /* スマホなら幅いっぱい */
    }

    /* チェックボックス周りの調整 */
    .contact-input label {
        margin-bottom: 12px !important;
        font-size: 0.95rem;
        display: flex;
        align-items: flex-start; /* 文章が改行してもチェックボックスは上揃え */
    }
    
    .contact-input input[type="checkbox"] {
        margin-top: 5px; /* テキストとの位置合わせ */
        flex-shrink: 0;  /* 縮まないように */
    }
}

.contact-title{
    font-size :25px;
    color :navy;
}


@media(max-width :767px){
#mainVisual {
        /* スマホでは画像の「右側」を中心に表示する */
        background-position: right center;
    }   
        /* ======================
       ① ヒーローセクション
       ======================*/
    .hero {
        height: auto; /* 高さを自動調整 */
        padding: 40px 20px; /* 上下左右の余白調整 */
    }

    .hero-title {
        font-size: 1.5rem; /* フォントサイズ調整 */
    }

    /* ======================
       ② チェックカード
       ======================*/
    .check-wrapper {
        margin-top: 0; /* 重なりを解除 */
        padding: 20px; /* 左右の余白調整 */
        grid-template-columns: 1fr; /* 1列表示に変更 */
        gap: 20px; /* カード間の間隔調整 */
    }

    .check-card {
        padding: 20px; /* 内側の余白調整 */
        flex-direction: column; /* 縦並びに変更 */
        align-items: center; /* 中央揃え */
        text-align: center; /* テキストも中央揃え */
    }

    .check-label {
        margin-bottom: 10px; /* ラベル下の余白調整 */
    }

    .check-no {
        font-size: 3rem; /* フォントサイズ調整 */
        margin-bottom: 10px; /* 番号下の余白調整 */
    }

    /* ======================
       ③ サービス案内カード
       ======================*/
    .advance-wrapper {
        padding: 20px; /* 左右の余白調整 */
        grid-template-columns: 1fr; /* 1列表示に変更 */
        grid-template-rows: auto; /* 高さを自動調整 */
        gap: 20px; /* カード間の間隔調整 */
    }

    .advance-card {
        height: auto; /* 高さを自動調整 */
    }

    .large-card {
        grid-column: 1; /* 1列目に配置 */
        grid-row: auto; /* 複数行結合を解除 */
    }

    .advance-image{
        height: 200px; /* 画像の高さを調整 */
        object-position: 50% 20%; /* 画像の位置を中央に調整 */
    }

    .large-card .advance-image {
        height :450px;
    }

    /* ======================
       ④ フローセクション
       ======================*/
    .flow-steps {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center; /* 中央揃え */
    }

    .flow-steps .step {
        max-width: 100%; /* 幅を100%に調整 */
        margin-bottom: 40px; /* ステップ間の間隔調整 */
    }

/* ======================
       ④ フローセクション (スマホ用矢印追加)
       ======================*/
    .flow-steps {
        flex-direction: column; /* 縦並び */
        align-items: center;    /* 中央揃え */
    }

    .flow-steps .step {
        max-width: 100%;
        /* 矢印を表示するためのスペースを確保 */
        margin-bottom: 50px; 
        position: relative; /* 矢印の位置基準 */
    }
    
    /* 最後の要素だけ余白を小さくする（下に矢印がないため） */
    .flow-steps .step:last-child {
        margin-bottom: 0;
    }

    /* 1〜4番目の要素の下に「下向き矢印」を作る */
    .flow-steps .step:nth-child(-n+4)::after {
        display: block; /* 表示する */
        content: "";
        
        /* --- デスクトップ版の横線スタイルをリセット --- */
        width: 0;
        height: 0;
        background-image: none; /* 点線を消す */
        top: auto;              /* 位置リセット */
        right: auto;            /* 位置リセット */
        
        /* --- スマホ版の下向き三角スタイル --- */
        position: absolute;
        bottom: -35px; /* 下の余白の中央あたりに配置 */
        left: 50%;
        transform: translateX(-50%); /* 左右中央寄せ */
        
        /* 三角形を描画（borderテクニック） */
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 16px solid #b0bfd2; /* 矢印の色（点線と同じ色に設定） */
        
        z-index: 1;
    }
    /* ======================
       ⑤ 料金表セクション
       ======================*/
    .price-table-wrap {
        padding: 20px; /* 左右の余白調整 */
    }

/* 1. 横スクロールの枠を無効化 */
    .price-table-scroll {
        overflow-x: visible; /* スクロールさせない */
    }

    /* 2. 表の基本構造をブロック要素（積み木）に変える */
    .price-table, 
    .price-table tbody, 
    .price-table tr, 
    .price-table td {
        display: block; /* 横並びを解除して縦積みに */
        width: 100%;
    }

    /* 3. PC用のヘッダー（項目名）を隠す */
    .price-table thead {
        display: none;
    }

    /* 4. 行（tr）を一つの「カード」に見せる装飾 */
    .price-table tr {
        margin-bottom: 20px;       /* カード間の余白 */
        background: #fff;
        border: 2px solid #2b4c7d; /* 枠線 */
        border-radius: 8px;        /* 角丸 */
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

    /* 5. セル（td）の共通スタイル */
    .price-table td {
        text-align: right;       /* 値は右寄せ */
        padding: 12px 15px;      /* 余白 */
        border-bottom: 1px solid #eee; /* 薄い区切り線 */
        position: relative;      /* ラベル配置の基準 */
        display: flex;
        justify-content: space-between; /* ラベルと値を左右に配置 */
        align-items: center;
    }
    
    .price-table td:last-child {
        border-bottom: none;
    }

    /* ======= A. 顧問料月額表 (table-monthly) 用の設定 ======= */
    
    /* 1列目（人数）を見出しっぽくする */
    .table-monthly td:nth-child(1) {
        background: #2b4c7d;
        color: #fff;
        font-weight: bold;
        text-align: center;
        justify-content: center; /* 中央寄せ */
    }
    /* 人数の前に「人数：」という文字をつける */
    .table-monthly td:nth-child(1)::before {
        content: "人数："; 
        margin-right: 5px;
    }

    /* 2列目（労務相談）の左にラベルを表示 */
    .table-monthly td:nth-child(2)::before {
        content: "労務相談";
        font-weight: bold;
        color: #2b4c7d;
    }

    /* 3列目（給与計算）の左にラベルを表示 */
    .table-monthly td:nth-child(3)::before {
        content: "給与計算";
        font-weight: bold;
        color: #2b4c7d;
    }

    /* ======= B. スポット料金表 (table-spot) 用の設定 ======= */

    /* 1列目（項目名）を見出しっぽくする */
    .table-spot td:nth-child(1) {
        background: #f0f4f8;
        color: #2b4c7d;
        font-weight: bold;
        justify-content: center;
        text-align: center;
    }

    /* 2列目（料金）のラベル */
    .table-spot td:nth-child(2)::before {
        content: "基本料金";
        font-weight: bold;
        color: #666;
    }
    
    /* 3列目（備考）のラベル */
    .table-spot td:nth-child(3)::before {
        content: "備考";
        font-weight: bold;
        color: #666;
    }
    
    /* 備考が空の場合は隠す（任意） */
    .table-spot td:nth-child(3):empty {
        display: none;
    }

    /* ======= スポット料金表の「その他」行の特別対応 ======= */
    
    /* 1. 「基本料金」というラベルを消す */
    .table-spot tr:last-child td:nth-child(2)::before {
        content: none;
    }

    /* 2. ついでに、空っぽの1つ目のセル（項目）と3つ目のセル（備考）を非表示にしてスッキリさせる */
    .table-spot tr:last-child td:first-child,
    .table-spot tr:last-child td:last-child {
        display: none;
    }

    /* 3. 残った真ん中のテキストを中央寄せで見やすくする */
    .table-spot tr:last-child td:nth-child(2) {
        text-align: center;
        justify-content: center;
        border-bottom: none; /* 下線も消す */
        padding: 20px;       /* 少し余白を広げる */
        font-weight: bold;   /* 目立たせる */
        font-size: 0.8rem;
    }
    /* ======================
       ⑥ お問い合わせセクション
       ======================*/
    .cont-call {
        font-size: 1.2rem; /* フォントサイズ調整 */
    }

    .call-li {
        font-size: 1rem; /* フォントサイズ調整 */
    }

    .submit-btn {
        width: 100%; /* ボタンの幅を100%に調整 */
    }

    .navbar-collapse.show {
        display: block; /* 開いたときは表示 */
    }

    .navbar-nav{
        margin-top :60px;
    }

    .nav-link{
        font-size :15px;
        color :white;
        border-bottom: 1px solid white;
    }

    .close-btn{
        display :block;
    }
    
    .carImg{
        height :50vh;
    }
    .contract-banner {
        width: 100%; /* md以下では100%に */
    }

    /* ======================
       ⑦ ヘッダー (スマホ対応)
       ======================*/

    .nav-contact-text{
        display :none;
    }
    /* ロゴ周りの調整 */
    .h1-div {
        width: 80%; /* ロゴエリアを確保 */
        display: flex;
        flex-direction: column;
        justify-content: center;

    }
    
    .h1-div h1 {
        margin: 0;
        display: flex;
        align-items: center;
    }

    .h1-div img {
        width: 40px; /* バッジ画像を小さく */
        height: auto;
        margin-right: 10px;
    }

    .bigtitle {
        font-size: 18px; /* 事務所名をスマホサイズに */
        white-space: nowrap; /* 折り返し禁止 */
    }
    
    /* ハンバーガーメニューのオーバーレイ表示 */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 51, 102, 0.98); /* 背景を濃いネイビーに（透過わずか） */
        z-index: 9999;
        padding: 60px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-y: auto; /* メニューが多い場合にスクロール */
    }
    
    /* メニュー内のリンク */
    .navbar-nav {
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 薄い区切り線 */
    }

    .nav-link {
        color: #fff !important; /* 文字色を白に強制 */
        font-size: 1.1rem;
        padding: 15px 0;
        display: block;
    }

    /* 閉じるボタン */
    .close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        color: #fff;
        background: none;
        border: none;
        font-size: 2.5rem;
        line-height: 1;
    }
    
    /* メニュー内の「まずは気軽に...」テキスト */
    .navbar-collapse p {
        color: #ddd;
        font-size: 0.9rem !important;
    }

    /* お問い合わせボタン（メニュー内） */
    .nav-item .nav-link[href*="contact"] {
        background-color: #fff !important; /* 背景を白に */
        color: var(--navy) !important;     /* 文字をネイビーに */
        width: 80%;
        margin: 20px auto 0;
        border-radius: 4px;
        height: auto;
        padding: 12px;
        font-weight: bold;
    }


    /* ======================
       ⑧ フッター (スマホ対応)
       ======================*/
    footer {
        padding-bottom: 20px;
    }

    /* バナー間の余白 */
    .contract-banner {
        margin-bottom: 30px;
        padding: 0 15px; /* 横幅いっぱいの時に少し余白を */
    }

    .contract-banner h5 {
        font-size: 1.1rem; /* 見出しサイズ調整 */
        text-align: center;
    }

    .contract-banner ul {
        padding-left: 20px; /* リストのインデント調整 */
    }

    /* 住所・ロゴ部分 */
    footer .col-12.col-md-6 p {
        text-align: center; /* 住所などを中央寄せ */
        font-size: 0.9rem;
    }

    .footer-title {
        display: flex;
        justify-content: center; /* ロゴ＋社名を中央寄せ */
        align-items: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .footer-title img {
        width: 50px; /* フッターのバッジサイズ調整 */
    }
    
    .footer-title .bigtitle {
        font-size: 1.2rem;
        margin-left: 10px;
    }

}


@media (max-width: 768px) {

}

