@charset "UTF-8";
/* ほな、いこか！ 共通スタイル（index.html / thanks.html）：honaikoka2027-common.css */
/* Layout: one yellow first view, type does the work — a huge two-word title over a quiet street where the bus pulls in from the left, picks up the queue and leaves. Everything below stays plain. Single committed light look. */
:root {
  color-scheme: light;
  --yellow: #F5C124;     /* 前回・前々回の関西イベントの黄色 */
  --yellow-soft: #F8D667;
  --yellow-pale: #FDF3CF;
  --ink: #1B2A4A;
  --ink-soft: #4D5A75;
  --paper: #FFFDF6;
  --white: #FFFFFF;
  --accent: #E5322D;
  --font-title: "Murecho", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-latin: "Outfit", "Zen Kaku Gothic New", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--yellow); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Header */
.head { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); transition: background-color .2s ease, box-shadow .2s ease; }
.head.is-scrolled { background: var(--paper); box-shadow: 0 1px 0 rgba(27,42,74,.12), 0 8px 18px rgba(27,42,74,.06); }
.head.is-scrolled .wrap { padding-block: 10px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav .links { display: flex; gap: 24px; font-family: var(--font-latin); font-weight: 800; font-size: 14px; letter-spacing: .1em; }
.nav .links a { text-decoration: none; }
.nav .links a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav { gap: 10px; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; margin-right: -8px; }
  .menu-btn span { width: 24px; height: 2.5px; }
  .head.is-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .head.is-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .head.is-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .head.is-open .menu-btn span:nth-child(2) { opacity: 0; }
  .head.is-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav .links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px; background: var(--paper); box-shadow: 0 12px 20px rgba(27,42,74,.12); border-top: 1px solid rgba(27,42,74,.12); font-size: 16px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav .links a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid rgba(27,42,74,.12); }
  .nav .links a::after { content: "→"; font-weight: 700; }
  .head.is-open .nav .links { visibility: visible; opacity: 1; transform: none; }
  .head.is-open { background: var(--paper); }
}
.head .wrap { max-width: 1280px; display: flex; justify-content: space-between; align-items: center; padding-block: 18px; transition: padding .2s ease; }
.mark { font-family: var(--font-latin); font-weight: 800; font-size: 19px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.mark img { display: block; height: 32px; width: auto; max-width: 100%; }
@media (max-width: 520px) { .mark img { height: 26px; } }
.head-cta { font-weight: 900; font-size: 14px; text-decoration: none; background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }

/* Hero */
.hero { background: var(--yellow); position: relative; overflow: hidden; }
.hero-type { padding-block: 120px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.title { font-family: var(--font-title); font-weight: 900; line-height: 1; letter-spacing: -.02em; font-size: clamp(48px, 9vw, 132px); white-space: nowrap; }
.title-row { display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 1.5vw, 20px); margin-bottom: clamp(14px, 2.4vw, 32px); }
.title .l2 { display: inline; }
@media (max-width: 640px) {
  .title { font-size: 17vw; line-height: 1.08; }
  .title .l1, .title .l2 { display: block; }
}
.title .l1, .title .l2 { position: relative; }
.title .c { display: inline-block; }

/* Title: outlined white letters with a hard navy shadow (袋文字) */
.title { color: var(--paper); -webkit-text-stroke: 0.035em var(--ink); paint-order: stroke fill; text-shadow: 0.06em 0.06em 0 var(--ink); }

/* Date & venue: ticket card */
.when-set { margin-top: 10px; width: 100%; display: flex; justify-content: center; }
.when-a { display: flex; }
.when-set .n { font-family: var(--font-latin); font-weight: 800; font-variant-numeric: tabular-nums; }
.when-a { flex-direction: column; align-items: stretch; background: var(--paper); border-radius: 16px; box-shadow: 0 6px 0 rgba(27,42,74,.9); text-align: left; max-width: 100%; }
.wa-date { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: center; gap: 0 2px; padding: 16px 28px 14px; }
.wa-date .n { font-size: clamp(30px, 3.6vw, 44px); line-height: 1; }
.wa-date .u { font-size: 16px; font-weight: 900; margin-right: 4px; }
.wa-time { font-family: var(--font-latin); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); margin-left: 14px; }
.wa-sep { height: 0; border-top: 3px dashed rgba(27,42,74,.35); margin: 0 18px; }
.wa-venue { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 12px; padding: 14px 28px 18px; text-align: center; }
.wa-name { font-size: clamp(18px, 2vw, 22px); font-weight: 900; line-height: 1.4; }
.wa-access { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 640px) { .wa-date, .wa-venue { padding-inline: 16px; } .wa-time { flex-basis: 100%; text-align: center; margin: 6px 0 0; } }
.when-set .dow { font-size: 15px; font-weight: 900; background: var(--ink); color: var(--paper); border-radius: 50%; width: 30px; height: 30px; display: inline-grid; place-items: center; align-self: center; margin-left: 4px; flex: none; }
.when-set .kw { word-break: keep-all; overflow-wrap: anywhere; }

