/* =========================
  OBRIGINY: One fixed background + cards
========================= */

/* Cocoonの本文幅制限を避ける */
.entry-content,
.page .entry-content{ max-width:none; background:transparent !important; }

/* ===== Fixed background (only ONE layer) ===== */
.obg-fixed-bg{
  position: fixed;
  inset: 0;
  z-index: -2;
  background: center / cover no-repeat;
  transform: translateZ(0);
}
.obg-fixed-overlay{
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.55));
  pointer-events: none;
}

/* 背景画像（ここだけ後で差し替え） */
.obg-fixed-bg.obg-bg1{ background-image:url("https://obriginy.co.jp/wp-content/uploads/2026/01/%E3%83%88%E3%83%83%E3%83%97%E3%83%92%E3%83%BC%E3%83%AD%E3%83%BC4.jpg"); }
.obg-fixed-bg.obg-bg2{ background-image:url("https://obriginy.co.jp/wp-content/uploads/2026/01/%E3%83%88%E3%83%83%E3%83%97%E3%83%92%E3%83%BC%E3%83%AD%E3%83%BC3.jpg"); }
.obg-fixed-bg.obg-bg3{ background-image:url("https://obriginy.co.jp/wp-content/uploads/2026/01/%E3%83%88%E3%83%83%E3%83%97%E3%83%92%E3%83%BC%E3%83%AD%E3%83%BC2.jpg"); }

