/*
Theme Name: 近藤ひさよし オフィシャルサイト
Theme URI: https://ritaverse.jp/
Description: 近藤ひさよし氏のオフィシャルサイト用WordPressテーマ。ReBORN 豊橋再生計画。
Author: 株式会社リタバース
Author URI: https://ritaverse.jp/
Version: 1.0.0
License: GPL v2 or later
Text Domain: kondo-hisayoshi
*/

/* ============================================
   CSS変数（カラー・フォント・寸法）
   ============================================ */
:root {
  --color-red: #e60012;
  --color-red-dark: #c00010;
  --color-beige: #f8e8d4;
  --color-beige-dark: #ecd9b8;
  --color-cream: #fff5e6;
  --color-text: #222;
  --color-text-light: #555;
  --color-text-muted: #888;
  --color-bg: #fff;
  --color-bg-soft: #f7f3ed;
  --color-bg-blue: #eaf2f8;
  --color-bg-gray: #f4f4f4;
  --color-border: #e1d9cc;
  --color-orange: #c87a2a;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  --font-handwriting: "Yuji Syuku", "Klee One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Cormorant Garamond", "Georgia", serif;

  --container-w: 1200px;
  --container-narrow: 980px;
}

/* ============================================
   リセット・基本
   ============================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-text); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   ヘッダー
   ============================================ */
.site-header {
  background: #fff;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #f0f0f0;
}
.site-logo { display: flex; align-items: center; gap: 14px; }
.site-logo-img {
  width: auto;
  height: 84px;
  flex-shrink: 0;
}
.site-logo-text { font-size: 11px; color: var(--color-text); letter-spacing: 0.15em; white-space: nowrap; }

.site-nav ul { display: flex; gap: 28px; }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  position: relative;
}
.site-nav a:hover { color: var(--color-red); opacity: 1; }
.site-nav a.is-current { color: var(--color-red); }
.site-nav a.is-current::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-red);
}
.site-nav .has-submenu::after {
  content: "▼";
  font-size: 8px;
  color: var(--color-text-muted);
}

/* モバイルメニュートグル */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

