/* ========================================
   BRAND STRATEGY 2026
   レイアウト
   ======================================== */

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

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

body {
  font-family:
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  padding-top: 60px;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 固定ヘッダー：ロゴ + ハンバーガーメニュー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.header-logo {
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.header-logo:hover {
  color: #bf201e;
  text-decoration: none;
}

.header-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  transition: background 0.2s;
}

.header-hamburger:hover .hamburger-line,
.header-hamburger[aria-expanded="true"] .hamburger-line {
  background: #bf201e;
}

.header-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  padding: 4rem 1.5rem 2rem;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.header-nav.is-open {
  transform: translateX(0);
}

.header-nav[aria-hidden="true"] {
  visibility: hidden;
}

.header-nav[aria-hidden="false"] {
  visibility: visible;
}

.header-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.header-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.header-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-nav-list li {
  margin-bottom: 0.5rem;
}

.header-nav-list a {
  display: block;
  padding: 0.6rem 0;
  font-size: 1rem;
  color: #000;
}

.header-nav-list a:hover {
  color: #bf201e;
  text-decoration: none;
}

/* レイアウト：左メニューなし・フル幅 */
.page-layout {
  min-height: 100vh;
  width: 100%;
  max-width: none;
}

/* メイン：フル幅 */
.main {
  width: 100%;
  max-width: none;
  padding: 0 2rem 2rem;
}

/* ブロック共通：ファーストビュー画像（kv-placeholder）と同じ横幅に制限 */
.block {
  padding: 3rem 0;
  max-width: 844px;
  margin-left: auto;
  margin-right: auto;
}

/* 背景色セクション：画面横幅いっぱいに敷く */
.block-kv,
.block-concept,
.block-program,
.block-timetable,
.block-outline,
.block-registration {
  width: 100vw;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: max(1.5rem, calc((100vw - 844px) / 2 + 2.5rem));
  padding-right: max(1.5rem, calc((100vw - 844px) / 2 + 2.5rem));
  box-sizing: border-box;
}

/* コンテンツ用の左右パディング（full-widthセクションでは上記で設定） */

/* コンセプト：ファーストビューと同じ幅（844px）に制限、上下パディングで黒領域を確保 */
.concept-inner {
  max-width: 844px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 2.5rem;
  background: #000;
  color: #fff;
}

/* セクションタイトル：コンセプトと同様の配置・級数（小さいカタカナ左上・大きい英字） */
.block h2,
.timetable-header {
  position: relative;
  padding-top: 14px;
  margin-bottom: 1.5rem;
}

.block h2 .section-ttl-ja,
.timetable-header .section-ttl-ja {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.block h2 .section-ttl-en,
.timetable-header .section-ttl-en {
  font-family: "Oswald", sans-serif;
  font-size: 96px;
  font-weight: 500;
  line-height: 1;
  display: block;
}

/* 1. キービジュアル：背景全体を赤、画像に白枠 */
.block-kv {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: #bf201e;
}

.kv-placeholder {
  width: 100%;
  aspect-ratio: 962 / 740;
  max-width: 844px;
  margin: 0 auto;
  background: #bf201e;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kv-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kv-placeholder span,
.kv-placeholder small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.kv-placeholder small {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

/* アーカイブ動画プレゼントCTA（cta.png画像・オンマウスで動き） */
.cta-img-link {
  display: block;
  max-width: 844px;
  margin: 2rem auto 0;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.cta-img-link:hover {
  transform: scale(1.03) translateY(-2px);
  opacity: 0.95;
}

.cta-img-link:active {
  transform: scale(0.99);
}

.block-registration .cta-img-link {
  margin: 0 auto 1rem;
}

.cta-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 844px;
  vertical-align: top;
}

/* 2. ウェビナーの趣旨（黒背景でコンセプト〜プログラム間の隙間をなくす） */
.block-concept {
  padding-left: 0;
  padding-right: 0;
  background: #000;
}

.block-concept h2 .section-ttl-ja,
.block-concept h2 .section-ttl-en {
  color: #fff;
}

.block-concept .concept-lead {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.block-concept .concept-lead-line {
  display: inline-block;
  padding: 0.2em 0.35em;
  background: #bf201e;
  color: #fff;
  margin-bottom: 0.6em;
}

.block-concept .concept-lead-line:last-child {
  margin-bottom: 0;
}

.block-concept .concept-text p {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}

.block-concept .concept-summary {
  margin-top: 1.5rem;
  font-weight: 600;
  color: #fff;
  font-size: 0.85rem;
}

/* 解決すべき課題：白背景・黒文字 */
.concept-challenges-block {
  background: #fff;
  color: #000;
  padding: 1.5rem 1.5rem;
  margin-top: 2rem;
}

.concept-challenges-block .concept-sub {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #000;
}

.concept-challenges-block .concept-challenges {
  list-style: disc;
  padding-left: 1.5rem;
  color: #000;
  font-size: 0.9rem;
  margin: 0;
}

.concept-challenges-block .concept-challenges li {
  margin-bottom: 0.5rem;
}

/* 3. プログラム：赤背景 */
.block-program {
  padding-bottom: 2rem;
  background: #bf201e;
  color: #fff;
}

.block-program h2 .section-ttl-ja,
.block-program h2 .section-ttl-en {
  color: #fff;
}

.block-program .session-theme {
  color: #fff;
}

.block-program .session-tag-type,
.block-program .session-tag-num,
.block-program .session-tag-time {
  background: #000;
  color: #fff;
}

.session {
  margin-bottom: 2.5rem;
}

/* セッション02以降：620px幅で中央配置、画像左端にタグ・登壇者情報を揃える */
.block-program .session:not(.session-keynote) {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* 基調講演：添付画像準拠の特別レイアウト */
.session-keynote {
  position: relative;
  background: #bf201e;
  color: #fff;
  padding: 2rem 1.5rem;
  overflow: hidden;
}

.keynote-header {
  position: relative;
  margin-bottom: 1.5rem;
}

.keynote-header-ja {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.keynote-content {
  gap: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: 373px auto;
  grid-template-areas:
    "key_img key_ttl"
    "key_speaker key_speaker";
}

.keynote-speaker {
  grid-area: key_speaker;
}

.keynote-photo-placeholder {
  width: 100%;
  aspect-ratio: 280 / 373;
  background: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;

  grid-area: key_img;
}

.keynote-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.keynote-photo-placeholder small {
  font-size: 0.7rem;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
}

.keynote-speaker-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.keynote-speaker-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.keynote-speaker-bio {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #fff;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid #e0e0e0;
  text-align: left;
}

.keynote-speaker-books {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1em;
  margin-block-start: 1.85em;
}

.keynote-speaker-books img {
  aspect-ratio: 141 / 200;
  width: 200px;
  height: auto;
}

.keynote-detail {
  min-width: 0;
  grid-area: key_ttl;
}

.keynote-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 1rem;
  display: flex;
  justify-content: flex-start;
}

.keynote-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.keynote-title-line {
  width: fit-content;
}

.keynote-description {
  background: #fff;
  color: #333;
  padding: 1rem 1.25rem;
}

.keynote-desc-line {
  display: block;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* 基調講演：SP版（縦積み） */
@media (max-width: 640px) {
  .session-keynote {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .keynote-content {
    gap: 1.5rem;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "key_ttl"
      "key_img"
      "key_speaker";
  }

  .keynote-speaker {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .keynote-speaker-books {
    justify-content: center;
    align-items: flex-start;
  }

  .keynote-speaker-books img {
    width: 140px;
  }

  .keynote-photo-placeholder {
    max-width: 160px;
    margin-left: auto;
    margin-right: auto;
  }

  .keynote-title {
    font-size: 1.2rem;
    justify-content: center;
  }

  .keynote-title-block {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .keynote-description {
    background: transparent;
    padding: 0;
  }

  .keynote-desc-line {
    background: #fff;
    color: #333;
    padding: 0.35em 0.5em;
    margin-bottom: 0.25rem;
  }

  .keynote-desc-line:last-child {
    margin-bottom: 0;
  }
}

/* バナー：620px・左揃え（下部情報と幅・位置を揃える） */
.session-banner-placeholder {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 16 / 9;
  background: #bf201e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.session-banner-placeholder img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.session-banner-placeholder small {
  font-size: 0.7rem;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
}

/* プログラム内バナー：赤背景と同色のため白枠で区切り */
.block-program .session-banner-placeholder {
  border: 2px solid #fff;
}

/* セッションタグ（オレンジ・黒） */
.session-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.session-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0;
}

.session-tag-type {
  background: #000;
  color: #fff;
}

.session-tag-num {
  background: #bf201e;
  color: #fff;
}

.session-tag-time {
  background: #000;
  color: #fff;
}

.session-theme {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.5;
}

/* 登壇者カード：直接表示・縦並び・バナー幅（620px）に合わせる・角丸なし */
.speakers-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 620px;
  width: 100%;
}

.speaker-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #000;
  border-radius: 0;
  text-align: left;
}

.speaker-summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.speaker-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #000;
}

.speaker-company {
  font-size: 0.85rem;
  color: #555;
}

.speaker-title {
  font-size: 0.8rem;
  color: #666;
}

.speaker-bio {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid #e0e0e0;
}

.speaker-bio .hp-txt {
  display: inline-block;
  padding-bottom: 1em;
}

.speaker-bio .hp-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.speaker-bio .hp-list > li {
  margin-bottom: 0.25em;
}

/* 登壇者モーダル（廃止・スタイルは残置） */
.speaker-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s,
    visibility 0.2s;
}

.speaker-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.speaker-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.speaker-modal-panel {
  position: relative;
  background: #000;
  color: #fff;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 2rem;
  border-radius: 4px;
}

.speaker-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition:
    background 0.2s,
    color 0.2s;
}

.speaker-modal-close:hover {
  background: #fff;
  color: #000;
}

.speaker-modal-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.speaker-modal-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.speaker-modal-separator {
  border: none;
  border-top: 1px solid #fff;
  margin: 0 0 1rem;
}

.speaker-modal-content {
  display: block;
  width: 100%;
}

.speaker-modal-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  white-space: pre-wrap;
}

/* 4. タイムテーブル：黒背景 */
.block-timetable {
  background: #000;
  color: #fff;
}

.block-timetable .timetable-header .section-ttl-ja,
.block-timetable .timetable-header .section-ttl-en {
  color: #fff;
}

.block-timetable .timetable-section-header {
  color: rgba(255, 255, 255, 0.9);
  border-left-color: #fff;
}

.block-timetable .timetable-title {
  color: #fff;
}

.block-timetable .timetable-speakers {
  color: rgba(255, 255, 255, 0.85);
}

.block-timetable .timetable-num {
  color: #fff;
}

.block-timetable .timetable-time {
  background: #fff;
  color: #000;
}

.block-timetable .timetable-row {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.timetable {
  background: transparent;
}

.timetable-section-header {
  background: transparent;
  color: #333;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1.5rem;
  border-left: 3px solid #333;
  padding-left: 0.75rem;
}

.timetable-section-header:first-of-type {
  margin-top: 0;
}

.timetable-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
}

.timetable-row:last-child {
  border-bottom: none;
}

.timetable .timetable-num {
  font-family: "Oswald", sans-serif;
  font-size: 4rem !important;
  font-weight: 700;
  color: #000;
  line-height: 1;
  min-width: 3.5rem;
  flex-shrink: 0;
  align-self: center;
  letter-spacing: -0.02em;
}

.timetable-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timetable-time {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  align-self: flex-start;
  width: max-content;
}

.timetable-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #000;
  line-height: 1.5;
}

.timetable-speakers {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.timetable-row-opening {
  align-items: flex-start;
}

.timetable-row-opening .timetable-time {
  flex-shrink: 0;
}

.timetable-row-opening .timetable-right {
  padding-top: 0;
}

/* 5. お申し込み */
.form-placeholder {
  background: transparent;
  border: none;
  padding: 0;
  min-height: 0;
}

/* 6. 概要：白背景 */
.block-outline {
  background: #fff;
  color: #333;
}

.block-outline h2 .section-ttl-ja,
.block-outline h2 .section-ttl-en {
  color: #333;
}

/* 7. お申し込み：最下部・白背景・ボタンとフッターの隙間を適正に */
.block-registration {
  background: #fff;
  padding-bottom: 0.5rem;
}

.block-registration h2 {
  display: none;
}

/* 概要：2カラム表（白背景に合わせたスタイル） */
.outline-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.outline-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #333;
}

.outline-table th,
.outline-table td {
  border: 1px solid #ddd;
  padding: 1rem 1.25rem;
  vertical-align: top;
  text-align: left;
}

.outline-table th {
  font-size: 0.95rem;
  font-weight: 600;
  width: 30%;
  min-width: 140px;
}

.outline-table td {
  font-size: 0.95rem;
  line-height: 1.7;
}

.outline-table td p {
  margin-bottom: 0.5rem;
}

.outline-table td p:last-child {
  margin-bottom: 0;
}

.outline-table td a {
  color: #6eb3f7;
}

.outline-table td a:hover {
  text-decoration: underline;
}

/* 7. フッター */
.footer {
  padding: 2rem;
  text-align: center;
  background: #fff;
  border-top: 1px solid #eee;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #000;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #bf201e;
  text-decoration: none;
}

.footer-copy {
  font-size: 0.75rem;
  color: #999;
}

/* レスポンシブ */
@media (max-width: 640px) {
  .main {
    padding: 0 1rem 3rem;
  }

  .block {
    padding: 3rem 1.5rem;
  }

  .concept-inner {
    padding: 3rem 1.5rem;
  }

  .block-concept .concept-lead {
    font-size: 1.5rem;
  }

  .kv-text h1 {
    font-size: 32px !important;
  }

  .block h2 .section-ttl-en,
  .timetable-header .section-ttl-en {
    font-size: 64px !important;
  }

  .speaker-card {
    max-width: 100%;
  }

  .speaker-modal-panel {
    padding: 2rem 1.5rem;
  }

  .timetable .timetable-num {
    font-size: 3rem !important;
    min-width: 2.5rem;
  }

  .timetable-row {
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .timetable-title {
    font-size: 1rem;
  }

  .outline-table th {
    width: 35%;
    min-width: 120px;
  }
}
