
@charset "utf-8";

/*--------------------------------------
このbase_formatはmax-width:885pxメインと
なっているがレスポンシブは基本は下記サイズから
@media screen and (max-width:767px)
---------------------------------------*/

@media screen and (max-width:767px){

  /*——————————————————————
  display: block;
  ——————————————————————*/

  .display_flex,.sp-only_01,.header_nav li.box a{
    display: block;
  }

  /*——————————————————————
  メインBOX指定
  ——————————————————————*/
  .field._01,.entry._01,.entry._02,.web_mov{
    width: 100%;
  }

  .web_pic{
    width: 80%;
    margin-top: 8rem;
  }

  .field._01{
    padding: 2rem;
  }

  .web_mov,.web_pic{
    justify-content: center;
    gap: 4rem;
  }

  /*————————————————————————————————
  ナビゲーション設定
  —————————————————————————————————*/
  
  .header_inner.open{
    overflow-y: auto;
    height: 100%;
  }

  .navArea.display_flex{
    align-items: initial;
  }

  .header_inner.open .global_menu{
    position: absolute;
    display: flex;
    top: 12rem;
  }
  /*————————————ここまで————————————*/

  .header_nav{
    display: block;
    width: 100%;
  }

  .header_nav li a:after{
    background: none;
  }

  .navArea{
  padding: 1rem;
  }

  .mask {
    display: none;
    position: fixed;
    /*transition: all 0.3s ease-in-out;
    z-index: 999;*/
  }
  .open .mask {
    margin: 0 auto;
    display: block;
    top: 0;
    width: 100%;
    height: 100vh;
    background-image: url("../img/common/bg_02_sp.png");
    z-index: -1;
  }

    
  .header_inner.open .navArea{
    background: none;
    justify-content: center;
  }

  /*——————————————————————
  ハンバーガー トグル形状とアクション
  ——————————————————————*/
  .toggle_btn {
    position: absolute;
    width: 8rem;
    height: 8rem;/*高さ必ず指定してタップ領域確保*/
    display: block;
    top: 0;
    right: 0;
    transition: .3s;
    z-index: 9999;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
  }

  .btn01{
    width: 100%;
    height: 2.7rem;
    padding: 0 2rem;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
  }

  .toggle_btn span {
    display: block;
    left: 0;
    height: 2px;
    background-color: #3E3E3E;
    transition: .4s;
    cursor: pointer;
    z-index: 9999;
  }

  .toggle_btn.open span {
    background-color: #3E3E3E;
  }

  .toggle_btn.open span:nth-child(1) {
    -webkit-transform: translateY(1.2rem) rotate(30deg);
    transform: translateY(1.2rem) rotate(30deg);
  }
  .toggle_btn.open span:nth-child(2) {
    opacity: 0;
  }
  .toggle_btn.open span:nth-child(3) {
    -webkit-transform: translateY(-1.2rem) rotate(-30deg);
    transform: translateY(-1.2rem) rotate(-30deg);
  }
  /*————————————ここまで————————————*/

  /*----------------------------
  ナビゲーション上下のボーダー設定
  ナビゲーション文字 天地左右スペース設定
  -----------------------------*/

  
  .header_nav li a{
    font-size: 2rem;
    display: block;
    text-align: left;
  }

  
  .quest{
    position: relative;
    width: 100%;
    font-weight: 400;
    border-bottom: solid #000 1px;
    padding-bottom: 1rem;
    transition: all .3s ease; 
  }
  
  
  .quest::before,.quest::after{
    position: absolute;
    content: '';
    width: 2rem;
    height: 2px;
    background-color: #000;
  }
  
  
  .quest::before{
    top: 1.2rem;
    width: 2rem;
    right: 0rem;
    transform: rotate(0deg);
    transition: 0.3s;
  }
  
  
  .quest::after{
    top: 1.2rem;
    right: 0rem;
    transform: rotate(90deg);
  }
  
  
  .quest.close::before{
    transform: rotate(180deg);
  }
  
  .quest.close::after{
    display: none;
  }
  
  .quest p{
    font-size: 2rem;
    font-weight: 500;
    cursor: pointer;
  }
  
  .box {
    display: none;/*はじめは非表示*/
    margin-top:6%;
    font-weight: 400;
    line-height: 3rem;
}

.header_nav li .box a{
  padding: 2rem 0;
}

  /*———————————————————————————
  ファーストビューエリア
  ———————————————————————————*/

  .top-pic img{
    width: 100%;
  }


  /*———————————————————————————
  つくったものエリア
  ———————————————————————————*/

  /*———————————————————————————
  webサイト
  ———————————————————————————*/

  /*———————————————————————————
  DTP
  ———————————————————————————*/
  .dtp_pic{
    width: calc((100% - 2rem) / 2);
    margin-bottom: 8rem;
  }
  /*———————————————————————————
  詳細ボタン---BeProHPで使用した物
  ———————————————————————————*/
  /*.btn_base{
    width: 24.4%;
  }*/
  /*——————————————————————
  メイン項目エリア
  ——————————————————————*/
  .pic._00{
    overflow: hidden;
      width: 100%;
  height: auto;
  }

  .h1_title._02 p{
    padding-right: 0;
  }

  /*——————————————————————
  footer_SP
  ——————————————————————*/

footer{
  width: 100%;
}


.display_flex._foot{
  width: 100%;
}

footer .line {
  margin-bottom: 0;
}

.f_field{
  width: 100%;
  text-align: center;
}

.f_box{
  width: 100%;
}

  .copyright{
    position: initial;
    text-align: center;
    margin-top: 3%;
  }


  .sp_arrow{
    position: fixed;
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 9999px;
    font-size: 2.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    opacity: .8;
    border: 1px solid #3E3E3E;
    filter: drop-shadow(4px 4px 8px rgba(62,62,62,0.25));
    bottom: 2rem;
    right:1.6rem;
    z-index: 999;
  }

/*——————————————————————
————————————————————————
ここから下層ページ
————————————————————————
——————————————————————*/

/*——————————————————————
————————————————————————
下層ファーストビュー エリア
————————————————————————
——————————————————————*/
  #first-view_bg._under._001{
      background-image: url("../img/under/under_001_sp.jpg");
    }
  
    #first-view_bg._under._002{
      background-image: url("../img/under/under_002_sp.jpg");
    }

    #first-view_bg._under._003{
      background-image: url("../img/under/under_003_sp.jpg");
    }

    #first-view_bg._under._004{
      background-image: url("../img/under/under_004_sp.jpg");
    }


    #first-view_bg._under2._001{
      background-image: url("../img/under/under2_001_sp.jpg");
    }

    #first-view_bg._under2._002{
      background-image: url("../img/under/under2_002_sp.jpg");
    }

    #first-view_bg._under2._003{
      background-image: url("../img/under/under2_003_sp.jpg");
    }

    #first-view_bg._under2._004{
      background-image: url("../img/under/under2_004_sp.jpg");
    }

    #first-view_bg._under2._005{
      background-image: url("../img/under/under2_005_sp.jpg");
    }
    
    
    
    
    
    
    

    .work_item._a{
      width: 100%;
    }

  
  /*--------------------------
  display:none
  ---------------------------*/

  .global_menu,.sp-only_02,.header_inner.open .fs-logo,.mail_form._pc{
    display: none;
  }

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

}

  /*——————————————————————————————————————————————————————
  ————————————————————————————————————————————————————————
  以下の文言で幅600以下で一定の条件を満たしたアイテムすべて半分になる
  ————————————————————————————————————————————————————————
  ———————————————————————————————————————————————————————*/
  @media only screen and (max-width: 600px) {
    html {
      font-size: 50%;
    }
  }


  @media screen and (max-width:494px){

    /*——————————————————————
    display: block;
    —————————————————————*/
    .sp-only_02{
      display: block;
    }

  }


  @media screen and (max-width:375px){
      html {
        font-size: 40%;
      }
      input#ha-buy-check{
        transform: scale(1.2);
      }

    /*——————————————————————
    ————————————————————————
    お問い合わせ エリア
    ————————————————————————
    ——————————————————————*/

  }

  