/* ==========================================================================
   大分市議会議員 つつみ英貴 公式ホームページ スタイルシート
   色や余白の変更は、冒頭の :root 内の変数を書き換えるだけで全体に反映されます。
   ========================================================================== */

:root {
  /* ブランドカラー（清潔感のある 赤・緑・黄） */
  --color-red: #C82432;          /* メインカラー：気品と情熱のある赤 */
  --color-red-hover: #A91C28;
  --color-red-soft: #FDF2F3;

  --color-green: #1E7E5A;        /* サブカラー：大分の自然と誠実さを表す緑 */
  --color-green-hover: #166346;
  --color-green-soft: #EEF8F4;

  --color-yellow: #E5A910;       /* セカンドサブカラー：未来を照らす柔らかな黄 */
  --color-yellow-text: #9E7100;  /* 白背景上で読みやすい濃い黄文字 */
  --color-yellow-soft: #FEF9E7;

  /* 公式LINEカラー */
  --color-line: #06C755;
  --color-line-hover: #05B04B;

  /* ベース・背景（清潔感を際立たせる白基調） */
  --bg-white: #FFFFFF;
  --bg-subtle: #F7F9F8;
  --bg-warm: #FCFAF5;

  /* 文字色・罫線 */
  --ink-primary: #182026;
  --ink-secondary: #43505C;
  --ink-muted: #6C7A89;
  --border-light: #E6EAEB;
  --border-medium: #D3DBE0;

  /* タイポグラフィ */
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  --font-en: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* レイアウト・角丸・影 */
  --container-max: 1140px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(24, 32, 38, 0.04);
  --shadow-md: 0 10px 30px rgba(24, 32, 38, 0.07);
  --shadow-lg: 0 18px 46px rgba(24, 32, 38, 0.10);

  /* トランジション */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* リセット＆基本設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background-color: var(--bg-white);
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* アクセシビリティ用スキップリンク */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink-primary);
  color: var(--bg-white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--color-green);
  outline-offset: 2px;
}

/* コンテナ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==========================================================================
   トップの3色アクセントライン（赤・緑・黄）
   ========================================================================== */
.tricolor-bar {
  display: flex;
  width: 100%;
  height: 4px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
}

.tricolor-bar__red {
  flex: 58;
  background-color: var(--color-red);
}

.tricolor-bar__green {
  flex: 28;
  background-color: var(--color-green);
}

.tricolor-bar__yellow {
  flex: 14;
  background-color: var(--color-yellow);
}

/* ==========================================================================
   ヘッダー・ナビゲーション
   ========================================================================== */
.site-header {
  position: sticky;
  top: 4px;
  z-index: 150;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.brand__mark-bars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  display: flex;
}

.brand__mark-bars span:nth-child(1) { flex: 55; background: var(--color-red); }
.brand__mark-bars span:nth-child(2) { flex: 30; background: var(--color-green); }
.brand__mark-bars span:nth-child(3) { flex: 15; background: var(--color-yellow); }

