/*
Theme Name: WPドック
Theme URI: https://wp-dock.com/
Author: mmStudio
Description: WPドック（WordPress健康診断サービス）専用オリジナルテーマ。診断ツールと統一されたデザイン。
Version: 1.8.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: wpdock
*/

/* ========== デザイントークン ========== */
:root {
  --wpd-primary: #2f6df6;
  --wpd-primary-dark: #1f4fce;
  --wpd-navy: #0f2440;
  --wpd-ink: #17202b;
  --wpd-muted: #66707c;
  --wpd-line: #e6eaef;
  --wpd-bg: #f5f7fb;
  --wpd-card: #ffffff;
  --wpd-red: #e0483f;
  --wpd-yellow: #e0a400;
  --wpd-green: #17a15a;
  --wpd-radius: 18px;
  --wpd-radius-sm: 12px;
  --wpd-maxw: 1120px;
  --wpd-maxw-narrow: 780px;
  --wpd-grad: linear-gradient(120deg, #2f6df6 0%, #5b8bff 100%);
  --wpd-grad-navy: linear-gradient(150deg, #0b1f3f 0%, #143867 48%, #1f4fce 130%);
  --wpd-shadow-sm: 0 2px 8px rgba(15,36,64,.06);
  --wpd-shadow: 0 10px 30px rgba(15,36,64,.08);
  --wpd-shadow-lg: 0 24px 60px rgba(15,36,64,.14);
}

/* ========== ベース ========== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--wpd-ink);
  background: #fff;
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--wpd-primary); }
.wpd-wrap { max-width: var(--wpd-maxw); margin: 0 auto; padding: 0 24px; }
.wpd-wrap-narrow { max-width: var(--wpd-maxw-narrow); margin: 0 auto; padding: 0 24px; }

/* スクロールで浮き上がる演出（.wpd-js が付いた時だけ隠す＝JS無効なら常時表示） */
.wpd-js .wpd-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.wpd-js .wpd-reveal.is-in { opacity: 1; transform: none; }

/* ========== ボタン ========== */
.wpd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.wpd-btn-primary { background: var(--wpd-grad); color: #fff; box-shadow: 0 10px 24px rgba(47,109,246,.32); }
.wpd-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(47,109,246,.42); }
.wpd-btn-ghost { background: #fff; color: var(--wpd-primary); border: 1.5px solid rgba(47,109,246,.5); }
.wpd-btn-ghost:hover { background: #eef3fe; transform: translateY(-1px); }

/* ========== ヘッダー ========== */
.wpd-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(230,234,239,.8);
}
.wpd-header-inner {
  max-width: var(--wpd-maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.wpd-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wpd-logo-mark { border-radius: 9px; box-shadow: 0 4px 12px rgba(47,109,246,.35); flex: 0 0 auto; }
.wpd-logo-text { font-size: 20px; font-weight: 800; color: var(--wpd-ink); letter-spacing: .01em; }
.wpd-nav { display: flex; gap: 28px; align-items: center; }
.wpd-nav a { color: var(--wpd-ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.wpd-nav a.nav-link { position: relative; }
.wpd-nav a.nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--wpd-grad); transition: width .2s ease; border-radius: 2px; }
.wpd-nav a.nav-link:hover { color: var(--wpd-primary); }
.wpd-nav a.nav-link:hover::after { width: 100%; }
.wpd-nav .wpd-btn { padding: 10px 22px; font-size: 14.5px; }

/* ========== ヒーロー（オーロラ背景＋特大タイポ） ========== */
.wpd-hero {
  background: #081328;
  color: #fff; padding: 96px 0 110px; position: relative; overflow: hidden; isolation: isolate;
}
/* オーロラ: 複数のグラデーション球をゆっくり漂わせる */
.wpd-hero .aurora { position: absolute; inset: -20%; z-index: -1; filter: blur(60px); opacity: .85; }
.wpd-hero .aurora i { position: absolute; border-radius: 50%; display: block; }
.wpd-hero .aurora i:nth-child(1) {
  width: 55vw; height: 55vw; left: -12%; top: -22%;
  background: radial-gradient(circle, #1f4fce 0%, transparent 62%);
  animation: wpdFloat1 16s ease-in-out infinite alternate;
}
.wpd-hero .aurora i:nth-child(2) {
  width: 46vw; height: 46vw; right: -14%; top: -6%;
  background: radial-gradient(circle, #2f6df6 0%, transparent 60%);
  animation: wpdFloat2 20s ease-in-out infinite alternate;
}
.wpd-hero .aurora i:nth-child(3) {
  width: 40vw; height: 40vw; left: 28%; bottom: -32%;
  background: radial-gradient(circle, #0ea5a2 0%, transparent 62%);
  opacity: .55;
  animation: wpdFloat3 24s ease-in-out infinite alternate;
}
@keyframes wpdFloat1 { to { transform: translate(6%, 10%) scale(1.08); } }
@keyframes wpdFloat2 { to { transform: translate(-8%, 6%) scale(1.12); } }
@keyframes wpdFloat3 { to { transform: translate(4%, -10%) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .wpd-hero .aurora i { animation: none; } }

.wpd-hero-inner { max-width: 880px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.wpd-hero h1 {
  font-size: clamp(34px, 5.6vw, 60px);
  line-height: 1.32; margin: 0 0 22px; font-weight: 900; letter-spacing: .005em;
}
.wpd-hero h1 .accent {
  background: linear-gradient(110deg, #6ea0ff 10%, #b7ccff 45%, #7ef0d4 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wpdShimmer 6s ease-in-out infinite alternate;
}
@keyframes wpdShimmer { to { background-position: 100% 0; } }
.wpd-hero .lead { color: #c3d2e9; font-size: clamp(15.5px, 1.6vw, 18px); margin: 0 0 34px; max-width: 640px; }
.wpd-hero .lead strong { color: #fff; }
.wpd-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.wpd-hero-badges span {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.20);
  color: #e8eefb; font-size: 12.5px; font-weight: 700; padding: 7px 17px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
/* 診断ウィジェット（プラグイン出力）をヒーロー内でガラスカード化 */
.wpd-hero .whc-app {
  background: rgba(255,255,255,.97); border-radius: 22px; padding: 30px 30px 24px;
  box-shadow: 0 30px 80px rgba(2,10,26,.55), 0 0 0 1px rgba(255,255,255,.35);
}
.wpd-hero .whc-note { margin-bottom: 0; }

/* ========== マーキー（診断項目が流れる帯） ========== */
.wpd-marquee {
  background: #0b1a33; border-top: 1px solid rgba(255,255,255,.06);
  overflow: hidden; padding: 15px 0; white-space: nowrap;
}
.wpd-marquee .track {
  display: inline-flex; gap: 14px; padding-right: 14px;
  animation: wpdMarquee 30s linear infinite;
}
@keyframes wpdMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wpd-marquee .track { animation: none; } }
.wpd-marquee span {
  display: inline-flex; align-items: center; gap: 8px;
  color: #9fb4d4; font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  padding: 7px 16px; border-radius: 999px;
}
.wpd-marquee span::before { content: "✓"; color: #4ade80; font-weight: 800; }

/* ========== 統計バンド ========== */
.wpd-stats { background: #fff; padding: 44px 0; border-bottom: 1px solid var(--wpd-line); }
.wpd-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.wpd-stat { text-align: center; }
.wpd-stat .v {
  font-size: clamp(34px, 4.4vw, 48px); font-weight: 900; line-height: 1.15;
  background: var(--wpd-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wpd-stat .v small { font-size: .45em; font-weight: 800; }
.wpd-stat .l { color: var(--wpd-muted); font-size: 13.5px; font-weight: 700; margin-top: 4px; }

/* ========== セクション共通 ========== */
.wpd-section { padding: 84px 0; }
.wpd-section-alt { background: var(--wpd-bg); }
.wpd-section-navy { background: var(--wpd-grad-navy); color: #eef2f8; position: relative; overflow: hidden; }
.wpd-kicker {
  display: inline-block; color: var(--wpd-primary); font-size: 12.5px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px;
}
.wpd-section-navy .wpd-kicker { color: #7ea4f9; }
.wpd-h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.5; margin: 0 0 16px; font-weight: 800; letter-spacing: .01em; }
.wpd-sublead { color: var(--wpd-muted); margin: 0 0 44px; max-width: 640px; }
.wpd-section-navy .wpd-sublead { color: #aab9d2; }

/* ========== カードグリッド ========== */
.wpd-grid { display: grid; gap: 20px; }
.wpd-grid-3 { grid-template-columns: repeat(3, 1fr); }
.wpd-grid-2 { grid-template-columns: repeat(2, 1fr); }
.wpd-card {
  background: var(--wpd-card); border: 1px solid var(--wpd-line);
  border-radius: var(--wpd-radius); padding: 28px;
  box-shadow: var(--wpd-shadow-sm); transition: transform .15s ease, box-shadow .2s ease;
}
.wpd-card:hover { transform: translateY(-3px); box-shadow: var(--wpd-shadow); }
.wpd-card h3 { margin: 0 0 8px; font-size: 17px; }
.wpd-card p { margin: 0; font-size: 14.5px; color: var(--wpd-muted); }

/* サービスティーザーカード */
a.wpd-svc { text-decoration: none; color: var(--wpd-ink); display: block; padding: 16px 16px 22px; }
.wpd-svc .wpd-svc-thumb {
  width: 100%; height: auto; display: block;
  border-radius: 12px; margin-bottom: 14px;
}
.wpd-svc h3, .wpd-svc .svc-p, .wpd-svc p { padding-left: 6px; padding-right: 6px; }
.wpd-svc .svc-p {
  font-size: 22px; font-weight: 800; margin: 2px 0 8px;
  background: var(--wpd-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wpd-svc:hover h3 { color: var(--wpd-primary); }

/* /services/ 本文のサービス画像（Gutenberg wp:image に className="wpd-svc-fig"） */
.wpd-entry .wpd-svc-fig { margin: 6px auto 24px; max-width: 340px; }
.wpd-entry .wpd-svc-fig img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--wpd-shadow-sm); }

/* 悩みリスト */
.wpd-nayami { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wpd-nayami li {
  background: #fff; border: 1px solid var(--wpd-line); border-radius: 12px;
  padding: 16px 20px 16px 52px; position: relative; font-weight: 600;
}
.wpd-nayami li::before {
  content: "？"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: #eef3fe; color: var(--wpd-primary);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* リスクリスト */
.wpd-risk { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wpd-risk li {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 16px 20px 16px 52px; position: relative; color: #e4eaf3;
}
.wpd-risk li::before {
  content: "!"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: rgba(214,69,69,.9); color: #fff;
  font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.wpd-risk-close { margin-top: 22px; color: #aab9d2; font-size: 14.5px; }

/* わかることチェックリスト */
.wpd-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.wpd-checks li {
  background: #fff; border: 1px solid var(--wpd-line); border-radius: 12px;
  padding: 15px 18px 15px 50px; position: relative; font-size: 15px; font-weight: 600;
}
.wpd-checks li::before {
  content: "✓"; position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  width: 23px; height: 23px; border-radius: 50%; background: var(--wpd-green); color: #fff;
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.wpd-shingou { margin-top: 24px; color: var(--wpd-muted); font-size: 14.5px; }
.wpd-shingou .r { color: #c62f2f; font-weight: 700; }
.wpd-shingou .y { color: #8a6d00; font-weight: 700; }
.wpd-shingou .g { color: #157a43; font-weight: 700; }

/* ステップ */
.wpd-steps { counter-reset: step; }
.wpd-step { position: relative; padding-left: 0; }
.wpd-step .num {
  width: 48px; height: 48px; border-radius: 14px; background: var(--wpd-grad); color: #fff;
  font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; box-shadow: 0 8px 18px rgba(47,109,246,.32);
}

/* 比較表 */
.wpd-table-scroll { overflow-x: auto; }
.wpd-compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--wpd-radius); overflow: hidden; min-width: 560px; }
.wpd-compare th, .wpd-compare td { padding: 15px 18px; border: 1px solid var(--wpd-line); font-size: 14.5px; text-align: left; vertical-align: top; }
.wpd-compare thead th { background: var(--wpd-navy); color: #fff; font-size: 15px; }
.wpd-compare thead th:first-child { background: #fff; }
.wpd-compare tbody th { background: var(--wpd-bg); font-weight: 700; white-space: nowrap; width: 130px; }
.wpd-compare .free { color: var(--wpd-muted); }
.wpd-compare .full { font-weight: 600; }

/* 料金 */
.wpd-price-card {
  position: relative; background: #fff; border-radius: var(--wpd-radius);
  padding: 40px; max-width: 640px; margin: 0 auto; text-align: center;
  box-shadow: var(--wpd-shadow-lg);
}
.wpd-price-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--wpd-radius); padding: 2px;
  background: var(--wpd-grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.wpd-price-card .name { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.wpd-price-card .price {
  font-size: 46px; font-weight: 800; line-height: 1.2;
  background: var(--wpd-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wpd-price-card .price small { -webkit-text-fill-color: var(--wpd-muted); }
.wpd-price-card .price small { font-size: 15px; color: var(--wpd-muted); font-weight: 600; }
.wpd-price-includes { list-style: none; margin: 22px 0 6px; padding: 0; text-align: left; }
.wpd-price-includes li { padding: 9px 0 9px 32px; position: relative; font-size: 14.5px; border-bottom: 1px dashed var(--wpd-line); }
.wpd-price-includes li:last-child { border-bottom: none; }
.wpd-price-includes li::before {
  content: "✓"; position: absolute; left: 4px; top: 9px; color: var(--wpd-green); font-weight: 800;
}
.wpd-price-cashback {
  margin: 18px 0 0; padding: 14px 18px; border-radius: 12px; font-size: 14.5px;
  background: linear-gradient(120deg, rgba(23,161,90,.10), rgba(47,109,246,.10));
  border: 1px solid rgba(23,161,90,.28); color: #14603a;
}
.wpd-price-cashback strong { color: var(--wpd-green); }
.wpd-price-note { color: var(--wpd-muted); font-size: 13px; margin-top: 14px; }

/* 信頼セクション */
.wpd-trust { max-width: 760px; margin: 0 auto; text-align: center; }
.wpd-trust .wpd-h2 { margin-bottom: 20px; }
.wpd-trust p { color: #40484f; text-align: left; }

/* 運営者・実績 */
.wpd-about { display: flex; gap: 24px; background: #fff; border: 1px solid var(--wpd-line); border-radius: var(--wpd-radius); padding: 30px; box-shadow: var(--wpd-shadow-sm); }
.wpd-about-mark { flex: 0 0 auto; }
.wpd-about-mark svg { border-radius: 18px; box-shadow: 0 8px 20px rgba(47,109,246,.3); }
.wpd-about-name { font-weight: 800; font-size: 17px; margin: 0 0 8px; }
.wpd-about-body p { margin: 0 0 12px; }
.wpd-about-stats { display: flex; gap: 26px; flex-wrap: wrap; margin: 16px 0; }
.wpd-about-stats .n { display: block; font-size: 30px; font-weight: 900; line-height: 1.1; background: var(--wpd-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wpd-about-stats .n small { font-size: .45em; font-weight: 800; }
.wpd-about-stats .t { font-size: 12.5px; color: var(--wpd-muted); font-weight: 700; }
.wpd-about-note { font-size: 13px; color: var(--wpd-muted); margin-bottom: 0 !important; }
@media (max-width: 680px) { .wpd-about { flex-direction: column; gap: 16px; padding: 22px; } .wpd-about-stats { gap: 18px; } }

/* FAQ */
.wpd-faq-item { background: #fff; border: 1px solid var(--wpd-line); border-radius: 12px; padding: 20px 24px; margin-bottom: 12px; }
.wpd-faq-item .q { font-weight: 800; margin: 0 0 8px; position: relative; padding-left: 30px; }
.wpd-faq-item .q::before { content: "Q"; position: absolute; left: 0; color: var(--wpd-primary); font-weight: 800; }
.wpd-faq-item .a { margin: 0; color: var(--wpd-muted); font-size: 14.5px; padding-left: 30px; position: relative; }
.wpd-faq-item .a::before { content: "A"; position: absolute; left: 0; color: var(--wpd-red); font-weight: 800; }
.wpd-faq-more { text-align: center; margin-top: 22px; }

/* 最終CTA */
.wpd-cta-final { text-align: center; }
.wpd-cta-final .wpd-h2 { color: #fff; }
.wpd-cta-final p { color: #c9d6ea; max-width: 560px; margin: 0 auto 28px; }

/* ========== 記事・固定ページ ========== */
.wpd-article { padding: 56px 0 80px; }
.wpd-article-header { margin-bottom: 34px; }
.wpd-article h1.entry-title { font-size: 30px; line-height: 1.5; margin: 0 0 10px; }
.wpd-article .meta { color: var(--wpd-muted); font-size: 13.5px; }
.wpd-entry { font-size: 16px; }
.wpd-entry h2 { font-size: 24px; margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--wpd-primary); }
.wpd-entry h3 { font-size: 19px; margin: 34px 0 12px; padding-left: 12px; border-left: 4px solid var(--wpd-primary); }
.wpd-entry p { margin: 0 0 1.4em; }
.wpd-entry ul, .wpd-entry ol { padding-left: 26px; margin: 0 0 1.4em; }
.wpd-entry li { margin: 6px 0; }
.wpd-entry table { border-collapse: collapse; width: 100%; margin: 0 0 1.6em; }
.wpd-entry th, .wpd-entry td { border: 1px solid var(--wpd-line); padding: 10px 14px; font-size: 14.5px; }
.wpd-entry th { background: var(--wpd-bg); }
.wpd-entry blockquote { border-left: 4px solid var(--wpd-line); margin: 0 0 1.4em; padding: 4px 0 4px 18px; color: var(--wpd-muted); }

/* 記事末尾CTAボックス */
.wpd-post-cta {
  margin-top: 52px; background: var(--wpd-navy); border-radius: var(--wpd-radius);
  padding: 30px 28px; color: #eef2f8; text-align: center;
}
.wpd-post-cta h2 { color: #fff; font-size: 21px; margin: 0 0 10px; border: none; padding: 0; }
.wpd-post-cta p { color: #c9d6ea; font-size: 14.5px; margin: 0 0 20px; }

/* 関連記事 */
.wpd-related { margin-top: 44px; }
.wpd-related-title { font-size: 19px; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--wpd-primary); }
.wpd-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wpd-related-card { display: block; background: #fff; border: 1px solid var(--wpd-line); border-radius: 12px; padding: 16px; text-decoration: none; color: var(--wpd-ink); transition: box-shadow .15s ease, transform .1s ease; }
.wpd-related-card:hover { box-shadow: var(--wpd-shadow); transform: translateY(-2px); }
.wpd-related-card .date { display: block; font-size: 12px; color: var(--wpd-muted); margin-bottom: 6px; }
.wpd-related-card .ttl { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.6; }
@media (max-width: 680px) { .wpd-related-grid { grid-template-columns: 1fr; } }

/* 記事一覧 */
.wpd-archive { padding: 56px 0 80px; }
.wpd-archive-title { font-size: 26px; margin: 0 0 30px; }
.wpd-post-list { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.wpd-post-card {
  background: #fff; border: 1px solid var(--wpd-line); border-radius: var(--wpd-radius);
  padding: 24px; text-decoration: none; color: var(--wpd-ink); display: block;
  transition: box-shadow .15s ease, transform .1s ease;
}
.wpd-post-card:hover { box-shadow: 0 10px 30px rgba(15,36,64,.10); transform: translateY(-2px); }
.wpd-post-card h2 { font-size: 17.5px; margin: 0 0 10px; line-height: 1.6; }
.wpd-post-card .date { color: var(--wpd-muted); font-size: 12.5px; }
.wpd-post-card .excerpt { color: var(--wpd-muted); font-size: 14px; margin-top: 8px; }

/* ========== WooCommerce ざっくり整形 ========== */
.woocommerce-page .wpd-article, .single-product .wpd-article { max-width: var(--wpd-maxw); }
.wpd-entry .wp-block-woocommerce-cart, .wpd-entry .wp-block-woocommerce-checkout { font-size: 15px; }

/* ========== SP追従CTA ========== */
.wpd-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-top: 1px solid var(--wpd-line); box-shadow: 0 -6px 20px rgba(15,36,64,.10);
  transform: translateY(120%); transition: transform .25s ease;
}
.wpd-sticky-cta.show { transform: translateY(0); }
.wpd-sticky-cta a {
  display: block; text-align: center; background: var(--wpd-grad); color: #fff;
  font-weight: 800; font-size: 16px; padding: 14px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 20px rgba(47,109,246,.35);
}
/* PCでは邪魔なので非表示（ヘッダのCTAで十分） */
@media (min-width: 781px) { .wpd-sticky-cta { display: none; } }

/* ========== パンくず ========== */
.wpd-breadcrumb { font-size: 13px; color: var(--wpd-muted); margin-bottom: 18px; }
.wpd-breadcrumb a { color: var(--wpd-primary); text-decoration: none; }
.wpd-breadcrumb a:hover { text-decoration: underline; }

/* ========== モバイルメニュー（details/summary・JS不要） ========== */
.wpd-menu { display: none; position: relative; }
.wpd-menu > summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--wpd-line); background: #fff;
}
.wpd-menu > summary::-webkit-details-marker { display: none; }
.wpd-menu > summary span { display: block; width: 20px; height: 2px; background: var(--wpd-ink); border-radius: 2px; }
.wpd-menu[open] > summary { background: #eef3fe; }
.wpd-menu-panel {
  position: absolute; right: 0; top: 52px; min-width: 220px; z-index: 60;
  background: #fff; border: 1px solid var(--wpd-line); border-radius: 12px; box-shadow: var(--wpd-shadow-lg);
  padding: 8px; display: flex; flex-direction: column;
}
.wpd-menu-panel a { padding: 12px 14px; color: var(--wpd-ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.wpd-menu-panel a:hover { background: var(--wpd-bg); }
.wpd-menu-panel .wpd-menu-cta { background: var(--wpd-grad); color: #fff; text-align: center; margin-top: 4px; }

/* フォーカス可視化（アクセシビリティ）＝全フォーム要素・リンク */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(47,109,246,.55); outline-offset: 2px; border-radius: 6px;
}
.whc-url:focus-visible, .wpd-menu > summary:focus-visible { outline: 3px solid rgba(47,109,246,.55); outline-offset: 2px; }

/* 低モーション設定ではアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  .wpd-hero h1 .accent { animation: none; }
  .wpd-marquee .track { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ========== フッター ========== */
.wpd-footer { background: var(--wpd-navy); color: #aab9d2; padding: 48px 0 34px; margin-top: 0; }
.wpd-footer a { color: #d9e3f5; text-decoration: none; }
.wpd-footer a:hover { text-decoration: underline; }
.wpd-footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.wpd-footer .logo { font-size: 19px; font-weight: 800; color: #fff; }
.wpd-footer .logo .dot { color: #7ea4f9; }
.wpd-footer-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.wpd-footer-note { font-size: 12.5px; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }

/* ========== レスポンシブ ========== */
@media (max-width: 900px) {
  .wpd-grid-3 { grid-template-columns: 1fr 1fr; }
  .wpd-post-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .wpd-hero { padding: 46px 0 56px; }
  .wpd-hero h1 { font-size: 25px; }
  .wpd-section { padding: 52px 0; }
  .wpd-h2 { font-size: 22px; }
  .wpd-grid-3, .wpd-grid-2, .wpd-checks { grid-template-columns: 1fr; }
  /* SPはハンバーガーメニューに集約（ナビは隠し、メニューを表示） */
  .wpd-nav { display: none; }
  .wpd-menu { display: block; }
  .wpd-article h1.entry-title { font-size: 23px; }
  .wpd-price-card { padding: 26px 20px; }
  .wpd-price-card .price { font-size: 34px; }
}

/* ===== wp2shell 緊急アラートバナー（LP最上部・v1.7.0） ===== */
.wpd-alert { background: linear-gradient(135deg, #c62f2f 0%, #a52323 100%); color: #fff; }
.wpd-alert-inner { display: flex; align-items: center; gap: 14px; padding: 12px 0; flex-wrap: wrap; }
.wpd-alert-tag {
  flex: 0 0 auto; background: #fff; color: #c62f2f; font-weight: 800; font-size: 12px;
  letter-spacing: .08em; padding: 4px 11px; border-radius: 999px;
}
.wpd-alert-text { flex: 1 1 320px; margin: 0; font-size: 13.5px; line-height: 1.6; color: #fff; }
.wpd-alert-text strong { color: #ffe08a; }
.wpd-alert-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }
.wpd-alert-btn {
  background: #fff; color: #c62f2f; font-weight: 800; font-size: 13.5px;
  padding: 8px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap;
}
.wpd-alert-btn:hover { background: #ffe08a; }
.wpd-alert-link { color: #fff; font-weight: 700; font-size: 13px; text-decoration: underline; white-space: nowrap; }
@media (max-width: 640px) {
  .wpd-alert-inner { gap: 10px; }
  .wpd-alert-actions { width: 100%; }
}

/* ===== 姉妹サービス表記・料金カードCTA（v1.8.0） ===== */
.wpd-footer-sister { font-size: 12.5px; margin: 10px 0 0; color: #9fb0c6; }
.wpd-footer-sister a { color: #cfe0f7; text-decoration: underline; }
.wpd-price-cta { text-align: center; margin: 18px 0 4px; }
.wpd-price-cta .wpd-btn { width: 100%; max-width: 420px; }
