/* =====================================================
   WELLNESS NOW — リデザイン
   参考: freee 経営ハッカー × オレンジ (#FF6600) ブランド
   ===================================================== */

/* ---- 変数 ----------------------------------------- */
:root {
  --wn-orange:       #FF6600;
  --wn-orange-light: #FFF3EC;
  --wn-orange-mid:   #FFD0B0;
  --wn-navy:         #1A1A2E;
  --wn-gray:         #555555;
  --wn-gray-light:   #F5F5F5;
  --wn-border:       #E8E8E8;
  --wn-text:         #333333;
  --wn-radius:       6px;
}

/* ---- 全体タイポグラフィ ---------------------------- */
body {
  color: var(--wn-text);
  background: #F5F3F0;
}

/* ---- ヘッダー ------------------------------------- */
.header {
  background: var(--wn-orange) !important;
  padding: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.header-in {
  padding: 14px 20px !important;
  min-height: unset !important;
}

/* ロゴ下のキャッチコピー */
.catch {
  color: rgba(255,255,255,.85) !important;
  font-size: 12px !important;
  letter-spacing: .06em;
}

/* ナビ */
#navi .navi-in > ul > li > a,
.navi-in a {
  color: #fff !important;
}

/* ---- レイアウト ------------------------------------ */
/* コンテンツエリアのみ最大幅制限（ヘッダー・フッターは全幅） */
.content-in.cf {
  max-width: 1140px;
  margin: 0 auto;
}

/* ヘッダー内コンテンツを中央寄せ */
.header-in {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* フッター内コンテンツを中央寄せ */
.footer-in {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* コンテンツ背景 */
.main, .sidebar {
  background: transparent;
}

/* ---- 記事一覧カード（トップページ） -------------- */
.entry-card-wrap,
a.entry-card-wrap {
  background: #fff !important;
  border: none !important;
  border-radius: var(--wn-radius) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.07) !important;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}

.entry-card-wrap:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.11) !important;
  transform: translateY(-2px);
  text-decoration: none !important;
}

/* カード画像 */
.entry-card-thumb {
  overflow: hidden;
}

.entry-card-thumb img {
  transition: transform .3s ease;
}

.entry-card-wrap:hover .entry-card-thumb img {
  transform: scale(1.03);
}

/* カードタイトル */
.entry-card-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--wn-navy) !important;
  line-height: 1.55 !important;
}

/* カードスニペット */
.entry-card-snippet {
  font-size: 13px !important;
  color: var(--wn-gray) !important;
  line-height: 1.65 !important;
}

/* カテゴリラベル */
.cat-label,
.cat-label-1,
[class^="cat-label"] {
  background: var(--wn-orange) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 3px 9px !important;
  border-radius: 3px !important;
}

/* 日付アイコン */
.entry-card-meta,
.entry-card-meta .date {
  color: #999 !important;
  font-size: 12px !important;
}

/* ---- 記事ページ ------------------------------------ */

/* 記事タイトル */
.article .entry-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: var(--wn-navy) !important;
  line-height: 1.45 !important;
  margin-bottom: 20px !important;
}

/* 記事本文コンテナ */
.entry-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--wn-text);
}

.entry-content p {
  margin-bottom: 1.6em;
}

/* ---- H2: freeeスタイル（左ボーダー + クリーン） --- */
.entry-content h2,
.entry-content h2.wp-block-heading {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--wn-navy) !important;
  background: none !important;
  border: none !important;
  border-left: 4px solid var(--wn-orange) !important;
  border-radius: 0 !important;
  padding: 6px 0 6px 16px !important;
  margin: 52px 0 24px !important;
  box-shadow: none !important;
  line-height: 1.45 !important;
}

/* Cocoonのbb-tabブロックのh2上書き */
.bb-tab h2,
.blank-box h2 {
  font-size: 15px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  color: var(--wn-navy) !important;
}

/* ---- H3 ------------------------------------------- */
.entry-content h3,
.entry-content h3.wp-block-heading {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--wn-navy) !important;
  background: none !important;
  border: none !important;
  border-bottom: 2px solid var(--wn-orange-mid) !important;
  border-left: none !important;
  padding: 0 0 10px 0 !important;
  margin: 36px 0 18px !important;
  box-shadow: none !important;
}

