@charset "utf-8";
/*
Theme Name:MONAD child
Theme URI:
Description:WordPressテーマ「MONAD」の自作子テーマです。
Template:monad_tcd110
Author: 
Author URI:http://tcd-theme.com/
Version:0.0.8
*/
figure.wp-block-gallery.has-nested-images {
  margin-top: 10px;
}
#global_menu > ul {
  flex-wrap: wrap;
  height: 100%;
}
#global_menu > ul > li {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
}
#global_menu > ul > li > a {
  line-height: 1.5;
  height: auto;
}
@media only screen and (max-width: 860px) {
  .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,
  .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    object-fit: contain;
  }
}
.bl_line {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  column-gap: 15px;
}

#footer_info_area {
  h3.bl_line_ttl {
    font-size: 20px;
    small {
      display: block;
      font-size: 90%;
      position: relative;
      &::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        width: 4em;
        height: 1px;
        background-color: #fff;
        left: 0;
      }
    }
  }
  .bl_line_box {
    text-align: center;
  }
  .bl_line_qr {
    img {
      margin-left: auto;
      margin-right: auto;
    }
  }
  .bl_line_btn {
    margin-top: 1em;
    a {
      text-decoration: none;
      display: block;
      text-align: center;
      padding: 0.3em;
      border-radius: 5em;
      background-color: #fff;
      color: var(--main_color) !important;
    }
  }
}
@media only screen and (max-width: 860px) {
  .bl_line {
    grid-template-columns: 1fr;
  }
  #footer_info_area {
    .bl_line_qr {
      display: none;
    }
    h3.bl_line_ttl {
      margin-bottom: 0;
    }
  }
}
#drawer_menu_button {
  span{
    font-size: 10px;
  }
  span:nth-child(1) {
    top: calc(23px - 0.5em);
  }
  span:nth-child(2) {
    top: calc(29px - 0.5em);
  }
  span:nth-child(3) {
    top: calc(35px - 0.5em);
  }
  small {
    font-size: 10px;
    bottom: 1.5em;
    position: absolute;
    right: 50%;
    white-space: nowrap;
    right: 50%;
    transform: translateX(50%);
  }
}
#global_menu > ul > li.active > ul{
  transform: translate3d(0, 20%, 0);
}