.brand__mark-kanji {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin-top: 2px;
  line-height: 1;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__role {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

.brand__name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--color-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}

.main-nav__link:hover,
.main-nav__link.is-active {
  color: var(--color-red);
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
  transform: scaleX(1);
}

/* 共通ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  font-size: 0.85rem;
  padding: 9px 18px;
}

.btn--lg {
  font-size: 1rem;
  padding: 15px 30px;
}

.btn--red {
  background-color: var(--color-red);
  color: var(--bg-white);
  box-shadow: 0 6px 18px rgba(200, 36, 50, 0.22);
}

.btn--red:hover {
  background-color: var(--color-red-hover);
  box-shadow: 0 10px 24px rgba(200, 36, 50, 0.30);
}

.btn--line {
  background-color: var(--color-line);
  color: var(--bg-white);
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.22);
}

.btn--line:hover {
  background-color: var(--color-line-hover);
  box-shadow: 0 10px 24px rgba(6, 199, 85, 0.30);
}

.btn--outline-green {
  background-color: var(--bg-white);
  color: var(--color-green);
  border-color: var(--color-green);
}

.btn--outline-green:hover {
  background-color: var(--color-green-soft);
}

.btn--outline-neutral {
  background-color: var(--bg-white);
  color: var(--ink-primary);
  border-color: var(--border-medium);
}

.btn--outline-neutral:hover {
  border-color: var(--ink-primary);
  background-color: var(--bg-subtle);
}

/* モバイルメニューボタン */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle__line {
  width: 20px;
  height: 2px;
  background-color: var(--ink-primary);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* モバイルドロワー */
.mobile-drawer {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + 4px);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  z-index: 140;
  padding: 28px 24px 40px;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: block;
  animation: fadeIn 0.2s ease;
}

.mobile-drawer__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.mobile-drawer__item {
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.mobile-drawer__link span:last-child {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ヒーローセクション（一番トップに顔写真を美しく配置）
   ========================================================================== */
.hero {
  position: relative;
  padding: 52px 0 64px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFDFB 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}

.hero__kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-red);
}

.hero__title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
  margin: 0 0 14px;
}

.hero__title-accent {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero__title-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 7px;
  background-color: rgba(229, 169, 16, 0.28);
  z-index: -1;
  border-radius: 3px;
}

.hero__name-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.hero__name-jp {
  font-size: clamp(2.15rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--ink-primary);
}

.hero__name-kana {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.hero__lead {
  font-size: 1.02rem;
  color: var(--ink-secondary);
  line-height: 1.9;
  margin: 0 0 30px;
}

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

/* ヒーロー顔写真フレーム */
.hero-portrait {
  display: flex;
  justify-content: center;
}

.hero-portrait__card {
  width: 100%;
  max-width: 390px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.hero-portrait__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #E8ECEF;
  overflow: hidden;
}

.hero-portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.hero-portrait__bar {
  display: flex;
  height: 4px;
  width: 100%;
}

.hero-portrait__bar span:nth-child(1) { flex: 58; background: var(--color-red); }
.hero-portrait__bar span:nth-child(2) { flex: 28; background: var(--color-green); }
.hero-portrait__bar span:nth-child(3) { flex: 14; background: var(--color-yellow); }

.hero-portrait__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 15px 20px;
  background: var(--bg-white);
}

.hero-portrait__caption-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-portrait__caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
}

.hero-portrait__caption-sub {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* ==========================================================================
   実績・信頼のキーファクト帯
   ========================================================================== */
.facts-strip {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fact-item {
  position: relative;
  padding-left: 16px;
}

.fact-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background-color: var(--color-red);
}

.fact-item--green::before {
  background-color: var(--color-green);
}

.fact-item--yellow::before {
  background-color: var(--color-yellow);
}

.fact-item__value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}

.fact-item__label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ==========================================================================
   共通セクションレイアウト
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section--subtle {
  background-color: var(--bg-subtle);
}

.section--warm {
  background-color: var(--bg-warm);
}

.section-header {
  max-width: 700px;
  margin-bottom: 46px;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 10px;
}

.section-eyebrow--green {
  color: var(--color-green);
}

.section-eyebrow--yellow {
  color: var(--color-yellow-text);
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--ink-primary);
  margin: 0 0 14px;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.85;
}

/* ==========================================================================
   政策セクション：3つの「やる」
   ========================================================================== */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.policy-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.policy-card__bar {
  height: 5px;
  width: 100%;
}

.policy-card--red .policy-card__bar { background-color: var(--color-red); }
.policy-card--green .policy-card__bar { background-color: var(--color-green); }
.policy-card--yellow .policy-card__bar { background-color: var(--color-yellow); }

