:root {
  --ink: #181F4C;
  --navy: #0B8590;
  --text: #4A4F6B;
  --muted: #6E7391;
  --line: #DDE0EC;
  --bg: #F4F5FA;
  --white: #FFFFFF;
  --pale: #D6F3F5;
  --q: #7FDCE3;
  --dash: #C3C7D9;
  --avatar: #E4E6F0;
  --slot: #E8EAF2;
  --slot-border: #A9AEC8;
  --modal-line: #4A5490;
  --modal-photo: #232C66;
  --modal-border: #343E80;
  --accent: #30C8D3;
  --serif: "Newsreader", serif;
  --mincho: "Shippori Mincho B1", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
}

/* ==========================================================
   ロゴサイズ一括設定（height）
   --logo-strip-h : FVのロゴスクロール
   --logo-card-h  : タイムテーブルの各社ロゴ
   --logo-sponsor-h : スポンサー欄
   ここを書き換えるだけで、その会社のロゴがすべて変わります
   ========================================================== */
img[src$="logo-asulever.webp"]  { --logo-strip-h: 35px; --logo-card-h: 35px; } /* アスレバ */
img[src$="logo-panhouse.webp"]  { --logo-strip-h: 35px; --logo-card-h: 30px; } /* パンハウス */
img[src$="logo-pkshatech.webp"] { --logo-strip-h: 25px; --logo-card-h: 25px; } /* PKSHA Infinity */
img[src$="logo-goma.webp"]      { --logo-strip-h: 30px; --logo-card-h: 30px; --logo-sponsor-h: 56px; } /* GoMA */
img[src$="logo-shikigaku.webp"] { --logo-strip-h: 35px; --logo-card-h: 35px; } /* 識学 */
img[src$="logo-3shake.webp"]    { --logo-strip-h: 40px; --logo-card-h: 34px; --logo-sponsor-h: 72px; } /* スリーシェイク */
img[src$="logo-tri-force.webp"] { --logo-sponsor-h: 72px; } /* TRIFORCE */
img[src$="logo-innoov.webp"]    { --logo-sponsor-h: 64px; } /* INNOOV */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

a {
  color: var(--navy);
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
p {
  margin: 0;
}

button {
  font-family: inherit;
  color: inherit;
}

.page {
  position: relative;
  z-index: 1;
  background-color: transparent;
  color: var(--ink);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #181F4C;
  background-image: url("img/fv-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* FV */
.fv {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.fv-inner,
.fv .logo-band,
.fv > .link-form-wrap {
  position: relative;
  z-index: 1;
}

.fv-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 40px 48px;
}

.fv-copy {
  flex: 1 1 540px;
  min-width: 0;
  padding-bottom: 64px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--navy);
}

.fv-h1,
.fv-copy img {
  margin: 0;
  font-size: inherit;
  line-height: 0;
  width: 100%;
}

.fv-title {
  display: block;
  margin-top: 24px;
  width: 100%;
  max-width: 620px;
  height: auto;
}

.fv-heading {
  margin: 36px 0 0;
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.fv-lead {
  margin-top: 8px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text);
}

.fv-meta {
  margin-top: 36px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
}

.fv-date {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1;
}

.fv-dow {
  font-size: 0.45em;
  margin-left: 8px;
}

.fv-time {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
}

.fv-note {
  font-size: 14px;
  color: var(--text);
}

.link-form-wrap {
  padding: 8px 24px 56px;
  text-align: center;
}

.link-form-ttl {
  margin-bottom: 4px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  padding: 0 24px;
  color: var(--ink);
}

.link-form-ttl::before,
.link-form-ttl::after {
  height: 44px;
  width: 2px;
  content: "";
  display: block;
  flex-shrink: 0;
  background-color: var(--ink);
}

.link-form-ttl::before {
  margin-right: 16px;
  transform: rotate(-30deg);
}

.link-form-ttl::after {
  margin-left: 16px;
  transform: rotate(30deg);
}

.link-form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background: linear-gradient(270deg, #edd994 0%, #dfbd64 20%, #e7cc83 40%, #fffcde 60%, #eddfa7 80%, #deb96b 100%);
  color: #101010;
  padding: 8px 16px;
  font-size: 24px;
  font-weight: 600;
  max-width: 472px;
  width: 100%;
  text-decoration: none;
  border-radius: 50px;
  position: relative;
  transition: 0.2s;
}

.link-form::before {
  content: "";
  background: linear-gradient(135deg, #a2682a 0%, #be8c3c 8%, #be8c3c 18%, #d3b15f 27%, #e7d180 35%, #ffffc2 40%, #faf0a0 50%, #d3b15f 58%, #be8c3c 67%, #b17b32 77%, #bb8332 83%, #d4a245 88%, #e1b453 93%, #a4692a 100%);
  position: absolute;
  inset: 0;
  border-radius: 50px;
  border: 2px solid transparent;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  mask-composite: exclude;
  pointer-events: none;
}

.link-form img {
  width: 20px;
  height: auto;
  margin-right: 10px;
  filter: brightness(0);
}

.link-form:hover {
  color: #101010;
  transform: translate(0, 3px);
}

@media (max-width: 786px) {
  .link-form-ttl {
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .link-form-ttl::before,
  .link-form-ttl::after {
    height: 28px;
  }

  .link-form {
    font-size: 18px;
  }
}

#fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 5;
  opacity: 0;
  display: none;
  transition: opacity 0.5s ease;
}

#fixed::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(24, 31, 76, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#fixed .link-form-ttl {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

#fixed .link-form-ttl::before,
#fixed .link-form-ttl::after {
  height: 18px;
  width: 2px;
  background-color: #fff;
}

#fixed .link-form-ttl::before {
  margin-right: 8px;
}

#fixed .link-form-ttl::after {
  margin-left: 8px;
}

