@charset "UTF-8";
/*
 * Pattern D USWDS stylesheet entry.
 * Output: assets/css/styles_pattern_d.css
 */
/* Usage: Pattern Dボディ基盤。header-pattern-d.php の `body.pattern-d` に適用。 */
/* ----- Pattern D Body ----- */
.pattern-d {
  scroll-behavior: smooth;
  overflow-x: hidden;
  padding-top: var(--site-header-height, 112px);
}

/* body だけでは mobile Safari 等で html レイヤーの横スクロールを防げないため両方に設定 */
html:has(body.pattern-d) {
  overflow-x: hidden;
}

/* Usage: USWDS風カラートークン/サイズ変数。Pattern Dテンプレート全体で利用。 */
/* ----- USWDS Color Tokens ----- */
:root {
  --uswds-navy: #0077b6;
  --uswds-navy-dark: #005f92;
  --uswds-navy-light: #00a0e4;
  --uswds-accent: #ff6b4a;
  --uswds-accent-dark: #e55a3a;
  --uswds-cta: #f40b0b;
  --uswds-cta-dark: #CF0909;
  --uswds-cta-light: #FF0D0D;
  --uswds-gold: #ffc947;
  --uswds-text-primary: #1b1b1b;
  --uswds-text-secondary: #666;
  --uswds-text-muted: #71767a;
  --uswds-bg-light: #f0f0f0;
  --uswds-bg-lighter: #f8f9fa;
  --uswds-border: #dfe1e2;
  --uswds-white: #fff;
  --pd-font-size-caption: clamp(0.72rem, 0.7082608696rem + 0.0032608696vw, 0.75rem);
  --pd-font-size-small: 0.875rem;
  --pd-font-size-body: clamp(0.95rem, 0.9304347826rem + 0.0054347826vw, 1rem);
  --pd-font-size-body-lg: clamp(1rem, 0.9755434783rem + 0.0067934783vw, 1.0625rem);
  --pd-font-size-title-sm: clamp(1.1rem, 0.9923913043rem + 0.0298913043vw, 1.375rem);
  --pd-font-size-title-md: clamp(1.45rem, 1.2347826087rem + 0.0597826087vw, 2rem);
  --pd-font-size-title-lg: clamp(1.75rem, 1.4565217391rem + 0.0815217391vw, 2.5rem);
  --pd-font-size-title-xl: clamp(1.85rem, 1.4586956522rem + 0.1086956522vw, 2.85rem);
  --pd-font-size-lead: clamp(1rem, 0.8777173913rem + 0.0339673913vw, 1.3125rem);
  --pd-line-height-tight: 1.3;
  --pd-line-height-heading: 1.4;
  --pd-line-height-body: 1.75;
  --pd-space-1: 0.25rem;
  --pd-space-2: 0.5rem;
  --pd-space-3: 0.75rem;
  --pd-space-4: 1rem;
  --pd-space-5: 1.5rem;
  --pd-space-6: 2rem;
  --pd-space-7: 2.5rem;
  --pd-space-8: 3rem;
  --pd-radius-sm: 0.5rem;
  --pd-radius-md: 0.875rem;
  --pd-radius-lg: 1.25rem;
  --pd-radius-xl: 1.5rem;
  --pd-container-padding: 1.5rem;
  --pd-section-padding: 5rem;
  --pd-card-padding: clamp(1.5rem, 1.3043478261rem + 0.0543478261vw, 2rem);
  --pd-card-padding-lg: clamp(1.75rem, 1.4565217391rem + 0.0815217391vw, 2.5rem);
  --pd-page-shell-padding-top: clamp(1.5rem, 1.1086956522rem + 0.1086956522vw, 2.5rem);
  --pd-contact-cta-padding: clamp(1.5rem, 1.1086956522rem + 0.1086956522vw, 2.5rem);
  --pd-letter-spacing-label: clamp(0.16em, 0.1443478261em + 0.0043478261vw, 0.2em);
  --pd-letter-spacing-kicker: clamp(0.1em, 0.0843478261em + 0.0043478261vw, 0.14em);
  --pd-letter-spacing-kicker-wide: clamp(0.18em, 0.1486956522em + 0.0086956522vw, 0.26em);
  --pd-letter-spacing-heading-tight: 0.02em;
  --pd-letter-spacing-heading-tightest: 0.01em;
  --pd-letter-spacing-copy-wide: 0.05em;
  --site-header-height: 112px;
  --header-logo-height: 20px;
  --header-subtitle-size: clamp(11px, 10.6086956522px + 0.1086956522vw, 12px);
  --header-name-size: clamp(34px, 32.4347826087px + 0.4347826087vw, 38px);
  --header-scale: 1;
  --hero-tagline-size: clamp(32px, 30.8260869565px + 0.3260869565vw, 35px);
  --hero-subtitle-size: clamp(60px, 56.0869565217px + 1.0869565217vw, 70px);
  --hero-cta-size: clamp(18px, 17.2173913043px + 0.2173913043vw, 20px);
  --hero-scale: 1;
  --hero-overlay-top-opacity: 0.08;
  --hero-overlay-side-opacity: 0.22;
  --hero-overlay-bottom-opacity: 0.3;
  --hero-text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

/* Usage: Pattern Dヘッダー/ナビ。header-pattern-d.php と src/js/pattern-d.js で利用。 */
/* ===================================================== */
/* ヘッダー（USWDS風）                                    */
/* ===================================================== */
.pd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #092f63;
}

/* ----- Top Utility Bar ----- */
.pd-header-topbar {
  background: #061f44;
  padding: 0.5rem 0;
  font-size: clamp(0.72rem, 0.7082608696rem + 0.0032608696vw, 0.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pd-container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-header-official-label {
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: var(--pd-letter-spacing-copy-wide);
  font-weight: 500;
}

.pd-header-utility {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pd-header-social {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pd-header-social-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  width: 2rem;
  height: 2rem;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
}

.pd-header-social-link:hover {
  color: var(--uswds-white);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.pd-header-social-link i {
  font-size: 1.25rem;
  line-height: 1;
}

/* ----- Main Header ----- */
.pd-header-main {
  padding: 0.75rem 0;
}

.pd-header-brand {
  flex-shrink: 0;
}

.pd-header-home-link {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  color: var(--uswds-white);
}

.pd-header-home-link:hover {
  opacity: 0.9;
}

.pd-header-logo-pill {
  display: inline-flex;
  align-items: center;
}

.pd-header-brand-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  flex: 0 0 auto;
}

.pd-brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  flex: 0 0 auto;
}

.pd-brand-logo--header {
  height: 40px;
  margin: 0;
}

.pd-header-subtitle {
  font-size: calc(var(--header-subtitle-size) * var(--header-scale));
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: var(--pd-letter-spacing-kicker);
}

.pd-header-name {
  font-size: calc(var(--header-name-size) * var(--header-scale));
  font-weight: 900;
  color: var(--uswds-white);
  letter-spacing: var(--pd-letter-spacing-heading-tightest);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.15;
  white-space: nowrap;
}

/* ----- Navigation ----- */
.pd-header-nav {
  display: flex;
  align-items: center;
}

.pd-header-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}

.pd-header-nav-link {
  display: block;
  padding: var(--pd-space-3) var(--pd-space-4);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: var(--pd-font-size-small);
  font-weight: 500;
  border-radius: var(--pd-radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.pd-header-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--uswds-white);
}

.pd-header-nav-link-cta {
  background: var(--uswds-accent);
  color: var(--uswds-white) !important;
}

.pd-header-nav-link-cta:hover {
  background: var(--uswds-accent-dark) !important;
}

.pd-header-nav-title {
  display: none;
}

.pd-drawer-social {
  display: none;
}

.pd-drawer-social-title {
  margin: 0;
}

.pd-drawer-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pd-drawer-social-link {
  text-decoration: none;
}

/* ----- Mobile Menu Toggle ----- */
.pd-header-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.pd-header-menu-toggle-line {
  width: 24px;
  height: 2px;
  background: var(--uswds-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.pd-header-menu-toggle[aria-expanded=true] .pd-header-menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pd-header-menu-toggle[aria-expanded=true] .pd-header-menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.pd-header-menu-toggle[aria-expanded=true] .pd-header-menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Usage: ヒーローセクション。template-parts/pattern-d/hero.php で利用。 */
/* ===================================================== */
/* ヒーローセクション                                     */
/* ===================================================== */
.hero-section-uswds {
  position: relative;
  margin-top: calc(-1 * var(--site-header-height, 112px));
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, 1280px);
  margin: calc(var(--site-header-height, 112px) + clamp(1.5rem, 5vh, 3rem)) auto 0;
  text-align: left;
  color: var(--uswds-white);
  padding: 2rem;
  background: transparent;
}

.hero-tagline {
  font-size: calc(var(--hero-tagline-size) * var(--hero-scale));
  margin-bottom: 2rem;
  font-weight: 600;
  text-shadow: var(--hero-text-shadow);
}

.hero-subtitle {
  font-size: calc(var(--hero-subtitle-size) * var(--hero-scale));
  font-weight: 700;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.2;
  text-shadow: var(--hero-text-shadow);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-cta-group .btn-uswds {
  font-size: calc(var(--hero-cta-size) * var(--hero-scale));
  text-align: center;
}

@media (min-width: 1025px) {
  .hero-tagline,
  .hero-subtitle {
    max-width: 840px;
  }
  .hero-subtitle {
    font-size: clamp(3.5rem, 4.4vw, 3.875rem);
  }
}
/* Usage: USWDSボタン群。template-parts/pattern-d/{hero,meet,contact}.php で利用。 */
/* ===================================================== */
/* USWDS Buttons                                         */
/* ===================================================== */
.btn-uswds {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--pd-space-2);
  padding: 0.875rem var(--pd-space-5);
  font-size: var(--pd-font-size-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--pd-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-uswds-primary {
  background: var(--uswds-cta);
  color: var(--uswds-white);
  border-color: var(--uswds-cta);
}

.btn-uswds-primary:hover {
  background: var(--uswds-cta-dark);
  border-color: var(--uswds-cta-dark);
}

.btn-uswds-secondary {
  background: var(--uswds-navy);
  color: var(--uswds-white);
  border-color: var(--uswds-navy);
}

.btn-uswds-secondary:hover {
  background: var(--uswds-navy-dark);
  border-color: var(--uswds-navy-dark);
}

.btn-uswds-cta {
  background: var(--uswds-accent);
  color: var(--uswds-white);
  border-color: var(--uswds-accent);
}

.btn-uswds-cta:hover {
  background: var(--uswds-accent-dark);
  border-color: var(--uswds-accent-dark);
}

.btn-uswds-outline {
  background: transparent;
  color: var(--uswds-white);
  border-color: var(--uswds-white);
}

.btn-uswds-outline:hover {
  background: var(--uswds-white);
  color: var(--uswds-navy);
}

.btn-uswds-large {
  padding: 1rem var(--pd-space-6);
  font-size: var(--pd-font-size-body-lg);
}

/* Usage: 共通レイアウト。container/sectionヘルパーを Pattern D各テンプレートで利用。 */
/* ===================================================== */
/* 共通レイアウト                                         */
/* ===================================================== */
.container-uswds {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pd-container-padding);
}

.section-padding-uswds {
  padding: var(--pd-section-padding) 0;
}

.section-title-uswds {
  margin-bottom: var(--pd-space-6);
}

.section-title-center {
  text-align: center;
}

.section-title-light {
  color: var(--uswds-white);
}

.section-title-light .section-label {
  color: var(--uswds-gold);
}

.section-label {
  display: block;
  font-size: var(--pd-font-size-caption);
  text-transform: uppercase;
  letter-spacing: var(--pd-letter-spacing-label);
  color: var(--uswds-accent);
  margin-bottom: var(--pd-space-2);
  font-weight: 600;
}

.section-title-main {
  display: block;
  font-size: var(--pd-font-size-title-lg);
  font-weight: 700;
  color: var(--uswds-navy);
  line-height: var(--pd-line-height-tight);
}

.section-title-light .section-title-main {
  color: var(--uswds-white);
}

.section-description-uswds {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--pd-space-8);
  color: var(--uswds-text-secondary);
  font-size: var(--pd-font-size-body-lg);
  line-height: var(--pd-line-height-body);
}

.section-header-uswds {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--pd-space-6);
  flex-wrap: wrap;
  gap: var(--pd-space-4);
}

.view-all-link {
  color: var(--uswds-navy);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: var(--uswds-accent);
}

/* Usage: Pattern D 内ページ共通シェル。page-profile/policy/contact と news archive/single を統一。 */
.pattern-d-main {
  padding-top: var(--pd-page-shell-padding-top);
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.08) 0%, rgba(255, 255, 255, 0) 18rem), linear-gradient(180deg, #f7fbff 0%, #fff 30rem);
}

