@charset "utf-8";
/* =====================================================================
   コラム（一覧・記事）のスタイル

   考え方
   ------
   TOP ページと同じ色・書体・角丸を使い、そのうえで「読むための場所」に
   なるよう文字を大きく、行間を広く、余白を多めに取っています。
       アクセント  #32D2FF（水色） / #0FA9DA（濃いめの水色）
       ブランド色  #1B1464（紺）
       差し色      #E96B51（オレンジ／TOP の電話ボタンと同じ）
       下地        #f4fbff（薄い水色）
   TOP の「うねり（波）」の形も、一覧の見出しの下に使っています。

   書体
   ----
   本文・見出し … Noto Sans JP（TOP と同じ）
   英字のラベル … Outfit（COLUMN / PICK UP / 日付・数字だけに使用）

   直したら inc/config.php の ASSET_VER を1つ上げてください。
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. 色と間隔の定義
   ------------------------------------------------------------------ */
.c-page{
  --hk-accent:#32D2FF;
  --hk-accent-deep:#0FA9DA;
  --hk-navy:#1B1464;
  --hk-coral:#E96B51;
  --hk-ink:#16202b;          /* 見出しの黒 */
  --hk-text:#3a4653;         /* 本文。真っ黒より少しやわらかく */
  --hk-muted:#8a97a8;        /* 日付・補足 */
  --hk-line:#e4eef6;
  --hk-paper:#f4fbff;        /* ページの下地 */
  --hk-mist:#eaf7ff;
  --hk-card:0 2px 12px rgba(27,20,100,.06);
  --hk-card-hover:0 18px 38px rgba(27,20,100,.14);
  --hk-r:18px;               /* 大きい角丸 */
  --hk-r-s:10px;             /* 小さい角丸（TOP のカードと同じ） */
  --hk-jp:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif;
  --hk-en:"Outfit","Noto Sans JP",sans-serif;

  background:var(--hk-paper);
  font-family:var(--hk-jp);
  /* 画面下に固定されている問い合わせバーに隠れないための逃げ */
  padding-bottom:120px;
}
/* base.css の `body:not([class*=elementor-page-]) .site-main` が
   最大幅 1140px と左右の余白を掛けてきます。帯を画面いっぱいに出したいので
   ここで外します（詳細度を上げるためクラスを2回重ねています）。 */
.site-main.c-page.c-page{width:100%;max-width:none;margin-inline:0;padding-inline:0}
@media (max-width:1024px){ .c-page{padding-bottom:150px} }

.c-wrap{max-width:1160px;margin:0 auto;padding:0 24px}
@media (max-width:640px){ .c-wrap{padding:0 16px} }

/* 英字ラベル。COLUMN / PICK UP / 日付・数字に使います */
.c-page .c-en{font-family:var(--hk-en);letter-spacing:.08em;font-feature-settings:"tnum"}

/* アイコンの既定の大きさ。個別の指定が無い場所でも巨大にならないようにします。
   :where() を使っているのは詳細度を 0 にするためで、
   下に書いた個別の指定（大きさ・色）が必ず勝ちます。 */
:where(.c-page) :where(.c-icon){width:1em;height:1em;flex:none;fill:currentColor;vertical-align:-.1em}

/* ---------------------------------------------------------------------
   2. ページ上部（一覧・記事で共通の帯）
   ------------------------------------------------------------------ */
.c-hero{
  position:relative;
  background:linear-gradient(180deg,#d8f0ff 0%,#e8f7ff 55%,#eefaff 100%);
  overflow:hidden;
}
/* 薄い水色の丸を2つ置いて、のっぺりしないようにしています */
.c-hero::before,.c-hero::after{
  content:"";position:absolute;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at 30% 30%,rgba(50,210,255,.22),rgba(50,210,255,0) 70%);
}
.c-hero::before{width:420px;height:420px;top:-180px;left:-120px}
.c-hero::after{width:340px;height:340px;top:20px;right:-140px}

