@charset "utf-8";


@media screen and (min-width:933px) {

    h1 {
        font-size: 40px;
        position: fixed;
        top: -23px;
        left: 6%;
    }

    h2.section-title {
        font-size: 30px;
        padding-left: 90px;
    }

    h3 {
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 22px;
        width: 400px;
        text-align: left;
    }
    
    a:hover {
        opacity: 0.6;
    }

    /* ハンバーガーメニュー */

    /* ページ内リンク調整 */
    section:before {
        content: "";
        display: block;
        height: 100px;
        /* 調整したい高さ（固定ヘッダーの高さ） */
        margin-top: -40px;
        /* heightと同じ分のネガティブマージン */
        visibility: hidden;
    }

    .menu-icon span {
        display: none;
    }

    .nav-links {
        list-style-type: none;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        position: sticky;
        padding-right: 20px;
    }

    .nav-links li {
        padding-right: 10px;
        padding-left: 10px;
    }

    .nav-links li a {
        text-decoration: none;
        font-size: 20px;
        transition: 0.3s;
        padding-right: 20px;
    }


    /* ハンバーガーメニューここまで */

    #header-border {
        width: 100vw;
        height: 85px;
        background-color: #fed120;
        position: fixed;
        top: 0;
        z-index: 300;
        left: 0;
    }

    .container {
        padding-left: 10%;
    }

    .container p {
        padding-left: 2%;
    }

    header {
        padding-top: 10px;
        padding-left: 200px;
        padding-right: 200px;
    }


    #top-image {
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
    }

    #contents-about {
        flex-direction: row;
        padding-left: 50px;
    }

    #about-img {
        height: 120px;
        width: 120px;
        padding: 20px;
    }

    section {
        padding-right: 50px;
        padding-left: 50px;
    }

    /* Skills */

    #skills-flex {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .sub-container:last-child {
        margin-right: 10%;
    }

    .sub-container.p {
        margin-right: 10px;
    }

    /* Works */

    #flex-games {
        justify-content: start;
    }

    /* ニュース */

    #title-news {
        margin-right: 50px;
        margin-left: 50px;
    }

    #news li {
        left: -40px;
    }

    #news p {
        font-weight: 500;
        color: #252525;
        text-align: left;
        overflow-wrap: normal;
        width: 480px;
    }
    p.news-title {
        font-size: 18px;
        margin-top: 5px;
    }
    p.main-sentence {
        line-height: 160%;
        display: none;
        padding-top: 10px;
    }

    p.timeP {
        margin-top: 0.8%;
        text-indent: 0%;
    }
    
    .bordered {
        padding: 5px 5px 5px 5px;
        margin: 5px;
        border-radius: 10px;
        max-width: 500px;
    }

    .bordered:hover {
        opacity: 0.6;
    }

    p.bordered.expanded {
        max-width: 480px;
    }

/* ページトップ */

    #page-top {
        width: 100px;
        height: 100px;
        border: #242424 3px solid;
    }
    
    #page-top p {
        font-size: 35px;
        text-align: center;
        margin-top: 25px;
    }

    #flex-x {
        justify-content: left;
        padding-left: 100px;
    }

}