/*
Theme Name: リアデジ
Theme URI: https://real-digital-marketing.jp
Author: リアル&デジタルマーケティング事務所
Description: リアデジ（リアル&デジタルマーケティング事務所）公式サイト用オリジナルテーマ。ホーム・プロフィール・サービス・コラム・無料相談の5ページ構成に対応。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: riadigi
*/

/* =========================================================
   リアデジ（リアル&デジタルマーケティング事務所） 共通スタイル
   ========================================================= */

:root {
  --navy-900: #0d2748;
  --navy-800: #123863;
  --navy-700: #1b4d82;
  --navy-600: #2765a3;
  --accent-600: #1f5fa0;
  --accent-500: #4a92cf;
  --accent-100: #e8f1fa;
  --accent-50: #f5faff;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text-900: #1c2430;
  --text-700: #3b4453;
  --text-500: #667085;
  --border: #e3e8f0;
  --shadow-sm: 0 2px 8px rgba(15, 31, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 31, 56, 0.10);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", Meiryo, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-900);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Gutenbergの「ボタン」ブロックは、背景色だけ指定して文字色を指定し忘れると
   上の a{color:inherit} により本文と同じ色になり、読めなくなってしまう。
   デフォルトで白文字にしておくことで、その事故を防ぐ。
   なお「アウトライン」スタイルのボタンには、WordPress側が自動で
   color:currentColor という指定を追加しており、これが上のルールと
   詳細度が同点になるため、順番によっては白文字が効かないことがある。
   !important を付けて、スタイルの種類に関わらず必ず白文字になるようにする。 */
.wp-block-button__link {
  color: #fff !important;
}
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}
.section--tight { padding: 48px 0; }
.section--navy {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
}
.section--soft {
  background: var(--accent-50);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-600);
  background: var(--accent-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section--navy .eyebrow {
  color: var(--accent-500);
  background: rgba(255, 255, 255, 0.1);
}

.section-title {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.section-lead {
  margin-top: 14px;
  color: var(--text-500);
  font-size: 1rem;
  line-height: 1.9;
}
.section--navy .section-lead { color: rgba(255,255,255,0.78); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}
.section-head.align-left { margin: 0 0 36px; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 95, 160, 0.32);
}
.btn--primary:hover { box-shadow: 0 14px 30px rgba(31, 95, 160, 0.4); }
.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn--outline:hover { background: rgba(255,255,255,0.12); }
.btn--navy {
  background: var(--navy-800);
  color: #fff;
}
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent-500); color: var(--accent-600); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-900);
}
.brand__mark {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}
.brand__mark a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-footer .brand__mark {
  border-color: rgba(255,255,255,0.15);
}
@media (max-width: 768px) {
  .brand__mark { width: 72px; height: 72px; border-radius: 15px; }
}
@media (max-width: 480px) {
  .brand__mark { width: 64px; height: 64px; border-radius: 14px; }
}
.brand__text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-500);
  letter-spacing: 0.04em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-desktop a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-700);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  background: var(--accent-100);
  color: var(--accent-600);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h, 94px);
  background: #fff;
  z-index: 99;
  padding: 20px;
  overflow-y: auto;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  padding: 16px 6px;
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  color: var(--text-900);
}
.nav-mobile .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  color: #fff;
  overflow: hidden;
  padding: 64px 0 88px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,146,207,0.35), transparent 70%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}
.hero__visual { display: none; }
@media (min-width: 961px) {
  .hero__inner { grid-template-columns: 1.5fr 0.5fr; align-items: center; }
  .hero__visual { display: block; }
  .hero__illust { width: 100%; height: auto; transform: scale(1.3); transform-origin: center; }
  .hero p.lead { font-size: 0.92rem; }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(74,146,207,0.45);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.5rem, 1.0rem + 1.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.hero h1 .accent { color: var(--accent-500); }
.hero p.lead {
  margin-top: 20px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  line-height: 1.95;
}
.hero .cta-row { margin-top: 30px; }

.hero-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero-stats div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
}
.hero-stats strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
}
.hero-stats span { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 52px 0 64px;
}
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.9); font-weight: 600; }
.page-hero h1 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem);
  font-weight: 800;
}
.page-hero p {
  margin-top: 14px;
  color: rgba(255,255,255,0.8);
  max-width: 780px;
  font-size: 0.95rem;
}
@media (max-width: 480px) {
  .page-hero p { font-size: 0.85rem; }
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-100);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  font-weight: 800;
}
.card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.card p { color: var(--text-500); font-size: 0.92rem; }