.c-hero__inner{position:relative;z-index:1;max-width:1160px;margin:0 auto;padding:26px 24px 76px;text-align:center}
.c-hero__label{
  margin:0 0 6px;color:var(--hk-accent-deep);font-size:15px;font-weight:600;
  font-family:var(--hk-en);letter-spacing:.18em;
}
.c-hero__title{margin:0;color:var(--hk-ink);font-size:34px;font-weight:700;line-height:1.45;letter-spacing:.02em}
.c-hero__lead{max-width:640px;margin:20px auto 0;color:#5b6875;font-size:15px;line-height:2}
.c-hero__count{margin:14px 0 0;color:var(--hk-muted);font-size:13px;font-family:var(--hk-en);letter-spacing:.1em}

/* 見出しの下の短い線（TOP と同じ考え方） */
.c-hero__rule{width:56px;height:3px;margin:22px auto 0;border-radius:2px;background:linear-gradient(90deg,var(--hk-accent),var(--hk-accent-deep))}

/* TOP のヒーローと同じ「うねり」。白で塗って本文側へつなげます */
.c-hero__wave{position:absolute;left:0;right:0;bottom:-1px;line-height:0;pointer-events:none}
.c-hero__wave svg{display:block;width:100%;height:56px}
.c-hero__wave path{fill:var(--hk-paper)}

@media (max-width:767px){
  .c-hero__inner{padding:18px 16px 56px}
  .c-hero__title{font-size:24px}
  .c-hero__lead{font-size:14px;margin-top:16px}
  .c-hero__wave svg{height:34px}
}

/* ---------------------------------------------------------------------
   3. パンくず
   ------------------------------------------------------------------ */
.c-crumb{margin:0 0 18px;font-size:12px;line-height:1.8;color:var(--hk-muted);text-align:left}
.c-crumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;list-style:none;justify-content:center}
.c-crumb li{display:flex;align-items:center;gap:6px}
.c-crumb li+li::before{content:"›";color:#b9c6d3}
.c-crumb .c-crumb__link{color:var(--hk-muted);text-decoration:none;transition:color .2s}
.c-crumb .c-crumb__link:hover{color:var(--hk-accent-deep);text-decoration:underline}
.c-crumb .c-crumb__current{color:#65727f;max-width:min(22em,100%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:600px){ .c-crumb{margin-bottom:14px;font-size:11px} }

/* ---------------------------------------------------------------------
   4. タグ（帯の中に並べる丸いボタン）
   ------------------------------------------------------------------ */
.c-tagbar{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:26px auto 0;max-width:820px;padding:0;list-style:none}
.c-tagbar .c-tagbar__link{
  display:inline-block;padding:7px 16px;border-radius:999px;
  background:#fff;border:1px solid #d8ecf8;color:#4a5a6b;
  font-size:13px;line-height:1.4;text-decoration:none;
  transition:background .2s,color .2s,border-color .2s,transform .2s;
}
.c-tagbar .c-tagbar__link:hover{background:var(--hk-accent);border-color:var(--hk-accent);color:#fff;transform:translateY(-2px)}
.c-tagbar .c-tagbar__link.is-current{background:var(--hk-navy);border-color:var(--hk-navy);color:#fff}
.c-tagbar__count{margin-left:6px;font-family:var(--hk-en);font-size:11px;opacity:.6}
/* 画面が狭いときは折り返さず、横に流します（12個あると5段になるため） */
@media (max-width:640px){
  .c-tagbar{
    flex-wrap:nowrap;justify-content:flex-start;
    margin-inline:-16px;padding:2px 16px 6px;
    overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;
  }
  .c-tagbar::-webkit-scrollbar{display:none}
  .c-tagbar > li{flex:none}
}

/* ---------------------------------------------------------------------
   5. 記事カード（一覧・関連記事で共通）
   ------------------------------------------------------------------ */
.c-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin:0}
@media (max-width:1024px){ .c-cards{grid-template-columns:repeat(2,1fr);gap:22px} }
@media (max-width:600px){ .c-cards{grid-template-columns:1fr;gap:18px} }

.c-card{
  position:relative;display:flex;flex-direction:column;height:100%;
  background:#fff;border-radius:var(--hk-r);overflow:hidden;
  box-shadow:var(--hk-card);
  transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s;
}
.c-card:hover,.c-card:focus-within{transform:translateY(-6px);box-shadow:var(--hk-card-hover)}

.c-card__thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--hk-mist)}
.c-card__thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.3,1)}
.c-card:hover .c-card__thumb img{transform:scale(1.06)}
/* アイキャッチが無い記事のための下地 */
.c-card__thumb--empty{display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#d7f2ff,#eaf7ff 60%,#fff)}
.c-card__thumb--empty span{font-family:var(--hk-en);font-size:13px;letter-spacing:.22em;color:#7fc9e8}

/* 日付は画像の上に重ねません。アイキャッチが文字入りのバナーなので、
   重ねると記事タイトルが読めなくなるためです。 */
.c-card__date{
  display:flex;align-items:center;gap:8px;margin:0 0 10px;
  color:var(--hk-muted);font-family:var(--hk-en);font-size:12px;font-weight:500;letter-spacing:.1em;
}
.c-card__date::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--hk-line),transparent)}