.pattern-d-page-header {
  padding: 0 0 var(--pd-space-6);
}

.pattern-d-page-header--contact {
  padding-bottom: var(--pd-space-4);
}

.pattern-d-page-header--contact .pattern-d-page-header__inner,
.pattern-d-page-content--contact-intro .pattern-d-page-content__inner,
.pattern-d-page-content--contact-grid .pattern-d-page-content__inner {
  max-width: 1040px;
}

.pattern-d-page-header__inner {
  padding: var(--pd-card-padding-lg);
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: var(--pd-radius-xl);
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.08) 0%, rgba(255, 255, 255, 0.96) 52%, rgba(255, 107, 74, 0.08) 100%);
  box-shadow: 0 18px 42px rgba(0, 95, 146, 0.08);
}

.pattern-d-page-header .section-title-uswds {
  margin: 0;
}

.pattern-d-page-header .section-label {
  margin-bottom: var(--pd-space-3);
}

.pattern-d-page-header .section-title-main {
  max-width: 14ch;
  margin: 0 auto;
}

.pattern-d-page-content {
  padding: 0 0 var(--pd-section-padding);
}

.pattern-d-page-content__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.pattern-d-page-content--contact-intro {
  padding-bottom: var(--pd-space-4);
}

.pattern-d-page-content--contact-intro .pattern-d-prose {
  padding: var(--pd-card-padding);
}

.pattern-d-page-content--contact-intro .section-description-uswds {
  max-width: none;
  margin-bottom: 0;
  text-align: left;
  color: var(--uswds-text-primary);
  font-size: var(--pd-font-size-body);
}

.pattern-d-page-content--contact-grid {
  padding-top: 0;
}

.pattern-d-prose,
.pd-empty,
.pd-single {
  background: var(--uswds-white);
  border: 1px solid var(--uswds-border);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0, 95, 146, 0.08);
}

.pattern-d-prose {
  padding: var(--pd-card-padding-lg);
  color: var(--uswds-text-primary);
}

.pattern-d-prose > :first-child,
.pd-single-content > :first-child {
  margin-top: 0;
}

.pattern-d-prose > :last-child,
.pd-single-content > :last-child {
  margin-bottom: 0;
}

.pattern-d-prose p,
.pattern-d-prose li,
.pd-single-content p,
.pd-single-content li {
  line-height: var(--pd-line-height-body);
}

.pattern-d-prose .elementor,
.pattern-d-prose .elementor-widget-container,
.pattern-d-prose .elementor-text-editor,
.pd-single-content .elementor,
.pd-single-content .elementor-widget-container,
.pd-single-content .elementor-text-editor {
  color: inherit;
}

.pattern-d-prose .elementor-widget:not(:last-child),
.pattern-d-prose .elementor-column:not(:last-child),
.pattern-d-prose .elementor-element:not(:last-child),
.pd-single-content .elementor-widget:not(:last-child),
.pd-single-content .elementor-column:not(:last-child),
.pd-single-content .elementor-element:not(:last-child) {
  margin-bottom: var(--pd-space-4);
}

.pattern-d-prose .elementor-heading-title,
.pd-single-content .elementor-heading-title {
  margin: 0;
  color: var(--uswds-navy);
  line-height: var(--pd-line-height-heading);
}

.pattern-d-prose .elementor-button,
.pd-single-content .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--pd-space-2);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: var(--pd-font-size-body);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--pd-letter-spacing-kicker);
}

.pattern-d-prose .elementor-button-text,
.pd-single-content .elementor-button-text {
  letter-spacing: inherit;
}

.pattern-d-prose .elementor-button-link,
.pd-single-content .elementor-button-link {
  text-decoration: none;
}

.pattern-d-prose h2,
.pattern-d-prose h3,
.pattern-d-prose h4,
.pd-single-content h2,
.pd-single-content h3,
.pd-single-content h4 {
  color: var(--uswds-navy);
  line-height: var(--pd-line-height-heading);
}

.pattern-d-prose ul,
.pattern-d-prose ol,
.pd-single-content ul,
.pd-single-content ol {
  padding-left: 1.3rem;
}

.pattern-d-prose a,
.pd-single-content a {
  color: var(--uswds-navy);
}

.pattern-d-prose a:hover,
.pd-single-content a:hover {
  color: var(--uswds-accent);
}

.pattern-d-prose img,
.pd-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.pd-empty {
  padding: var(--pd-card-padding);
  color: var(--uswds-text-primary);
}

.pd-pagination {
  margin-top: var(--pd-space-6);
  display: flex;
  justify-content: center;
  gap: var(--pd-space-2);
  flex-wrap: wrap;
}

.pd-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--uswds-border);
  background: var(--uswds-white);
  color: var(--uswds-navy);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 95, 146, 0.06);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pd-pagination .page-numbers:not(.prev):not(.next):not(.dots) {
  inline-size: 3.75rem;
  block-size: 3.75rem;
  padding: 0.35rem;
  border-radius: var(--pd-radius-md);
}

.pd-pagination .page-numbers.prev,
.pd-pagination .page-numbers.next {
  min-width: 2.5rem;
  block-size: 3.75rem;
  padding: 0.35rem 1rem;
  border-radius: var(--pd-radius-md);
}

.pd-pagination .page-numbers.dots {
  block-size: 3.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--pd-radius-md);
}

.pd-pagination .page-numbers:hover {
  color: var(--uswds-white);
  background: var(--uswds-navy);
  border-color: var(--uswds-navy);
  transform: translateY(-1px);
}

.pd-pagination .page-numbers.current {
  background: var(--uswds-navy);
  color: var(--uswds-white);
  border-color: var(--uswds-navy);
}

.pd-single-wrap {
  max-width: 960px;
}

.pd-single {
  padding: var(--pd-card-padding);
}

.pd-single-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--pd-space-4);
  margin-bottom: var(--pd-space-5);
  padding-bottom: var(--pd-space-5);
  border-bottom: 1px solid rgba(0, 119, 182, 0.12);
}

.pd-single-header > .news-date {
  align-self: flex-start;
}

.pd-single-header-body {
  min-width: 0;
}

.pd-single-header-body .news-category {
  display: inline-block;
  margin-bottom: 0;
}

.pd-single-title {
  margin: var(--pd-space-3) 0 0;
  font-size: var(--pd-font-size-title-md);
  line-height: var(--pd-line-height-tight);
}

.pd-single-thumb {
  margin-bottom: var(--pd-space-5);
}

.pd-single-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.pd-single-content {
  color: var(--uswds-text-primary);
  line-height: var(--pd-line-height-body);
}

.pd-single-content::after {
  content: "";
  display: table;
  clear: both;
}

.pd-single-nav {
  clear: both;
  margin-top: var(--pd-space-6);
  padding-top: var(--pd-space-5);
  border-top: 1px solid rgba(0, 119, 182, 0.12);
}

.pd-single-back a {
  display: inline-flex;
  align-items: center;
  gap: var(--pd-space-2);
  color: var(--uswds-navy);
  text-decoration: none;
  font-weight: 700;
}

.pd-single-back a:hover {
  color: var(--uswds-accent);
}

.pattern-d-main .news-section-uswds {
  background: transparent;
  padding-top: 0;
}

.pattern-d-main .news-section-uswds--archive .section-header-uswds {
  align-items: center;
  margin-bottom: var(--pd-space-6);
  padding: var(--pd-card-padding);
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.06) 0%, rgba(255, 255, 255, 0.98) 56%, rgba(255, 107, 74, 0.08) 100%);
  box-shadow: 0 16px 36px rgba(0, 95, 146, 0.08);
}

.pattern-d-main .news-section-uswds--archive .section-title-uswds {
  margin-bottom: 0;
}

/* Usage: トップページの政策バナー導線。template-parts/pattern-d/policy-banner.php で利用。 */
.policy-banner-section {
  background: #f7fbff;
}

.policy-banner-section.section-padding-uswds {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.policy-banner-section .section-title-uswds {
  margin-bottom: var(--pd-space-3);
  text-align: center;
}

.policy-banner-lead {
  max-width: 38em;
  margin: 0 auto var(--pd-space-7);
  color: var(--uswds-text-secondary);
  font-size: var(--pd-font-size-body);
  line-height: 1.85;
  text-align: center;
}

.policy-banner-link {
  display: block;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--uswds-white);
  border: 1px solid #e6edf3;
  box-shadow: 0 6px 24px rgba(0, 30, 60, 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.policy-banner-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 30, 60, 0.14);
}

.policy-banner-link:focus-visible {
  outline: 3px solid var(--uswds-accent);
  outline-offset: 4px;
}

.policy-banner-link:hover .policy-banner-cta {
  gap: 0.75rem;
}

.policy-banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.policy-banner-placeholder {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 1200/360;
  padding: var(--pd-card-padding);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--pd-space-3);
  color: var(--uswds-navy-dark);
  text-align: center;
  background: repeating-linear-gradient(135deg, rgba(0, 119, 182, 0.07) 0, rgba(0, 119, 182, 0.07) 14px, rgba(0, 119, 182, 0.02) 14px, rgba(0, 119, 182, 0.02) 28px);
}

