@charset "UTF-8";

/* ===============================================================
   レスポンシブ CSS（style_mb.css）
   ブレークポイント：1200px / 1000px / 880px
=============================================================== */

@media only screen and (max-width: 1200px) {

  /* -------------------------------------------------------
       タブレット対応  （全ページ共通）
    ------------------------------------------------------- */
  nav {
    display: none;
  }
  .front_page .mv_section {
    .section_inner {
      padding: 60px 20px;
    }
    .mv1 {
      margin-bottom: 10px;
    }
  }

  .fixed_header {
    .header_right .hidden_part {
      row-gap: 3px;
      .date .time {
        display: block;
        font-size: 15px;
        line-height: 1;
        margin-top: -2px;
      }
    }
  }

  /* -------------------------------------------------------
       サブページ個別  （press.php / contact.php 等）
    ------------------------------------------------------- */
  #footer_copyright {
    margin-top: 10px;
  }

  .fixed_btn_wrap {
    width: 100%;
  }
}

@media only screen and (max-width: 880px) {

  /* -------------------------------------------------------
       1. 共通パーツ  （全ページ共通）
    ------------------------------------------------------- */
  nav {
    display: none;
  }

  main {
    padding-top: 60px;
  }

  .wrap {
    padding-top: 0;
  }

  .pc_only {
    display: none;
  }

  .mb_only {
    display: block;
  }

  section {
    .sec_title {
      font-size: 28px;
      margin-bottom: 25px;
    }
  }
  .page {
    .sec_title {
      margin-bottom: 30px;
      font-size: 26px;
    }
    .section_inner {
      padding: 40px 20px;
      margin-bottom: 0;
    }
  }

  .fixed_header {
    display: flex;
    .header_logo {
      a {
        padding-left: 15px;
        img {
          width: 71%;
          max-width: 340px;
          height: auto;
        }
      }
    }
    .header_right {
      display: none;
    }
    .header_menu_head {
      height: 60px;
    }
  }

  /* -------------------------------------------------------
       2. ハンバーガーメニュー  （全ページ共通（スマートフォン））
    ------------------------------------------------------- */
  .fixed_header {
    .header_menu_body {
      display: block;
      position: fixed;
      top: -100vh;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: #fff;
      z-index: 20;
      transition: top 0.5s;
      overflow-y: auto;
      max-height: calc(100vh - 60px);
      &.open {
        top: 60px;
      }
      nav {
        display: block;
        height: auto;
        background: transparent;
        box-shadow: none;
        ul {
          display: block;
          padding: 0;
          box-shadow: none;
          height: auto;
          width: 100%;
          li {
            display: block;
            color: var(--main-color);
            max-width: initial;
            font-size: 17px;
            border-bottom: 1px solid #ddd;
            &.nav_home {
              display: none;
            }
            a {
              display: block;
              padding: 17px 0;
              color: var(--main-color);
              max-width: none;
              height: auto;
              border-right: none;
              font-weight: bold;
              span {
                display: block;
                border-right: none;
              }
              .fwn {
                font-weight: normal;
                font-size: 12px;
              }
            }
          }
        }
      }
    }
  }

  .menu-trigger {
    display: inline-block;
    width: 30px;
    height: 20px;
    vertical-align: middle;
    cursor: pointer;
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 600;
    span {
      display: inline-block;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      position: absolute;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #fff;
      -webkit-transition: all 0.5s;
      transition: all 0.5s;
      &:nth-of-type(1) {
        top: 0;
      }
      &:nth-of-type(2) {
        top: 45%;
      }
      &:nth-of-type(3) {
        bottom: 0;
      }
    }
    &.active {
      span {
        background-color: #fff;
        &:nth-of-type(1) {
          -webkit-transform: translateY(10px) rotate(-45deg);
          transform: translateY(10px) rotate(-45deg);
          background-color: #fff;
        }
        &:nth-of-type(2) {
          opacity: 0;
        }
        &:nth-of-type(3) {
          -webkit-transform: translateY(-8px) rotate(45deg);
          transform: translateY(-8px) rotate(45deg);
          background-color: #fff;
        }
      }
    }
  }

  /* -------------------------------------------------------
       3. トップページ  （index.php）
    ------------------------------------------------------- */
  .front_page {
    section {
      &.sec_block {
        padding: 50px 20px;
      }
    }
    .mv_section {
      background-position: 10% 0;
      .mv_conv {
        margin-top: 20px;
      }
      .mv_text1 {
        display: block;
        background-size: auto;
        height: auto;
        line-height: 1.6;
        padding: 6px 0;
        font-size: 16px;
        margin-block: 10px 0;
        letter-spacing: 1px;
        .sponsor {
          color: #fff;
        }
      }
      a.btn {
        margin-top: 0;
        font-size: 18px;
        width: 90%;
        max-width: 400px;
        height: 60px;
      }
      .schedule_mvtext1_wrap {
        background-color: rgba(0, 0, 0, 0.5);
        padding: 14px;
        margin-top: 20px;

      }
      .schedule {
        margin-top: 0;
        color: #fff;
        >div.f_wrap {
          max-width: 100%;
          display: flex;
          flex-direction: column;
          row-gap: 0;
          >div:first-child {
            padding-right: 0;
            line-height: 1;
            margin-bottom: 10px;
            span:nth-child(1) {
              font-size: 20px;
            }
            span:nth-child(2),
            span:nth-child(4),
            span:nth-child(5) {
              font-size: 36px;
              font-weight: 900;
            }
            span:nth-child(3),
            span:nth-child(6) {
              font-size: 20px;
              font-weight: bold;
            }
            span.time {
              font-size: 26px;
              display: block;
              margin-top: 10px;
            }
          }
          >div:last-child {
            align-items: center;
            border-left: none;
            padding-left: 0;
            display: flex;
            gap: 10px;
            padding: 5px 0 7px;
            >div:first-child {
              font-size: 20px;
              padding: 0;
              margin: 0;
            }
            >div:last-child {
              font-size: 20px;
            }
          }
        }
      }
    }
    .news_section {
      margin: 0;
      .head {
        font-size: 20px;
      }
      .info_list_wrap {
        li {
          padding: 10px 0;
          flex-direction: column;
          gap: 0;
        }
      }
    }
    .overview_section {
      .inner {
        padding-bottom: 20px;
        table {
          min-width: 100%;
          th, td {
            display: block;
            width: 100%;
            text-align: left;
          }
          th {
            padding-top: 15px;
            border-bottom: 0;
          }
          td, td.f_wrap {
            padding: 0 0 15px;
          }
        }
      }
    }
    .visitor_section {
      .section_inner {
        .f_wrap2 {
          >div {
            font-size: 22px;
            background-position: 15px 14px;
            padding: 10px 10px 10px 60px;
          }
        }
      }
      .visitor_list {
        flex-direction: column;
        li {
          width: 100%;
        }
      }
    }
    .exhibit_section {
      .exhibit_item {
        flex: 0 0 100%;
        padding: 10px;
      }
      .exhibit_text {
        font-size: 15px;
      }
      .exhibit_name {
        font-size: 16px;
        margin-bottom: 5px;
        padding: 0 15px;
      }
      .box {
        font-size: 16px;
      }
    }
    .related_section {
      .content {
        font-size: 18px;
      }
      .btn {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        a {
          font-size: 18px;
        }
      }
    }
    .access_section {
      &.sec_block {
        padding-inline: 0;
      }
      .section_inner {
        padding: 30px 20px;
      }
      .access_title {
        font-size: 22px;
      }
      .howto {
        margin: 20px 0;
        img {
          width: 100%;
        }
      }
      /* .transportation_title {
        font-size: 18px;
      } */
    }
    .top_bnr {
      img {
        width: 90%;
        max-width: 520px;
      }
      a{
        &+a { margin-top: 10px; }
        &:hover { opacity: 1; }
      }
    }
  }

  /* -------------------------------------------------------
       4. サブページ個別  （press.php / contact.php 等）
    ------------------------------------------------------- */

  /* -------------------------------
  プレスページ
  ------------------------------- */
  .press {
    .section_inner {
      margin-bottom: 30px;
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
  .interview_section {
    .content_block {
      gap: 20px;
      flex-direction: column;
      margin-bottom: 10px;
    }
  }

  /* -------------------------------------------------------
       5. フッター・固定ボタン  （全ページ共通）
    ------------------------------------------------------- */
  footer {
    padding-inline: 10px;
    padding-bottom: 70px;
  }
  #footer_organization {
    font-size: 18px;
  }
  #footer_tel {
    margin-top: 20px;
    line-height: 1.2;
  }
  #footer_copyright {
    font-size: 12px;
  }
  #page-top {
    right: 7px;
  }
  .fixed_btn {
    width: 85%;
    font-size: 15px;
  }
}