@media (max-width: 1023px) {
  .site-header { padding: 10px 16px; }
  .site-logo-img { width: auto; height: 56px; }
  .site-logo-text { font-size: 10px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .site-nav a { display: block; padding: 14px 24px; border-bottom: 1px solid #f7f3ed; }
}

/* ============================================
   下層ページのヒーロー（PROFILE / SUPPORT等）
   ============================================ */
.page-hero {
  position: relative;
  height: 380px;
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.page-hero-title {
  position: relative;
  z-index: 3;
  color: #fff;
  font-family: var(--font-en);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  letter-spacing: 0.3em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
@media (max-width: 767px) {
  .page-hero { height: 220px; }
  .page-hero-title { letter-spacing: 0.2em; font-size: 44px; }
}

/* ============================================
   セクション見出し
   ============================================ */
.section-heading {
  text-align: center;
  margin: 0 0 48px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  position: relative;
  padding-top: 24px;
}
.section-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: var(--color-red);
}
.subsection-heading {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 5px solid var(--color-red);
}

/* ============================================
   トップページ：ヒーロー
   ============================================ */
.top-hero {
  position: relative;
  background-color: var(--color-cream);
  width: 100%;
  overflow: hidden;
  /* aspect-ratio や height は指定しない */
}

.top-hero-bg {
  width: 100%;
  height: auto;
  display: block;
}

.top-hero-name-card {
  position: absolute;
  top: 28px;
  right: 28px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 22px;
  font-size: 18px;
  font-weight: 700;
  z-index: 3;
}

.top-hero-catch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-handwriting);
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 700;
  color: var(--color-red);
  text-shadow: 3px 3px 0 #fff, -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 0 0 30px rgba(255,255,255,0.9);
  line-height: 1.3;
  text-align: center;
  margin: 0;
  z-index: 2;
}

@media (max-width: 767px) {
  .top-hero-name-card {
    top: 12px;
    right: 12px;
    font-size: 14px;
    padding: 6px 14px;
  }
  .top-hero-catch {
    font-size: 38px;
  }
}

/* ============================================
   トップページ：お知らせ
   ============================================ */
.top-news { background: var(--color-bg-soft); padding: 60px 0; }
.top-news-list li { border-bottom: 1px dashed var(--color-border); }
.top-news-list a {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  align-items: baseline;
}
.top-news-list a:hover { color: var(--color-red); opacity: 1; }
.top-news-date { flex-shrink: 0; width: 130px; font-size: 14px; color: var(--color-text-light); letter-spacing: 0.05em; }
.top-news-title { font-size: 15px; line-height: 1.7; }
@media (max-width: 600px) {
  .top-news-list a { flex-direction: column; gap: 4px; padding: 14px 0; }
  .top-news-date { width: auto; }
}

/* ============================================
   ReBORN 大型バナー
   ============================================ */
.reborn-banner {
  background: var(--color-red);
  color: #fff;
  padding: 70px 24px 80px;
  text-align: center;
}
.reborn-banner-bg {
  display: block;
  margin: 0 auto;
  width: 30%;
  height: 100%;
}
.reborn-banner-logo {
  font-family: var(--font-handwriting);
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 8px;
  text-shadow: 5px 5px 0 var(--color-red-dark);
  color: #fff;
}
.reborn-banner-logo-image { margin: 0 auto 8px; max-width: 480px; }
.reborn-banner-logo-image img { max-width: 100%; height: auto; }
.reborn-banner-subtitle {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0 0 36px;
  color: #fff;
}
.reborn-banner-q {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 24px;
  color: #fff;
}
.reborn-banner-text {
  font-size: 15px;
  line-height: 2;
  max-width: 780px;
  margin: 0 auto;
  color: #fff;
}

.reborn-banner-img {
  margin-top: 40px;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .reborn-banner { padding: 50px 30px 60px; }
  .reborn-banner-logo { font-size: 48px; }
  .reborn-banner-subtitle { font-size: 28px; }
  .reborn-banner-q { font-size: 18px; }
  .reborn-banner-text { font-size: 16px; text-align: left;}

  .reborn-banner-img { 
    margin-top: 24px;
    margin-bottom: 16px;
    max-width: 80%;
  }
  .reborn-banner-bg {
  width: 80%;
  height: 100%;
}
}


/* ============================================
   政策ページ（元サイト準拠）
   ============================================ */
.policy-page { padding: 60px 0; }

/* 4本柱の大見出し（シンプルなテキスト） */
.policy-pillar-heading {
  text-align: center;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin: 0 0 40px;
  padding: 0;
  background: none;
  border: 0;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.policy-pillar-section {
  margin-bottom: 80px;
}

.policy-pillar-section:last-child {
  margin-bottom: 0;
}

/* ジャンル別ボックス */
.policy-genre {
  margin-bottom: 60px;
}

/* ジャンルヘッダー（赤帯） */
.policy-genre-header {
  background: var(--color-red);
  color: #fff;
  text-align: center;
  padding: 12px 24px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}

/* 写真とリストのレイアウト */
.policy-genre-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* 写真を右に配置（reverse版） */
.policy-genre--reverse .policy-genre-body {
  grid-template-columns: 1fr 280px;
}
.policy-genre--reverse .policy-genre-img {
  order: 2;
}

@media (max-width: 767px) {
  .policy-genre-body,
  .policy-genre--reverse .policy-genre-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .policy-genre--reverse .policy-genre-img {
    order: 0;
  }
}

.policy-genre-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* サブタイトル（〜...〜） */
.policy-genre-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px;
  text-align: left;
}

/* 政策項目リスト */
.policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 各項目：▶マークが左、タイトル＋説明が右 */
.policy-list-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  align-items: start;
  list-style: none;
}

.policy-list-item::before {
  content: "▶";
  color: var(--color-red);
  font-size: 11px;
  line-height: 1.7;  /* タイトルと同じ行に揃える */
  margin-top: 4px;
}

.policy-list-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.policy-list-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-red);
  margin: 0;
  line-height: 1.6;
}

.policy-list-item-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
  font-weight: 400;
}

/* 最後のセクション（国・県との連携） */
.policy-final {
  background: var(--color-bg-soft);
  padding: 32px;
  border-radius: 4px;
}
.policy-final p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 16px;
}
.policy-final-note {
  font-size: 13px;
  color: var(--color-text-light);
  border-top: 1px dashed var(--color-border);
  padding-top: 16px;
  margin-top: 24px;
}
/* ============================================
   どすごい豊橋を創る セクション
   ============================================ */
.dosugoi-section {
  padding: 80px 0;
  background: #fff;
}