.policy-banner-tag {
  padding: 0.3rem 0.75rem;
  background: var(--uswds-white);
  border: 1px solid rgba(0, 119, 182, 0.25);
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.policy-banner-desc {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  opacity: 0.8;
  text-wrap: balance;
}

.policy-banner-cta {
  display: flex;
  padding: var(--pd-space-4) var(--pd-space-5);
  align-items: center;
  justify-content: center;
  gap: var(--pd-space-2);
  background: var(--uswds-navy);
  color: var(--uswds-white);
  font-size: var(--pd-font-size-body-lg);
  font-weight: 800;
  letter-spacing: var(--pd-letter-spacing-heading-tight);
  transition: gap 0.2s ease;
}

@media (max-width: 540px) {
  .policy-banner-placeholder {
    min-height: 10rem;
    aspect-ratio: auto;
  }
  .policy-banner-desc {
    font-size: 0.78rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .policy-banner-link,
  .policy-banner-cta {
    transition: none;
  }
  .policy-banner-link:hover {
    transform: none;
  }
}
/* Usage: トップページの活動ギャラリー。template-parts/pattern-d/activity-gallery.php で利用。 */
.activity-gallery-section {
  position: relative;
  background: var(--uswds-white);
}

.activity-gallery-section.section-padding-uswds {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.activity-gallery-section .section-title-uswds {
  margin-bottom: var(--pd-space-3);
  text-align: center;
}

.activity-gallery-lead {
  max-width: 36em;
  margin: 0 auto var(--pd-space-8);
  color: var(--uswds-text-secondary);
  font-size: var(--pd-font-size-body);
  line-height: 1.85;
  text-align: center;
}

.activity-grid {
  display: grid;
  gap: var(--pd-space-4);
}

.activity-grid--count-1 {
  max-width: 56rem;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
}

.activity-grid--count-2,
.activity-grid--count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activity-grid--count-3 {
  grid-template-areas: "featured item2" "featured item3";
  grid-template-columns: 2fr 1fr;
}

.activity-grid--count-5 {
  grid-template-areas: "featured item2 item3" "featured item4 item5";
  grid-template-columns: 2fr 1fr 1fr;
}

.activity-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #001a33;
  color: var(--uswds-white);
  text-decoration: none;
}

.activity-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.activity-tile:hover img {
  opacity: 0.85;
  transform: scale(1.05);
}

.activity-tile:focus-visible {
  outline: 3px solid var(--uswds-accent);
  outline-offset: 4px;
}

.activity-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  padding: var(--pd-space-5);
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.activity-tile-tag {
  align-self: flex-start;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.375rem;
  background: rgba(0, 30, 60, 0.6);
  color: var(--uswds-gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.activity-tile-caption {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: var(--pd-line-height-heading);
  letter-spacing: var(--pd-letter-spacing-heading-tightest);
}

.activity-grid--count-1 .activity-tile.t1 {
  aspect-ratio: 16/9;
}

.activity-grid--count-3 .activity-tile.t1,
.activity-grid--count-5 .activity-tile.t1 {
  grid-area: featured;
  aspect-ratio: auto;
}

.activity-grid--count-3 .activity-tile.t2,
.activity-grid--count-5 .activity-tile.t2 {
  grid-area: item2;
}

.activity-grid--count-3 .activity-tile.t3,
.activity-grid--count-5 .activity-tile.t3 {
  grid-area: item3;
}

.activity-grid--count-5 .activity-tile.t4 {
  grid-area: item4;
}

.activity-grid--count-5 .activity-tile.t5 {
  grid-area: item5;
}

@media (max-width: 900px) {
  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pd-space-3);
  }
  .activity-grid--count-1 {
    grid-template-columns: minmax(0, 1fr);
  }
  .activity-grid--count-3 {
    grid-template-areas: "featured" "item2" "item3";
    grid-template-columns: minmax(0, 1fr);
  }
  .activity-grid--count-3 .activity-tile.t1,
  .activity-grid--count-3 .activity-tile.t2,
  .activity-grid--count-3 .activity-tile.t3 {
    aspect-ratio: 16/9;
  }
  .activity-grid--count-5 {
    grid-template-areas: "featured featured" "item2 item3" "item4 item5";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .activity-grid--count-5 .activity-tile.t1 {
    aspect-ratio: 16/9;
  }
}
@media (max-width: 540px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .activity-grid--count-2,
  .activity-grid--count-3,
  .activity-grid--count-4,
  .activity-grid--count-5 {
    grid-template-areas: none;
    grid-template-columns: minmax(0, 1fr);
  }
  .activity-tile,
  .activity-grid--count-1 .activity-tile.t1,
  .activity-grid--count-5 .activity-tile.t1 {
    grid-column: span 1;
    grid-row: span 1;
    grid-area: auto;
    aspect-ratio: 16/10;
  }
  .activity-tile-overlay {
    padding: var(--pd-space-4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .activity-tile img {
    transition: none;
  }
  .activity-tile:hover img {
    transform: none;
  }
}
/* Usage: 動画・SNSセクション。template-parts/pattern-d/media-social.php で利用。 */
.media-social-section {
  background: radial-gradient(circle at top left, rgba(0, 160, 228, 0.12), transparent 38%), linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.media-social-description {
  margin-bottom: calc(var(--pd-space-8) + var(--pd-space-2));
}

.media-social-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: var(--pd-space-6);
  align-items: stretch;
}

.youtube-feature-card,
.social-follow-card {
  background: var(--uswds-white);
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: var(--pd-radius-lg);
  box-shadow: 0 18px 40px rgba(0, 95, 146, 0.08);
}

.youtube-feature-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.youtube-feature-media {
  background: linear-gradient(135deg, #062033 0%, #005f92 100%);
  aspect-ratio: 16/9;
}

.youtube-feature-embed,
.youtube-feature-thumb-link,
.youtube-feature-placeholder {
  width: 100%;
  height: 100%;
}

.youtube-feature-embed iframe,
.youtube-feature-thumb {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.youtube-feature-thumb-link {
  position: relative;
  display: block;
}

.youtube-feature-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 11, 11, 0.92);
  color: var(--uswds-white);
  font-size: var(--pd-font-size-title-sm);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.youtube-feature-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.92);
  font-size: 5rem;
}

.youtube-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--pd-space-4);
  padding: var(--pd-card-padding);
}

.youtube-feature-eyebrow,
.social-follow-eyebrow {
  margin: 0;
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--uswds-accent);
}

.youtube-feature-title,
.social-follow-title {
  margin: 0;
  font-size: var(--pd-font-size-title-md);
  line-height: var(--pd-line-height-tight);
  color: var(--uswds-text-primary);
}

.youtube-feature-meta {
  margin: 0;
  font-size: var(--pd-font-size-small);
  color: var(--uswds-text-muted);
}

.youtube-feature-text,
.social-follow-text {
  margin: 0;
  color: var(--uswds-text-secondary);
  line-height: var(--pd-line-height-body);
}

.youtube-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pd-space-3);
  margin-top: var(--pd-space-1);
}

.media-social-channel-link {
  color: var(--uswds-navy);
  border-color: rgba(0, 119, 182, 0.22);
}

.media-social-channel-link:hover {
  background: var(--uswds-navy);
  color: var(--uswds-white);
  border-color: var(--uswds-navy);
}

.social-follow-card {
  padding: var(--pd-card-padding);
  display: flex;
  flex-direction: column;
  gap: var(--pd-space-5);
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.04) 0%, rgb(255, 255, 255) 100%), var(--uswds-white);
}

.social-follow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--pd-space-4);
}

.social-follow-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--pd-space-4);
  align-items: center;
  padding: var(--pd-space-4);
  text-decoration: none;
  color: inherit;
  border-radius: var(--pd-radius-md);
  border: 1px solid rgba(0, 119, 182, 0.12);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-follow-link:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 119, 182, 0.28);
  box-shadow: 0 12px 24px rgba(0, 95, 146, 0.1);
}

.social-follow-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--uswds-white);
  font-size: 1.15rem;
  background: var(--uswds-navy);
}

.social-follow-link--youtube .social-follow-icon {
  background: #f40b0b;
}

.social-follow-link--x .social-follow-icon {
  background: #111827;
}

.social-follow-link--instagram .social-follow-icon {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
}

.social-follow-link--facebook .social-follow-icon {
  background: #1877f2;
}

.social-follow-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.social-follow-label {
  font-weight: 700;
  color: var(--uswds-text-primary);
}

.social-follow-description {
  font-size: var(--pd-font-size-small);
  line-height: 1.5;
  color: var(--uswds-text-muted);
}

.social-follow-cta {
  font-size: var(--pd-font-size-small);
  font-weight: 700;
  color: var(--uswds-navy);
  white-space: nowrap;
}

/* Usage: プロフィール(Meet)セクション。template-parts/pattern-d/meet.php で利用。 */
/* ===================================================== */
/* Meet Takaya セクション                                 */
/* ===================================================== */
.meet-section {
  background: var(--uswds-white);
}

.meet-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: center;
}

.meet-image-wrapper {
  position: relative;
}

.meet-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.meet-content {
  padding: 1rem 0;
}

.meet-intro {
  font-size: clamp(1rem, 0.9608695652rem + 0.0108695652vw, 1.1rem);
  line-height: 1.8;
  color: var(--uswds-text-secondary);
  margin-bottom: 2rem;
}

.meet-meta {
  background: var(--uswds-bg-lighter);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--uswds-navy);
}

.meta-row {
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--uswds-border);
}

.meta-row:last-child {
  border-bottom: none;
}

.meta-label {
  width: 100px;
  font-weight: 600;
  color: var(--uswds-navy);
  flex-shrink: 0;
}

.meta-value {
  color: var(--uswds-text-primary);
}