#fixed .link-form-wrap {
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  padding: 0;
  opacity: 1;
}

#fixed .link-form {
  padding: 8px 32px;
  font-size: 18px;
}

body.modal-open #fixed {
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width: 800px) {
  #fixed .link-form-wrap {
    padding: 0 16px;
  }

  #fixed .link-form-ttl {
    line-height: 1.2;
    margin-bottom: 8px;
  }

  #fixed .link-form {
    font-size: 14px;
    padding: 8px;
    width: 100%;
  }
}

.speaker-slot-wrap {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  align-items: center;
}

.speaker-slot img{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.speaker-slot-label {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.speaker-slot-note {
  font-size: 13px;
  color: var(--text);
}

.logo-band {
  /* border-top: 1px solid var(--line); */
  /* background-color: var(--white); */
  padding: 28px 0;
  overflow: hidden;
}

.logo-marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.logo-marquee-set {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.logo-ph {
  flex: 0 0 auto;
  min-width: 150px;
  height: 56px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  padding: 8px 12px;
}

.logo-ph.is-tight {
  font-size: 12px;
}

.logo-ph img {
  display: block;
  width: auto;
  height: var(--logo-strip-h, 28px);
}

.logo-ph:has(img) {
  border-color: transparent;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(var(--strip-shift, -50%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    mask: none;
    -webkit-mask: none;
  }

  .logo-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
}

/* Sections */
#concept,
#recommend,
#sponsor,
#about {
  position: relative;
  background: transparent;
}

#concept::before,
#recommend::before,
#sponsor::before,
#about::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.93);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.section-en {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--ink);
}

.section-ja {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.concept-grid {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.concept-copy {
  min-width: 0;
}

.concept-heading {
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.55;
  text-align: center;
}

.concept-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--ink);
}

/* Timetable */
.timetable {
  background-color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(24, 31, 76, 0.12);
  border-bottom: 1px solid rgba(24, 31, 76, 0.12);
  color: var(--ink);
}

.timetable .section-en {
  color: var(--ink);
}

.timetable-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text);
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--avatar);
  flex-shrink: 0;
}

.tt-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tt-grid .r,
.tt-grid .opening {
  grid-column: 1 / -1;
}

.tt-grid .r,
.tt-grid .s {
  color: var(--ink);
}