/* ===== Nav ===== */
.obg-nav{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  padding: 10px 14px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.obg-nav a{
  text-decoration:none;
  color:inherit;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
}
.obg-nav a:hover{ background: rgba(0,0,0,.06); }

/* ===== Containers ===== */
.obg-container{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
}

/* ===== Hero / Scene（もう ::before/::after を使わない） ===== */
.obg-hero{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  position: relative;
}
.obg-hero__inner{
  text-align:center;
  max-width: 920px;
  padding: 46px 22px;
  border-radius: 16px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.obg-title{ margin:0 0 10px; font-size:44px; line-height:1.15; }
.obg-sub{ margin:0 0 10px; font-size:16px; opacity:.92; }
.obg-text{ margin:10px 0 0; opacity:.92; }

.obg-cta{
  margin-top: 18px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}
.obg-btn{
  display:inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:900;
  background: rgba(255,255,255,.92);
  color:#111;
}
.obg-btn--ghost{
  background: rgba(0,0,0,.18);
  color:#fff;
  border: 1px solid rgba(255,255,255,.35);
}

.obg-scroll{
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  font-size:12px;
  opacity:.78;
  text-decoration:none;
  color:#fff;
}

/* Scene（背景の上をカードが流れる） */
.obg-scene{
  padding: 78px 0;
}

.obg-card{
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  padding: 28px 22px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.obg-card--big{ padding: 34px 26px; }

.obg-h2{ font-size: 30px; margin:0 0 10px; line-height:1.25; }
.obg-lead{ margin:0 0 24px; opacity:.85; }

.obg-mini{
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 16px 14px;
}
.obg-mini h3{ margin:0 0 6px; }

.obg-grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.obg-price3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.obg-price{ font-size:22px; font-weight:900; margin:8px 0; }

.obg-dl > div{
  display:grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.obg-dl dt{ font-weight:900; }

.obg-works{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.obg-work{
  display:block;
  text-decoration:none;
  color:inherit;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
}
.obg-work__thumb{ height: 200px; background:center/cover no-repeat; }
.obg-work__body{ padding: 14px 14px 16px; }
.obg-work__body h3{ margin:0 0 6px; }

@media (max-width: 980px){
  .obg-title{ font-size: 34px; }
  .obg-grid3, .obg-price3{ grid-template-columns: 1fr; }
  .obg-works{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obg-dl > div{ grid-template-columns: 1fr; }
}

@media (max-width: 600px){
  .obg-works{ grid-template-columns: 1fr; }
}

/* =========================
  HEROだけ動画背景（他セクションは今のまま）
========================= */

/* ヒーロー内に動画レイヤーを敷く */
.obg-hero{ position: relative; }
.obg-hero__media{
  position:absolute;
  inset:0;
  z-index:0;         /* 背景 */
  overflow:hidden;
}

/* 動画は画面いっぱいに（cover） */
.obg-hero__video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  filter: brightness(.75); /* 文字が見やすくなる */
}

/* 既存のヒーロー内コンテンツは前面に */
.obg-hero__inner{
  position:relative;
  z-index:2;
}

/* ヒーローの暗幕（読みやすさ）だけは残す */
.obg-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.55));
  pointer-events:none;
}

/* 重要：ヒーローは動画を使うので、ヒーローの固定背景レイヤーはオフ */
.obg-hero::before{
  content:none !important;
}

/* スマホは動画を切って静止画に（通信量＆発熱対策） */
@media (max-width: 980px){
  .obg-hero__media{ display:none; }
  .obg-hero{
    /* スマホはいつもの背景画像を表示（好きな1枚を指定） */
    background: url("https://obriginy.co.jp/wp-content/uploads/2026/01/%E3%83%88%E3%83%83%E3%83%97%E3%83%92%E3%83%BC%E3%83%AD%E3%83%BC4.jpg") center/cover no-repeat;
  }
}

/* “動きが苦手”設定の人は動画OFF */
@media (prefers-reduced-motion: reduce){
  .obg-hero__media{ display:none; }
}
/* =========================
   HERO 動画レイヤー
========================= */

.obg-hero_video-wrap{
  position:absolute;
  inset:0;
  z-index:-1;           /* ← テキストより下・グラデより上 */
  overflow:hidden;
}

.obg-hero_video{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* モバイルでは動画OFF（超重要） */
@media(max-width:980px){
  .obg-hero_video-wrap{ display:none; }
}
/* =========================
   Brand Header Background (Left Stamp)
========================= */
.obg-nav{
  background:
    linear-gradient(rgba(255,255,255,.68), rgba(255,255,255,.68)),
    url("https://obriginy.co.jp/wp-content/uploads/2018/07/A2.png")
    left 24px center / 180px auto no-repeat;

  backdrop-filter: blur(10px);
}
.obg-nav{
  justify-content: center;
  padding-left: 240px;   /* ← ロゴ分だけ右に押す */
}


/* ===== Footer logo background (Cocoon fix) ===== */
#footer{
  position: relative;
  overflow: hidden;
}

/* ロゴ背景 */
#footer::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url("https://obriginy.co.jp/wp-content/uploads/2018/07/A2.png"); /* or A2-1.jpg */
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;          /* ロゴ全体を見せる */
  opacity: .35;                    /* ←薄さ（ここで調整） */
  pointer-events:none;
  z-index:0;
}

/* フッターの文字を前面に */
#footer *{
  position: relative;
  z-index:1;
}
.obg-bold{
  font-weight:800;
  letter-spacing:.08em;
  font-size:1.05em;
}
/* Sitemap: mini box を丸ごとリンクっぽく */
.obg-mini a{
  display:block;
  text-decoration:none;
  color:inherit;
  font-weight:800;
  padding: 6px 4px;
}
.obg-mini a:hover{
  opacity:.9;
  text-decoration: underline;
}
/* Contact: フォームをカードデザインに馴染ませる */
.obg-card input[type="text"],
.obg-card input[type="email"],
.obg-card input[type="tel"],
.obg-card textarea,
.obg-card select{
  width:100%;
  max-width:100%;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.18);
  padding:12px 12px;
  background:#fff;
}

.obg-card textarea{ min-height:160px; }

.obg-card input[type="submit"],
.obg-card button,
.obg-card .wpcf7-submit{
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  border:none;
  cursor:pointer;
}
/* =========================
  OBRIGINY Contact (CF7)
  ※フォームをLP世界観に寄せる
========================= */