/* メイン見出し */
.dosugoi-heading {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dosugoi-heading-deco {
  display: inline-block;
  width: 80px;
  height: 8px;
  background: repeating-linear-gradient(to right, #e60012 0, #e60012 4px, transparent 4px, transparent 8px);
}

.dosugoi-heading-handwriting {
  font-family: var(--font-handwriting);
  color: #e60012;
  font-size: 1.4em;
  font-weight: 900;
}

.dosugoi-heading-text,
.dosugoi-heading-suffix {
  color: var(--color-text);
}

/* 4ブロック共通 */
.dosugoi-block {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0;
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
}

/* 左側のラベル（縦書き） */
.dosugoi-block-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3em;
  padding: 24px 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.dosugoi-block-label span {
  display: block;
}

/* 本文エリア */
.dosugoi-block-body {
  padding: 32px 32px 32px 24px;
  font-size: 15px;
  line-height: 1.9;
}

.dosugoi-block-body p {
  margin: 0 0 16px;
}

.dosugoi-block-body p:last-child {
  margin-bottom: 0;
}

/* ブロック1：基本理念（黄色系） */
.dosugoi-block--principle {
  background: #fef9e8;
}
.dosugoi-block--principle .dosugoi-block-label {
  background: #f5b041;
}
.dosugoi-lead {
  color: #c0392b;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px !important;
}
.dosugoi-lead strong {
  color: #c0392b;
}

/* ブロック2：好循環の核（水色系） */
.dosugoi-block--cycle {
  background: #e8f4f6;
}
.dosugoi-block--cycle .dosugoi-block-label {
  background: #5fa8b8;
}

/* フロー図 */
.dosugoi-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0 32px;
  align-items: center;
}

.dosugoi-flow-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  justify-items: center;
}

.dosugoi-flow-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  padding: 8px;
  aspect-ratio: 1 / 1;
}

/* 左の薄い円（小） */
.dosugoi-flow-circle--small {
  width: 90px;
  height: 90px;
  background: #b8d8de;
  color: #2a5560;
  font-size: 13px;
}

/* 右の濃い円（大） */
.dosugoi-flow-circle--large {
  width: 110px;
  height: 110px;
  background: #5fa8b8;
  font-size: 15px;
}

/* UP矢印 */
.dosugoi-flow-arrow {
  font-size: 14px;
  font-weight: 900;
  color: #5fa8b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.dosugoi-flow-arrow::after {
  content: "→";
  font-size: 24px;
  margin-top: 4px;
}

/* スマホ対応：縦に積み上げ */
@media (max-width: 767px) {
  .dosugoi-flow {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dosugoi-flow-circle--small {
    width: 80px;
    height: 80px;
    font-size: 12px;
  }
  .dosugoi-flow-circle--large {
    width: 100px;
    height: 100px;
    font-size: 14px;
  }
}

.dosugoi-cycle-text {
  text-align: center;
  font-size: 14px;
  margin: 32px 0 24px !important;
}

.dosugoi-cycle-loop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.dosugoi-cycle-tag {
  background: #d8ecef;
  color: #2a5560;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
}

.dosugoi-cycle-arrow {
  font-size: 24px;
  color: #5fa8b8;
  font-weight: 900;
}

.dosugoi-cycle-suffix {
  font-size: 15px;
}

.dosugoi-cycle-conclusion {
  text-align: center;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 900;
  margin: 0 !important;
}

/* ブロック3：重点政策（紫系） */
.dosugoi-block--policy {
  background: #ecedf5;
}
.dosugoi-block--policy .dosugoi-block-label {
  background: #6e7caf;
}

.dosugoi-policy-item {
  margin-bottom: 32px;
}

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

.dosugoi-policy-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.dosugoi-policy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6e7caf;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.dosugoi-policy-sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-light);
}

.dosugoi-policy-lead {
  font-size: 14px;
  margin-bottom: 12px !important;
  font-weight: 500;
}

.dosugoi-policy-list {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
}

.dosugoi-policy-list li {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 4px;
  list-style: disc;
}

/* リボン矢印（防災・行政DX・子育て） */
.dosugoi-policy-arrows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.dosugoi-policy-arrow {
  background: #fff;
  border: 1px solid #c4c9dd;
  display: flex;
  flex-direction: column;
}

.dosugoi-policy-arrow-head {
  background: #4d5b8e;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  position: relative;
}

.dosugoi-policy-arrow-head::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 16px solid #4d5b8e;
}

.dosugoi-policy-arrow-list {
  padding: 12px 16px;
  margin: 0;
  list-style: none;
}

.dosugoi-policy-arrow-list li {
  font-size: 13px;
  line-height: 1.7;
  padding-left: 12px;
  position: relative;
}

.dosugoi-policy-arrow-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

@media (max-width: 767px) {
  .dosugoi-policy-arrows {
    grid-template-columns: 1fr;
  }
  .dosugoi-policy-arrow-head::after {
    display: none;
  }
}

/* ブロック4：結び（ピンク系） */
.dosugoi-block--conclusion {
  background: #fbe8ec;
}
.dosugoi-block--conclusion .dosugoi-block-label {
  background: #d96a7e;
}

.dosugoi-conclusion-title {
  text-align: center;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 900;
  color: #c0392b;
  margin: 0 0 16px;
}

.dosugoi-block--conclusion p {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
}