/* ---- Q&A スタイル ---------------------------------- */
/* インタビュアー（高橋:） → オレンジ */
.bold-blue {
  color: var(--wn-orange) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

/* インタビュイー（院長:） → ネイビー */
.bold-red {
  color: var(--wn-navy) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

/* ---- 目次ボックス ---------------------------------- */
.toc {
  background: #fff !important;
  border: 1px solid var(--wn-border) !important;
  border-top: 3px solid var(--wn-orange) !important;
  border-radius: var(--wn-radius) !important;
  padding: 20px 24px !important;
  margin: 36px 0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.05) !important;
}

.toc-title {
  color: var(--wn-navy) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  margin-bottom: 14px !important;
}

.toc-list li,
.toc ol li,
.toc ul li {
  border-bottom: 1px solid #F2F2F2 !important;
  padding: 8px 0 !important;
  font-size: 14px !important;
}

.toc-list a,
.toc ol a,
.toc ul a {
  color: var(--wn-gray) !important;
  text-decoration: none !important;
}

.toc-list a:hover,
.toc ol a:hover {
  color: var(--wn-orange) !important;
}

/* ---- 院情報ボックス（bb-tab） ---------------------- */
.wp-block-cocoon-blocks-tab-box-1,
.bb-tab,
.blank-box.bb-tab {
  background: var(--wn-orange-light) !important;
  border: 1px solid var(--wn-orange-mid) !important;
  border-left: 4px solid var(--wn-orange) !important;
  border-radius: var(--wn-radius) !important;
  padding: 20px 24px !important;
  box-shadow: none !important;
}

/* ---- サイドバー ------------------------------------ */
.sidebar {
  font-size: 14px;
}

/* サイドバーウィジェットタイトル */
.sidebar .widget-title,
.widget-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--wn-navy) !important;
  padding: 0 0 10px 0 !important;
  border: none !important;
  border-bottom: 2px solid var(--wn-orange) !important;
  background: none !important;
  margin-bottom: 18px !important;
  border-radius: 0 !important;
}

/* 関連・人気・新着記事カード（サイドバー） */
.related-entry-card-wrap,
a.related-entry-card-wrap {
  background: #fff !important;
  border-radius: var(--wn-radius) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.06) !important;
  overflow: hidden;
  transition: box-shadow .2s ease;
}

.related-entry-card-wrap:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.10) !important;
}

.related-entry-card-title {
  font-size: 13px !important;
  color: var(--wn-navy) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

/* ---- パンくずリスト -------------------------------- */
.breadcrumb {
  font-size: 12px !important;
  color: #888 !important;
  margin-bottom: 20px !important;
}

.breadcrumb a {
  color: #888 !important;
}

.breadcrumb a:hover {
  color: var(--wn-orange) !important;
}

/* ---- フッター ------------------------------------- */
.footer {
  background: var(--wn-navy) !important;
  color: rgba(255,255,255,.7) !important;
}

.footer a {
  color: rgba(255,255,255,.7) !important;
}

.footer a:hover {
  color: #fff !important;
}

/* ---- スクロールトップボタン ----------------------- */
.go-to-top-button {
  background: var(--wn-orange) !important;
  border-radius: 50% !important;
}

/* ---- 記事タグ ------------------------------------- */
.tag-label,
.tag-badge {
  background: var(--wn-gray-light) !important;
  color: var(--wn-gray) !important;
  border: 1px solid var(--wn-border) !important;
  border-radius: 3px !important;
  font-size: 11px !important;
}

/* ---- シェアボタン ---------------------------------- */
.share-button-label {
  display: none;
}

/* ---- サイドバー：専門領域タグクラウド -------------- */
.wn-specialty-widget .widget-title {
  font-size: 14px !important;
}

.wn-sp-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.wn-sp-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  border: 1px solid var(--wn-border);
  background: #fff;
  color: var(--wn-gray);
  text-decoration: none !important;
  line-height: 1.5;
  transition: all .15s;
}

.wn-sp-tag:hover {
  border-color: var(--wn-orange);
  color: var(--wn-orange);
  background: var(--wn-orange-light);
  text-decoration: none !important;
}

.wn-sp-tag.is-current {
  background: var(--wn-orange);
  border-color: var(--wn-orange);
  color: #fff;
}

/* ---- カテゴリナビバー ------------------------------ */
.wn-cat-nav {
  background: var(--wn-navy);
  width: 100%;
  overflow: hidden;
}

.wn-cat-nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wn-cat-nav__inner::-webkit-scrollbar {
  display: none;
}

.wn-cat-nav__label {
  color: rgba(255,255,255,.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,.12);
  margin-right: 4px;
  flex-shrink: 0;
}