.policy-card__body {
  padding: 28px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.policy-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.policy-card__num {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 6px;
}

.policy-card--red .policy-card__num {
  background-color: var(--color-red-soft);
  color: var(--color-red);
}

.policy-card--green .policy-card__num {
  background-color: var(--color-green-soft);
  color: var(--color-green);
}

.policy-card--yellow .policy-card__num {
  background-color: var(--color-yellow-soft);
  color: var(--color-yellow-text);
}

.policy-card__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.policy-card--red .policy-card__icon { color: var(--color-red); }
.policy-card--green .policy-card__icon { color: var(--color-green); }
.policy-card--yellow .policy-card__icon { color: var(--color-yellow-text); }

.policy-card__title {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink-primary);
  margin: 0 0 10px;
}

.policy-card__subtitle {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin: 0 0 22px;
  line-height: 1.65;
}

.policy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.policy-list__item {
  position: relative;
  padding-left: 20px;
  font-size: 0.93rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.policy-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.policy-card--red .policy-list__item::before { background-color: var(--color-red); }
.policy-card--green .policy-list__item::before { background-color: var(--color-green); }
.policy-card--yellow .policy-list__item::before { background-color: var(--color-yellow); }

/* ==========================================================================
   活動記録アーカイブ（このHP独自で完結・開閉表示）
   ========================================================================== */
.activity-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  background-color: var(--bg-white);
  color: var(--ink-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.filter-tab.is-active {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: var(--bg-white);
}

.activity-hint {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0;
}

.activity-list {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.activity-entry {
  border-bottom: 1px solid var(--border-light);
}

.activity-entry:last-child {
  border-bottom: none;
}

.activity-entry.is-hidden {
  display: none;
}

.activity-entry__summary {
  display: grid;
  grid-template-columns: 112px 136px 1fr 28px;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s ease;
}

.activity-entry__summary::-webkit-details-marker {
  display: none;
}

.activity-entry__summary:hover {
  background-color: var(--bg-subtle);
}

.activity-entry[open] .activity-entry__summary {
  background-color: var(--bg-subtle);
}

.activity-entry__date {
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.activity-entry__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.activity-entry__tag--child {
  background-color: var(--color-yellow-soft);
  color: var(--color-yellow-text);
}

.activity-entry__tag--inspect {
  background-color: var(--color-green-soft);
  color: var(--color-green);
}

.activity-entry__tag--assembly {
  background-color: var(--color-red-soft);
  color: var(--color-red);
}

.activity-entry__tag--community {
  background-color: #EDF2F7;
  color: var(--ink-secondary);
}

.activity-entry__title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.55;
  margin: 0;
}

.activity-entry__summary:hover .activity-entry__title,
.activity-entry[open] .activity-entry__title {
  color: var(--color-red);
}

.activity-entry__chevron {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), background-color 0.2s ease, color 0.2s ease;
}

.activity-entry[open] .activity-entry__chevron {
  transform: rotate(180deg);
  background: var(--color-red-soft);
  color: var(--color-red);
}

.activity-entry__body {
  padding: 4px 26px 24px 290px;
  background-color: var(--bg-subtle);
  color: var(--ink-secondary);
  font-size: 0.93rem;
  line-height: 1.85;
}

.activity-entry__body p {
  margin: 0;
}

/* ==========================================================================
   政治家を志したきっかけ（想い）
   ========================================================================== */
.vision-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.vision-media {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.vision-media__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.vision-media__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vision-quote {
  margin: 0;
  padding: 22px 24px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--color-red);
  box-shadow: var(--shadow-sm);
}

.vision-quote__text {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1.65;
  margin: 0 0 6px;
}

.vision-quote__sub {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 0;
}

.vision-story p {
  margin: 0 0 20px;
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.95;
}

.vision-story p:last-child {
  margin-bottom: 0;
}

.vision-highlight {
  padding: 22px 24px;
  background-color: var(--color-green-soft);
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.vision-highlight p {
  margin: 0;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1.85;
}

/* ==========================================================================
   プロフィール・略歴
   ========================================================================== */
.profile-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 44px;
}

.profile-hometown {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.profile-hometown__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.profile-hometown__caption {
  padding: 12px 16px;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-hometown__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
}

.profile-info__name {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--ink-primary);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.profile-info__kana {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.profile-info__role {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-red);
  margin: 0 0 22px;
}

.profile-dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px 18px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.profile-dl dt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.profile-dl dd {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-primary);
  line-height: 1.65;
}

/* 略歴3カラムタイムライン */
.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.career-col {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}

.career-col__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.career-col__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.career-col__dot--red { background-color: var(--color-red); }
.career-col__dot--green { background-color: var(--color-green); }
.career-col__dot--yellow { background-color: var(--color-yellow); }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 2px solid var(--ink-muted);
}

.timeline__item--accent::before {
  border-color: var(--color-red);
  background-color: var(--color-red);
}

.timeline__period {
  display: block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.timeline__text {
  font-size: 0.9rem;
  color: var(--ink-primary);
  line-height: 1.6;
  margin: 0;
}

.timeline__note {
  display: block;
  font-size: 0.81rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* ==========================================================================
   SNSライブタイムライン窓（X / Instagram / Facebook）＆公式リンク一覧
   ========================================================================== */
.sns-windows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.sns-window {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sns-window__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-white);
}

.sns-window__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sns-window__badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--bg-white);
  flex-shrink: 0;
}