/* Usage: 実績(Working)セクション。template-parts/pattern-d/working.php で利用。 */
/* ===================================================== */
/* Working for You セクション（メトリクス）               */
/* ===================================================== */
.working-section {
  background: var(--uswds-navy);
  color: var(--uswds-white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.metric-number {
  font-size: clamp(2.75rem, 2.4565217391rem + 0.0815217391vw, 3.5rem);
  font-weight: 900;
  color: var(--uswds-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.metric-unit {
  font-size: clamp(1.1rem, 1.0413043478rem + 0.0163043478vw, 1.25rem);
  color: var(--uswds-gold);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: clamp(0.95rem, 0.9304347826rem + 0.0054347826vw, 1rem);
  font-weight: 600;
  color: var(--uswds-white);
  margin-bottom: 0.5rem;
}

.metric-detail {
  font-size: clamp(0.78rem, 0.772173913rem + 0.002173913vw, 0.8rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Usage: クイックリンクセクション。template-parts/pattern-d/quicklinks.php で利用。 */
/* ===================================================== */
/* Quick Links セクション                                 */
/* ===================================================== */
.quicklinks-section {
  background: var(--uswds-bg-light);
}

.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pd-space-5);
}

.quicklink-card {
  background: var(--uswds-white);
  border-radius: var(--pd-radius-sm);
  padding: var(--pd-card-padding);
  text-decoration: none;
  border: 1px solid var(--uswds-border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quicklink-card:hover {
  border-color: var(--uswds-navy);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.quicklink-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  width: 48px;
  height: 48px;
  color: var(--uswds-navy);
  margin-bottom: var(--pd-space-4);
}

.quicklink-icon svg {
  width: 100%;
  height: 100%;
}

.quicklink-icon i {
  font-size: 2rem;
  line-height: 1;
}

.quicklink-title {
  font-size: var(--pd-font-size-title-sm);
  font-weight: 700;
  color: var(--uswds-text-primary);
  margin: 0 0 var(--pd-space-2) 0;
}

.quicklink-desc {
  font-size: var(--pd-font-size-small);
  color: var(--uswds-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Usage: ニュースセクション。template-parts/pattern-d/news*.php, archive-news.php, single-news.php で利用。 */
/* ===================================================== */
/* Latest News セクション                                 */
/* ===================================================== */
.news-section-uswds {
  background: var(--uswds-white);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--pd-space-4);
}

.news-item {
  display: flex;
  gap: var(--pd-space-5);
  padding: var(--pd-card-padding);
  background: var(--uswds-bg-lighter);
  border-radius: var(--pd-radius-sm);
  border: 1px solid var(--uswds-border);
  transition: border-color 0.2s ease;
}

.news-item:hover {
  border-color: var(--uswds-navy);
}

.news-date {
  flex-shrink: 0;
  width: 70px;
  height: 117px;
  text-align: center;
  background: var(--uswds-navy);
  color: var(--uswds-white);
  border-radius: var(--pd-radius-sm);
  padding: var(--pd-space-3) var(--pd-space-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}

.date-month {
  font-size: var(--pd-font-size-caption);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.date-day {
  font-size: var(--pd-font-size-title-md);
  font-weight: 900;
  line-height: 1.1;
}

.date-year {
  font-size: var(--pd-font-size-caption);
  opacity: 0.8;
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-thumbnail {
  display: block;
  position: relative;
  align-self: center;
  width: 156px;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--pd-radius-sm);
  flex-shrink: 0;
}

.news-thumbnail img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: inherit;
  object-fit: cover;
  border-radius: inherit;
}

.news-excerpt-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.news-thumbnail:focus-visible,
.news-excerpt-link:focus-visible {
  outline: 2px solid var(--uswds-navy);
  outline-offset: 2px;
}

.news-category {
  display: inline-block;
  font-size: var(--pd-font-size-caption);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--pd-space-1) var(--pd-space-3);
  border-radius: var(--pd-radius-sm);
  background: var(--uswds-bg-light);
  color: var(--uswds-text-muted);
  margin-bottom: var(--pd-space-2);
  font-weight: 600;
}

a.news-category {
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.news-category:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(27, 54, 93, 0.16);
}

a.news-category:focus-visible {
  outline: 2px solid var(--uswds-navy);
  outline-offset: 2px;
}

.news-category-nav {
  margin-bottom: var(--pd-space-5);
}

.news-category-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pd-space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-category-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.625rem var(--pd-space-4);
  border: 1px solid var(--uswds-border);
  border-radius: 999px;
  background: var(--uswds-white);
  color: var(--uswds-navy);
  font-size: var(--pd-font-size-small);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-category-nav__link:hover,
.news-category-nav__link:focus-visible {
  border-color: var(--uswds-navy);
  background: var(--uswds-bg-lighter);
}

.news-category-nav__link:focus-visible {
  outline: 2px solid var(--uswds-navy);
  outline-offset: 2px;
}

.news-category-nav__link.is-current {
  background: var(--uswds-navy);
  border-color: var(--uswds-navy);
  color: var(--uswds-white);
}

/* 属性セレクタ: WPの `news_category` タームslug（data-category）別に配色を適用。 */
.news-category[data-category=greeting] {
  background: #e3f2fd;
  color: #1565c0;
}

.news-category[data-category=notice] {
  background: #fff3e0;
  color: #e65100;
}

.news-category[data-category=activity] {
  background: #e8f5e9;
  color: #2e7d32;
}

.news-category[data-category=local] {
  background: #fce4ec;
  color: #c2185b;
}

.news-category[data-category=volunteer] {
  background: #f3e5f5;
  color: #7b1fa2;
}

.news-title {
  font-size: var(--pd-font-size-title-sm);
  margin: 0 0 var(--pd-space-2) 0;
  line-height: var(--pd-line-height-heading);
}

.news-title a {
  color: var(--uswds-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-title a:hover {
  color: var(--uswds-navy);
}

.news-excerpt {
  font-size: var(--pd-font-size-small);
  color: var(--uswds-text-muted);
  margin: 0;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Usage: 現場解決レポートセクション。template-parts/pattern-d/field-reports.php で利用。 */
.field-reports-section {
  background: var(--uswds-bg-light);
}

.field-reports-desc {
  margin: 0.25rem auto 0;
  max-width: 56rem;
  text-align: center;
  font-size: clamp(0.95rem, 0.9304347826rem + 0.0054347826vw, 1rem);
  line-height: 1.75;
  color: var(--uswds-text-muted);
}

.field-reports-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.field-report-card {
  display: flex;
  flex-direction: column;
  background: var(--uswds-white);
  border: 1px solid var(--uswds-border);
  border-top: 4px solid var(--uswds-navy);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.field-report-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.field-report-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 200px;
  background: var(--uswds-bg-lighter);
  position: relative;
  overflow: hidden;
}

.field-report-images > * {
  min-width: 0;
}

.field-report-images-single {
  grid-template-columns: 1fr;
}

.field-report-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.field-report-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.field-report-title {
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dotted var(--uswds-border);
  font-size: clamp(1.125rem, 1.0760869565rem + 0.0135869565vw, 1.25rem);
  line-height: 1.4;
  color: var(--uswds-navy-dark);
}

.field-report-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.field-report-steps li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  font-size: clamp(0.9rem, 0.8804347826rem + 0.0054347826vw, 0.95rem);
  color: var(--uswds-text-muted);
  line-height: 1.6;
}

.field-report-steps li::before {
  content: "↓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--uswds-accent-dark);
  font-weight: 700;
}

.field-report-steps li:last-child {
  margin-bottom: 0;
}

.field-report-steps li:last-child::before {
  content: "✓";
  color: #27ae60;
}

.field-report-step-label {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--uswds-bg-light);
  font-size: clamp(0.72rem, 0.7082608696rem + 0.0032608696vw, 0.75rem);
  font-weight: 700;
  color: var(--uswds-navy);
  vertical-align: middle;
}

.field-report-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(0, 119, 182, 0.2);
  border-radius: 999px;
  background: rgba(0, 119, 182, 0.06);
  color: var(--uswds-navy);
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.field-report-link:hover {
  background: rgba(0, 119, 182, 0.12);
  border-color: rgba(0, 119, 182, 0.35);
}

/* Usage: お問い合わせセクション。template-parts/pattern-d/contact.php で利用。 */
/* ===================================================== */
/* Contact セクション                                     */
/* ===================================================== */
.contact-section-uswds {
  background: var(--uswds-white);
}

.contact-section-uswds--page {
  background: transparent;
}

.contact-grid-uswds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-grid-uswds.contact-grid-uswds--single {
  grid-template-columns: minmax(0, 1fr);
}

.contact-info-uswds {
  padding: 2rem;
  background: var(--uswds-bg-lighter);
  border-radius: 8px;
  border-left: 4px solid var(--uswds-navy);
}

.contact-office-title {
  font-size: clamp(1.125rem, 1.0760869565rem + 0.0135869565vw, 1.25rem);
  font-weight: 700;
  color: var(--uswds-text-primary);
  margin: 0 0 1.5rem 0;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-size: clamp(0.68rem, 0.672173913rem + 0.002173913vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: var(--pd-letter-spacing-kicker);
  color: var(--uswds-text-muted);
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}

.contact-value {
  color: var(--uswds-text-primary);
  margin: 0;
  line-height: 1.5;
}

.contact-value a {
  color: var(--uswds-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value a:hover {
  color: var(--uswds-accent);
  text-decoration: underline;
}

.contact-cta-uswds {
  padding: 2rem;
  background: linear-gradient(135deg, var(--uswds-navy) 0%, var(--uswds-navy-light) 100%);
  border-radius: 8px;
  color: var(--uswds-white);
  box-shadow: 0 18px 36px rgba(0, 95, 146, 0.18);
}

.contact-cta-uswds--page {
  max-width: none;
  margin: 0 auto;
  padding: var(--pd-contact-cta-padding);
}

.contact-cta-title {
  font-size: clamp(1.35rem, 1.2913043478rem + 0.0163043478vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.contact-cta-text {
  font-size: clamp(0.95rem, 0.9304347826rem + 0.0054347826vw, 1rem);
  line-height: 1.7;
  margin: 0 0 2rem 0;
  opacity: 0.9;
}

.contact-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-cta-buttons .btn-uswds-primary {
  background: var(--uswds-white);
  color: var(--uswds-navy);
}

.contact-cta-buttons .btn-uswds-primary:hover {
  background: var(--uswds-gold);
}

.contact-cta-buttons .btn-uswds-outline {
  border-color: rgba(255, 255, 255, 0.5);
}

.contact-form-wrapper > :first-child {
  margin-top: 0;
}

.contact-form-wrapper > :last-child {
  margin-bottom: 0;
}

/* Admin-pasted form decoration may sit inside the theme's form panel. */
.contact-cta-uswds .contact-form-wrapper .contact-cta-uswds {
  padding: 0;
  margin: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.contact-form-wrapper .contact-form-wrapper {
  display: grid;
  gap: 0.875rem;
  min-width: 0;
}

.contact-form-wrapper .contact-form-wrapper > p {
  margin: 0;
}

.contact-form-wrapper .contact-form-wrapper > br,
.contact-form-wrapper .contact-form-wrapper > p:empty,
.contact-form-wrapper .contact-form-wrapper > p:has(> label) > br {
  display: none;
}

.contact-form-wrapper form,
.contact-form-wrapper .wpcf7-form,
.contact-form-wrapper .elementor-form {
  display: grid;
  gap: 0.875rem;
}

.contact-form-wrapper form > p,
.contact-form-wrapper .wpcf7-form > p,
.contact-form-wrapper .elementor-field-group,
.contact-form-wrapper .elementor-field-subgroup,
.contact-form-wrapper .wpcf7-response-output,
.contact-form-wrapper .wpcf7-not-valid-tip {
  margin: 0;
}

.contact-form-wrapper p > label,
.contact-form-wrapper .wpcf7-form label,
.contact-form-wrapper .elementor-field-group > label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-form-wrapper p > label br {
  display: none;
}

.contact-form-wrapper .wpcf7-form-control-wrap {
  display: block;
}

.contact-form-wrapper .elementor-form-fields-wrapper,
.contact-form-wrapper .elementor-field-group {
  display: grid;
  gap: 0.875rem;
}

.contact-form-wrapper .elementor-field-group > label {
  gap: 0.45rem;
}

.contact-form-wrapper input[type=text],
.contact-form-wrapper input[type=email],
.contact-form-wrapper input[type=tel],
.contact-form-wrapper input[type=url],
.contact-form-wrapper input[type=number],
.contact-form-wrapper textarea,
.contact-form-wrapper select,
.contact-form-wrapper .elementor-field,
.contact-form-wrapper .elementor-field-textual {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--uswds-text-primary);
  font-size: clamp(0.95rem, 0.9304347826rem + 0.0054347826vw, 1rem);
  box-sizing: border-box;
}

.contact-form-wrapper ::-ms-input-placeholder {
  color: var(--uswds-text-muted);
  opacity: 1;
}

.contact-form-wrapper ::placeholder {
  color: var(--uswds-text-muted);
  opacity: 1;
}

.contact-form-wrapper textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form-wrapper input[type=submit],
.contact-form-wrapper button[type=submit],
.contact-form-wrapper .wpcf7-submit,
.contact-form-wrapper .elementor-button[type=submit],
.contact-form-wrapper .elementor-button {
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--uswds-white);
  color: var(--uswds-navy);
  font-weight: 700;
  letter-spacing: var(--pd-letter-spacing-kicker);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-form-wrapper input[type=submit]:hover,
.contact-form-wrapper button[type=submit]:hover,
.contact-form-wrapper .wpcf7-submit:hover,
.contact-form-wrapper .elementor-button[type=submit]:hover,
.contact-form-wrapper .elementor-button:hover {
  background: var(--uswds-gold);
  transform: translateY(-1px);
}

/* ===================================================== */
/* Fixed page utility blocks                             */
/* ===================================================== */
.feature-page-content {
  display: grid;
  gap: var(--pd-space-5);
}

.feature-page-content--narrow {
  max-width: 860px;
  margin: 0 auto;
}

.feature-page-grid {
  display: grid;
  gap: var(--pd-space-5);
}

.feature-page-grid--supporter {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: start;
}

/* Keep the legacy form's privacy link readable on both page and CTA backgrounds. */
.pattern-d-main--supporter form a {
  color: var(--uswds-navy);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.pattern-d-main--supporter .contact-cta-uswds form a {
  color: var(--uswds-white);
}

.pattern-d-main--supporter form a:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 3px;
}

.feature-page-grid--office {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-page-card {
  padding: clamp(1.25rem, 2vw, 2rem);
  background: linear-gradient(180deg, #fbfdff 0%, #fff 100%);
  border: 1px solid var(--uswds-border);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.feature-page-card--cta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.feature-page-card__eyebrow {
  margin: 0 0 0.5rem;
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  letter-spacing: var(--pd-letter-spacing-kicker);
  color: var(--uswds-text-muted);
}

.feature-page-card__title {
  font-size: clamp(1.2rem, 1.102173913rem + 0.027173913vw, 1.45rem);
  margin: 0 0 0.875rem;
  color: var(--uswds-navy-dark);
  line-height: 1.35;
}

.feature-page-card__text,
.feature-page-card__meta {
  margin: 0 0 0.875rem;
  color: var(--uswds-text-primary);
  line-height: 1.8;
}

.feature-page-card__meta:last-child,
.feature-page-card__text:last-child {
  margin-bottom: 0;
}

.feature-page-card__meta a {
  color: var(--uswds-navy);
  text-decoration: none;
}

.feature-page-card__meta a:hover {
  text-decoration: underline;
}

.feature-page-map {
  margin-top: var(--pd-space-6);
}

.feature-page-map__title {
  font-size: clamp(1.2rem, 1.1413043478rem + 0.0163043478vw, 1.35rem);
  margin: 0 0 1rem;
  color: var(--uswds-navy-dark);
}

.feature-page-map__frame {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--uswds-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.feature-page-map__frame iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 900px) {
  .feature-page-grid--supporter,
  .feature-page-grid--office {
    grid-template-columns: minmax(0, 1fr);
  }
}
.contact-form-wrapper .elementor-field-type-submit {
  margin-top: var(--pd-space-2);
}

.contact-form-wrapper .wpcf7-spinner {
  margin: 0.25rem 0 0;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
  margin-top: 0.45rem;
  color: #b50909;
  font-size: clamp(0.85rem, 0.8402173913rem + 0.0027173913vw, 0.875rem);
  font-weight: 600;
}

.contact-form-wrapper .wpcf7-response-output {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid currentcolor;
  background: rgba(255, 255, 255, 0.98);
  color: var(--uswds-text-primary);
  font-size: clamp(0.9rem, 0.8804347826rem + 0.0054347826vw, 0.95rem);
  line-height: 1.6;
}

.contact-form-wrapper .wpcf7 form.sent .wpcf7-response-output {
  border-color: #287d3c;
  background: #eef9f0;
  color: #215d31;
}

.contact-form-wrapper .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-wrapper .wpcf7 form.failed .wpcf7-response-output,
.contact-form-wrapper .wpcf7 form.aborted .wpcf7-response-output,
.contact-form-wrapper .wpcf7 form.spam .wpcf7-response-output {
  border-color: #b50909;
  background: #fff2f2;
  color: #8f1313;
}

/* Usage: フッター直前の共通お問い合わせ。template-parts/pattern-d/pre-footer-consult.php で利用。 */
/* ===================================================== */
/* Pre-footer Consult                                    */
/* ===================================================== */
.prefooter-consult-uswds {
  background: linear-gradient(135deg, var(--uswds-navy-dark) 0%, #003a66 100%);
  color: var(--uswds-white);
}

.prefooter-consult-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.prefooter-consult-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.prefooter-consult-card {
  background: var(--uswds-white);
  color: var(--uswds-text-primary);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  padding: 2rem;
}

.prefooter-consult-card-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 1.2010869565rem + 0.0135869565vw, 1.375rem);
  line-height: 1.4;
  color: var(--uswds-navy);
}

.prefooter-consult-card-text {
  margin: 0;
  line-height: 1.7;
  color: var(--uswds-text-secondary);
}

.prefooter-consult-phone,
.prefooter-consult-email {
  margin: 1.25rem 0 0;
}

.prefooter-consult-phone a,
.prefooter-consult-email a {
  color: var(--uswds-navy);
  text-decoration: none;
  font-weight: 700;
}

.prefooter-consult-phone a {
  font-size: clamp(1.5rem, 1.3043478261rem + 0.0543478261vw, 2rem);
  line-height: 1.25;
}

.prefooter-consult-email a {
  font-size: clamp(1rem, 0.9804347826rem + 0.0054347826vw, 1.05rem);
  line-height: 1.4;
  word-break: break-word;
}

.prefooter-consult-phone a:hover,
.prefooter-consult-email a:hover {
  text-decoration: underline;
  color: var(--uswds-accent);
}

.prefooter-consult-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.prefooter-consult-actions .btn-uswds-outline {
  color: var(--uswds-navy);
  border-color: var(--uswds-navy);
}

.prefooter-consult-actions .btn-uswds-outline:hover {
  background: var(--uswds-navy);
  color: var(--uswds-white);
}

.prefooter-consult-actions .btn-uswds:focus-visible,
.prefooter-consult-phone a:focus-visible,
.prefooter-consult-email a:focus-visible {
  outline: 3px solid var(--uswds-gold);
  outline-offset: 2px;
}

/* Usage: /profile/ 本文（経歴）をグラフィカルなタイムラインと属性カードで表示。 */
.profile-page-content {
  max-width: 1160px;
  margin: 0 auto;
  color: var(--uswds-text-primary);
}

.profile-career-section {
  position: relative;
  padding: var(--pd-space-6) 0 var(--pd-space-2);
}

.profile-career-heading {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--pd-space-3);
  margin: 0 0 var(--pd-space-7);
  padding: var(--pd-card-padding-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: var(--pd-radius-xl);
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.08) 0%, rgba(255, 255, 255, 0.96) 52%, rgba(255, 107, 74, 0.08) 100%);
  box-shadow: 0 18px 42px rgba(0, 95, 146, 0.08);
}

.profile-career-heading::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)), linear-gradient(90deg, rgba(0, 119, 182, 0.08), rgba(0, 119, 182, 0));
}

.profile-career-section-eyebrow,
.profile-career-section-title,
.profile-career-section-intro {
  position: relative;
  z-index: 1;
}

.profile-career-section-eyebrow {
  margin: 0;
  color: var(--uswds-navy);
  font-size: var(--pd-font-size-caption);
  font-weight: 800;
  letter-spacing: var(--pd-letter-spacing-kicker-wide);
  line-height: 1.2;
}

.profile-career-section-title {
  margin: 0;
  max-width: 16ch;
  font-size: var(--pd-font-size-title-xl);
  color: var(--uswds-navy);
  line-height: 1.15;
  letter-spacing: var(--pd-letter-spacing-heading-tight);
  text-wrap: balance;
  text-align: center;
}

.profile-career-section-intro {
  margin: 0;
  max-width: 48rem;
  color: var(--uswds-text-secondary);
  font-size: var(--pd-font-size-body);
  line-height: var(--pd-line-height-body);
  text-align: center;
}

.profile-career-cards {
  display: grid;
  gap: var(--pd-space-6);
}

.profile-career-card {
  position: relative;
  overflow: hidden;
  background: var(--uswds-white);
  border: 1px solid rgba(0, 119, 182, 0.1);
  border-radius: 30px;
  padding: var(--pd-card-padding);
  box-shadow: 0 12px 28px rgba(0, 95, 146, 0.06), 0 1px 0 rgba(255, 255, 255, 0.42) inset;
}

.profile-career-card-frame {
  display: none;
}

.profile-career-card-intro {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.98), rgba(0, 95, 146, 0.92)), linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  border-color: rgba(0, 95, 146, 0.28);
  box-shadow: 0 18px 36px rgba(0, 95, 146, 0.14);
}

.profile-career-intro {
  position: relative;
  z-index: 1;
}

.profile-career-intro-eyebrow {
  margin: 0 0 var(--pd-space-4);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  letter-spacing: var(--pd-letter-spacing-kicker-wide);
  line-height: 1.2;
}

.profile-career-intro-text {
  margin: 0;
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.97);
  line-height: 1.85;
  font-size: var(--pd-font-size-body-lg);
}

.profile-career-intro-text + .profile-career-intro-text {
  margin-top: var(--pd-space-4);
}

.profile-career-card-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--pd-space-4);
  margin: 0 0 var(--pd-space-5);
  padding-bottom: var(--pd-space-4);
  border-bottom: 1px solid rgba(0, 119, 182, 0.12);
}

.profile-career-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255, 201, 71, 0.22), rgba(255, 107, 74, 0.22));
  border: 1px solid rgba(255, 107, 74, 0.16);
  color: var(--uswds-navy);
  font-size: var(--pd-font-size-body);
  font-weight: 800;
  line-height: 1;
}

.profile-career-card-title {
  margin: 0;
  font-size: var(--pd-font-size-title-sm);
  color: var(--uswds-navy);
  line-height: var(--pd-line-height-tight);
  letter-spacing: var(--pd-letter-spacing-heading-tightest);
}

.profile-career-card-image {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: calc(-1 * var(--pd-space-2)) auto var(--pd-space-5);
}

.profile-career-card-image__img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--uswds-bg-lighter);
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(0, 95, 146, 0.08);
}

