@charset "utf-8";

@media screen and (min-width:768px){
    /*　画面サイズが768pxからはここを読み込む　*/
.openbtn1{
    display: none;
}

#g-nav{
    display: none;
}


    nav{
        margin: 0px 0 0px 4%;
    }
    

}


/*大タブレットレイアウト*/

@media screen and (max-width: 1025px) {
/* 1025pxまでの幅の場合に適応される */




    
/*消さない*/
}




























/*タブレットレイアウト*/

@media screen and (max-width: 850px) {
/* 850pxまでの幅の場合に適応される */

/*ここからブログ*/

.hibipost-midasi{
    margin-left: 0;
    height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.hibipost-midasi img{
    width: 180px;
}
    
.blog{
    width: 90%; 
}



}














@media screen and (max-width: 768px) {
/* 768pxまでの幅の場合に適応される */
    
    html{
width: 100%;
margin: 0 0;
padding: 0 0;   
    }
    
    
    
    
body{
  width: 100%;
margin: 0 0;
padding: 0 0;
}
    
    
    
#header nav{
display: none;
}
.nav-pc{
    display: none; 
}
    
nav{
     margin: 0px auto 0px auto;   
}

nav ul li a{
	border-bottom:0px solid #222222;
}
    
.header-rogo{
     position: fixed;
    top: 20px;
    left: 20px;
}
    
    .header-rogo img{
        width: 70px;
        height: 70px;
    }
  
    
    
    

.openbtn1{
    display: inherit;
  position:fixed;
     top:20px;
  right: 20px;
    z-index: 9999;/*ボタンを最前面に*/
	background-color: #ffffff;
	cursor: pointer;
    width: 50px;
    height:50px;
    border: solid 2px #222222;
}

/*ボタン内側*/
.openbtn1 span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
	background: #222222;
  	width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
	top:17px;	
}

.openbtn1 span:nth-of-type(2) {
	top:25px;
}

.openbtn1 span:nth-of-type(3) {
	top:33px;
}

/*activeクラスが付与されると線が回転して×に*/

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

.openbtn1.active span:nth-of-type(2) {
	opacity: 0;/*真ん中の線は透過*/
}

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

/* .openbtn1.active{

} */

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
  opacity: 0.3;
  visibility: visible;
}










#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
  z-index: -1;
  opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
  top:0;
  width:100%;
    height: 100vh;/*ナビの高さ*/
  background:#ffffff;
    /*動き*/
  transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
  opacity: 1;
  z-index:999;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    display: block;
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
    text-align: center; 
}

#g-nav li a{
  color: #333;
  text-decoration: none;
  padding:20px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
    font-family: 'Noto Sans JP', sans-serif;
}
    
    
/*消さない */
}















/*スマホレイアウト*/

@media screen and (max-width: 470px) {
/* 470pxまでの幅の場合に適応される */
  
.nav-pc {
    display: none;
    column-gap: 3rem;
    top: 45px;
    left: 50px;
    position: absolute;
}


    /*ここからブログ*/


.hibipost-midasi{
    margin-left: 0;
    height: auto;
    margin-top: 40px;
    margin-bottom: 20px;
}

.hibipost-midasi img{
    width: 200px;
}
    
.blog{
     width: 90%;   
}



.blog-content{
    display: block;
    width: 100%;
    justify-content: center;
    margin: 0 auto;
    column-gap: 3%
}

.blog-1-box{
    display: block;
}

.blog-img-box{
    width: 100%;
  height: 196px;
  object-fit: cover;
    margin-bottom: 18px;
}

    .blog-layout{
        margin-bottom: 40px;
        box-sizing: border-box;
        height: 370px;
        width: 100%;
        position: relative;
    }


.blog-content a{
    color: #181818;

}

    
    .blog-title{
    height: 60px;
    overflow: hidden;
    }

    .blog-box-right{
        display: block;
        width: 100%;
        position: static;
    }

    .blog-text{
        position: absolute;
        bottom: 20px;
        right: 20px;

    }
    

    
    
/*消さない*/
}

















