@charset "UTF-8";
@import url(//fonts.googleapis.com/css?family=Orbitron);

#main_img img{
  width: 100% !important;
  height: auto !important;
}

@media screen and (max-width: 1024px){
  /*-------header-------*/
 .top #header #header_box{
    width: 1000px;
  }
 .top #header h1 {
      max-width: 125px;
  }
 .top #header #main_menu{
    left: 180px;
  }
}

@media screen and (max-width: 767px){
  body *{
      box-sizing: border-box;
  }
  body.top{
    min-width: auto;
  }
  .pcOnly{
    display: none;
  }
  .spOnly{
    display: block;
  }
  /*-------header-------*/

 .top #header {
      height: 19vw;
      max-height: 89px;
      background: url(../../../images/sp/header_bg_sp.png) no-repeat;
      background-position: left;
      background-size: cover;
  }

 .top #header #header_box {
      height: 100%;
  }

  .top #header h1{
    top: 13px;
  }

 .top #header h1 {
      left: 15px;
      max-width: 30vw;
  }

  .top #header h1 img{
    /*width: auto;*/
    width: 147px;
    margin-left: 10%;
  }

  /*spnav*/
  .top .spnav{
    -webkit-transition: all .3s;
      -moz-transition: all .3s;
      -ms-transition: all .3s;
      -o-transition: all .3s;
      transition: all .3s;
      z-index: 1000;
  }

  .top .spnav .navinner{
    background: rgba(255,255,255,.95);
    display: none;
    z-index: 101;
    position: fixed !important;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    padding-top: 4vh;
    overflow-y: auto;
  }

  .top .navbtn{
    top: 10px;
    right: 0;
    background: #222c34;
    position: fixed !important;
    width: 45px;
    height: 45px;
    z-index: 1000;
    margin-top: 2vw;
    margin-right: 2vw;
    -webkit-transition: all .5s;
      -moz-transition: all .5s;
      -ms-transition: all .5s;
      -o-transition: all .5s;
      transition: all .5s;
  }

  .top .navbtn.active{
    background: none;
  }

  .top .navbtn div{
    padding: 4%;
    padding-top: 50%;
    margin: 1vw 0;
  }

  .top .navbtn span{
    display: block;
    position: absolute !important;
    width: 50%;
    height: 3px;
    background: #fff;
    right: 0;
    left: 0;
    margin: auto;
    transition: all .3s;
  }

  .top .navbtn span:nth-child(1){
    top: 14px;
  }

  .top .navbtn span:nth-child(2){
      top: 22px;
  }

  .top .navbtn span:nth-child(3){
    top: 30px;
  }

  .top .active.navbtn span{
    width: 45%;
    height:4px;
    background: #222c34;;
  }

  .top .active.navbtn span:nth-child(2){
    display: none;
  }

  .top .active.navbtn span:nth-child(1){
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 26px;
  }

  .top .active.navbtn span:nth-child(3){
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 26px;
  }

  .top .spnav .navinner ul{
    display: flex;
    flex-wrap: wrap;
  }

  .top .spnav .navinner li {
      width: 50%;
  }

  .top .spnav a {
      color: #fff;
      font-size: 6vw;
      display: block;
      padding: 1.5em 1em !important;
      text-align: center;
      font-weight: 600 !important;
      line-height: 1.2em;
  }
  .box03{
    width: 90%;
  }

  #bg{
    display: none;
  }

  #wrapper::before{
    content:"";
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0;
    z-index: -1;
    background: url(../../../images/sp/bg_sp.jpg) top center no-repeat;
    -webkit-background-size: cover !important;
    background-size: cover !important;
    height: 100%;
    width: 100%;
  }

  /*-------contents-------*/
  #contents, #under_contents{
    width: 95%;
    padding-bottom: 45px;
    background: rgba(255,255,255,0.9);
  }

  /*-------sec_main-------*/
  #sec_main{
    padding-top: 20px;
  }

  #sec_main .bx-wrapper .bx-controls-direction a{
    margin-top: 0;
    width: 7vw;
    height: 7vw;
    max-width: 36px;
    max-height: 36px;
    z-index: 100;
    top: 50%!important;
    transform: translateY(-50%);
  }

  #sec_main .bx-wrapper .bx-prev{
    background: url(../../../images/sp/controls_sp_prev.png) no-repeat;
    background-size: contain;
    left: 15px!important;
  }

  #sec_main .bx-wrapper .bx-next{
    background: url(../../../images/sp/controls_sp_next.png) no-repeat;
    background-size: contain;
    right: 15px!important;
  }

  #sec_main .bx-wrapper .bx-pager, #sec_main .bx-wrapper .bx-controls-auto{
    bottom: -2px;
  }

  #sec_main .bx-wrapper .bx-pager.bx-default-pager a{
    margin-bottom: 5px;
    width: 8px;
    height: 8px;
  }


  /*-------main_news-------*/
  #main_news{
    height: auto;
    background: url(../../../images/sp/news_sp_bg02.png) repeat-y center 0;
    background-size: 100% auto;
    max-width: 690px;
    width: 96%;
    float: none;
    position: relative;
    margin: 30px auto;
  }

  #main_news::before{
    background: url(../../../images/sp/news_sp_bg01.png) no-repeat center top;
    background-size: 100% auto;
    content: "";
    display: block;
    margin: 0 auto;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 1px;
    padding-top: 5.4%;
    transform: translateY(-100%);
  }

  #main_news::after{
    background: url(../../../images/sp/news_sp_bg03.png) no-repeat center bottom;
    background-size: 100% auto;
    content: "";
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 0;
    position: absolute;
    left: 0;
    right: 0;
    visibility: visible;
    padding-top: 4.8%;
  }

  #main_news .news_box{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  #main_news dl{
    max-width: 701px;
    width: 100%;
    float: none;
    display: inline-block;
    width: 70%;
  }

  #main_news #main_news_icon{
    float: none;
    display: inline-block;
    padding-top: 5px;
    padding-left: 20px;
    width: auto;
  }

  #main_news dt{
    float: none;
    display: inline-block;
    padding-top: 5px;
    font-size: 12px;
  }

  #main_news dd{
    float: none;
    padding-left: 20px;
    font-size: 12px;
    padding-top: 5px;
  }

  #main_news #main_news_btn{
    float: none;
    display: inline-block;
    width: 27%;
    padding: 0 3%;
  }

  #main_news #main_news_btn img{
    max-height: 50px;
    margin: auto;
  }


  /*-------main_news_more-------*/
  #main_news_more{
    width: 95%;
    margin: 0 auto;
    background: url(../../../images/sp/news_more_bg_sp.png) no-repeat center 0;
    background-size: 100%;
    padding: 15px 0;
  }

  #main_news_more:before, #main_news_more:after {
    display: none;
  }

  #main_news_more_box {
    margin: 0 auto;
    padding: 0 10px;
    background: none;
    max-height: 45vw;
    overflow-y: scroll;
  }

  #main_news_more_box dl:last-of-type {
      padding-bottom: 15px;
  }

  #main_news_more_box dt {
      padding-left: 15px;
      float: none;
      text-align: left;
  }

  #main_news_more_box dd {
      padding: 0 15px;
      float: none;
      text-align: left;
  }

  #bnr{
    width: 600px;
  }

  /*-------infobox-------*/

  /*-------labo-------*/
  #labo{
    margin: 0 auto;
    max-width: 100%;
    float: none;
  }

  #labo h2 img{
    max-width: 100%;
  }

  #labo ul{
    padding-top: 0;
  }

  #labo li{
      background: url(../../../images/sp/labo_bg_sp.png) no-repeat center 0;
      background-size: 100% 100%;
      margin: 15px auto;
  }

  #labo li a{
    height: 47vw;
    max-height: 160px;
    width: 100%;
    max-width: 420px;
    margin: auto;
  }

  #labo .labo_img{
    width: 30%;
    padding: 15px 10px 10px;
  }

  #labo dl{
    padding: 15px 10px 0 0;
    width: 70%;
  }

  #labo dt{
    font-size: 12px;
  }

  #labo .labo_day{
    right: 10px;
    bottom: 10px;
  }

  /*-------twitter-------*/
  #twitter{
    margin: 0 auto;
    float: none;
  }

  #twitter_box {
    text-align: center;
    width: 100%;
    padding: 20px 15px;
    background: url(../../../images/pc/twitter_bg.png) no-repeat center 0;
    background-size: 100% 100%;
  }

  #twitter_box iframe{
    max-height: 100%;
    max-width: 90%!important;
    z-index: 10;
  }

  /*-------footer-------*/
  #footer {
    z-index: 100;
  }

  #footer #footer_logo{
    padding-top: 15px;
    padding-left: 10px;
    float: none;
  }

  #footer #footer_logo img{
    margin: auto;
    max-width: 30%;
  }

  #footer_inner{
    padding: 20px 10px;
    float: none;
  }

  #footer #sns_box{
    margin: 0 auto;
    padding: 15px 0;
    float: none;
    text-align: center;
  }

  #pagetop_btn{
    right: 10px;
    bottom: 5vh;
    position: fixed;
    z-index: 100;
  }

  /*==================================
  product
  ==================================*/
  /*-------- popup tenpo --------*/
  /*カスタムコンテスト開催延期のご連絡 スマホ用*/
  .top #colorbox *{
    box-sizing: border-box;
  }
  .top #cboxClose{
    width: 35px;
    height: 35px;
    background-size: 100%;
  }
  .top.commentary_body_tenpo *{
    box-sizing: border-box;
  }
  .top.commentary_body_tenpo {
    min-width: auto!important;
    min-height: auto!important;
    background: url(../../../images/sp/commentary_box_bg_popup_sp.png) no-repeat center 20px!important;
    background-size: 100% 100%!important;
    overflow: auto;
  }

  .top .commentary_tenpo{
    max-width: 100%;
    min-height: auto;
    padding: 0 25px 20px;
    background: none;
        margin-bottom: -5%;
  }

  .top .commentary_img_tenpo {
    max-width: 85%;
    padding-top: 30px;
    margin-bottom: 10px;
  }

  .top .commentary_attention02_tenpo{
    margin-top: 10px;
  }

  .top .commentary_attention02_tenpo h3{
    font-size: 12px;
    margin: 0 auto 10px;
  }

  .top .commentary_attention02_tenpo p{
    font-size: 8px;
  }

  .top .commentary_attention03_tenpo{
    margin-top: 5px;
  }

  .top .commentary_attention03_tenpo p{
    font-size: 8px;
    font-weight: normal;
    margin-bottom: 20px;
  }

  .top .commentary_attention04_tenpo{
    margin: 5px auto;
  }

  .top .commentary_attention04_tenpo p{
    font-size: 8px;
  }
  .top .commentary_attention04_tenpo p span{
    font-size: 8px;
    font-weight: normal;
  }
  .top .commentary_tenpo .Detail{
    max-height: 200px;
    height: 47vw;
  }

  .top .commentary_tenpo .Detail th:first-of-type{
    width: 5%;
  }

  .top .commentary_tenpo .Detail th:nth-of-type(2){
    width: 28%;
  }

  .top .commentary_tenpo .Detail th:nth-of-type(3){
    width: 32%;
  }
	
  .top .commentary_tenpo .Detail th:nth-of-type(4){
    width: 30%;
  }

  .top .Detail table{
    font-size: 10px;
    width: 100%;
  }
  .top .Detail th, .top .Detail td{
    padding: 5px;
    line-height: 1.4em;
  }
	
/*-------TOP　ムービーポップアップ-------*/
.movie_popup_wrap{ display: none; }
#cboxClose{
	top: -5 !important;
	right: 0 !important;
}
.movie_popup {
  position: relative;
  width: 100%;
  padding-top: 0%;
}
.movie_popup iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}
	
}

@media screen and (max-width: 350px){
  .top .commentary_attention02_tenpo{
    margin: 5px auto;
  }
  .top .commentary_tenpo .Detail{
    max-height: 45vw;
  }
  #labo .labo_img {
      width: 25%;
      padding: 5px;
  }
  #labo dl {
      width: 75%;
  }
  #labo dt{
    font-size: 10px;
  }
  #labo .labo_text {
    font-size: 10px;
  }
  #labo .labo_day:before{
    top: 0;
  }
  #labo .labo_day {
    font-size: 10px;
  }
}

@media screen and (max-width: 320px){
  .top .commentary_tenpo .Detail{
    max-height: 30vw;
  }
}