/* container */
@media(min-width:768px){
  .container{
    width: 100%;
  }
}

@media(min-width:992px){
  .container{
    width: 100%;
  }
}

@media(min-width:1200px){
  .container{
    width: 100%;
  }
}

/* lg */ 
@media (min-width: 1200px) {
 /* Make Navigation Toggle on Desktop Hover */
  .dropdown:hover .dropdown-menu {
      display: block;
      -webkit-animation: fadeInUp 400ms;
      animation: fadeInUp 400ms;
  }

  #portfolio .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .drpdwn-pc {
    display: block !important;
  }

  .drpdwn-sm {
    display: none !important;
  }

}

/* md */
@media (min-width: 992px) and (max-width: 1199px) {
  
 /* Make Navigation Toggle on Desktop Hover */
  .dropdown:hover .dropdown-menu {
      display: block;
      -webkit-animation: fadeInUp 400ms;
      animation: fadeInUp 400ms;
  }

  .navbar-nav > li {
    margin-left: 10px;
  }

  .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
  }

  .drpdwn-pc {
    display: block !important;
  }

  .drpdwn-sm {
    display: none !important;
  }

  .recent-work-wrap .recent-work-inner h3 a {
    font-size: 20px;
  }

  .recent-work-wrap .overlay{
    padding: 15px;
  }

  .services-wrap {
    padding: 40px 10px 40px 30px;
  }

  .feature-wrap h2, 
  .single-services h2 {
    font-size: 18px;
  }

  .feature-wrap h3, 
  .single-services h3{
    font-size: 14px;
  }

  .tab-wrap .media .parrent.pull-left{
    clear: both;
    width: 100%;
  }

  .tab-wrap .media .parrent.media-body{
    clear: both;
  }

  #portfolio .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .recent-work-wrap .overlay .preview{
    line-height: inherit;
  }

  .team-bar .first-arrow {
    width: 21%;
  }

  .team-bar .second-arrow {
    width: 20%;
  }

  .team-bar .third-arrow {
    width: 21%;
  }

  .team-bar .fourth-arrow {
    width: 20%;
  }

  ul.social_icons li{
    margin-right: 0;
  }

}


/* sm */
@media (min-width: 768px) and (max-width: 991px) {
  #header {
    height: 70.25px;
  }
  /* Make Navigation Toggle on Desktop Hover */
  .dropdown:hover .dropdown-menu {
      display: block;
      -webkit-animation: fadeInUp 400ms;
      animation: fadeInUp 400ms;
  }

  .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
  }

  .navbar-nav > li {
    margin-left: 0;
  }

  .drpdwn-pc {
    display: block !important;
  }

  .drpdwn-sm {
    display: none !important;
  }

  #top-viewarea {
    height: 100vh;
  }

  /* Safari用のハックは、Chromeに適用されないようにする */
  @supports (-webkit-touch-callout: none) {
    #top-viewarea {
      /* Safari用のハック */
      height: -webkit-fill-available;
    }
  }

  .main-wrapper {
    background-color: #101010;
    height: calc(100% - 70.25px);
  }

  #main-slider .carousel h1 {
    font-size: 25px;
  }

  #main-slider .carousel h2 {
    font-size: 20px;
  }

  .toppagecontainer {
    /* flex-direction: column; */
  }

  .top-left {
    width: 100%;
    height: auto;
  }

  .left-menu {
    /* position: relative;+ */
    font-size: 28px;
    padding-bottom: 50px;
  }

  .top-center {
    display: none;
  }

  .top-right {
    width: 100%;
    padding-left: 40px;
    padding-bottom:10px;
  }

  .facebookpugin {
    width: 340px;
    height: 500px;
    border:none;
    overflow:hidden;
  }

  .tab-wrap .media .parrent.pull-left, 
  .media.accordion-inner .pull-left{
    clear: both;
    width: 100%;
  }

  .tab-wrap .media .parrent.media-body, 
  .media.accordion-inner .media-body{
    clear: both;
  }

  .services-wrap {
    padding: 40px 0 40px 30px;
  }

  .recent-work-wrap .overlay{
   padding: 15px;
  }

  .recent-work-wrap .recent-work-inner h3 a {
    font-size: 20px;
  }

  .sinlge-skill{
    width: 150px;
    height: 150px;
  } 

  .sinlge-skill p em {
    font-size: 25px;
  }

  .sinlge-skill p {
    font-size: 16px;
  }

  .team-bar .first-one-arrow {
    width: 2%;
  }

  .team-bar .first-arrow {
    width: 18%;
  }

  .team-bar .second-arrow {
    width: 24%;
  }

  .team-bar .third-arrow {
    width: 15%;
  }

  .team-bar .fourth-arrow {
    width: 20%;
  }

  .blog .blog-item .entry-meta > span a{
    font-size: 10px;
  }

  .aboutustext {
    margin: 20px auto 0px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    line-height: 30px;
  }

  #bottom .row {
    display: flex;
  }

  #bottom .widget {
    width: 100%;
  }
}