.c-card__text{display:flex;flex-direction:column;flex-grow:1;padding:20px 22px 22px}
.c-card__title{margin:0;font-size:16px;font-weight:700;line-height:1.72}
.c-card .c-card__title a{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;
  color:var(--hk-ink);text-decoration:none;transition:color .2s;
}
.c-card:hover .c-card__title a{color:var(--hk-accent-deep)}
.c-card__excerpt{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
  margin:12px 0 0;color:#6b7887;font-size:13px;line-height:1.9;
}
.c-card__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:18px}
.c-card__tags{display:flex;flex-wrap:wrap;gap:6px;min-width:0;overflow:hidden}
.c-card__tag{
  flex:none;padding:3px 10px;border-radius:999px;background:#f1f9fe;
  color:#5f7183;font-size:11px;line-height:1.6;white-space:nowrap;
}
.c-card__more{
  flex:none;display:inline-flex;align-items:center;gap:6px;
  color:var(--hk-accent-deep);font-size:12px;font-weight:700;letter-spacing:.04em;
}
.c-card__more svg{width:12px;height:12px;transition:transform .25s}
.c-card:hover .c-card__more svg{transform:translateX(4px)}
/* カードのどこを押しても記事に飛べるようにします（リンクは1つだけ） */
.c-card .c-card__title a::after{content:"";position:absolute;inset:0;z-index:1}
.c-card .c-card__title a:focus-visible{outline:none}
.c-card .c-card__title a:focus-visible::after{outline:3px solid var(--hk-accent);outline-offset:-4px;border-radius:var(--hk-r)}

/* ---------------------------------------------------------------------
   6. 先頭記事（横長の大きいカード）
   ------------------------------------------------------------------ */
.c-feature{
  position:relative;display:grid;grid-template-columns:1.08fr 1fr;
  margin:0 0 40px;background:#fff;border-radius:22px;overflow:hidden;
  box-shadow:var(--hk-card);transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s;
}
.c-feature:hover,.c-feature:focus-within{transform:translateY(-5px);box-shadow:var(--hk-card-hover)}
.c-feature__thumb{
  position:relative;display:flex;align-items:center;overflow:hidden;background:var(--hk-mist);
}
.c-feature__thumb img{display:block;width:100%;height:auto;transition:transform .7s cubic-bezier(.2,.7,.3,1)}
.c-feature:hover .c-feature__thumb img{transform:scale(1.05)}
.c-feature__badge{
  position:absolute;top:16px;left:16px;z-index:1;
  padding:7px 16px;border-radius:999px;background:var(--hk-coral);color:#fff;
  font-family:var(--hk-en);font-size:12px;font-weight:600;letter-spacing:.16em;
  box-shadow:0 4px 12px rgba(233,107,81,.35);
}
.c-feature__text{display:flex;flex-direction:column;justify-content:center;padding:38px 44px}
.c-feature__meta{display:flex;align-items:center;gap:14px;margin:0 0 14px;color:var(--hk-muted);font-size:12px}
.c-feature__meta svg{width:12px;height:12px;margin-right:5px;vertical-align:-1px;fill:currentColor}
.c-feature__meta .c-en{font-size:13px;color:var(--hk-navy);font-weight:600}
.c-feature__title{margin:0;font-size:24px;font-weight:700;line-height:1.62;letter-spacing:.01em}
.c-feature .c-feature__title a{color:var(--hk-ink);text-decoration:none;transition:color .2s}
.c-feature:hover .c-feature__title a{color:var(--hk-accent-deep)}
.c-feature__excerpt{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;
  margin:16px 0 0;color:#6b7887;font-size:14px;line-height:2;
}
.c-feature .c-feature__title a{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;
}
.c-feature__more{
  display:inline-flex;align-items:center;gap:8px;align-self:flex-start;margin-top:26px;
  padding:13px 30px;border-radius:999px;background:var(--hk-accent);color:#fff;
  font-size:14px;font-weight:700;letter-spacing:.04em;
  box-shadow:0 6px 16px rgba(50,210,255,.35);transition:transform .2s,box-shadow .2s;
}
.c-feature:hover .c-feature__more{transform:translateY(-2px);box-shadow:0 10px 22px rgba(50,210,255,.45)}
.c-feature__more svg{width:12px;height:12px}
/* 大きいカードも、どこを押しても記事に飛べるようにします */
.c-feature .c-feature__title a::after{content:"";position:absolute;inset:0;z-index:2}
.c-feature .c-feature__title a:focus-visible{outline:none}
.c-feature .c-feature__title a:focus-visible::after{outline:3px solid var(--hk-accent);outline-offset:-4px;border-radius:22px}

