@charset "utf-8";

/* タブレット向けレイアウト */
@media screen and (max-width:1024px) {
    div.wrapper {
        margin: 0 auto;
        width: 100vw;
        max-width: 1024px;
        height: auto;
    }
    
    div.container {
        width: 100%;
        margin: 0 auto;
    }
    span.indent{
        display: block;
    }
    div.navbg {
        max-width: 1024px;
        height: auto;
    
        /* margin: 20px auto; */
    }
    nav.global{
display: none;
    }
#nav-drawer{
    display: block;
}

/* ----------hamburger menu--------------- */



#nav-drawer {
    position: relative;
  }
  
  /*チェックボックス等は非表示に*/
  .nav-unshown {
    display:none;
  }
  
  /*アイコンのスペース*/
  #nav-open {
    /* display: inline-block; */
    width: 50px;
    height: 42px;
    vertical-align: 40px;
    float: right;
    margin-top: 30px;
  }
  
  /*ハンバーガーアイコンをCSSだけで表現*/
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: #fff;
    display: block;
    content: '';
    cursor: pointer;
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }
  
  /*閉じる用の薄黒カバー*/
  #nav-close {
    display: none;/*はじめは隠しておく*/
    position: fixed;
    z-index: 99;
    top: 0;/*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
  }
  
  /*中身*/
  #nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;/*最前面に*/
    width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
    max-width: 330px;/*最大幅（調整してください）*/
    height: 100%;
    background: #fff;/*背景色*/
    transition: .3s ease-in-out;/*滑らかに表示*/
    -webkit-transform: translateX(355%);
    transform: translateX(355%);/*左に隠しておく*/
  }
  
  /*チェックが入ったらもろもろ表示*/
  #nav-input:checked ~ #nav-close {
    display: block;/*カバーを表示*/
    opacity: .5;
  }
  
  #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    /* transform: translateX(65vw);中身を表示（右へスライド） */
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
  }
  
#nav-content .hm{
font-size:1.5em;
float: left;
}

.nav_left {
float: left;
}
nav.hm ul {
    width: 100%;
    height: 36px;
    float: left;
    margin-left: 30px;
}

nav.hm ul li:last-child {
    border-right: none;
}

nav.hm ul li a {
    display: block;
    color: #000;
    font-size: 0.8em;
    text-align: left;
    text-decoration: none;
    line-height: 1.8em;
    letter-spacing: 0.3em;
    margin: 5px; 
    vertical-align: bottom;
}
nav.hm ul li a:hover {
font-weight: 600;
text-decoration: underline;
}

/* picture of top */

.topimage {
  text-align: center;
  margin: 0 auto;
  width: 670px;
  /* height: 714px; */
  /* background-image: url(../img/topimage.png); */
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  /* margin-top: 60px; */
  position: relative;
}

div.copytop p.topimage{
  width: 80%;
  padding-bottom: 20px;
  }

div.copytop {
  background-color:transparent;
  float: none;
  margin: 0 auto;
  padding: 0;
}

div.copytop h1{
  font-size: 1.5em;
    top: 295px;
    margin-left: 76px;
}
div.copy1 h3 {
  text-align: center;
  font-size: 15px;
  line-height: 2;
}

section h2 {
  font-size: 1.5em;
  padding:10px;
}

/*------------------------------about*/
section.about {
  margin: 50px auto 50px;
}

div.about_contents{
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0 auto;
  width: 100%;
}
div.about_content{
  margin: 0 10px;
  width: 45%;
  text-align: center;
  float: left;
  /* display: inline-block; */
}



/*------------------------------voice*/
div.voice_contents{
  position: relative;
  margin: 0 auto;
  width: 670px;
}
/*------------------------------sample*/
section.sample{
  margin: 40px auto;
  width: 670px;
  line-height: 1.5;
}
  div.videos{
    width: 670px;
    padding: 0;
  }

  div.channel{
margin: 0 10px;
  }

  div.channel h3{
    font-size: 20px;
    font-weight: 600;
    }
    div.channel a{
      display: block;
    }
/*------------------------------contact*/
  section.contact{
/* width: 500px;  */
padding-bottom: 30px;
  }

  p.index {
    margin: 20px auto 30px;
    line-height:1.5;
}

  div.contact_box{
width: 600px;
height:auto;
padding-bottom: 30px;
  }

  .contactlogo{
    width: 200px;
    float: none;
    margin: 20px auto 0;
    display: block;
  }
  p.content {
    width: 600px;
    margin: 20px auto;
    float: none;
    text-align: center;
  }

}


/* モバイル向けレイアウト */
@media screen and (max-width:670px){
div.wrapper {
    margin: 0 auto;
    width: 100vw;
    max-width: 670px;
    height: auto;
}
#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(10vw);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
div.container {
    max-width: 603px;
    width: 100%;
    margin: 0 auto;
}

div.navbg {
  max-width: 603px;
  height: auto;
}
#nav-open {
  margin-top: 18px;
}
p.logo {
  width: 100px;
}
.nav_left h2 {
margin: 3px 0 0 10px;
  font-size: 0.75em;
}
div.copytop p.topimage {
  width: 100%;
  padding-bottom: 20px;
}

.topimage {
  text-align: center;
  margin: 0 auto;
  width:320px;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  position: relative;
}
section h2 {
  text-align: center;
  margin: 15px auto;
  font-size: 1.2em;
  color: #fff;
  padding: 15px 10px;
  font-weight: 400;
  width: 100%;
  max-width: 1093px;
  box-sizing: border-box;
}
div.channel p {
  font-size: 18px;
  margin-top: 15px;
}

div.copytop {
  background-color: transparent;
  /* float: none; */
  margin: 0 auto;
  padding: 0;}

div.copytop h1 {
  text-align: center;
  width: 100%;
  margin-top: 15px;
}
div.copytop h1 {
  text-align: left;
  width: 200px;
  float: none;
  margin: 15px 0 15px 10px;
  font-size: 1em;
  top: 161px;
}

section.about {
  margin: 65px auto 50px;
}
div.about_content {
  margin: 0 10px;
  width: 90%;
  text-align: center;
  float: left;
  /* display: inline-block; */
}

/*------------------------------sample*/
div.videos{
  width: 320px;
  padding: 0;
}
section.sample {
  /* margin: 40px auto; */
  width: 100%;
  line-height: 1.5;
}
div.channel a{
  width: 300px;
  display: inline-block;
  word-break: break-all;
}
#japanese{
  width: 300px;
  height: 190px;
  display: inline-block;
  margin: 10px 0;
  }
  
  #english{
    width: 300px;
    height: 190px;
    display: inline-block;
    margin: 10px 0;
  }
  
  #chinese{
    width: 300px;
    height: 190px;
    display: inline-block;
    margin: 10px 0;
  }
  
  #korean{
    width: 300px;
    height: 190px;
    display: inline-block;
    margin: 10px 0;
  }
  
  #german{
    width: 300px;
    height: 190px;
    display: inline-block;
    margin: 10px 0;
  }

  div.channel h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
}
div.channel p {
  font-size: 15px;
}
/*------------------------------voice*/
div.voice_contents{
  position: relative;
  margin: 0 auto;
  width: 320px;
}

div.contact_box {
  width: 100%;
  height: auto;
  padding-bottom: 30px;
}

p.content {
  width: 90%;
  margin: 20px auto;
  float: none;
  text-align: center;
}

}