.wn-cat-nav__list {
  display: flex;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0;
}

.wn-cat-nav__list li {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  display: flex;
}

.wn-cat-nav__list a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.68) !important;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 14px;
  text-decoration: none !important;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}

.wn-cat-nav__list a:hover {
  color: #fff !important;
  background: rgba(255,255,255,.07);
  text-decoration: none !important;
}

.wn-cat-nav__list a.is-current {
  color: #fff !important;
  border-bottom-color: var(--wn-orange);
}

/* ---- フィルターバー -------------------------------- */
.wn-filter {
  background: #fff;
  border: 1px solid var(--wn-border);
  border-radius: var(--wn-radius);
  padding: 20px 22px;
  margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.wn-filter__search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.wn-filter__search {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--wn-border);
  border-radius: var(--wn-radius);
  font-size: 14px;
  color: var(--wn-text);
  outline: none;
  transition: border-color .15s;
}

.wn-filter__search:focus {
  border-color: var(--wn-orange);
}

.wn-filter__submit {
  background: var(--wn-orange);
  color: #fff;
  border: none;
  border-radius: var(--wn-radius);
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.wn-filter__submit:hover {
  background: #E55A00;
}

.wn-filter__group {
  margin-bottom: 12px;
}

.wn-filter__group:last-of-type {
  margin-bottom: 0;
}

.wn-filter__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--wn-gray);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wn-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wn-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1px solid var(--wn-border);
  border-radius: 20px;
  background: #fff;
  color: var(--wn-gray);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  transition: all .15s;
}

.wn-chip:hover {
  border-color: var(--wn-orange);
  color: var(--wn-orange);
}

.wn-chip.is-active {
  background: var(--wn-orange);
  border-color: var(--wn-orange);
  color: #fff;
}

.wn-chip__count {
  font-size: 11px;
  opacity: .65;
}

.wn-filter__reset-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--wn-border);
}

.wn-filter__reset {
  background: none;
  border: none;
  color: var(--wn-gray);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  transition: color .15s;
}

.wn-filter__reset:hover {
  color: var(--wn-orange);
}

@media (max-width: 768px) {
  .wn-filter {
    padding: 14px;
  }
  .wn-filter__search-row {
    flex-direction: column;
  }
  .wn-filter__submit {
    width: 100%;
    text-align: center;
  }
}

/* ---- 院データカード -------------------------------- */
.wn-clinic-card {
  background: #fff;
  border: 1px solid var(--wn-border);
  border-top: 3px solid var(--wn-orange);
  border-radius: var(--wn-radius);
  margin: 0 0 40px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.wn-clinic-card__head {
  background: var(--wn-orange-light);
  color: var(--wn-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-bottom: 1px solid var(--wn-orange-mid);
}

.wn-clinic-card__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.wn-clinic-card__table th,
.wn-clinic-card__table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--wn-border);
  vertical-align: top;
  line-height: 1.6;
}

.wn-clinic-card__table tr:last-child th,
.wn-clinic-card__table tr:last-child td {
  border-bottom: none;
}

.wn-clinic-card__table th {
  width: 96px;
  min-width: 96px;
  color: var(--wn-gray);
  font-weight: 600;
  white-space: nowrap;
  background: #FAFAFA;
}

.wn-clinic-card__table td {
  color: var(--wn-text);
}

.wn-clinic-card__table td a {
  color: var(--wn-orange);
  word-break: break-all;
}

.wn-clinic-card__table td a:hover {
  text-decoration: underline;
}

/* タグ */
.wn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px;
}

.wn-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none !important;
  line-height: 1.5;
  transition: opacity .15s;
}

.wn-tag:hover {
  opacity: .8;
}

.wn-tag--specialty {
  background: var(--wn-orange-light);
  color: var(--wn-orange);
  border: 1px solid var(--wn-orange-mid);
}

.wn-tag--marketing {
  background: #EEF2FF;
  color: #4B5DB8;
  border: 1px solid #C7D0F8;
}

/* ---- ヒーローグリッド ------------------------------- */
.wn-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 310px;
  gap: 4px;
  margin-bottom: 32px;
  border-radius: var(--wn-radius);
  overflow: hidden;
}

.wn-hero-main {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none !important;
}

.wn-hero-main__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .45s ease;
}

.wn-hero-main:hover .wn-hero-main__img {
  transform: scale(1.04);
}

.wn-hero-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
}

.wn-hero-main__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px;
  z-index: 1;
}