/* Fit the whole KV in the first screen (PC only; phones keep the natural flow) */
@media (min-width: 761px) {
  /* 1画面（100svh）を基本に、内容が収まらない場合は高さを伸ばす（画像を見切れさせない） */
  .hero { display: flex; flex-direction: column; min-height: 100svh; }
  .hero-type { flex: 1 0 auto; justify-content: center; padding-block: clamp(72px, 11vh, 120px) clamp(6px, 1.6vh, 18px); gap: clamp(6px, 1.4vh, 16px); }
  .title { font-size: min(9vw, 14vh, 132px); }
  .title-row { margin-bottom: clamp(2px, 1.4vh, 22px); }
  .sub { font-size: clamp(13px, min(1.9vw, 2.3vh), 21px); line-height: 1.6; margin-top: 0; }
  .when-set { margin-top: clamp(2px, 0.8vh, 10px); }
  .wa-date { padding: clamp(8px, 1.6vh, 16px) 28px clamp(6px, 1.4vh, 14px); }
  .wa-date .n { font-size: clamp(24px, min(3.6vw, 4.6vh), 44px); }
  .wa-time { font-size: clamp(18px, min(2.6vw, 3.2vh), 30px); }
  .wa-venue { padding: clamp(6px, 1.4vh, 14px) 28px clamp(8px, 1.8vh, 18px); }
  .wa-name { font-size: clamp(16px, min(2vw, 2.6vh), 22px); }
  /* イラストは画面幅いっぱいの比率（1440:380）を上限に、空いた高さに合わせて伸縮。
     縮むときは上の空の部分だけが隠れ、バス・バス停・人物は常に全体が見える高さ（下限）を保つ */
  .scene { flex: 1 1 auto; height: auto; max-height: calc(100vw * 380 / 1440); min-height: calc(100vw * 200 / 1440); }
}
@media (max-width: 640px) { html .cta .cta-title { font-size: 12vw !important; } }
/* CTA band: title and button side by side */
.cta .cta-title { margin-bottom: 0; }
html:root .cta .wrap { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px clamp(32px, 4vw, 64px); padding-block: 48px 28px; }
html:root .cta .cta-title { font-size: clamp(40px, 5.4vw, 78px); }
/* 「大阪開催」のスタンプ（ABOUTの写真の左上） */
.os-b-stamp { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 116px; height: 116px; border-radius: 50%; border: 3px solid var(--accent); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 6px var(--accent); color: var(--accent); transform: rotate(-10deg); line-height: 1.25; }
.os-b-stamp b { font-size: 21px; font-weight: 900; letter-spacing: .08em; border-block: 2px solid var(--accent); padding-block: 2px; margin-block: 3px; }
.os-b-stamp small { font-family: var(--font-latin); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.about-photos { position: relative; }
.os-stamp { position: absolute; z-index: 5; top: -34px; left: -6px; pointer-events: none; }
.os-stamp .os-b-stamp { background: rgba(255,253,246,.92); }
@media (max-width: 860px) { .os-stamp { top: -26px; left: -4px; } .os-stamp .os-b-stamp { width: 92px; height: 92px; } .os-stamp .os-b-stamp b { font-size: 17px; } .os-stamp .os-b-stamp small { font-size: 9px; } }
@media (max-width: 860px) {
  .about-photos { max-width: 560px; margin-inline: auto; width: 100%; padding-top: 18px; }
  .about-photos .photos { align-items: start; }
  .about-photos .photo:nth-child(1) { align-self: start; margin-top: 22px; }
  .os-stamp { top: 0; left: -8px; }
}
@media (max-width: 420px) {
  .os-stamp { left: -6px; }
  .os-stamp .os-b-stamp { width: 80px; height: 80px; border-width: 2px; }
  .os-stamp .os-b-stamp b { font-size: 15px; }
  .os-stamp .os-b-stamp small { font-size: 8px; }
  .about-photos .photo:nth-child(1) { margin-top: 18px; }
}
html:root .cta-row { display: flex; align-items: center; }
html:root .cta .cta-title { line-height: 1; }
@media (min-width: 761px) { html:root .cta-row { transform: translateY(0.06em); font-size: clamp(40px, 5.4vw, 78px); } html:root .cta-row .btn { font-size: 17px; } }
#timetable .tt-open { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; margin-block: 0 20px; color: var(--ink); }
#timetable .sessions + .tt-open { margin-block: 20px 0; }
.tt-o-time { display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--font-latin); font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); padding: 10px 22px; font-variant-numeric: tabular-nums; }
.tt-o-text { display: flex; align-items: center; padding: 10px 20px; font-size: clamp(16px, 1.7vw, 19px); font-weight: 900; }
@media (max-width: 640px) { .tt-o-time { padding-inline: 16px; } .tt-o-text { padding-inline: 14px; } #timetable .tt-open { display: grid; grid-template-columns: auto minmax(0, 1fr); } }
.sub { font-weight: 900; font-size: clamp(15px, 1.9vw, 21px); line-height: 1.7; margin-top: 6px; }

.scene { position: relative; height: clamp(220px, 28vw, 380px); }
.scene .scene-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 100%; }
/* PC：高さは空きに合わせて伸縮（上の @media (min-width: 761px) の max/min の範囲内） */
@media (min-width: 761px) { .scene { flex: 1000 1 0; height: auto; } }
/* スマホ：バスとバス停（イラストの横290〜1040の範囲）が画面幅にちょうど収まるよう切り出す */
@media (max-width: 760px) { .scene { height: calc(100vw * 380 / 750); } .scene .scene-img { object-position: 42% 100%; } }

