/*
Theme Name: 佐賀県地方議会活性化協議会
Description: 佐賀県地方議会活性化協議会の公式サイト用テーマ。1ページ構成、議員・選挙データベース、CSV一括登録、お問い合わせフォーム付き。
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: sgk
*/

/* ---------- tokens ---------- */
:root {
	--navy: #16294A;
	--navy-2: #20375F;
	--ink: #1C2433;
	--muted: #5B6B84;
	--line: #DCE3EE;
	--pale: #F3F6FA;
	--paper: #FFFFFF;
	--green: #1F9D6B;
	--sun: #F2A23A;
	--sun-d: #D9861C;
	--b1: #F2A23A;
	--b2: #1F9D6B;
	--b3: #4F86C6;
	--b4: #9AA8BF;
	--b5: #CBD3E0;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(22,41,74,.06), 0 6px 24px rgba(22,41,74,.07);
	--ff: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
	--ff-head: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Sans', sans-serif;
	--header-h: 64px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ff); font-size: 16px; line-height: 1.85; letter-spacing: .02em; font-feature-settings: "palt" 1; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.4; margin: 0; color: var(--navy); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 112px 0; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font-family: var(--ff-head); font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .06em; cursor: pointer; transition: transform .15s, background-color .15s, color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--sun { background: var(--sun); color: var(--navy); box-shadow: 0 6px 18px rgba(242,162,58,.35); }