.wn-hero-subs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wn-hero-sub {
  flex: 1;
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none !important;
}

.wn-hero-sub__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .45s ease;
}

.wn-hero-sub:hover .wn-hero-sub__img {
  transform: scale(1.04);
}

.wn-hero-sub::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.76) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
}

.wn-hero-sub__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  z-index: 1;
}

.wn-hero-tag {
  display: inline-block;
  background: var(--wn-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 7px;
  line-height: 1.6;
}

.wn-hero-tag--sm {
  font-size: 10px;
  padding: 1px 7px;
  margin-bottom: 5px;
}

.wn-hero-main__title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.wn-hero-sub__title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* ---- セクション見出し ------------------------------ */
.wn-section-heading {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--wn-navy) !important;
  border: none !important;
  border-left: 4px solid var(--wn-orange) !important;
  background: none !important;
  padding: 4px 0 4px 14px !important;
  margin: 0 0 20px !important;
  box-shadow: none !important;
}

/* ---- TOP ページ 記事リスト（freee スタイル） ------- */
body.home .list.ect-entry-card,
body.blog .list.ect-entry-card {
  background: transparent;
}

body.home .list .entry-card-wrap,
body.home .list a.entry-card-wrap,
body.blog .list .entry-card-wrap,
body.blog .list a.entry-card-wrap {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--wn-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 22px 2px !important;
  margin: 0 !important;
  transition: background .15s !important;
}

body.home .list .entry-card-wrap:hover,
body.home .list a.entry-card-wrap:hover,
body.blog .list .entry-card-wrap:hover,
body.blog .list a.entry-card-wrap:hover {
  background: rgba(255,255,255,.65) !important;
  box-shadow: none !important;
  transform: none !important;
}

body.home .list .entry-card-thumb,
body.blog .list .entry-card-thumb {
  width: 224px !important;
  min-width: 224px !important;
  height: 126px !important;
  border-radius: 4px !important;
  overflow: hidden;
}

body.home .list .entry-card-thumb img,
body.blog .list .entry-card-thumb img {
  width: 224px !important;
  height: 126px !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  transition: transform .3s ease !important;
}

body.home .list .entry-card-wrap:hover .entry-card-thumb img,
body.blog .list .entry-card-wrap:hover .entry-card-thumb img {
  transform: scale(1.04) !important;
}

body.home .list .entry-card-content,
body.blog .list .entry-card-content {
  padding: 0 0 0 20px !important;
  display: flex;
  flex-direction: column;
}

body.home .list .entry-card-title,
body.blog .list .entry-card-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--wn-navy) !important;
  line-height: 1.65 !important;
  margin-bottom: 8px !important;
}

body.home .list .entry-card-snippet,
body.blog .list .entry-card-snippet {
  font-size: 13px !important;
  color: var(--wn-gray) !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  line-height: 1.7 !important;
}

/* ---- モバイル対応 ---------------------------------- */
@media (max-width: 768px) {
  .wn-hero {
    grid-template-columns: 1fr;
    grid-template-rows: 220px;
  }
  .wn-hero-subs {
    display: none;
  }
  .wn-hero-main__title {
    font-size: 15px;
  }

  .entry-content h2,
  .entry-content h2.wp-block-heading {
    font-size: 18px !important;
    margin: 36px 0 18px !important;
  }

  .entry-content h3,
  .entry-content h3.wp-block-heading {
    font-size: 16px !important;
  }

  .article .entry-title {
    font-size: 20px !important;
  }

  body.home .list .entry-card-thumb,
  body.blog .list .entry-card-thumb {
    width: 120px !important;
    min-width: 120px !important;
    height: 80px !important;
  }
  body.home .list .entry-card-thumb img,
  body.blog .list .entry-card-thumb img {
    width: 120px !important;
    height: 80px !important;
  }
  body.home .list .entry-card-title,
  body.blog .list .entry-card-title {
    font-size: 14px !important;
  }
}

/* ── 記事サマリー ─────────────────────────────────────────────────────── */

.wn-summary {
  background: #FFF8F0;
  border-left: 4px solid var(--wn-orange);
  border-radius: 0 4px 4px 0;
  padding: 14px 18px;
  margin: 0 0 20px;
}

.wn-summary__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--wn-orange);
  margin: 0 0 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wn-summary__list {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: disc;
}

.wn-summary__list li {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 2px;
}

/* ── 関連記事 ─────────────────────────────────────────────────────────── */

.wn-related {
  margin: 40px 0 0;
  border-top: 2px solid #eee;
  padding-top: 24px;
}

