@charset "utf-8";

html,body,h1,h2,p,ul,link{
    margin: 0;
    padding: 0;
    line-height: 1;
    font-family: "Hiragino Kaku Gothic ProN",Meririyo,sans-serif;
}

ul{
   list-style: none; 
}

a{
    text-decoration: none;
    color: inherit;
}

img{
    border: none;
    vertical-align: bottom;
    max-width: 100%;
    height: 0 auto;
}

/* 共通css-------------- */
.container{
    max-width:960px;
    margin: 0 auto;
    display: flex;
    padding: 0 10px;    /* SP対応 両脇少し隙間をあける */
}

/* header-------------- */
header{
    background-color: #000;
    color: #fff;
    padding: 20px 0;   
}
 /* font により調整、padding:11px 0 20px */
/*fontにより調整、padding: 11px 0 20px;*/

header>.container{  
    justify-content: space-between;
    align-items: flex-end;
}

h1{
    font-family: "Lacquer", sans-serif;
    font-size: 44px;
    margin-bottom: 5px; 
}

/*SNSリンク-------------- */
aside>ul{
    display: flex;
}

/* ↓ 何に影響ある？ */
aside li {
    display: inline;
    }
aside img{
    width: 50px;
    height: auto;
    margin-left: 5px;
}

/*キービジュアル-------------- */
.keyVis{
    height: 200px;    
    background: url(../img/header2.jpg) no-repeat center center/cover;
    /* background-size:cover; */
}
/* PC用 Navigatione---------------- */

.pcnav{
    background: #000;
    margin-bottom: 50px;
}

.pcnav li {
    width: 20%;
    line-height: 44px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    }
.pcnav a {
    display: block;
    border-right: solid 1px #fff;
    }
.pcnav li:first-child a {
    border-left: 1px solid #fff;
    }
.pcnav a:hover {
    background: #39d;
    }               
     
     
/*Sp nav,btn*/
    .spnav,.btn{
    display: none;
    }


/* 2カラムレイアウト-------------- */
.wrap{
 justify-content:space-between;

}

main{
    width: calc(100%*(600/960));
}
.sidebar{
    width: calc(100%*(300/960));

}


/* メインコンテンツ article---------------------- */
/* 投稿日時 */
article time{
    background-color:#39d ;
    padding: 20px;
    border-radius: 50%;
    font-weight: bold;
    float: right;
}
/* article---------------------- */
/* 見出し -- */
article>h2{
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    margin-bottom: 10px;
}　　

.cat p{/* .cat ? この記述だとダメ？-- */
    padding: 10px;
    margin-bottom: 10px;
    line-height: 1.5;
    width:100%;
}
article>p{
    margin-bottom: 10px;
    line-height: 1.5;
}

/*画像枠*//*border-color:だと何故出来ない？*/
article img{
   border:10px solid rgb(40, 137, 247);
   box-sizing: border-box;

}

/* ------ サイドバー ----- */
.sidebar>section:first-child {
    margin-bottom: 50px;
}
/* 見出し*/
.sidebar h2{
   color: #0097d8 ;
   font-size: 28px;
   margin-bottom: 10px;
}

.sidebar li{
    line-height: 44px;
    font-size: 14px;
    border-bottom: solid 1px #aaa;
}
.sidebar li :first-child{
    border-top: solid 1px #aaa;
}

.sidebar li a{
    display: block;
    background: url(../img/listmark.png) left center no-repeat;
    padding-left:20px ;
}

.sidebar li a:hover {
    background-color: #b4f0ff;
}

/*フッター*/
footer{
    color:#fff;
    background: black;
    padding: 30px 0;
}
 

footer .container{
    display:block;
}

footer p:first-child{
    margin-bottom: 5px;
}

@media screen and (max-width:767px) {

/* header-------------- */
header{
    padding: 10px 10px;
}
 
h1{
    font-family: "Lacquer", sans-serif;
    font-size: 38px;
    /* font-size: 11em; */
    margin-bottom: 5px; 
}

p{
    font-size: 14px;
}
/*キービジュアル-------------- */
.keyVis{
    height: 100px;
    margin-bottom: 10px;  
}
/*SNSリンク-------------- */
body {
    position: relative;
}
aside {
    position: absolute;
    right: 5px;
    bottom: 5px;
    }
/* 表記 × ？container wrap*/
.wrap{
    display: block;
   }

   main,.sideber{
       width:auto;
       margin-bottom:10px;
   }
/* 見出し -- */
article>h2{/*article h2 でもOK？*/
 font-size:22px ;
 }

/* メインコンテンツ article............ */
/* 投稿日時 */
article time{
    border-radius: 5px;
    background-color:#39d ;
    color:#fff;
    font-weight: bold;
    float:left;
    line-height:22px ;
    padding:0 5px;
    margin:0 5px 10px 0;
}
/* article............ ............  */　
/* 見出し -- */


article>h2{/*article h2 でもOK？*/
    border-bottom: 1px solid #000;
    font-size: 22px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    font-size: 22px;
}
.cat p{
    margin-bottom: 5px;
}


article img{
    display: block;
    margin: 0 auto 5px;
}


/* PC用Nav */
.pcnav {
    display: none;
}


/*Hamberger btn */
 .btn{
    display: block;
    position: absolute;
    top:10px;
    right:10px;
    width: 50px;
    height: 50px;
    border: 1px solid #fff;
    border-radius: 8px;
    text-align: center;
    font-size: 35px;
    color: #fff;
    overflow: hidden;
 }  
    
.btn i{
       display: block;
       line-height:50px;
   }

/* クラス名close */
.close i:first-child{
    display: none;
}
/* ------ サイドバー ----- */
.sidebar{
    width: auto;
}

.sidebar>section:first-child {
    margin-bottom: 20px;
}   
   footer{
    padding-bottom: 60px;
}

.sideber ul{
    border-radius: none;
}

/* SP用 Navigatione---------------- */
.spnav{
    position: absolute;
    width: 100%;  /* 必ず100%を書く */
    top:64px;
    display: none;
}
 /*background:rgba: a アルファ―値 */


.spnav li{
    color: #fff;
    text-align: center;
    line-height: 70px;
    border-bottom: 1px solid #fff;
    text-align: center;
    font-size: 22px;
    border-top: 1px solid #fff;
}
.spnav a {
    display: block;
    background: rgba(0, 0, 0, 0.5);
}

}