.profile-career-card--timeline {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-visual-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0;
}

.profile-visual-timeline::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  bottom: 0.6rem;
  left: 50%;
  width: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.95), rgba(0, 95, 146, 0.88));
  box-shadow: 0 0 0 6px rgba(0, 119, 182, 0.05);
}

.profile-visual-timeline-item {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0 0 var(--pd-space-5);
}

.profile-visual-timeline-item:last-child {
  margin-bottom: 0;
}

.profile-visual-timeline-item::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 50%;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--uswds-white);
  border: 4px solid var(--uswds-accent);
  box-shadow: 0 0 0 6px rgba(255, 107, 74, 0.16), 0 0 18px rgba(255, 107, 74, 0.22);
  z-index: 2;
}

.profile-visual-timeline-item--left {
  justify-content: flex-start;
  padding-right: calc(50% + 2rem);
}

.profile-visual-timeline-item--right {
  justify-content: flex-end;
  padding-left: calc(50% + 2rem);
}

.profile-visual-timeline-panel {
  position: relative;
  width: 100%;
  padding: 1.125rem 1.25rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 240, 240, 0.82)), var(--uswds-white);
  border: 1px solid rgba(0, 119, 182, 0.12);
  box-shadow: 0 16px 34px rgba(0, 95, 146, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.profile-visual-timeline-panel::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  width: 18px;
  height: 18px;
  background: inherit;
  border-top: 1px solid rgba(0, 119, 182, 0.12);
  border-left: 1px solid rgba(0, 119, 182, 0.12);
  transform: rotate(45deg);
}

.profile-visual-timeline-item--left .profile-visual-timeline-panel::before {
  right: -10px;
  transform: rotate(135deg);
}

.profile-visual-timeline-item--right .profile-visual-timeline-panel::before {
  left: -10px;
  transform: rotate(-45deg);
}

.profile-visual-timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.14), rgba(255, 201, 71, 0.22));
  border: 1px solid rgba(0, 119, 182, 0.12);
  color: var(--uswds-navy-dark);
  font-weight: 700;
  font-size: clamp(0.76rem, 0.7443478261rem + 0.0043478261vw, 0.8rem);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.profile-visual-timeline-body {
  color: var(--uswds-text-primary);
  line-height: 1.82;
  font-size: clamp(0.95rem, 0.9382608696rem + 0.0032608696vw, 0.98rem);
}

.profile-visual-timeline-body p {
  margin: 0;
}

.profile-visual-timeline-body p + p {
  margin-top: 0.55rem;
}

.profile-career-card--attributes {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-attributes-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.profile-attribute-panel {
  padding: 1.2rem;
  border: 1px solid rgba(0, 119, 182, 0.1);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 240, 240, 0.78)), var(--uswds-white);
}

.profile-attribute-panel-heading {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.profile-attribute-panel-eyebrow {
  margin: 0;
  color: var(--uswds-text-muted);
  font-size: clamp(0.72rem, 0.712173913rem + 0.002173913vw, 0.74rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.profile-attribute-panel-title {
  margin: 0;
  color: var(--uswds-navy);
  font-size: clamp(1.1rem, 1.0804347826rem + 0.0054347826vw, 1.15rem);
  line-height: 1.3;
}

.profile-attribute-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.profile-attribute-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 119, 182, 0.08);
}

.profile-attribute-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.14), rgba(255, 201, 71, 0.28));
  color: var(--uswds-navy);
  font-size: 1rem;
}

.profile-attribute-content {
  display: grid;
  gap: 0.4rem;
}

.profile-attribute-tag {
  display: inline-flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 119, 182, 0.08);
  color: var(--uswds-navy-dark);
  font-size: clamp(0.7rem, 0.692173913rem + 0.002173913vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.profile-attribute-body {
  color: var(--uswds-text-primary);
  line-height: 1.72;
  font-size: clamp(0.92rem, 0.9043478261rem + 0.0043478261vw, 0.96rem);
}

.profile-attribute-body p {
  margin: 0;
}

/* Usage: /policy/ ハイブリッドカードレイアウト（導入＋概要グリッド＋詳細セクション）専用スタイル。 */
/* ===================================================== */
/* Layout wrapper                                        */
/* ===================================================== */
.policy-page-content {
  max-width: 1100px;
  margin: 0 auto;
  color: var(--uswds-text-primary);
}

/* ===================================================== */
/* Intro section                                         */
/* ===================================================== */
.policy-intro-section {
  margin-bottom: var(--pd-space-7);
  padding: var(--pd-card-padding);
  background: linear-gradient(180deg, #f7fbff 0%, #fff 62%);
  border: 1px solid var(--uswds-border);
  border-radius: var(--pd-radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.policy-intro-hero {
  margin-bottom: var(--pd-space-5);
}

.policy-intro-hero.has-portrait {
  display: flex;
  align-items: flex-start;
  gap: var(--pd-space-6);
}

.policy-intro-hero__text {
  flex: 1;
  min-width: 0;
}

.policy-intro-portrait {
  flex-shrink: 0;
  width: 180px;
}

.policy-intro-portrait__img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--pd-radius-sm) - 0.125rem);
  border: 1px solid var(--uswds-border);
}

.policy-intro-kicker {
  margin: 0 0 var(--pd-space-2);
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  letter-spacing: var(--pd-letter-spacing-kicker);
  color: var(--uswds-text-muted);
}

.policy-intro-title {
  margin: 0;
  font-size: var(--pd-font-size-title-lg);
  font-weight: 700;
  color: var(--uswds-navy-dark);
  line-height: var(--pd-line-height-tight);
}

.policy-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--pd-space-5);
}