/* スマホ対応 */
@media (max-width: 767px) {
  .dosugoi-section {
    padding: 60px 0;
  }
  .dosugoi-block {
    grid-template-columns: 40px 1fr;
  }
  .dosugoi-block-label {
    font-size: 14px;
    padding: 16px 0;
  }
  .dosugoi-block-body {
    padding: 24px 16px;
  }
  .dosugoi-cycle-loop {
    flex-direction: column;
    gap: 8px;
  }
  .dosugoi-cycle-arrow {
    transform: rotate(90deg);
  }
  .dosugoi-heading {
    font-size: 22px;
  }
  .dosugoi-heading-deco {
    width: 40px;
  }
}

/* ============================================
   政策ページ：柱ごとの色分け
   ============================================ */

/* 柱1：赤（既存と同じ、デフォルト） */
.policy-pillar-section--red .policy-genre-header {
  background: #e60012;
}
.policy-pillar-section--red .policy-list-item::before {
  color: #e60012;
}
.policy-pillar-section--red .policy-list-item-title {
  color: #e60012;
}

/* 柱2：緑 */
.policy-pillar-section--green .policy-genre-header {
  background: #5fa86d;
}
.policy-pillar-section--green .policy-list-item::before {
  color: #5fa86d;
}
.policy-pillar-section--green .policy-list-item-title {
  color: #5fa86d;
}

/* 柱3：黄/茶 */
.policy-pillar-section--yellow .policy-genre-header {
  background: #c89540;
}
.policy-pillar-section--yellow .policy-list-item::before {
  color: #c89540;
}
.policy-pillar-section--yellow .policy-list-item-title {
  color: #c89540;
}

/* 柱4：青 */
.policy-pillar-section--blue .policy-genre-header {
  background: #3a7ab8;
}
.policy-pillar-section--blue .policy-list-item::before {
  color: #3a7ab8;
}
.policy-pillar-section--blue .policy-list-item-title {
  color: #3a7ab8;
}
/* ============================================
   政策ページ：柱4「国・県との連携」専用スタイル
   ============================================ */

/* 柱の英字サブ見出し */
.policy-pillar-subheading {
  text-align: center;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  margin: -32px 0 40px;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

/* リード文（青色） */
.policy-final-lead {
  text-align: center;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #3a7ab8;
  margin: 0 0 16px;
}

/* 概要文 */
.policy-final-message {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 48px;
  color: var(--color-text);
}

/* policy-final自体は背景なしに変更 */
.policy-final {
  background: none;
  padding: 0;
  border-radius: 0;
}

/* ============================================
   柱4：国・県との連携 専用スタイル
   ============================================ */

/* 全幅オレンジ帯 */
.policy-pillar4-banner,
.policy-pillar4-banner-inline {
  background: #e89030;
  color: #fff;
  padding: 60px 24px;
  text-align: center;
  margin-bottom: 60px;
}
.policy-pillar4-banner-inline {
  margin-left: -24px;
  margin-right: -24px;
}

.policy-pillar4-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}
.policy-pillar4-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  margin: 0 0 8px;
  font-weight: 500;
}
.policy-pillar4-lead {
  font-size: clamp(16px, 2vw, 18px);
  margin: 0;
  font-weight: 500;
}

/* 紹介ブロック */
.policy-pillar4-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 0 auto 80px;
  max-width: 760px;
}
.policy-pillar4-intro-message {
  border: 1px solid #ccc;
  padding: 32px;
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
  flex: 1;
  max-width: 420px;
}
.policy-pillar4-intro-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .policy-pillar4-intro {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .policy-pillar4-intro-photo img {
    width: 140px;
    height: 140px;
  }
}

/* ジャンルブロック */
.policy-pillar4-genre {
  margin-bottom: 60px;
}

.policy-pillar4-genre-title {
  text-align: center;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #e89030;
  margin: 0 0 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e89030;
  letter-spacing: 0.05em;
}

/* リスト本体（背景に薄いシルエット） */
.policy-pillar4-genre-body {
  padding: 60px 24px 60px 50%;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 45% auto;
  min-height: 280px;
}

.policy-pillar4-list {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-pillar4-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  list-style: disc;
}

@media (max-width: 767px) {
  .policy-pillar4-genre-body {
    padding: 24px 16px;
    background-size: contain;
    background-position: center top;
    background-image: none !important; /* スマホでは背景画像を非表示 */
  }
}

/* 末尾メッセージ（力強い見出し風） */
.policy-pillar4-callout {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--color-text);
  margin: 80px 0 0;
  padding: 0 0 24px;
  border: 0;
  border-bottom: 2px solid var(--color-red);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* 末尾の注釈（左寄せ、通常サイズ） */
.policy-pillar4-note {
  text-align: left;
  font-size: 24px;
  color: var(--color-text);
  margin: 24px 0 0;
  line-height: 1.9;
}

@media (max-width: 767px) {
  .policy-pillar4-callout {
    font-size: 20px;
    margin-top: 60px;
  }
  .policy-pillar4-note {
    font-size: 18px;
  }
}
/* ============================================
   マニュフェスト（背景画像＋白半透明バー）
   ============================================ */
