@charset "UTF-8";

/* ===================================
	File Name   : visit.css
	Description : Exhibit Page's Layout CSS
	Editor      : Bface Shigyo
	Last Editor : Bface Otake
	
	Update Description :
  [2025/11/17] アプリページ、Why Visitページ追加（来場期コンテンツ）
  [2025/03/05] target_bus追加
	[2024/12/11] アプリページ修正
	[2023/11/10] tovisitスタイル追加
	[2023/03/23] Seminarスタイル追加
	[2023/01/25] visitor_highlightsスタイル追加
	[2022/12/14] 新規作成

====================================== */

/*========== Style Contents ==========

	1. Individual Redefinition
	2. Why Visit Page
      - Section [visitor_why]
      - Section [target_bus]
      - Aside [top_map]
	3. FOODEX JAPAN App Page
      - Section [app_intro]
      - Section [app_dl]
      - Section [app_entering]
	
====================================== */



/*===== ■1. Individual Redefinition =====*/

/*===== ■2. Why Visit Page =====*/
/* Section [visitor_why] */
#visitor_why {
  margin-bottom: 40px;
}

#visitor_why #intro {
  display: flex;
  margin: 0 0 40px;
}
#visitor_why #intro > iframe {
  aspect-ratio:16 / 9;
  width:50%;
  height:100%;
}
#visitor_why #intro > div {
  width:50%;
  margin-left: 20px;
}
#visitor_why #intro > div p {
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 2rem;
}

#visitor_why #intro > div ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2rem;
}
#visitor_why #intro > div ul li {
  min-width: 190px;
}

#visitor_why #intro > div ul li a {
  margin: 0;
}

#visitor_why .video_wrapper {
  position: relative;
  margin: 0 auto;
  padding: calc(315 / 560 * 50%) 0 0;
}
#visitor_why .video_wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#visitor_why #connects {
  display: flex;
  justify-content: space-between;
  margin: 0 0 40px;
}
#visitor_why #connects #slider {
  flex-shrink: 0;
  width: 50%;
  margin-left: 20px;
}
#visitor_why #connects .slick-dots li button {
  border: 1px solid #8a0e10;
}
#visitor_why #connects .slick-dots li.slick-active button {
  background: #8a0e10;
}

/* Section [target_bus] */
#target_bus img {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

#target_bus table th span {
  display: block;
  text-align: center;
  padding: 10px 0;
}

#target_bus .inner dl {
  display: flex;
  /*justify-content: space-around;*/
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
  width: 100%;
  background: rgba(255, 255, 255, .5);
}

#target_bus .inner dl > div {
  display: flex;
  flex-direction: column;
}

#target_bus .inner > section:nth-child(3) > div {
  background: rgba(255, 255, 255, .5);
}

#target_bus .inner > section:nth-child(3) dl {
  display: flex;
  gap: 23%;
  padding: 20px;
  margin: 0 8vw 0 8vw;
  background: none;
}

#target_bus .inner dl > div > dt {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  height: 100%;
  background: #333;
  color: #fff;
}

#target_bus .inner dl > div > dd img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#target_bus_outline {
  margin: 0 0 40px;
}


@media (max-width: 768px) {
  #visitor_why {
  margin-bottom: 0;
}

  #visitor_why #intro {
    flex-direction: column;
    margin: 0 0 5.34vw;
  }

  #visitor_why #intro > iframe {
    width:100%;
    margin-bottom: 2.67vw;
  }

  #visitor_why #intro > div {
    width:100%;
    margin-left: 0;
  }

  #visitor_why #intro > div p {
    margin-bottom: 5.34vw;
    font-size: 1.6rem;
    line-height: 1.4;
  }

  #visitor_why #intro > div ul {
    flex-direction: column;
    gap: 2.67vw;
  }

  #visitor_why #intro > div ul li {
    min-width: 100%;
  }
  
  #visitor_why #intro > div ul li a {
    margin: 0;
  }

  #visitor_why .video_wrapper {
    margin-bottom: 2.67vw;
    padding: calc(315 / 560 * 100%) 0 0;
  }

  #visitor_why .video_wrapper:last-of-type {
    margin-bottom: 0;
  }

  #visitor_why #connects {
    flex-direction: column;
    margin: 0 0 8vw;
  }

  #visitor_why #connects #slider {
    width: 100%;
    margin: 4vw 0 0;
  }

  /* Section [target_bus] */
  #target_bus .inner {
    margin-bottom: 0;
  }
  #target_bus .inner section:nth-child(2) dl,
  #target_bus .inner section:nth-child(4) dl {
    display: block;
    padding: 5.34vw;
    background: rgba(255, 255, 255, .5);
  }
  
  #target_bus .inner section:nth-child(2) dl > div,
  #target_bus .inner section:nth-child(4) dl > div {
    margin-bottom: 5.34vw;
  }
  
    #target_bus .inner dl {
      display: block;
      padding: 0;
      background: rgba(255, 255, 255, .5);
    }
  
    #target_bus .inner dl > div {
      margin-bottom: 2.67vw;
    }

    #target_bus .inner dl > div:last-of-type {
      margin-bottom: 0;
    }
  
    #target_bus .inner > section:nth-child(3) > div {
      background: rgba(255, 255, 255, .5);
    }
  
    #target_bus .inner > section:nth-child(3) dl {
      display: block;
      margin: 0;
    }
    
    #target_bus_outline {
      margin: 0 0 8vw;
    }
  }