@media (max-width:900px){
  .c-feature{grid-template-columns:1fr;margin-bottom:28px}
  .c-feature__thumb{min-height:0}
  .c-feature__text{padding:26px 24px 30px}
  .c-feature__title{font-size:19px}
  .c-feature__more{margin-top:20px;padding:12px 26px;font-size:13px}
}

/* ---------------------------------------------------------------------
   7. ページ送り
   ------------------------------------------------------------------ */
.c-pager{margin:56px 0 0}
.c-pager .page-numbers{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.c-pager .page-numbers li a,
.c-pager .page-numbers li span{
  display:flex;align-items:center;justify-content:center;min-width:46px;height:46px;padding:0 16px;
  border:1px solid #dceaf4;border-radius:999px;background:#fff;
  color:var(--hk-navy);font-family:var(--hk-en);font-size:14px;font-weight:600;
  text-decoration:none;transition:all .2s;
}
.c-pager .page-numbers li a:hover{background:var(--hk-accent);border-color:var(--hk-accent);color:#fff;transform:translateY(-2px)}
.c-pager .page-numbers li span.current{background:var(--hk-navy);border-color:var(--hk-navy);color:#fff}
.c-pager .page-numbers li .next,
.c-pager .page-numbers li .prev{font-family:var(--hk-jp);font-size:13px}

.c-empty{margin:0;padding:70px 0;text-align:center;color:#6b7887;font-size:15px;line-height:2}

/* ---------------------------------------------------------------------
   8. 記事ページ
   ------------------------------------------------------------------ */
/* 読み進み具合のバー */
.c-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:120;background:transparent;pointer-events:none}
.c-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--hk-accent),var(--hk-accent-deep));transition:width .1s linear}

