/* まちDXサミット 2026 — ビジネス・カンファレンス
   白と青。整った格子と数字で、信頼感と見やすさを優先 */
:root {
  --white: #FFFFFF;
  --bg: #F6F8FD;
  --tint: #EEF2FB;
  --blue: #2F5BEA;
  --blue-dark: #1E44C2;
  --navy: #0E1B3D;
  --ink: #1C2433;
  --muted: #5B6578;
  --line: #E0E6F2;
  --gov: #2F5BEA; --biz: #F08A24; --life: #18A07B; --hr: #9B5DE5;
  --en: "Inter", "Noto Sans JP", sans-serif;
  --jp: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--jp); font-size: 15.5px; line-height: 1.85; letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(47, 91, 234, .5); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 8px 14px; background: var(--navy); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 112px) 0; }
.head { margin-bottom: clamp(26px, 3.5vw, 40px); }
.head--center { text-align: center; }
.kicker { font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .16em; color: var(--blue); }
.h2 { font-weight: 700; font-size: clamp(25px, 3.2vw, 36px); line-height: 1.45; margin-top: 6px; }
.note { margin-top: 10px; color: var(--muted); font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--line { border-color: var(--line); background: #fff; }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn--full { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 22px; height: 68px; padding: 0 clamp(16px, 3vw, 36px); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.25; }
.logo svg { width: 36px; height: 36px; }
.logo small { display: block; font-family: var(--en); font-weight: 600; font-size: 9.5px; letter-spacing: .14em; color: var(--muted); }
.gnav { display: flex; gap: 22px; margin-left: auto; }
.gnav a { text-decoration: none; font-weight: 500; font-size: 14px; }
.gnav a:hover { color: var(--blue); }
.my-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 13.5px; font-weight: 700; }
.my-btn svg { width: 18px; height: 18px; color: var(--blue); }
.my-btn b { font-family: var(--en); min-width: 22px; height: 22px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; display: grid; place-items: center; }
.my-btn.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.1); } }
.h-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; }

