/**
kurehatory.co.jpのCSSを打ち消すためのreset.css

*/

main {
    margin: 0 !important;
    padding: 0 !important;
}

button {
    min-width: unset;
}

:root {
    --width-header: 230px;
    --width-card-area: calc(100% - var(--width-header));
    --width-card: 600px;

    --min-height-card: 200px;

    --layer-card: 10;
    --layer-menu: 11;
    --layer-menu-btn: 12;
}

body {
    display: flex;
    flex-direction: column;
}

header {
    width: var(--width-header);
}

:root {
    --color-primary: #d6e9ca;
    --color-primary-rgb: 214, 233, 202;
    --color-secondary: #fdfcf5;
    --color-body: rgba(0, 0, 0, 0.77);
    --color-body-thiner: rgba(9, 29, 9, 0.655);
}

body {
    background: var(--color-primary);
    color: rgba(0, 0, 0, 0.77);
}

span,
p {
    color: rgba(0, 0, 0, 0.77);
}

header,
.header_inner,
.card,
.about {
    background: #fdfcf5;
}

.sp_bar {
    background: rgba(214, 233, 202, 0.5);
}

.card_reload_btn {
    background: rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 570px) {
    .nikukyu {
        position: fixed;
        left: 50%;
        bottom: 12%;
        -webkit-transform: translate(-50%, -20%);
        transform: translate(-50%, -20%);
    }

    .nikukyu span {
        display: inline-block;
        position: relative;
        top: 0;
        width: 15px;
        height: 40px;
        margin: 0 10px;
        border-radius: 40%;
        background: rgba(0, 0, 0, 0.2);
    }

    .nikukyu span:first-child,
    .nikukyu span:last-child {
        top: 10px;
        height: 35px;
    }
}

.menu_button {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 30px;
}

#menuOpen span {
    display: block;
    height: auto;
    margin-top: 5px;
    margin-right: 5px;
    padding: 12px 7px;
    font-size: 60%;
    text-align: center;
    /* border: 1px solid rgba(0, 0, 0, 0.1); */
    border-radius: 5px;
    background: rgba(214, 208, 208, 0.1);
}

.header_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    z-index: 1;
}

.header_menu a img {
    height: 40px;
    margin: 5px auto;
}

.header_menu ul {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    text-align: center;
}

.header_menu ul li {
    display: block;
    width: 80%;
    margin: 5px auto;
}

.header_menu ul li a {
    color: #fff;
}

.nav_menu_close_btn {
    display: block;
    width: 80%;
    margin: 15px auto;
    padding: 20px 0;
    color: gray;
    border: none;
}

span {
    display: block;
}

#word_id {
    position: absolute;
    bottom: 16px;
    left: 16px;
}

#word_id span {
    font-size: 10px;
    color: gray;
}

@media screen and (max-width:768px) {
    .card {
        padding: 8%
    }
}