/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 全ての疑似要素で横線を無効化 */
*::before,
*::after {
  background-image: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #333;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

ul,
ol {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}


/* ヘッダー */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo {
  width: 180px;
}

.pc-nav ul {
  display: flex;
}

.pc-nav li {
  margin-left: 25px;
}

.pc-nav a {
  font-weight: 500;
  position: relative;
}

.pc-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0056b3;
  transition: width 0.3s ease;
}

.pc-nav a:hover::after {
  width: 100%;
}

.sp-btn {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.sp-btn span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

.sp-btn span:nth-child(1) {
  top: 0;
}

.sp-btn span:nth-child(2) {
  top: 11px;
}

.sp-btn span:nth-child(3) {
  bottom: 0;
}

.sp-btn.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.sp-btn.active span:nth-child(2) {
  opacity: 0;
}

.sp-btn.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.sp-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 999;
  padding-top: 80px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.sp-nav.active {
  transform: translateX(0);
}

.sp-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-nav li {
  margin: 15px 0;
}

.sp-nav a {
  font-size: 18px;
  font-weight: 500;
}

/* メインビジュアル */
.main-visual {
  height: 80vh;
  background: url("/asset/top-image.png") no-repeat center center;
  background: #fff;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
}

.main-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: none !important;
}

.main-visual::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
	
}

.main-visual-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 30px;
  margin-top:100px;
}

.main-copy {
  color: #0889BF;
  text-align: center;
  font-family: fot-seurat-pron, sans-serif;
}

.sub-copy {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
  font-family: fot-seurat-pron, sans-serif;
}

.main-copy h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 30px;
}

.date,
.place {
  font-size: 20px;
  margin-bottom: 10px;
}

/* セクションタイトル */
.section-title-wrapper {
  text-align: left;
  margin-bottom: 50px;
}

.section-title-bubble {
  display: inline-block;
  position: relative;
 /* padding: 20px 40px;*/
  /*background-color: #f5f5f5;
  border-radius: 50px;
  transform-origin: center;*/
}

.animate-bubble {
  transition: transform 0.5s ease;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
}

.section-title-en {
  /*font-size: 16px;
  font-weight: 500;
  color: #0056b3;*/
	font-size: 14px;
  color: #0056b3;
}

/* 概要 */
.about {
  background-color: #f9f9f9;
}
/*.about .section-title{
	color:#0889BF;
}*/
.material-icons {
    font-size: 24px; /* サイズ変更 */
    color: #000; /* 色変更 */
    vertical-align: middle;
	padding-left:5px;
  }

.about-content {
  text-align: left;
  /*max-width: 900px;*/
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 20px;
}

/* 基調講演 */
.keynote-content {
  max-width: 900px;
  margin: 0 auto;
}

.keynote-info {
  margin-bottom: 40px;
}

.time-place {
  font-size: 18px;
  font-weight: 500;
  color: #0056b3;
  margin-bottom: 15px;
}

.speakers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.speaker {
  width: 200px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.speaker:hover {
  transform: translateY(-5px);
}
.session .speaker{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
/*.session .speaker .speaker-image{
	height: 240px;
}*/
.mb50{
	margin-bottom: 50px;
}

.mt100{
	margin-top: 100px;
}

.keynote-content .speakers .speaker:hover{
  transform:none;
  cursor: default;
}
.speaker-image {
 /* width: 150px;
  height: 150px;
  border-radius: 50%;*/
  overflow: hidden;
  margin: 0 auto 15px;
}

.speaker-image img {
  width: 100%;
  /*height: 100%;*/
  object-fit: cover;
  object-position:top center;
}

.speaker-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}

.speaker-company {
  font-size: 13px;
  color: #666;
}

/* メインセッション */
.session{
	background-color: #f9f9f9;
}
.session-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.session-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
}

.session-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

.session-title-en {
  font-size: 14px;
  color: #0056b3;
  margin--left:20px;
  line-height: 3;
}

.title {
  position: relative;
  padding-left: 50px; /* 左に余白を作る */
}

#keynote .container .section-title-wrapper,
#session .container .section-title-wrapper,
#matching .container .section-title-wrapper,
#booth .container .section-title-wrapper,
#xtech .container .section-title-wrapper{
	display: flex;
}

#keynote .container .section-title-wrapper .flex,
#session .container .section-title-wrapper .flex,
#matching .container .section-title-wrapper .flex,
#booth .container .section-title-wrapper .flex,
#xtech .container .section-title-wrapper .flex{
	display: flex;
}

