@charset "utf-8";

/*---------------------------------------------------------
タブレットサイズ
---------------------------------------------------------*/
@media(max-width: 960px) {
  /*---------------------------------------------------------
  共通定義
  ---------------------------------------------------------*/
  .sp_only {
    display: block;
  }

  .pagetop a img {
    width: 70px;
  }

  .page-wrap {
    width: 85%;
  }

  /*---------------------------------------------------------
  ヘッダー
  ---------------------------------------------------------*/
  header .header_inner {
    width: 100%;
    padding: 0;
  }

  header .header_inner .site_title {
    margin: 0 auto;
    width: 200px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  header .header_menu {
    margin: 0 auto;
    font-size: 1rem;
    align-items: center;
  }

  header .header_inner .sns_block {
    margin: 35px auto 0;
    justify-content: center;
  }

  .btneffect-01 {
    margin: 2rem auto 0;
  }

  #g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100vh;
    background: #000000ba;
    transition: all 0.6s;
  }

  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    left: 0;
  }

  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 25px;
    border: 1px solid #333;
  }

  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }

  .openbtn span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn span:nth-of-type(3) {
    top: 31px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }

  /*---------------------------------------------------------
  メインビジュアル
  ---------------------------------------------------------*/
  /* #TOP .main-swiper-container .swiper-wrapper {
    height: 95%;
  }

  #TOP .top-wrap {
    position: relative;
  }

  #TOP .top-wrap .top-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 2;
    display: block;
  } */
  #SLIDESHOW .slide {
    height: 98vh;
  }

  #SLIDESHOW .top-logo {
    position: absolute;
    display: flex;
    z-index: 2;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
  }

  #SLIDESHOW .top-logo img {
    width: 70%;
  }

  /*---------------------------------------------------------
  会社概要
  ---------------------------------------------------------*/
  #ABOUT .about-wrap {
    width: 95%;
    position: unset;
    margin: 5rem auto;
  }

  #ABOUT .about-wrap .about-img-1,
  #ABOUT .about-wrap .about-img-2 {
    width: 95%;
  }

  #ABOUT .about-wrap .about-img-1 img,
  #ABOUT .about-wrap .about-img-2 img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }

  #ABOUT .about-wrap .about-note {
    width: fit-content;
    padding: 5rem;
    position: unset;
    margin: 0;
    background-color: unset;
  }

  /*---------------------------------------------------------
  新着情報
  ---------------------------------------------------------*/
  #NEWS .news-wrap {
    width: 95%;
  }

  .swiper-button-prev {
    left: 10% !important;
  }

  .swiper-button-next {
    right: 10% !important;
  }

  /*---------------------------------------------------------
  取扱商品
  ---------------------------------------------------------*/
  #PRODUCTS .slick-prev,
  #PRODUCTS .slick-next {
    top: 42%;
  }

  #PRODUCTS .slick-prev {
    left: -1.5%;
  }

  #PRODUCTS .slick-next {
    right: -1.5%;
  }

  /*---------------------------------------------------------
  アクセス
  ---------------------------------------------------------*/
  #ACCESS .wrap {
    flex-direction: column;
    margin: 5rem auto;
    width: 96%;
  }

  #ACCESS .wrap .map {
    width: 100%;
    height: 500px;
  }

  #ACCESS .wrap .info {
    width: 100%;
    margin: 5rem auto 0;
  }

  #ACCESS .wrap .info .detail {
    margin-left: 0;
  }

  #ACCESS .wrap .info .detail table {
    margin: 3rem auto;
    width: fit-content;
    line-height: 3rem;
  }

  /*---------------------------------------------------------
  お問い合わせ
  ---------------------------------------------------------*/
  #CONTACT .wrap form {
    width: 70%;
  }
}
