@charset "utf-8";

@font-face {
    font-family: 'Orbitron';
    font-display: block;
    src: url('../resources/fonts/Orbitron-SemiBold.ttf');
}

@font-face {
    font-family: 'Pacifico';
    font-display: block;
    src: url('../resources/fonts/Pacifico-Regular.ttf');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-display: block;
    src: url('../resources/fonts/RobotoCondensed-Regular.ttf');
}

@font-face {
    font-family: 'Caveat';
    font-display: block;
    src: url('../resources/fonts/Caveat-Regular.ttf');
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    -webkit-font-smoothing: subpixel-antialiased;
    overflow-x: hidden;
    font-family: 'メイリオ', 'Meiryo', sans-serif;
    width: 100%;
}

header {
    height: 10vh;
    width: 100%;
    background-color: #ffffff;
    padding: 0 1%;
    display: flex;
    align-items: center;
}

a {
    text-decoration: none;
    color: #ff8e1e;
    transition: .3s;
}

a:hover {
    color: #ff2d2d;
}

main {
    margin: 0 5%;
    display: flex;
    flex-direction: row-reverse;
}

section {
    padding: 2vh 5px;
    width: 50vw;
    margin-left: 20vw;
    background-color: #ffffff;
}

h2,
p {
    margin: 10px 0;
}

.logo-area {
    margin-left: 2%;
}

.logo-area>a {
    display: flex;
    align-items: center;
    font-family: "Caveat", cursive;
    color: #000000;
    font-size: 20px;
}

.logo-area>a>img {
    width: 40px;
    height: 40px;
    margin: 0;
}

#menu {
    background-color: #ffffff;
    width: 15vw;
    margin-left: 5vw;
    font-size: 24px;
}

#menu .logo-area {
    display: none;
}

#btn {
    display: none;
}

nav ul {
    background-color: #ffffff;
    margin: 10vh 0 0 0;
    height: auto;
    width: 100%;
    display: block;
    padding: 0 10px;
}

nav ul li {
    height: 40px;
    border-bottom: 1px solid #c0c0c0;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
}

nav ul li span {
    width: 100%;
    margin: 0 5%;
}

nav ul li a,
ul li ul {
    width: 100%;
    margin: 0;
}

ul li ul li:last-child {
    border-bottom: none;
}

#filter {
    background-color: rgba(0, 0, 0, 0);
    transition: .4s;
}

#filter.active {
    background-color: rgba(0, 0, 0, 0);
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
}

#rabbitrun {
    font-family: 'Pacifico', cursive;
}

.items {
    list-style: none;
    padding-left: 0;
}

.items>li {
    border-top: 1px solid #dcdcdc;
    padding: 2.5%;
}

.items>li:last-child {
    border-bottom: 1px solid #dcdcdc;
}

span.date {
    display: block;
    font-size: .75em;
    color: #808080;
}

span.title,
.headlines {
    display: block;
    font-size: 1.25em;
    color: #333333;
    font-weight: bold;
}

div.sumb-area {
    display: flex;
}

div.sumb-area>.sumbnail {
    width: 70px;
    height: 70px;
    margin-right: 10px;
}

div.sumb-area>.sumbnail>img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    object-position: 0 0;
}

div.sumb-area>.digest {
    padding: 5px 0;
    color: #333333;
}

#about>div.sumb-area {
    align-items: center;
    margin-top: 10px;
}

.headlines {
    border-bottom: 1px solid #d3d3d3;
}

section#presents {
    margin-bottom: 0;
    padding-bottom: 10px;
}

#presents>div:last-child>span {
    display: block;
    text-align: center;
    color: #696969;
    font-size: .75em;
}

#presents>div:last-child>span:first-child {
    margin-top: 5px;
}

footer {
    height: 10vh;
    border-top: 1px solid #dcdcdc;
    background-color: #efefef;
    text-align: center;
    padding: 10px 0;
}


@media screen and (max-width: 900px) {
    main {
        flex-direction: row;
    }

    section {
        width: 60vw;
        margin-left: 5vw;
    }

    #menu {
        width: 25vw;
        margin-left: 0;
    }
}

@media screen and (max-width: 767px) {
    main {
        display: block;
    }

    section {
        width: 100%;
        margin: 0;
        padding: 1vh 2.5%;
    }

    section:first-child {
        padding: 0 2.5%;
    }

    section#itemlist {
        padding: 1vh 0;
    }

    main {
        margin: 0;
    }

    header {
        height: 50px;
        justify-content: center;
        border-bottom: 1px solid #dcdcdc;
    }

    header .logo-area img {
        display: none;
    }

    .logo-area {
        margin-left: 0;
    }

    .logo-area>a>span {
        width: 70px;
    }

    #menu {
        position: fixed;
        background-color: #ffffff;
        width: 70%;
        height: 100vh;
        left: 100%;
        font-size: unset;
        margin: 0;
        transition: .3s;
        top: 0;
        left: 100%;
        align-items: normal;
    }

    #menu.active {
        left: 30%;
        z-index: 50;
    }

    #menu .logo-area {
        height: 50px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #808080;
    }

    nav ul {
        background-color: #ffffff;
        margin: 0;
        height: auto;
        width: 100%;
        display: block;
    }

    #btn {
        position: fixed;
        display: block;
        right: 0;
        width: 60px;
        height: 50px;
        cursor: pointer;
        z-index: 60;
    }

    #btn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 18px;
        height: 2px;
        background-color: #666;
    }

    #btn span:nth-of-type(1) {
        top: 20px;
        width: 40%;
    }

    #btn span:nth-of-type(2) {
        top: 30px;
        width: 40%;
    }

    #btn.active span:nth-of-type(1) {
        top: 20px;
        left: 20px;
        transform: translateY(6px) rotate(-45deg);
        width: 35%;
    }

    #btn.active span:nth-of-type(2) {
        top: 32px;
        left: 20px;
        transform: translateY(-6px) rotate(45deg);
        width: 35%;
    }

    nav ul li {
        height: 40px;
        border-bottom: 1px solid #c0c0c0;
        width: 100%;
        margin: 0;
    }

    nav ul li span {
        width: 100%;
        margin: 0 5%;
    }

    #filter.active {
        background-color: rgba(0, 0, 0, 0.5);
    }

    #about>div.sumb-area {
        align-items: center;
        margin-top: 10px;
    }

    div.sumb-area>.sumbnail {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }

    div.sumb-area>.sumbnail>img {
        width: 60px;
        height: 60px;
    }

    div.sumb-area>.digest {
        padding: 0;
    }

    .myname {
        display: block;
        font-weight: bold;
    }

    .headlines {
        border-bottom: 1px solid #a9a9a9;
    }

    footer {
        height: 60px;
        padding: 5px 0;
    }
}