@media screen and (max-width: 1200px) {
  .container {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .row {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }

  .header_inner {
    max-width: 1200px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }

  .br_sp {
    display: none;
  }

  a[href^="tel:"] {
    pointer-events: none;
  }
}

@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }

  .container,
  .container_header {
    padding: 0 20px;
    max-width: 767px;
    margin: 0 auto;
  }

  .row {
    padding: 0 20px;
    max-width: 767px;
    margin: 0 auto;
    position: relative;
  }

  .primary_header {
    height: 60px;
    padding: 0 0 0 3vw;
    position: relative;
  }

  .header_inner {
    max-width: 767px;
    margin: 0 auto;
  }

  .header_logo {
    width: 100px;
    height: 60px;
    display: flex;
    align-items: center;
    margin: 0;
  }
  .header_logo img {
   width: 100%;
   height: auto;
  }

  .google_translate {
    margin-right: 80px;
  }

  .main {
    height: auto;
    /* height: 400px; */
  }

  .top_concept,
  .top_menu,
  .top_social {
    padding: 50px 0;
  }

  .top_gallery {
    padding: 80px 0;
    background-image: url(../img/top_bg002.jpg);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
  }

  .top_flex01 {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-wrap: wrap;
  }

  .top_flex01_content,
  .top_flex01_img {
    flex: 0 0 100%;
  }

  .top_flex01_img {
    margin-bottom: 30px;
  }

  .btn {
    width: 100%;
  }

  .top_menu_img {
    height: 200px;
  }

  .order1 {
    order: 2;
  }

  .order2 {
    order: 1;
  }

  .sp_order1 {
    order: 1;
  }

  .sp_order2 {
    order: 2;
  }

  .top_social_flex {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-wrap: wrap;
  }

  .top_social_flex_fb,
  .top_social_flex_insta {
    flex: 0 0 100%;
  }

  .top_social_flex_fb {
    margin-bottom: 60px;
  }

  .footer_link_list {
    display: block;
    line-height: 40px;
  }

  .footer_link_menu {
    margin-right: 0;
  }

  #page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
  }

  #page-top a {
    line-height: 55px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    color: #fff;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
    border-radius: 50%;
    border: solid 2px #fff;
    background: rgba(0, 0, 0, 0.8);
  }

  #page-top a::before {
    content: "";
    width: 4px;
    height: 4px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .lawer_sec {
    padding: 60px 0;
  }

  .lawer_content_flex01 {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .lawer_content_flex01_left,
  .lawer_content_flex01_right {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    padding: 0 15px;
  }

  .lawer_content_flex01_left {
    margin-bottom: 10px;
  }

  .table_item_left {
    font-size: 1.4rem;
    line-height: 2.2rem;
    color: #fff;
    font-weight: 400;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
  }

  .table_item_right {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 400;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 35%;
    flex: 0 0 35%;
    text-align: right;
  }

  .gallery_content_box {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
  }

  .gallery_content_sec_item {
    width: 48%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    overflow: hidden;
    /* -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 50%; */
  }

  .ta_center_pc {
    text-align: left;
  }

  .ta_center_sp {
    text-align: center;
  }

  .anchor_wrap {
    margin-bottom: 30px;
    flex-wrap: wrap;
  }

  .anchor {
    flex: 0 0 50%;
    padding: 0 10px;
  }



  .slick-slide img {
    width: 100%;
  }

  .top_video {
    margin: 50px 0 50px;
  }

  .table_row_inner {
    flex-direction: column;
  }

  .table_item_left03 {
    font-weight: bold;
    margin-bottom: 10px;
  }

  .footer_logoimg {
    width: 100px;
  }
    
    .top_gallery {
        background: url(../img/course1.jpg) no-repeat center / contain;
        background-color: #000;
    }
}