#keynote .container .section-title-wrapper .time-place,
#session .container .section-title-wrapper .time-place,
#matching .container .section-title-wrapper .time-place,
#booth .container .section-title-wrapper .time-place,
#xtech .container .section-title-wrapper .time-place,
#pitch .container .section-title-wrapper .time-place{
	margin:0 0 0 100px;
	line-height: 2.5;
}
.space{
	margin-left:20px;
}
#keynote h3,
#session h3,
#matching h3,
#booth h3,
#xtech h3{
	margin-bottom: 20px;
}
/* 見出しの前に画像 */
.title::before {
 content: "";
  position: absolute;
  left: 0;
  top: 20%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: url("../asset/title-design.png") no-repeat center/contain;
}

/* 見出しの後ろに画像 */
/*.title::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: url("../asset/logo_up.png") no-repeat center/contain;
}*/
.pitch-blocks,
.side-events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

/*.four-contents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}*/
.four-contents > div{
	width:60%;
	margin:0 auto 30px;
}
.four-contents p:first-of-type,.four-contents h4{
	text-align: center;
}

.pitch-block,
.side-event {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pitch-block h4,
.side-event h4,
.four-contents h4{
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.more-btn {
  text-align: center;
  margin-top: 30px;
}

.more-btn a {
  display: inline-block;
  padding: 10px 30px;
  background-color: #0056b3;
  color: #fff;
  border-radius: 50px;
  font-weight: 500;
}

.more-btn a:hover {
  background-color: #003d82;
}

/* マッチング */
.matching-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.matching-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.matching-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0056b3;
}

.matching-sessions {
  margin-top: 20px;
}

.matching-session {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.matching-session:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.matching-session h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.matching-session .time {
  font-size: 16px;
  color: #0056b3;
  margin-bottom: 10px;
}

.booth-info {
  margin: 20px 0;
  padding: 15px;
  background-color: #f0f8ff;
  border-radius: 5px;
  text-align: center;
}

/*展示・ブース*/
.booth, .timetable {
  background-color: #f9f9f9;
}

/*クロステック*/
.xtech-wrapper{
	display: flex;
	flex-direction: row;
}

.xtech-wrapper > p{
	width:60%;
}

.xtech-description{
	margin-left: 10px;
}

/* タイムテーブル */
.timetable {
  overflow-x: hidden;
}

.timetable-content{
	margin-top:30px;
}

.pc-timetable {
  display: block;
  overflow-x: auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timetable-header {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr 1fr;
  border-bottom: 2px solid #ddd;
  background-color: #f8f9fa;
}

.timetable-header .time-column {
  padding: 15px 10px;
  font-weight: 600;
  text-align: center;
  border-right: 1px solid #ddd;
}

.timetable-header .venue-column {
  padding: 15px 10px;
  font-weight: 600;
  text-align: center;
  border-right: 1px solid #ddd;
  min-width: 200px;
}

.timetable-header .venue-column:last-child {
  border-right: none;
}

.timetable-body {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr 1fr;
  min-height: 660px;
}

.timetable-body .time-column {
  border-right: 1px solid #ddd;
  background-color: #f8f9fa;
  position: relative;
}

.time-scale {
  position: relative;
  height: 1110px; /* 11時間 x 120px */
  padding: 0;
}

.time-scale div {
  position: absolute;
  font-size: 12px;
  color: #666;
  font-weight: 500;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f8f9fa;
  padding: 2px 5px;
  border-radius: 3px;
}

/* 時間の位置を調整 （90px/h,15px/10m）*/
.time-scale div:nth-child(1) {
  top: 0px;
} /* 10:00 */
.time-scale div:nth-child(2) {
  top: 120px;
} /* 11:00 */
.time-scale div:nth-child(3) {
  top: 240px;
} /* 12:00 */
.time-scale div:nth-child(4) {
  top: 360px;
} /* 13:00 */
.time-scale div:nth-child(5) {
  top: 480px;
} /* 14:00 */
.time-scale div:nth-child(6) {
  top: 600px;
} /* 15:00 */
.time-scale div:nth-child(7) {
  top: 720px;
} /* 16:00 */
.time-scale div:nth-child(8) {
  top: 840px;
} /* 17:00 */
.time-scale div:nth-child(9) {
  top: 960px;
} /* 18:00 */
.time-scale div:nth-child(10) {
  top: 1080px;
} /* 19:00 */
.time-scale div:nth-child(11) {
  top: 1200px;
} /* 20:00 */
.time-scale div:nth-child(12) {
  top: 1320px;
} /* 21:00 */

.timetable-body .venue-column {
  border-right: 1px solid #ddd;
  position: relative;
  min-height: 660px;
  background-color: #fff;
}

.timetable-body .venue-column:last-child {
  border-right: none;
}

.venue-column p:first-of-type{
	font-weight: 600;
	font-size: 1.1em;
}

.session-block1 {
  position: absolute;
  width: calc(100% - 10px);
  left: 5px;
  background-color: #2EA3E6;
  color: #fff;
  border-radius: 5px;
  padding: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.session-block2 {
  position: absolute;
  width: calc(100% - 10px);
  left: 5px;
  background-color: #F24C98;
  color: #fff;
  border-radius: 5px;
  padding: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.session-block3 {
  position: absolute;
  width: calc(100% - 10px);
  left: 5px;
  background-color: #FFA005;
  color: #fff;
  border-radius: 5px;
  padding: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.session-block4 {
  position: absolute;
  width: calc(100% - 10px);
  left: 5px;
  background-color: #12C6AB;
  color: #fff;
  border-radius: 5px;
  padding: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.session-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background-color: #003d82;
}

.session-block p {
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
}

.session-time {
  font-size: 10px !important;
  margin-top: 3px !important;
  opacity: 0.9 !important;
  font-weight: 400 !important;
}

.full-day {
  background-color: #4caf50 !important;
}

.full-day:hover {
  background-color: #388e3c !important;
}

/* 時間軸の線を追加 */
.time-scale::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background-color: #ddd;
}

/* 1時間ごとの横線を追加 */
/.timetable-body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100px;
  right: 0;
  height: 660px;
  background-image: repeating-linear-gradient(to bottom, transparent 0px, transparent 59px, #eee 59px, #eee 60px);
  pointer-events: none;
  z-index: 1;
}
/* 1時間ごとの横線を追加 - より具体的に指定 */
.timetable .pc-timetable .timetable-body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100px;
  right: 0;
  height: 660px;
  background-image: repeating-linear-gradient(to bottom, transparent 0px, transparent 59px, #eee 59px, #eee 60px);
  pointer-events: none;
  z-index: 1;
}
.session-block {
  z-index: 2;
}

/* SP用タイムテーブル */
.sp-timetable {
  display: none;
}

.tab-menu {
  display: flex;
  overflow-x: auto;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 20px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  white-space: nowrap;
}

.tab-btn.active {
  background-color: #0056b3;
  color: #fff;
}

.tab-content {
  position: relative;
}

.venue-schedule {
  display: none;
  position: relative;
  height: 660px;
}

.venue-schedule.active {
  display: block;
}

.venue-schedule .time-scale {
  position: absolute;
  left: 0;
  width: 60px;
  height: 100%;
}

.venue-schedule .sessions {
  position: relative;
  margin-left: 60px;
  height: 100%;
}

/* 会場図 */
.venue-map {
  text-align: center;
}

.venue-description ul li{
	 margin:20px auto;
}

.venue-description ul li dl dt{
	 margin-bottom:8px;
	font-weight: 600;
}

.venue-description ul li dl dd{
	 margin-bottom:5px;
}

/* アクセス */
.access {
  background-color: #f9f9f9;
}

.access-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.access-map {
  border-radius: 10px;
  overflow: hidden;
}

.access-info {
  padding: 20px;
}

.access-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.access-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
}

.access-info ul {
  padding-left: 20px;
}

.access-info li {
  list-style-type: disc;
  margin-bottom: 5px;
}

/* トップへ戻るボタン */
.to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background-color: #0056b3;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.to-top.active {
  opacity: 1;
  visibility: visible;
}

.to-top a {
  color: #fff;
  font-size: 20px;
}

.renkei{
	width:70%;
	margin:20px auto;
	text-align: center;
	display: flex;
}
.renkei .desc{
	width:80%;
	margin-left: 20px;
}
.renkei .image{
	width:20%;
}


/* フッター */
.footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  width:180px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
}

.footer-nav li {
  margin-right: 20px;
  margin-bottom: 10px;
}

.footer-nav a {
  color: #fff;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #ccc;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #444;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
}

.footer-social a:hover {
  background-color: #0056b3;
}

.footer-social .x-icon {
  font-size: 18px;
  font-weight: bold;
  font-family: "Times New Roman", serif;
  display: inline-block;
  transform: scale(1.1);
}

.copyright {
  text-align: center;
  font-size: 14px;
  color: #999;
  padding-top: 20px;
  border-top: 1px solid #444;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  overflow-y: auto;
}

.modal-content {
  position: relative;
  background-color: #fff;
  width: 90%;
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #999;
  cursor: pointer;
}

.close-modal:hover {
  color: #333;
}

.speaker-profile {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.speaker-profile .speaker-image {
  width: 120px;
  height: 120px;
  margin-right: 30px;
  margin-bottom: 0;
}

.speaker-bio h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

#modal-session-speakers {
  margin-top: 30px;
}

#modal-session-speakers .speaker {
  width: 160px;
}

#modal-session-speakers .speaker-image {
  width: 100px;
  height: 100px;
}