.manifest-section { padding: 80px 0; }
.manifest-cover {
  position: relative;
  background-color: var(--color-bg-gray);
  background-size: cover;
  background-position: center;
  padding: 60px 24px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.manifest-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}
.manifest-bars {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 450px;
  z-index: 2;
}
.manifest-bar {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* タイトルとサブタイトルを横並びに */
.manifest-bar-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.manifest-bar-title {
  color: var(--color-red);
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.manifest-bar-heading p {
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--color-red);
}
.manifest-bar-btn {
  align-self: flex-end;
  background: var(--color-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 24px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.manifest-bar-btn:hover { color: #fff; opacity: 0.85; }
@media (max-width: 600px) {
  .manifest-cover { padding: 40px 16px; }
  .manifest-bar { padding: 18px 20px; }
}

/* ============================================
   テーマタグ
   ============================================ */
.theme-tags-section { padding: 60px 0; background: var(--color-bg-soft); }
.theme-tags-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.theme-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  min-height: 64px;
  background: var(--color-beige);
  color: var(--color-text);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  border: 1px solid var(--color-beige-dark);
  border-radius: 8px;
  text-align: center;
  line-height: 1.4;
  transition: all 0.2s;
}

.theme-tag:hover {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
  opacity: 1;
}

/* タブレット：3列 */
@media (max-width: 900px) {
  .theme-tags-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ：2列 */
@media (max-width: 600px) {
  .theme-tags-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .theme-tag {
    min-height: 56px;
    font-size: 14px;
  }
}
/* ============================================
   投票日CTA
   ============================================ */
.vote-cta {
  background: var(--color-red);
  color: #fff;
  padding: 50px 24px;
  text-align: center;
}
.vote-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.vote-cta-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vote-cta-logo img {
  width: auto;
  height: 100px;
  max-width: 200px;
  display: block;
}

.vote-cta-divider {
  width: 2px;
  height: 80px;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.vote-cta-msg {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-align: left;
  line-height: 1.5;
}

.vote-cta-msg strong {
  display: block;
  font-size: 1.3em;
  margin-bottom: 8px;
}

.vote-cta-msg small {
  display: block;
  font-size: 0.6em;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .vote-cta-inner {
    flex-direction: column;
    gap: 16px;
  }
  .vote-cta-divider {
    width: 80px;
    height: 2px;
  }
  .vote-cta-msg {
    text-align: center;
  }
  .vote-cta-logo img {
    height: 70px;
  }
}

/* ============================================
   動画ギャラリーセクション
   ============================================ */
.movies-section {
  padding: 80px 0;
  background: #fff;
}

.movies-en-title {
  text-align: center;
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--color-text);
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 16px;
}

.movies-en-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-red);
}

.movies-lead {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0 0 40px;
}

.movies-gallery {
  max-width: 1200px;
  margin: 0 auto;
}

/* Embed Plus for YouTube プラグインの出力に対するスタイル調整 */
.movies-gallery .epyt-gallery-thumb {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.movies-gallery .epyt-gallery-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.movies-gallery .epyt-gallery-title {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
  color: var(--color-text);
}

/* ページネーション */
.movies-gallery .epyt-pagination {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-text-light);
}

.movies-gallery .epyt-pagination a {
  color: var(--color-red);
  margin: 0 8px;
}

.movies-gallery .epyt-pagination a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .movies-section {
    padding: 60px 0;
  }
}

/* ============================================
   トップ：PROFILEセクション
   ============================================ */
.top-profile-section { padding: 80px 0; background: var(--color-bg-gray); }
.top-profile-en-title {
  text-align: center;
  font-family: var(--font-en);
  font-size: 32px;
  letter-spacing: 0.4em;
  font-weight: 400;
  margin: 0 0 32px;
}
/* PC：通常の画像 */
.top-profile-cover {
  position: relative;
  background-image: url('img/imgi_13_new5.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-gray);
  min-height: 500px;
  padding: 30px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}

/* スマホ：別画像に切り替え＆名カードを下に配置 */
@media (max-width: 767px) {
  .top-profile-cover {
    background-image: url('img/imgi_14_profile_sp-1.png');
    min-height: 600px;
    padding: 24px 16px;
    align-items: flex-end;  /* ← 名カードを下に配置 */
  }
}
.top-profile-name-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 18px 22px;
  border-left: 4px solid var(--color-red);
  max-width: 500px;
}
.top-profile-name-card h3 { font-size: 24px; margin: 0 0 8px; }
.top-profile-name-card p { font-size: 16px; line-height: 1.7; margin: 0; }

/* ============================================
   プロフィールページ
   ============================================ */
.profile-page-section { padding: 60px 0; }
.profile-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
  padding: 40px;
  align-items: center;
}
.profile-block.bg-blue { background: var(--color-bg-blue); }
.profile-block.bg-gray { background: var(--color-bg-gray); }
.profile-block.reverse > :first-child { order: 2; }
.profile-block-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.profile-block-content ul { line-height: 2; }
.profile-block-img img { width: 100%; height: auto; display: block; }
@media (max-width: 767px) {
  .profile-block { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .profile-block.reverse > :first-child { order: 0; }
}

/* ============================================
   政策ページ（元サイト準拠）
   ============================================ */
.policy-page { padding: 60px 0; }
.policy-genre {
  margin-bottom: 60px;
}
.policy-genre-header {
  background: var(--color-red);
  color: #fff;
  text-align: center;
  padding: 14px 24px;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.policy-genre-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .policy-genre-body { grid-template-columns: 1fr; gap: 20px; }
}
.policy-genre-img img { width: 100%; height: auto; display: block; border-radius: 4px; }
.policy-genre-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-light);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-red);
}
.policy-list { display: flex; flex-direction: column; gap: 16px; }
.policy-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.policy-list-item::before {
  content: "▶";
  color: var(--color-red);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 6px;
}
.policy-list-item-body { flex: 1; }
.policy-list-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-red);
  margin: 0 0 4px;
}
.policy-list-item-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
}

