* {
    margin: 0;
}

body {
    font-family: "Droid Sans", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "MS Ｐゴシック", sans-serif;
}

p {
    text-align: justify;
}


/* ---------header---------- */
.header {
    width: 100%;
    position: fixed;
    background-color: white;
    z-index: 10;
}

.header img {
    padding: 25px 0 5px 14.5%;
    display: inline-block;
}

.navi {
    background-color: #333;
    width: 100%;
    padding: 0 16px;
    margin: 10px auto 0;
}

.toc {
    width: 72%;
    margin: 0 auto;
    padding-bottom: 5px;
}

.toc a {
    margin-right: 40px;
    font-size: 13px;
    text-decoration: none;
    color: white;
}

.scrolldown4 {
    display: none;
}

/* -------------------------- */

/* ---------pickup------- */
.pickup {
    display: flex;
    width: 70%;
    margin: 0 auto;
    padding-top: 110px;
    justify-content: space-between;
}

.unit {
    width: 30%;
    padding: 40px 0 100px;
}

.unit img {
    width: 100%;
    height: 200px;
}

.unit p {
    width: 100%;
    height: 140px;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.5rem;
    margin-bottom: 30px;
}

.unit a {
    display: grid;
    text-align: center;
    color: black;
    font-size: 12px;
}

/* -------------------------- */

.container {
    display: flex;
    width: 1200px;
    padding: 0 16px;
    margin: 0 auto;
}

/* --------main------------- */
.main {
    width: 600px;
    height: 2000px;
    display: inline-block;

}

.main h1 {
    width: 570px;
    margin-right: 0;
}

.main h2 {
    font-size: 15px;
    width: 650px;
    margin: 0 0 20px 50px;
    font-weight: normal;
    line-height: 1.5rem;
}

.main a {
    color: black;
    margin: 0 0 60px 330px;
    font-size: 12px;
    display: inline-block;
}

.main img {
    width: 750px;
    height: 10%;
}

.main p {
    font-size: 12px;
    margin: 20px 0 10px;
    width: 200px;
}

.article {
    margin-right: 0;
}

/* -------------------------- */

/* ---------aside------------ */
.aside {
    width: 33%;
    margin-top: 10px;
    margin-left: 200px;
}

.profile {
    margin-bottom: 60px;
}

.profile img {
    display: block;
    width: 160px;
    margin: 0 auto;
    border-radius: 50%;
}

.profile h3 {
    text-align: center;
    margin: 40px 0 30px;
    font-size: 14px;
    font-weight: bold;
}

.profile p {
    width: 100%;
    font-size: 14px;
    line-height: 1.5rem;
}

.ranking {
    margin-bottom: 60px;
}

.ranking h3 {
    width: fit-content;
    margin: 40px auto 30px;
    font-size: 14px;
    font-weight: bold;
}

.ranking img {
    width: 100%;
}

.ranking p {
    width: 100%;
    font-size: 14px;
    line-height: 1.5rem;
}

.unit2 {
    margin-bottom: 20px;
}

.archive {
    margin-bottom: 120px;
    width: 350px;
    height: 1000px;
}

.archive h3 {
    margin: 40px 0 30px 135px;
    font-size: 14px;
    font-weight: bold;
}

.archive ul {
    font-size: 14px;
    padding: 20px 30px 20px 20px;
    border-top: solid 1px black;
}

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

.end {
    border-bottom: solid 1px black;
}

/* ------------------------------------ */

/* --------footer--------- */
.footer {
    width: 100%;
    /* height: 550px; */
    background-color: rgb(246, 245, 245);
}

.container2 {
    width: calc(100vw - 30vw);
    margin: 0 auto;
    padding-top: 60px;
    display: flex;
    justify-content: baseline;
}

.about {
    width: 350px;
}

.about h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 40px;
}

.about p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5rem;
}

.about a {
    color: black;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.triangle1 {
    width: 0;
    height: 0;
    border-left: 7px solid black;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    display: inline-block;
}

.menu {
    width: 350px;
    margin-left: 60px;
}

.menu h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 40px;
}