.mobile-apply-btn{
	display: none;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .container {
    padding: 40px 0;
  }

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

  .main-copy h1 {
    font-size: 48px;
  }

  .sub-copy {
    font-size: 20px;
  }

  .date,
  .place {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 20px;
  }

  .pc-nav {
    display: none;
  }

  .sp-btn {
    display: block;
  }

  .sp-nav {
    display: block;
  }

  .main-copy h1 {
    font-size: 36px;
  }

  .sub-copy {
    font-size: 18px;
  }

  .date,
  .place {
    font-size: 16px;
  }

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

  .section-title-bubble {
    padding: 15px 30px;
  }

  .pc-timetable {
    display: none;
  }

  .sp-timetable {
    display: block;
  }

  .speaker-profile {
    flex-direction: column;
    text-align: center;
  }

  .speaker-profile .speaker-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
	
	.xtech-wrapper{
		flex-direction: column;
	}
	.xtech-wrapper > p{
		width:100%;
	}
}

@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 30px 0;
  }

  .main-copy h1 {
    font-size: 28px;
  }

  .sub-copy {
    font-size: 16px;
  }

  .date,
  .place {
    font-size: 14px;
  }

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

  .section-title-en {
    font-size: 14px;
  }

  .section-title-bubble {
    padding: 12px 25px;
  }

  .speaker {
    width: 150px;
  }

  .speaker-image {
    width: 120px;
    height: 120px;
  }

  .modal-content {
    padding: 20px;
    margin: 30px auto;
  }
}