.c-hero--article .c-hero__inner{padding-bottom:96px}
.c-hero--article .c-hero__title{font-size:32px;line-height:1.6;max-width:900px;margin:0 auto}
.c-article__cat{
  display:inline-block;margin:0 0 16px;padding:7px 20px;border-radius:999px;
  background:var(--hk-navy);color:#fff;font-size:12px;font-weight:700;letter-spacing:.1em;
}
.c-article__meta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 18px;margin:22px 0 0;color:var(--hk-muted);font-size:13px}
.c-article__meta .c-en{font-size:13px;letter-spacing:.08em}
.c-article__meta svg{width:13px;height:13px;margin-right:5px;vertical-align:-2px;fill:currentColor}
.c-article__tags{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:18px 0 0;padding:0;list-style:none}
.c-article__tags .c-article__tag{
  display:inline-block;padding:5px 14px;border-radius:999px;background:#fff;border:1px solid #d8ecf8;
  color:#5f7183;font-size:12px;text-decoration:none;transition:all .2s;
}
.c-article__tags .c-article__tag:hover{background:var(--hk-accent);border-color:var(--hk-accent);color:#fff}

@media (max-width:767px){
  .c-hero--article .c-hero__inner{padding-bottom:74px}
  .c-hero--article .c-hero__title{font-size:21px;line-height:1.65}
}

/* 本文と目次の2段組み。1200px 未満では1段になり、目次は本文の中に出ます */
.c-article__layout{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;margin-top:-56px}
@media (min-width:1200px){
  .c-article__layout{grid-template-columns:minmax(0,1fr) 264px;align-items:start}
}
@media (max-width:767px){ .c-article__layout{margin-top:-40px} }

.c-article__body{
  position:relative;min-width:0;
  background:#fff;border-radius:22px;padding:0 60px 56px;
  box-shadow:0 6px 30px rgba(27,20,100,.08);
}
/* 目次を横に置かない幅では、本文が広がりすぎないよう 900px で止めます
   （1行が長いと読みにくいため。目次を横に置く 1200px 以上では 812px です） */
@media (max-width:1199px){ .c-article__body{max-width:900px;margin-inline:auto} }
@media (max-width:900px){ .c-article__body{padding:0 28px 44px;border-radius:16px} }
@media (max-width:600px){ .c-article__body{padding:0 18px 36px} }

/* アイキャッチはカードの上端に食い込ませます */
.c-article__eyecatch{margin:0 -60px 40px;border-radius:22px 22px 0 0;overflow:hidden;line-height:0;background:var(--hk-mist)}
.c-article__eyecatch img{display:block;width:100%;height:auto}
@media (max-width:900px){ .c-article__eyecatch{margin:0 -28px 32px;border-radius:16px 16px 0 0} }
@media (max-width:600px){ .c-article__eyecatch{margin:0 -18px 26px} }
/* アイキャッチが無いときは上に余白を作ります */
.c-article__body > *:first-child{margin-top:0}
.c-article__body.has-no-eyecatch{padding-top:48px}

/* ---------------------------------------------------------------------
   9. 目次
   ------------------------------------------------------------------ */
.c-toc{margin:0 0 44px;border:1px solid #d9ecf8;border-radius:16px;background:linear-gradient(180deg,#f7fcff,#fff);overflow:hidden}
.c-toc__head{
  display:flex;align-items:center;gap:10px;padding:18px 24px;cursor:pointer;list-style:none;
  color:var(--hk-navy);font-size:15px;font-weight:700;letter-spacing:.06em;
}
.c-toc__head::-webkit-details-marker{display:none}
.c-toc__head svg{width:16px;height:16px;fill:var(--hk-accent)}
.c-toc__head::after{
  content:"";margin-left:auto;width:8px;height:8px;
  border-right:2px solid #9bb6c8;border-bottom:2px solid #9bb6c8;
  transform:rotate(45deg) translateY(-2px);transition:transform .25s;
}
.c-toc[open] .c-toc__head::after{transform:rotate(-135deg) translateY(-2px)}
.c-toc__list{margin:0;padding:0 26px 22px;list-style:none;counter-reset:toc}
.c-toc__item{line-height:1.75}
.c-toc__item--h2{counter-increment:toc;margin:10px 0;padding-left:2.2em;text-indent:-2.2em;font-size:14px;font-weight:600}
.c-toc__item--h2::before{content:counter(toc,decimal-leading-zero);margin-right:.7em;color:var(--hk-accent);font-family:var(--hk-en);font-weight:600}
.c-toc__item--h3{margin:6px 0 6px 2.6em;font-size:13px}
.c-toc__item--h3::before{content:"";display:inline-block;width:10px;height:1px;margin:0 8px 5px 0;background:#a9c4d4}
.c-toc .c-toc__list a{color:#41505f;text-decoration:none;transition:color .2s}
.c-toc .c-toc__list a:hover{color:var(--hk-accent-deep);text-decoration:underline}
.c-toc .c-toc__list a.is-current{color:var(--hk-accent-deep);font-weight:700}

/* 横に置く目次（1200px 以上） */
.c-article__rail{display:none}
@media (min-width:1200px){
  .c-article__rail{display:block;position:sticky;top:28px}
  .c-article__rail .c-toc{margin:0;background:#fff}
  .c-article__rail .c-toc__list{max-height:62vh;overflow-y:auto;padding-bottom:18px}
  .c-article__rail .c-toc__item--h2{font-size:13px}
  .c-article__rail .c-toc__item--h3{font-size:12px;margin-left:1.9em}
  /* 横に目次があるときは本文の中の目次を隠します */
  .c-article__body .c-toc{display:none}
}

/* ---------------------------------------------------------------------
   10. 本文
   ------------------------------------------------------------------ */
.c-article__content{color:var(--hk-text);font-size:17px;line-height:2.05;letter-spacing:.02em}
.c-article__content > *:first-child{margin-top:0}
.c-article__content h2,.c-article__content h3,.c-article__content h4{scroll-margin-top:24px}

.c-article__content h2{
  position:relative;margin:3.2em 0 1.3em;padding:18px 24px 18px 30px;
  background:linear-gradient(100deg,var(--hk-navy),#2a2287);
  color:#fff;font-size:21px;font-weight:700;line-height:1.65;letter-spacing:.02em;
  border-radius:12px;overflow:hidden;
}
.c-article__content h2::before{content:"";position:absolute;top:0;bottom:0;left:0;width:7px;background:var(--hk-accent)}
.c-article__content h3{
  margin:2.8em 0 1.1em;padding:2px 0 2px 18px;border-left:5px solid var(--hk-accent);
  color:var(--hk-navy);font-size:19px;font-weight:700;line-height:1.7;
}
.c-article__content h4{
  position:relative;margin:2.4em 0 1em;padding-left:22px;
  color:var(--hk-navy);font-size:17px;font-weight:700;line-height:1.7;
}
.c-article__content h4::before{
  content:"";position:absolute;left:0;top:.62em;width:12px;height:12px;border-radius:50%;
  border:3px solid var(--hk-accent);
}
.c-article__content h5{margin:2em 0 .8em;color:var(--hk-ink);font-size:16px;font-weight:700}

.c-article__content p{margin:0 0 1.9em}
.c-article__content .c-article__content-lead{font-size:18px}
.c-article__content a{color:var(--hk-accent-deep);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;transition:opacity .2s}
.c-article__content a:hover{opacity:.7}
.c-article__content strong{font-weight:700;color:#26313d}
.c-article__content mark{padding:0 3px;background:linear-gradient(transparent 60%,#cbefff 60%);color:inherit}

/* 画像。実寸より大きく引き伸ばしません */
.c-article__content figure,.c-article__content .wp-block-image{margin:2.6em auto;text-align:center}
.c-article__content .wp-block-image img,.c-article__content figure img{
  display:block;width:auto;max-width:100%;height:auto;margin:0 auto;border-radius:14px;
}
.c-article__content figcaption,.c-article__content .wp-block-image figcaption{
  margin-top:12px;color:var(--hk-muted);font-size:13px;line-height:1.9;text-align:center;font-style:normal;
}

/* 表 */
.c-article__content .wp-block-table{margin:2.4em 0;overflow-x:auto}
.c-article__content table{
  width:100%;background:#fff;border-collapse:separate;border-spacing:0;
  border:1px solid var(--hk-line);border-radius:12px;overflow:hidden;
}
.c-article__content th,.c-article__content td{
  padding:15px 18px;border-bottom:1px solid #eaf1f7;font-size:15px;line-height:1.9;text-align:left;vertical-align:top;
}
.c-article__content th{background:#eef8fd;color:var(--hk-navy);font-weight:700}
.c-article__content tbody tr:nth-child(even) td{background:#fafdff}
.c-article__content tr:last-child th,.c-article__content tr:last-child td{border-bottom:0}
.c-article__content td+td,.c-article__content th+th,
.c-article__content th+td,.c-article__content td+th{border-left:1px solid #eaf1f7}

/* 箇条書き */
.c-article__content ul,.c-article__content ol{margin:0 0 1.9em;padding-left:1.6em}
.c-article__content li{margin-bottom:.7em;line-height:1.95}
.c-article__content ul li::marker{color:var(--hk-accent)}
.c-article__content ol li::marker{color:var(--hk-accent-deep);font-weight:700;font-family:var(--hk-en)}

/* 引用 */
.c-article__content blockquote{
  position:relative;margin:2.4em 0;padding:24px 28px 24px 30px;
  background:#f6fbfe;border-left:5px solid var(--hk-accent);border-radius:0 12px 12px 0;
  color:#4a5866;font-size:16px;
}
.c-article__content blockquote p:last-child{margin-bottom:0}

/* ボタン。色は執筆者が記事ごとに選んでいるので上書きしません */
.c-article__content .wp-block-buttons{margin:2.6em 0;justify-content:center}
.c-article__content .wp-block-button__link{
  display:inline-block;padding:17px 42px;font-size:16px;font-weight:700;line-height:1.5;
  text-decoration:none;box-shadow:0 6px 18px rgba(27,20,100,.16);
  transition:transform .2s,box-shadow .2s,opacity .2s;
}
.c-article__content .wp-block-button__link:not(.has-background){background:var(--hk-accent);color:#fff;border-radius:999px}
.c-article__content .wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(27,20,100,.2)}
.c-article__content .wp-block-button__link:active{transform:translateY(0)}

/* 吹き出し（liquid-speech-balloon） */
.c-article__content .wp-block-liquid-speech-balloon{margin:2.2em 0}
.c-article__content .liquid-speech-balloon-text{
  background:#f6fbfe !important;border:1px solid #d9ecf8 !important;border-radius:14px !important;
}
.c-article__content .liquid-speech-balloon-avatar{border-radius:50% !important}

/* 区切り・埋め込み */
.c-article__content hr,.c-article__content .wp-block-separator{
  width:100%;margin:3.2em auto;border:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--hk-line) 20%,var(--hk-line) 80%,transparent);
}
.c-article__content .wp-block-embed{margin:2.6em 0}
.c-article__content .wp-block-embed iframe{max-width:100%;border-radius:14px}

@media (max-width:767px){
  .c-article__content{font-size:16px;line-height:2}
  .c-article__content h2{font-size:18px;padding:15px 18px 15px 22px;border-radius:10px}
  .c-article__content h3{font-size:17px;padding-left:14px}
  .c-article__content h4{font-size:16px}
  .c-article__content th,.c-article__content td{padding:12px 13px;font-size:14px}
  .c-article__content .wp-block-button__link{padding:15px 30px;font-size:15px}
}

/* ---------------------------------------------------------------------
   11. 記事の下（シェア・前後の記事・関連記事）
   ------------------------------------------------------------------ */
.c-share{margin:52px 0 0;padding:34px 0 0;border-top:1px solid var(--hk-line);text-align:center}
.c-share__title{margin:0 0 18px;color:var(--hk-muted);font-family:var(--hk-en);font-size:12px;font-weight:600;letter-spacing:.18em}
.c-share__list{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin:0;padding:0;list-style:none}
.c-share__list .c-share__btn{
  display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;
  color:#fff;text-decoration:none;transition:transform .2s,box-shadow .2s,opacity .2s;
  box-shadow:0 4px 12px rgba(27,20,100,.14);
}
.c-share__list .c-share__btn:hover{transform:translateY(-3px);box-shadow:0 8px 18px rgba(27,20,100,.22)}
.c-share__list .c-share__btn svg{width:19px;height:19px;fill:currentColor}
.c-share__list .c-share__btn--x{background:#000}
.c-share__list .c-share__btn--facebook{background:#1877F2}
.c-share__list .c-share__btn--line{background:#06C755}
.c-share__list .c-share__btn--linkedin{background:#0A66C2}
.c-share__list .c-share__btn--copy{background:#fff;color:#5f7183;border:1px solid #d8e6f0}
.c-share__list .c-share__btn--copy:hover{color:var(--hk-accent-deep);border-color:var(--hk-accent)}
.c-share__note{margin:14px 0 0;height:16px;color:var(--hk-accent-deep);font-size:12px;opacity:0;transition:opacity .25s}
.c-share__note.is-shown{opacity:1}

.c-postnav{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1160px;margin:44px auto 0;padding:0 24px}
.c-postnav .c-postnav__item{
  display:flex;align-items:center;gap:16px;padding:18px 22px;
  background:#fff;border:1px solid #e7eff6;border-radius:16px;text-decoration:none;
  transition:box-shadow .25s,transform .2s,border-color .25s;
}
.c-postnav .c-postnav__item:hover{box-shadow:var(--hk-card-hover);transform:translateY(-3px);border-color:#d5ebf7}
.c-postnav__item--next{grid-column:2;flex-direction:row-reverse;text-align:right}
.c-postnav__thumb{flex:none;width:76px;height:76px;border-radius:12px;overflow:hidden;background:var(--hk-mist)}
.c-postnav__thumb img{width:100%;height:100%;object-fit:cover}
.c-postnav__body{min-width:0}
.c-postnav__label{display:block;margin-bottom:7px;color:var(--hk-accent);font-family:var(--hk-en);font-size:11px;font-weight:600;letter-spacing:.16em}
.c-postnav__title{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
  color:var(--hk-navy);font-size:13.5px;font-weight:700;line-height:1.75;
}

.c-related{max-width:1160px;margin:76px auto 0;padding:0 24px}
.c-related__head{margin:0 0 30px;text-align:center}
.c-related__label{margin:0 0 4px;color:var(--hk-accent-deep);font-family:var(--hk-en);font-size:13px;font-weight:600;letter-spacing:.18em}
.c-related__title{margin:0;color:var(--hk-ink);font-size:24px;font-weight:700}
.c-related .c-cards{grid-template-columns:repeat(3,1fr)}
@media (max-width:1024px){ .c-related .c-cards{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px){ .c-related .c-cards{grid-template-columns:1fr} }

@media (max-width:767px){
  .c-share{margin-top:40px;padding-top:28px}
  .c-postnav{grid-template-columns:1fr;gap:12px;padding:0 16px}
  .c-postnav__item--next{grid-column:1;flex-direction:row;text-align:left}
  .c-related{margin-top:56px;padding:0 16px}
  .c-related__title{font-size:20px}
}

/* ---------------------------------------------------------------------
   12. 問い合わせ導線（記事下・一覧下）
   ------------------------------------------------------------------ */
.c-cta{position:relative;max-width:1160px;margin:76px auto 0;padding:0 24px}
.c-cta__inner{
  position:relative;overflow:hidden;padding:52px 32px 54px;border-radius:24px;text-align:center;
  background:linear-gradient(135deg,#1B1464 0%,#2b2a9c 55%,#0FA9DA 140%);
  box-shadow:0 16px 40px rgba(27,20,100,.22);
}
.c-cta__inner::before,.c-cta__inner::after{
  content:"";position:absolute;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(50,210,255,.35),rgba(50,210,255,0) 70%);
}
.c-cta__inner::before{width:320px;height:320px;top:-140px;right:-80px}
.c-cta__inner::after{width:260px;height:260px;bottom:-150px;left:-60px}
.c-cta__lead{position:relative;margin:0;color:#fff;font-size:26px;font-weight:700;line-height:1.7}
.c-cta__lead strong{color:#FFE24B;font-weight:700}
.c-cta__sub{position:relative;margin:14px 0 26px;color:rgba(255,255,255,.88);font-size:15px}
.c-cta__buttons{position:relative;display:flex;justify-content:center;flex-wrap:wrap;gap:16px}
.c-cta .c-cta__btn{
  display:flex;align-items:center;justify-content:center;gap:10px;
  min-width:264px;min-height:60px;padding:12px 26px;border-radius:999px;
  font-size:16px;font-weight:700;text-decoration:none;
  transition:transform .2s,box-shadow .2s,opacity .2s;
}
.c-cta .c-cta__btn svg{width:18px;height:18px;fill:currentColor}
.c-cta .c-cta__btn:hover{transform:translateY(-3px)}
.c-cta .c-cta__btn--tel{background:var(--hk-coral);color:#fff;box-shadow:0 8px 20px rgba(233,107,81,.4)}
.c-cta .c-cta__btn--tel:hover{box-shadow:0 12px 26px rgba(233,107,81,.5)}
.c-cta .c-cta__btn--mail{background:var(--hk-accent);color:#fff;box-shadow:0 8px 20px rgba(50,210,255,.4)}
.c-cta .c-cta__btn--mail:hover{box-shadow:0 12px 26px rgba(50,210,255,.5)}
.c-cta__tel-note{display:block;font-family:var(--hk-en);font-size:19px;letter-spacing:.04em}

@media (max-width:767px){
  .c-cta{margin-top:52px;padding:0 16px}
  .c-cta__inner{padding:36px 20px 38px;border-radius:18px}
  .c-cta__lead{font-size:20px}
  .c-cta__sub{font-size:14px;margin-bottom:22px}
  .c-cta .c-cta__btn{min-width:0;width:100%;min-height:56px;font-size:15px}
}

/* ---------------------------------------------------------------------
   13. 404
   ------------------------------------------------------------------ */
.c-notfound{max-width:640px;margin:0 auto;padding:0 24px 20px;text-align:center}
.c-notfound__text{margin:0 0 30px;color:#5b6875;font-size:15px;line-height:2.1}
.c-notfound .c-notfound__btn{
  display:inline-flex;align-items:center;gap:8px;padding:15px 34px;border-radius:999px;
  background:var(--hk-accent);color:#fff;font-size:15px;font-weight:700;text-decoration:none;
  box-shadow:0 8px 20px rgba(50,210,255,.35);transition:transform .2s,box-shadow .2s;
}
.c-notfound .c-notfound__btn:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(50,210,255,.45)}
.c-notfound .c-notfound__btn .c-icon{width:11px;height:11px}

/* ---------------------------------------------------------------------
   14. スクロールに合わせた出現（動きを減らす設定なら出ません）
   ------------------------------------------------------------------ */
/* `.hk-js` は functions.php が <head> で、`.hk-js-ready` は column.js が付けます。
   JS が読み込めなかったときは hk-js-ready が付かないので、3秒後に
   保険（hk-failsafe）が働いて中身が必ず表示されます。 */
.hk-js .js-reveal{
  opacity:0;transform:translateY(18px);
  transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.3,1);
  animation:hk-failsafe 1ms linear 3s forwards;
}
.hk-js-ready .js-reveal{animation:none}
.hk-js .js-reveal.is-visible{opacity:1;transform:none}
@keyframes hk-failsafe{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .hk-js .js-reveal{opacity:1;transform:none;transition:none}
  .c-card,.c-feature,.c-postnav .c-postnav__item,.c-cta .c-cta__btn,
  .c-card__thumb img,.c-feature__thumb img{transition:none !important}
  .c-card:hover,.c-feature:hover,.c-postnav .c-postnav__item:hover{transform:none}
}