.policy-intro-lead {
  margin: 0 0 var(--pd-space-3);
  line-height: var(--pd-line-height-body);
  color: var(--uswds-text-primary);
}

.policy-intro-lead.is-primary {
  font-size: var(--pd-font-size-lead);
  font-weight: 600;
  line-height: var(--pd-line-height-body);
}

.policy-intro-highlights {
  display: grid;
  gap: var(--pd-space-3);
}

.policy-intro-highlight {
  padding: var(--pd-space-4);
  background: #fff;
  border: 1px solid var(--uswds-border);
  border-radius: calc(var(--pd-radius-sm) - 0.125rem);
}

.policy-intro-highlight__label {
  margin: 0 0 var(--pd-space-1);
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  letter-spacing: var(--pd-letter-spacing-kicker);
  color: var(--uswds-navy);
  opacity: 0.68;
}

.policy-intro-highlight__text {
  margin: 0;
  font-size: var(--pd-font-size-small);
  line-height: 1.6;
  color: var(--uswds-text-primary);
}

.policy-overview-card__visual {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3/2;
  background-color: var(--uswds-bg-lighter);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44px 44px;
  margin-bottom: 0;
}

.policy-overview-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.18s ease;
}

.policy-overview-card:hover .policy-overview-card__image,
.policy-overview-card:focus-visible .policy-overview-card__image {
  transform: scale(1.03);
}

/* SVG icon set: 8 patterns cycled via nth-child */
/* 01 Map / urban development */
.policy-overview-grid > .policy-overview-card:nth-child(8n+1) .policy-overview-card__visual {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2z'/%3E%3Cline x1='9' y1='4' x2='9' y2='20'/%3E%3Cline x1='15' y1='6' x2='15' y2='22'/%3E%3C/svg%3E");
}

/* 02 Graduation cap / childcare and education */
.policy-overview-grid > .policy-overview-card:nth-child(8n+2) .policy-overview-card__visual {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5z'/%3E%3Cpath d='M6 11v4c0 1.8 2.7 3.3 6 3.3s6-1.5 6-3.3v-4'/%3E%3Cpath d='M22 9v5'/%3E%3C/svg%3E");
}

/* 03 Medical cross / welfare and healthcare */
.policy-overview-grid > .policy-overview-card:nth-child(8n+3) .policy-overview-card__visual {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cline x1='12' y1='8' x2='12' y2='16'/%3E%3Cline x1='8' y1='12' x2='16' y2='12'/%3E%3C/svg%3E");
}

/* 04 Shield / disaster prevention */
.policy-overview-grid > .policy-overview-card:nth-child(8n+4) .policy-overview-card__visual {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

/* 05 Star / branding */
.policy-overview-grid > .policy-overview-card:nth-child(8n+5) .policy-overview-card__visual {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.7 5.4 5.9.9-4.3 4.2 1 5.9-5.3-2.8-5.3 2.8 1-5.9-4.3-4.2 5.9-.9z'/%3E%3C/svg%3E");
}

/* 06 Columns / historic buildings */
.policy-overview-grid > .policy-overview-card:nth-child(8n+6) .policy-overview-card__visual {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M4 8h16'/%3E%3Cpath d='M6 8V5h12v3'/%3E%3Cpath d='M7 21V8'/%3E%3Cpath d='M12 21V8'/%3E%3Cpath d='M17 21V8'/%3E%3C/svg%3E");
}

/* 07 Users / community */
.policy-overview-grid > .policy-overview-card:nth-child(8n+7) .policy-overview-card__visual {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='2.5'/%3E%3Ccircle cx='15' cy='8' r='2.5'/%3E%3Cpath d='M4 19a5 5 0 0 1 5-4h6a5 5 0 0 1 5 4'/%3E%3C/svg%3E");
}

/* 08 Lightbulb / digital */
.policy-overview-grid > .policy-overview-card:nth-child(8n) .policy-overview-card__visual {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='9' y1='18' x2='15' y2='18'/%3E%3Cline x1='10' y1='22' x2='14' y2='22'/%3E%3Cpath d='M15.09 14c.18-.98.65-1.74 1.41-2.5A4.65 4.65 0 0 0 18 8 6 6 0 0 0 6 8c0 1 .23 2.23 1.5 3.5A4.61 4.61 0 0 1 8.91 14'/%3E%3C/svg%3E");
}

/* ===================================================== */
/* Overview section spacing                              */
/* ===================================================== */
.policy-overview-section {
  margin-bottom: var(--pd-space-8);
}

/* ===================================================== */
/* Overview grid (summary cards)                         */
/* ===================================================== */
.policy-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pd-space-6);
}

.policy-overview-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--uswds-white) 0%, #fbfdff 100%);
  border: 1px solid var(--uswds-border);
  border-radius: var(--pd-radius-sm);
  text-decoration: none;
  color: var(--uswds-text-primary);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 95, 146, 0.08);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}

.policy-overview-card:hover,
.policy-overview-card:focus-visible {
  border-color: var(--uswds-navy);
  box-shadow: 0 14px 30px rgba(0, 119, 182, 0.14);
  transform: translateY(-2px);
  outline: 2px solid var(--uswds-navy);
  outline-offset: 2px;
}

.policy-overview-card__index {
  display: block;
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  letter-spacing: var(--pd-letter-spacing-kicker);
  color: var(--uswds-navy);
  opacity: 0.55;
  padding: var(--pd-space-5) var(--pd-space-5) 0.25rem;
}

.policy-overview-card__title {
  margin: 0 0 var(--pd-space-2);
  font-size: var(--pd-font-size-title-sm);
  font-weight: 700;
  color: var(--uswds-navy);
  line-height: var(--pd-line-height-heading);
  padding: 0 var(--pd-space-5);
}

.policy-overview-card__label {
  display: block;
  padding: 0 var(--pd-space-5);
  margin-bottom: 0.5rem;
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  letter-spacing: var(--pd-letter-spacing-kicker);
  color: var(--uswds-text-muted);
}

.policy-overview-card__tagline {
  margin: 0 0 var(--pd-space-3);
  padding: 0 var(--pd-space-5);
  font-size: var(--pd-font-size-small);
  font-weight: 600;
  line-height: 1.6;
  color: var(--uswds-navy-dark);
}

.policy-overview-card__summary {
  margin: 0 0 var(--pd-space-4);
  padding: 0 var(--pd-space-5);
  font-size: var(--pd-font-size-small);
  line-height: 1.8;
  color: var(--uswds-text-primary);
}

.policy-overview-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding: 0 var(--pd-space-5) var(--pd-space-5);
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  color: var(--uswds-navy);
}

/* Policy child pages                                    */
/* ===================================================== */
.policy-detail-page {
  max-width: 920px;
  margin: 0 auto;
  color: var(--uswds-text-primary);
}

.policy-detail-page__header {
  display: grid;
  gap: var(--pd-space-5);
  text-align: left;
}

.policy-detail-page__backline {
  margin: 0;
  text-align: left;
}

.policy-detail-page__backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  color: var(--uswds-navy);
  text-decoration: none;
}

.policy-detail-page__backlink:hover,
.policy-detail-page__backlink:focus-visible {
  text-decoration: underline;
  outline: 2px solid var(--uswds-navy);
  outline-offset: 2px;
}

.policy-detail-page__header-grid {
  display: grid;
  gap: var(--pd-space-5);
  align-items: start;
}

.policy-detail-page__header-grid.has-image {
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 0.88fr);
}

.policy-detail-page__header-copy {
  display: grid;
  gap: var(--pd-space-4);
  justify-items: start;
  align-self: start;
}

.policy-detail-page__header-copy .section-title-uswds {
  display: grid;
  gap: var(--pd-space-3);
  justify-items: start;
  margin: 0;
  text-align: left;
}

.policy-detail-page__header-copy .section-label {
  margin: 0;
  text-align: left;
}

.policy-detail-page__header-copy .section-title-main {
  max-width: 16ch;
  margin: 0;
  text-align: left;
}

.policy-detail-page__tagline {
  max-width: 40rem;
  margin: 0;
  font-size: var(--pd-font-size-lead);
  line-height: 1.7;
  color: var(--uswds-text-primary);
}

.policy-detail-page__image {
  align-self: start;
  overflow: hidden;
  margin: 0;
  background: var(--uswds-white);
  border: 1px solid rgba(0, 119, 182, 0.14);
  border-radius: var(--pd-radius-sm);
  box-shadow: 0 18px 36px rgba(0, 95, 146, 0.12);
}

.policy-detail-page__image-img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
  background: var(--uswds-bg-lighter);
}

.policy-detail-page__content {
  padding: clamp(1.25rem, 2vw, 2rem);
  background: linear-gradient(180deg, #fbfdff 0%, #fff 100%);
  border: 1px solid var(--uswds-border);
  border-radius: var(--pd-radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.policy-detail-page__content > :first-child {
  margin-top: 0;
}

.policy-detail-page__content > :last-child {
  margin-bottom: 0;
}

.policy-detail-page__content h2,
.policy-detail-page__content h3,
.policy-detail-page__content h4 {
  color: var(--uswds-navy-dark);
  line-height: var(--pd-line-height-heading);
}

.policy-detail-page__content h2 {
  margin: var(--pd-space-7) 0 var(--pd-space-4);
  padding-top: var(--pd-space-5);
  border-top: 1px solid var(--uswds-border);
  font-size: var(--pd-font-size-title-md);
}

.policy-detail-page__content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.policy-detail-page__content h3 {
  margin: var(--pd-space-5) 0 var(--pd-space-2);
  font-size: var(--pd-font-size-title-sm);
}

.policy-detail-page__content h4 {
  margin: var(--pd-space-4) 0 var(--pd-space-2);
  font-size: var(--pd-font-size-body);
}

.policy-detail-page__content p {
  margin: 0 0 var(--pd-space-4);
  line-height: 1.9;
}

.policy-detail-page__content ul,
.policy-detail-page__content ol {
  margin: 0 0 var(--pd-space-4);
  padding-left: 1.4rem;
}

.policy-detail-page__content li {
  line-height: 1.8;
}

.policy-detail-page__content li + li {
  margin-top: 0.4rem;
}

.policy-detail-page__footer {
  display: grid;
  gap: var(--pd-space-5);
  margin-top: var(--pd-space-6);
}

.policy-detail-page__backline--footer {
  justify-self: start;
}

.policy-related-nav {
  padding-top: var(--pd-space-5);
  border-top: 1px solid var(--uswds-border);
}

.policy-related-nav__header {
  display: grid;
  gap: var(--pd-space-2);
  margin-bottom: var(--pd-space-4);
}

.policy-related-nav__title {
  margin: 0;
  font-size: var(--pd-font-size-title-sm);
  line-height: var(--pd-line-height-heading);
  color: var(--uswds-navy-dark);
}

.policy-related-nav__lead {
  max-width: 42rem;
  margin: 0;
  font-size: var(--pd-font-size-small);
  line-height: 1.7;
  color: var(--uswds-text-muted);
}

.policy-related-nav__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pd-space-4);
  padding: 0;
  margin: 0;
  list-style: none;
}

.policy-related-nav__item {
  min-width: 0;
}

.policy-related-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  color: var(--uswds-text-primary);
  text-decoration: none;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid var(--uswds-border);
  border-radius: calc(var(--pd-radius-sm) - 0.25rem);
  box-shadow: 0 8px 20px rgba(0, 95, 146, 0.08);
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s, transform 0.15s;
}

.policy-related-card:hover,
.policy-related-card:focus-visible {
  color: var(--uswds-text-primary);
  background: #f7fbff;
  border-color: rgba(0, 119, 182, 0.32);
  box-shadow: 0 12px 26px rgba(0, 119, 182, 0.14);
  transform: translateY(-2px);
  outline: 2px solid var(--uswds-navy);
  outline-offset: 2px;
}

.policy-related-card__visual {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--uswds-bg-lighter);
}

.policy-related-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.18s ease;
}

.policy-related-card:hover .policy-related-card__image,
.policy-related-card:focus-visible .policy-related-card__image {
  transform: scale(1.03);
}