.wn-related__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--wn-navy);
  margin: 0 0 16px;
}

.wn-related__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wn-related__link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-decoration: none !important;
  color: #333 !important;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  transition: border-color .2s;
  height: 100%;
  box-sizing: border-box;
}

.wn-related__link:hover {
  border-color: var(--wn-orange);
}

.wn-related__img {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.wn-related__name {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 640px) {
  .wn-related__list {
    grid-template-columns: 1fr;
  }
}

/* ── B2B 取材募集 CTA ───────────────────────────────────────────────── */

.wn-b2b-cta {
  background: linear-gradient(135deg, #1A1A2E 0%, #2d2d4e 100%);
  border-radius: 8px;
  padding: 32px 24px;
  margin: 32px 0 0;
  text-align: center;
}

.wn-b2b-cta__lead {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.wn-b2b-cta__body {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  margin: 0 0 20px;
  line-height: 1.75;
}

.wn-b2b-cta__btn {
  display: inline-block;
  background: var(--wn-orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: opacity .2s;
}

.wn-b2b-cta__btn:hover {
  opacity: .85;
}

/* ── アーカイブページ ─────────────────────────────────────────────────── */

.archive-title-inner {
  padding: 20px 0 8px;
  border-bottom: none;
}

.archive-title {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--wn-navy) !important;
  padding-left: 14px !important;
  border-left: 4px solid var(--wn-orange) !important;
  line-height: 1.4 !important;
}

.wn-archive-meta {
  margin: 0 0 24px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.wn-archive-meta__count {
  font-size: 13px;
  color: var(--wn-gray);
  font-weight: 600;
  white-space: nowrap;
  align-self: center;
}

.wn-archive-meta__desc {
  font-size: 13px;
  color: #555;
  margin: 0;
  width: 100%;
  line-height: 1.6;
}

.wn-archive-meta__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.wn-archive-meta__tags-label {
  font-size: 12px;
  color: var(--wn-gray);
  white-space: nowrap;
}

.wn-archive-meta__tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 12px;
  color: #444 !important;
  text-decoration: none !important;
  transition: all .15s;
}

.wn-archive-meta__tag:hover {
  border-color: var(--wn-orange);
  color: var(--wn-orange) !important;
  background: #FFF8F0;
}

.wn-archive-meta__tag-count {
  font-size: 10px;
  opacity: .6;
}

@media (max-width: 768px) {
  .archive-title {
    font-size: 20px !important;
  }
  .wn-archive-meta {
    flex-direction: column;
    gap: 8px;
  }
}

/* ── 目次（TOC） ──────────────────────────────────────────────────────── */

.wn-toc {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0 28px;
  display: inline-block;
  min-width: 240px;
  max-width: 100%;
}

.wn-toc__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--wn-navy);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
}

.wn-toc__list {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: decimal;
}

.wn-toc__item {
  margin-bottom: 5px;
}

.wn-toc__item a {
  font-size: 13px;
  color: #444 !important;
  text-decoration: none !important;
  transition: color .15s;
}

.wn-toc__item a:hover {
  color: var(--wn-orange) !important;
}

.wn-toc__item--sub {
  margin-left: 16px;
  list-style: disc;
}

.wn-toc__item--sub a {
  font-size: 12px;
  color: #666 !important;
}

/* ── 自動内部リンク ────────────────────────────────────────────────────── */

.wn-auto-link {
  color: var(--wn-orange) !important;
  text-decoration: underline !important;
  text-decoration-style: dotted !important;
  text-underline-offset: 2px;
}

.wn-auto-link:hover {
  opacity: .8;
}

/* ── カスタムフッター（bdfull スタイル準拠） ──────────────────────────── */

#footer.wn-footer-host,
.footer.wn-footer-host {
  background: #1a1a2e !important;
  padding: 0 !important;
}

#footer-in.footer-in {
  padding: 0 !important;
  max-width: none !important;
  background: transparent !important;
}

.wn-footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.wn-footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  text-decoration: none !important;
}

.wn-footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.wn-footer-logo-text {
  font-size: 1.125rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .04em;
}

.wn-footer-desc {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.75;
  max-width: 300px;
  margin: 0;
}

.wn-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.wn-footer-group-heading {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 1rem;
}

.wn-footer-group-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.wn-footer-link,
.wn-footer-link:visited {
  font-size: .875rem;
  color: rgba(255, 255, 255, .7) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  transition: color .2s;
}

