/* MyDataJapan — ロゴの配色をもとにしたスタイル。JavaScript・外部フォントは使わない */
:root {
  --navy: #2b2a64;
  --navy-deep: #1d1c47;
  --blue: #3c5da8;
  --sky: #3592d1;
  --orange: #e85e26;
  --peach: #f5b07a;
  --ink: #1c2030;
  --text: #333849;
  --muted: #646b7d;
  --line: #e2e5ee;
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --bg-tint: #eef1f8;
  --radius: 8px;
  --max: 1160px;
  --narrow: 820px;
  --shadow: 0 1px 2px rgba(29, 28, 71, .06), 0 8px 24px rgba(29, 28, 71, .06);
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, -apple-system, sans-serif;
  --font-en: "Helvetica Neue", "Segoe UI", Arial, var(--font);
}

/* ───────── base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: rgba(60, 93, 168, .15); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.85; font-size: 16px; letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
/* 見出しは文節で折り返す（対応ブラウザのみ） */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.45; font-feature-settings: "palt"; letter-spacing: .04em; word-break: auto-phrase; }
/* iPhone を横にしたときにノッチ（切り欠き）へ文字がかからないよう、左右の安全領域を確保する */
.container { max-width: var(--max); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.container.narrow { max-width: calc(var(--narrow) + 48px); }
.section { padding-top: 64px; padding-bottom: 64px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; }
.empty { color: var(--muted); }

.eyebrow { margin: 0 0 6px; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.eyebrow-light { color: var(--peach); }

/* ───────── buttons ───────── */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid var(--navy); background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.4; letter-spacing: .06em; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.button-small { padding: 8px 18px; font-size: 14px; }
.button-block { display: flex; width: 100%; }
.button-ghost { background: transparent; color: var(--navy); }
.button-ghost:hover { background: var(--bg-tint); color: var(--navy); border-color: var(--navy); }
.button-light { background: #fff; border-color: #fff; color: var(--navy); }
.button-light:hover { background: var(--peach); border-color: var(--peach); color: var(--navy-deep); }
.button-outline-light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.button-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.button-accent { background: var(--orange); border-color: var(--orange); }
.button-accent:hover { background: #cf4e19; border-color: #cf4e19; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* ───────── preview ───────── */
.preview-bar { background: var(--orange); color: #fff; text-align: center; font-size: 13px; padding: 6px 12px; font-weight: 600; }
.review-box { border: 2px dashed var(--orange); background: #fff7f2; border-radius: var(--radius); padding: 12px 16px; margin: 16px 0; font-size: 14px; }
.review-box ul { margin: 6px 0 0; padding-left: 1.2em; }

/* ───────── header ───────── */
.site-header { position: relative; z-index: 5; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
/* 画面に余裕があるときだけヘッダーを上に固定する（スマホの横向きなど縦が短い画面では固定しない） */
@media (min-width: 761px) and (min-height: 600px) { .site-header { position: sticky; top: 0; } }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { flex-shrink: 0; }
.logo img { width: 170px; height: auto; }
.global-nav { margin-left: auto; }
.global-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.global-nav a { position: relative; display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
.global-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.global-nav a:hover { color: var(--navy); }
.global-nav a:hover::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); }
.global-nav a[aria-current="page"] { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-link { color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.header-link:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 1080px) {
  .header-inner { flex-wrap: wrap; height: auto; gap: 0 16px; padding-top: 12px; }
  .header-actions { margin-left: auto; }
  .global-nav { order: 3; flex-basis: 100%; margin: 6px -12px 0; }
  .global-nav ul { gap: 0; }
}

/* スマホ用のメニュー（JavaScript を使わず details で開閉する） */
.menu { display: none; }
@media (max-width: 760px) {
  .header-inner { flex-wrap: nowrap; height: 64px; padding-top: 0; gap: 12px; }
  .logo img { width: 132px; }
  .global-nav, .header-link { display: none; }
  .header-actions { margin-left: auto; }
  .menu { display: block; }
  .menu summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px 0 8px; list-style: none; cursor: pointer; color: var(--navy); font-size: 12px; font-weight: 700; white-space: nowrap; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; border-radius: 1px; background: var(--navy); transition: transform .2s, background .2s; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu[open] .menu-icon { background: transparent; }
  .menu[open] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu[open] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  .menu-label { font-family: var(--font); }
  .menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(29, 28, 71, .12); padding: 8px max(18px, env(safe-area-inset-right)) 20px max(18px, env(safe-area-inset-left)); max-height: calc(100vh - 64px); overflow-y: auto; }
  .menu-panel ul { list-style: none; margin: 0; padding: 0; }
  .menu-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
  .menu-panel a::after { content: "→"; color: var(--muted); font-weight: 400; }
  .menu-panel a[aria-current="page"] { color: var(--orange); }
  .menu-sub a { font-weight: 400; font-size: 15px; color: var(--text); }
}
@media (max-width: 380px) {
  .header-actions .button-small { padding: 7px 14px; font-size: 13px; }
  /* 狭い画面ではアイコンだけにする（読み上げでは「メニュー」と伝わる） */
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu summary { padding: 0 8px; }
}

/* ───────── page header ───────── */
.page-header { position: relative; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 28px 0 48px; }
.page-header::after { content: ""; position: absolute; right: -40px; bottom: -30px; width: 420px; height: 210px; background: url("/images/brand/pattern.svg") no-repeat right bottom / contain; opacity: .22; pointer-events: none; }
.page-header .container { position: relative; z-index: 1; }
@media (max-width: 1200px) { .page-header::after { width: 300px; height: 150px; opacity: .16; } }
/* スマホでは柄が文字にかかるので出さない */
@media (max-width: 700px) { .page-header::after { display: none; } }
.page-header h1 { font-size: clamp(24px, 3.4vw, 36px); margin: 0; max-width: 900px; }
.page-header .lead { margin: 14px 0 0; max-width: 760px; color: var(--muted); font-size: 16px; }
.page-header .chips { margin-top: 16px; }
.page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; padding: 0; margin: 0 0 28px; font-size: 12px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: #b5bac8; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40em; }

/* ───────── hero (home) ───────── */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(90deg, #15122f 0%, #2a2664 50%, #022060 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; font-size: clamp(28px, 3.8vw, 44px); margin: 0; letter-spacing: .06em; }
.hero-intro { max-width: 36em; margin-top: 22px; color: rgba(255, 255, 255, .86); font-size: 16px; }
.hero-intro p { margin: 0; }
/* バナー画像から背景を抜いて切り出したロゴ */
.hero-logo { width: 100%; max-width: 500px; justify-self: end; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 48px; padding-bottom: 64px; }
  .hero-logo { display: none; }
}

/* ───────── sections ───────── */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; font-size: 24px; }
.more { flex-shrink: 0; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--navy); }
.more::after { content: "→"; margin-left: 8px; transition: margin .15s; }
.more:hover::after { margin-left: 12px; }
.sub-head { color: #fff; font-size: 18px; margin: 56px 0 18px; }
.list-head { font-size: 20px; margin: 0 0 20px; }
.list-head ~ .list-head { margin-top: 56px; }
.events-top-links { margin: 0 0 40px; }
.list-head ~ .events-top-links { margin-top: 56px; }

.home-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; }
@media (max-width: 900px) { .home-columns { grid-template-columns: minmax(0, 1fr); gap: 48px; } }

.section-dark { background: var(--navy-deep); color: rgba(255, 255, 255, .86); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ───────── rows (提言・意見) ───────── */
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.row-date { font-family: var(--font-en); font-size: 14px; color: var(--muted); padding-top: 2px; letter-spacing: .04em; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 4px; }
.row-to { font-size: 13px; color: var(--muted); }
.row-title { display: block; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.6; font-feature-settings: "palt"; }
.row-title:hover { color: var(--blue); text-decoration: underline; }
.row-summary { margin: 8px 0 10px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
@media (max-width: 560px) { .row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: 12px; line-height: 1.7; padding: 0 10px; border-radius: 4px; background: var(--bg-tint); color: var(--navy); white-space: nowrap; letter-spacing: .04em; }
.chip-kind { background: var(--navy); color: #fff; }
.chip-accent { background: var(--orange); color: #fff; }
.chip-theme { background: #fff; border: 1px solid #cdd5ea; color: var(--blue); text-decoration: none; }
.chip-theme:hover { border-color: var(--blue); color: var(--navy); }


.filter { margin: 0 0 40px; padding: 20px 24px; background: var(--bg-soft); border-radius: var(--radius); }
.filter-label { margin: 0 0 10px; font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.filter ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.filter a { display: inline-block; padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-size: 14px; }
.filter a:hover { border-color: var(--navy); }
.filter a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.count { margin-left: 6px; font-size: 12px; opacity: .7; }
.year-group + .year-group { margin-top: 40px; }
.year { font-family: var(--font-en); font-size: 28px; color: var(--navy); margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--navy); letter-spacing: .02em; }

/* ───────── news ───────── */
.news { list-style: none; margin: 0; padding: 0; }
.news > li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news time { font-family: var(--font-en); color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.news p { margin: 0; font-size: 15px; line-height: 1.75; }
.news a { color: var(--ink); text-decoration: none; }
.news a:hover { color: var(--blue); text-decoration: underline; }
.news p a { text-decoration: underline; text-decoration-color: var(--line); }

/* ───────── cards ───────── */
.cards { display: grid; gap: 28px; list-style: none; margin: 0; padding: 0; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
.card-link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfd4e2; color: inherit; }
.card-media { aspect-ratio: 1200 / 630; background: var(--bg-tint); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-pattern { background: var(--navy) url("/images/brand/pattern.svg") no-repeat right -40px bottom -20px / 90%; }
.card-body { padding: 18px 20px 22px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.card-title { margin: 0; font-size: 17px; color: var(--ink); }
.card-link:hover .card-title { color: var(--blue); }
.card-text { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.75; }
.section-dark .card-link { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); }
.section-dark .card-link:hover { border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.section-dark .card-title { color: #fff; }
.section-dark .card-link:hover .card-title { color: var(--peach); }
.section-dark .card-meta, .section-dark .card-text { color: rgba(255, 255, 255, .7); }

/* ───────── feature (home conference) ───────── */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.feature-media img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.feature-body h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 14px; }
.feature-body > p { margin: 0 0 18px; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ───────── about cards (home) ───────── */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.about-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; background: #fff; transition: box-shadow .2s, transform .2s; }
.about-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.about-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.about-card-body { padding: 22px 24px 26px; }
.about-card h3 { margin: 0 0 8px; font-size: 19px; }
.about-card:hover h3 { color: var(--blue); }
.about-card-body > p:last-child { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ───────── MyData宣言 ───────── */
.declaration-band { position: relative; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 72px 0 76px; }
.declaration-band::after { content: ""; position: absolute; right: -60px; top: -20px; width: 460px; height: 230px; background: url("/images/brand/pattern.svg") no-repeat right top / contain; opacity: .2; pointer-events: none; }
.declaration-band .container { position: relative; z-index: 1; }
.declaration-head { max-width: 780px; }
.declaration-head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 18px; }
.declaration-lead { margin: 0; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.9; color: var(--ink); font-feature-settings: "palt"; }
/* 宣言の太字の語に蛍光ペンのような下線を引く */
.declaration-lead strong, .pillar strong, .prose-declaration strong { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, rgba(245, 176, 122, .5) 62%); }
.declaration-band .actions { margin-top: 36px; }

.pillars { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 28px; }
  .pillar { padding: 16px 18px 18px; }
  .pillar-label { font-size: 20px; margin: 2px 0 6px; }
}
@media (max-width: 700px) {
  .declaration-band { padding: 48px 0 52px; }
  .declaration-band::after { display: none; }
}
.pillar { --c: var(--navy); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: var(--radius); padding: 22px 22px 24px; }
.pillar:nth-child(2) { --c: var(--blue); }
.pillar:nth-child(3) { --c: var(--sky); }
.pillar:nth-child(4) { --c: var(--orange); }
.pillar-num { display: block; font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--c); }
.pillar-label { display: block; margin: 4px 0 10px; font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: .08em; line-height: 1.4; }
.pillar p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--text); }

/* 宣言ページ */
.prose-declaration > p:first-child { padding: 16px 20px; background: var(--bg-soft); border-radius: var(--radius); font-size: 14.5px; color: var(--muted); }
.prose-declaration > p:first-child strong { background: none; color: inherit; }
.prose-declaration h2#declaration { font-size: 28px; border-left: 0; padding-left: 0; margin-top: 48px; }
.prose-declaration h2#declaration + p { font-size: clamp(17px, 2vw, 20px); line-height: 1.9; color: var(--ink); }
.prose .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 28px 0 40px; }
.prose .pillars li + li { margin-top: 0; }
@media (max-width: 560px) { .prose .pillars { grid-template-columns: minmax(0, 1fr); } }
.prose-declaration > p:last-child { font-weight: 700; color: var(--navy); font-size: 18px; }
.declaration-cta { margin-top: 56px; padding: 28px 32px 32px; border-radius: var(--radius); background: var(--bg-soft); border-left: 4px solid var(--orange); }
.declaration-cta h2 { margin: 0; font-size: 20px; }
.declaration-cta .actions { margin-top: 20px; }

/* ───────── データ部品（役員・会員・プログラム） ───────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note { color: var(--muted); font-size: 14px; }

.people { list-style: none; padding: 0; margin: 16px 0 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .people { grid-template-columns: minmax(0, 1fr); } }
.prose .people li + li { margin-top: 0; }
.person { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prose .person-photo, .person-photo { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; margin: 0; border: 1px solid var(--line); }
.person-photo-blank { display: block; background: var(--bg-tint) url("/images/logo/mydatajapan-icon.png") no-repeat center / 70%; }
.person-body p { margin: 0; line-height: 1.6; }
.person-role { font-size: 12px; color: var(--orange); font-weight: 700; letter-spacing: .06em; }
.person-name { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .08em; }
.person-aff { font-size: 13.5px; color: var(--muted); margin-top: 2px !important; }
.domains { display: flex; gap: 4px; margin-top: 8px !important; }
.domain { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; font-family: var(--font-en); font-size: 12px; font-weight: 700; text-decoration: none; background: var(--bg-soft); color: #b5bac8; }
.domain.is-on { background: var(--orange); color: #fff; }

.committees { list-style: none; padding: 0; margin: 16px 0 40px; display: grid; gap: 16px; }
.prose .committees li + li { margin-top: 0; }
.committee { padding: 20px 24px; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); background: #fff; }
.committee-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.prose .committee-name { margin: 0; padding: 0; border: 0; font-size: 18px; line-height: 1.5; color: var(--navy); }
.prose .committee-name::before { content: none; }
.committee-alias { display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.prose .committee .domains { margin: 0 !important; }
.prose .committee-chair { margin: 10px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.committee-chair-label { display: inline-block; margin-right: 10px; padding: 1px 8px; border-radius: 4px; background: var(--bg-soft); font-size: 12px; font-weight: 700; color: var(--navy); }
.committee-chair-role { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.prose .committee-desc { margin: 8px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--ink); }
@media (max-width: 640px) { .committee { padding: 16px 18px; } .committee-alias { display: block; margin-left: 0; } }

.member-list { list-style: none; padding: 0; margin: 12px 0 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
@media (max-width: 640px) { .member-list { grid-template-columns: minmax(0, 1fr); } }
.prose .member-list li + li { margin-top: 0; }
.member-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.member-name { font-weight: 600; color: var(--ink); }
.member-aff { font-size: 13px; color: var(--muted); }

.program { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.prose .program li + li { margin-top: 0; }
.slot { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .slot { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.slot-time { margin: 0 !important; font-family: var(--font-en); font-weight: 700; color: var(--navy); font-size: 15px; }
.slot-note { margin: 0 !important; color: var(--muted); }
.slot-body { display: grid; gap: 16px; }
.session { padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); background: #fff; }
.session-track { margin: 0 !important; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.prose .session-title { margin: 2px 0 10px; font-size: 17px; border: 0; padding: 0; }
.speakers { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
@media (max-width: 760px) { .speakers { grid-template-columns: minmax(0, 1fr); } }
.prose .speakers li + li { margin-top: 0; }
.speaker { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; }
.prose .speaker img, .speaker-blank { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin: 0; border: 1px solid var(--line); }
.speakers-text .speaker { grid-template-columns: minmax(0, 1fr); }
.speakers-text .speaker-blank { display: none; }
.speaker-blank { display: block; background: var(--bg-tint); }
.speaker > span { display: flex; flex-direction: column; line-height: 1.5; }
.speaker-name { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.speaker-role { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 3px; background: var(--bg-tint); color: var(--navy); font-size: 11px; font-weight: 600; vertical-align: 1px; }
.speaker-aff { font-size: 12.5px; color: var(--muted); }
.session-note { margin: 0 0 8px !important; font-size: 14px; color: var(--muted); }
.session-items { list-style: none; padding: 0 !important; margin: 0 !important; }
.prose .session-items li + li { margin-top: 0; }
.session-items li { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px dashed var(--line); line-height: 1.6; }
.session-items .item-name { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.session-links { margin: 10px 0 0 !important; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }

.news-body { margin-top: 6px; font-size: 14px; color: var(--muted); }
.news-body p { margin: 0 0 .5em; }
.news-body ul, .news-body ol { margin: 0 0 .5em; padding-left: 1.4em; }
.news-body li { padding: 0; border: 0; }
.news-body a { text-decoration: underline; }
.news-body img { max-width: 100%; height: auto; }
.card-external { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.card-external::after { content: " ↗"; }

/* ───────── CTA ───────── */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: rgba(255, 255, 255, .88); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 520px; background: url("/images/brand/pattern.svg") no-repeat right center / contain; opacity: .25; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 26px); }
.cta-inner p { margin: 0; max-width: 40em; }
.cta-inner .actions { margin: 0; }

/* ───────── document ───────── */
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.doc-main { max-width: var(--narrow); }
.doc-side { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .doc-side { position: static; order: -1; }
  .toc-side { display: none; }
}
.side-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-card .button { margin-top: 16px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0 0 32px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; background: #fff; }
.facts div { display: contents; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts-stack { display: block; margin: 0; padding: 0; border: 0; font-size: 14px; }
.facts-stack div { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts-stack div:first-child { padding-top: 0; }
.facts-stack div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts-stack dt { font-size: 12px; letter-spacing: .08em; }
.facts-inverse { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff; margin: 0; }
.facts-inverse dt { color: rgba(255, 255, 255, .6); }
.summary { margin: 0 0 40px; padding: 22px 26px; background: var(--bg-soft); border-left: 4px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; }
.summary-label { margin: 0 0 6px; font-weight: 700; color: var(--orange); font-size: 13px; letter-spacing: .1em; }
.summary p:last-child { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.9; }
.toc { margin: 0 0 40px; padding: 20px 24px; background: var(--bg-soft); border-radius: var(--radius); font-size: 14.5px; }
.toc-side { margin: 0; background: transparent; padding: 0 0 0 16px; border-left: 2px solid var(--line); border-radius: 0; }
.toc-title { margin: 0 0 6px; font-weight: 700; color: var(--navy); font-size: 13px; letter-spacing: .1em; }
.toc ol { margin: 0; padding-left: 0; list-style: none; }
.toc li { padding: 4px 0; line-height: 1.6; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
.subnav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 14px; margin: 0 0 32px; background: var(--bg-soft); border-radius: var(--radius); }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1.5px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.subnav a:hover, .subnav a:focus-visible { background: var(--navy); color: #fff; }
.subnav a[aria-current="page"] { background: var(--navy); color: #fff; }
/* ページ内の移動は ↓、別のページへの移動は → の印（読み上げない飾り） */
.subnav a::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .7; transform: rotate(-45deg); }
.subnav a.subnav-anchor::after { transform: rotate(45deg) translate(-1px, -1px); }
.subnav a[aria-current="page"]::after { display: none; }
.event-hero { margin: 0 0 28px; }
.event-hero img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.doc-figure { margin: 0 0 40px; }
.doc-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.doc-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.updated { color: var(--muted); font-size: 14px; margin-top: 48px; }

/* ───────── prose ───────── */
.prose { overflow-wrap: anywhere; font-size: 16px; line-height: 1.95; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 22px; margin: 56px 0 18px; padding-left: 14px; border-left: 4px solid var(--navy); scroll-margin-top: 100px; }
.prose h3 { font-size: 18px; margin: 36px 0 12px; scroll-margin-top: 100px; }
.prose h4 { font-size: 16px; margin: 24px 0 8px; }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.5em; margin: 0 0 1.2em; }
.prose li + li { margin-top: .3em; }
.prose img { border-radius: var(--radius); margin: 8px 0 24px; border: 1px solid var(--line); }
.table-wrap { overflow-x: auto; margin: 8px 0 28px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.75; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--bg-soft); border-bottom: 2px solid var(--navy); color: var(--navy); font-size: 14px; white-space: nowrap; }
.prose tbody td:first-child:not(:last-child) { color: var(--ink); font-weight: 600; }
/* 「項目・内容」の2列の表だけ、項目名を折り返さない */
.prose .table-kv tbody td:first-child { white-space: nowrap; }
.prose blockquote { margin: 24px 0; padding: 4px 20px; border-left: 4px solid var(--line); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ───────── footer ───────── */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); margin-top: 0; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; padding-top: 56px; padding-bottom: 48px; }
.footer-org img { width: 170px; }
.footer-name { margin: 18px 0 8px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.footer-name span { font-weight: 400; color: var(--muted); font-family: var(--font-en); font-size: 13px; }
.footer-address { margin: 0; color: var(--muted); line-height: 1.8; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-col h2 { font-size: 13px; letter-spacing: .1em; color: var(--navy); margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 8px; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--blue); text-decoration: underline; }
.footer-bottom { background: var(--navy-deep); color: rgba(255, 255, 255, .7); font-size: 12px; font-family: var(--font-en); letter-spacing: .06em; }
.footer-bottom p { margin: 0; padding: 16px 0; }
@media (max-width: 860px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .container { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
}

/* ───────── touch devices ───────── */
/* タップ後にホバー効果（浮き上がり）が残らないようにする */
@media (hover: none) {
  .card-link:hover, .about-card:hover { transform: none; box-shadow: none; }
}
/* 指で押しやすい大きさにする */
@media (pointer: coarse) {
  .chip-theme { padding: 3px 12px; }
  .filter a { min-height: 40px; display: inline-flex; align-items: center; }
  .footer-col li { margin: 0; }
  .footer-col a { display: inline-flex; align-items: center; min-height: 40px; }
  .toc li { padding: 6px 0; }
  .subnav a { min-height: 44px; }
  .more { display: inline-flex; align-items: center; min-height: 40px; }
  .breadcrumb a { display: inline-block; padding: 6px 0; }
  .footer-address a { display: inline-block; padding: 8px 0; }
}

/* ヘッダーの「お問い合わせ」はスマホでは隠すので、押しやすくする指定はタブレット以上だけ */
@media (pointer: coarse) and (min-width: 761px) {
  .header-link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ───────── small screens ───────── */
@media (max-width: 600px) {
  /* 「項目・内容」の2列の表は縦に積む */
  .prose .table-kv thead { display: none; }
  .prose .table-kv, .prose .table-kv tbody, .prose .table-kv tr, .prose .table-kv td { display: block; width: 100%; }
  .prose .table-kv tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .prose .table-kv tr:first-child { border-top: 2px solid var(--navy); }
  .prose .table-kv td { border: 0; padding: 0; }
  .prose .table-kv tbody td:first-child { margin-bottom: 2px; font-size: 13px; color: var(--muted); white-space: normal; }
  .prose table { font-size: 14px; }
  .prose th, .prose td { padding: 10px; }
  .prose h2 { font-size: 20px; margin-top: 44px; }
  .page-header { padding: 20px 0 32px; }
  .breadcrumb ol { margin-bottom: 18px; }
  .section-head { flex-wrap: wrap; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 14px 18px; }
  .facts dt { font-size: 12px; margin-top: 8px; }
  .facts dt:first-child { margin-top: 0; }
  .actions .button { flex: 1 1 auto; white-space: normal; text-align: center; }
}

/* カンファレンス：チケット・展示・協賛 */
.prose .tickets, .prose .exhibits { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.prose .tickets li + li, .prose .exhibits li + li, .prose .sponsor-logos li + li { margin-top: 0; }
.ticket, .exhibit { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ticket { border-top: 4px solid var(--navy); }
.prose .ticket p, .prose .exhibit p { margin: 6px 0 0; font-size: 14px; line-height: 1.7; }
.prose .ticket p.ticket-name, .prose .exhibit p.exhibit-name { margin: 0; font-weight: 700; color: var(--navy); font-size: 15px; }
.prose .ticket p.ticket-price { margin: 8px 0 4px; font-family: var(--font-en); font-size: 26px; font-weight: 700; color: var(--ink); }
.prose .exhibit img { display: block; height: 56px; width: auto; max-width: 100%; object-fit: contain; margin: 0 0 12px; border: 0; border-radius: 0; }
.prose .sponsor-logos { list-style: none; padding: 0; margin: 16px 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.sponsor-logos li > a, .sponsor-logos li > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; text-decoration: none; color: var(--ink); font-size: 13px; line-height: 1.5; }
.sponsor-logos a:hover { border-color: var(--navy); }
.prose .sponsor-logos img { height: 60px; width: auto; max-width: 100%; object-fit: contain; margin: 0; border: 0; border-radius: 0; }

/* 会員限定ページのログイン */
.members-login { display: grid; gap: 10px; max-width: 420px; margin: 24px 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.members-login label { font-weight: 700; font-size: 14px; color: var(--navy); }
.members-login input[type="password"] { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 16px; }
.members-login input[type="password"]:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.members-login .button { justify-self: start; margin-top: 6px; }
.members-error { padding: 12px 16px; border-left: 4px solid var(--orange); background: #fff4ee; font-weight: 600; }

/* 終了したイベントの案内カード */
.event-ended { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid #f3d36b; background: #fffcf0; }
.event-ended-title { margin: 0; padding: 14px 24px; background: #ffd75e; color: #3b3000; font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.event-ended-body { padding: 18px 24px 6px; color: #3b3000; line-height: 1.9; }
.event-ended-body p, .event-ended-body ul { margin: 0 0 12px; }
.event-ended-body ul { padding-left: 1.4em; }
.event-ended-body a { color: #3b3000; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.event-ended-body a:hover { color: var(--navy); }


/* フォーム（content/forms/*.yml） */
.form-deadline { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: #fff4ee; color: #a5401a; font-weight: 700; font-size: 14px; }
.site-form { display: grid; gap: 22px; margin: 8px 0 32px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.form-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form-field > label:not(.form-choice), .form-field > legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; font-weight: 700; color: var(--navy); font-size: 15px; }
.form-required, .form-optional { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.form-required { background: var(--orange); color: #fff; }
.form-optional { background: var(--bg-soft); color: var(--muted); }
.prose .form-help, .prose .form-note { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.site-form input[type="text"], .site-form input[type="email"], .site-form input[type="url"], .site-form input[type="tel"], .site-form textarea, .site-form select { width: 100%; padding: 12px 14px; border: 1px solid #c9cedb; border-radius: 8px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.site-form input[type="file"] { width: 100%; padding: 12px 14px; border: 1px dashed #b4bacb; border-radius: 8px; background: var(--bg-soft); font: inherit; font-size: 15px; color: var(--ink); }
.site-form input[type="file"]::file-selector-button { margin-right: 12px; padding: 6px 14px; border: 1px solid var(--navy); border-radius: 6px; background: #fff; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.site-form textarea { min-height: 180px; resize: vertical; line-height: 1.7; }
.site-form input:focus, .site-form textarea:focus, .site-form select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-choice { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--navy); }
.form-choice:hover { border-color: var(--navy); }
.form-choice input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.form-group { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.form-group-item { display: flex; align-items: center; gap: 10px; flex: 1 1 100px; font-weight: 600; color: var(--navy); }
.form-group-item span { flex: none; }
.form-group-item input { flex: 1; min-width: 0; }
.form-confirm-note { padding: 12px 16px; border-radius: 8px; background: #fff4ee; color: #a5401a; font-weight: 700; }
.prose .form-confirm-table { width: 100%; margin: 0 0 24px; }
.form-confirm-table th { width: 32%; text-align: left; vertical-align: top; white-space: normal; }
.form-confirm-table td { white-space: normal; overflow-wrap: anywhere; }
.form-empty { color: var(--muted); }
.form-confirm-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.prose .form-actions { margin: 4px 0 0; }
.form-closed { margin: 16px 0 32px; padding: 20px 24px; border-radius: var(--radius); background: var(--bg-soft); font-weight: 700; color: var(--navy); }
.form-errors { margin: 0 0 20px; padding: 16px 20px 16px 36px; border-left: 4px solid var(--orange); background: #fff4ee; font-weight: 600; }
@media (max-width: 600px) { .site-form { padding: 20px 16px; } .form-confirm-table th { width: auto; } }