.policy-related-card__body {
  display: grid;
  gap: var(--pd-space-2);
  padding: var(--pd-space-4);
}

.policy-related-card__label {
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  letter-spacing: var(--pd-letter-spacing-kicker);
  color: var(--uswds-text-muted);
}

.policy-related-card__title {
  font-size: var(--pd-font-size-body);
  font-weight: 700;
  line-height: var(--pd-line-height-heading);
  color: var(--uswds-navy);
}

.policy-related-card__tagline {
  font-size: var(--pd-font-size-small);
  font-weight: 600;
  line-height: 1.6;
  color: var(--uswds-navy-dark);
}

.policy-related-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--pd-space-1);
  font-size: var(--pd-font-size-caption);
  font-weight: 700;
  color: var(--uswds-navy);
}

@media (max-width: 960px) {
  .policy-overview-grid {
    gap: var(--pd-space-5);
  }
  .policy-overview-card__index {
    padding: 1.125rem var(--pd-space-4) 0.25rem;
  }
  .policy-overview-card__title,
  .policy-overview-card__label,
  .policy-overview-card__tagline,
  .policy-overview-card__summary {
    padding-right: var(--pd-space-4);
    padding-left: var(--pd-space-4);
  }
  .policy-overview-card__title {
    font-size: var(--pd-font-size-body);
  }
  .policy-overview-card__summary {
    line-height: 1.7;
  }
  .policy-overview-card__cta {
    padding-right: var(--pd-space-4);
    padding-bottom: var(--pd-space-4);
    padding-left: var(--pd-space-4);
  }
  .policy-detail-page__header-grid.has-image {
    grid-template-columns: 1fr;
  }
  .policy-detail-page__image {
    width: 100%;
    max-width: 42rem;
  }
  .policy-related-nav__list {
    grid-template-columns: 1fr;
  }
  .policy-related-card {
    display: grid;
    grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1fr);
  }
  .policy-related-card__visual {
    min-height: 100%;
    aspect-ratio: auto;
  }
  .policy-related-card__body {
    align-self: center;
  }
}
@media (max-width: 767px) {
  .policy-detail-page__header {
    gap: var(--pd-space-4);
  }
  .policy-detail-page__header-grid {
    gap: var(--pd-space-4);
  }
  .policy-detail-page__tagline {
    font-size: var(--pd-font-size-body);
  }
  .policy-detail-page__content {
    padding: 1.125rem;
  }
  .policy-related-card {
    grid-template-columns: 1fr;
  }
  .policy-related-card__visual {
    aspect-ratio: 16/9;
  }
  .policy-related-card__body {
    padding: var(--pd-space-4);
  }
}
/* Usage: Pattern Dフッター。footer-pattern-d.php で利用。 */
/* ===================================================== */
/* フッター（USWDS風）                                    */
/* ===================================================== */
.pd-footer {
  background: #092f63;
  color: var(--uswds-white);
}

.pd-footer-primary {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.pd-footer-title {
  font-size: clamp(1.35rem, 1.2913043478rem + 0.0163043478vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  word-break: auto-phrase;
}

.pd-footer-subtitle {
  font-size: clamp(1.05rem, 0.9326086957rem + 0.0326086957vw, 1.35rem);
  line-height: 1.4;
  margin: 0;
  opacity: 0.9;
}

.pd-footer-description {
  font-size: clamp(0.85rem, 0.8304347826rem + 0.0054347826vw, 0.9rem);
  line-height: 1.7;
  opacity: 0.8;
  margin: 0 0 1.5rem 0;
}

.pd-footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pd-footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--uswds-white);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pd-footer-social-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.pd-footer-social-link i {
  font-size: 1.2rem;
  line-height: 1;
}

.pd-footer-heading {
  font-size: clamp(0.8rem, 0.7804347826rem + 0.0054347826vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.25rem 0;
  font-weight: 600;
  color: var(--uswds-gold);
}

.pd-footer-column {
  display: flex;
  flex-direction: column;
}

.pd-footer-column--brand {
  gap: 0.75rem;
}

.pd-footer-logo-pill {
  display: inline-flex;
  margin: 0 0 var(--pd-space-2) 0;
  align-items: center;
  align-self: flex-start;
}

.pd-brand-logo--footer {
  height: 40px;
  margin: 0;
}

@media (max-width: 900px) {
  .pd-footer-column--brand .pd-footer-logo-pill {
    align-self: center;
  }
}
.pd-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pd-footer-links li {
  margin-bottom: 0.75rem;
  font-size: clamp(0.85rem, 0.8304347826rem + 0.0054347826vw, 0.9rem);
  opacity: 0.8;
}

.pd-footer-link {
  color: var(--uswds-white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.pd-footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.pd-footer-address {
  font-style: normal;
  font-size: clamp(0.85rem, 0.8304347826rem + 0.0054347826vw, 0.9rem);
  line-height: 1.7;
  opacity: 0.8;
}

.pd-footer-address a {
  color: var(--uswds-white);
  text-decoration: none;
}

.pd-footer-address a:hover {
  text-decoration: underline;
}

.pd-footer-secondary {
  padding: 1.5rem 0;
  text-align: center;
  font-size: clamp(0.8rem, 0.7804347826rem + 0.0054347826vw, 0.85rem);
  opacity: 0.7;
}

/* Usage: モバイル固定CTAバー。template-parts/pattern-d/sticky-cta.php と src/js/pattern-d.js で利用。 */
/* ===================================================== */
/* Sticky CTA Bar（モバイル）                             */
/* ===================================================== */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--uswds-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1rem;
}

.sticky-cta-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.85rem, 0.8304347826rem + 0.0054347826vw, 0.9rem);
}

.sticky-cta-phone {
  background: var(--uswds-navy);
  color: var(--uswds-white);
}

.sticky-cta-email {
  background: var(--uswds-accent);
  color: var(--uswds-white);
}

/* Usage: スクロールアニメーション。src/js/pattern-d.js の `.fade-in-*` 監視に連動。 */
/* ===================================================== */
/* アニメーション                                         */
/* ===================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* SP: 横方向アニメーションを縦方向に切り替えて横スクロールを防ぐ */
@media (max-width: 768px) {
  .fade-in-left,
  .fade-in-right {
    transform: translateY(20px);
    animation-name: fadeInUp;
  }
}
/* Animation delays */
[data-delay="0"] {
  animation-delay: 0s;
}

[data-delay="100"] {
  animation-delay: 0.1s;
}

[data-delay="200"] {
  animation-delay: 0.2s;
}

[data-delay="300"] {
  animation-delay: 0.3s;
}

[data-delay="400"] {
  animation-delay: 0.4s;
}

[data-delay="500"] {
  animation-delay: 0.5s;
}

/* Usage: タブレット向け調整。header/nav/gridの中間ブレークポイントを補正。 */
/* ===================================================== */
/* レスポンシブ: タブレット                               */
/* ===================================================== */
@media (max-width: 1024px) {
  :root {
    --site-header-height: 80px;
  }
  .pd-header-topbar {
    display: none;
  }
  .pattern-d-page-header__inner {
    border-radius: 20px;
  }
  .meet-grid {
    grid-template-columns: 280px 1fr;
    gap: 2rem;
  }
  .profile-career-cards {
    grid-template-columns: 1fr;
  }
  .profile-visual-timeline-item--left,
  .profile-visual-timeline-item--right {
    padding-right: 0;
    padding-left: calc(50% + 1.6rem);
    justify-content: flex-end;
  }
  .profile-visual-timeline-item--left .profile-visual-timeline-panel::before,
  .profile-visual-timeline-item--right .profile-visual-timeline-panel::before {
    left: -10px;
    right: auto;
    transform: rotate(-45deg);
  }
  .profile-attributes-grid {
    grid-template-columns: 1fr;
  }
  .policy-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .policy-intro-layout {
    grid-template-columns: 1fr;
  }
  .policy-intro-hero.has-portrait {
    gap: 1.25rem;
  }
  .policy-intro-portrait {
    width: 140px;
  }
  .policy-intro-portrait__img {
    height: 170px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-social-grid,
  .youtube-feature-card {
    grid-template-columns: 1fr;
  }
  .quicklinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .field-reports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .prefooter-consult-grid {
    gap: 1.25rem;
  }
  .prefooter-consult-card {
    padding: 1.5rem;
  }
  .pd-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .pattern-d-main .news-section-uswds--archive .section-header-uswds {
    align-items: flex-start;
  }
}
/* Usage: モバイル向け調整。メニュー開閉、各セクション1カラム化を制御。 */
/* ===================================================== */
/* レスポンシブ: モバイル                                 */
/* ===================================================== */
@media (max-width: 768px) {
  .pd-header {
    z-index: 1300;
  }
  :root {
    --header-scale: 0.75;
    --hero-scale: 0.6;
    --profile-timeline-mobile-axis: 0.7rem;
    --pd-font-size-small: 0.9375rem;
    --pd-container-padding: 1rem;
    --pd-section-padding: 3rem;
    --pd-card-padding: 1.25rem;
    --pd-card-padding-lg: 1.5rem 1.25rem;
    --pd-space-5: 1.25rem;
    --pd-space-6: 1.5rem;
    --pd-space-7: 2rem;
    --pd-space-8: 2.5rem;
    --pd-radius-lg: 1rem;
    --pd-radius-xl: 1.25rem;
  }
  .pd-header-container {
    padding: 0 var(--pd-container-padding);
  }
  .pd-header-main .pd-header-container {
    flex-wrap: nowrap;
  }
  .pd-header-home-link {
    gap: 0.6rem;
  }
  .pd-brand-logo--header {
    height: 32px;
  }
  .pd-header-name {
    white-space: normal;
  }
  .pd-header-menu-toggle {
    display: flex;
    position: relative;
    z-index: 1310;
  }
  .pd-header-overlay {
    position: fixed;
    top: var(--site-header-height, 84px);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 44, 92, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 1280;
  }
  .pd-header-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .pd-header-nav {
    position: fixed;
    top: var(--site-header-height, 84px);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100dvh - var(--site-header-height, 84px));
    padding: 1.1rem 1rem 1.5rem;
    background: radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 40%), linear-gradient(165deg, rgba(8, 61, 126, 0.97), rgba(7, 40, 92, 0.97));
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
    z-index: 1290;
  }
  .pd-header-nav.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .pd-header-nav-title {
    display: block;
    margin: 0 auto 0.85rem;
    width: min(100%, 30rem);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .pd-header-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    margin: 0 auto;
    width: min(100%, 30rem);
  }
  .pd-header-nav-link {
    display: block;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
  }
  .pd-drawer-social {
    display: block;
    width: min(100%, 30rem);
    margin: 1rem auto 0;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .pd-drawer-social-title {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .pd-drawer-social-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.7rem;
  }
  .pd-drawer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.09);
  }
  .pd-drawer-social-link i {
    font-size: 1.05rem;
  }
  .pd-drawer-social-text {
    font-size: 0.9rem;
    font-weight: 600;
  }
  body.pd-mobile-menu-open {
    overflow: hidden;
  }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .pd-header-overlay,
  .pd-header-nav {
    transition: none;
  }
}
@media (max-width: 768px) {
  .pattern-d-main {
    padding-top: var(--pd-space-4);
  }
  .pattern-d-page-header {
    padding-bottom: var(--pd-space-6);
  }
  .pattern-d-page-header__inner {
    padding: var(--pd-card-padding-lg);
    border-radius: var(--pd-radius-lg);
  }
  .pattern-d-page-content {
    padding-bottom: var(--pd-section-padding);
  }
  .pattern-d-page-content--contact-intro {
    padding-bottom: var(--pd-space-6);
  }
  .pattern-d-prose,
  .pd-empty,
  .pd-single {
    padding: var(--pd-card-padding);
    border-radius: var(--pd-radius-lg);
  }
  .pattern-d-main .news-section-uswds--archive .section-header-uswds {
    padding: var(--pd-card-padding);
    border-radius: var(--pd-radius-lg);
    gap: var(--pd-space-5);
  }
  .pattern-d-main .news-section-uswds--archive .view-all-link {
    width: 100%;
  }
  .news-category-nav__list {
    gap: 0.5rem;
  }
  .news-category-nav__link {
    width: 100%;
  }
  .hero-section-uswds {
    min-height: 50vh;
  }
  .hero-content {
    width: min(56vw, 13.5rem);
    margin-right: auto;
    margin-left: 1rem;
    margin-top: calc(var(--site-header-height, 72px) + 1.75rem);
    padding: 1rem 0 0;
  }
  .hero-tagline {
    font-size: 0.78rem;
  }
  .hero-subtitle {
    font-size: 1.35rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-uswds {
    width: 100%;
    max-width: 280px;
  }
  .section-padding-uswds {
    padding: var(--pd-section-padding) 0;
  }
  .meet-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .meet-image-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }
  .meet-meta {
    text-align: left;
  }
  .profile-career-section-title {
    max-width: none;
    font-size: var(--pd-font-size-title-lg);
  }
  .profile-career-heading {
    padding: var(--pd-card-padding);
    gap: var(--pd-space-3);
    border-radius: 22px;
  }
  .profile-career-heading::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)), linear-gradient(180deg, rgba(0, 119, 182, 0.08), rgba(0, 119, 182, 0));
  }
  .profile-career-heading::after {
    width: 48px;
    height: 48px;
    top: 0.75rem;
    right: 0.75rem;
    opacity: 0.42;
  }
  .profile-career-section-intro {
    line-height: 1.7;
  }
  .profile-career-card {
    padding: var(--pd-card-padding);
    border-radius: 22px;
  }
  .profile-career-card-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--pd-space-3);
    align-items: center;
    padding-bottom: 0.85rem;
  }
  .profile-career-card-index {
    min-width: 2.65rem;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.85rem;
    font-size: 0.88rem;
  }
  .profile-career-intro-eyebrow {
    margin-bottom: 0.85rem;
  }
  .profile-visual-timeline::before {
    left: var(--profile-timeline-mobile-axis);
    transform: translateX(-50%);
  }
  .profile-visual-timeline-item::before {
    left: var(--profile-timeline-mobile-axis);
    transform: translateX(-50%);
  }
  .profile-visual-timeline-item--left,
  .profile-visual-timeline-item--right {
    padding-left: 2.1rem;
    padding-right: 0;
    justify-content: flex-end;
  }
  .profile-visual-timeline-panel {
    padding: 1rem;
    border-radius: 18px;
  }
  .profile-visual-timeline-item--left .profile-visual-timeline-panel::before,
  .profile-visual-timeline-item--right .profile-visual-timeline-panel::before {
    left: -9px;
    right: auto;
    transform: rotate(-45deg);
  }
  .profile-visual-timeline-body {
    line-height: 1.72;
  }
  .profile-attributes-grid {
    grid-template-columns: 1fr;
  }
  .profile-attribute-panel {
    padding: 1rem;
    border-radius: 18px;
  }
  .profile-attribute-item {
    padding: 0.85rem;
    border-radius: 16px;
  }
  .policy-intro-section {
    padding: var(--pd-card-padding);
  }
  .policy-intro-hero.has-portrait {
    flex-direction: column;
    gap: 1rem;
  }
  .policy-intro-portrait {
    width: 100%;
  }
  .policy-intro-portrait__img {
    height: 180px;
  }
  .policy-intro-layout {
    gap: var(--pd-space-4);
  }
  .policy-overview-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .policy-intro-lead {
    font-size: var(--pd-font-size-body);
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--pd-space-4);
  }
  .social-follow-card,
  .youtube-feature-body {
    padding: var(--pd-card-padding);
  }
  .social-follow-link {
    grid-template-columns: auto 1fr;
  }
  .social-follow-cta {
    grid-column: 2;
  }
  .metric-card {
    padding: var(--pd-space-5) var(--pd-space-4);
  }
  .metric-number {
    font-size: 2.5rem;
  }
  .quicklinks-grid {
    grid-template-columns: 1fr;
  }
  .quicklink-card {
    flex-direction: row;
    align-items: center;
    gap: var(--pd-space-4);
    padding: var(--pd-card-padding);
  }
  .quicklink-icon {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
  }
  .news-item {
    flex-direction: column;
    gap: var(--pd-space-4);
  }
  .news-thumbnail {
    align-self: stretch;
    width: 100%;
    max-width: none;
    aspect-ratio: 16/10;
  }
  .field-reports-grid {
    grid-template-columns: 1fr;
  }
  .field-report-images {
    height: 180px;
  }
  .news-date {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem var(--pd-space-4);
  }
  .date-month,
  .date-year {
    font-size: 1.0625rem;
    line-height: 1;
  }
  .date-day {
    position: relative;
    top: -0.125em;
    font-size: 1.875rem;
    line-height: 1;
  }
  .news-category {
    font-size: 0.9375rem;
  }
  .news-title {
    font-size: 1.625rem;
    line-height: 1.45;
    margin-bottom: 0.875rem;
  }
  .news-excerpt {
    font-size: 1.125rem;
    line-height: 1.8;
  }
  .contact-grid-uswds {
    grid-template-columns: 1fr;
  }
  .contact-cta-buttons {
    flex-direction: column;
  }
  .contact-cta-uswds {
    padding: var(--pd-space-5);
  }
  .prefooter-consult-grid {
    grid-template-columns: 1fr;
  }
  .prefooter-consult-actions {
    flex-direction: column;
  }
  .prefooter-consult-actions .btn-uswds {
    width: 100%;
    max-width: none;
  }
  .pd-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--pd-space-6);
  }
  .pd-footer-column--brand {
    text-align: center;
  }
  .pd-footer-social {
    justify-content: center;
  }
  .pd-single-wrap {
    max-width: none;
  }
  .pd-single-header {
    grid-template-columns: 1fr;
    gap: var(--pd-space-3);
    padding-bottom: var(--pd-space-4);
  }
  .pd-single-title {
    margin-top: var(--pd-space-2);
  }
  .sticky-cta-bar {
    display: flex;
    gap: var(--pd-space-3);
  }
}
@media (max-width: 768px) {
  /* Body padding for sticky bar */
  .pattern-d {
    padding-bottom: 70px;
  }
}
/* Usage: 小型モバイル向け微調整。 */
/* ===================================================== */
/* レスポンシブ: 小型モバイル                             */
/* ===================================================== */
@media (max-width: 480px) {
  .container-uswds {
    padding: 0 var(--pd-container-padding);
  }
  .hero-tagline {
    font-size: 0.76rem;
  }
  .hero-subtitle {
    font-size: 1.3rem;
  }
  .metric-card {
    padding: 1rem;
  }
  .metric-number {
    font-size: 2rem;
  }
  .metric-unit {
    font-size: 1rem;
  }
  .section-title-main {
    font-size: var(--pd-font-size-title-md);
  }
  .pattern-d-page-header__inner {
    padding: var(--pd-card-padding);
  }
  .profile-career-card {
    padding: var(--pd-card-padding);
  }
  .profile-visual-timeline-item--left,
  .profile-visual-timeline-item--right {
    padding-left: 1.7rem;
  }
  .policy-intro-section {
    padding: var(--pd-card-padding);
  }
  .policy-intro-portrait__img {
    height: 140px;
  }
  .policy-intro-highlight {
    padding: var(--pd-space-3) 0.8rem;
  }
}
/* Usage: Pattern D の class 付きリンクに visited の見た目差分を出さない。 */
.pattern-d a[class] {
  --pattern-d-visited-color: inherit;
  --pattern-d-visited-background-color: transparent;
  --pattern-d-visited-border-color: transparent;
  --pattern-d-visited-text-decoration-color: currentcolor;
}