.btn--sun:hover { background: #F5B356; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.link-arrow { font-family: var(--ff-head); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
.link-arrow::after { content: ""; width: 22px; height: 2px; background: currentColor; transition: width .2s; }
.link-arrow:hover::after { width: 34px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(10px); -webkit-backdrop-filter: saturate(1.6) blur(10px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(22,41,74,.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { display: block; width: auto; height: 40px; }
@media (min-width: 768px) { .brand img { height: 46px; } }
.nav-toggle { width: 44px; height: 44px; border: 0; background: none; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; position: relative; z-index: 60; }
.nav-toggle__bar { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.global-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(22,41,74,.15); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100dvh - var(--header-h)); overflow: auto; }
.nav-open .global-nav { opacity: 1; visibility: visible; transform: none; }
.global-nav ul { padding: 8px 16px 20px; }
.global-nav li a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--ff-head); font-weight: 700; color: var(--navy); }
.global-nav__cta { padding-top: 16px; }
.global-nav__cta .btn { width: 100%; min-height: 52px; font-size: 16px; }
@media (min-width: 1080px) {
	.nav-toggle { display: none; }
	.global-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; max-height: none; overflow: visible; }
	.global-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
	.global-nav li a:not(.btn) { border: 0; padding: 8px 10px; font-size: 14px; border-radius: 8px; }
	.global-nav li a:not(.btn):hover { background: var(--pale); color: var(--green); }
	.global-nav__cta { padding: 0 0 0 8px; }
	.global-nav__cta .btn { width: auto; min-height: 40px; font-size: 14px; }
}

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #fff; padding: 48px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -20%; top: -30%; width: 80vw; height: 80vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(31,157,107,.28), rgba(31,157,107,0)); pointer-events: none; }
.hero__inner { position: relative; display: grid; gap: 40px; }
.eyebrow { font-family: var(--ff-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--sun); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--sun); }
.hero__title { color: #fff; font-weight: 900; font-size: clamp(32px, 8.6vw, 54px); line-height: 1.3; letter-spacing: .04em; margin-bottom: 20px; }
.hero__lead { color: #D5DEEC; font-size: 15px; line-height: 2; max-width: 34em; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 220px; }
.hero__viz { margin: 0; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 18px; }
.dots { display: grid; grid-template-columns: repeat(auto-fill, minmax(9px, 1fr)); gap: 4px; }
.dots i { display: block; aspect-ratio: 1; border-radius: 50%; }
.hero .b1 { background: #F7B551; box-shadow: 0 0 10px rgba(247,181,81,.6); }
.hero .b2 { background: #34C08A; }
.hero .b3 { background: #6FA3E0; }
.hero .b4 { background: rgba(255,255,255,.38); }
.hero .b5 { background: rgba(255,255,255,.17); }
.hero__viz figcaption { margin-top: 14px; display: grid; gap: 8px; font-size: 12px; color: #C3CEDF; }
.hero__viz-title { font-family: var(--ff-head); font-size: 14px; color: #fff; }
.hero__viz-title b { font-size: 22px; margin: 0 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
@media (min-width: 960px) {
	.hero { padding: 88px 0 64px; }
	.hero__inner { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 56px; }
	.hero__lead { font-size: 16px; }
	.hero__actions .btn { flex: 0 0 auto; }
	.dots { grid-template-columns: repeat(auto-fill, minmax(11px, 1fr)); gap: 5px; }
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 40px 0 0; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--navy); padding: 16px 14px; }
.stats dt { font-size: 12px; color: #B9C6D9; letter-spacing: .06em; }
.stats dd { margin: 2px 0 0; font-family: var(--ff-head); font-size: 14px; color: #fff; }
.stats dd b { font-size: 30px; font-weight: 900; margin-right: 2px; color: #fff; letter-spacing: 0; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats > div { padding: 20px 24px; } .stats dd b { font-size: 38px; } }
.stats--light { background: var(--line); margin: 0 0 32px; }
.stats--light > div { background: #fff; }
.stats--light > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.stats--light dt { color: var(--muted); }
.stats--light dd, .stats--light dd b { color: var(--navy); }
@media (min-width: 768px) { .stats--light { grid-template-columns: repeat(3, 1fr); } .stats--light > div:last-child:nth-child(odd) { grid-column: auto; } }

/* ---------- section head ---------- */
.section-head { margin-bottom: 36px; }
.section-head__en { font-family: var(--ff-head); font-weight: 700; color: var(--green); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }
.section-head__title { font-size: clamp(26px, 6vw, 40px); font-weight: 900; letter-spacing: .06em; }
.section-head__lead { margin: 14px 0 0; color: var(--muted); max-width: 44em; }
.section-head__lead small { display: inline-block; font-size: 13px; }
@media (min-width: 960px) { .section-head { margin-bottom: 52px; } }

/* ---------- about ---------- */
.about__intro { font-family: var(--ff-head); font-weight: 700; font-size: clamp(18px, 4.6vw, 24px); line-height: 1.9; color: var(--navy); padding-left: 18px; border-left: 4px solid var(--green); margin-bottom: 56px; max-width: 40em; }
.about__block { margin-bottom: 56px; }
.about__h { display: flex; align-items: baseline; gap: 12px; font-size: 22px; margin-bottom: 20px; }
.about__h span { font-size: 14px; color: var(--green); letter-spacing: .1em; }
.prose p { margin-bottom: 1.2em; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin: 1.8em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1.2em; }
@media (min-width: 960px) {
	.about__block { display: grid; grid-template-columns: 240px 1fr; gap: 40px; margin-bottom: 80px; }
	.about__h { flex-direction: column; gap: 6px; font-size: 24px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
.purpose-list { display: grid; gap: 14px; counter-reset: p; }
@media (min-width: 640px) { .purpose-list { grid-template-columns: 1fr 1fr; } }
.purpose { position: relative; background: var(--pale); border-radius: var(--radius); padding: 22px 20px 20px; }
.purpose__num { font-family: var(--ff-head); font-weight: 900; font-size: 34px; color: var(--green); line-height: 1; display: block; margin-bottom: 10px; }
.purpose__title { font-size: 18px; margin-bottom: 8px; }
.purpose p { margin: 0; color: #3A465B; font-size: 15px; }
.request { display: grid; gap: 20px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; }
.request__badge { width: 132px; height: 132px; border-radius: 50%; background: var(--sun); color: var(--navy); display: grid; place-content: center; text-align: center; font-family: var(--ff-head); line-height: 1.1; }
.request__badge b { font-size: 50px; font-weight: 900; }
.request__badge span { font-weight: 700; font-size: 14px; }
.request__badge small { font-weight: 700; font-size: 12px; margin-top: 4px; }
.request__body h4 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.request__body .prose { color: #D5DEEC; }
@media (min-width: 640px) { .request { grid-template-columns: auto 1fr; align-items: center; padding: 32px; gap: 32px; } }
.activity-list { display: grid; gap: 14px; }
@media (min-width: 640px) { .activity-list { grid-template-columns: 1fr 1fr; } }
.activity-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; border-top: 4px solid var(--green); }
.activity-list h4 { font-size: 18px; margin-bottom: 8px; }
.activity-list p { margin: 0; font-size: 15px; color: #3A465B; }
.closing { margin: 0; padding: 32px 24px; background: linear-gradient(135deg, #FFF6E8, #EEF8F3); border-radius: var(--radius); }
.closing p { font-family: var(--ff-head); font-weight: 700; color: var(--navy); font-size: 17px; line-height: 2; }
.closing footer { font-size: 14px; color: var(--muted); text-align: right; }
@media (min-width: 960px) { .closing { padding: 48px 56px; } .closing p { font-size: 19px; } }

/* ---------- news ---------- */
.news { background: var(--pale); }
@media (min-width: 960px) { .news__inner { display: grid; grid-template-columns: 240px 1fr; gap: 40px; } .news .more { grid-column: 2; } }
.news-list { border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; gap: 4px; padding: 18px 4px; text-decoration: none; color: var(--ink); }
.news-list a:hover span { color: var(--green); }
.news-list time { font-family: var(--ff-head); font-weight: 700; font-size: 13px; color: var(--green); letter-spacing: .08em; }
@media (min-width: 640px) { .news-list a { grid-template-columns: 120px 1fr; gap: 20px; } }
.more { margin: 24px 0 0; text-align: right; }
.empty { color: var(--muted); }
.empty--box { background: var(--pale); border-radius: var(--radius); padding: 32px; text-align: center; }

/* ---------- data ---------- */
.data-overview { display: grid; gap: 16px; margin-bottom: 36px; }
@media (min-width: 960px) { .data-overview { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card__title { font-size: 16px; margin-bottom: 16px; }
.b1 { background: var(--b1); } .b2 { background: var(--b2); } .b3 { background: var(--b3); } .b4 { background: var(--b4); } .b5 { background: var(--b5); }
.stack { display: flex; height: 18px; border-radius: 999px; overflow: hidden; gap: 2px; margin-bottom: 16px; }
.stack-legend { display: grid; gap: 8px; }
.stack-legend li { display: grid; grid-template-columns: 14px 1fr auto 44px; align-items: center; gap: 10px; font-size: 14px; }
.stack-legend i { width: 12px; height: 12px; border-radius: 3px; }
.stack-legend b { font-family: var(--ff-head); color: var(--navy); }
.stack-legend small { color: var(--muted); text-align: right; }
.hbars { display: grid; gap: 4px; }
.hbars li { display: grid; grid-template-columns: 6.2em 1fr 3em; align-items: center; gap: 10px; font-size: 13px; }
.hbars a { text-decoration: none; color: var(--ink); white-space: nowrap; }
.hbars a:hover { color: var(--green); }
.hbars__bar { height: 10px; background: var(--pale); border-radius: 999px; overflow: hidden; }
.hbars__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--b3)); border-radius: 999px; }
.hbars b { font-family: var(--ff-head); color: var(--navy); text-align: right; }

.finder { display: grid; gap: 12px; background: var(--pale); padding: 16px; border-radius: var(--radius); margin-bottom: 8px; }
@media (min-width: 640px) { .finder { grid-template-columns: 1fr 1fr; } }
.finder__field span { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.finder select, .finder input, .form input:not([type="radio"]):not([type="checkbox"]), .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #C5D0E0; border-radius: 10px; background: #fff; font-size: 16px; }
.finder select:focus, .finder input:focus, .form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); outline: 3px solid rgba(31,157,107,.18); outline-offset: 0; }
.finder__result { min-height: 1.6em; font-size: 14px; color: var(--green); font-weight: 700; margin: 6px 0 10px; }

.muni-list { display: grid; gap: 10px; }
.muni { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.muni[open] { box-shadow: var(--shadow); border-color: #C5D0E0; }
.muni summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 10px 12px; padding: 16px; align-items: center; }
.muni summary::-webkit-details-marker { display: none; }
.muni summary:hover { background: #FAFBFD; }
.muni__name { font-family: var(--ff-head); font-weight: 900; font-size: 19px; color: var(--navy); }
.muni__name small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.muni__kpis { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.muni__kpis > span { background: var(--pale); border-radius: 10px; padding: 6px 8px; font-size: 11px; color: var(--muted); line-height: 1.4; }
.muni__kpis small { display: block; font-size: 10px; }
.muni__kpis b { font-family: var(--ff-head); font-size: 17px; color: var(--navy); margin-right: 1px; }
.muni__chev { grid-column: 2; grid-row: 1; width: 24px; height: 24px; border-radius: 50%; background: var(--pale); position: relative; }
.muni__chev::before { content: ""; position: absolute; left: 8px; top: 7px; width: 7px; height: 7px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
.muni[open] .muni__chev::before { transform: translate(0, 3px) rotate(-135deg); }
@media (min-width: 768px) {
	.muni summary { grid-template-columns: 180px 1fr 24px; padding: 18px 22px; }
	.muni__kpis { grid-column: 2; grid-row: 1; }
	.muni__chev { grid-column: 3; }
	.muni__kpis > span { display: flex; align-items: baseline; gap: 4px; background: none; padding: 0; font-size: 12px; }
	.muni__kpis small { display: inline; font-size: 12px; margin-right: 4px; }
}
.muni__body { padding: 0 16px 20px; }
@media (min-width: 768px) { .muni__body { padding: 0 22px 24px; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; }
.members { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.members th, .members td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.members thead th { background: var(--pale); font-size: 12px; color: var(--muted); font-weight: 700; position: sticky; top: 0; }
.members tbody tr:last-child > * { border-bottom: 0; }
.members tbody th { font-weight: 700; color: var(--ink); }
.members tbody th small { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 500; color: var(--green); }
.age { display: inline-block; min-width: 2.6em; text-align: center; border-radius: 999px; font-weight: 700; font-family: var(--ff-head); padding: 0 6px; }
.age.b1, .age.b2, .age.b3 { color: #fff; }
.age.b4 { color: var(--navy); }
.age.b5 { color: var(--navy); background: #E5EAF2; }
.muni__meta { display: grid; gap: 10px; margin: 16px 0 0; font-size: 14px; }
.muni__meta > div { display: grid; gap: 2px; }
.muni__meta dt { font-size: 12px; color: var(--muted); }
.muni__meta dd { margin: 0; }
.muni__meta small { display: block; font-size: 12px; color: var(--muted); }
@media (min-width: 768px) { .muni__meta { grid-template-columns: 1.6fr 1fr 1fr .6fr; } }
.note { font-size: 13px; color: var(--muted); margin-top: 20px; line-height: 1.8; }

/* ---------- elections ---------- */
.elections { background: var(--pale); }
.elec-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .elec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .elec-grid { grid-template-columns: repeat(3, 1fr); } }
.elec { background: #fff; border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); }
.elec__name { font-size: 18px; font-weight: 900; margin-bottom: 10px; }
.elec__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.elec__table th, .elec__table td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.elec__table thead th { font-size: 11px; color: var(--muted); font-weight: 500; }
.elec__table tbody tr:last-child > * { border-bottom: 0; }
.elec__table tbody th { font-family: var(--ff-head); color: var(--navy); }
.elec__table td:nth-child(2), .elec__table td:nth-child(3) { font-family: var(--ff-head); font-weight: 700; }
.elec__table td:last-child { width: 40%; }
.turnout { display: block; position: relative; height: 22px; background: var(--pale); border-radius: 6px; overflow: hidden; }
.turnout__bar { position: absolute; inset: 0 auto 0 0; background: rgba(79,134,198,.3); }
.turnout__val { position: relative; font-family: var(--ff-head); font-weight: 700; font-size: 12px; line-height: 22px; padding-left: 6px; color: var(--navy); }
.badge { display: inline-block; background: #FDEBD3; color: #9A5A08; font-weight: 700; font-size: 12px; border-radius: 6px; padding: 2px 8px; }

/* ---------- sponsors ---------- */
.sponsor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .sponsor-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.sponsor { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 84px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); background: #fff; transition: border-color .15s, transform .15s, box-shadow .15s; height: 100%; }
a.sponsor:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy); }
.sponsor img { max-height: 56px; width: auto; object-fit: contain; }
.sponsor__name { font-family: var(--ff-head); font-weight: 700; font-size: 14px; line-height: 1.5; }
.sponsor-cta { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--pale); display: grid; gap: 14px; align-items: center; text-align: center; }
.sponsor-cta p { margin: 0; font-weight: 700; color: var(--navy); }
@media (min-width: 768px) { .sponsor-cta { grid-template-columns: 1fr auto; text-align: left; padding: 24px 32px; } }

/* ---------- advisors ---------- */
.advisors { padding-top: 0; }
.advisor-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .advisor-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .advisor-grid { grid-template-columns: repeat(3, 1fr); } }
.advisor { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.advisor__photo { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--pale); display: grid; place-items: center; font-family: var(--ff-head); font-size: 30px; font-weight: 900; color: var(--green); }
.advisor__photo img { width: 100%; height: 100%; object-fit: cover; }
.advisor__role { font-size: 12px; color: var(--green); font-weight: 700; margin: 0 0 2px; }
.advisor__name { font-size: 20px; margin-bottom: 8px; }
.advisor__profile { font-size: 14px; color: #3A465B; line-height: 1.8; }
.advisor__profile p { margin-bottom: .6em; }

/* ---------- contact ---------- */
.contact { background: var(--navy); color: #fff; }
.section-head--light .section-head__title { color: #fff; }
.section-head--light .section-head__en { color: var(--sun); }
.section-head--light .section-head__lead { color: #C9D4E5; }
.contact__grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 340px 1fr; gap: 32px; align-items: start; } .tel-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.tel-card { background: var(--green); border-radius: var(--radius); padding: 24px; }
.tel-card__label { font-family: var(--ff-head); font-weight: 900; font-size: 18px; margin-bottom: 8px; }
.tel-card__text { font-size: 14px; color: #E2F5EC; }
.tel-card__num { display: block; font-family: var(--ff-head); font-weight: 900; font-size: 30px; color: #fff; text-decoration: none; letter-spacing: .04em; background: rgba(255,255,255,.14); border-radius: 12px; padding: 10px 14px; text-align: center; }
.tel-card__num:hover { color: #fff; background: rgba(255,255,255,.22); }
.tel-card__person { text-align: center; font-size: 14px; margin: 8px 0 0; }
.tel-card__office { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); font-size: 13px; color: #E2F5EC; }
.tel-card__office dt { font-weight: 700; color: #fff; }
.tel-card__office dd { margin: 4px 0 0; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px 18px; }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.form__row > span, .form__row legend { font-weight: 700; font-size: 14px; color: var(--navy); padding: 0; }
.form__row em { font-style: normal; font-size: 11px; background: var(--sun); color: var(--navy); border-radius: 4px; padding: 1px 6px; margin-left: 4px; vertical-align: 1px; }
.form__2col { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__2col { grid-template-columns: 1fr 1fr; } }
.form textarea { min-height: 160px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 14px; border: 1px solid #C5D0E0; border-radius: 999px; font-size: 14px; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.form__privacy { background: var(--pale); border-radius: 10px; padding: 14px 16px; font-size: 13px; color: var(--muted); }
.form__privacy p { margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 700; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--green); }
.form__error { color: #B42318; font-weight: 700; font-size: 14px; margin: 0; }
.alert { border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-size: 14px; }
.alert--ok { background: #E7F6EF; color: #145C40; }
.alert--ng { background: #FDECEA; color: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: #0F1E37; color: #B9C6D9; padding: 56px 0 120px; font-size: 14px; }
.site-footer__inner { display: grid; gap: 32px; }
.site-footer__brand img { width: 300px; max-width: 100%; margin-bottom: 18px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: #fff; }
.site-footer__nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { color: var(--sun); }
.sns { display: flex; gap: 12px; margin-top: 12px; }
.copyright { text-align: center; font-size: 12px; margin: 40px 0 0; color: #7F8EA8; }
.copyright span { display: block; letter-spacing: .08em; margin-top: 2px; }
@media (min-width: 960px) { .site-footer { padding-bottom: 40px; } .site-footer__inner { grid-template-columns: 1fr auto; } .site-footer__nav ul { grid-template-columns: repeat(2, auto); gap: 8px 40px; } }

/* ---------- sticky CTA (mobile) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 -6px 20px rgba(22,41,74,.12); transition: transform .25s; }
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px; text-decoration: none; font-family: var(--ff-head); font-weight: 700; font-size: 15px; padding: 0 16px; }
.sticky-cta__tel { background: var(--pale); color: var(--navy); }
.sticky-cta__form { background: var(--sun); color: var(--navy); }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ---------- archive / article ---------- */
.page-head { background: var(--pale); padding: 48px 0 40px; }
.page-head__title { font-size: clamp(24px, 6vw, 36px); font-weight: 900; }
.article__head { margin-bottom: 28px; }
.article__head time { font-family: var(--ff-head); font-weight: 700; color: var(--green); font-size: 14px; }
.article__title { font-size: clamp(24px, 6vw, 34px); font-weight: 900; margin-top: 6px; }
.article__thumb { margin: 0 0 28px; }
.article__thumb img { border-radius: var(--radius); width: 100%; }
.article__nav, .back { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager { margin-top: 32px; display: flex; gap: 8px; justify-content: center; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; padding: 0 10px; }
.pager .current { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
@media print {
	.site-header, .sticky-cta, .contact, .finder { display: none !important; }
	.muni { break-inside: avoid; }
}
