/*
Theme Name:   PDS試験テーマ
Template:     twentytwentyfive
Version:      1.0.0
Description:  プロフェッショナルデジタルスキル試験ドットコム カスタムテーマ
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'BIZ UDPGothic', Meiryo, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1a56a4; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* WordPress admin bar offset */
.admin-bar .pds-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .pds-header { top: 46px; }
}

/* === LAYOUT === */
.pds-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.pds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.pds-btn-primary { background: #e8600a; color: #fff; }
.pds-btn-primary:hover { background: #c45008; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(232,96,10,0.4); }
.pds-btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.75); }
.pds-btn-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }
.pds-btn-white { background: #fff; color: #1a56a4; }
.pds-btn-white:hover { background: #f0f4ff; color: #1a56a4; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }

/* === SECTION HEADERS === */
.pds-section-header {
  text-align: center;
  margin-bottom: 52px;
}
.pds-section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.4;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.pds-section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #1a56a4, #2196f3);
  border-radius: 2px;
}
.pds-section-header p {
  font-size: 1rem;
  color: #666;
  margin-top: 16px;
}

/* === HEADER === */
.pds-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.pds-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pds-logo a { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.pds-logo-main {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1a56a4;
  letter-spacing: -0.01em;
  line-height: 1;
}
.pds-logo-sub {
  font-size: 0.6rem;
  color: #999;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.pds-nav-list {
  display: flex;
  gap: 4px;
  align-items: center;
}
.pds-nav-list a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.pds-nav-list a:hover { background: #f0f4ff; color: #1a56a4; text-decoration: none; }
.pds-nav-list .pds-nav-cta {
  background: #1a56a4;
  color: #fff;
  margin-left: 8px;
  padding: 8px 18px;
}
.pds-nav-list .pds-nav-cta:hover { background: #0d3572; color: #fff; }
.pds-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 6px;
}
.pds-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.25s;
}

/* === HERO === */
.pds-hero {
  position: relative;
  background: linear-gradient(135deg, #0a2d6e 0%, #1a56a4 55%, #1976d2 100%);
  color: #fff;
  padding: 88px 24px 108px;
  text-align: center;
  overflow: hidden;
}
.pds-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
}
.pds-hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.pds-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 22px;
  letter-spacing: 0.08em;
}
.pds-hero-title {
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 22px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.pds-hero-title span {
  display: block;
  font-size: 0.82em;
  opacity: 0.9;
  margin-top: 6px;
}
.pds-hero-desc {
  font-size: 1.05rem;
  opacity: 0.92;
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
.pds-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.pds-hero-notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 0.88rem;
  opacity: 0.95;
}
.pds-hero-notice-icon { font-size: 1.1rem; }
.pds-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.pds-hero-wave svg { display: block; width: 100%; }

/* === STATS BAR === */
.pds-stats-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}
.pds-stats-inner {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.pds-stat {
  flex: 1;
  text-align: center;
  padding: 8px 20px;
  border-right: 1px solid #e0e8f5;
}
.pds-stat:last-child { border-right: none; }
.pds-stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a56a4;
  line-height: 1;
  margin-bottom: 4px;
}
.pds-stat-label {
  font-size: 0.78rem;
  color: #666;
  white-space: nowrap;
}

/* === NOTICE BANNER === */
.pds-banner {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 14px 0;
}
.pds-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pds-banner-icon { font-size: 1.1rem; flex-shrink: 0; padding-top: 2px; }
.pds-banner-text { font-size: 0.91rem; line-height: 1.65; color: #78350f; }
.pds-banner-text strong { font-weight: 700; }
.pds-banner-text a { color: #b45309; font-weight: 600; text-decoration: underline; }

/* === FEATURES === */
.pds-features {
  padding: 80px 0;
  background: #f5f7fb;
}
.pds-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pds-feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
  overflow: hidden;
}
.pds-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a56a4, #2196f3);
}
.pds-feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(0,0,0,0.1); }
.pds-feature-icon { font-size: 2.4rem; margin-bottom: 18px; }
.pds-feature-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 12px; color: #1a1a2e; }
.pds-feature-card p { font-size: 0.91rem; color: #555; line-height: 1.75; }

/* === ABOUT === */
.pds-about {
  padding: 88px 0;
  background: #fff;
}
.pds-about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.pds-about-text p { color: #444; margin-bottom: 18px; line-height: 1.85; font-size: 0.97rem; }
.pds-about-text strong { color: #1a56a4; font-weight: 700; }
.pds-about-points {
  margin-top: 28px;
  border: 1px solid #dde8f5;
  border-radius: 12px;
  overflow: hidden;
}
.pds-point {
  display: flex;
  align-items: flex-start;
  padding: 14px 20px;
  gap: 16px;
  border-bottom: 1px solid #dde8f5;
}
.pds-point:last-child { border-bottom: none; }
.pds-point-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1a56a4;
  background: #e8f1fb;
  padding: 3px 10px;
  border-radius: 5px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
  flex-shrink: 0;
}
.pds-point-value { font-size: 0.92rem; color: #333; }
.pds-transition-card {
  background: linear-gradient(145deg, #f0f5ff, #e8f1fb);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #c5d8f0;
}
.pds-transition-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 0.02em;
}
.pds-transition-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.pds-transition-item {
  flex: 1;
  text-align: center;
  padding: 18px 12px;
  border-radius: 12px;
}
.pds-old { background: #fff; border: 2px solid #cbd5e8; }
.pds-new { background: #1a56a4; color: #fff; box-shadow: 0 4px 16px rgba(26,86,164,0.3); }
.pds-ti-label { font-size: 0.68rem; font-weight: 700; margin-bottom: 6px; opacity: 0.65; letter-spacing: 0.05em; text-transform: uppercase; }
.pds-ti-name { font-size: 0.82rem; font-weight: 800; line-height: 1.35; }
.pds-ti-sub { font-size: 0.72rem; opacity: 0.65; margin-top: 4px; }
.pds-transition-arrow { font-size: 1.6rem; color: #1a56a4; flex-shrink: 0; font-weight: 300; }
.pds-transition-note { font-size: 0.76rem; color: #888; text-align: center; padding-top: 12px; border-top: 1px solid #d0dff0; }
.pds-ipa-link-card {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #dde8f5;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none !important;
  transition: box-shadow 0.2s;
}
.pds-ipa-link-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.pds-ipa-link-card .pds-ilc-text { font-size: 0.88rem; font-weight: 600; color: #1a56a4; }
.pds-ipa-link-card .pds-ilc-sub { font-size: 0.75rem; color: #888; margin-top: 2px; }
.pds-ipa-link-card .pds-ilc-arrow { font-size: 1.1rem; color: #1a56a4; flex-shrink: 0; }

/* === SYLLABUS === */
.pds-syllabus {
  padding: 88px 0;
  background: #f5f7fb;
}
.pds-syllabus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

/* カード全体 */
.pds-syl-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1px solid #e0e8f5;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pds-syl-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.1); }
.pds-syl-card-pending { opacity: 0.88; }

/* カードヘッダー */
.pds-syl-header { padding: 22px 22px 18px; color: #fff; }
.pds-syl-m { background: linear-gradient(135deg, #1a56a4 0%, #2979d4 100%); }
.pds-syl-s { background: linear-gradient(135deg, #0a6e50 0%, #12a375 100%); }
.pds-syl-d { background: linear-gradient(135deg, #6b3fa0 0%, #9b59d4 100%); }

.pds-syl-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.32);
  color: #fff;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.pds-syl-badge-pending { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); }
.pds-syl-title { font-size: 1.08rem; font-weight: 900; margin-bottom: 6px; line-height: 1.3; }
.pds-syl-target { font-size: 0.76rem; opacity: 0.88; line-height: 1.55; }

/* カードボディ */
.pds-syl-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 科目ボックス（A-2 / B 共通枠） */
.pds-syl-subject {
  border: 1px solid #e0eaf5;
  border-radius: 8px;
  overflow: hidden;
}
.pds-syl-subject-muted { opacity: 0.8; }

/* 科目ラベル（ヘッダー行） */
.pds-syl-subject-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-bottom: 1px solid #e0eaf5;
}
.pds-syl-label-a2 {
  background: #eef3fb;
  color: #1a56a4;
  border-bottom-color: #d0e0f5;
}
.pds-syl-label-b {
  background: #edfaf4;
  color: #0a6e50;
  border-bottom-color: #b8e8d4;
}

/* グループ行（カテゴリ名 + タグ群） */
.pds-syl-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid #f2f5fb;
}
.pds-syl-group:last-child { border-bottom: none; }

.pds-syl-group-name {
  font-size: 0.69rem;
  font-weight: 700;
  color: #999;
  white-space: nowrap;
  min-width: 68px;
  padding-top: 4px;
  flex-shrink: 0;
}

/* キーワードタグ */
.pds-syl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pds-syl-tags span {
  background: #eef3fb;
  color: #1a56a4;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #d0e0f5;
  white-space: nowrap;
}
.pds-syl-tags-muted span {
  background: #f2f2f5;
  color: #888;
  border-color: #ddd;
}

/* 科目Bのスキルリスト */
.pds-syl-skills {
  list-style: none;
  padding: 10px 14px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pds-syl-skills li {
  font-size: 0.81rem;
  color: #444;
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}
.pds-syl-skills li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  color: #10b981;
  font-weight: 900;
  font-size: 0.78rem;
}

/* 準備中ボックス */
.pds-syl-pending-box {
  background: #f8f5ff;
  border: 1px dashed #c8b0e8;
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
}
.pds-syl-pending-box p {
  font-size: 0.84rem;
  color: #7a5aaa;
  line-height: 1.7;
  margin: 0;
}

/* セクションフッター */
.pds-syllabus-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dde8f5;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}
.pds-syllabus-footer p { font-size: 0.82rem; color: #888; margin: 0; }
.pds-syllabus-footer a.pds-btn { white-space: nowrap; flex-shrink: 0; padding: 11px 28px; }

@media (max-width: 900px) {
  .pds-syllabus-grid { grid-template-columns: 1fr; gap: 16px; }
  .pds-syllabus-footer { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .pds-syl-group { flex-direction: column; gap: 6px; }
  .pds-syl-group-name { min-width: unset; }
}

/* === SCHEDULE === */
.pds-schedule {
  padding: 88px 0;
  background: #f5f7fb;
}
.pds-info-alert {
  display: flex;
  gap: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #3b82f6;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 44px;
  font-size: 0.93rem;
  color: #1e40af;
  line-height: 1.65;
}
.pds-info-alert-icon { font-size: 1.2rem; flex-shrink: 0; }
.pds-timeline { position: relative; }
.pds-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #1a56a4 0%, #cbd5e0 60%);
}
.pds-timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}
.pds-timeline-item:last-child { padding-bottom: 0; }
.pds-tl-marker {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.pds-tl-done .pds-tl-marker { background: #10b981; color: #fff; box-shadow: 0 0 0 4px #d1fae5; }
.pds-tl-current .pds-tl-marker { background: #1a56a4; color: #fff; box-shadow: 0 0 0 5px #bfdbfe; }
.pds-tl-future .pds-tl-marker { background: #fff; color: #aaa; border: 2px solid #cbd5e0; }
.pds-tl-content { padding-top: 10px; }
.pds-tl-date { font-size: 0.78rem; font-weight: 700; color: #888; margin-bottom: 5px; letter-spacing: 0.04em; text-transform: uppercase; }
.pds-tl-title { font-size: 1rem; font-weight: 800; color: #1a1a2e; margin-bottom: 5px; }
.pds-tl-desc { font-size: 0.88rem; color: #666; }

/* === FAQ === */
.pds-faq { padding: 88px 0; background: #fff; }
.pds-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pds-faq-item {
  border: 1px solid #e0e8f5;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.pds-faq-item:has(.pds-faq-q[aria-expanded="true"]) {
  box-shadow: 0 4px 16px rgba(26,86,164,0.1);
  border-color: #bcd4f5;
}
.pds-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  transition: background 0.15s;
}
.pds-faq-q:hover { background: #f8faff; }
.pds-faq-q[aria-expanded="true"] { background: #f0f5ff; }
.pds-faq-q-label {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: #1a56a4;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pds-faq-q-text { flex: 1; line-height: 1.5; }
.pds-faq-chevron { font-size: 0.72rem; color: #aaa; transition: transform 0.22s; flex-shrink: 0; }
.pds-faq-q[aria-expanded="true"] .pds-faq-chevron { transform: rotate(180deg); }
.pds-faq-a {
  display: flex;
  gap: 16px;
  padding: 16px 24px 20px;
  border-top: 1px solid #e8effa;
  background: #fafcff;
}
.pds-faq-a-label {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: #e8f1fb;
  color: #1a56a4;
  font-size: 0.82rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.pds-faq-a p { font-size: 0.91rem; color: #444; line-height: 1.85; }

/* === CTA === */
.pds-cta-section {
  background: linear-gradient(135deg, #0a2d6e 0%, #1a56a4 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pds-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.pds-cta-inner { position: relative; }
.pds-cta-inner h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; margin-bottom: 16px; }
.pds-cta-inner p { max-width: 580px; margin: 0 auto 36px; opacity: 0.9; font-size: 0.97rem; line-height: 1.85; }

/* === ブックマークツールチップ === */
.pds-bookmark-wrap {
  position: relative;
  display: inline-block;
}
.pds-bookmark-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #1a1a2e;
  border-radius: 12px;
  padding: 18px 22px;
  width: 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 300;
  text-align: left;
}
/* 吹き出し三角 */
.pds-bookmark-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
}
.pds-bm-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1a56a4;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0eaf8;
}
.pds-bookmark-tip ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pds-bookmark-tip li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.83rem;
  line-height: 1.5;
}
.pds-bm-os {
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 100px;
}
.pds-bm-key { color: #1a1a2e; font-weight: 600; }
.pds-bm-key kbd {
  display: inline-block;
  background: #f0f4ff;
  border: 1px solid #c0cfe8;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 0.8rem;
  font-family: inherit;
  color: #1a56a4;
  font-weight: 700;
  box-shadow: 0 1px 0 #b0c0d8;
}
@media (max-width: 640px) {
  .pds-bookmark-tip {
    width: 260px;
    left: auto;
    right: 0;
    transform: none;
  }
  .pds-bookmark-tip::after {
    left: auto;
    right: 24px;
    transform: none;
  }
}

/* === FOOTER === */
.pds-footer {
  background: #0f1628;
  color: #ccc;
  padding: 60px 0 28px;
}
.pds-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.pds-footer-logo { font-size: 1.1rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.pds-footer-about p { font-size: 0.86rem; line-height: 1.75; color: #999; }
.pds-footer-links h4 {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pds-footer-links ul { display: flex; flex-direction: column; gap: 11px; }
.pds-footer-links a { font-size: 0.86rem; color: #999; transition: color 0.15s; }
.pds-footer-links a:hover { color: #fff; text-decoration: none; }
.pds-footer-bottom {
  border-top: 1px solid #1e2640;
  padding-top: 24px;
  text-align: center;
}
.pds-footer-bottom p { font-size: 0.8rem; color: #666; margin-bottom: 6px; }
.pds-footer-bottom a { color: #888; }
.pds-footer-disclaimer { font-size: 0.75rem !important; }

/* === PC/スマホ切替バー === */
.pds-view-switcher {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(15, 22, 40, 0.92);
  backdrop-filter: blur(6px);
  padding: 10px 20px;
  font-size: 0.82rem;
  color: #ccc;
}
.pds-vs-label { color: #aaa; }
.pds-vs-sep { color: #555; }
.pds-vs-btn {
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #aaa;
  border: 1px solid #444;
  background: transparent;
  transition: all 0.18s;
  font-family: inherit;
}
.pds-vs-btn:hover { border-color: #6b9ee8; color: #fff; }
.pds-vs-btn.is-active { background: #1a56a4; border-color: #1a56a4; color: #fff; }

/* Switcher分の下余白 */
body { padding-bottom: 48px; }

/* === 固定ページ（page.php） === */
.pds-page-header {
  background: linear-gradient(135deg, #0a2d6e 0%, #1a56a4 100%);
  color: #fff;
  padding: 44px 24px 48px;
}
.pds-page-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
}
.pds-page-wrap {
  padding: 52px 0 80px;
  background: #f5f7fb;
  min-height: 50vh;
}
.pds-page-body {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 48px 52px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* ページ本文の見出し */
.pds-page-body h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 36px 0 14px;
  padding: 12px 18px;
  background: #f0f5ff;
  border-left: 4px solid #1a56a4;
  border-radius: 0 8px 8px 0;
}
.pds-page-body h2:first-child { margin-top: 0; }
.pds-page-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 24px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e0eaf8;
}
.pds-page-body p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 16px;
}
.pds-page-body strong { color: #1a56a4; font-weight: 700; }
.pds-page-body ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pds-page-body ul li { font-size: 0.93rem; color: #444; line-height: 1.75; }

/* Contact Form 7 スタイル */
.pds-page-body .wpcf7 { margin-top: 8px; }
.pds-page-body .wpcf7 p,
.pds-page-body .wpcf7 label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 18px;
}
.pds-page-body .wpcf7 label { margin-bottom: 6px; }
.pds-page-body .wpcf7-form-control-wrap { display: block; margin-bottom: 18px; }
.pds-page-body .wpcf7-text,
.pds-page-body .wpcf7-email,
.pds-page-body .wpcf7-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #333;
  background: #fafbff;
  border: 1.5px solid #d0dff0;
  border-radius: 8px;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.pds-page-body .wpcf7-text:focus,
.pds-page-body .wpcf7-email:focus,
.pds-page-body .wpcf7-textarea:focus {
  border-color: #1a56a4;
  box-shadow: 0 0 0 3px rgba(26, 86, 164, 0.12);
  background: #fff;
}
.pds-page-body .wpcf7-textarea { resize: vertical; min-height: 160px; }
.pds-page-body .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 48px;
  background: #1a56a4;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  letter-spacing: 0.04em;
  margin-top: 8px;
}
.pds-page-body .wpcf7-submit:hover {
  background: #0d3572;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 86, 164, 0.35);
}
.pds-page-body .wpcf7-submit:active { transform: translateY(0); }
.pds-page-body .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e53e3e;
}
.pds-page-body .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  border: none !important;
}
.pds-page-body .wpcf7-form.sent .wpcf7-response-output {
  background: #e6f9f0;
  color: #1a7a4a;
}
.pds-page-body .wpcf7-form.failed .wpcf7-response-output,
.pds-page-body .wpcf7-form.invalid .wpcf7-response-output,
.pds-page-body .wpcf7-form.spam .wpcf7-response-output {
  background: #fff5f5;
  color: #c53030;
}
.pds-page-body .wpcf7-spinner {
  margin-left: 12px;
  vertical-align: middle;
}
/* not-valid input border */
.pds-page-body .wpcf7-not-valid {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}

@media (max-width: 640px) {
  .pds-page-body { padding: 28px 20px; }
  .pds-page-body .wpcf7-submit { width: 100%; }
}

/* === アーカイブ：ヘッダー === */
.pds-archive-header {
  background: linear-gradient(135deg, #0a2d6e 0%, #1a56a4 100%);
  color: #fff;
  padding: 44px 24px 48px;
}
.pds-archive-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}
.pds-archive-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 0;
}
.pds-archive-desc {
  margin-top: 12px;
  font-size: 0.92rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* === アーカイブ：記事一覧 === */
.pds-archive-wrap {
  padding: 44px 0 64px;
  background: #f5f7fb;
  min-height: 40vh;
}
.pds-post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 44px;
}
.pds-post-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e8ecf0;
}
.pds-post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.pds-post-card-inner { padding: 28px 32px; }
.pds-post-cat a {
  display: inline-block;
  background: #e8f1fb;
  color: #1a56a4;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.pds-post-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 10px;
}
.pds-post-title a { color: #1a1a2e; }
.pds-post-title a:hover { color: #1a56a4; text-decoration: none; }
.pds-post-excerpt {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.75;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pds-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 16px;
}
.pds-post-meta-sep { opacity: 0.5; }
.pds-post-read-more {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a56a4;
  text-decoration: none;
  border-bottom: 2px solid #d0e4f8;
  padding-bottom: 1px;
  transition: border-color 0.15s, color 0.15s;
}
.pds-post-read-more:hover { color: #0d3572; border-color: #1a56a4; text-decoration: none; }

/* ページネーション */
.pds-pagination { text-align: center; margin-top: 8px; }
.pds-pagination .nav-links { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pds-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #444;
  border: 1px solid #dde8f5;
  background: #fff;
  text-decoration: none;
  transition: all 0.15s;
}
.pds-pagination .page-numbers:hover { background: #f0f5ff; color: #1a56a4; text-decoration: none; }
.pds-pagination .page-numbers.current { background: #1a56a4; color: #fff; border-color: #1a56a4; }

/* 記事なし */
.pds-no-posts {
  text-align: center;
  padding: 60px 0;
  color: #666;
}
.pds-no-posts p { font-size: 1rem; line-height: 1.85; margin-bottom: 24px; }

/* === 記事：パンくずリスト === */
.pds-breadcrumb {
  background: #f5f7fb;
  border-bottom: 1px solid #e8ecf0;
  padding: 10px 0;
  font-size: 0.82rem;
}
.pds-breadcrumb ol {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
}
.pds-breadcrumb li { color: #888; }
.pds-breadcrumb li + li::before { content: '›'; margin-right: 6px; color: #bbb; }
.pds-breadcrumb a { color: #1a56a4; }
.pds-breadcrumb a:hover { text-decoration: underline; }

/* === 記事：記事ヘッダー === */
.pds-article-header {
  background: linear-gradient(135deg, #0a2d6e 0%, #1a56a4 100%);
  color: #fff;
  padding: 44px 24px 52px;
}
.pds-article-header-inner {
  max-width: 820px;
  margin: 0 auto;
}
.pds-article-cat a {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.pds-article-title {
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 16px;
}
.pds-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  opacity: 0.85;
}
.pds-meta-sep { opacity: 0.5; }

/* === 記事：本文レイアウト === */
.pds-article-wrap {
  padding: 48px 0 64px;
  background: #fff;
}
.pds-article-body {
  max-width: 820px;
  margin: 0 auto;
}

/* === 記事：目次 === */
.pds-toc {
  background: #f5f8fd;
  border: 1px solid #d0e0f5;
  border-left: 4px solid #1a56a4;
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.pds-toc-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pds-toc-toggle {
  margin-left: auto;
  font-size: 0.7rem;
  color: #888;
  padding: 2px 8px;
  border: 1px solid #d0dfe8;
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
}
.pds-toc-list {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pds-toc-list li { font-size: 0.88rem; }
.pds-toc-list li.pds-toc-h3 { margin-left: 16px; list-style-type: disc; font-size: 0.83rem; }
.pds-toc-list a { color: #1a56a4; }
.pds-toc-list a:hover { text-decoration: underline; }

/* === 記事：本文テキスト === */
.pds-entry-content {
  font-size: 0.97rem;
  line-height: 1.9;
  color: #333;
}
.pds-entry-content h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #1a1a2e;
  margin: 44px 0 16px;
  padding: 14px 20px;
  background: #f0f5ff;
  border-left: 4px solid #1a56a4;
  border-radius: 0 8px 8px 0;
  line-height: 1.45;
}
.pds-entry-content h2:first-child { margin-top: 0; }
.pds-entry-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0eaf8;
}
.pds-entry-content p { margin-bottom: 20px; }
.pds-entry-content p.pds-lead {
  font-size: 1.02rem;
  font-weight: 500;
  color: #444;
  background: #f8faff;
  border: 1px solid #dde8f5;
  border-radius: 8px;
  padding: 20px 24px;
  line-height: 1.85;
  margin-bottom: 28px;
}
.pds-entry-content ul,
.pds-entry-content .wp-block-list {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pds-entry-content ul li,
.pds-entry-content .wp-block-list li { line-height: 1.75; }
.pds-entry-content strong { color: #1a56a4; font-weight: 700; }
.pds-entry-content a { color: #1a56a4; text-decoration: underline; }

/* WordPress table styles in article */
.pds-entry-content .wp-block-table {
  width: 100%;
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pds-entry-content .wp-block-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.pds-entry-content .wp-block-table th {
  background: #1a56a4;
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  text-align: left;
}
.pds-entry-content .wp-block-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #e0e8f5;
  vertical-align: top;
}
.pds-entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(even) td { background: #f5f8fd; }

/* === 記事：フッター（タグ・シェア） === */
.pds-article-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e8ecf0;
}
.pds-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  font-size: 0.85rem;
}
.pds-tags-label { color: #888; font-weight: 600; }
.pds-tag-link {
  background: #f0f4ff;
  color: #1a56a4;
  border: 1px solid #d0e0f5;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8rem;
  transition: all 0.15s;
}
.pds-tag-link:hover { background: #1a56a4; color: #fff; text-decoration: none; border-color: #1a56a4; }
.pds-article-share { }
.pds-share-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 12px;
}
.pds-share-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pds-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.18s;
  min-width: 130px;
}
.pds-share-x { background: #000; color: #fff; }
.pds-share-x:hover { background: #222; color: #fff; transform: translateY(-2px); }
.pds-share-line { background: #00b900; color: #fff; }
.pds-share-line:hover { background: #009900; color: #fff; transform: translateY(-2px); }

/* === 記事下CTA === */
.pds-article-cta {
  background: linear-gradient(135deg, #0a2d6e 0%, #1a56a4 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .pds-features-grid { grid-template-columns: 1fr 1fr; }
  .pds-about-content { grid-template-columns: 1fr; gap: 36px; }
  .pds-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .pds-nav-toggle { display: flex; }
  .pds-nav-list {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-top: 1px solid #e8ecf0;
    gap: 4px;
  }
  .pds-nav-list.is-open { display: flex; }
  .pds-nav-list a { padding: 12px 16px; font-size: 0.95rem; }
  .pds-nav-list .pds-nav-cta { margin-left: 0; text-align: center; }
  .pds-features-grid { grid-template-columns: 1fr; }
  .pds-hero { padding: 64px 24px 88px; }
  .pds-hero-cta { flex-direction: column; align-items: center; }
  .pds-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pds-stats-inner { flex-wrap: wrap; }
  .pds-stat { min-width: 50%; border-right: none; border-bottom: 1px solid #e0e8f5; }
  .pds-stat:nth-last-child(-n+2) { border-bottom: none; }
  .pds-transition-flow { flex-direction: column; gap: 8px; }
  .pds-transition-arrow { transform: rotate(90deg); }

  /* 記事モバイル */
  .pds-article-header { padding: 32px 20px 40px; }
  .pds-article-wrap { padding: 28px 0 48px; }
  .pds-container { padding: 0 16px; }
  .pds-entry-content h2 { font-size: 1.1rem; padding: 12px 16px; }
  .pds-entry-content h3 { font-size: 0.97rem; }
  .pds-share-btns { flex-direction: column; }
  .pds-share-btn { min-width: 0; width: 100%; }
  .pds-toc { padding: 16px 18px; }
  .pds-hero-notice { font-size: 0.82rem; padding: 10px 16px; text-align: left; }
}

/* ===== 過去問道場 NAV ===== */
.pds-nav-dojo {
  background: #16a34a;
  color: #fff !important;
  border-radius: 6px;
  padding: 6px 14px !important;
  font-weight: 700;
  transition: background 0.2s;
}
.pds-nav-dojo:hover {
  background: #15803d !important;
  text-decoration: none !important;
  color: #fff !important;
}

/* ===== 過去問道場 BUTTON ===== */
.pds-btn-dojo {
  background: #16a34a;
  color: #fff;
  box-shadow: 0 4px 14px rgba(22,163,74,0.35);
}
.pds-btn-dojo:hover {
  background: #15803d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22,163,74,0.45);
  text-decoration: none !important;
}

/* ===== HERO notice dojo ===== */
.pds-hero-notice-dojo {
  background: rgba(22,163,74,0.15);
  border-color: rgba(22,163,74,0.4);
  color: #fff;
}

/* ===== 過去問道場 CTA セクション ===== */
.pds-dojo-cta {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.pds-dojo-cta::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.pds-dojo-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.pds-dojo-cta-text {
  flex: 1;
  min-width: 260px;
  color: #fff;
}
.pds-dojo-badge-new {
  display: inline-block;
  background: #fbbf24;
  color: #1a1a2e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.pds-dojo-cta-text h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.pds-dojo-cta-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 20px;
  line-height: 1.65;
}
.pds-dojo-stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.pds-dojo-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 18px;
  min-width: 72px;
}
.pds-dojo-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.pds-dojo-stat-lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}
.pds-dojo-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pds-dojo-cta-btn {
  background: #fff !important;
  color: #065f46 !important;
  font-size: 1.05rem;
  padding: 16px 36px !important;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.pds-dojo-cta-btn:hover {
  background: #f0fdf4 !important;
  color: #065f46 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.pds-dojo-cta-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ===== Feature カード dojo ===== */
.pds-feature-card-dojo {
  border: 2px solid #16a34a;
  position: relative;
}
.pds-feature-card-dojo::before {
  content: 'NEW';
  position: absolute;
  top: -1px; right: 16px;
  background: #16a34a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 0 0 6px 6px;
}
.pds-feature-dojo-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 8px 20px;
  background: #16a34a;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
}
.pds-feature-dojo-link:hover {
  background: #15803d;
  transform: translateY(-1px);
  text-decoration: none !important;
}

@media (max-width: 640px) {
  .pds-dojo-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .pds-dojo-stats-row {
    justify-content: center;
  }
  .pds-dojo-cta-btn {
    width: 100%;
  }
}

/* ===== 過去問道場 HERO セクション ===== */
.pds-dojo-hero {
  background: #f0fdf4;
  border-top: 4px solid #16a34a;
  padding: 60px 0;
}
.pds-dojo-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.pds-dojo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.82rem;
  color: #15803d;
  font-weight: 600;
  margin-bottom: 16px;
}
.pds-dojo-hero-badge-new {
  background: #16a34a;
  color: #fff;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.pds-dojo-hero-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 16px;
}
.pds-dojo-hero-desc {
  font-size: 1rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 24px;
}
.pds-dojo-hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.pds-dojo-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px 20px;
  min-width: 80px;
}
.pds-dojo-hero-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #15803d;
  line-height: 1;
}
.pds-dojo-hero-stat-lbl {
  font-size: 0.76rem;
  color: #6b7280;
  margin-top: 4px;
  white-space: nowrap;
}
.pds-dojo-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pds-dojo-hero-btn {
  font-size: 1.05rem;
  padding: 16px 36px !important;
}
.pds-dojo-hero-free {
  font-size: 0.85rem;
  color: #6b7280;
}

/* --- 右側サンプルカード --- */
.pds-dojo-hero-right {
  display: flex;
  justify-content: center;
}
.pds-dojo-hero-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 28px;
  border: 1px solid #d1fae5;
  max-width: 420px;
  width: 100%;
}
.pds-dojo-hero-card-label {
  font-size: 0.75rem;
  color: #16a34a;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pds-dojo-hero-card-q {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}
.pds-dojo-hero-card-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.pds-dojo-hero-choice {
  font-size: 0.86rem;
  color: #4b5563;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f9fafb;
}
.pds-choice-correct {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  border: 1px solid #86efac;
}
.pds-dojo-hero-card-result {
  font-size: 0.82rem;
  color: #15803d;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  background: #f0fdf4;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .pds-dojo-hero-inner {
    grid-template-columns: 1fr;
  }
  .pds-dojo-hero-right {
    display: none;
  }
  .pds-dojo-hero-title {
    font-size: 1.8rem;
  }
}