.sns-window__badge--x { background-color: #182026; }
.sns-window__badge--instagram { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 55%, #8134AF 100%); }
.sns-window__badge--facebook { background-color: #1877F2; }

.sns-window__meta {
  min-width: 0;
}

.sns-window__title {
  font-size: 0.93rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0;
  line-height: 1.25;
}

.sns-window__handle {
  font-family: var(--font-en);
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sns-window__open {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-red);
  padding: 5px 10px;
  border-radius: 999px;
  background-color: var(--color-red-soft);
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.sns-window__open:hover {
  background-color: #FADDE0;
}

.sns-window__body {
  position: relative;
  height: 460px;
  background-color: var(--bg-subtle);
  overflow-y: auto;
  overflow-x: hidden;
}

.sns-window__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: var(--bg-white);
}

.sns-window__twitter-wrap {
  padding: 8px;
  min-height: 100%;
  background: var(--bg-white);
}

.sns-window__fallback-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.sns-window__footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-white);
  text-align: center;
}

.sns-window__footer-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

.sns-window__footer-link:hover {
  color: var(--color-red);
}

/* その他の公式メディア・SNSリンク一覧 */
.sns-links-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sns-links-heading::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-green);
}

.sns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sns-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.2s ease;
}

.sns-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.sns-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--bg-white);
}