.menu ul {
    font-size: 14px;
    padding: 15px 30px 15px 20px;
    border-top: solid 1px black;
}

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

.end {
    border-bottom: solid 1px black;
}

.twitter {
    width: 350px;
    margin-left: 60px;
}

.twitter h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 40px;
}

.timeline-Header-byline {
    line-height: 16px;
    color: #000000;
}

.footer-foot {
    font-size: 4px;
    text-align: center;
    padding: 80px 0 10px;
    background-color: rgb(246, 245, 245);
}

@media(max-width: 767px) {
    html {
        width: 100%;
    }

    .header {
        width: 100%;
    }

    .header img {
        padding: 20px 16px;
    }

    .header img {
        padding: 15px 0 0 20px;
    }

    .navi {
        overflow-x: scroll;
        padding: 10px 25px;
    }

    .toc {
        width: max-content;
        margin: 0 auto;
        padding: 0;
    }

    .toc a {
        width: 100%;
        margin-right: 60px;
        font-size: 12px;
    }

    /*スクロールダウン全体の場所*/
    .scrolldown4 {
        display: block;
        /*描画位置※位置は適宜調整してください*/
        position: absolute;
        bottom: 1%;
        right: 50%;
        /*矢印の動き1秒かけて永遠にループ*/
        animation: arrowmove 1s ease-in-out infinite;
    }

    /*下からの距離が変化して全体が下→上→下に動く*/
    @keyframes arrowmove {
        0% {
            left: 85%;
        }

        50% {
            left: 87%;
        }

        100% {
            left: 85%;
        }
    }

    /*Scrollテキストの描写*/
    .scrolldown4 span {
        position: absolute;
        left: -10px;
        bottom: -37px;
        color: black;
        font-size: 0.7rem;
        letter-spacing: 0.05em;
    }

    /* 矢印の描写 */
    .scrolldown4:before {
        content: "";
        position: absolute;
        bottom: -15px;
        right: -32px;
        width: 15px;
        height: 1px;
        background: black;
        transform: rotate(30deg);
    }

    .scrolldown4:after {
        content: "";
        position: absolute;
        bottom: -19px;
        right: -32px;
        width: 50px;
        height: 1px;
        background: black;
    }

    .pickup {
        flex-direction: column;
        padding-top: 160px;
        width: 90%;
    }

    .unit {
        width: 100%;
        margin: 0;
        padding: 30px 0 40px;
    }

    .unit img {
        width: 100%;
    }

    .unit p {
        height: 80px;
    }

    .container {
        width: 100%;
        flex-direction: column;
    }

    .main {
        width: 100%;
        height: 1700px;
        margin-top: 70px;
    }

    .main a {
        margin-left: 40%;
    }

    .main h1 {
        width: 100%;
    }

    .main h2 {
        width: 100%;
        margin: 0;
    }

    .main img {
        width: 100%;
    }

    article {
        margin-right: 0;
        margin: 15px 0 15px;
    }

    .aside {
        width: 100%;
        margin-left: 0;
    }

    .profile img {
        margin-left: 33%;
        margin-top: 100px;
    }


    .ranking img {
        width: 100%;
    }

    .ranking h3 {
        margin-left: 41%;
    }

    .ranking p {
        width: 100%;
    }

    .archive {
        width: 100%;
    }

    .archive h3 {
        margin-left: 41%;
    }

    /* .footer {
        width: 100%;
    } */

    .container2 {
        flex-direction: column;
        width: 100%;
        padding: 60px 16px 0 16px;
        background-color: rgb(246, 245, 245);
    }

    .about {
        width: 100%;
    }

    .menu {
        width: 100%;
        margin-left: 0;
        margin-top: 50px;
    }

    .twitter {
        width: 100%;
        margin-left: 0;
        margin-top: 50px;
    }

    .footer-foot p {
        font-size: 13px;
        text-align: center;
    }

}