/*追加修正*/
/* セッションブロック共通のホバー効果 */
.session-block1:hover,
.session-block2:hover,
.session-block3:hover,
.session-block4:hover {
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
opacity: 0.9;
}

/* モバイルでのタイムテーブル表示改善 */
@media (max-width: 768px) {
.sp-timetable .venue-schedule {
overflow-y: auto;
max-height: 500px;
}

.sp-timetable .session-block1,
.sp-timetable .session-block2,
.sp-timetable .session-block3,
.sp-timetable .session-block4 {
z-index: 2;
margin-bottom: 5px;
}
}

/*再修正*/
/* モバイルでのタイムテーブル表示修正 */
@media (max-width: 768px) {
/* SPタイムテーブルを無効化 */
.sp-timetable {
display: none !important;
}

/* PCタイムテーブルをモバイルでも表示 */
.pc-timetable {
display: block !important;
overflow-x: auto;
-webkit-overflow-scrolling: touch; /* iOS用スムーススクロール */
background-color: #fff;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* モバイル用のスクロールヒント */
.timetable-content::before {
content: "← 横にスワイプできます →";
display: block;
text-align: center;
font-size: 12px;
color: #666;
padding: 10px;
background-color: #f8f9fa;
border-radius: 5px;
margin-bottom: 10px;
}

/* テーブルヘッダーとボディの最小幅を設定 */
.timetable-header,
.timetable-body {
min-width: 800px; /* スクロール可能にするための最小幅 */
}

/* 各カラムの最小幅を調整 */
.timetable-header .venue-column,
.timetable-body .venue-column {
min-width: 180px; /* より小さく調整 */
}

.timetable-header .time-column {
min-width: 80px;
}

/* モバイルでのセッションブロック調整 */
.session-block1,
.session-block2,
.session-block3,
.session-block4 {
font-size: 10px; /* モバイルでは小さめに */
padding: 5px;
}

.session-time {
font-size: 8px !important;
}

/* セッションブロック内のテキストの改行を防ぐ */
.session-block1 p,
.session-block2 p,
.session-block3 p,
.session-block4 p {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

/* セッションブロックのタイトル部分のみ改行可能 */
.session-block1 p:first-child,
.session-block2 p:first-child,
.session-block3 p:first-child,
.session-block4 p:first-child {
white-space: normal;
line-height: 1.2;
}
}

/* さらに小さい画面での調整 */
@media (max-width: 480px) {
.timetable-header .venue-column,
.timetable-body .venue-column {
min-width: 150px;
}

.timetable-header .time-column {
min-width: 60px;
}

.session-block1,
.session-block2,
.session-block3,
.session-block4 {
font-size: 9px;
padding: 3px;
}

.session-time {
font-size: 7px !important;
}
}

/* モバイルレイアウト完全修正 */

/* 基本的なレスポンシブ対応の改善 */
@media (max-width: 768px) {
  /* 全体のコンテナ調整 */
  .container {
    width: 100%;
    padding: 30px 15px; /* 左右の余白を統一 */
    margin: 0;
  }

  /* メインビジュアルの調整 */
  .main-visual {
    height: 40vh; /* 高さを調整 */
    min-height: 400px;
  }

  .main-visual-content {
    padding: 0 15px;
    margin-top: 80px;
  }

  .main-visual-content img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  /* セクションタイトルの調整 */
  .section-title-wrapper {
    margin-bottom: 30px;
    overflow: hidden; /* はみ出し防止 */
  }

  .section-title {
    font-size: 20px;
    line-height: 1.3;
    word-break: break-word; /* 長いタイトルの改行 */
  }

  .section-title-en {
    font-size: 12px;
  }

  /* タイトル前の画像調整 */
  .title::before {
    width: 40px;
    height: 40px;
    top: 0;
    transform: none;
  }

  .title {
    padding-left: 50px;
  }

  /* 時間・場所表示の調整 */
  #keynote .container .section-title-wrapper,
  #session .container .section-title-wrapper,
  #matching .container .section-title-wrapper,
  #booth .container .section-title-wrapper,
  #xtech .container .section-title-wrapper {
    display: block; /* flexを解除 */
  }

  #keynote .container .section-title-wrapper .time-place,
  #session .container .section-title-wrapper .time-place,
  #matching .container .section-title-wrapper .time-place,
  #booth .container .section-title-wrapper .time-place,
  #xtech .container .section-title-wrapper .time-place {
    margin: 10px 0 0 0;
    line-height: 1.5;
    font-size: 16px;
  }

  /* 4つのコンテンツ紹介の調整 */
  .session-item {
    /*margin: 0 15px;*/
    padding: 20px 15px;
  }

  .four-contents {
    grid-template-columns: 1fr; /* 1列表示に変更 */
    gap: 20px;
    margin: 20px 0;
    padding: 0;
  }

  .four-contents h4 {
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
  }

  .four-contents img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }

  /*.four-contents .description {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    margin-top: 15px;
  }*/

  /* スピーカー表示の調整 */
  .speakers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    justify-content: center;
  }

  .speaker {
    width: 100%;
    max-width: 140px;
    margin: 0 auto;
  }

  .speaker-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
  }

  .speaker-name {
    font-size: 14px;
  }

  .speaker-company {
    font-size: 12px;
  }

  /* keynote-content, matching-content等の調整 */
  .keynote-content,
  .matching-content {
    max-width: 100%;
    padding: 0;
  }

  .keynote-info {
    margin-bottom: 30px;
  }

  .keynote-info h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .keynote-info .description {
    font-size: 14px;
    line-height: 1.6;
  }

  /* ブースロゴの調整 */
  .four-contents a {
    display: block;
    text-align: center;
    padding: 10px;
  }

  .four-contents a img {
    width: 100%;
    max-width: 120px;
    height: auto;
  }

  /* アクセス情報の調整 */
  .access-content {
    gap: 20px;
  }

  .access-info {
    padding: 15px;
  }

  .access-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .access-info h4 {
    font-size: 16px;
    margin: 15px 0 8px;
  }

  .access-info ul {
    padding-left: 15px;
  }

  .access-info li {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  /* フッターの調整 */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .footer-nav li {
    margin: 0;
  }

  .footer-nav a {
    font-size: 13px;
  }

  .footer-social {
    justify-content: center;
    gap: 20px;
  }

  /* モーダルの調整 */
  .modal-content {
    width: 95%;
    margin: 20px auto;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .speaker-profile {
    flex-direction: column;
    text-align: center;
  }

  .speaker-profile .speaker-image {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100px;
    height: 100px;
  }

  /* セクション間のマージン調整 */
  section {
    margin-bottom: 0;
  }

  .about,
  .keynote,
  .session,
  .matching,
  .booth,
  .pitch,
  .timetable,
  .venue,
  .access {
    padding: 40px 0;
  }

  /* ナビゲーション調整 */
  .header-inner {
    padding: 10px 15px;
  }

  .logo {
    width: 150px;
  }

  /* 概要セクションのテキスト調整 */
  .about-content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
  }

  /* ピッチセクションの調整 */
  .pitch .four-contents {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
  }

  .pitch .four-contents img {
    max-width: 80px;
  }

  /* セクションタイトルのバブル調整 */
  .section-title-bubble {
    padding: 10px 0;
  }

  /* トップへ戻るボタンの調整 */
  .to-top {
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
  }

  .to-top a {
    font-size: 18px;
  }
/* スマホナビの申込ボタンを削除（モバイル用固定ボタンがあるため） */
  .sp-nav .apply-btn {
    display: none;
  }

  /* モバイル用申込ボタンの位置調整 */
  .mobile-apply-btn {
    right: 15px;
    bottom: 85px;
    width: 65px;
    height: 65px;
  }
	/* モバイル用申込ボタンのさらなる調整 */
  .mobile-apply-btn {
	display: block;
    right: 10px;
    bottom: 80px;
    width: 60px;
    height: 60px;
  }

  .mobile-apply-btn i {
    font-size: 16px;
  }

  .mobile-apply-btn span {
    font-size: 8px;
  }
}

