/*2025詳細ページCSS*/
:root{
  --dot:#FDF3F7;
  --radius:14px;
}

/* font-boldクラスを追加 */
.exhibition_next .font-bold {
  font-weight: 700;
}

.exhibition_next .center {
  text-align: center;
}

/* ---------- ネクストジェネレーションパーク ---------- */
.next_area {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.coming-soon {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #666;
  margin: 40px 0;
  padding: 20px;
}

.next_images_container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  flex-shrink: 0;
  min-width: 570px;
}

.next_images_container img {
  height: auto;
  display: block;
  flex-shrink: 0;
}

.next_images_container img[src*="nextgene_icon.svg"] {
  background-color: #E00083;
  padding: 25px;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

.next_images_container img[src*="img_map_next.svg"] {
  width: 500px;
  flex-shrink: 0;
}

.exhibition_next #main .page_content .next_area div .title_page {
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  font-weight: 800;
  color: var(--next);
}

@media screen and (max-width: 1200px) {
  .next_area {
    flex-direction: column;
    gap: 40px;
  }
  
  .next_images_container {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
  }
  
  .next_area > div {
    flex: 1;
  }
}

@media screen and (max-width: 768px) {
  .next_images_container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: auto;
    width: 100%;
  }
  
  .next_images_container img[src*="nextgene_icon.svg"] {
    width: 120px;
    height: 120px;
  }
  
  .next_images_container img[src*="img_map_next.svg"] {
    width: 100%;
    max-width: 350px;
  }

  
  .next_area > div {
    width: 100%;
  }
  
  .exhibition_next #main .page_content .next_area div .title_page {
    font-size: 1.5rem;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
  
  .next_area p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
  }
}

/* NEXT スケジュール*/


.ts_title{
  font-weight:800!important; 
  font-size:clamp(18px,2.4vw,26px); 
  margin:40px 0 60px;
  color:var(--next);
}

@media (max-width: 640px) {
  .ts_title{
    margin-bottom: 50px;
  }
  
  .day_badge{
    right: 20px; /* スマホでは右端から20pxの位置に調整 */
  }
}

/* 4カラムはそのまま */
.ts_grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width:1024px){ 
  .ts_grid{
    grid-template-columns:repeat(2,1fr);
    gap: 30px 30px;
    row-gap: 60px;
  }
}
@media (max-width:640px){ 
  .ts_grid{
    grid-template-columns:1fr;
    gap: 60px;
  }
}
/* 各dayカラムを縦flexにして stretch 可能に */
.ts_grid section {
  display: flex;
  flex-direction: column;
}

/* ヘッダー（横長のピンク背景に右上の丸いDAYバッジ） */
.day_head{
  --badge: clamp(50px, 12vw, 60px);
  position:relative; 
  background:var(--next); 
  padding: 20px 0px 5px 0px;  
  min-height:60px;
  display:flex;
  align-items:center;
  color:#fff;
}
.day_badge{
  position:absolute; 
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%); 
  width:var(--badge); 
  height:var(--badge); 
  border-radius:50%;
  background:var(--next); 
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  font-weight:800; 
  line-height:0.8;
  gap:5px;
}
.day_badge-top{font-size:10px; opacity:.9;}
.day_badge-num{font-size:18px;}
.day_date{
  margin:0; 
  font-size:clamp(24px,3vw,32px);
  margin: 0 auto;
}
.day_md {
  letter-spacing:.02em;
  font-weight: 800!important;
}
.day_wd{
  margin-left:.4em; 
  color:#fff;
  background-color:var(--next);
  border:1px solid #ffffff;
  border-radius:50%;
  width:1.3em;
  height:1.3em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:0.6em;
}

/* リストを伸縮可能に */
.day_list {
  display: flex;
  flex-direction: column;
  flex: 1;              /* ここで「余り高さを受け取る」 */
}

/* slotを通常は自分の高さだけ */
.slot {
  padding: 16px;
  background-color:var(--dot);
}

/* DAY2とDAY3の縦間隔を狭める */
.day2 .slot,
.day3 .slot {
  padding: 12px 16px;
}

/* 最後のslotは残り高さを吸収して一番下まで伸びる */
.day_list .slot:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* 中身は上寄せ */
}
/* 破線風の区切り（画像の黄色ドット線を再現） */
.slot + .slot{
  border-image: radial-gradient(var(--next) 45%, rgba(0,0,0,0) 46%) 1 / 8px 0 0 0 repeat;
  position:relative;
}
.slot + .slot::before{
  content:'';
  position:absolute;
  top:0px;
  left:50%;
  transform:translateX(-50%);
  width:calc(100% - 20px);
  height:2px;
  background:repeating-linear-gradient(to right, var(--next) 0, var(--next) 4px, transparent 4px, transparent 8px);
}