.sns-card__icon--line { background-color: #06C755; }
.sns-card__icon--x { background-color: #182026; }
.sns-card__icon--instagram { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 55%, #8134AF 100%); }
.sns-card__icon--youtube { background-color: #E02020; }
.sns-card__icon--facebook { background-color: #1877F2; }
.sns-card__icon--tiktok { background-color: #182026; }
.sns-card__icon--vonecter { background-color: var(--color-red); }

.sns-card__content {
  min-width: 0;
  flex: 1;
}

.sns-card__name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0 0 2px;
}

.sns-card__handle {
  font-family: var(--font-en);
  font-size: 0.77rem;
  color: var(--ink-muted);
  margin: 0 0 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sns-card__desc {
  font-size: 0.8rem;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.45;
}

.sns-card__ext {
  color: var(--ink-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sns-card:hover .sns-card__ext {
  transform: translate(2px, -2px);
  color: var(--ink-primary);
}

/* ボネクタ（選挙ドットコム）案内バナー */
.vonecter-banner {
  margin-top: 22px;
  padding: 22px 26px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--color-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.vonecter-banner__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0 0 4px;
}

.vonecter-banner__desc {
  font-size: 0.87rem;
  color: var(--ink-secondary);
  margin: 0;
}

/* ==========================================================================
   お問い合わせセクション（公式LINE）
   ========================================================================== */
.contact-panel {
  background-color: var(--color-green-soft);
  border: 1px solid rgba(30, 126, 90, 0.16);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.contact-panel__eyebrow {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-green);
  margin: 0 0 10px;
}

.contact-panel__title {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.38;
  color: var(--ink-primary);
  margin: 0 0 16px;
}

.contact-panel__desc {
  font-size: 0.97rem;
  color: var(--ink-secondary);
  line-height: 1.85;
  margin: 0 0 28px;
}

.contact-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-steps__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.contact-steps__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--color-green);
  color: var(--bg-white);
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-box {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.contact-box__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-green);
  background-color: var(--color-green-soft);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.contact-box__account {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0 0 4px;
}

.contact-box__id {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin: 0 0 22px;
}

.contact-box__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-box__actions .btn {
  width: 100%;
}

.contact-box__note {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 16px 0 0;
  line-height: 1.6;
}

.copy-feedback {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-green);
  min-height: 1.2em;
  margin-top: 6px;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  padding: 56px 0 36px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand-desc {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin: 12px 0 0;
  max-width: 340px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--color-red);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0;
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-sns__link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.footer-sns__link:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-2px);
}

/* トップへ戻るボタン */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--ink-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), background-color 0.2s ease, color 0.2s ease;
  z-index: 100;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: var(--bg-white);
}

/* スクロール表示アニメーション */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-portrait {
    order: -1;
  }

  .hero-portrait__card {
    max-width: 340px;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-grid,
  .career-grid,
  .sns-windows-grid {
    grid-template-columns: 1fr;
  }

  .vision-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vision-media {
    position: static;
  }

  .sns-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .profile-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px;
  }

  .activity-entry__summary {
    grid-template-columns: 1fr 28px;
    gap: 6px 12px;
    padding: 18px 20px;
  }

  .activity-entry__date {
    grid-column: 1;
  }

  .activity-entry__tag {
    grid-column: 1;
    justify-self: start;
  }

  .activity-entry__title {
    grid-column: 1;
  }

  .activity-entry__chevron {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .activity-entry__body {
    padding: 4px 20px 20px 20px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 68px;
  }

  .container {
    padding-inline: 18px;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .section {
    padding: 64px 0;
  }

  .facts-grid,
  .sns-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .profile-dl dt {
    margin-top: 10px;
  }

  .profile-dl dt:first-child {
    margin-top: 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .contact-panel {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   活動記録：記事リンク・フッター（選挙ドットコム自動連携）
   ========================================================================== */
.activity-entry__more {
  margin: 12px 0 0;
}

.activity-entry__more a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-red);
  text-decoration: none;
}

.activity-entry__more a:hover {
  text-decoration: underline;
}

.activity-footer {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.activity-footer__note {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ==========================================================================
   後援会入会フォームセクション（Googleフォーム埋め込み）
   ========================================================================== */
.supporters-form-card {
  max-width: 860px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--color-red);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.supporters-form-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-white);
}

.supporters-form-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0 0 4px;
}

.supporters-form-card__sub {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

.supporters-form-card__frame-wrap {
  background-color: var(--bg-subtle);
  padding: 8px 0;
}

.supporters-form-card__iframe {
  display: block;
  width: 100%;
  height: 920px;
  border: 0;
  background-color: var(--bg-white);
}

.supporters-form-card__footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-subtle);
}

.supporters-form-card__note {
  font-size: 0.83rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.65;
}

.supporters-form-card__note a {
  color: var(--color-red);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .supporters-form-card__header,
  .supporters-form-card__footer {
    padding: 18px;
  }

  .supporters-form-card__iframe {
    height: 980px;
  }
}