/* さらに小さい画面での調整 */
@media (max-width: 480px) {
  .container {
    padding: 20px 10px;
  }

  .main-visual-content {
    padding: 0 10px;
    margin-top: 70px;
  }

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

  .section-title-en {
    font-size: 11px;
  }

  /*.four-contents {
    gap: 15px;
    margin: 15px 0;
  }*/

  .four-contents h4 {
    font-size: 14px;
  }

  .four-contents .description {
    font-size: 13px;
  }
   .four-contents > div{
		width:100%;
	}
  .speakers {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }

  .speaker {
    max-width: 120px;
  }

  .speaker-image {
    width: 100px;
    height: 120px;
  }

  .speaker-name {
    font-size: 13px;
  }

  .speaker-company {
    font-size: 11px;
  }

  .keynote-info h3 {
    font-size: 16px;
  }

  .keynote-info .description,
  .about-content p {
    font-size: 13px;
  }

  .time-place {
    font-size: 14px;
  }

  .modal-content {
    padding: 15px;
    margin: 10px auto;
  }

  .logo {
    width: 120px;
  }

  .header-inner {
    padding: 8px 10px;
  }
}

/* 横向き表示の調整 */
@media (max-width: 768px) and (orientation: landscape) {
  .main-visual {
    height: 80vh;
  }

  .main-visual-content {
    margin-top: 60px;
  }
}