.pattern-d .skip-link {
  --pattern-d-visited-color: var(--uswds-white);
}

.pattern-d .pd-header-social-link {
  --pattern-d-visited-color: rgba(255, 255, 255, 0.92);
  --pattern-d-visited-background-color: rgba(255, 255, 255, 0.08);
  --pattern-d-visited-border-color: rgba(255, 255, 255, 0.12);
}

.pattern-d .pd-header-nav-link {
  --pattern-d-visited-color: rgba(255, 255, 255, 0.9);
}

.pattern-d .pd-header-nav-link-cta {
  --pattern-d-visited-color: var(--uswds-white);
  --pattern-d-visited-background-color: var(--uswds-accent);
}

.pattern-d .btn-uswds-primary {
  --pattern-d-visited-color: var(--uswds-white);
  --pattern-d-visited-background-color: var(--uswds-cta);
  --pattern-d-visited-border-color: var(--uswds-cta);
}

.pattern-d .btn-uswds-secondary {
  --pattern-d-visited-color: var(--uswds-white);
  --pattern-d-visited-background-color: var(--uswds-navy);
  --pattern-d-visited-border-color: var(--uswds-navy);
}

.pattern-d .btn-uswds-cta {
  --pattern-d-visited-color: var(--uswds-white);
  --pattern-d-visited-background-color: var(--uswds-accent);
  --pattern-d-visited-border-color: var(--uswds-accent);
}

.pattern-d .btn-uswds-outline {
  --pattern-d-visited-color: var(--uswds-white);
  --pattern-d-visited-background-color: transparent;
  --pattern-d-visited-border-color: var(--uswds-white);
}

.pattern-d .media-social-channel-link {
  --pattern-d-visited-color: var(--uswds-navy);
  --pattern-d-visited-background-color: transparent;
  --pattern-d-visited-border-color: rgba(0, 119, 182, 0.22);
}

.pattern-d .view-all-link {
  --pattern-d-visited-color: var(--uswds-navy);
}

.pattern-d .quicklink-card {
  --pattern-d-visited-color: inherit;
  --pattern-d-visited-background-color: var(--uswds-white);
  --pattern-d-visited-border-color: var(--uswds-border);
}

.pattern-d .social-follow-link {
  --pattern-d-visited-color: inherit;
  --pattern-d-visited-background-color: rgba(255, 255, 255, 0.9);
  --pattern-d-visited-border-color: rgba(0, 119, 182, 0.12);
}

.pattern-d .field-report-link {
  --pattern-d-visited-color: var(--uswds-navy);
  --pattern-d-visited-background-color: rgba(0, 119, 182, 0.06);
  --pattern-d-visited-border-color: rgba(0, 119, 182, 0.2);
}

.pattern-d .contact-cta-buttons .btn-uswds-primary {
  --pattern-d-visited-color: var(--uswds-navy);
  --pattern-d-visited-background-color: var(--uswds-white);
  --pattern-d-visited-border-color: var(--uswds-white);
}

.pattern-d .contact-cta-buttons .btn-uswds-outline {
  --pattern-d-visited-color: var(--uswds-white);
  --pattern-d-visited-background-color: transparent;
  --pattern-d-visited-border-color: rgba(255, 255, 255, 0.5);
}

.pattern-d .pd-footer-link {
  --pattern-d-visited-color: var(--uswds-white);
}

.pattern-d .pd-footer-social-link {
  --pattern-d-visited-color: var(--uswds-white);
  --pattern-d-visited-background-color: rgba(255, 255, 255, 0.08);
  --pattern-d-visited-border-color: rgba(255, 255, 255, 0.12);
}

/* Usage: アクセシビリティ補助。skip-link/focus/reduced-motion の補完。 */
/* ===================================================== */
/* アクセシビリティ                                       */
/* ===================================================== */
/* スキップリンク */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 1rem 2rem;
  background: var(--uswds-navy);
  color: var(--uswds-white);
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* フォーカス状態 */
.btn-uswds:focus,
.pd-header-nav-link:focus,
.pd-drawer-social-link:focus,
.policy-banner-link:focus,
.activity-tile:focus,
.quicklink-card:focus,
.news-title a:focus {
  outline: 3px solid var(--uswds-accent);
  outline-offset: 2px;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in-up,
  .fade-in-left,
  .fade-in-right {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .metric-card:hover,
  .quicklink-card:hover {
    transform: none;
  }
  .hero-video {
    display: none;
  }
}
/* Added for fixed/sticky header scroll offset */
html {
  scrollbar-gutter: stable;
  scroll-padding-top: calc(var(--site-header-height, 100px) + 20px);
  scroll-behavior: smooth;
}