/* フォーム全体の余白 */
.obg-card .wpcf7{ margin-top: 10px; }

/* ありがちな「表レイアウト」を崩して縦積みにする */
.obg-card .wpcf7 table,
.obg-card .wpcf7 tbody,
.obg-card .wpcf7 tr,
.obg-card .wpcf7 th,
.obg-card .wpcf7 td{
  display:block !important;
  width:100% !important;
}

.obg-card .wpcf7 th{
  padding: 10px 0 6px !important;
  font-weight: 900;
  background: transparent !important;
  border: none !important;
}

.obg-card .wpcf7 td{
  padding: 0 0 16px !important;
  border: none !important;
}

/* 入力欄を統一 */
.obg-card .wpcf7 input[type="text"],
.obg-card .wpcf7 input[type="email"],
.obg-card .wpcf7 input[type="tel"],
.obg-card .wpcf7 textarea,
.obg-card .wpcf7 select{
  width:100%;
  max-width:100%;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.18);
  padding:12px 12px;
  background:#fff;
  box-sizing:border-box;
}

/* テキストエリア */
.obg-card .wpcf7 textarea{ min-height: 170px; }

/* 送信ボタンを obg-btn っぽく */
.obg-card .wpcf7 .wpcf7-submit{
  display:inline-block;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  border:none;
  cursor:pointer;
}

/* CF7の「必須」周りの赤枠が強すぎる場合の弱体化（必要なら） */
.obg-card .wpcf7 .wpcf7-not-valid{
  border-color: rgba(220,0,0,.35) !important;
  box-shadow: 0 0 0 3px rgba(220,0,0,.08) !important;
}

/* エラーメッセージをカードに馴染ませる */
.obg-card .wpcf7 .wpcf7-response-output{
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0 0;
}
/* =========================
  CF7 送信ボタンをLP CTAと完全一致させる
========================= */

.obg-card .wpcf7 .wpcf7-submit{
  background: rgba(255,255,255,.95);
  color:#111;
  font-size:16px;
  padding:14px 28px;
  border-radius:999px;
  font-weight:900;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition:.25s ease;
}

.obg-card .wpcf7 .wpcf7-submit:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}
/* =========================
  Service page: LP world styling
========================= */

/* リード */
.leadTxt{
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
  margin: 0 0 14px;
  letter-spacing: .02em;
}

/* 注目強調（文章中の太字） */
.entry-content strong{
  font-weight: 900;
}

/* 区切り線（--- の代わりに <hr> 推奨） */
.entry-content hr{
  border: none;
  height: 1px;
  margin: 28px 0;
  background: rgba(0,0,0,.12);
}

/* 見出し：LPに寄せる */
.entry-content h3{
  font-size: 20px;
  font-weight: 900;
  margin: 22px 0 12px;
  padding-left: 12px;
  border-left: 4px solid rgba(0,0,0,.35);
}