/* 追加：オーバーフロー対策 */
* {
  max-width: 100%;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

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

/* テキストの溢れ対策 */
h1, h2, h3, h4, h5, h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Flexbox要素の調整 */
.section-title-wrapper,
.keynote-content,
.matching-content {
  width: 100%;
  min-width: 0; /* flex項目の最小幅をリセット */
}
/* 基調講演の単一登壇者レイアウト */
.keynote .speaker-profile-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.keynote .speaker-profile-layout .speaker-image-large {
  flex: 0 0 200px;
  width: 200px;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.keynote .speaker-profile-layout .speaker-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* 画像の上部を基準に表示 */
}

.keynote .speaker-profile-layout .speaker-details {
  flex: 1;
  min-width: 0;
}

.keynote .speaker-profile-layout .speaker-name-large {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.3;
}

.keynote .speaker-profile-layout .speaker-company-large {
  font-size: 18px;
  color: #0056b3;
  margin-bottom: 20px;
  line-height: 1.4;
  font-weight: 500;
}

.keynote .speaker-profile-layout .speaker-bio-large {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0;
}

/* 既存のspeakers表示を非表示（基調講演セクションのみ） */
.keynote .speakers {
  display: none;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .keynote .speaker-profile-layout {
    flex-direction: column;
    gap: 25px;
    text-align: center;
    margin-top: 30px;
  }

  .keynote .speaker-profile-layout .speaker-image-large {
    flex: none;
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .keynote .speaker-profile-layout .speaker-details {
    text-align: left;
  }

  .keynote .speaker-profile-layout .speaker-name-large {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .keynote .speaker-profile-layout .speaker-company-large {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .keynote .speaker-profile-layout .speaker-bio-large {
    font-size: 14px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .keynote .speaker-profile-layout .speaker-image-large {
    width: 150px;
    height: 150px;
  }

  .keynote .speaker-profile-layout .speaker-name-large {
    font-size: 20px;
  }

  .keynote .speaker-profile-layout .speaker-company-large {
    font-size: 15px;
  }

  .keynote .speaker-profile-layout .speaker-bio-large {
    font-size: 13px;
  }
}
/* BOOTHセクションのモバイル2列表示 */
@media (max-width: 768px) {
  .booth .four-contents {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    margin: 20px 0;
  }

  .booth .four-contents a {
    display: block;
    text-align: center;
    padding: 8px;
    /*background-color: #f9f9f9;*/
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }

  .booth .four-contents a:hover {
    background-color: #f0f0f0;
  }

  .booth .four-contents a img {
    width: 100%;
   /* max-width: 100px;*/
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .booth .four-contents {
    gap: 10px;
  }

  .booth .four-contents a {
    padding: 6px;
  }

  .booth .four-contents a img {
    /*max-width: 80px;*/
  }
}
/* モバイル画像切り替えとタイムテーブル修正 */

/* 1. モバイル対応画像の切り替え */
@media (max-width: 768px) {
  /* メインビジュアル全体の調整 */
  .main-visual {
    padding-top: 80px; /* ヘッダー分の余白を確保 */
    min-height: auto; /* 高さの制限を解除 */
  }

  .main-visual-content {
    margin-top: 0; /* 上部マージンをリセット */
    padding: 0 15px; /* 左右に少し余白 */
  }

  /* PC用画像を非表示 */
  .main-visual-content img[src="asset/top.png"] {
    display: none;
  }
  
  /* モバイル用画像を表示 */
  .main-visual-content::after {
    content: "";
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 120%; /* アスペクト比を維持（縦長画像想定） */
    background-image: url("asset/top-mobile.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top; /* 上部から表示 */
    position: relative;
  }
}

/* 代替方法：HTMLで画像要素を追加する場合 */
.mobile-image {
  display: none;
}

@media (max-width: 768px) {
  /* メインビジュアルの調整 */
  .main-visual {
    padding-top: 450px; /* ヘッダー分の余白 */
    min-height: auto;
  }

  .main-visual-content {
    margin-top: 0;
    padding: 0 15px;
  }

  .pc-image {
    display: none;
  }
  
  .mobile-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .mobile-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* 画像全体を表示 */
    object-position: center top; /* 上部基準で配置 */
  }
}

/* 2. タイムテーブルの時間固定（横幅を狭く） */
@media (max-width: 768px) {
  /* タイムテーブル全体の調整 */
  .pc-timetable {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 時間軸カラムを固定（横幅を狭く） */
  .timetable-header .time-column {
    position: sticky;
    left: 0;
    z-index: 11;
    background-color: #f8f9fa;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    width: 60px; /* 横幅を狭く */
    min-width: 60px;
    padding: 15px 5px; /* パディングも調整 */
    font-size: 12px;
  }

  .timetable-body .time-column {
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: #f8f9fa;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    width: 60px; /* 横幅を狭く */
    min-width: 60px;
  }

  /* グリッドレイアウトの調整 */
  .timetable-header {
    grid-template-columns: 60px 1fr 1fr 1fr 1fr; /* 時間カラムを60pxに */
    min-width: 700px; /* 全体の最小幅調整 */
  }

  .timetable-body {
    grid-template-columns: 60px 1fr 1fr 1fr 1fr; /* 時間カラムを60pxに */
    min-width: 700px; /* 全体の最小幅調整 */
  }

  /* 時間スケールの調整 */
  .time-scale {
    position: relative;
    height: 1050px;
    padding: 0;
    width: 100%;
  }

  .time-scale div {
    position: absolute;
    font-size: 10px; /* フォントサイズを小さく */
    color: #666;
    font-weight: 600;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8f9fa;
    padding: 1px 2px; /* パディングを小さく */
    border-radius: 2px;
    white-space: nowrap;
    width: 50px; /* 時間表示の幅を制限 */
    text-align: center;
  }

  /* ベニューカラムの最小幅調整 */
  .timetable-header .venue-column,
  .timetable-body .venue-column {
    min-width: 160px;
  }

  /* セッションブロックの調整 */
  .session-block1,
  .session-block2,
  .session-block3,
  .session-block4 {
    font-size: 10px;
    padding: 5px;
    left: 2px; /* 左端からの余白を調整 */
    width: calc(100% - 4px);
  }
}

@media (max-width: 480px) {
  /* より小さい画面での調整 */
  .timetable-header .time-column,
  .timetable-body .time-column {
    width: 50px;
    min-width: 50px;
    padding: 15px 3px;
  }

  .timetable-header,
  .timetable-body {
    grid-template-columns: 50px 1fr 1fr 1fr 1fr;
    min-width: 600px;
  }

  .time-scale div {
    font-size: 9px;
    width: 45px;
  }

  .timetable-header .venue-column,
  .timetable-body .venue-column {
    min-width: 140px;
  }
}
/* four-contents部分を2×2レイアウトに変更 */

.four-contents {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 常に2列表示 */
  gap: 20px;
  margin: 30px 0;
}

.pitch .four-contents{
	 display: grid;
  grid-template-columns: repeat(5, 1fr); /* 常に2列表示 */
  gap: 20px;
  margin: 30px 0;
}

/* モバイル表示でも2列を維持 */
@media (max-width: 768px) {
  .four-contents {
    grid-template-columns: repeat(2, 1fr) !important; /* 2列を強制 */
    gap: 15px;
    margin: 20px 0;
  }

  .four-contents h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .four-contents img {
    width: 100%;
    height: auto;
  }

  .four-contents .description {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .four-contents {
    gap: 10px;
    margin: 15px 0;
  }

  .four-contents h4 {
    font-size: 13px;
  }

  .four-contents .description {
    font-size: 11px;
  }
}
/* 申込ボタンのスタイル（PC用） */
.apply-btn {
  background:linear-gradient(45deg, #ff5c94, #E91E63);
  color: white !important;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3) !important;
  transform: scale(1) !important;
  animation: pulse 2s infinite !important;
  transition: all 0.3s ease !important;
}

.apply-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4) !important;
  color: white !important;
}

.apply-btn::after {
  display: none !important;
}

@keyframes pulse {
  0% { box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3) !important; }
  50% { box-shadow: 0 4px 25px rgba(78, 205, 196, 0.5) !important; }
  100% { box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3) !important; }
}

/* モバイル用申込ボタン */
.mobile-apply-btn {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 1000;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: /*linear-gradient(45deg, #FF6B6B, #4ECDC4);*/
linear-gradient(45deg, #ff5c94, #E91E63);
  box-shadow: 0 4px 20px rgba(78, 205, 196, 0.4);
  animation: pulse-mobile 2s infinite;
  transition: all 0.3s ease;
}

.mobile-apply-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(78, 205, 196, 0.6);
}

.mobile-apply-btn a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.mobile-apply-btn i {
  font-size: 20px;
  margin-bottom: 2px;
}

.mobile-apply-btn span {
  font-size: 10px;
  line-height: 1;
}

@keyframes pulse-mobile {
  0% { box-shadow: 0 4px 20px rgba(78, 205, 196, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(78, 205, 196, 0.6); }
  100% { box-shadow: 0 4px 20px rgba(78, 205, 196, 0.4); }
}
@media (max-width: 768px) {
	/* モバイル用申込ボタンを表示 */
.mobile-apply-btn {
  display: block;
}
}
/* スマホナビの申込ボタンを削除（モバイル用固定ボタンがあるため） */
.sp-nav .apply-btn {
  display: none;
}

/* モバイル用申込ボタンの位置調整 */
.mobile-apply-btn {
  right: 15px;
  bottom: 85px;
  width: 65px;
  height: 65px;
}

.mobile-apply-btn i {
  font-size: 18px;
}

.mobile-apply-btn span {
  font-size: 9px;
}

@media (max-width: 480px) {
	/* モバイル用申込ボタンのさらなる調整 */
.mobile-apply-btn {
  right: 10px;
  bottom: 80px;
  width: 100px;
  height: 100px;
}

.mobile-apply-btn i {
  font-size: 16px;
}

.mobile-apply-btn span {
  font-size: 20px;
}
}