.wn-footer-link:hover { color: #fff !important; }

.wn-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.wn-footer-bottom-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.wn-footer-copyright {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .4);
  margin: 0;
}

.wn-footer-copyright-link,
.wn-footer-copyright-link:visited {
  color: inherit !important;
  text-decoration: none !important;
}

.wn-footer-copyright-link:hover { color: rgba(255, 255, 255, .7) !important; }

@media (min-width: 768px) {
  .wn-footer-inner { grid-template-columns: 2fr 3fr; align-items: start; }
}

@media (max-width: 767px) {
  .wn-footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .wn-footer-links { grid-template-columns: 1fr; }
}

/* ── /publish/ LP ─────────────────────────────────────────────────────── */

.wn-lp-hero {
  background: linear-gradient(135deg, var(--wn-navy) 0%, #2d2d4e 100%);
  border-radius: 8px;
  padding: 56px 24px;
  text-align: center;
  margin: 0 0 32px;
}

.wn-lp-hero__label {
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.65);
  margin: 0 0 14px;
}

.wn-lp-hero__title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 16px !important;
  line-height: 1.5 !important;
  border: none !important;
  padding: 0 !important;
}

.wn-lp-hero__desc {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  margin: 0 0 28px;
  line-height: 1.75;
}

.wn-lp-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  transition: opacity .2s;
}

.wn-lp-btn--primary {
  background: var(--wn-orange);
  color: #fff !important;
}

.wn-lp-btn--primary:hover { opacity: .85; }

.wn-lp-numbers {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 28px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
  margin: 0 0 48px;
}

.wn-lp-number__val {
  display: block;
  font-size: 38px;
  font-weight: 700;
  color: var(--wn-orange);
  line-height: 1.2;
}

.wn-lp-number__val small { font-size: 14px; }

.wn-lp-number__label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

.wn-lp-section-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--wn-navy) !important;
  text-align: center !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

.wn-lp-section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--wn-orange);
  margin: 10px auto 0;
  border-radius: 2px;
}

.wn-lp-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 56px;
}

.wn-lp-benefit {
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}

.wn-lp-benefit__icon {
  font-size: 22px;
  font-weight: 900;
  color: var(--wn-orange);
  font-family: Georgia, serif;
  margin-bottom: 12px;
}

.wn-lp-benefit__title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--wn-navy) !important;
  margin: 0 0 8px !important;
  border: none !important;
  padding: 0 !important;
}

.wn-lp-benefit__desc {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.wn-lp-steps {
  display: flex;
  gap: 0;
  margin: 0 0 56px;
  position: relative;
}

.wn-lp-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 22%;
  right: 22%;
  height: 2px;
  background: var(--wn-orange);
  opacity: .25;
}

.wn-lp-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.wn-lp-step__num {
  width: 54px;
  height: 54px;
  background: var(--wn-orange);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.wn-lp-step__title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--wn-navy) !important;
  margin: 0 0 8px !important;
  border: none !important;
  padding: 0 !important;
}

.wn-lp-step__desc {
  font-size: 13px;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

.wn-lp-faq {
  margin: 0 0 56px;
}

.wn-lp-faq__item {
  margin-bottom: 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}

.wn-lp-faq__q {
  background: #f7f7f7;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--wn-navy);
  margin: 0;
}

.wn-lp-faq__q::before {
  content: 'Q. ';
  color: var(--wn-orange);
  font-weight: 900;
}

.wn-lp-faq__a {
  padding: 13px 16px;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin: 0;
}

.wn-lp-faq__a::before {
  content: 'A. ';
  color: #999;
  font-weight: 700;
}

.wn-lp-cta {
  background: linear-gradient(135deg, var(--wn-navy) 0%, #2d2d4e 100%);
  border-radius: 8px;
  padding: 48px 24px;
  text-align: center;
}

.wn-lp-cta__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.wn-lp-cta__desc {
  font-size: 14px;
  color: rgba(255,255,255,.78);
  margin: 0 0 24px;
  line-height: 1.7;
}

.wn-lp-cta__note {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin: 16px 0 0;
}

@media (max-width: 768px) {
  .wn-lp-hero { padding: 40px 20px; }
  .wn-lp-hero__title { font-size: 22px !important; }
  .wn-lp-benefits { grid-template-columns: 1fr; }
  .wn-lp-steps { flex-direction: column; gap: 28px; }
  .wn-lp-steps::before { display: none; }
  .wn-lp-numbers { gap: 28px; }
}
