p{
    color: rgb(59, 58, 57);
    line-height: 24px;
    background-color: #fefaf5;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Noto Sans JP', sans-serif;
}

ul{
    color: rgb(59, 58, 57);
    line-height: 24px;
}

a:link{color: #3F7A63;}
a:visited{color: #3F7A63;}
a:hover{color: #E05451;}
a:active{color: #E05451;}


.wrapper {
    width: 94%;
    min-width: 950px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

body{
    min-width: 980px;
    height: auto;
    overflow-x: hidden;
    background-color: #fefaf5;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Noto Sans JP', sans-serif;
}

.header{
    font-size: 18px;
    font-weight: bolder;
    background-color: #fefaf5;
    position: fixed;
    top: 0;
    width: 90%;
}

.articl {
    flex-grow: 1;
}

.main{
    float:left;
    width: calc(100% - 300px);
    height: auto;
    margin-left: 230px;
    margin-top: 150px;
    margin-right: 150px;
}

.card-container{
    display:flex;
    margin-top: 20px;
}

.card-container{
    display:flex;
    max-width: 95%;
    height: auto;
}

.card-text{
    width: 100%;
    margin: 20px;
}

.sidebar{
    float: right;
    height:300px;
    margin-left:5px;
    width: 200px;
    position: fixed;
}

.widget + .widget {
    margin-top: 150px;
  }
.widget--sticky {
    position: sticky;
    top: 20px;
  }


  .footer{
    height: 100px;
    width: auto;
    text-align: center;
    align-items: center;
    margin: 50px;
    border-top: 3px solid #9e9d9c;
}


nav{
    position: fixed; top: 0; width: 90%;
    border-bottom: 5px solid #9e9d9c;
    position: relative;
    margin-top: 20px;
    margin-left: 5%;
    margin-right: 5%;
    background-color: #fefaf5;
    }
    nav ul{
    position: absolute;
    left:10%;
    display: table;
    margin: 0 auto;
    padding: 0;
    width: 80%;
    text-align: center;
    }

    nav ul li{
    display: table-cell;
    min-width: 50px;
    }
    nav ul li a{
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 0;
    text-decoration: none;
    color: #3F7A63;
    }

    nav ul li.current{
    font-weight: bold;
    border-top: 5px solid #E05451;
    }
    nav ul li.current a{
    color: #E05451;
    }
    nav ul li a:hover{
    color: #E05451;
    }
    nav ul li:hover{
    border-top: 5px solid #E05451;
    }