@charset "utf-8";

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

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

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

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

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

  #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;
  }

  /*×に変化*/
  .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ページ
  ---------------------------------------------------------*/
  #SLIDESHOW .sp_logo {
    position: absolute;
    z-index: 2;
    width: 150px;
    top: -50px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }

  #TOP .about .wrapper {
    padding: 10rem 1rem 10rem;
  }

  #TOP .about .wrapper .about_img {
    width: 100%;
  }

  #TOP .about .wrapper .about_note p {
    text-align: left;
    max-width: 90%;
    margin: 0 auto;
  }

  /*---------------------------------------------------------
  開発商品
  ---------------------------------------------------------*/
  #GOODS .wrapper {
    width: 95%;
    margin: 0 auto;
  }

  #GOODS .wrapper .goods_title {
    flex-direction: column;
  }

  #GOODS .wrapper .title {
    margin-top: 1rem;
  }

  #GOODS .wrapper .goods_title img {
    margin-right: 0;
  }

  #GOODS .wrapper .goods_box {
    flex-direction: column;
  }

  #GOODS .wrapper .goods_box .goods_img {
    width: 60%;
  }

  #GOODS .wrapper .goods_box .goods_detail {
    width: 80%;
    background-color: #ffffff;
    line-height: 2rem;
    padding: 2rem;
    margin: 2rem;
    border-radius: 15px;
  }

  /*---------------------------------------------------------
  湯の華会について
  ---------------------------------------------------------*/
  #ABOUT .wrapper {
    width: 95%;
    margin: 0 auto;
  }

  #ABOUT .wrapper .about_poster_img {
    width: 90%;
  }
