@charset "UTF-8";

/*--------------------------------
背景設定
--------------------------------*/




/*--------------------------------
ヘッダー
--------------------------------*/


/* スマホの時は、ヘッダー上部に余白を入れる

@media(max-width:768px){
    .main-box{
        padding-top:50px;
    }
}

*/

/*------------------------------
PCの場合のヘッダーレイアウト
------------------------------*/

.head-logo img{
    max-width:230px;
    margin:20px auto;
}

.h1-head{
    text-align: center;
}

header{
    position: relative;   
}

@media(max-width:767px){
    .head-logo img{
        margin:0 auto;
    }
    header{
        height: 80px;
        box-shadow: 0 0 4px rgb(0, 0, 0,0.2);
    }
}

.head-btn{
    position: absolute;
    top:50px;
    right:100px;
}

@media(max-width:767px){
    .head-btn{
        display: none;
    }
}

.head-mail img{
    height:35px;
    margin: 0 10px;
}

.head-insta img{
    height:35px;
    margin: 0 10px;
}

.head-suumo img{
    height:35px;
    margin: 0 10px;
}


 
/*======================================================
グローバルナビ
======================================================*/


/* PCの時はナビが横並び・上部固定 */


@media(min-width:768px){
        
    /*.home .navi{
        margin-bottom:10px;
    }*/
    
    .g-nav{
        margin:auto;

        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center;
    }

    .g-nav li{
		font-size:1.4rem;
        padding:4px 24px;
    }
   
    .g-nav li a{
        text-align: center;
    }

        
    nav li a:link, nav li a:visited, nav li a:hover{
        text-decoration: none;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    

    /* グローバルナビ　ホバーでアンダーライン */

    .g-nav li span{
        position: relative;
    }
    .g-nav li span::after{
        position: absolute;
        left:0;
        content: '';
        width:100%;
        height:1px;
        background: #70bc47;
        bottom: -5px;
        transform:scale(0,1);
        transform-origin: left top;
        transition: transform 0.3s;
    }

    .g-nav li a:hover span::after{
        transform:scale(1,1);
    }

    /* グローバルナビの場合の区切り */

    .g-nav{
        padding:4px 0;
    }

    .g-nav li{
        border-left:1px solid #bbcae5;
        text-align: center;
    }

    .g-nav li:last-child{
        border-right:1px solid #bbcae5;
    }

    .navi.fixed .g-nav{
        margin-bottom:0;
    }    
    

}

/*----------------------------------
 ナビ固定
----------------------------------*/
 
  /* ロゴのデザイン */
  .head-logo {
    /* アニメーションの変化時間 */
    transition: 0.5s;
  }
  
  /* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
  .g-nav.scroll-nav {
    /* 余白を狭くする */
    padding: 0 15px;
    /* 背景を白にする */
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    position: fixed;
    top:0;
    text-align: center;
    width:100%;
    padding:20px 0;
    transition: 0.5s;
    z-index: 10;
  }
  


/*======================================================
スマホドロワーメニュー
======================================================*/

#drawer-checkbox {
    display: none;
  }
  #drawer-icon {
    cursor: pointer;
    display: inline-block;
    height: 80px;
    width: 75px;
    /* position: relative; */
    position: absolute;
    right:0;
    top:0;    
    background:#7895cc;
    color:#fff;
    padding-top:56px;
    text-align: center;
    font-size:1.3rem;
  }
  #drawer-icon span {
    background:  #fff;
    /* border-radius: 4px; */
    display: block;
    height: 1px;
    left: 50%;
    margin: -8% 0 0 -28%;
    position: absolute;
    top: 50%;
    transition: all 0.3s ease-in-out;
    width: 60%;
  }
  #drawer-icon span::before,
  #drawer-icon span::after {
    -webkit-transform: rotate(0);
    background: #fff;
    /* border-radius: 4px; */
    content: "";
    display: block;
    height: 1px;
    left: 50%;
    margin: -8% 0 0 -50%;
    position: absolute;
    top: 50%;
    transform: rotate(0);
    transition: all 0.3s ease-in-out;
    width: 100%;
  }
  #drawer-icon span::before {
    margin-top: -24%;
  }
  #drawer-icon span::after {
    margin-top: 19%;
  }
  #drawer-checkbox:checked ~ #drawer-icon span {
    background: rgba(51, 51, 51, 0);
  }
  #drawer-checkbox:checked ~ #drawer-icon span::before,
  #drawer-checkbox:checked ~ #drawer-icon span::after {
    content: "";
    display: block;
    height: 100%;
    left: 50%;
    margin: -8% 0 0 -42%;
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #drawer-checkbox:checked ~ #drawer-icon span::before {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  #drawer-checkbox:checked ~ #drawer-icon span::after {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  #drawer-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    width: 250px;
    max-width: 90%;
    height: 100%;
    background: #7895cc;
    transition: all 0.3s ease-in-out 0s;
    transform: translateX(-100%);
  }
  #drawer-checkbox:checked ~ #drawer-content {
    transform: translateX(0);
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.16);
  }
  
  #drawer-close {
    display: none;
    position: fixed;
    z-index: 39;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    transition: all 0.3s ease-in-out 0s;
  }
  #drawer-checkbox:checked ~ #drawer-close {
    display: block;
    opacity: 0.3;
  }

  #drawer-content li{
      list-style: none;
      border-bottom:1px dashed #fff;
  }

  #drawer-content li a{
      color:#fff;
      text-decoration: none;
      padding:1em;
      display: block;
  }

  #drawer-content li a:active{
      background: #456fbe;
  }

/*======================================================
検索ボタン
======================================================*/
#searchform input{
    border-radius: 4px;
    margin-bottom:0.5em;
    width:100%;
}

.sm-search{
    padding:4em 1em 1em 1em;
}




/*======================================================
パンくずリスト
======================================================*/

.breadcrumbs{
    font-size:1.3rem;
    margin:40px auto;
}


/*--------------------------------
フッター
--------------------------------*/

footer{
    background:#111;
    padding:10px;
}

.foot-copyright p{
    color:#fff;
    font-size:1.2rem;
}

.foot-insta img{
    max-width:60px;
    margin: auto;
}

@media(max-width:600px){
    .foot-insta img{
        max-width:40px;
    }
}

/*  ページトップへ戻る  */

#pageTop {
  position: fixed;
  bottom: 50px;
  right: 0;
 font-size:3.0rem;
    background: rgba(112, 189, 71, 0.8);
    width:50px;
}

#pageTop i {
  padding-top: 6px
}

#pageTop a {
  display: block;
  z-index: 999;
    color:#fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}