/* 4本柱バージョン（オプション） */
.policy-pillars { margin: 60px 0; }
.policy-pillar {
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
}
.policy-pillar-header {
  background: var(--color-red);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.policy-pillar-num {
  background: #fff;
  color: var(--color-red);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.policy-pillar-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.policy-pillar-body { padding: 24px; }

/* ============================================
   事務所案内ページ
   ============================================ */
.office-section { padding: 60px 0; }
.office-info {
  background: var(--color-bg-soft);
  padding: 32px;
  border-radius: 4px;
  max-width: 760px;
  margin: 0 auto 40px;
}
.office-info table {
  width: 100%;
  border-collapse: collapse;
}
.office-info th, .office-info td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #fff;
  vertical-align: top;
}
.office-info th {
  width: 30%;
  font-weight: 700;
  color: var(--color-red);
}
.office-map {
  aspect-ratio: 16/9;
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 14px;
}
.office-map iframe { width: 100%; height: 100%; border: 0; }

/* ============================================
   後援会SUPPORTページ
   ============================================ */
.support-section { padding: 60px 0; }
.support-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;          /* ← flex-start から center に変更 */
  justify-content: center;      /* ← 追加：全体を中央寄せ */
  max-width: 900px;             /* ← 追加：最大幅を制限 */
  margin: 0 auto 48px;          /* ← margin-bottom: 48px から書き換え（中央寄せ） */
}
@media (max-width: 767px) {
  .support-intro {
    grid-template-columns: 1fr;
    justify-items: center;    /* ← 追加：グリッド内の各要素を中央配置 */
    gap: 24px;
  }

  .support-intro-img img {
    max-width: 160px;         /* ← 追加：画像を小さく（PC: 280px → SP: 200px） */
  }

  .support-intro-text {
    text-align: left;         /* テキストは左寄せのまま */
    max-width: 100%;
    font-size: 18px;
  }

  .support-intro-text p {
    font-size: 16px;          /* ← スマホでは少し小さめに */
    line-height: 1.9;
  }

  .support-intro-text .note {
    text-align: left;         /* 注釈は読みやすく左寄せのまま */
  }
}
.support-intro-img { text-align: center; }
.support-intro-img img { width: 100%; max-width: 280px; height: auto; }
.support-intro-img-caption { font-size: 13px; color: var(--color-text-light); margin-top: 8px; }
.support-intro-text p {
  margin: 0 0 1em;
  line-height: 1.9;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
}
.support-intro-text .note {
  font-size: 13px;
  color: var(--color-text-light);
  border-top: 1px dashed var(--color-border);
  padding-top: 16px;
  margin-top: 24px;
}
.support-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 600px) {
  .support-photos { grid-template-columns: 1fr; }
}
.support-photo img { width: 100%; height: auto; border-radius: 4px; }
.support-photo p { font-size: 13px; color: var(--color-text-light); text-align: center; margin-top: 8px; }

/* フォーム */
.support-form { max-width: 760px; margin: 0 auto; }
.form-row { margin-bottom: 24px; }
.form-row label.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-row label.form-label .required { color: var(--color-red); font-size: 12px; margin-left: 4px; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}
.form-radio-group { display: flex; gap: 16px; }
.form-radio-group label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.form-submit {
  display: inline-block;
  background: var(--color-red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 56px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.85; }

/* 後援会規約 */
.support-rules { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--color-border); }
.support-rules-title { font-size: 18px; font-weight: 700; margin: 0 0 20px; color: var(--color-red); }
.support-rules ol { padding-left: 1.5em; line-height: 1.9; }
.support-rules ol li { list-style-type: decimal; padding-left: 8px; }

