/* タブレット向けレイアウト */
@media all and (max-width: 1000px) {
  .lesson {
    width: 50%;
    margin-bottom: 50px;
  }
  footer {
    text-align: center;
  }
  .top-wrapper h1 {
    font-size: 26px;
  }
  .top-wrapper h2 {
    font-size: 18px;
  }
  .heading h2 {
    font-size: 28px;
  }
  .header-right {
    display: none;
  }
  .whvisas_4 li {
    width: 48%;
    margin: 10px 1%;
  }
    .btn {
    width: 100%;
  }
}
/* スマホ向けレイアウト */
@media all and (max-width: 670px) {
  .lesson {
    width: 100%;
  }
    .lesson-wrapper {
        padding-bottom: 20px;}
    .message-wrapper {
  padding: 0 2% 40px 2%;
}
    
  .btn {
    width: 100%;
  }
  .facebook {
    margin-bottom: 10px;
  }
  .top-wrapper {
    text-align: left;
  }
  .menu-icon {
    display: block;
  }
  .top-wrapper h1 {
    font-size: 26px;
    text-align: left;
    padding-left: 5%;
      letter-spacing: 0px;
    line-height: 2.0em;
  }
  .top-wrapper h2 {
    font-size: 16px;
    padding: 300px 0 0px 0;
    text-align: center;
  }
  .top-wrapper p {
    font-size: 14px;
  }
  .smh-wrapper img {
    width: 320px;
    height: auto;
  }
  .content_news_box {
    margin: 20px 0 0px 0;
    font-size: 13px;
  }
  .heading {
      padding-top: 40px;
  padding-bottom: 20px;
    text-align: left;
  }
    
  .heading h2 {
    font-weight: bold;
    font-size: 22px;
  }
  .whvisas li {
    width: 50%;
  }
    
    .whvisas_4 li {
  width: 50%;
  margin: 10px 0%;
  padding: 30px 5px;
        text-align: center;
}
    
    
    .text-contents1 {
        width: 90%;}
    
   
    
 
}