/* xs */
@media (max-width: 767px) {
  table {
    display: block;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  #header {
    height: 70.25px;
  }

  .container > .navbar-header, .container > .navbar-collapse{
    margin-left: 0;
  }

  .drpdwn-pc {
    display: none !important;
  }

  .drpdwn-sm {
    display: block !important;
  }

  .top-number{
    font-size: 14px;
  }

  input.search-form:hover {
    width: 120px;
  }

  .navbar-nav > li {
    padding-bottom: 0;
  }

  body > section {
    padding: 30px 0;
  }

  #top-viewarea-home {
    height: 300px;
  }

  #top-viewarea-100 {
    height: 100%;
  }

  .main-wrapper {
    background-color: #101010;
    height: calc(100% - 70.25px);
  }

  #main-slider .carousel h1 {
    font-size: 25px;
  }

  #main-slider .carousel h2 {
    font-size: 16px;
  }

  .toppagecontainer {
    flex-direction: column;
  }

  .top-left {
    width: 100%;
    height: 100%;
  }

  .left-menu {
    font-size: 20px;
    padding-left: 0px;
  }

  .top-center {
    display: none;
  }

  .top-right {
    display: none;
  }

  .facebookpugin {
    width: 340px;
    height: 500px;
    border:none;
    overflow:hidden;
  }

  .feature-wrap h2, 
  .single-services h2 {
    font-size: 18px;
  }

  .feature-wrap h3, 
  .single-services h3{
    font-size: 14px;
  }


  .media.accordion-inner .pull-left, 
  .media.accordion-inner .media-body{
    clear: both;
  }

  .accordion-inner h4 {
    margin-top: 10px;
  }

  .tab-wrap .media .pull-left{
    clear: both;
    width: 100%;
  }

  .tab-wrap .media .media-body{
    clear: both;
  }

  .nav-tabs > li.active > a:after{
    display: none;
  }

  .form-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    color: #fff;
  }
  
  .contact-left {
    width: 100%;
    margin: 0;
  }
  
  .contact-right {
    width: 100%;
    margin: 0;
  }

  .submit-wrap {
    margin-bottom: 20px;
  }

  #footer .col-sm-6{
      text-align:center;
  }
  
  #footer .pull-right{
      float: none !important;
  }

  .sinlge-skill {
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .team .single-profile-top, 
  .team .single-profile-bottom {
    margin-bottom: 30px;
  }

  .clients-area {
    padding: 60px 0;
  }

  .clients-area h1 {
    font-size: 25px;
  }

  .portfolio-item, 
  #recent-works .col-xs-12.col-sm-4.col-md-3{
    padding:0 15px;
  }

  ul.social_icons li{
    margin-right: 0;
  }

  .blog .blog-item .entry-meta{
    margin-bottom: 20px;
  }

  .blog .blog-item .blog-content h3 {
    margin-bottom: 20px;
  }

  .post_reply_comments {
    padding-left: 20px;
  }

  .aboutustext {
    margin: 0px auto;
    text-align: center;
    font-size: 14px;
    color: #fff;
    line-height: 20px;
  }

  .productstext {
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    /* text-align: center; */
    margin: 20px auto;
  }
  
  .productswrap {
    padding: 0;
    margin: 10px auto;
    flex-direction: row;
    padding-top: 10px;
  }
  
  .productsItem {
    width: 240px;
    padding: 10px;
    margin: auto;
  }
  
  .invitearea {
    width: 90%;
    margin: 20px auto;
  }

  #Invite {
    color: #fff;
    padding-top: 100px;
  }

  #Invitesmall {
    color: #fff;
    padding-top: 100px;
  }

  #Invitesmalla {
    color: #fff;
    padding-top: 100px;
  }

  .resonancetext {
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    /* text-align: center; */
    margin: 20px auto;
  }
  
  .resonancewrap {
    padding: 0;
    margin: 10px auto;
    flex-direction: column;
    padding-top: 10px;
  }
  
  .resonanceItem {
    width: 240px;
    padding: 10px;
    margin: auto;
  }

  .companyarea {
    flex-direction: column;
  }

  .companyItem {
    width: 100%;
    margin-bottom: 10px;
  }

  .companyItemTitle {
    font-size: 16px;
  }

  .companyItemTitle::after {
    content: "";
    display: block;
    /* width: 80%; */
    height: 1px;
    background-color: #fff;
    position: absolute;
    animation: lineVisible 1.5s ease 1s 1 normal;
    animation-fill-mode: forwards;
  }

  @keyframes lineVisible {
    0% {
      width: 0%;
    }
    100% {
      width: 90%;
    }
  }
  @-webkit-keyframes lineVisible {
    0% {
      width: 0%;
    }
    100% {
      width: 90%;
    }
  }

  .companyItemContent {
    font-size: 16px;
  }

  #bottom .row {
    display: flex;
    flex-direction: column;
  }

  #bottom .widget {
    width: 100%;
    margin: 5px 10px;
  }

  .sns_icons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
  }

  .footer_shop {
    padding: 10px 0;
  }

  .footer_facebook {
    padding: 10px 0;
  }

  .p-policytext {
    margin: 20px auto 0px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    line-height: 30px;
  }

}

/* XS Portrait */
@media (max-width: 480px) {


}