/* 「選ばれる理由」フロー */
.obg-flow{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.obg-flow > li{
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 16px 14px;
  line-height: 1.8;
}
.obg-flow > li strong{
  display: inline-block;
  font-size: 16px;
  margin-bottom: 6px;
}

/* サービス一覧 */
.obg-service-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.obg-service-list > li{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  font-weight: 800;
}

/* 末尾注記 */
.service-note{
  margin-top: 18px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  opacity: .92;
}

/* worksだけ：ulの余白や黒丸を消してカード用に */
.obg-works-list{
  list-style:none;
  padding:0;
  margin:0;
}

/* もし li の背景が出てたら消す */
.obg-works-list > li{
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
/* =========================
   Works（.obg-flow版）: frを使わず Flexで 3→2→1列
========================= */
.obg-flow{
  list-style:none;
  margin:0;
  padding:0;

  display:flex;
  flex-wrap:wrap;
  gap:18px;
}

/* li を列幅にする（aタグが勝手に細くならないように） */
.obg-flow > li{
  box-sizing:border-box;
  width: calc((100% - 18px * 2) / 3); /* 3列 */
  margin:0;
}

.obg-flow > li > .obg-work{
  display:block;
  width:100%;
}

/* タブレット 2列 */
@media (max-width: 980px){
  .obg-flow > li{
    width: calc((100% - 18px) / 2);
  }
}

/* スマホ 1列 */
@media (max-width: 600px){
  .obg-flow > li{
    width:100%;
  }
  .obg-work__thumb{
    height:180px; /* 縦長になりすぎ防止（好みで） */
  }
}


/* =========================
   スマホの .obg-nav が画面を占領する問題を解決
   → ロゴ背景＆左余白をやめて、横スクロールにする
========================= */
@media (max-width: 980px){
  .obg-nav{
    padding: 10px 12px !important;
    justify-content:flex-start !important;

    /* ロゴ背景を消す（スマホはスペースが足りない） */
    background: rgba(255,255,255,.92) !important;

    /* 横スクロール化 */
    overflow-x:auto;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
  }
  .obg-nav a{
    flex: 0 0 auto;
  }
}
/* Works: PC3列 / Tablet2列 / SP1列（flex版で安定） */
.obg-works{
  list-style:none;
  margin: 0;
  padding: 0;

  display:flex;
  flex-wrap:wrap;
  gap: 18px; /* ← カンマ禁止。必ず ; */
}

/* 3列： (100% - gap*2) / 3 */
.obg-works__item{
  width: calc((100% - 36px) / 3);
}

/* タブレット2列 */
@media (max-width: 980px){
  .obg-works__item{
    width: calc((100% - 18px) / 2);
  }
}

/* スマホ1列 */
@media (max-width: 600px){
  .obg-works__item{
    width: 100%;
  }
}

/* aタグをカードとして伸ばす */
.obg-works__item .obg-work{
  display:block;
  height:100%;
}

/* サムネ */
.obg-work__thumb{
  height: 200px;
  background: center / cover no-repeat;
}
/* =========================
   Works: PC3 / TAB2 / SP1（obg-flow干渉を潰す）
   対象： <ul class="obg-flow obg-works-list">
========================= */

/* まず obg-flow の grid を無効化して Works を flex にする */
.obg-card .obg-works-list{
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
}

/* 3列： (100% - gap*2) / 3 */
.obg-card .obg-works-list > li{
  width: calc((100% - 36px) / 3) !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* タブレット2列 */
@media (max-width: 980px){
  .obg-card .obg-works-list > li{
    width: calc((100% - 18px) / 2) !important;
  }
}

/* スマホ1列 */
@media (max-width: 600px){
  .obg-card .obg-works-list > li{
    width: 100% !important;
  }
}

/* リンクカードを縦に伸ばす */
.obg-card .obg-works-list > li > a.obg-work{
  display: block !important;
  height: 100% !important;
}

/* サムネの高さ固定 */
.obg-card .obg-work__thumb{
  height: 200px !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
/* カスタム CSS をここに入力してください *//* ===== OBRIGINY Page Hero (Contact/Company風) ===== */
.obg-page-hero{
  position: relative;
  padding: clamp(28px, 5vw, 54px) 0;
}

.obg-page-hero__card{
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(22px, 3.2vw, 36px) clamp(18px, 3vw, 34px);
  border-radius: 16px;

  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);

  text-align: center;
  color: #fff;
}

.obg-page-hero__ttl{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.1;
}

.obg-page-hero__sub{
  margin: 0 0 16px;
  font-size: clamp(14px, 1.6vw, 16px);
  opacity: .9;
}

.obg-page-hero__lead{
  margin: 0;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.8;
  opacity: .95;
}
/* ===== obg-nav as Header ===== */
.obg-nav.obg-nav--header{
  position: sticky; /* 固定にしたいなら fixed に変更 */
  top: 0;
  z-index: 9999;

  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;

  padding: 12px 14px;
  margin: 0;

  background: rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}

.obg-nav.obg-nav--header a{
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.obg-nav.obg-nav--header a:hover{
  background: rgba(255,255,255,.14);
}

#toc a{
  display: inline-block;
  margin: 6px 0;
  padding: 10px 16px;

  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;

  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);

  transition: .25s ease;
}

#toc a:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
  transform: translateY(-1px);
}
#toc a{
  color:#0b1e33 !important;
  font-weight:800;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 6px 16px rgba(0,0,0,.12);
}
@media(max-width:768px){
  .obg-nav--header{
    padding:8px 10px;
    gap:8px;
    background:linear-gradient(135deg,rgba(10,28,48,.92),rgba(18,42,76,.92));
    border-bottom:1px solid rgba(255,255,255,.25);
    backdrop-filter:blur(14px);
  }
}
@media(max-width:768px){
  .obg-nav--header a{
    font-size:12px;
    padding:7px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    color:#fff;
  }
}
@media(max-width:768px){
  .obg-nav--header a:active{
    background:#fff;
    color:#0b1e33;
  }
}
/* ===== mobile header nav 強制可視化（最優先） ===== */
@media (max-width: 768px){
  body .obg-nav.obg-nav--header,
  body .obg-nav.obg-nav--header *{
    -webkit-font-smoothing: antialiased;
  }

  body .obg-nav.obg-nav--header{
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;

    padding: 6px 10px !important;
    gap: 8px !important;

    background: rgba(10, 28, 48, .92) !important; /* 濃紺 */
    border-bottom: 1px solid rgba(255,255,255,.25) !important;
    backdrop-filter: blur(14px) !important;
  }

  body .obg-nav.obg-nav--header a{
    font-size: 12px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;

    color: #fff !important;
    background: rgba(255,255,255,.18) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    text-decoration: none !important;
    line-height: 1 !important;
  }

  body .obg-nav.obg-nav--header a:active{
    background: #fff !important;
    color: #0b1e33 !important;
  }
}