/* 時間のピンクピル */
.slot_time{
  display:block;
  background:var(--next);
  color:#fff;
  padding:3px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  text-align:center;
  width:fit-content;
  margin:0 auto;
}
.slot_title{
  margin:.5em 0 0;
  font-size:clamp(14px,1.7vw,16px);
  font-weight:600;
  line-height:1.45;
}


.nav_anc {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .nav_anc {
    margin-top: 40px;
  }
}

/* ---------- マッチング支援企画セクション ---------- */
.exhibition_next .page_block_title {
  background-color: var(--next);  
  font-weight: 800;
}

/* マッチング支援の3つの画像を横並びにする */
#cont02 ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#cont02 ul li {
  flex: 1;
}

#cont02 ul li a.comingsoon{
  pointer-events:none;
}

#cont02 ul li img {
  width: 100%;
  height: auto;
}

/* マッチング支援スライダー用スタイル */
.matching-slider-dots {
  display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* スライダー用スタイル */
  .matching-slider-dots {
    display: block;
    margin-top: 20px;
  }
  
  .matching-support-list.slick-initialized .slick-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 0;
    list-style: none;
    padding: 0;
  }

  .matching-support-list.slick-initialized .slick-dots li {
    margin: 0 5px;
  }

  .matching-support-list.slick-initialized .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    font-size: 0;
  }

  .matching-support-list.slick-initialized .slick-dots li.slick-active button {
    background-color: var(--next);
  }
  
  .matching-support-list {
    margin-bottom: 40px;
  }
}

#cont03 > div {
  padding-top: 20px;
}

#cont03 article {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fff;
  min-height: 200px;
}

#cont03 article img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  flex-shrink: 0;
}

#cont03 article div {
  flex: 1;
}

#cont03 article p {
  font-size: 1.1rem;
}

#cont03 article p.font-bold {
  font-size: 1.4rem;
  margin-bottom: 15px;
}


@media screen and (max-width: 700px) {
  #cont03 article {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    min-height: auto;
  }
  
  #cont03 article img {
    width: 200px;
    height: 200px;
  }
}

@media screen and (max-width: 500px) {
  #cont03 article img {
    width: 150px;
    height: 150px;
  }
  
  #cont03 article p {
    font-size: 1rem;
  }
  
  #cont03 article p.font-bold {
    font-size: 1.2rem;
  }

  .exhibition_next .page_content .page_block {
    padding: 0!important;
  }
}

/* パートナー */

.co-creation_partner {
  display: flex;
  width: 80%;
  justify-content: space-between;
  margin: 40px auto 0 auto;
}

.co-creation_partner li {
  width: 48%;
  text-align: center;
}