/* ---------- ヒーロー ---------- */
.hero { background: linear-gradient(180deg, var(--tint), #fff); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(46px, 6vw, 80px) 0; }
.hero-date { display: inline-flex; align-items: center; gap: 10px; font-family: var(--en); font-weight: 700; font-size: 15px; color: var(--blue); background: #fff; border: 1px solid var(--line); padding: 4px 14px; border-radius: 999px; }
.hero h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.32; margin-top: 18px; letter-spacing: .01em; color: var(--navy); }
.hero h1 span { color: var(--blue); }
.hero-lead { margin-top: 18px; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-nums { display: flex; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.hero-nums li { flex: 1; padding: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.hero-nums b { display: block; font-family: var(--en); font-weight: 800; font-size: 34px; color: var(--navy); line-height: 1.1; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px; }
.early { position: absolute; left: -16px; bottom: 24px; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 13px; box-shadow: 0 16px 30px -16px rgba(14, 27, 61, .6); }
.early b { font-family: var(--en); font-size: 20px; color: #8FB0FF; margin: 0 2px; }

/* ---------- 概要 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.about .h2 + p { margin-top: 16px; color: var(--muted); }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.themes li { padding: 20px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.themes li:nth-child(1) { border-top: 4px solid var(--gov); } .themes li:nth-child(2) { border-top: 4px solid var(--biz); } .themes li:nth-child(3) { border-top: 4px solid var(--life); } .themes li:nth-child(4) { border-top: 4px solid var(--hr); }
.themes b { font-family: var(--en); font-size: 13px; color: var(--muted); }
.themes h3 { font-size: 20px; margin-top: 2px; }
.themes p { font-size: 13.5px; color: var(--muted); }

/* ---------- 登壇者 ---------- */
.speakers { background: var(--bg); }
.sp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sp-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.sp-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sp-body { padding: 12px 14px 14px; }
.sp-body h3 { font-size: 15.5px; line-height: 1.4; }
.sp-body p { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.sp-tag { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; padding: 0 8px; border-radius: 4px; margin-top: 8px; }

/* ---------- 基調講演 ---------- */
.keynote { display: grid; grid-template-columns: 1.1fr .9fr; padding: 0; background: var(--navy); color: #fff; }
.kn-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.kn-text { padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 64px); align-self: center; }
.keynote .kicker { color: #8FB0FF; }
.kn-title { font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.6; margin-top: 18px; }
.kn-who { margin-top: 12px; font-size: 14px; color: #8FB0FF; }
.kn-desc { margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }

/* ---------- タイムテーブル ---------- */
.tt-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.seg { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; font-weight: 700; font-size: 13.5px; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.only-my { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.only-my input { width: 18px; height: 18px; accent-color: var(--blue); }
.tt { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tt-head, .tt-row { display: grid; grid-template-columns: 96px 1fr 1fr; }
.tt-head div { padding: 12px 16px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.tt-head div:first-child { background: var(--ink); }
.tt-row { border-top: 1px solid var(--line); }
.tt-time { padding: 14px 12px; font-family: var(--en); font-weight: 700; font-size: 14px; color: var(--muted); background: var(--bg); line-height: 1.4; }
.tt-time small { display: block; font-weight: 500; font-size: 11.5px; }
.tt-cell { padding: 10px; border-left: 1px solid var(--line); min-height: 86px; }
.tt-cell.full { grid-column: 2 / 4; }
.ses { position: relative; height: 100%; padding: 12px 44px 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); transition: background .2s, opacity .2s; }
.ses.is-on { background: #F0F4FF; border-color: var(--blue); }
.ses.is-dim { opacity: .3; }
.ses.is-clash { box-shadow: 0 0 0 2px #F08A24 inset; }
.ses .th { font-size: 11px; font-weight: 700; color: var(--c); }
.ses h3 { font-size: 15px; line-height: 1.5; margin-top: 2px; }
.ses p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.ses .star { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.ses .star svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.ses .star[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }
.ses .star[aria-pressed="true"] svg { fill: #fff; stroke: #fff; }
.break { padding: 10px 16px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13.5px; grid-column: 2 / 4; display: flex; align-items: center; gap: 10px; }
.break::before { content: ""; width: 18px; height: 1px; background: var(--muted); }

/* ---------- チケット ---------- */
.tickets { background: var(--bg); }
.tk-form { max-width: 880px; margin-inline: auto; background: #fff; border-radius: 22px; padding: clamp(20px, 3.5vw, 40px); border: 1px solid var(--line); }
.tk-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.tk-cards label { cursor: pointer; }
.tk-cards input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tk-cards span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px; border-radius: 12px; border: 1.5px solid var(--line); transition: border-color .2s, background .2s; }
.tk-cards b { font-size: 15px; }
.tk-cards em { font-style: normal; font-family: var(--en); font-weight: 800; font-size: 24px; color: var(--navy); }
.tk-cards em s { font-size: 13px; color: var(--muted); font-weight: 500; margin-right: 4px; }
.tk-cards small { font-size: 12px; color: var(--muted); line-height: 1.6; }
.tk-cards input:checked + span { border-color: var(--blue); background: #F0F4FF; }
.tk-cards input:focus-visible + span { outline: 3px solid rgba(47, 91, 234, .5); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: block; margin-bottom: 14px; }
.f > span { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.f input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); font-size: 16px; }
.f input:focus { outline: none; border-color: var(--blue); background: #fff; }
.f .is-invalid { border-color: #D03A3A; }
.chk { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.chk input { width: 18px; height: 18px; accent-color: var(--blue); }
.err { display: block; min-height: 1em; color: #D03A3A; font-size: 12.5px; margin-top: 4px; line-height: 1.6; }
.tk-sum { margin: 18px 0 14px; padding: 14px 18px; border-radius: 12px; background: var(--bg); display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.tk-sum b { font-family: var(--en); font-weight: 800; font-size: 26px; color: var(--navy); }
.done { text-align: center; padding: 20px 0; }
.done:focus { outline: none; }
.qr { width: 140px; height: 140px; margin: 0 auto; display: grid; grid-template-columns: repeat(21, 1fr); padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.qr i { background: var(--navy); }
.qr i.o { background: transparent; }
.done h3 { font-size: 20px; margin-top: 16px; }
.done [data-tk-done] { margin-top: 8px; font-weight: 500; }

/* ---------- 会場 ---------- */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.info { margin-top: 20px; border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info dt { font-weight: 700; color: var(--blue); }
.access-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.access-photo figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ---------- マイ予定表 ---------- */
.my-panel { position: fixed; z-index: 80; right: 16px; top: 78px; width: min(360px, calc(100% - 32px)); max-height: calc(100svh - 96px); overflow: auto; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(14, 27, 61, .45); padding: 16px; }
.mp-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 8px; }
.mp-head button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; }
.mp-list li { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mp-list time { font-family: var(--en); font-weight: 700; color: var(--blue); }
.mp-list small { display: block; color: var(--muted); font-size: 12px; }
.mp-empty { color: var(--muted); font-size: 13px; padding: 16px 0; text-align: center; }
.mp-warn { margin-top: 10px; font-size: 13px; color: #B85C08; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .8); text-align: center; padding: 46px 20px 30px; font-size: 13.5px; }
.f-logo { font-weight: 800; font-size: 20px; color: #fff; }
.f-sub { margin-top: 4px; }
.demo-note { max-width: 700px; margin: 20px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 12px; opacity: .8; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1100px) { .gnav { display: none; } .my-btn { margin-left: auto; } .sp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) {
  .hero-grid, .about-grid, .keynote, .access-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .early { left: 12px; }
  .kn-photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .tk-cards { grid-template-columns: 1fr 1fr; }
  .tt-head { display: none; }
  .tt-row { grid-template-columns: 1fr; }
  .tt-time { display: flex; gap: 10px; align-items: baseline; }
  .tt-cell { border-left: 0; min-height: 0; padding: 8px 10px; }
  .ses { height: auto; }
  .tt-cell.full, .break { grid-column: auto; }
  .tt-cell::before { content: attr(data-hall); display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
  .break { border-left: 0; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { height: 60px; gap: 8px; }
  .logo { font-size: 15px; }
  .logo small { display: none; }
  .h-btn { display: none; }
  .hero-nums b { font-size: 26px; }
  .themes { grid-template-columns: 1fr; }
  .sp-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .tk-cards { grid-template-columns: 1fr; }
  .tk-cards span { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .tk-cards small { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .my-btn.bump { animation: none; }
}

/* ---- 日本語の改行（全サイト共通・2026-10-17 追加）----
   見出し・ボタンは文節で折り返し（Chrome/Edge）、本文は最後の行に1〜2文字だけ残るのを防ぐ。
   :where() で詳細度を0にしているので、各サイトの個別指定が常に優先される */
:where(h1, h2, h3, h4, h5, h6, dt, th, figcaption, button, label, [class*="lead"]) { word-break: auto-phrase; overflow-wrap: anywhere; text-wrap: balance; }
:where(p, li, dd, td, blockquote) { text-wrap: pretty; line-break: strict; }
:where(time, .nw) { white-space: nowrap; }

/* ---- フッターのナビと営業情報（2026-10-17 追加）---- 色と書体はフッターから受け継ぐ */
.pf-fnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 28px; margin: 26px auto 0; padding: 0 16px; }
.pf-fnav a { padding: 6px 0; font-size: 13px; letter-spacing: .12em; text-decoration: none; color: inherit; opacity: .82; transition: opacity .2s; }
.pf-fnav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.pf-finfo { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; margin: 12px auto 0; padding: 0 16px; font-size: 12.5px; line-height: 1.8; opacity: .72; }
.pf-finfo span { white-space: nowrap; }
@media (max-width: 600px) { .pf-fnav { gap: 0 20px; } .pf-finfo { flex-direction: column; align-items: center; gap: 0; } .pf-finfo span { white-space: normal; text-wrap: balance; text-align: center; } }

/* 申込の受付停止（管理画面の「チケット・開催日」） */
.tk-closed { padding: 32px 20px; text-align: center; line-height: 1.9; color: var(--muted); }
.tk-closed b { display: block; font-size: 20px; color: var(--ink); margin-bottom: 6px; }