/* ============================================
   お問い合わせページ
   ============================================ */
.contact-section { padding: 60px 0; }
.contact-intro { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.contact-intro h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--color-red);
  font-weight: 700;
  margin: 0 0 16px;
}
.contact-form-wrap { max-width: 760px; margin: 0 auto; }
.contact-note {
  background: var(--color-bg-soft);
  padding: 16px;
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}
.contact-note strong { display: block; color: var(--color-text); margin-bottom: 8px; }

/* ============================================
   ブログ一覧／詳細
   ============================================ */
.blog-archive-section { padding: 60px 0; }
.blog-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.blog-list-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}
.blog-list-thumb {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  background: var(--color-bg-gray);
  overflow: hidden;
}
.blog-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-list-body { flex: 1; min-width: 0; }
.blog-list-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; line-height: 1.5; }
.blog-list-title a { color: var(--color-text); }
.blog-list-title a:hover { color: var(--color-red); opacity: 1; }
.blog-list-date { font-size: 13px; color: var(--color-text-muted); }

/* 単一記事 */
.blog-single { padding: 60px 0; max-width: 820px; margin: 0 auto; }
.blog-single-title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin: 0 0 12px; line-height: 1.5; }
.blog-single-meta { font-size: 14px; color: var(--color-text-muted); margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.blog-single-content { line-height: 1.9; }
.blog-single-content h2 { font-size: 22px; margin: 32px 0 16px; padding-left: 14px; border-left: 5px solid var(--color-red); }
.blog-single-content h3 { font-size: 18px; margin: 24px 0 12px; color: var(--color-red); }
.blog-single-content p { margin: 0 0 1.2em; }
.blog-single-content img { margin: 16px auto; max-width: 100%; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 14px;
  background: var(--color-bg-gray);
  font-size: 14px;
}
.pagination .current { background: var(--color-red); color: #fff; }

/* ============================================
   フッター上 BLOG セクション（共通）
   ============================================ */
.footer-blog { padding: 60px 0; background: #fff; border-top: 1px solid var(--color-border); }
.footer-blog-title {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-red);
  margin: 0 0 24px;
  letter-spacing: 0.1em;
}
.footer-blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 767px) { .footer-blog-list { grid-template-columns: 1fr; } }
.footer-blog-item { display: flex; gap: 16px; align-items: flex-start; }
.footer-blog-item-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: var(--color-bg-gray);
  overflow: hidden;
}
.footer-blog-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.footer-blog-item-body { flex: 1; min-width: 0; }
.footer-blog-item-title { font-size: 14px; font-weight: 500; margin: 0 0 6px; line-height: 1.5; }
.footer-blog-item-date { font-size: 12px; color: var(--color-text-muted); }

/* ============================================
   サイトフッター
   ============================================ */
.site-footer { background: #2a2a2a; color: rgba(255, 255, 255, 0.85); padding: 40px 0 20px; }
.site-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.site-footer-logo img { width: auto; height: 80px; }
.site-footer-name { font-size: 14px; }
.site-footer-nav { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; font-size: 13px; }
.site-footer-nav a { color: rgba(255, 255, 255, 0.85); }
.site-footer-nav a:hover { color: #fff; opacity: 1; }
.site-footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

/* ============================================
   ページトップへ戻る
   ============================================ */
.page-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--color-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.page-top.is-visible { opacity: 1; pointer-events: auto; }
.page-top:hover { opacity: 0.85; color: #fff; }

/* ============================================
   ユーティリティ
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ============================================
   Instagram フィードセクション
   ============================================ */
.instagram-section {
  padding: 80px 0;
  background: #fff;
}

.instagram-en-title {
  text-align: center;
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: 0.4em;
  margin: 0 0 40px;
  position: relative;
  padding-bottom: 16px;
}

.instagram-en-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #80c8d4; /* 元サイトの水色アンダーライン */
}

.instagram-feed-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* Smash Balloonの出力に対する微調整 */
.instagram-feed-wrap .sbi_photo_wrap {
  border-radius: 4px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .instagram-section {
    padding: 60px 0;
  }
}
/* ============================================
   ACCOMPANY US セクション
   ============================================ */
.accompany-section {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}

/* 英字タイトル */
.accompany-en-title {
  text-align: center;
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #7cba88;
  margin: 0 0 16px;
  padding: 0 0 16px;
  position: relative;
  display: block;
}

.accompany-en-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #7cba88;
}

/* リード文 */
.accompany-lead {
  text-align: center;
  color: #7cba88;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  margin: 0 0 60px;
  letter-spacing: 0.05em;
}

/* グリッド */
.accompany-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  align-items: stretch;
}