/* Scene animation: KVの街並み・バス・人物とアニメーションは dcms_media/other/honaikoka2027-kv-scene.svg の中に記述しています */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Sections */
.sec { padding-block: 96px; }

.concept-body { display: flex; flex-direction: column; gap: 20px; max-width: 40em; min-width: 0; font-size: 16px; line-height: 2; }
.concept-end { font-family: var(--font-title); font-weight: 900; font-size: 22px; line-height: 1.6; }

.note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.alt { background: var(--yellow-pale); }

dl.ov { margin: 0; display: grid; grid-template-columns: 6.5em minmax(0, 1fr); align-content: start; }
/* アクセスの表：見出し列を少し広げ、行は内容の高さに合わせる */
dl.ov.ov-access { grid-template-columns: 7.5em minmax(0, 1fr); align-self: start; }
dl.ov.ov-access dt, dl.ov.ov-access dd { padding: 10px 0; }
.ov-note { display: block; font-size: 13px; color: var(--ink-soft); }
.ov-em { font-weight: 900; }
.ov-list { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; color: var(--ink-soft); }
.ov-list li { position: relative; padding-left: 1em; }
.ov-list li::before { content: "・"; position: absolute; left: 0; }
.ov-walk { margin-top: 0; color: var(--ink); font-size: 14px; }
.ov-walk li { display: flex; justify-content: space-between; gap: 12px; padding-left: 0; }
.ov-walk li::before { content: none; }
.ov-walk li span:last-child { flex: none; color: var(--ink-soft); }
@media (max-width: 640px) {
  /* スマホ：見出しを上、内容を下に並べて横幅を確保 */
  dl.ov.ov-access { grid-template-columns: 1fr; }
  dl.ov.ov-access dt { padding-bottom: 0; border-bottom: 0; }
  dl.ov.ov-access dd { padding-top: 2px; }
}
dl.ov dt, dl.ov dd { padding: 14px 0; border-bottom: 1px solid rgba(27,42,74,.16); }
dl.ov dt { font-weight: 900; font-size: 14px; letter-spacing: .08em; }
dl.ov dd { margin: 0; font-size: 15px; line-height: 1.75; }

