*{
    padding: 0;
    margin: 0;

}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}

footer {
  margin-top: auto;
  background-color: #676693;

}

footer p{
    color: white;
    text-align: center;
}

html, body {
  height: 100%;

}

li{
    list-style: none;
    font-weight: bold;
}

a{
    text-decoration: none;
    color: black;
}

h3.title-h3{
    color: #676693;
    font-size: 28px;
}

.wrapper-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 150px;
}

.wrapper-header ul{
    display: flex;
    gap: 20px;
}

.wrapper-header ul li a:hover{
    color:#676693;
    transition: 0.3s;
}



/*コンテンツ全体のスタイル*/

.wrapper{
    width: 80%;
    margin: 38px auto;

}

/*タイトルh1*/
h1{
    font-size: 28px;
    text-align: center;
}

/*articleのスタイル*/
.article-wrapper{
    width: 100%;
    margin: 38px auto;
}

h2{
    text-align: center;
    margin: 38px 0;
}

/*本文のレイアウト*/
.article-wrapper p{
    margin: 20px 0;
    line-height: 1.6;
    font-size: 18px;
}

.article-end{
    text-align: center;
    margin: 38px 0;
}

/*topへ戻る*/
.backTobtn{
    text-align: center;
    margin: 38px 0;
}

.article-img{
    width: 40%;
    height: auto;
}

.backTobtn a{
    color: #676693;
    font-weight: bold;
    padding: 10px 20px;
}

.backTobtn a:hover{
    color: #000;
    transition: 0.3s;
}

@media (max-width: 767px){

     header.wrapper-header{
        display: block;
        text-align: center;
        padding: 0;
        margin: 20px auto;
        width: 90%;
    }

    header.wrapper-header ul{
        text-align: center;
        margin: 8px auto;
        width: 100%;
    }

    header.wrapper-header ul li{
        font-size: 12px;
    }

    /*タイトル*/
    h3.title-h3{
        text-align: center;
        margin: auto;
    }

    .article-img{
    width: 60%;
    height: auto;
}

img.article-img{
    width: 100%;
    height: auto;   
    margin: 20px auto;
}

footer p{
    color: white;
    text-align: center;
    font-size: 13px;
}
}