@charset "utf-8";

/* sp */

body {
    font-family: "Noto Sans JP", serif;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.font-en {
    font-family: "Noto Sans", sans-serif;
}

.wrapper {
    padding-inline: 16px;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}

/* header */
header {
    width: 100%;
    margin-bottom: 34px;
    position: fixed;
    background-color: #fff;
}

header h1 {
    padding: 0;
    margin: 0;
}

header h1 img{
    margin: 20px auto 20px 16px;
}

.navi {
        background: #333;
}

header nav ul {
    display: flex;
    padding-inline: 15px;
    justify-content: space-between;
}

.nav-item {
    list-style-type: none;
    color: #fff;
    font-size: 14px;
    line-height: 16px;
    padding: 10px 0;
}


/* first-view */
.first-view {
    padding-top: 150px;
}

.first-view ul li {
    padding-bottom: 30px;
}

.first-view ul li:last-child {
    padding-bottom: 100px;
}


.first-view img {
    margin-bottom: 10px;
}

.first-view h2 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding-bottom: 15px;
}

.first-view a, article section a {
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: normal;
    display: block;
    margin: 0 auto;
    width: fit-content;
    position: relative;
    &:hover::after{
        opacity: 0;
        bottom: -2px;
    }
    &::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: #333;
        bottom: 0;
        left: 0;
        opacity: 1;
        transition: all .3s ease;
    }
}



/* main */
article section h2 {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 20px;
}

article section div {
    display: flex;
    gap: 20px;
}

article section .main-s {
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 40px 30px;
    width: auto;
}

article section a {
    margin-bottom: 90px;
}

.main-last {
    margin-bottom: 0px;
}

article {
    padding-bottom: 80px;
}

/* aside */
aside {
    padding-bottom: 120px;
}

aside h2 {
    font-size: 18px;
    font-weight: bold;
}

/* profile */
#profile {
    display: grid;
    gap: 30px;
    justify-items: center;
    padding-bottom: 60px;
}

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

/* ranking */
#ranking {
    display: grid;
    gap: 30px;
    justify-items: center;
    padding-bottom: 30px;
}


#ranking ul li {
    padding-bottom: 30px;
}

/* archive */
#archive h2 {
padding-bottom: 30px;
text-align: center;
}

#archive ul li {
    padding: 20px 0 20px 20px;
    border-top: 1px solid #777;
}

#archive ul li:last-child {
    border-bottom: 1px solid #777;
}

/* footer */
footer {
    background-color: #f7f7f7;
    padding-top: 50px;
}

footer h3 {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 30px;
}

/* about */
#about {
    padding-bottom: 50px;
}

#about p {
    padding-bottom: 20px;
}

.list-triangle {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.list-triangle > li {
    position: relative;
    padding: 0px 0px 0px 1em;
}
.list-triangle > li::before {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    width: 0px;
    height: 0px;
    border: 0.3em solid transparent;
    border-left: 0.4em solid #333;
    content: "";
}



/* menu */
#menu {
    padding-bottom: 30px;
}

#menu ul li {
    font-size: 14px;
    padding: 15px 0 15px 15px;
    border-top: 1px solid #333;
}

#menu ul li:last-child {
    border-bottom:  1px solid #333;
}

/* twitter */
#twitter {
    padding-bottom: 90px;
}
#twitter a{
    display: block;
    width: 100%;
    height: 315px;
    background-color: #ededed;
    overflow: hidden;
}

/* small */
small {
    font-size: 12px;
    width: 100%;
    text-align: center;
}

@media screen and (max-width: 960px) {
    .nav-item:last-child {
        display: none;
    }
}


@media screen and (min-width: 960px){
    .wrapper {
        max-width: 1166px;
        margin: 0 auto;
    }

    header h1 {
        max-width: 1166px;
        margin: 0 auto;
    }

    .navi {
        width: 100%;
    }

    header nav ul {
        max-width: 1166px;
        margin: 0 auto;
        justify-content: flex-start;
        gap: 60px;
    }

    .first-view ul {
        display: flex;
        justify-content: space-around;
        gap: 20px;
    }

    .column {
        display: flex;
        justify-content: space-around;
    }

    article {
        width: 70%;
    }

    aside {
        width: 25%;
    }

    footer.wrapper {
        width: 100%;
    }

    .footer-nav {
        max-width: 1167px;
        margin: 0 auto;
        display: flex;
        justify-content: space-around;
    }

    .footer-nav div {
        width: 350px;
    }
}