/* 区切り縦線（PC・タブレット） */
.accompany-grid > .accompany-item + .accompany-item {
  border-left: 1px solid #7cba88;
}

/* 各項目 */
.accompany-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 24px 16px;
  text-align: center;
  color: #7cba88;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.accompany-item:hover {
  color: #5a9a68;
  opacity: 1;
  transform: translateY(-4px);
}

.accompany-item-title {
  display: block;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7cba88;
  margin: 0;
}

.accompany-item-arrow {
  display: block;
  width: 80px;
  height: auto;
  margin: 0 auto;
}

.accompany-item-arrow img {
  width: 100%;
  height: auto;
  display: block;
}

/* スマホ：縦並び＋中央揃え */
@media (max-width: 767px) {
  .accompany-section {
    padding: 60px 16px;
  }
  .accompany-en-title {
    font-size: 26px;
    letter-spacing: 0.2em;
  }
  .accompany-lead {
    font-size: 14px;
    margin-bottom: 40px;
    line-height: 1.7;
  }
  .accompany-grid {
    grid-template-columns: 1fr;
  }
  .accompany-grid > .accompany-item + .accompany-item {
    border-left: 0;
    border-top: 1px solid #7cba88;
  }
  .accompany-item {
    padding: 32px 16px;
    align-items: center !important;
    text-align: center !important;
  }
  .accompany-item-arrow {
    width: 64px;
  }
}

/* ============================================
   フッターSNSアイコン
   ============================================ */
.site-footer-sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 8px 0 16px;
}

.site-footer-sns a {
  display: block;
  width: 40px;
  height: 40px;
  transition: opacity 0.2s, transform 0.2s;
  opacity: 0.85;
}

.site-footer-sns a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.site-footer-sns img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 767px) {
  .site-footer-sns {
    gap: 16px;
  }
  .site-footer-sns a {
    width: 36px;
    height: 36px;
  }
}
/* ============================================
   ブログ・お知らせ一覧ページ
   ============================================ */

/* ヘッダー部 */
.blog-header {
  padding: 40px 0 24px;
  background: #fff;
}

.blog-header-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}

.blog-breadcrumb {
  font-size: 13px;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.blog-breadcrumb a {
  color: var(--color-text-light);
}

.blog-breadcrumb a:hover {
  color: var(--color-red);
  opacity: 1;
}

.blog-breadcrumb-sep {
  margin: 0 8px;
  color: var(--color-text-muted);
}

/* 記事一覧セクション */
.blog-list-section {
  padding: 40px 0 80px;
}

.blog-card-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}

/* 各記事カード */
.blog-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.blog-card:last-child {
  border-bottom: 0;
}

/* サムネイル */
.blog-card-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-gray);
  overflow: hidden;
  border-radius: 4px;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-gray);
}

/* カテゴリーラベル（画像左上） */
.blog-card-category {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(245, 245, 245, 0.95);
  color: var(--color-text);
  font-size: 11px;
  padding: 4px 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* 記事本文 */
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  padding-bottom: 48px;  /* 続きを読むボタン分の余白 */
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

.blog-card-title a {
  color: var(--color-text);
}

.blog-card-title a:hover {
  color: var(--color-red);
  opacity: 1;
}

.blog-card-date {
  font-size: 13px;
  color: var(--color-text-light);
  margin: 0;
}

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0;
}

/* 「続きを読む」ボタン（右下） */
.blog-card-readmore {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-block;
  background: var(--color-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 24px;
  letter-spacing: 0.05em;
  border-radius: 0;
  transition: opacity 0.2s;
}

.blog-card-readmore:hover {
  color: #fff;
  opacity: 0.85;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .blog-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-card-thumb {
    aspect-ratio: 16 / 9;
  }
  .blog-card-title {
    font-size: 16px;
  }
  .blog-card-body {
    padding-bottom: 56px;
  }
}

/* ページネーション */
.blog-pagination {
  margin-top: 48px;
  text-align: center;
}

.blog-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  background: var(--color-bg-gray);
  font-size: 14px;
  color: var(--color-text);
  min-width: 40px;
  text-align: center;
}

.blog-pagination .page-numbers:hover {
  background: var(--color-bg-soft);
  opacity: 1;
}

.blog-pagination .page-numbers.current {
  background: var(--color-red);
  color: #fff;
}
/* ============================================
   後援会フォーム iframe埋め込み
   ============================================ */
.support-form-iframe-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.support-form-iframe {
  width: 100%;
  height: 1200px;        /* フォームの高さに応じて調整 */
  border: 0;
  display: block;
}

.support-form-fallback {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
  margin: 16px 0 0;
}

.support-form-fallback a {
  color: var(--color-red);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .support-form-iframe {
    height: 1400px;      /* スマホでは縦長になるので高さを増やす */
  }
}