.pain-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-500);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.pain-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-100);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pain-card p { color: var(--text-500); margin-top: 6px; font-size: 0.92rem; }
.pain-card strong { font-size: 1rem; }

.icon {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.service-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-100);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy-700);
  background: #eef2f8;
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
}
.service-card h3 { font-size: 1.2rem; font-weight: 800; }
.service-card ul { display: grid; gap: 8px; }
.service-card ul li {
  font-size: 0.9rem;
  color: var(--text-700);
  padding-left: 22px;
  position: relative;
}
.service-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-600);
  font-weight: 900;
}
.service-card__price {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem;
  color: var(--text-500);
}
.service-card__price strong {
  display: block;
  font-size: 1.2rem;
  color: var(--navy-900);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: flow;
}
.flow-item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 20px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.flow-item::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.flow-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-100);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 0;
}
.flow-item h4 { margin-top: 12px; font-size: 1rem; font-weight: 800; }
.flow-item p { margin-top: 8px; font-size: 0.85rem; color: var(--text-500); }

/* ---------- Profile teaser / About ---------- */
.profile-block {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 44px;
  align-items: center;
}
.profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-align: center;
  padding: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.profile-name {
  font-size: 1.4rem;
  font-weight: 800;
}
.profile-role {
  margin-top: 6px;
  color: var(--accent-600);
  font-weight: 700;
  font-size: 0.92rem;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef2f8;
  color: var(--navy-700);
}

.note-box {
  background: #eef5fb;
  border: 1px dashed #a9cdea;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.85rem;
  color: #1b4a7c;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 16px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.info-table th {
  width: 160px;
  background: #f8fafc;
  color: var(--text-500);
  font-weight: 700;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

/* ---------- Column / Blog ---------- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-700);
}
.filter-chip.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  overflow: hidden;
}
.post-card__banner {
  margin: -26px -26px 4px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  overflow: hidden;
}
.post-card__banner .icon { width: 34px; height: 34px; }
.post-card__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Article (コラム詳細) ---------- */
.article-hero-banner {
  height: 340px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.95);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  overflow: hidden;
}
.article-hero-banner .icon { width: 46px; height: 46px; }
.article-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .article-hero-banner { height: 220px; }
}
.article-feature-image {
  margin: 0 0 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article-feature-image img {
  display: block;
  width: 100%;
  height: auto;
}
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--text-500);
}
.article-title-inline {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-900);
  margin: 0 0 40px;
}
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.article-toc {
  background: var(--accent-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
}
.article-toc__title {
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--navy-900);
}
.article-toc ol {
  list-style: none;
  display: grid;
  gap: 6px;
  counter-reset: toc;
}
.article-toc li { counter-increment: toc; }
.article-toc a {
  font-size: 0.86rem;
  color: var(--accent-600);
  font-weight: 600;
}
.article-toc a::before {
  content: counter(toc) ". ";
  color: var(--text-500);
}
/* 旧サイトから移行した記事には、見出し・本文に font-size や text-decoration の
   インライン指定が残っているものがあり、記事ごとに書式がバラつく原因になっていました。
   下記は !important を付けて、記事ごとの見た目を統一しています。 */