/* Section [top_map] */

#top_map figure {
  max-width: 1366px;
  margin: 0 auto 30px;
  padding: 0 10px;
}

#top_map .inner {
  padding: 0 20px 20px;
  text-align: center;
}

#top_map .inner img#bus {
  width: 50%;
}

@media (max-width: 768px) {
  #top_map { margin: 0 2.67vw;}
  
  #top_map .inner {
    margin-bottom: 8vw;
    padding: 0 2.67vw 2.67vw;
  }

  #top_map figure {
    margin: 0 auto 5.34vw;
    padding: 0;
  }

  #top_map .inner img#bus {width: 100%;}
}

/*===== ■3. FOODEX JAPAN App =====*/

#app_intro > div.inner > p:first-of-type  {
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

#app_intro > div.inner > div {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 20px;
  max-width: 960px;
  background: rgba(0, 0, 0, .05);
}

#app_intro > div.inner > div > figure img {
  max-width: 200px;
}

#app_intro > div.inner > div > figure p.notice {
  margin-top: 10px;
  font-size: 14px;
}

#app_intro > div.inner > div > figure + div {
  width: 70%;
  font-size: 1.8rem;
  font-weight: 600;
}

#app_intro > div.inner > div ul {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 10px;
  margin-bottom: 20px;
  padding-left: 20px;
}

#app_intro > div.inner > div ul > li {
  counter-increment: num;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

#app_intro > div.inner > div ul > li > p {
  position: relative;
  padding-left: 30px;
}

#app_intro > div.inner > div ul > li > p::before {
  position: absolute;
  left: -2rem;
  top: .3rem;
  display: inline-block;
  margin-right: 10px;
  padding: 5px 10px;
  border-radius: 3px;
  background: #333;
  color: #fff;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1;
  text-align: center;
  content: "0" counter(num);
}


@media (max-width: 768px) {
  #app_intro > div.inner {
    padding: 2.67vw 0;
  }
  #app_intro > div.inner > p:first-of-type {
    margin-bottom: 5.34vw;
    text-align: left;
  }

  #app_intro>div.inner>div {
    display: block;
    padding: 5.34vw 0;
  }

  #app_intro > div.inner > div > figure {
    margin-bottom: 5.34vw;
    text-align: center;
  }

  #app_intro > div.inner > div > figure p.notice {
    margin-top: 2.67vw;
    text-align: center;
    font-size: 12px;
  }

  #app_intro > div.inner > div > figure + div {
    width: 100%;
    font-size: inherit;
  }

  #app_intro > div.inner > div ul {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 2.67vw;
    margin-bottom: 0;
    padding: 0 2.67vw;
  }

  #app_intro > div.inner > div ul > li {
    margin-bottom: 2.67vw;
    padding-bottom: 2.67vw;
  }

  #app_intro > div.inner > div ul > li > p {
    padding-left: 0;
  }

  #app_intro > div.inner > div ul > li > p::before {
    position: static;
    margin-right: 2.67vw;
    padding: 1.34vw 2.67vw;
    font-size: 1.4rem;
  }
  
  #app_intro > div.inner > div ul + p {
    padding: 0 2.67vw;
  }
}

/* app_dl */
#app_dl ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
  max-width: 400px;
}

#app_dl ul > li:nth-child(1) {
  width: 46%;
  margin-right: 4%;
}

#app_dl ul > li:nth-child(2) {
  width: 50%;
}

#app_dl ul > li > a > img {
  width: 100%;
}

#app_dl div + p {
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.4rem;
}

#app_dl p + p {
  margin-bottom: 10px;
  text-align: center;
}

#app_dl p + div {
  text-align: center;
}

@media (max-width: 768px) {
  #app_dl ul {
    max-width: 100%;
    margin: 0 auto 2.67vw;
  }

  #app_dl ul > li:nth-child(1) {
    width: 100%;
    margin-right: 0;
  }

  #app_dl ul > li:nth-child(2) {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  #app_dl ul > li > a > img {
    width: 100%;
  }

  #app_dl div + p {
    margin-bottom: 5.34vw;
    text-align: left;
  }
  #app_dl p + p {
    margin-bottom: 2.67vw;
    text-align: left;
  }
  
  #app_dl p + div {
    text-align: center;
  }
}


/* app_entering */
#app_entering ul {
  max-width: 960px;
  margin: 0 auto;
  font-size: 1.8rem;
}

#app_entering ul > li {
  display: flex;
  align-items: center;
}

#app_entering ul > li + li {
  margin-top: 20px;
}

#app_entering ul > li > span {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  text-align: center;
  line-height: 30px;
  color: #fff;
  font-weight: 600;
  background: #333333;
  margin-right: 10px;
  font-size: 1.6rem;  
}

#app_entering ul > li > p {
  flex: 1;
}


@media (max-width: 768px) {  
  #app_entering ul > li + li {
    margin-top: 5.34vw;
  }
}
