@charset "UTF-8";
body{
    background-color: #f1e2be;
}


img{
    max-width: 100%; 
    margin: auto;
    display: block;
}


/*-----------------------メイン-----------------------*/

.container{

    background-color: #fff;
    padding-bottom: 200px;
    padding-top: 20px;
}

.post-info{
    position: relative;
    margin-left: 20px;
}


.post-date{
    background:  #ff8fb6;
    border-radius: 50%;
    color: #fff;
    width: 70px;
    height: 70px;
    font-size: 1.2rem;
    text-align: center;
    position: absolute;
    top:-10px;
    padding-top: 17px;
    font-family: Arial, Helvetica, sans-serif;
}

.post-date span{
    font-size: 0.7rem;    
    padding-top: 5px;
    display: block;
    width: 60%;
    margin: 0 auto;
}


.post-title {
    font-size: 1.2rem;
    font-family: 'M PLUS ROUNDED 1C',sans-serif;
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
}


.post-cat{
    font-size: 1rem;
    font-family: 'M PLUS ROUNDED 1C',sans-serif;
    font-weight: bold;
    color: #666;
    }

.post-title,
.post-cat{
    margin-left: 80px;
}

.article{
    font-family: 'M PLUS ROUNDED 1C',sans-serif;
    position: relative;
    top:30px;
    left:20px;
    line-height: 1.7;
    width: 370px;
    border-top: solid 1px #ff8fb6;
    padding-top: 15px;
    text-align: justify;
}

.post-wrapper2{
    margin-top: 80px;
    margin-right: 20px;
}


.side-box li a:hover{
    color: #00a0dc;
}

.btn a{
    color: #fff;
    padding: 10px 20px;
    background: #ff8fb6;
    border-radius: 5px;
    display: inline-block;
    position: relative;
    top:30px;
    left: 270px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 20px;
}

.btn a:hover{
    color: #fff;
    background: #f67690;
    border-radius: 5px;  
    font-family: Arial, Helvetica, sans-serif; 
}


/*-----------------------サイド-----------------------*/

.side-box{
   
    border: 1px solid #ccc;
    outline: 2px solid #ccc;
    outline-offset: 4px;
    border-radius: 6px;
    position: relative;
    width: 200px;
    padding: 30px 40px;
    left: 95px;
    top:80px;
}

.side-box h3{
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.side-box ul li{
    border-bottom: 2px dotted #00a0dc;
    
    
}

.side-box ul li::before{
    content: '';
    width: 8px;
    height:8px;
    border-radius: 50%;
    background: #93d8d0;
    display: inline-block;
    margin: 0 8px 2px 0;
}

aside ul {
    line-height: 3;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #666;
    margin-bottom: 20px;
}

aside{
    margin-bottom: 10px;
}


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

footer{
    background: #9fca99;
    margin: auto;
    display: block;
    padding: 26px 0;
    text-align: center;
    footer{
        position: absolute;/*←絶対位置*/
        bottom: 0; /*下に固定*/
    }
}

footer p{
    color: #fff;
    font-size: 0.85rem;

}



/*
DESKTOP SIZE(デスクトップ用のサイズ）
========================================================= */
@media (min-width: 600px){

   
    
    img{
        width: 1000px;
        margin: auto;
        display: block;
    }

    /*-----------------------メイン-----------------------*/
    
    .container{
        display: flex;
        justify-content: space-between;
        background-color: #fff;
        width: 1000px;
        margin: auto;    
       
    }
    

    
    .post-info{
        position: relative;
        margin-left: 60px;
        
    }
    
    .post-date{
        background:#ff8fb6;
        border-radius: 50%;
        color: #fff;
        width: 90px;
        height: 90px;
        font-size: 1.5rem;
        text-align: center;
        position: absolute;
        top:-10px;
        padding-top: 20px;
    }
    
    .post-date span{
        font-size: 1rem;    
        padding-top: 7px;
        display: block;
        width: 60%;
        margin: 0 auto;
    }
    
    
    .post-title {
        font-size: 1.4rem;
        font-family: 'M PLUS ROUNDED 1C',sans-serif;
        font-weight: bold;
        color: #666;
         margin-bottom: 5px;
    }
    
    
    .post-cat{
        font-size: 1.2rem;
        font-family: 'M PLUS ROUNDED 1C',sans-serif;
        font-weight: bold;
        color: #666;
        margin-top: 15px;
        }
    
    .post-title,
    .post-cat{
        margin-left: 120px;
    }
    
    .article{
        font-family: 'M PLUS ROUNDED 1C',sans-serif;
        font-size: 20px;
        position: relative;
        top:30px;
        left:70px;
        line-height: 1.7;
        width: 600px;
        border-top: solid 1px #ff8fb6;
        padding-top: 15px;
    }
    
    .btn a{
        color: #fff;
        padding: 10px 20px;
        background: #ff8fb6;
        border-radius: 5px;
        display: inline-block;
        position: relative;
        top:30px;
        left: 550px;
    }
    
    .btn a:hover{
        color: #fff;
        padding: 10px 20px;
        background: #f67690;
        border-radius: 5px;   
    }
    



    /*-----------------------サイド-----------------------*/
    
    aside{
        width: 26%;
    }

    .side-box{
        margin-bottom: 4rem;
        border: 1px solid #ccc;
        outline: 2px solid #ccc;
        outline-offset: 4px;
        border-radius: 6px;
        position: relative;
        left: 70px;
        top:0px;
        width: 200px;
        padding: 30px 40px;

    }
    
    aside ul {
        line-height: 3;
        font-size: 20px;
        font-weight: bold;
        color: #666;
        margin-bottom: 20px;
    }


    .popular-posts{
        position: sticky;
        top:2rem;
        margin-left: 80px;
    }
  

  

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

    footer{
        background: #9fca99;
        width: 1000px;
        margin: auto;
        display: block;
        padding: 26px 0;
        text-align: center;
    }
    

  
}