.article-body h1 {
  font-family: inherit !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  margin: 0 0 24px;
  padding: 2px 0 2px 16px;
  border-left: 8px solid var(--accent-600);
  color: var(--navy-900) !important;
  scroll-margin-top: 100px;
}
.article-body h2 {
  font-family: inherit !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  margin: 40px 0 16px;
  padding: 2px 0 2px 14px;
  border-left: 6px solid var(--accent-600);
  color: var(--navy-900) !important;
  scroll-margin-top: 100px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: inherit !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  margin: 24px 0 10px;
  color: var(--navy-800) !important;
  scroll-margin-top: 100px;
}
.article-body h4 {
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  margin: 20px 0 8px;
  padding-left: 10px;
  border-left: 2px solid var(--accent-600);
  color: var(--navy-700) !important;
  scroll-margin-top: 100px;
}
.article-body p {
  font-family: inherit !important;
  color: var(--text-700) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.95 !important;
  text-decoration: none !important;
  margin-bottom: 18px;
}
.article-body ul, .article-body ol.article-list {
  margin: 0 0 18px;
  padding-left: 0;
  display: grid;
  gap: 10px;
}
.article-body ul li, .article-body ol.article-list li {
  list-style: none;
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-700);
  line-height: 1.8;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-500);
}
.article-body ol.article-list { counter-reset: alist; }
.article-body ol.article-list li { counter-increment: alist; padding-left: 28px; }
.article-body ol.article-list li::before {
  content: counter(alist);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-600);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-callout {
  background: var(--accent-50);
  border-left: 4px solid var(--accent-500);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.92rem;
  color: var(--navy-800);
}
.article-signoff {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-500);
  font-size: 0.9rem;
}
/* プラグイン（VK All in One Expansion Unit）が自動挿入するSNSシェアボタンを非表示にする */
.veu_socialSet {
  display: none !important;
}
/* 目次プラグイン（TOC+）のフォントサイズを少し大きくする */
#toc_container .toc_title {
  font-size: 18px !important;
}
#toc_container .toc_list a {
  font-size: 18px !important;
}
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}
.article-nav a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.85rem;
}
.article-nav a span {
  display: block;
  color: var(--text-500);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.article-nav .next { text-align: right; }
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--text-500);
}
.post-card__cat {
  background: var(--accent-100);
  color: var(--accent-600);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.post-card h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.6; }
.post-card p { color: var(--text-500); font-size: 0.88rem; }
.post-card__link {
  margin-top: auto;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent-600);
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent-600);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--text-500);
  font-size: 0.9rem;
}

/* ---------- Form ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.required-mark {
  color: var(--accent-600);
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid var(--accent-600);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fbfcfe;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(74,146,207,0.18);
}
input[type="radio"],
input[type="checkbox"] { accent-color: var(--accent-600); }

.radio-group { display: flex; flex-wrap: wrap; gap: 18px; }
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.92rem;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-500);
  margin-bottom: 22px;
}
.checkbox-row a { color: var(--accent-600); font-weight: 700; }
.form-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-500);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-500));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: 1.5rem; font-weight: 800; }
.cta-banner p { margin-top: 8px; color: rgba(255,255,255,0.9); }
.cta-banner .btn--ghost { color: var(--accent-600); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 90;
  font-size: 1.1rem;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* =========================================================
   WordPress / ブロックエディタ互換
   ========================================================= */
.entry-content > * { max-width: 100%; }
.alignwide { max-width: calc(var(--container) - 40px); margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: none; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-image img { border-radius: var(--radius-sm); }
.wp-block-quote {
  border-left: 4px solid var(--accent-500);
  padding: 4px 20px;
  color: var(--text-700);
  font-style: italic;
}
.wp-caption-text, figcaption {
  font-size: 0.8rem;
  color: var(--text-500);
  margin-top: 6px;
  text-align: center;
}
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-block { grid-template-columns: 180px 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn--sm.header-cta { display: none; }
  .hero { padding: 44px 0 64px; }
  .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; }
  .profile-block { grid-template-columns: 1fr; text-align: center; }
  .profile-photo { max-width: 170px; margin: 0 auto; }
  .badge-row { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 34px 24px; }
  .cta-banner .cta-row { justify-content: center; }
  .info-table th { width: 110px; padding: 12px 14px; font-size: 0.82rem; }
  .info-table td { padding: 12px 14px; font-size: 0.86rem; }
  .form-card { padding: 24px 18px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { width: 100%; }
  .cta-row .btn { width: 100%; }
  .hero .cta-row .btn,
  .cta-banner .cta-row .btn { width: auto; }
}