.tt-grid .r-time,
.tt-grid .s-time {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.tt-grid .r {
  background-color: var(--white);
  border: 1px solid var(--line);
  padding: 18px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 36px;
}

.tt-grid .r-time {
  flex: 0 0 150px;
  font-size: 18px;
}

.tt-grid .r-name {
  flex: 1 1 280px;
  font-weight: 700;
}

.tt-grid .r-host {
  font-size: 14px;
  color: var(--text);
}

.tt-grid .s {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
}

.tt-grid .s-time {
  padding: 22px 24px 0;
  font-size: 22px;
}

.tt-grid .s-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 6px 24px 48px;
}

.tt-grid .s-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 12px;
}

.tt-grid .s-label {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.tt-grid .s-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 2px 10px;
}

.tt-grid .s-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.tt-grid .s-logo {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 1;
  width: auto;
  min-width: 120px;
  padding: 0 14px;
  height: 34px;
  border: none;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

.tt-grid .s-title {
  font-family: var(--mincho);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.5;
}

.tt-grid .s-sub {
  margin-top: 2px;
  font-size: 15px;
  color: var(--text);
}

.tt-grid .s-spk {
  margin-top: 18px;
  padding: 16px 0 0;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  cursor: pointer;
}

.tt-grid .s .avatar {
  width: 120px;
  height: 120px;
}

.tt-grid .s-spk-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.tt-grid .s-spk-meta b {
  font-size: 16px;
  color: var(--ink);
}

.tt-grid .s-more {
  position: absolute;
  right: 24px;
  bottom: 16px;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.tt-grid .s-spk:hover .s-more {
  text-decoration-color: currentColor;
}

.tt-grid .opening {
  display: grid;
  grid-template-columns: auto 1fr;
  background-color: var(--ink);
  border: 0;
  border-top: 4px solid #C8A978;
  color: var(--white);
}

.tt-grid .opening::after {
  display: none;
}

.tt-grid .opening .s-time {
  align-self: center;
  padding: 24px 32px;
  color: var(--white);
}

.tt-grid .opening .s-card {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  padding: 24px 32px 24px 0;
}

.tt-grid .opening .s-meta {
  margin: 0;
}

.tt-grid .opening .s-label {
  border: 1px solid #D9BE91;
  color: #D9BE91;
  padding: 2px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tt-grid .opening .s-body {
  flex: 1 1 360px;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.tt-grid .opening .s-logo {
  color: var(--white);
}

.tt-grid .opening .s-title {
  color: var(--white);
  font-size: 22px;
}

.tt-grid .opening .s-spk {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
}

.tt-grid .opening .s-spk-meta,
.tt-grid .opening .s-spk-meta b {
  color: var(--white);
}

.tt-grid .opening .s-more {
  color: #D9BE91;
}

/* About */
.about-table {
  margin-top: 48px;
  border-top: 2px solid var(--ink);
}

.about-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.about-label {
  flex: 0 0 180px;
  font-weight: 700;
  color: var(--navy);
}

.about-value {
  flex: 1 1 320px;
}

/* Entry */
.entry {
  background-color: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border-top: 1px solid rgba(24, 31, 76, 0.12);
  color: var(--ink);
}

.entry-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.entry .section-en {
  color: var(--ink);
}

.entry-ja {
  color: var(--ink);
}

.entry-heading {
  margin: 36px 0 0;
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.6;
}

.entry-meta {
  margin-top: 20px;
  font-size: 15px;
  color: var(--text);
}

.form-frame {
  margin-top: 48px;
  width: 100%;
  background-color: var(--white);
  color: var(--ink);
  padding: 40px;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  text-align: left;
}

/* EventHub埋め込みフォーム */
#eh-root {
  width: 100%;
}

.form-placeholder {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 2px dashed var(--slot-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}

.form-placeholder-label {
  font-weight: 700;
  font-size: 18px;
}

.form-placeholder-note {
  font-size: 14px;
  color: var(--muted);
}

.entry-note {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text);
  text-align: left;
  width: 100%;
}

.entry-note a {
  color: var(--navy);
  text-decoration: underline;
}

.entry-note a:hover {
  color: var(--ink);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(10, 13, 34, 0.75);
  overflow-y: auto;
  padding: 48px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal[hidden] {
  display: none;
}

.modal-dialog {
  width: 100%;
  max-width: 960px;
  background-color: var(--ink);
  color: var(--white);
  border: 1px solid var(--modal-border);
}

.modal-close-row {
  display: flex;
  justify-content: flex-end;
  padding: 12px 12px 0;
}

.modal-close {
  width: 48px;
  height: 48px;
  border: 0;
  background-color: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 8px 48px 48px;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.modal-label {
  border: 1px solid var(--white);
  padding: 4px 18px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.06em;
}

.modal-time {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.modal-title {
  margin-top: 28px;
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.5;
}

.modal-sub {
  margin-top: 4px;
  font-size: 17px;
  color: var(--pale);
}

.modal-sub[hidden] {
  display: none;
}

.modal-divider {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.modal-divider-label {
  font-size: 15px;
  flex-shrink: 0;
}

.modal-divider-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--modal-line);
}

.modal-profile {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
}

.modal-photo {
  flex: 0 0 220px;
  height: 260px;
  background-color: var(--modal-photo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--q);
}

.modal-detail {
  flex: 1 1 380px;
  min-width: 0;
}

.modal-name-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.modal-name {
  font-weight: 700;
  font-size: 24px;
}

.modal-logo {
  flex-shrink: 0;
  width: 132px;
  height: 80px;
  background-color: var(--white);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  padding: 8px;
}

.modal-role {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.modal-bio {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.9;
  color: #E3E6F4;
}

body.modal-open {
  overflow: hidden;
}

/* Footer */
footer {
  padding: 40px 16px 16px;
  text-align: center;
  background: rgba(24, 31, 76, 0.94);
  backdrop-filter: blur(16px);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 82px;
}

.footer-wrap img {
  height: 22px;
  width: auto;
}

.footer-wrap .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-wrap .menu li {
  margin-right: 40px;
}

.footer-wrap .menu li:last-child {
  margin-right: 0;
}

.footer-wrap .menu a {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.footer-wrap .menu a:hover {
  color: #fff;
}

footer small {
  font-size: 12px;
  line-height: 16px;
  color: #fff;
}

/* サンクスページ */
.thanks-page .page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 64px;
  text-align: center;
  color: var(--ink);
}

.thanks-en {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1;
  letter-spacing: 0.04em;
}

.thanks h1 {
  margin: 24px 0 0;
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.6;
}

.thanks-lead,
.thanks-note {
  max-width: 640px;
  margin: 24px 0 0;
  line-height: 1.8;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.thanks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 60px;
  padding: 0 24px;
  border-radius: 50px;
  border: 1px solid transparent;
  background: linear-gradient(270deg, #edd994 0%, #dfbd64 20%, #e7cc83 40%, #fffcde 60%, #eddfa7 80%, #deb96b 100%);
  color: #101010;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.thanks-btn:hover {
  color: #101010;
}

.thanks-btn--line {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--ink);
  color: var(--ink);
}

.thanks-btn--line:hover {
  color: var(--ink);
}

@media screen and (max-width: 786px) {
  .thanks {
    padding: 72px 16px 48px;
  }

  .thanks-btn {
    width: 100%;
    min-width: 0;
    height: 52px;
    font-size: 16px;
  }
}

@media screen and (max-width: 786px) {
  .footer-wrap {
    flex-direction: column;
    margin-bottom: 64px;
  }

  .footer-wrap img {
    height: 18px;
  }

  .footer-wrap .menu {
    margin-top: 64px;
    flex-direction: column;
  }

  .footer-wrap .menu li {
    margin-right: 0;
    margin-bottom: 24px;
  }

  .footer-wrap .menu li:last-child {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 786px) {
  .tt-grid {
    grid-template-columns: 1fr;
  }

  .tt-grid .r {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tt-grid .r-time {
    flex: 1 1 100%;
  }

  .tt-grid .opening {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .tt-grid .opening .s-time {
    padding: 20px 24px 12px;
  }

  .tt-grid .opening .s-card {
    padding: 0 24px 24px;
    gap: 12px;
  }

  .section-en {
    font-size: 36px;
  }

  .fv-title {
    margin-left: auto;
    margin-right: auto;
  }

  .speaker-slot img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* ===== 12/3 additions ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 主催講演：サイズは他カードと同じ。色と影で目立たせる */
.tt-grid .opening.host {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(135deg, #181F4C 0%, #2A3478 100%);
  border-top: 4px solid #C8A978;
  box-shadow: 0 10px 28px rgba(24, 31, 76, 0.3), 0 0 0 1px rgba(200, 169, 120, 0.6);
}

.tt-grid .opening.host .s-time {
  align-self: flex-start;
  padding: 22px 24px 0;
  font-size: 22px;
}

.tt-grid .opening.host .s-card {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  grid-template-areas:
    "meta meta"
    "body spk";
  align-items: center;
  gap: 12px 40px;
  padding: 6px 24px 48px;
}

.tt-grid .opening.host .s-meta {
  grid-area: meta;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0 0 4px;
}

.tt-grid .opening.host .s-label {
  background-color: #C8A978;
  border-color: #C8A978;
  color: #181F4C;
  font-size: 15px;
  padding: 2px 14px;
  letter-spacing: 0.16em;
}

.tt-grid .opening.host .s-logo {
  color: #fff;
}

.tt-grid .opening.host .s-body {
  grid-area: body;
  flex: none;
  min-width: 0;
}

.tt-grid .opening.host .s-title {
  font-size: 19px;
  line-height: 1.5;
}

.tt-grid .opening.host .s-spk {
  grid-area: spk;
  align-self: end;
  justify-self: start;
}

.tt-grid .opening .s-more {
  color: #D9BE91;
}

@media (max-width: 786px) {
  .tt-grid .opening.host .s-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "meta"
      "body"
      "spk";
    gap: 12px;
    padding: 6px 24px 48px;
  }

  .tt-grid .opening.host .s-spk {
    align-self: start;
  }
}

/* モーダル：モバイル（縦積みになる幅）では登壇者写真を中央揃え */
@media (max-width: 767px) {
  .modal-photo {
    margin: 0 auto;
  }
}

/* 登壇者画像・ロゴ */
.avatar {
  overflow: hidden;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.tt-grid .s-logo img {
  display: block;
  width: auto;
  height: var(--logo-card-h, 20px);
}

.modal-photo {
  overflow: hidden;
}

.modal-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.modal-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-bio {
  white-space: pre-line;
}

@media (max-width: 480px) {
  .modal-body {
    padding: 8px 32px 40px;
  }

  .modal-name {
    font-size: 22px;
    white-space: nowrap;
  }

  .modal-logo {
    width: 104px;
    height: 64px;
  }
}

/* 登壇者写真がある場合は枠の背景色を出さない */
.avatar:has(img),
.modal-photo.has-photo {
  background-color: transparent;
}

.modal-role [data-field="role"] {
  white-space: pre-line;
}

/* スマホ：時間とロゴを横並びにし、入りきらない場合はロゴを次の行へ回り込ませる */
@media (max-width: 786px) {
  .tt-grid .s-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 20px 24px 0;
  }

  .tt-grid .s .s-head .s-time {
    padding: 0;
  }

  .tt-grid .s .s-head .s-logo {
    position: static;
    margin-left: auto;
  }
}

/* iPhone 14 Pro（393px）より狭い画面：登壇者を縦並びに */
@media (max-width: 392px) {
  .tt-grid .s-spk {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .tt-grid .opening.host .s-spk {
    justify-self: stretch;
  }

  .tt-grid .s-spk-meta {
    flex: none;
    width: 100%;
  }
}

/* タイムテーブルのラベル（グラデーション） */
.tt-grid .s-meta--tagged {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.tt-grid .s-tag {
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.tt-grid .s-tag--sponsor {
  background: linear-gradient(135deg, #181F4C 0%, #3F4DA8 100%);
  color: var(--white);
}

.tt-grid .s-tag--host {
  background: linear-gradient(135deg, #C8A978 0%, #EEDDB0 100%);
  color: var(--ink);
}

/* こんな方におすすめ */
#recommend {
  padding-top: 0;
}

.recommend-list {
  margin: 48px auto 0;
  padding: 0;
  max-width: 800px;
  list-style: none;
}

.recommend-list li {
  position: relative;
  padding: 16px 0 16px 36px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.6;
}

.recommend-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 22px;
  width: 14px;
  height: 8px;
  border-left: 3px solid #C8A978;
  border-bottom: 3px solid #C8A978;
  transform: rotate(-45deg);
}

/* スポンサー */
#sponsor {
  padding-bottom: 0;
}

.sponsor-list {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.sponsor-item {
  width: 280px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
}

.sponsor-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: var(--logo-sponsor-h, 56px);
}

/* 主催挨拶：他のカードより薄い帯状のレイアウト */
.tt-grid .opening.host {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.tt-grid .opening.host .s-time {
  padding: 0 32px 0 24px;
}

.tt-grid .opening.host .s-card {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta spk"
    "body spk";
  gap: 4px 32px;
  padding: 24px 200px 24px 0;
}

.tt-grid .opening.host .s-meta {
  margin: 0;
}

.tt-grid .opening.host .s-label {
  font-size: 13px;
  line-height: 1.6;
}

.tt-grid .opening.host .s-body {
  gap: 0;
}

.tt-grid .opening.host .s-spk {
  gap: 14px;
  align-self: center;
}

.tt-grid .opening.host .avatar {
  width: 88px;
  height: 88px;
}

@media (max-width: 980px) and (min-width: 787px) {
  .tt-grid .opening.host .s-time {
    padding-right: 20px;
    font-size: 18px;
  }

  .tt-grid .opening.host .s-card {
    padding: 56px 90px 16px 0;
  }
}

@media (max-width: 786px) {
  .tt-grid .opening.host {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .tt-grid .opening.host .s-head {
    flex-wrap: nowrap;
    padding: 14px 20px 0;
  }

  .tt-grid .opening.host .s-time {
    padding: 0;
    font-size: 18px;
  }

  .tt-grid .opening.host .s-logo {
    min-width: 0;
    padding: 0 8px;
    height: 32px;
  }

  .tt-grid .opening.host .s-logo img {
    height: 26px;
  }

  .tt-grid .opening.host .s-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "meta"
      "body"
      "spk";
    gap: 4px;
    padding: 8px 20px 14px;
  }

  .tt-grid .opening.host .s-title {
    font-size: 17px;
  }

  .tt-grid .opening.host .s-spk {
    flex-direction: row;
    justify-self: stretch;
    margin-top: 6px;
    text-align: left;
  }

  .tt-grid .opening.host .s-spk-meta {
    flex: 1;
    width: auto;
  }

  .tt-grid .opening.host .avatar {
    width: 60px;
    height: 60px;
  }

  .tt-grid .opening.host .s-more {
    right: 20px;
    bottom: 14px;
  }
}

/* 主催挨拶・主催講演のラベル */
.tt-grid .opening.host .s-label,
.tt-grid .s-tag--host {
  background: linear-gradient(135deg, #E7CC83 0%, #FFFCDE 35%, #E7D180 60%, #C99A45 100%);
  background-origin: border-box;
  border-color: transparent;
}

/* 主催挨拶のゴールドの線 */
.tt-grid .opening.host {
  border-image: linear-gradient(135deg, #A2682A 0%, #BE8C3C 8%, #BE8C3C 18%, #D3B15F 27%, #E7D180 35%, #D3B15F 58%, #BE8C3C 67%, #B17B32 77%, #BB8332 83%, #D4A245 88%, #E1B453 93%, #A4692A 100%) 1;
}

/* SESSIONとラベルの文字を縦中央に揃える（フォントごとの文字位置のズレを補正） */
.tt-grid .s-meta--tagged .s-label {
  position: relative;
  top: 1.5px;
}

.tt-grid .s-meta--tagged .s-tag {
  padding-top: 1px;
  padding-bottom: 3px;
}