.co-creation_partner img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .co-creation_partner {
    flex-direction: column;
    width: 100%;
  }
  
  .co-creation_partner li {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* 協賛・スポンサーのタイトルスタイル */
.co-creation_partner li p {
  background-color: #f5f5f5;
  padding: 10px 0px;
  margin: 0 0 15px 0;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
  color: #333;
}



/* ---------- 出展者一覧関連スタイル 
.exhibitorslist {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.list_exhibitors_item {
  flex: 1;
  min-width: 300px;
  margin-bottom: 20px;
}

.item_article {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}

.item_article:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.item_article_main {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 15px;
}

.img_exhibitor {
  width: 100%;
  height: 200px;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 4px;
}

.img_exhibitor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item_article h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.booth {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #666;
}

.is-booth {
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}
---------- */
/* ---------- 子出展者関連 ---------- */
.parentbooth {
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.btn_parentbooth {
  display: block;
  padding: 8px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  margin-bottom: 10px;
}

.gr-children {
  display: none;
}

.gr-children.active {
  display: block;
}

.list_gr-children {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.list_gr-children li {
  flex: 1;
  min-width: 200px;
}

.item_article_children {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.item_article_children:hover {
  background: #f0f0f0;
}

.img_children_exhibitor {
  width: 100%;
  height: 120px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 4px;
}

.img_children_exhibitor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item_article_children h5 {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.3;
}

.co_creation_tour .main_article h2 {
  text-align: center;
  font-weight: 700;
  padding: 10px 20px;
  font-size: 20px;
  color: #fff;
  background: #833602;
}

.co_creation_tour .flex_unit.unit_img_text {
  justify-content: flex-start;
  gap: 30px;
}

.co_creation_tour .flex_unit.unit_img_text .col_l {
  flex: 1;
  margin-right: 0;
  max-width: 350px;
  align-self: center;
  margin-top: 20px;
}

.co_creation_tour .flex_unit.unit_img_text .col_r {
  flex: 2;
}

.co_creation_tour .flex_unit.unit_img_text .col_l img {
  width: 100%;
  height: auto;
}

.co_creation_tour .flex_unit.unit_img_text .col_l .caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
  line-height: 1.4;
}

.co_creation_tour .flex_unit.unit_img_text .col_r h4 {
  font-size: 1.1rem;
}

.font-red {
  color: #d32f2f;
}

.co_creation_tour .sample.flex_unit {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.co_creation_tour .sample.flex_unit img {
  flex: 1;
  max-width: 50%;
  height: auto;
}

.co_creation_tour .hero_section .copy h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 20px 15px;
}

.co_creation_tour .hero_section figure.media {
  flex: 1;
  max-width: 500px;
}

.co_creation_tour .hero_section figure.media img {
  width: 100%;
  height: auto;
}

.co_creation_tour .hero_section.flex_unit {
  background-color: #efebe2;
  display: flex;
  gap: 40px;
}

.co_creation_tour .hero_section .copy {
  flex: 1;
}

.co_creation_tour .hero_section .copy p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 20px 15px;
}

.co_creation_tour .hero_section .copy img {
  max-width: 600px;
  height: auto;
  margin-bottom: 15px;
  padding: 20px 0px 0px 15px;
}

@media screen and (max-width: 700px) {
  .co_creation_tour .hero_section.flex_unit {
    flex-direction: column;
    gap: 20px;
  }
  
  .co_creation_tour .hero_section figure.media {
    max-width: 350px;
    order: 2;
    margin: 0 auto;
  }
  
  .co_creation_tour .hero_section .copy {
    order: 1;
    text-align: center;
  }
  
  .co_creation_tour .hero_section .copy h3 {
    font-size: 2rem;
    margin: 15px 0;
  }
  
  .co_creation_tour .hero_section .copy p {
    font-size: 1.1rem;
    margin: 15px 0;
  }
  
  .co_creation_tour .hero_section .copy img {
    max-width: 250px;
    padding: 10px 0;
  }
  
  .co_creation_tour .flex_unit.unit_img_text {
    flex-direction: column;
    gap: 30px;
  }
  
  .co_creation_tour .flex_unit.unit_img_text .col_l {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  
  .co_creation_tour .flex_unit.unit_img_text .col_r {
    text-align: left;
  }
}

@media screen and (max-width: 1000px) {
  .co_creation_tour .flex_unit.unit_img_text {
    gap: 20px;
  }
  
  .co_creation_tour .flex_unit.unit_img_text .col_l {
    margin-right: 0;
    margin-bottom: 0;
    align-self: flex-start;
  }
  
  .co_creation_tour .flex_unit.unit_img_text .col_r h4 {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .list_exhibitors_item {
    min-width: 100%;
  }
  
  .list_gr-children li {
    min-width: 100%;
  }
  
  .co_creation_tour .flex_unit.unit_img_text .col_l .caption {
    font-size: 0.8rem;
    text-align: center;
  }
  
  .co_creation_tour .flex_unit.unit_img_text .col_l img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* 表示イメージの横並び */
.abeam_sample {
  margin: 40px 0;
}

.abeam_sample .sample.flex_unit {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 20px;
}

.abeam_sample .sample.flex_unit img {
  flex: 1;
  max-width: 45%;
  height: auto;
  border: 1px solid #ddd;
}


.location_color {
  background: #ec4b9a;
  border-radius: 100vh;
  padding: .1rem 1rem;
  color: #fff;
  font-size: 1.1rem;
  margin-right: .5rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .installation_location .sample.flex_unit {
    flex-direction: column;
    gap: 15px;
  }
  
  .installation_location .sample.flex_unit img {
    max-width: 100%;
  }
}

.btn_next {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 400ms ease;
  position: relative;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  overflow: hidden;
  padding: 8px 30px 8px 40px;
  color: #fff;
  background: var(--next);
  margin: 10px auto;
  display: block;
  text-align: center;
  max-width: 500px;
}

.co-creation_planning .page_block .map_area.partners p:before{
  /* color: #FFEA00; */
}