:root {
  --color-paper: #f3efe3;
  --color-ink: #171816;
  --color-green: #458f6e;
  --color-orange: #c58b38;
  --paper-texture: radial-gradient(rgba(91, 77, 53, 0.1) 0.65px, transparent 0.65px);
  --font-base: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-display: var(--font-base);
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--color-ink);
  background-color: var(--color-paper);
  background-image: var(--paper-texture);
  background-size: 7px 7px;
  font-family: var(--font-base);
  line-height: 1.8;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== ヘッダー ===== */
.header {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5vw;
  border-bottom: 1px solid rgba(23, 24, 22, 0.15);
  background: rgba(243, 239, 227, 0.96);
}

.brand,
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__name {
  width: 185px;
  height: auto;
}

.brand__event {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.navigation__link {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
  text-decoration: none;
}

.navigation__link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--color-green);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.navigation__link:hover::after,
.navigation__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navigation__link--accent {
  color: var(--color-green);
  font-weight: 700;
}

.menu-button {
  display: none;
}

/* ===== キービジュアル ===== */
.hero {
  position: relative;
  width: 100%;
  margin: 0;
  animation: arrive 650ms ease both;
}

.section-index {
  margin: 0;
  color: var(--color-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero__figure {
  margin: 0;
  overflow: hidden;
}

/* メイン画像の下端を、ぼかしで背景に溶け込ませる
   （95% の位置から下に向かって徐々に透明になる。左下の日程・会場の文字が消えないよう 95% にしている。数字を小さくするとぼかしの範囲が広がる） */
.hero__image {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 95%, transparent 100%);
}

.main {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.main::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    url("../images/men24x.png"),
    url("../images/men14x.png"),
    url("../images/men24x.png"),
    url("../images/men14x.png");
  background-repeat: no-repeat;
  background-size:
    min(74vw, 1040px) auto,
    min(68vw, 920px) auto,
    min(76vw, 1080px) auto,
    min(66vw, 900px) auto;
  background-position:
    right -50vw top 7%,
    left -50vw top 32%,
    right -50vw top 56%,
    left -50vw bottom 3%;
  content: "";
  pointer-events: none;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 24px;
  border: 1px solid var(--color-ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.button--solid {
  color: #fff;
  background: var(--color-ink);
}

.button--solid:hover,
.button--solid:focus-visible {
  background: var(--color-green);
}

.button--outline {
  background: transparent;
}

.button--outline:hover,
.button--outline:focus-visible {
  color: #fff;
  background: var(--color-ink);
}

.button--disabled {
  color: #777;
  border-color: #c9c9c9;
  background: #e6e6e6;
  cursor: not-allowed;
}

/* ===== カイギについて ===== */
.section-band {
  position: relative;
  isolation: isolate;
  padding: 84px max(8vw, calc((100vw - var(--content-width)) / 2));
  background-image: var(--paper-texture);
  background-size: 7px 7px;
}

.concept::after,
.program::after,
.speakers::after,
.messages::after,
.closing::before {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  height: 16px;
  content: "";
  pointer-events: none;
  clip-path: polygon(
    0 0, 2.5% 100%, 5% 0, 7.5% 100%, 10% 0, 12.5% 100%,
    15% 0, 17.5% 100%, 20% 0, 22.5% 100%, 25% 0, 27.5% 100%,
    30% 0, 32.5% 100%, 35% 0, 37.5% 100%, 40% 0, 42.5% 100%,
    45% 0, 47.5% 100%, 50% 0, 52.5% 100%, 55% 0, 57.5% 100%,
    60% 0, 62.5% 100%, 65% 0, 67.5% 100%, 70% 0, 72.5% 100%,
    75% 0, 77.5% 100%, 80% 0, 82.5% 100%, 85% 0, 87.5% 100%,
    90% 0, 92.5% 100%, 95% 0, 97.5% 100%, 100% 0,
    100% 100%, 0 100%
  );
}

.concept::after {
  bottom: -1px;
  background: var(--color-green);
}

.program::after {
  bottom: -1px;
  background: #d8ad35;
}

.speakers::after {
  bottom: -1px;
  background: #329bc0;
}

.messages::after {
  bottom: -1px;
  background: #a45cab;
}

.closing::before {
  top: -1px;
  background: var(--color-green);
  transform: rotate(180deg);
}

/* ===== スクロール時のフェードイン ===== */
/* セクションの背景はそのまま見せて、中身（見出し・本文・カードなど）を1つずつ下から浮かび上がらせる */
.js-enabled .section-band > :not(dialog) {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s ease,
    transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-enabled .section-band.is-visible > :not(dialog) {
  opacity: 1;
  transform: translateY(0);
}

/* 中身ごとの時間差（上から順番に出る。数字を大きくすると、ゆっくり順番に出る） */
.js-enabled .section-band.is-visible > :nth-child(2) {
  transition-delay: 0.15s;
}

.js-enabled .section-band.is-visible > :nth-child(3) {
  transition-delay: 0.3s;
}

.js-enabled .section-band.is-visible > :nth-child(4) {
  transition-delay: 0.45s;
}

.js-enabled .section-band.is-visible > :nth-child(n + 5) {
  transition-delay: 0.6s;
}

.concept {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: start;
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: 24px;
}

.concept > * {
  position: relative;
  z-index: 1;
}

.concept__heading {
  grid-column: 1 / -1;
}

.concept__main {
  text-align: left;
}

.concept__title {
  max-width: none;
  margin: 20px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.55;
}

/* 見出しの中の「意味のかたまり」。スマホで折り返すときは、かたまりの間でだけ改行する */
.heading-phrase {
  display: inline-block;
}

/* 見出し1行目「人材育成、組織変革、…」（メインの見出しより小さく） */
.concept__title-sub {
  display: block;
  margin-bottom: 8px;
  font-size: 0.55em;
  line-height: 1.6;
}

.concept__text,
.concept__note {
  max-width: 690px;
  margin: 0;
  font-size: 13px;
}

.concept__text + .concept__text {
  margin-top: 12px;
}

.concept__note {
  margin-top: 10px;
  color: #64665e;
}

/* 昨年の開催イメージ（導入文の下。4列×2段で、左半分に集合写真、右半分に小さい写真4枚） */
.concept-gallery {
  position: relative;
  margin: 28px 0 0;
}

.concept-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* 小さい写真の縦横比（7:5 の横長。数字を変えると写真全体の高さが変わる） */
.concept-gallery__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  background: #e2ddcf;
}

/* 集合写真は横2マス・縦2マス分 */
.concept-gallery__image--large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  height: 100%;
  aspect-ratio: auto;
}

/* 「昨年の開催の様子」は写真のすぐ下に置き、写真の下端と代表メッセージの枠の下端がそろうようにする */
.concept-gallery__caption {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  color: #6f716a;
  font-size: 11px;
}

/* 代表メッセージの枠は、左の列（導入文＋写真）と同じ高さまで伸ばす（名前・写真は枠の一番下に） */
.representative-message {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 24px;
  border: 1px solid var(--color-green);
  background: rgba(255, 255, 255, 0.78);
}

.representative-message__title {
  margin: 0 0 14px;
  color: var(--color-green);
  font-size: 18px;
  font-weight: 700;
}

.representative-message__text {
  margin: 0;
  font-size: 12px;
}

/* 段落が続くときは、段落の間を少しあける */
.representative-message__text + .representative-message__text {
  margin-top: 10px;
}

.representative-message__profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: auto 0 0;
  padding-top: 20px;
}

.representative-message__image {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.representative-message__caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.representative-message__role {
  color: #64665e;
  font-size: 10px;
}

.representative-message__name {
  font-size: 14px;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading .section-title {
  margin-top: 8px;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 700;
}

.section-lead {
  margin: 10px 0 0;
  color: #5e6158;
  font-size: 12px;
}

/* ===== プログラム ===== */
.program > * {
  position: relative;
  z-index: 1;
}

.program__days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.program-day {
  border: 1px solid #dededb;
  background: rgba(255, 255, 255, 0.82);
}

.program-day__header {
  min-height: 108px;
  padding: 17px 20px;
  color: #fff;
  background: var(--color-green);
}

.program-day__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

/* 「DAY1 テーマ」の小さな札（白い枠線で囲んだラベル） */
.program-day__label {
  display: inline-block;
  margin: 12px 0 0;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.program-day__date {
  margin: 5px 0 0;
  font-size: 24px;
  line-height: 1.3;
}

.program-day__meta .program-day__date {
  margin: 0;
}

.program-day__date span {
  margin-left: 5px;
  color: #d7e8b4;
  font-size: 11px;
}

/* 開催時間（12.26 SAT の右側） */
.program-day__date .program-day__time {
  margin-left: 10px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* テーマ見出し（左側の縦線がアクセント） */
.program-day__theme {
  margin: 10px 0 0;
  padding-left: 12px;
  border-left: 4px solid var(--color-orange);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.program-day__notice {
  margin: 0;
  padding: 25px 20px;
  color: #686a64;
  font-size: 12px;
}

.program-day__table {
  width: 100%;
  border-collapse: collapse;
  color: var(--color-ink);
  font-size: 12px;
  text-align: left;
}

/* 表の見出し「タイムテーブル」は画面には出さず、読み上げソフトにだけ伝える */
.program-day__table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* タイムテーブルの注意書き（2日分のカードの下に小さく） */
.program__note {
  margin: 14px 0 0;
  color: #6f716a;
  font-size: 11px;
  line-height: 1.7;
}

/* ===== タイムテーブル（横線を使わず、時間軸の縦線と点でつなぐ） ===== */
.program-day__table {
  --timeline-time: 66px; /* 時間の列の幅（時刻の左の余白＋時刻の幅）。ゲストのボックスの位置合わせに使う */
  margin: 10px 0 12px;
}

.program-day__table th,
.program-day__table td {
  padding: 12px 20px 12px 30px;
  vertical-align: top;
}

/* 左の時間の列（小さく薄く。数字の幅をそろえる） */
.program-day__table .program-time {
  width: 46px;
  padding: 13px 0 12px 20px;
  color: #8a8c84;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.program-time__start {
  display: block;
  font-size: 11px;
  letter-spacing: 0.02em;
}

/* 終了時刻は表示しない（次の行の開始時刻で長さが分かるため） */
.program-time__end {
  display: none;
}

/* 時間軸の縦線（内容の列の左端） */
.program-day__table td {
  position: relative;
}

.program-day__table td::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 1px;
  background: rgba(69, 143, 110, 0.35);
  content: "";
}

/* 線の上端・下端は、最初と最後の点で止める */
.program-day__table tbody tr:first-child td::before {
  top: calc(12px + 0.6em);
}

.program-day__table tbody tr:last-child td::before {
  bottom: auto;
  height: calc(12px + 0.6em);
}

/* 各行の点（セッションなどは緑の塗りつぶし） */
.program-day__table tr:not(.program-session__guests-row) > td::after {
  position: absolute;
  top: calc(12px + 0.45em);
  left: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-green);
  content: "";
}

/* テーマの中の「意味のかたまり」。スマホで折り返すときは、かたまりの間でだけ改行する */
.program-session__phrase {
  display: inline-block;
}

/* テーマの頭に付けるセッション番号（主役として、緑の太字で大きめに） */
.program-session__no {
  flex: none;
  margin-right: 10px;
  color: var(--color-green);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

/* 受付・ランチ休憩などの行（小さく薄い文字と、白抜きの小さな点） */
.program-day__table .program-break th,
.program-day__table .program-break td {
  padding-top: 6px;
  padding-bottom: 6px;
  color: #8a8c84;
  font-size: 11px;
}

.program-day__table .program-break .program-time {
  padding-top: 6px;
  color: #a0a29a;
}

.program-day__table tr.program-break:not(.program-session__guests-row) > td::after {
  top: calc(6px + 0.45em);
  left: 7px;
  width: 5px;
  height: 5px;
  border: 1.5px solid rgba(69, 143, 110, 0.6);
  background: #fff;
}

/* オープニング・リフレクション・クロージング・懇親会などの行（押せる／押せない通常の行） */
.program-day__table .program-plain td {
  font-weight: 700;
}

/* セッションテーマのボタン（押すとゲストが開く。右端の＋が−に変わる） */
.program-session__toggle {
  position: relative;
  display: flex; /* 番号とテーマを横に並べ、テーマが2行になっても番号の下に回り込まないようにする */
  align-items: baseline;
  width: 100%;
  padding: 0 24px 0 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.program-session__toggle::after {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--color-green);
  font-size: 16px;
  font-weight: 700;
  content: "＋";
  transform: translateY(-50%);
}

.program-session__toggle[aria-expanded="true"]::after {
  content: "－";
}

.program-session__toggle:hover,
.program-session__toggle:focus-visible {
  color: var(--color-green);
}

/* 開いたときのゲスト紹介ボックス */
.program-day__table .program-session__guests-row td {
  padding: 0 20px 14px calc(var(--timeline-time) + 30px);
}

/* 開いたゲストのボックスの横でも、時間軸の線をつなげる */
.program-day__table .program-session__guests-row td::before {
  left: calc(var(--timeline-time) + 10px);
}

.program-session__guests {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.program-guest {
  padding: 12px 14px;
  border: 1px solid rgba(69, 143, 110, 0.4);
  background: rgba(243, 239, 227, 0.6);
}

.program-guest__role {
  margin: 0;
  color: #64665e;
  font-size: 11px;
  line-height: 1.6;
}

.program-guest__name {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.program-guest__more {
  margin-top: 8px;
  padding: 0;
  border: 0;
  color: var(--color-green);
  background: none;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ゲストがいないときの文（ボックスの横幅いっぱいに流す） */
.program-session__empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #64665e;
  font-size: 12px;
}

/* ===== 登壇者 ===== */
.speakers > * {
  position: relative;
  z-index: 1;
}

.speaker-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.speaker-list__group {
  display: contents;
}

/* マウスでつかんで左右に送れる（縦方向のスクロールはそのまま） */
.speaker-carousel--active .speaker-carousel__viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

/* ドラッグ中はつかんでいるカーソルにする */
.speaker-carousel--active .speaker-carousel__viewport.is-dragging {
  cursor: grabbing;
}

.speaker-carousel--active .speaker-list {
  display: flex;
  width: max-content;
  gap: 16px;
  will-change: transform;
}

.speaker-carousel--active .speaker-list__group {
  display: flex;
  flex: none;
  gap: 16px;
}

.speaker-carousel--active .speaker-card {
  flex: 0 0 clamp(220px, 22vw, 280px);
}

.speaker-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(69, 143, 110, 0.35);
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.speaker-card:hover,
.speaker-card:focus-visible {
  border-color: var(--color-green);
  box-shadow: 0 8px 22px rgba(23, 24, 22, 0.12);
  outline: none;
  transform: translateY(-3px);
}

/* 非表示にしている登壇者カード（未定の枠など） */
.speaker-card[hidden] {
  display: none !important;
}

/* 情報が届いていない登壇者（押せない・浮き上がらない） */
.speaker-card--coming-soon {
  cursor: inherit; /* つかんで送れる手のひらカーソルのまま */
}

.speaker-card--coming-soon:hover {
  border-color: rgba(69, 143, 110, 0.35);
  box-shadow: none;
  transform: none;
}

.speaker-card__session {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 8px;
  color: #fff;
  background: var(--color-green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.speaker-card__portrait {
  display: grid;
  aspect-ratio: 4 / 3;
  place-content: center;
  color: #65786e;
  background:
    radial-gradient(circle at 50% 38%, #d0d8cd 0 13%, transparent 13.5%),
    radial-gradient(ellipse at 50% 100%, #d0d8cd 0 30%, transparent 30.5%),
    #e7dfcd;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
}

/* 写真が届いた登壇者（灰色の仮の枠の代わりに写真を表示） */
.speaker-card__portrait--photo {
  display: block;
  overflow: hidden;
  background: #e7dfcd;
}

.speaker-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* カードのドラッグ・クリックのじゃまをしない */
}

.speaker-card__role {
  margin: 12px 0 0;
  color: #64665e;
  font-size: 10px;
}

/* 肩書きが2つある登壇者は、1つずつ改行して表示する */
.speaker-card__role-line {
  display: block;
}

/* 肩書きの役職部分（2行になるときは、団体名と役職の間で改行し、役職を途中で切らない） */
.speaker-card__role-title {
  display: inline-block;
  white-space: nowrap;
}

.speaker-card__name {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.speaker-detail {
  position: fixed;
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: min(80vh, 720px);
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--color-green);
  color: var(--color-ink);
  background: var(--color-paper);
}

/* お知らせのポップアップ（懇親パーティーなど）。見た目は登壇者の詳細カードと同じで、見出しの下だけ余白を足す */
.info-dialog .speaker-detail__name {
  margin-bottom: 18px;
}

.speaker-detail::backdrop {
  background: rgba(23, 24, 22, 0.62);
  backdrop-filter: blur(3px);
}

.speaker-detail__close {
  display: block;
  margin: 0 0 22px auto;
  padding: 7px 12px;
  border: 1px solid rgba(23, 24, 22, 0.35);
  color: var(--color-ink);
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.speaker-detail__close:hover,
.speaker-detail__close:focus-visible {
  color: #fff;
  border-color: var(--color-green);
  background: var(--color-green);
}

.speaker-detail__session {
  margin-bottom: 10px;
}

.speaker-detail__name {
  margin: 0;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.4;
}

.speaker-detail__role {
  margin: 5px 0 24px;
  color: #64665e;
  font-size: 13px;
}

.speaker-detail__section {
  padding: 16px 0;
  border-top: 1px solid rgba(69, 143, 110, 0.35);
}

.speaker-detail__section h4 {
  margin: 0 0 7px;
  color: var(--color-green);
  font-size: 13px;
}

.speaker-detail__section p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

/* コラボゲストは1人ずつ改行、プロフィールは元の段落の改行をそのまま表示 */
#speaker-detail-collaborators,
#speaker-detail-profile,
#speaker-detail-role,
.program-guest__role {
  white-space: pre-line;
}

/* 登壇者カードのリンク（名前の下に小さく表示） */
.speaker-card__links {
  margin: 8px 0 0;
  font-size: 11px;
}

.speaker-card__link {
  color: var(--color-green);
  font-weight: 700;
  text-decoration: underline;
  -webkit-user-drag: none; /* カードを左右にドラッグするときに、リンクだけがつかまれないようにする */
}

.speaker-card__link::after {
  content: " ↗";
}

/* 詳細カードのリンク（公式サイト・Instagram） */
.speaker-detail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.speaker-detail__link {
  color: var(--color-green);
  font-weight: 700;
  text-decoration: underline;
}

/* ===== セクション見出し（共通） ===== */
.section-title {
  margin: 15px 0 0;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.4;
}

/* ===== 会場・アクセス ===== */
.access {
  color: var(--color-ink);
}

.access::after {
  display: none;
}

.access .section-index {
  color: var(--color-green);
}

.access__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 30px;
}

/* 地図の枠（地図の読み込み前は背景色が見える） */
.access__map {
  background: #e7dfcd;
}

.access__map-frame {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.access__map-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--color-green);
  font-size: 12px;
  text-decoration: underline;
}

/* 会場の公式サイトへのリンク（Googleマップのリンクの右隣） */
.access__venue-link {
  margin-left: 20px;
}

.access__details {
  padding-top: 4px;
}

.access__venue {
  margin: 0;
  font-size: 19px;
}

.access__text {
  max-width: 560px;
  margin: 20px 0 0;
  color: #5e6158;
  font-size: 12px;
}

.access__building {
  margin: 4px 0 0;
  font-size: 12px;
}

/* ===== チケット ===== */
.ticket {
  text-align: center;
}

.ticket > * {
  position: relative;
  z-index: 1;
}

.ticket .section-heading {
  text-align: left;
}

/* 見出し「チケット」と、右隣の「11/30までの早割がお得です！」の枠付き札 */
.ticket__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 15px;
}

.ticket__title-row .section-title {
  margin: 0;
}

.ticket__badge {
  margin: 0;
  padding: 4px 12px;
  border: 2px solid var(--color-ink);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

/* 「11/30までの早割がお得です！」が画面に入ったら、2回「ぽんっ」と大きくなりながら色を反転させて目を引く */
.ticket__badge.attention--start {
  animation: badge-attention 1.6s ease-in-out 0.4s;
}

@keyframes badge-attention {
  0%, 40%, 80%, 100% {
    color: var(--color-ink);
    background: transparent;
    transform: scale(1);
  }

  20%, 60% {
    color: #fff;
    background: var(--color-ink);
    transform: scale(1.12);
  }
}

/* チケット一覧（会場参加・学生・オンライン・オプションを3列で並べる） */
.ticket-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 40px;
  text-align: left;
}

/* 区分名「一般参加・学生割引・オプション」（下に太めの線） */
.ticket-group__title {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-ink);
  font-size: 20px; /* スポンサードチケットの名前と同じ大きさ */
  font-weight: 700;
}

.ticket-group__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* チケット1行（左に名前、右に価格。下に細い線） */
.ticket-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #dcdcd6;
  font-size: 14px;
}

.ticket-item__note {
  margin-left: 4px;
  color: #5e6158;
  font-size: 11px;
}

/* 早割の「11/30まで！」の札 */
.ticket-item__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--color-orange);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.8;
  vertical-align: 1px;
  white-space: nowrap;
}

.ticket-item__price {
  flex: none;
  font-size: 15px;
  font-weight: 700;
}

/* 懇親会の紹介ボックス（DAY1・DAY2を縦に2つ並べる） */
.party-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.party-box {
  padding: 12px 14px;
  border: 1px solid var(--color-ink);
}

/* 「DAY 1 12/26（土）」の行 */
.party-box__day {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.party-box__label {
  padding: 1px 8px;
  color: #fff;
  background: var(--color-ink);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.party-box__text {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

/* 「kitchen105」のリンク（Instagramが新しいタブで開く） */
.party-box__link {
  color: var(--color-green);
  font-weight: 700;
  text-decoration: underline;
}

/* 学生割引の注意書き（※1・※2） */
.ticket-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 14px 0 0;
  padding: 0;
  color: #5e6158;
  font-size: 11px;
  text-align: left;
  list-style: none;
}

/* スポンサードチケット（地色はそのまま、緑の枠線だけで強調して左右2列で表示） */
.sponsor-ticket {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  margin-bottom: 48px;
  border: 2px solid var(--color-green);
  background: transparent;
  text-align: left;
}

.sponsor-ticket__main {
  padding: 28px 32px;
  border-right: 1px solid rgba(69, 143, 110, 0.35);
}

.sponsor-ticket__badge {
  display: inline-block;
  margin: 0;
  padding: 2px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--color-green);
  font-size: 11px;
  font-weight: 700;
}

.sponsor-ticket__title {
  margin: 12px 0 0;
  font-size: 20px;
}

.sponsor-ticket__price {
  margin: 4px 0 0;
  color: var(--color-green);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
}

.sponsor-ticket__price span {
  margin-left: 4px;
  font-size: 15px;
}

.sponsor-ticket__note {
  margin: 6px 0 0;
  color: #5e6158;
  font-size: 12px;
}

.sponsor-ticket__detail {
  padding: 28px 32px;
}

.sponsor-ticket__lead {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.sponsor-ticket__benefits-title {
  margin: 16px 0 0;
  color: var(--color-green);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.sponsor-ticket__benefits {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

/* 特典の先頭のチェックマーク */
.sponsor-ticket__benefit {
  position: relative;
  padding: 6px 0 6px 24px;
  border-bottom: 1px dashed #dcdcd6;
  font-size: 13px;
}

.sponsor-ticket__benefit::before {
  position: absolute;
  top: 6px;
  left: 2px;
  color: var(--color-green);
  font-weight: 700;
  content: "✓";
}

/* 申し込みボタン（黒い大きな丸型ボタン） */
.ticket__button {
  min-width: min(100%, 400px);
  min-height: 64px;
  margin-top: 36px;
  font-size: 18px;
  letter-spacing: 0.1em;
}

/* ===== 10周年メッセージ ===== */
.messages {
  overflow: hidden;
  text-align: center;
}

/* 背景にキービジュアルのイラストを大きく配置（左下と右上で画面の外にはみ出す） */
.messages::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    url("../images/men14x.png"),
    url("../images/men24x.png");
  background-repeat: no-repeat;
  background-size:
    min(46vw, 640px) auto,
    min(58vw, 820px) auto;
  background-position:
    right -14vw top -60px,
    left -20vw bottom -40px;
  content: "";
  pointer-events: none;
}

.messages > * {
  position: relative;
  z-index: 1;
}

.messages .section-heading {
  margin-bottom: 22px;
}

/* 募集テーマの付箋（3枚を横並び） */
.messages__cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 24px 0 12px;
}

/* 付箋1枚（正方形・黒の枠線のみ・中は背景になじませる・少し傾けて遊びを出す） */
.messages__note {
  position: relative;
  display: flex;
  width: 200px;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px;
  border: 1.5px solid var(--color-ink);
  color: var(--color-ink);
  background-color: var(--color-paper); /* 背景の紙と同じ色。後ろのイラストが透けないようにする */
  background-image: var(--paper-texture);
  background-size: 7px 7px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  transform: rotate(-2deg);
}

/* 付箋の文字（2行で中央そろえ） */
.messages__note-text {
  text-align: center;
}

/* 付箋ごとの傾き */
.messages__note--2 {
  transform: rotate(1.5deg) translateY(6px);
}

.messages__note--3 {
  transform: rotate(-1deg);
}

/* 届いたメッセージ（文章が読みやすいよう紙の色で塗る） */
.messages__received {
  margin-top: 40px;
}

.messages__received-title {
  margin: 0 0 16px;
  font-size: 18px;
}

/* 届いたメッセージ（3列。長さの違うカードを上に詰めて並べ、カードの間の空白をそろえる） */
.message-list {
  column-count: 3;
  column-gap: 20px;
  text-align: left;
}

.message-card {
  display: flex;
  flex-direction: column;
  margin: 0 0 20px; /* 上下のカードの間の空白（列の間の空白 column-gap と同じ） */
  break-inside: avoid; /* 1枚のカードが列をまたいで分かれないようにする */
  padding: 20px 22px;
  border: 1.5px solid var(--color-ink);
  background-color: var(--color-paper);
  background-image: var(--paper-texture);
  background-size: 7px 7px;
}

.message-card__text {
  margin: 0;
}

.message-card__text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

/* 書いた人（写真・肩書き・名前） */
.message-card__author {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(23, 24, 22, 0.35);
}

.message-card__photo {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* 写真がない方の人アイコン（丸の中に人のシルエット。--1〜4 で色と形が変わる） */
.message-card__icon {
  display: block;
  overflow: hidden;
  color: var(--color-green);
  background: #dcebe2;
}

.message-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* 髪の部分は少し濃く */
.message-card__icon-hair {
  filter: brightness(0.7);
}

/* 1：緑 */
.message-card__icon--1 {
  color: #5f9e80;
  background: #dcebe2;
}

/* 2：青 */
.message-card__icon--2 {
  color: #4a9fc0;
  background: #d9ebf2;
}

/* 3：黄土色 */
.message-card__icon--3 {
  color: #c99a3a;
  background: #f3e6c8;
}

/* 4：紫（短い髪＋シャツの襟の男性シルエット） */
.message-card__icon--4 {
  color: #a26aa8;
  background: #eee0ef;
}

/* シャツの襟元（背景と同じ色で抜く） */
.message-card__icon-collar {
  fill: #eee0ef;
}

.message-card__role {
  grid-column: 2;
  color: #64665e;
  font-size: 11px;
  line-height: 1.5;
}

.message-card__name {
  grid-column: 2;
  font-size: 14px;
  font-weight: 700;
}

/* 「メッセージを贈る」ボタン（白抜きの丸型ボタン） */
.messages__button {
  min-width: min(100%, 280px);
  min-height: 52px;
  margin-top: 28px;
  font-size: 15px;
  letter-spacing: 0.08em;
}

/* ===== Inquiryについて ===== */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7vw;
}

.about > * {
  position: relative;
  z-index: 1;
}

.about .section-heading {
  margin: 0;
}

.about .section-title {
  font-size: clamp(26px, 3vw, 36px);
}

.about__content {
  align-self: center;
  font-size: 12px;
}

.about__content p {
  margin: 0 0 12px;
}

/* Inquiryのロゴ（見出しの横・本文の上に大きめに表示） */
.about__logo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-bottom: 28px;
}

.about__content .button {
  margin-top: 7px;
}

/* ===== 参加案内 ===== */
.closing {
  color: var(--color-ink);
  background-image: var(--paper-texture);
  background-size: 7px 7px;
  text-align: center;
}

.closing > * {
  position: relative;
  z-index: 1;
}

.closing .section-index {
  color: var(--color-green);
}

.closing__title {
  margin: 20px 0;
  font-size: clamp(30px, 4.2vw, 54px); /* 画面幅に合わせて 30px〜54px で変わる */
  line-height: 1.5;
}

.closing__date {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* 会場名（背景色なし） */
.closing__venue {
  margin: 8px 0 0;
  color: var(--color-ink);
}

.button--light {
  margin-top: 18px;
  color: var(--color-ink);
  border-color: #fff;
  background: #fff;
}

.button--light:hover,
.button--light:focus-visible {
  color: #fff;
  background: transparent;
}

/* ===== フッター ===== */
.footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  gap: 28px;
  padding: 24px 5.5vw;
  background: var(--color-paper);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-green);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

/* フッターのInquiryロゴ */
.footer__logo {
  display: block;
  width: auto;
  height: 34px;
}

.footer__brand span,
.footer__event,
.footer__organizer,
.footer__copyright {
  font-size: 10px;
  font-weight: 400;
}

.footer__event {
  margin: 0;
}

/* 主催（イベント名の右隣） */
.footer__organizer {
  margin: 0 auto 0 0;
}

.footer__links {
  display: flex;
  gap: 16px;
}

.footer__links a {
  font-size: 10px;
  text-decoration: none;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  text-decoration: underline;
}

.footer__copyright {
  margin: 0;
  color: #65665f;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* タブレット幅：チケット一覧・届いたメッセージを2列にする */
@media (max-width: 1000px) {
  .ticket-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .message-list {
    column-count: 2;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 70px;
  }

  .header {
    min-height: 66px;
    padding: 0 20px;
  }

  .brand {
    gap: 8px;
  }

  .brand__name {
    width: 135px;
  }

  .brand__event {
    font-size: 8px;
  }

  .menu-button {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(23, 24, 22, 0.28);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-button__line {
    width: 16px;
    height: 1px;
    background: var(--color-ink);
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] .menu-button__line:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-button__line:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .navigation {
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    border-bottom: 1px solid rgba(23, 24, 22, 0.15);
    background: var(--color-paper);
  }

  .navigation.is-open {
    display: flex;
  }

  .navigation__link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(23, 24, 22, 0.12);
    font-size: 14px;
  }

  .navigation__link::after {
    display: none;
  }

  .hero {
    width: 100%;
    margin-top: 0;
  }

  .section-index {
    font-size: 9px;
  }

  .button {
    min-height: 40px;
    padding: 8px 17px;
    font-size: 11px;
  }

  .section-band {
    padding: 60px 20px;
  }

  .concept {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .concept__title {
    margin: 15px 0;
    font-size: 26px;
  }

  .concept__text,
  .concept__note {
    font-size: 12px;
  }

  .representative-message {
    padding: 18px;
  }

  /* 昨年の開催イメージ：スマホでは集合写真を横いっぱいに、その下に小さい写真を2枚ずつ2段。説明文はふつうに写真の下へ */
  .concept-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .concept-gallery__image--large {
    grid-row: auto;
    height: auto;
    aspect-ratio: 7 / 5;
  }

  .concept-gallery__caption {
    position: static;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading .section-title {
    font-size: 27px;
  }

  .program__days {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .program-day__header {
    min-height: auto;
    padding: 15px 17px;
  }

  .program-day__notice {
    padding: 18px 17px;
  }

  .program-day__table {
    --timeline-time: 54px;
    font-size: 11px;
  }

  .program-day__table th,
  .program-day__table td {
    padding-right: 17px;
  }

  .program-day__table .program-time {
    width: 40px;
    padding-left: 14px;
  }

  .program-day__table .program-session__guests-row td {
    padding: 0 17px 12px calc(var(--timeline-time) + 24px);
  }

  .program-session__no {
    font-size: 14px;
  }

  .speaker-carousel:not(.speaker-carousel--active) .speaker-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .access__content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .access__map-frame {
    height: 240px;
  }

  .access__text {
    margin-top: 12px;
    font-size: 12px;
  }

  .ticket__badge {
    font-size: 12px;
  }

  .ticket-groups {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ticket-item {
    font-size: 13px;
  }

  .sponsor-ticket {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .sponsor-ticket__main,
  .sponsor-ticket__detail {
    padding: 22px 20px;
  }

  .sponsor-ticket__main {
    border-right: 0;
    border-bottom: 1px solid rgba(69, 143, 110, 0.35);
  }

  .sponsor-ticket__price {
    font-size: 34px;
  }

  .message-list {
    column-count: 1;
  }

  .message-card {
    margin-bottom: 14px;
    padding: 16px 18px;
  }

  .messages__button {
    width: 100%;
    min-height: 48px;
    margin-top: 22px;
    font-size: 14px;
  }

  .ticket__button {
    width: 100%;
    min-height: 56px;
    margin-top: 28px;
    font-size: 16px;
  }

  /* スマホでは背景のイラストを少し控えめに */
  .messages::before {
    background-size:
      70vw auto,
      90vw auto;
    background-position:
      right -30vw top -20px,
      left -40vw bottom -10px;
  }

  .messages__cards {
    gap: 10px;
    padding: 16px 0 8px;
  }

  .messages__note {
    width: auto;
    flex: 1 1 0;
    max-width: 120px;
    padding: 10px;
    font-size: 12px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about__logo {
    max-width: 260px;
    margin-bottom: 20px;
  }

  .closing__venue {
    line-height: 1.6;
  }

  .footer {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 22px 24px;
  }

  .footer__brand {
    width: auto;
  }

  .footer__event,
  .footer__organizer {
    margin: 0;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .brand__event {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .speaker-carousel--active .speaker-carousel__viewport {
    overflow-x: auto;
  }

  .speaker-carousel--active .speaker-list {
    animation: none;
    transform: none;
  }
}