/* Sections (2025 structure) */
section[id] { scroll-margin-top: 76px; }
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 44px; }
.sec-title { font-family: var(--font-latin); font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: .02em; }
.concept-body { display: flex; flex-direction: column; gap: 20px; max-width: 42em; min-width: 0; font-size: 16px; line-height: 2; }
.concept-end { font-family: var(--font-title); font-weight: 900; font-size: 22px; line-height: 1.6; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
@media (max-width: 720px) { .photos { grid-template-columns: 1fr; } }
.photo { aspect-ratio: 4 / 3; max-width: 100%; background: var(--yellow-pale); border-radius: 10px; display: grid; place-items: center; }
.photo { overflow: hidden; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph { font-size: 13px; font-weight: 700; color: var(--ink-soft); border: 1.5px dashed var(--ink-soft); border-radius: 8px; padding: 6px 12px; }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 820px) { .ov-grid { grid-template-columns: 1fr; } }
.map { margin-top: 20px; min-height: 260px; border-radius: 10px; background: var(--white); display: grid; place-items: center; }
/* 周辺地図（Googleマップの埋め込み） */
.ov-map-wrap { display: flex; flex-direction: column; min-width: 0; }
.ov-map { overflow: hidden; flex: 1 1 auto; }
.ov-map iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; }
.map-link { margin-top: 6px; font-size: 14px; font-weight: 700; }
.map-link a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.map-link a:hover { color: var(--ink-soft); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .flow { grid-template-columns: 1fr; } }
.flow li { background: var(--white); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.flow .no { font-family: var(--font-latin); font-weight: 800; font-size: 34px; line-height: 1; color: var(--yellow); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.flow h3 { font-size: 19px; font-weight: 900; }
.flow p { font-size: 15px; line-height: 1.8; }
.flow p b { font-weight: 900; white-space: nowrap; background: linear-gradient(transparent 62%, var(--yellow-pale) 62%); }
.faq { display: flex; flex-direction: column; border-top: 2px solid var(--ink); max-width: 880px; margin-inline: auto; }
.faq details { border-bottom: 1px solid rgba(27,42,74,.16); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding: 16px 0; font-weight: 900; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-latin); font-size: 22px; text-align: center; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .q { font-family: var(--font-latin); font-weight: 800; font-size: 20px; color: var(--accent); }
.faq .ans { padding: 0 32px 18px 40px; font-size: 15px; line-height: 1.85; }
.tier { font-family: var(--font-latin); font-weight: 800; font-size: 18px; letter-spacing: .16em; margin: 8px 0 14px; display: flex; align-items: center; gap: 12px; }
.tier::after { content: ""; flex: 1; height: 2px; background: rgba(27,42,74,.15); }
.sp-grid { display: grid; gap: 12px; margin-bottom: 32px; }
.sp-grid.gold { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-grid.silver { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 820px) { .sp-grid.gold, .sp-grid.silver { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sp { min-height: 88px; display: grid; place-items: center; text-align: center; padding: 12px; background: var(--white); border-radius: 10px; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--ink-soft); }
.sp-grid.gold .sp { min-height: 116px; font-size: 14px; }
.booth-lead { font-size: 16px; line-height: 1.9; max-width: 42em; margin-bottom: 28px; }
.rooms { margin: -8px 0 24px; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; }
.rooms b { font-weight: 900; margin-right: 10px; padding-right: 10px; border-right: 1px solid rgba(27,42,74,.3); }
.rooms > span { min-width: 0; }
@media (max-width: 640px) {
  .rooms { flex-direction: column; gap: 10px; }
  .rooms > span { display: flex; flex-direction: column; gap: 2px; }
  .rooms b { border-right: 0; margin-right: 0; padding-right: 0; font-size: 13px; color: var(--ink-soft); }
}
.floor { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 820px) { .floor { grid-template-columns: 1fr; } }
.floor-map { margin: 0; background: var(--white); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; position: sticky; top: 84px; }
@media (max-width: 820px) { .floor-map { position: static; } }
.booth-map { position: relative; }
.booth-img { display: block; width: 100%; height: auto; max-width: 100%; }
/* ブース位置に重ねた透明の枠。一覧または図にマウスを乗せると、同じ番号の枠が強調される */
.booth-frames { position: absolute; inset: 0; }
.bo { position: absolute; border-radius: 4px; transition: box-shadow .15s ease, background-color .15s ease; }
.bo.on { box-shadow: 0 0 0 3px #E5322D, 0 0 0 7px rgba(245,193,36,.55); }
.floor-map figcaption { font-size: 12px; color: var(--ink-soft); text-align: right; }
.booth-side { min-width: 0; }
.booth-side .tier { margin-top: 0; }
.booths { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.booths li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 12px; align-items: center; padding: 6px 8px; border-bottom: 1px solid rgba(27,42,74,.16); border-radius: 6px; cursor: default; transition: background-color .15s ease; }
.booths li.on, .booths li:focus-visible { background: #FDF3CF; }
.bno { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--font-latin); font-weight: 800; font-size: 14px; }
.bno.im { background: var(--yellow); color: var(--ink); font-size: 11px; }
.booths li.on .bno { background: var(--accent); color: var(--white); }
.bname { font-weight: 700; font-size: 14px; line-height: 1.4; }
.btitle { font-size: 12px; color: var(--ink-soft); line-height: 1.4; }
.ov-map { margin-top: 0; min-height: 100%; }
@media (max-width: 820px) { .ov-map { min-height: 260px; } }
.tt-open { font-weight: 700; font-size: 14px; color: var(--ink-soft); margin-block: 0 18px; }
.sessions + .tt-open { margin-block: 18px 0; }
.sessions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .sessions { grid-template-columns: 1fr; } }
.ses { background: var(--white); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.ses-thumb { aspect-ratio: 16 / 9; max-width: 100%; background: var(--yellow-soft); display: grid; place-items: center; }
.ses-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.ses-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ses-time { font-family: var(--font-latin); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.ses-title { font-size: 17px; font-weight: 900; line-height: 1.5; }
.ses-who { font-size: 14px; color: var(--ink-soft); }
.cta-scene { position: relative; width: 100%; max-width: 100%; height: clamp(96px, calc(100vw * 170 / 1440), 200px); overflow: hidden; }
.cta-scene .scene-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 100%; }
/* 帯のバスのアニメーションは dcms_media/other/honaikoka2027-band-scene.svg の中に記述しています */
.ses { text-decoration: none; color: inherit; cursor: pointer; border: 2px solid transparent; box-shadow: 0 1px 0 rgba(27,42,74,.08); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ses:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(27,42,74,.14); border-color: var(--ink); }
.ses:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ses-thumb { overflow: hidden; }
.ses-thumb .ph { transition: transform .25s ease; }
.ses:hover .ses-thumb .ph { transform: scale(1.04); }
/* 画像に差し替えたとき（データファイルで thumbnail / photo / logo を指定）の表示 */
.ses-thumb img, .m-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.ses:hover .ses-thumb img { transform: scale(1.04); }
.m-photo { overflow: hidden; }
.m-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* スポンサーロゴ：480×200 の共通キャンバス（余白込み・大きさ調整済み）を枠の幅に合わせて表示 */
.sp img { display: block; width: 100%; max-width: 180px; height: auto; }
.sp-grid.gold .sp img { max-width: 240px; }
.ses-more { margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 900; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--white); transition: gap .18s ease; }
.ses:hover .ses-more { gap: 12px; }
.ses-body { flex: 1; }
@media (prefers-reduced-motion: reduce) { .ses, .ses-thumb .ph, .ses-more { transition: none; } .ses:hover { transform: none; } }

/* Session detail modal */
.ses-modal { border: 0; padding: 0; width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.ses-modal::backdrop { background: rgba(27,42,74,.6); }
.m-inner { display: flex; flex-direction: column; max-height: inherit; overflow-y: auto; }
/* サムネイル：上に×ボタン用の余白、左右は本文と同じ余白を取り、角を丸める */
.m-thumb { aspect-ratio: 16 / 9; max-width: 100%; max-height: 300px; flex: none; margin: 56px 28px 0; border-radius: 10px; overflow: hidden; background: var(--yellow-soft); display: grid; place-items: center; }
.m-body { padding: 24px 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.m-time { font-family: var(--font-latin); font-weight: 800; font-size: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.m-title { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; line-height: 1.45; }
.m-sub { font-size: 15px; font-weight: 700; color: var(--ink-soft); margin-top: -6px; }
.ses-detail { display: none !important; } /* 講演カード内の詳細（モーダル用の原稿）。ページ上には表示しない */
#m-detail { display: contents; } /* モーダル内の差し込み枠（レイアウトには影響させない） */
.m-abstract { font-size: 15px; line-height: 1.9; }
.m-speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; border-top: 2px solid var(--ink); padding-top: 18px; }
.m-sp { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; }
.m-photo { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow-pale); display: grid; place-items: center; font-size: 11px; color: var(--ink-soft); }
.m-name { font-weight: 900; font-size: 16px; }
.m-role { font-size: 12px; line-height: 1.6; color: var(--ink-soft); }
/* 閉じるボタン：モーダル内の右上（サムネイルの上の余白）に紺の×。×は線で描画（文字「閉じる」は読み上げ用に視覚的に非表示） */
.m-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; z-index: 2; transition: background-color .15s ease; }
.m-close::before, .m-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor; }
.m-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.m-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.m-close:hover { background: rgba(27,42,74,.08); }
.m-close-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.m-inner { border-radius: inherit; }
@media (max-width: 640px) { .ses-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; } .m-body { padding: 20px 16px 32px; } .m-thumb { margin: 56px 16px 0; } .m-close { right: 6px; } }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 56px; align-items: start; }
.about-photos { min-width: 0; }
.about-photos .photos { display: flex; flex-direction: column; margin-top: 0; gap: 0; }
.about-photos .photo { aspect-ratio: 4 / 3; border: 6px solid var(--paper); border-radius: 14px; box-shadow: 0 10px 24px rgba(27,42,74,.12); position: relative; }
.about-photos .photo:nth-child(1) { width: 92%; align-self: flex-end; z-index: 1; }
.about-photos .photo:nth-child(2) { width: 62%; align-self: flex-start; margin-top: -18%; z-index: 2; background: var(--yellow-soft); }
.about-photos .photo:nth-child(3) { width: 74%; align-self: flex-end; margin-top: -12%; margin-right: 4%; z-index: 3; }
.about-photos .note { text-align: right; margin-top: 10px; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photos .photos { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px 0; align-items: center; }
  .about-photos .photo:nth-child(1) { grid-row: 1 / 3; grid-column: 1; width: auto; align-self: center; margin: 0; }
  .about-photos .photo:nth-child(2) { grid-row: 1; grid-column: 2; width: auto; align-self: end; margin: 0 0 0 -12px; }
  .about-photos .photo:nth-child(3) { grid-row: 2; grid-column: 2; width: auto; align-self: start; margin: 0 0 0 -12px; }
  .about-photos .photo { border-width: 4px; border-radius: 10px; }
  .about-photos .note { text-align: left; }
}
.ov-parts { display: flex; flex-direction: column; gap: 64px; }
.ov-sub { font-family: var(--font-title); font-weight: 900; font-size: clamp(20px, 2.4vw, 26px); display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ov-sub::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--ink); }
.contact { background: var(--paper); border-top: 1px solid rgba(27,42,74,.12); }
.site-foot { background: #141414; color: #FFFFFF; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; padding-block: 32px 20px; }
.foot-contact { display: flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; }
.foot-title { font-family: var(--font-title); font-weight: 900; font-size: 20px; }
.foot-org { font-size: 13px; line-height: 1.7; color: #D7DBE4; }
.foot-mail { appearance: none; border: 0; background: transparent; padding: 0; min-height: 44px; cursor: pointer; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-latin); font-weight: 700; font-size: 18px; color: #FFFFFF; transition: color .15s ease; }
.foot-copy { color: #D7DBE4; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; transition: color .15s ease, background-color .15s ease; }
.foot-mail:hover, .foot-mail:focus-visible { color: var(--yellow); }
.foot-copy img { display: block; }
.foot-copy .ic-hover { display: none; }
.foot-mail:hover .foot-copy .ic, .foot-mail:focus-visible .foot-copy .ic { display: none; }
.foot-mail:hover .foot-copy .ic-hover, .foot-mail:focus-visible .foot-copy .ic-hover { display: block; }
.foot-mail:hover .foot-copy, .foot-mail:focus-visible .foot-copy { color: var(--yellow); background: rgba(255,255,255,.1); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mail-wrap { position: relative; align-self: flex-start; }
.foot-tip { position: absolute; left: 0; bottom: calc(100% + 8px); background: var(--yellow); color: #141414; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 8px; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; }
.foot-tip::after { content: ""; position: absolute; left: 24px; top: 100%; border: 6px solid transparent; border-top-color: var(--yellow); }
.foot-tip.show { opacity: 1; transform: none; }
.foot-tip:empty { display: none; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; font-size: 12px; }
.foot-links a { color: #D7DBE4; text-decoration: none; }
.foot-links a:hover { color: #FFFFFF; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; border-top: 1px solid rgba(255,255,255,.18); padding-block: 14px; font-size: 11px; color: #9AA3B5; }
.foot-logo { height: 24px; width: auto; max-width: 100%; }
@media (max-width: 720px) { .foot-top { flex-direction: column; align-items: flex-start; } .foot-links { justify-content: flex-start; } }
.cta { background: var(--yellow); text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: 40px 20px; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 30px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 900; font-size: 17px; letter-spacing: .04em; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.contact { font-size: 14px; }
.contact b { font-family: var(--font-latin); font-size: 17px; user-select: all; }


/* KV call to action: tear-off stub at the bottom of the ticket */
.when-a { position: relative; }
.kv-b { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; padding: 14px 28px; border-radius: 0 0 16px 16px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: .06em; position: relative; }
.kv-b::before, .kv-b::after { content: ""; position: absolute; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); }
.kv-b::before { left: -9px; } .kv-b::after { right: -9px; }
.sub .sp { display: none; }
@media (max-width: 760px) { .sub .sp { display: inline; } }

/* 参加特典（Amazonギフトカード）：KVのチケットに貼るステッカー（.kv-gift）、ページ下部の申し込みエリア（.cta-gift） */
.kv-gift { position: absolute; top: -72px; right: -104px; width: 132px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--white); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 900; line-height: 1.2; rotate: 10deg; box-shadow: 0 0 0 4px var(--yellow), 0 4px 0 4px rgba(27,42,74,.9); z-index: 2; transition: transform .2s; }
.kv-gift::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.75); }
.kv-gift:hover { transform: scale(1.05); }
.kg-tag { font-size: 11px; background: var(--white); color: var(--accent); border-radius: 999px; padding: 1px 8px; margin-bottom: 3px; }
.kg-item { font-size: 12px; }
.kg-amt { font-size: 13px; }
.kg-amt b { font-family: var(--font-title); font-size: 30px; letter-spacing: -.02em; }
.kg-pre { font-size: 13px; }
.cta-gift { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; font-weight: 900; font-size: 16px; line-height: 1.5; }
.cta-gift-tag { background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 3px 14px; font-size: 14px; }
.cta-gift b { font-size: 1.25em; margin-inline: 4px; }
.cta-gift-text > span { display: inline-block; }
.cta-gift-note { max-width: 760px; margin-top: -4px; font-size: 11px; line-height: 1.7; text-align: left; color: var(--ink-soft); }
.cta-gift-note p { padding-left: 1em; text-indent: -1em; }
.cta-gift-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .kv-gift { width: 86px; top: auto; bottom: -34px; right: 6px; translate: none; }
  .kv-gift::before { inset: 4px; }
  .kg-tag { font-size: 9px; padding: 0 6px; margin-bottom: 2px; }
  .kg-item { font-size: 9px; }
  .kg-amt { font-size: 10px; }
  .kg-amt b { font-size: 19px; }
  .kg-pre { font-size: 10px; }
}
@media (max-width: 640px) {
  .cta-gift { font-size: 14px; }
}
@media (max-width: 380px) {
  .kv-gift { width: 76px; right: -10px; }
  .kg-tag { font-size: 8px; }
  .kg-item, .kg-amt, .kg-pre { font-size: 9px; }
  .kg-amt b { font-size: 17px; }
}