.obg-footer-legal{
  text-align:center;
  padding:24px 12px 12px;
  font-size:13px;
  opacity:.75;
}

.obg-footer-legal a{
  color:#fff;
  text-decoration:none;
  margin:0 6px;
}

.obg-footer-legal a:hover{
  text-decoration:underline;
  opacity:1;
}
/* ===== フッター差し込みリンク：白背景でも見えるように ===== */
#footer .obg-footer-legal,
.footer .obg-footer-legal,
.obg-footer-legal{
  text-align:center;
  padding:10px 12px;
  font-size:13px;

  /* 見やすさ：白背景でも沈まない */
  color:#0b1e33 !important;
}

#footer .obg-footer-legal a,
.footer .obg-footer-legal a,
.obg-footer-legal a{
  color:#0b1e33 !important;
  text-decoration:none !important;
  font-weight:700;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(10,28,48,.06);       /* うっすらボタン */
  border:1px solid rgba(10,28,48,.12);
  display:inline-block;
  margin:4px 6px;
}

#footer .obg-footer-legal a:hover,
.footer .obg-footer-legal a:hover,
.obg-footer-legal a:hover{
  background:rgba(10,28,48,.12);
  border-color:rgba(10,28,48,.25);
}

#footer .obg-footer-legal span,
.footer .obg-footer-legal span,
.obg-footer-legal span{
  color:rgba(10,28,48,.35) !important;
  margin:0 2px;
}
/* ===== 白帯の下側に寄せる（見た目が安定） ===== */
.obg-footer-legal{
  padding: 6px 12px;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 10px auto 40px; /* ←この2つで上下移動 */
}
.obg-card img{
  width:100%;
  height:auto;
  border-radius:16px;
  box-shadow:0 14px 40px rgba(0,0,0,.22);
}
/* lawページ：このクラスの画像はサムネ装飾しない */
.obg-no-thumb{
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}
.obg-no-thumb{
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: initial !important;
  display: inline-block !important;
}
