/* 基本設定・CSS変数 */
:root {
  --color-header: 10, 121, 145;
  --color-primary: #087991;
  --color-accent: #67c1c1;
  --color-text: #111111;
  --color-white: #ffffff;
  --content-width: 980px;
  --header-height: 88px;
  --section-space: 64px;
  --side-space: 24px;
  --font-english: "Bebas Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: 600;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-inner {
  width: min(calc(100% - (var(--side-space) * 2)), var(--content-width));
  margin-inline: auto;
}

/* スマートフォンだけで改行 */
.mobile-break {
  display: none;
}

/* 01 ヘッダー・ナビゲーション */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: var(--header-height);
  background: rgba(var(--color-header), 0.93);
  box-shadow: 0 1px 12px rgba(0, 52, 64, 0.12);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - (var(--side-space) * 2)), var(--content-width));
  min-height: var(--header-height);
  margin-inline: auto;
}

.header-logo {
  display: block;
  width: 385px;
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.desktop-nav-list a {
  display: block;
  padding: 12px 0;
  color: var(--color-white);
  font-family: var(--font-english);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: opacity 0.2s ease;
}

.desktop-nav-list a:hover,
.desktop-nav-list a:focus-visible {
  opacity: 0.72;
}

.menu-button,
.mobile-menu {
  display: none;
}

/* 02 ファーストビュー・開催概要 */
.hero {
  min-height: min(1976px, 103.02vw);
  background-color: #FFFFFF;
  background-image: url("../images/backgrounds/bg-hero.webp?v=20260820-1");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.hero-inner {
  width: min(calc(100% - (var(--side-space) * 2)), var(--content-width));
  margin-inline: auto;
  padding-top: clamp(570px, 39vw, 745px);
  padding-bottom: 72px;
}

.hero-copy {
  text-align: center;
}

.hero-title {
  margin: 0;
}

.hero-title-image {
  width: min(100%, 932px);
  margin-inline: auto;
}

.event-overview {
  width: 780px;
  max-width: 100%;
  margin: 72px auto 0;
}

.event-description {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.event-info-list {
  display: grid;
  gap: 14px;
  width: 520px;
  max-width: 100%;
  margin: 42px auto 0;
}

.event-info-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 18px;
}

.event-info-row dt {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0;
  border-radius: 50%;
  background: #db9996;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.event-info-row:nth-child(1) dt {
  background: #db9996;
}

.event-info-row:nth-child(2) dt {
  background: #73bb90;
}

.event-info-row:nth-child(3) dt {
  background: #e8d242;
}

.event-info-row:nth-child(4) dt {
  background: #ec975c;
}

.event-info-row dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.event-info-row dd strong {
  display: block;
  width: 100%;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.event-info-row:nth-child(4) dd strong {
  width: auto;
  font-size: 30px;
}

.organizer-text {
  width: 760px;
  max-width: 100%;
  margin: 42px auto 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

/* 申込ボタン */
.entry-cta {
  padding: 30px 0 32px;
  background: var(--color-white);
}

.entry-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 760px;
  max-width: 100%;
  min-height: 64px;
  margin-inline: auto;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-accent);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 0 rgba(0, 95, 105, 0.12);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.entry-button:hover,
.entry-button:focus-visible {
  opacity: 0.86;
  transform: translateY(-2px);
}

/* 03 登壇者一覧 */
.illustrated-content {
  background-color: var(--color-white);
  background-position:
    top center,
    left 530px,
    right 530px;
  background-repeat: no-repeat;
  background-size:
    100% auto,
    510px calc(100% - 530px),
    526px calc(100% - 530px);
}

.illustrated-content.is-background-loaded {
  background-image:
    url("../images/backgrounds/bg-top.webp?v=20260820-1"),
    url("../images/backgrounds/bg-side-left.webp?v=20260820-1"),
    url("../images/backgrounds/bg-side-right.webp?v=20260820-1");
}

.speakers {
  padding: 420px var(--side-space) 180px;
}

.speakers-inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.section-title {
  width: fit-content;
  margin: 0 0 68px;
  padding: 0 8px;
  color: var(--color-white);
  background: #d8b617;
  font-family: var(--font-english);
  font-size: 60px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.07em;
}

.speaker-session + .speaker-session {
  margin-top: 135px;
}

.session-number {
  width: fit-content;
  margin: 0 0 14px;
  padding: 2px 8px 1px;
  color: var(--color-white);
  background: #2793b5;
  font-family: var(--font-english);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.13em;
}

.session-number--special {
  background: #00a59d;
}

.session-title {
  margin: 0 0 22px;
  color: #238fae;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.session-title span {
  display: inline;
  font-size: 0.76em;
}

.session-title span::before {
  content: " ";
}

.speaker-session--special .session-title {
  color: #00a59d;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, 220px);
  gap: 32px;
  align-items: start;
}

.speaker-session:first-of-type + .speaker-session .speaker-grid {
  grid-template-columns: repeat(2, 220px);
}

.speaker-grid--special {
  grid-template-columns: 220px;
}

.speaker-card {
  min-width: 0;
}

.speaker-photo-wrap {
  position: relative;
}

.speaker-photo {
  width: 100%;
  aspect-ratio: 15 / 17;
  object-fit: cover;
}

.js-fade-images .js-fade-image {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.js-fade-images .js-fade-image.is-loaded {
  opacity: 1;
}

.speaker-label {
  position: absolute;
  bottom: 12px;
  left: -14px;
  padding: 3px 7px 2px;
  color: var(--color-white);
  background: #dfbb00;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.speaker-label--coral {
  background: #e7a48f;
}

.speaker-session--coral .session-number {
  background: #dd8b83;
}

.speaker-session--coral .session-title {
  color: #d9877f;
}

.speaker-grid--with-intro {
  grid-template-columns: repeat(3, 220px);
}

.player-group-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  padding-bottom: 26px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}

.player-group-label .speaker-photo {
  margin-bottom: 12px;
}

/* 05 タイムスケジュール */
.schedule {
  padding: 140px var(--side-space) 180px;
}

.schedule-inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.schedule-heading {
  margin-bottom: 72px;
}

.schedule-list {
  border-top: 2px dotted #222222;
}

.schedule-time-group {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 2px dotted #222222;
}

.schedule-time {
  margin: 0;
  padding: 14px 16px 14px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
}

.schedule-programs {
  display: grid;
  gap: 8px;
  padding: 8px 0;
}

.schedule-program {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: stretch;
  min-height: 68px;
}

.schedule-program--plain {
  display: block;
  min-height: auto;
  padding: 5px 0;
}

.schedule-program--red,
.schedule-program--blue {
  color: var(--color-white);
}

.schedule-program--red {
  background: #d9877f;
}

.schedule-program--blue {
  background: #75abd0;
}

.schedule-program--opening-message {
  color: var(--color-white);
  min-height: 44px;
}

.schedule-venue--plain {
  color: var(--color-text);
  font-size: 14px;
  white-space: nowrap;
}

.schedule-program-content--blue {
  background: #75abd0;
}

.schedule-venue {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 12px 14px;
  color: var(--color-text);
  background: var(--color-white);
  font-size: 16px;
  font-weight: 900;
}

.schedule-program-content {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: baseline;
  gap: 0 7px;
  padding: 12px 16px;
}

.schedule-session-label,
.schedule-program-title,
.schedule-program-note {
  margin: 0;
}

.schedule-session-label {
  font-family: var(--font-english);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.schedule-program-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.schedule-program-note {
  width: 100%;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.schedule-program--plain .schedule-program-title {
  font-size: 18px;
}

/* 06 参加申込・お問い合わせ */
.entry {
  padding: 150px var(--side-space) 190px;
}

.entry-inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.entry-heading {
  margin-bottom: 28px;
}

.entry-lead {
  margin: 0 0 24px;
  font-size: 31px;
  font-weight: 900;
  line-height: 1.35;
}

.entry-button--main {
  width: 100%;
  margin: 0 0 54px;
}

.contact-info p,
.contact-links,
.funding-info p,
.privacy-link-wrap {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.entry-subheading {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 900;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 34px;
  margin-top: 4px;
  font-style: normal;
}

.contact-links a,
.privacy-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-links a:hover,
.contact-links a:focus-visible,
.privacy-link:hover,
.privacy-link:focus-visible {
  color: var(--color-primary);
}

.funding-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}

.funding-logo {
  flex: 0 0 auto;
  width: 124px;
}

.privacy-link-wrap {
  margin-top: 48px;
}

.privacy-link {
  font-weight: 900;
}

/* 07 フッター */
.site-footer {
  background: var(--color-primary);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - (var(--side-space) * 2)), var(--content-width));
  min-height: 126px;
  margin-inline: auto;
}

.footer-logo {
  display: block;
  width: 385px;
}

.footer-nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-nav-list a {
  display: block;
  padding: 12px 0;
  color: var(--color-white);
  font-family: var(--font-english);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.footer-nav-list a:hover,
.footer-nav-list a:focus-visible {
  opacity: 0.72;
}

.speaker-details {
  padding-top: 12px;
}

.speaker-name {
  margin: 0 0 5px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.speaker-name span {
  margin-left: 3px;
  font-size: 13px;
  font-weight: 800;
}

.speaker-organization,
.speaker-position {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.speaker-profile-text {
  max-width: 950px;
  margin: 28px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}

.section-anchor {
  height: 1px;
}

/* 背景イラストと登壇者情報が重なる画面幅の可読性調整 */
@media (min-width: 768px) and (max-width: 1500px) {
  .speaker-card,
  .player-group-label {
    background: rgba(255, 255, 255, 0.83);
    box-shadow: 0 0 24px 10px rgba(255, 255, 255, 0.76);
  }
}

/* スマートフォン用ナビゲーションのみ */
@media (max-width: 767px) {
  :root {
    --header-height: 66px;
    --side-space: 18px;
  }

  .mobile-break {
    display: block;
  }

  .mobile-hide {
    display: none;
  }

  .section-title {
    font-size: 52px;
  }

  .header-logo {
    width: min(72vw, 300px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button-line {
    display: block;
    position: absolute;
    top: 50%;
    left: 10px;
    width: 24px;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: var(--color-white);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-button-line:nth-child(1) {
    transform: translateY(-7px);
  }

  .menu-button-line:nth-child(3) {
    transform: translateY(7px);
  }

  .menu-button.is-open .menu-button-line:nth-child(1) {
    transform: rotate(45deg);
  }

  .menu-button.is-open .menu-button-line:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open .menu-button-line:nth-child(3) {
    transform: rotate(-45deg);
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: min(78vw, 320px);
    padding: 18px 24px 26px;
    background: rgba(var(--color-header), 0.97);
    box-shadow: -10px 16px 24px rgba(0, 42, 52, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .mobile-nav-list a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--color-white);
    font-family: var(--font-english);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  /* 02 ファーストビュー・スマートフォン */
  .hero {
    background-image: url("../images/backgrounds/bg-hero-sp.webp?v=20260821-2");
  }

  .hero-inner {
    padding-top: calc(52.4vw + 50px);
  }

  .hero-title-image {
    width: min(48vw, 180px);
  }

  .event-overview {
    margin-top: 52.4vw;
  }

  .event-description {
    font-size: 18px;
  }

  /* 03 登壇者一覧・スマートフォン */
  .session-title {
    font-size: clamp(17px, 5vw, 21px);
    white-space: nowrap;
  }

  .session-title span {
    display: block;
    font-size: clamp(14px, 3.9vw, 17px);
  }

  .session-title span::before {
    content: none;
  }

  .speaker-grid,
  .speaker-session:first-of-type + .speaker-session .speaker-grid,
  .speaker-grid--special,
  .speaker-grid--with-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 16px;
  }

  .speaker-card {
    width: 100%;
  }

  .speaker-photo {
    aspect-ratio: 15 / 17;
  }

  .speaker-details {
    overflow-wrap: anywhere;
  }

  .speaker-name {
    font-size: clamp(16px, 4.4vw, 18px);
  }

  .speaker-name span {
    font-size: 11px;
  }

  .speaker-organization,
  .speaker-position {
    font-size: 12px;
  }

  .player-group-label {
    grid-column: auto;
    min-height: 0;
    padding-bottom: 0;
    font-size: clamp(16px, 4.4vw, 18px);
  }

  /* 05 タイムスケジュール・スマートフォン */
  .illustrated-content {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-position: top center;
    background-size: auto 270px;
  }

  .illustrated-content.is-background-loaded {
    background-image: url("../images/backgrounds/bg-top.webp?v=20260820-1");
  }

  .illustrated-content::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 270px 0 0;
    pointer-events: none;
    background-position:
      left top,
      right top;
    background-repeat:
      repeat-y,
      repeat-y;
    background-size:
      50% auto,
      50% auto;
    opacity: 0.2;
  }

  .illustrated-content.is-background-loaded::before {
    background-image:
      url("../images/backgrounds/bg-side-left.webp?v=20260820-1"),
      url("../images/backgrounds/bg-side-right.webp?v=20260820-1");
  }

  .illustrated-content > section {
    position: relative;
    z-index: 1;
  }

  .schedule {
    padding: 72px var(--side-space) 90px;
  }

  .schedule-heading {
    margin-bottom: 40px;
    font-size: 39px;
  }

  .schedule-time-group {
    display: block;
    padding: 16px 0;
  }

  .schedule-time {
    padding: 0 0 10px;
    font-size: 18px;
  }

  .schedule-programs {
    gap: 10px;
    padding: 0;
  }

  .schedule-program {
    display: block;
  }

  .schedule-program--plain {
    padding: 0;
  }

  .schedule-venue {
    display: block;
    padding: 7px 12px;
    border-bottom: 1px solid #dddddd;
    font-size: 14px;
  }

  .schedule-program-content {
    display: block;
    padding: 12px 14px 14px;
  }

  .schedule-session-label {
    margin-bottom: 3px;
    font-size: 12px;
  }

  .schedule-program-title {
    font-size: 17px;
  }

  .schedule-program-note {
    margin-top: 3px;
    font-size: 14px;
  }

  /* 06 参加申込・お問い合わせ・スマートフォン */
  .entry {
    padding: 90px var(--side-space) 110px;
  }

  .entry-heading {
    font-size: 39px;
  }

  .entry-lead {
    font-size: 24px;
  }

  .contact-info p,
  .contact-links,
  .funding-info p,
  .privacy-link-wrap {
    font-size: 15px;
  }

  .contact-links,
  .funding-info {
    display: grid;
  }

  .funding-info {
    justify-items: start;
  }

  /* 07 フッター・スマートフォン */
  .footer-inner {
    display: grid;
    justify-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
    padding: 28px 0;
    text-align: center;
  }

  .footer-logo {
    width: min(82vw, 330px);
    margin-inline: auto;
  }

  .footer-nav {
    justify-self: center;
  }

  .footer-nav-list {
    justify-content: center;
  }
}

@media (min-width: 376px) and (max-width: 767px) {
  .hero-inner {
    padding-top: calc(85.215vw - 73px);
  }

  .event-overview {
    margin-top: calc(85.215vw - 123px);
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}
