/* =========================================================
   重岡しんいち候補者サイト スタイルシート
   配色はリーフレットのピンク×シアンのデュオトーンを踏襲。
   :root 内の変数だけ書き換えれば全体の配色が変わります。
   ========================================================= */

:root{
  /* ---- Color tokens(PDFリーフレットからピクセル抽出した実際の配色) ---- */
  --color-navy:        #2056ae; /* 見出し・強調テキスト・番号バッジ(リーフレットの濃い青) */
  --color-pink:        #f681a4; /* ブランドカラー1(リーフレットの強いピンク) */
  --color-pink-soft:   #fbccd7; /* ピンクの淡色背景(リーフレットと同一) */
  --color-cyan:        #47c3df; /* ブランドカラー2(リーフレットの強いシアン) */
  --color-cyan-soft:   #b3e6f0; /* シアンの淡色背景(リーフレットと同一) */
  --color-text:        #1a1a1a; /* 本文(リーフレットの黒に近い文字色) */
  --color-text-light:  #5a5a5a;
  --color-bg:          #ffffff;
  --color-border:      #e7e7e7;

  --font-sans:  'Noto Sans JP', sans-serif;

  --header-height: 76px;
  --container-width: 1080px;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body{
  margin:0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,p{ margin:0; }
button{ font:inherit; border:none; background:none; cursor:pointer; }

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

.pc-only{ display:inline; }
.sp-only{ display:none; }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}
.header-inner{
  max-width: var(--container-width);
  margin:0 auto;
  height:100%;
  padding: 0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{ display:flex; flex-direction:column; line-height:1.2; }
.logo-name{
  font-weight:900;
  font-size:1.3rem;
  color: var(--color-navy);
}
.logo-sub{
  font-size:0.62rem;
  letter-spacing:.03em;
  color: var(--color-text-light);
}

.global-nav ul{ display:flex; align-items:center; gap:28px; }
.nav-link{
  font-size:0.88rem;
  font-weight:700;
  position:relative;
  padding:4px 0;
  color: var(--color-navy);
}
.nav-link::after{
  content:"";
  position:absolute; left:0; bottom:-2px;
  width:0; height:3px;
  background: var(--color-pink);
  transition: width .25s ease;
}
.nav-link:hover::after{ width:100%; }
.nav-cta{
  background: var(--color-pink);
  color:#fff !important;
  padding:10px 22px !important;
  border-radius: 999px;
}
.nav-cta::after{ display:none; }
.nav-cta:hover{ background:#e0678f; }

.nav-toggle{
  display:none;
  width:40px; height:32px;
  position:relative;
  z-index:1100;
}
.nav-toggle span{
  position:absolute; left:0; right:0; height:2px;
  background: var(--color-navy);
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.nav-toggle span:nth-child(1){ top:4px; }
.nav-toggle span:nth-child(2){ top:15px; }
.nav-toggle span:nth-child(3){ top:26px; }
.nav-toggle.is-open span:nth-child(1){ top:15px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ top:15px; transform: rotate(-45deg); }

/* ---------- Hero (写真を左・名前を右に大きく。写真は切り取らず全体表示) ---------- */
.hero{
  position:relative;
  padding-top: var(--header-height);
  background:#f3f5f8;
  overflow:hidden;
}
.hero-inner{
  max-width:1480px; margin:0 auto;
  display:grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  align-items:end;
}
.hero-photo{
  align-self:end;
  display:flex; justify-content:center; align-items:flex-end;
}
.hero-photo img{
  display:block;
  width:auto; height:auto;
  max-width:100%;
  max-height: min(94vh, 900px);
  mix-blend-mode:multiply;          /* 写真の白い背景を、薄い背景色になじませる */
}
.hero-photo{ position:relative; align-self:stretch; overflow:hidden; min-height:520px; margin-right:-24px; }
.hero-photo img{
  position:absolute; left:50%; top:calc(-8.5% + 50px); transform:translateX(-46%);
  height:122%; width:auto; max-width:none; max-height:none;   /* 少し大きく表示して、頭上の余白を切り落とす */
}
.hero-body{
  align-self:end;
  padding: 120px 0 0 24px;
}
.hero-catch{ margin:0 0 16px; line-height:0; }
.hero-catch img{ display:block; width:min(100%,560px); height:auto; }
.hero-slogan{
  font-size: clamp(.95rem, 1.45vw, 1.3rem);
  font-weight:900;
  letter-spacing:.12em;
  color: var(--color-pink);
  margin-bottom:10px;
}
.hero-role{
  font-size: clamp(1.05rem, 1.9vw, 1.7rem);
  font-weight:900;
  color:#222;
  margin-bottom:14px;
}
.hero-role small{ font-size:.62em; font-weight:700; margin-left:.4em; }
/* 名前プレート:パンフ表紙と同じ「水色+右下ピンク」の背景に白抜き文字 */
.hero-plate{
  position:relative; isolation:isolate;
  padding: 20px 28px 28px 32px;
  margin-bottom:0;
  color:#fff;
}
.hero-plate::before, .hero-plate::after{
  content:""; position:absolute; z-index:-1;
  top:0; bottom:0; left:0; right:-60vw;     /* 右は画面の端まで伸ばす(はみ出しは非表示) */
}
.hero-plate::before{ background:#f79ab4; }
.hero-plate::after{
  background: var(--color-cyan);
  clip-path: polygon(0 0, 100% 0, 100% 52%, 0 90%);
}
.hero-party{ margin:0 0 6px; line-height:0; }
.hero-party img{ display:block; width:clamp(120px,15vw,200px); height:auto; }
.hero-name{ margin:0; line-height:0; }
.hero-name img{ display:block; width:min(100%,520px); height:auto; }
.hero-sns{ display:flex; gap:14px; }
.hero-plate .hero-sns{ position:absolute; right:44px; top:-42px; z-index:2; }
.hero-sns a{
  display:flex; align-items:center; justify-content:center;
  width:76px; height:76px; border-radius:50%;
  border:3px solid #fff; background:#fff; box-shadow:0 3px 10px rgba(0,0,0,.18);
  transition: transform .2s;
}
.hero-sns a:hover{ transform:translateY(-3px); }
.hero-sns svg{ width:38px; height:38px; fill:currentColor; }
.hero-sns .sns-ig{ color:#d6249f; }
.hero-sns .sns-ig svg{ fill:none; stroke:currentColor; stroke-width:2; }
.hero-sns .sns-fb{ color:#1877f2; }

/* ---------- Section common ---------- */
.section{ padding: 100px 0; }
.section-title{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:6px;
  margin-bottom:48px;
}
.section-title-en{
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:.25em;
  color: var(--color-pink);
}
.section-title-ja{
  font-size:1.7rem;
  font-weight:900;
  color: var(--color-navy);
  position:relative;
  padding-bottom:18px;
  line-height:1.5;
}
.section-title-ja::after{
  content:"";
  position:absolute; bottom:0; left:50%;
  transform:translateX(-50%);
  width:46px; height:4px;
  background: var(--color-cyan);
  border-radius:2px;
}
.section-title.light .section-title-ja{ color: var(--color-navy); }
.section-title.light .section-title-ja::after{ background: var(--color-pink); }
.section-lead{
  text-align:center;
  font-weight:700;
  margin: -20px auto 40px;
  max-width:720px;
  color: var(--color-navy);
}

/* ---------- Profile ---------- */
.profile-section{ background:#fff; }
.profile-grid{
  display:grid;
  grid-template-columns: 300px 1fr;
  gap:56px;
  align-items:start;
}
.profile-photo img{ width:100%; aspect-ratio:4 / 5; object-fit:cover; object-position:center 12%; border-radius:8px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.profile-name{
  font-size:1.5rem;
  font-weight:900;
  color: var(--color-navy);
  margin-bottom:6px;
}
.profile-role{
  font-size:0.88rem;
  color: var(--color-text-light);
  margin-bottom:24px;
}
.profile-facts{
  border-top:1px solid var(--color-border);
  margin-bottom:24px;
}
.profile-facts li{
  display:flex;
  gap:24px;
  padding:12px 0;
  border-bottom:1px solid var(--color-border);
  font-size:0.9rem;
}
.profile-facts .label{
  flex:0 0 110px;
  font-weight:700;
  color: var(--color-pink);
}
.profile-text{ margin-bottom:16px; font-size:0.95rem; }

/* ---------- Vision ---------- */
.vision-section{ background: var(--color-pink-soft); }
.vision-inner{ max-width:800px; margin:0 auto; text-align:center; }
.vision-text{ text-align:left; font-size:0.98rem; }
.vision-text p{ margin-bottom:20px; }
.more-text{ display:none; }
.more-text.is-open{ display:block; }
.more-btn{
  display:block;
  margin:0 auto;
  padding:10px 32px;
  border:2px solid var(--color-pink);
  color: var(--color-pink);
  border-radius:999px;
  font-size:0.85rem;
  font-weight:700;
  transition: background .2s ease, color .2s ease;
}
.more-btn:hover{ background: var(--color-pink); color:#fff; }

/* ---------- Policy ---------- */
.policy-section{ background:#fff; }
.policy-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:24px;
}
.policy-card{
  background: var(--color-cyan-soft);
  padding:32px 24px;
  border-radius:12px;
  border-left: 6px solid var(--color-cyan);
}
.policy-card:nth-child(even){
  background: var(--color-pink-soft);
  border-left-color: var(--color-pink);
}
.policy-num{
  font-size:1.8rem;
  font-weight:900;
  color: var(--color-navy);
  opacity:.35;
  margin-bottom:10px;
}
.policy-title{
  font-size:1.02rem;
  font-weight:700;
  color: var(--color-navy);
  line-height:1.6;
}

/* ---------- Action (4つの繋ぐ重点施策) ---------- */
.action-section{ background:#fff; }
.action-section .section-lead{ color: var(--color-navy); }
.action-intro, .action-outro{
  max-width:820px;
  margin: 0 auto 48px;
  font-size:0.95rem;
  color: var(--color-text);
  text-align:center;
}
.action-outro{ margin: 48px auto 0; }

.action-list{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:28px;
}
.action-card{
  border-radius:14px;
  padding:32px 28px;
  color: var(--color-text);
}
.action-card--pink{ background: var(--color-pink-soft); }
.action-card--cyan{ background: var(--color-cyan-soft); }
.action-num{
  display:inline-flex;
  align-items:baseline;
  gap:4px;
  font-weight:900;
  font-size:1rem;
  color: var(--color-navy);
  margin-bottom:14px;
}
.action-num span{ font-size:1.8rem; }
.action-title{
  font-size:1.15rem;
  font-weight:900;
  color: var(--color-navy);
  line-height:1.5;
  margin-bottom:18px;
}
.action-details{ display:flex; flex-direction:column; gap:14px; }
.action-details li{ font-size:0.88rem; line-height:1.8; }
.action-details strong{
  display:block;
  color: var(--color-navy);
  font-size:0.92rem;
  margin-bottom:4px;
}

/* ---------- Supporters ---------- */
.supporters-section{ background: var(--color-cyan-soft); }
.supporters-lead{
  max-width:760px;
  margin: 0 auto 40px;
  text-align:center;
  font-size:0.95rem;
}
.supporters-subtitle{
  text-align:center;
  font-size:1.1rem;
  font-weight:900;
  color: var(--color-navy);
  margin-bottom:24px;
}
.supporters-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
  margin-bottom:32px;
}
.supporters-card{
  background:#fff;
  border-radius:12px;
  padding:28px 20px;
  text-align:center;
}
.supporters-num{
  width:36px; height:36px;
  border-radius:50%;
  background: var(--color-navy);
  color:#fff;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 14px;
}
.supporters-card p{ font-size:0.88rem; }
.supporters-note{
  max-width:720px;
  margin:0 auto 28px;
  text-align:center;
  font-size:0.85rem;
  color: var(--color-text-light);
}
.btn-outline{
  display:block;
  width:fit-content;
  margin:0 auto;
  padding:14px 40px;
  border:2px solid var(--color-navy);
  color: var(--color-navy);
  border-radius:999px;
  font-size:0.9rem;
  font-weight:700;
  transition: background .2s ease, color .2s ease;
}
.btn-outline:hover{ background: var(--color-navy); color:#fff; }

/* ---------- Contact ---------- */
.contact-section{
  background: var(--color-cyan-soft);
  color: var(--color-text);
  text-align:center;
}
.contact-name{ font-size:1.05rem; font-weight:700; margin-bottom:20px; color: var(--color-navy); }
.contact-list{ margin-bottom:16px; font-size:0.9rem; }
.contact-list li{ margin-bottom:6px; }
.contact-list a{ text-decoration:underline; color: var(--color-navy); }
.contact-caution{ font-size:0.78rem; color: var(--color-text-light); margin-bottom:32px; }
.btn-cta{
  display:inline-block;
  padding:16px 48px;
  background: var(--color-pink);
  color:#fff;
  font-weight:700;
  border-radius:999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-cta:hover{ transform: translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.25); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--color-navy); color:#fff; padding:40px 0; }
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap:20px; }
.footer-nav ul{ display:flex; flex-wrap:wrap; justify-content:center; gap:24px; }
.footer-nav a{ font-size:0.8rem; }
.footer-nav a:hover{ text-decoration:underline; }
.footer-copy{ font-size:0.75rem; color:#b9cdec; }


/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px){
  .profile-grid{ grid-template-columns: 1fr; }
  .profile-photo{ max-width:280px; margin:0 auto; }
  .policy-grid{ grid-template-columns: repeat(2, 1fr); }
  .action-list{ grid-template-columns: 1fr; }
  .supporters-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 680px){
  :root{ --header-height: 64px; }
  .pc-only{ display:none; }
  .sp-only{ display:inline; }

  .global-nav{
    position:fixed;
    top: var(--header-height);
    left:0; right:0; bottom:0;
    background:#fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y:auto;
  }
  .global-nav.is-open{ transform: translateX(0); }
  .global-nav ul{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:16px 24px 40px;
  }
  .global-nav li{ border-bottom:1px solid var(--color-border); }
  .nav-link{ display:block; padding:18px 4px; font-size:1rem; }
  .nav-cta{
    margin-top:20px;
    text-align:center;
    border-radius:999px;
  }
  .nav-toggle{ display:block; }

  .hero-inner{ grid-template-columns: 1fr; }
  .hero-photo{ position:static; overflow:visible; min-height:0; }
  .hero-photo img{
    position:static; transform:none; height:auto; width:auto; max-width:100%;
    max-height: min(62vh, 520px);
    -webkit-mask-image: linear-gradient(#000 78%, transparent 100%);
            mask-image: linear-gradient(#000 78%, transparent 100%);   /* 下を背景色にふんわり溶かす */
  }
  .hero-body{ padding: 4px 20px 0; text-align:center; }
  .hero-catch{ margin-bottom:14px; }
  .hero-catch img{ width:min(88%,380px); margin:0 auto; }
  .hero-slogan{ font-size:.82rem; letter-spacing:.04em; }
  .hero-role{ font-size:1rem; }
  .hero-plate{ margin:0 -20px 0; padding:22px 20px 30px; text-align:left; }
  .hero-plate::before, .hero-plate::after{ right:0; }
  .hero-name img{ width:min(86%,400px); }
  .hero-party img{ width:clamp(110px,30vw,150px); }
  .hero-plate .hero-sns{ position:absolute; right:20px; top:-36px; gap:10px; }
  .hero-role{ margin-bottom:34px; }

  .section{ padding: 64px 0; }
  .policy-grid{ grid-template-columns: 1fr; }
  .profile-facts li{ flex-direction:column; gap:2px; }
  .profile-facts .label{ flex:none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition-duration:0.01ms !important; animation-duration:0.01ms !important; }
}

/* ---------- WordPress用の追加 ---------- */
.admin-bar .site-header{ top:32px; }
@media (max-width:782px){ .admin-bar .site-header{ top:46px; } }
@media (max-width:680px){
  .admin-bar .global-nav{ top: calc(var(--header-height) + 46px); }
}
.wp-fallback{ padding: calc(var(--header-height) + 60px) 0 80px; min-height:60vh; }
.wp-fallback-title{ font-size:1.6rem; font-weight:900; color:var(--color-navy); margin-bottom:24px; }
.wp-fallback-body{ font-size:0.95rem; }
.wp-fallback-body p{ margin-bottom:1.2em; }

/* =========================================================
   後援会「伸友会」ページ(template-koenkai.php)
   ========================================================= */
.kk-hero{
  margin-top: var(--header-height);
  padding: 72px 0 64px;
  text-align:center;
  background: linear-gradient(135deg, var(--color-pink-soft) 0%, var(--color-cyan-soft) 100%);
}
.kk-hero-label{
  display:inline-block; padding:4px 18px; border-radius:999px;
  background:#fff; color:var(--color-navy); font-weight:700; font-size:.85rem; letter-spacing:.15em;
}
.kk-hero-name{
  margin:18px 0 8px; font-size:3.4rem; font-weight:900; letter-spacing:.2em;
  color:var(--color-navy); line-height:1.3;
}
.kk-hero-name small{ display:block; font-size:.95rem; letter-spacing:.3em; color:var(--color-pink); font-weight:700; }
.kk-hero-main{ font-size:1.35rem; font-weight:700; color:var(--color-navy); margin-bottom:14px; }
.kk-hero-sub{ font-size:1rem; margin-bottom:6px; }
.kk-hero .btn-cta{ margin-top:28px; display:inline-block; }

.kk-lead{ max-width:760px; margin:0 auto 48px; text-align:center; font-size:1.05rem; font-weight:500; }
.kk-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.kk-card{
  background:#fff; border:1px solid var(--color-border); border-top:5px solid var(--color-pink);
  border-radius:8px; padding:28px 24px; box-shadow:0 6px 18px rgba(32,86,174,.06);
}
.kk-card:nth-child(2){ border-top-color:var(--color-cyan); }
.kk-card:nth-child(3){ border-top-color:var(--color-navy); }
.kk-card-num{ font-weight:900; font-size:.85rem; letter-spacing:.2em; color:var(--color-pink); }
.kk-card h3{ font-size:1.12rem; color:var(--color-navy); margin:6px 0 12px; line-height:1.5; }
.kk-card p{ font-size:.92rem; }

.kk-join{ background:var(--color-cyan-soft); }
.kk-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:48px; }
.kk-step{ background:#fff; border-radius:8px; padding:22px 20px; text-align:center; font-size:.92rem; }
.kk-step b{
  display:flex; width:40px; height:40px; margin:0 auto 10px; align-items:center; justify-content:center;
  border-radius:50%; background:var(--color-navy); color:#fff; font-size:1.05rem;
}

.kk-form-box{
  max-width:720px; margin:0 auto; background:#fff; border-radius:10px; padding:36px 32px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.kk-form-box h3{ text-align:center; color:var(--color-navy); font-size:1.25rem; margin-bottom:6px; }
.kk-form-box .kk-form-note{ text-align:center; font-size:.85rem; color:var(--color-text-light); margin-bottom:26px; }
.kk-form-box label{ display:block; font-weight:700; font-size:.92rem; margin-bottom:18px; }
.kk-req{ display:inline-block; margin-left:6px; padding:0 8px; border-radius:3px; background:var(--color-pink); color:#fff; font-size:.7rem; font-weight:700; vertical-align:middle; }
.kk-form-box input[type=text],
.kk-form-box input[type=email],
.kk-form-box input[type=tel],
.kk-form-box select,
.kk-form-box textarea{
  display:block; width:100%; margin-top:6px; padding:12px 14px; font:inherit; font-weight:400;
  border:1px solid #cfcfcf; border-radius:6px; background:#fff;
}
.kk-form-box input:focus, .kk-form-box select:focus, .kk-form-box textarea:focus{ outline:2px solid var(--color-cyan); border-color:var(--color-cyan); }
.kk-form-box .wpcf7-list-item{ margin:0; display:block; font-weight:400; }
.kk-agree{ background:#f6f8fc; border-radius:6px; padding:14px 16px; font-size:.85rem; margin-bottom:22px; }
.kk-form-box .wpcf7-submit{
  display:block; width:100%; max-width:360px; margin:8px auto 0; padding:16px; font:inherit; font-size:1.05rem; font-weight:700;
  color:#fff; background:var(--color-navy); border:none; border-radius:999px; cursor:pointer;
}
.kk-form-box .wpcf7-submit:hover{ background:var(--color-pink); }

.kk-qr{ text-align:center; margin-top:40px; font-size:.9rem; }
.kk-note{ max-width:720px; margin:36px auto 0; font-size:.8rem; color:var(--color-text-light); }

@media (max-width: 768px){
  .kk-hero{ padding:48px 0 44px; }
  .kk-hero-name{ font-size:2.4rem; letter-spacing:.12em; }
  .kk-hero-main{ font-size:1.1rem; }
  .kk-grid, .kk-steps{ grid-template-columns:1fr; }
  .kk-form-box{ padding:26px 18px; }
}

/* =========================================================
   2026-10 追加:政党表記・施策イラスト・決意リスト・プロフィール長文
   ========================================================= */
.vision-list{ margin:0 0 20px; padding:0; }
.vision-list li{
  display:flex; gap:12px; margin-bottom:10px; font-weight:700; color:#c0334f; line-height:1.7;
}
.vision-list li b{
  flex:0 0 28px; height:28px; border-radius:50%; background:var(--color-pink); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:.85rem; margin-top:2px;
}
.policy-grid.policy-grid--4{ grid-template-columns:repeat(2,1fr); }

/* 施策カード:色をリーフレット通り(ピンク/水色/水色/ピンク)に */
.action-card--cyan2{ background: var(--color-cyan-soft); }
.action-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:6px; }
.action-head .action-title{ margin-bottom:12px; flex:1 1 auto; }
.action-ill{ flex:0 0 auto; width:38%; max-width:190px; height:auto; margin:-8px 0 8px; }
.action-lead{ max-width:820px; margin:0 auto 40px; text-align:center; font-weight:500; }
.action-lead p{ margin-bottom:6px; }
.action-lead em{ font-style:normal; font-weight:700; color:var(--color-navy); background:linear-gradient(transparent 62%, var(--color-cyan-soft) 62%); }

.profile-facts .value{ flex:1 1 auto; }
.profile-facts .value small{ display:inline-block; margin:2px 8px 2px 0; padding:0 8px; border:1px solid var(--color-cyan); color:var(--color-navy); font-size:.72rem; font-weight:700; border-radius:3px; }

@media (max-width: 768px){
  .policy-grid.policy-grid--4{ grid-template-columns:1fr; }
  .action-head{ flex-direction:column-reverse; align-items:flex-start; }
  .action-ill{ width:62%; max-width:230px; margin:0 0 6px; }
}

/* =========================================================
   活動アルバム(template-album.php / [shigeoka_album])
   ギャラリーブロックや下記のHTMLを、写真立て風に表示します
   ========================================================= */
.album-wrap{ padding:56px 0 96px; }
.album-wrap h2, .album-wrap .wp-block-heading{
  font-size:1.35rem; color:var(--color-navy); margin:56px 0 22px; padding-left:14px;
  border-left:6px solid var(--color-pink); line-height:1.4;
}
.album-wrap h2:first-child{ margin-top:0; }
.album-wrap > .container > p{ margin-bottom:16px; }

.album-grid,
.album-wrap .wp-block-gallery{
  display:grid !important; grid-template-columns:repeat(3,1fr); gap:34px 26px;
  margin:0 0 24px !important; padding:6px 4px 0;
}
.album-grid figure,
.album-wrap .wp-block-gallery figure.wp-block-image,
.album-wrap figure.wp-block-image{
  position:relative; display:block; margin:0 !important; width:auto !important; flex:none !important;
  background:#fff; padding:10px 10px 12px; box-shadow:0 6px 16px rgba(0,0,0,.14);
  transform:rotate(-1.2deg); transition:transform .25s, box-shadow .25s;
}
.album-grid figure:nth-child(even),
.album-wrap .wp-block-gallery figure.wp-block-image:nth-child(even){ transform:rotate(1deg); }
.album-grid figure:nth-child(3n),
.album-wrap .wp-block-gallery figure.wp-block-image:nth-child(3n){ transform:rotate(-.4deg); }
.album-grid figure:hover,
.album-wrap .wp-block-gallery figure.wp-block-image:hover{ transform:rotate(0) translateY(-4px); box-shadow:0 12px 26px rgba(0,0,0,.2); }
.album-grid figure::before,
.album-wrap .wp-block-gallery figure.wp-block-image::before{
  content:""; position:absolute; top:-10px; left:50%; width:64px; height:20px; margin-left:-32px;
  background:rgba(246,129,164,.55); transform:rotate(-3deg); z-index:2;
}
.album-grid figure:nth-child(even)::before,
.album-wrap .wp-block-gallery figure.wp-block-image:nth-child(even)::before{ background:rgba(71,195,223,.55); transform:rotate(3deg); }
.album-grid img,
.album-wrap .wp-block-gallery figure.wp-block-image img,
.album-wrap figure.wp-block-image img{
  display:block; width:100% !important; height:auto !important; aspect-ratio:4/3; object-fit:cover !important;
  cursor:zoom-in;
}
.album-grid figcaption,
.album-wrap .wp-block-gallery figure.wp-block-image figcaption,
.album-wrap figure.wp-block-image figcaption{
  position:static !important; background:none !important; color:var(--color-text) !important;
  padding:10px 2px 0 !important; margin:0 !important; font-size:.82rem; line-height:1.6;
  text-align:center; max-height:none !important; overflow:visible !important; text-shadow:none !important;
}
.album-empty{ text-align:center; color:var(--color-text-light); padding:40px 0; }

/* トップページのアルバム抜粋 */
.album-section{ background:#fff; }
.album-section .album-grid{ max-width:900px; margin:0 auto 36px !important; }
.album-more{ text-align:center; }

@media (max-width: 768px){
  .album-grid, .album-wrap .wp-block-gallery{ grid-template-columns:repeat(2,1fr); gap:26px 14px; }
  .album-grid figure, .album-wrap .wp-block-gallery figure.wp-block-image{ padding:6px 6px 8px; }
  .album-grid figcaption, .album-wrap .wp-block-gallery figure.wp-block-image figcaption{ font-size:.74rem; padding-top:6px !important; }
}

/* ライトボックス(写真の拡大表示) */
.lb{ position:fixed; inset:0; z-index:3000; background:rgba(10,18,40,.92); display:none; align-items:center; justify-content:center; flex-direction:column; padding:20px; }
.lb.is-open{ display:flex; }
.lb-img{ max-width:min(94vw,1100px); max-height:78vh; object-fit:contain; background:#fff; padding:8px; box-shadow:0 10px 40px rgba(0,0,0,.5); }
.lb-cap{ color:#fff; margin-top:14px; font-size:.95rem; text-align:center; min-height:1.6em; max-width:90vw; }
.lb-count{ color:#b3e6f0; font-size:.8rem; margin-top:4px; }
.lb button{ position:absolute; color:#fff; font-size:2rem; line-height:1; width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,.14); }
.lb button:hover{ background:rgba(246,129,164,.8); }
.lb-close{ top:14px; right:14px; }
.lb-prev{ left:12px; top:50%; margin-top:-26px; }
.lb-next{ right:12px; top:50%; margin-top:-26px; }
@media (max-width:768px){ .lb-prev,.lb-next{ top:auto; bottom:16px; margin:0; } .lb-prev{ left:20px; } .lb-next{ right:20px; } }

/* トップページ内アルバム(グループブロック class="album-wrap section") */
.album-wrap.section{ padding:100px 0; background:#fff; }
.album-wrap h2.section-title{ font-size:inherit; color:inherit; margin:0 0 48px; padding:0; border:0; }
.album-wrap .wp-block-group.container{ max-width:var(--container-width); margin-left:auto; margin-right:auto; }
@media (max-width:768px){ .album-wrap.section{ padding:64px 0; } }

/* 後援会ページ:安心(メリット)と登録の流れを分けて表示 */
.kk-sub{ text-align:center; font-size:1.2rem; font-weight:900; color:var(--color-navy); margin:0 0 20px; }
.kk-sub::before, .kk-sub::after{ content:""; display:inline-block; width:28px; height:3px; background:var(--color-pink); vertical-align:middle; margin:0 12px; border-radius:2px; }
.kk-merit{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:56px; }
.kk-merit-item{
  background:#fff; border-radius:10px; padding:26px 18px 24px; text-align:center;
  border-bottom:5px solid var(--color-pink); box-shadow:0 4px 14px rgba(32,86,174,.08);
}
.kk-merit-item i{
  display:flex; width:42px; height:42px; margin:0 auto 12px; align-items:center; justify-content:center;
  border-radius:50%; background:var(--color-pink); color:#fff; font-style:normal; font-size:1.3rem; font-weight:900;
}
.kk-merit-item p{ font-weight:700; color:var(--color-navy); line-height:1.7; font-size:.98rem; }
.kk-nowrap{ white-space:nowrap; }
.kk-flow{ display:grid; grid-template-columns:repeat(3,1fr); gap:34px; margin:0 0 56px; padding:0; list-style:none; counter-reset:none; }
.kk-flow li{ position:relative; background:#fff; border:2px solid var(--color-navy); border-radius:10px; padding:30px 16px 20px; text-align:center; font-size:.92rem; }
.kk-flow-step{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%); padding:2px 18px; border-radius:999px;
  background:var(--color-navy); color:#fff; font-size:.78rem; font-weight:900; letter-spacing:.12em; white-space:nowrap;
}
.kk-flow li:not(:last-child)::after{
  content:""; position:absolute; top:50%; right:-24px; margin-top:-8px; width:0; height:0;
  border-left:12px solid var(--color-navy); border-top:8px solid transparent; border-bottom:8px solid transparent;
}
@media (max-width:768px){
  .kk-merit, .kk-flow{ grid-template-columns:1fr; }
  .kk-flow{ gap:30px; }
  .kk-flow li:not(:last-child)::after{
    top:auto; bottom:-22px; right:auto; left:50%; margin:0 0 0 -8px;
    border-left:8px solid transparent; border-right:8px solid transparent; border-top:12px solid var(--color-navy); border-bottom:0;
  }
}

/* フォーム送信後のお礼表示 */
.kk-thanks{ text-align:center; padding:24px 8px 12px; animation:kkFade .6s ease; }
.kk-thanks i{
  display:flex; width:64px; height:64px; margin:0 auto 18px; align-items:center; justify-content:center;
  border-radius:50%; background:var(--color-pink); color:#fff; font-style:normal; font-size:2rem; font-weight:900;
}
.kk-thanks h3{ font-size:1.35rem; color:var(--color-navy); margin-bottom:16px; line-height:1.5; }
.kk-thanks p{ font-size:.95rem; margin-bottom:8px; }
.kk-thanks .btn-outline{ margin-top:22px; }
@keyframes kkFade{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
.kk-form-box .wpcf7-response-output{ border-radius:6px; font-size:.9rem; margin:18px 0 0; }
.kk-form-box .wpcf7 form.sent .wpcf7-response-output{ display:none; }

/* =========================================================
   施策カード:パンフレットと同じ構成(バッジ+イラスト+大小の見出し)
   ========================================================= */
.action-section{ overflow:hidden; }
.action-list{ row-gap:76px; }
.action-card{ position:relative; padding:96px 28px 32px; }
.action-head{ display:block; margin:0 0 14px; position:static; }
.action-badge{ position:absolute; left:22px; top:-52px; width:150px; height:auto; }
.action-head .action-ill{ position:absolute; right:18px; top:-30px; width:36%; max-width:210px; margin:0; }
.action-title{ color:#222; font-weight:900; line-height:1.35; margin:0; }
.action-title .t-s{ display:block; font-size:1.25rem; margin-bottom:6px; }
.action-title .t-l{ display:block; font-size:1.2rem; }
.action-title .t-l b{ font-size:2.35rem; font-weight:900; letter-spacing:-.02em; line-height:1.2; }
.action-details{ gap:12px; margin-top:16px; }
.action-details li{ font-size:.86rem; line-height:1.75; color:#333; padding-left:.9em; text-indent:-.9em; }
.action-details li strong{ display:block; color:#222; font-size:.98rem; font-weight:900; margin-bottom:2px; text-indent:-.9em; }
.action-details li strong::before{ content:"・"; }
.action-details li{ text-indent:0; }
.action-details li strong{ margin-left:-.9em; text-indent:0; }
@media (max-width:768px){
  .action-list{ row-gap:72px; }
  .action-card{ padding:84px 20px 28px; }
  .action-badge{ width:122px; left:14px; top:-44px; }
  .action-head .action-ill{ width:40%; max-width:170px; right:12px; top:-30px; }
  .action-title .t-s{ font-size:1rem; }
  .action-title .t-l b{ font-size:1.9rem; }
}
.footer-contact{ margin:14px 0 6px; font-size:.9rem; color:#fff; text-align:center; } .footer-contact a{ color:#fff; text-decoration:underline; }

/* プライバシーポリシー */
.pp-body{ max-width:820px; font-size:.95rem; line-height:1.95; }
.pp-body h2{ font-size:1.12rem; font-weight:900; color:var(--color-navy); margin:36px 0 10px; padding-left:12px; border-left:5px solid var(--color-pink); line-height:1.5; }
.pp-body ul{ margin:8px 0 12px; padding-left:1.4em; list-style:disc; }
.pp-body li{ margin-bottom:4px; }
.pp-contact{ background:#f3f5f8; border-radius:10px; padding:16px 20px; }
.pp-date{ text-align:right; color:#666; font-size:.85rem; margin-top:24px; }

@media (max-width:768px){ .hero-sns a{ width:66px; height:66px; } .hero-sns svg{ width:34px; height:34px; } }
