* {
    margin: 0;
    padding: 0;
}

body {
    color: #333;
    font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}

a {
    color: #333;
    text-decoration: none;
}

li {
    list-style:none;
}

header {
    max-width: 1200px;
    padding: 0 16px;
    margin: 0 auto;
    width: 100%;
    background-color: white;   
}

.header-container {
    position: fixed;
}

header ul {
    display: flex;
    font-size: 14px;
    color: white;
    background-color: #333;
    box-shadow: 0 0 0 100vmax #333;
    clip-path: inset(0 -160%);
}

header li {
    padding: 10px 60px 10px 0;
}

header img {
    display: flex;
    width: 145px;
    padding: 20px 0;
    background-color: white;
    box-shadow: 0 0 0 100vmax white;
    clip-path: inset(0 -900%);
}

main, footer {
    max-width: 1200px;
    padding: 0 16px;
    margin-right: auto;
    margin-left: auto;
}

.read-more {
    display: flex;
    justify-content: center;
    font-size: 0.875rem;
    text-decoration: underline;
}

.top-article {
    display: flex;
    padding-top: 150px;
    margin-bottom: 60px;
    justify-content: space-between;
}

.top-article img {
    max-width: 100%;

}

.top-article div {
    width: 32%;
}

.top-article h2 {
    font-size: 1rem;
}

h2 {
    margin: 10px 0 15px 0;
}

.main-contents {
    display: flex;
    justify-content: space-between;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 60px;
}

.articles {
    width: 65%;
}

.articles img {
    max-width: 100%;
}

.articles h2 {
    font-size: 24px;
}

.articles ul {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

.articles article {
    margin-bottom: 80px;
}

.articles p {
    font-size: 16px;
}

.sidebar {
    width: 33%;
    padding: 20px;
}

.sidebar section {
    margin-bottom: 60px;
}

.sidebar h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
}

.icon {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.profile img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
}


.profile {
    font-size: 0.875rem;
}

.ranking h4 {
    font-size: 0.875rem;
}

footer {
    background-color: #f7f7f7;
    box-shadow: 0 0 0 100vmax #f7f7f7;
    clip-path: inset(0 -100%);
}

.ranking img {
    max-width: 100%;
}

.archive li {
    padding: 20px;
    font-size: 0.875rem;
}

.archive li:first-child {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.archive li + li {
    border-bottom: 1px solid black;
}


.footer-contents {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
    margin: 0 auto;
}

.footer-contents div {
    width: 30%;
}

.footer-contents h3 {
    font-size: 18px;
    margin-bottom: 30px;
}

.footer-contents p, .footer-contents a {
    font-size: 14px;
}

.about ul {
    margin: 20px 0;
}

.about a {
    position: relative;
    display: inline-block;
    padding-left: 12px;
    color: #333;
}

.about a::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #333;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -6px;
}

.menu li {
    padding: 15px;
}

.menu li:first-child {
    border-top:1px solid black;
    border-bottom:1px solid black;
}

.menu li + li {
    border-bottom:1px solid black;
}

.copyright {
    font-size: 12px;
    text-align: center;
    padding: 10px 0;
}



/* {
	outline: 1px solid magenta;
}