/* 霧小蒜の小窩 | https://ciallovo.top */
a {
    text-decoration: none;
    color: var(--white);
    text-align: center;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.index-hero {
    min-height: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    box-sizing: border-box;
    padding-bottom: 8vh;
}

.typing {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    padding-left: 10%;
    padding-top: 0;
    color: var(--white);
    font-size: 5em;
}

.tw-cursor {
    -webkit-animation: blink 0.7s step-end infinite;
    animation: blink 0.7s step-end infinite;
}

@-webkit-keyframes blink {
    50% { opacity: 0; }
}

@keyframes blink {
    50% { opacity: 0; }
}

@media (max-width: 768px) {
    .index-hero {
        min-height: auto;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        padding-top: 18vh;
        padding-bottom: 8vh;
    }

    .typing {
        padding-left: 5%;
        font-size: 3em;
    }

    .about-button-container {
        padding-top: 5% !important;
        padding-left: 5% !important;
        padding-bottom: 10vh;
    }

    .about-button {
        padding: 1% 3% 2% 3% !important;
        border-width: 1px !important;
        font-size: 1.5em;
        border: none !important;
        background-color: transparent !important;
    }
}

@media screen and (max-width: 230px) {
    .typing {
        font-size: 2em;
        padding-left: 5%;
    }

    .about-button {
        font-size: 1.2em !important;
    }
}

@keyframes button {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes button {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.about-button-container {
    padding-top: 2%;
    padding-left: 10%;
    -webkit-animation: button 1s;
    animation: button 1s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.about-button {
    padding: 5px 10px 5px 10px;
    display: inline-flex;
    border-width: 1px;
    border-style: solid;
    border-color: var(--white_20);
    border-radius: 15px;
    background-color: var(--blue_20);
    font-size: 1.5em;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
    white-space: nowrap;
}

.about-button:hover {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-transition: ease 0.5s;
    transition: ease 0.5s;
    border-color: var(--white_50);
    box-shadow: var(--blue_80) 0 2px 5px 0;
    background-color: var(--blue_80);
}

.signboard {
    position: fixed;
    right: -5em;
    bottom: -10em;
    width: 40%;
    height: auto;
    border: 1px solid var(--blue_20);
    border-radius: 5px;
    background-color: var(--blue_80);
    line-height: 0.85em;
    -webkit-animation: signboardleft 7s;
    animation: signboardleft 7s;
    z-index: 1000;
    padding-bottom: 1em;
}

.signboard p {
    font-size: 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin-left: 1em;
    margin-right: 1em;
    padding-top: 0.5em;
}

.signboard a {
    color: var(--brown) !important;
}

.signboard small {
    font-size: 0.8em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.signboard h4 {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
}

@media (max-width: 768px) {
    .signboard {
        width: auto;
        left: 20px;
        -webkit-animation: signboardup 7s;
        animation: signboardup 7s;
    }
}

@keyframes signboardup {
    0% {
        bottom: -10em;
        right: 1em;
        opacity: 0;
    }

    20% {
        bottom: -10em;
        right: 1em;
        opacity: 0;
    }

    30% {
        bottom: 1em;
        right: 1em;
        opacity: 1;
    }

    90% {
        bottom: 1em;
        right: 1em;
        opacity: 1;
    }

    100% {
        bottom: -10em;
        right: 1em;
        opacity: 0;
    }
}

@-webkit-keyframes signboardup {
    0% {
        bottom: -10em;
        right: 1em;
        opacity: 0;
    }

    20% {
        bottom: -10em;
        right: 1em;
        opacity: 0;
    }

    30% {
        bottom: 1em;
        right: 1em;
        opacity: 1;
    }

    90% {
        bottom: 1em;
        right: 1em;
        opacity: 1;
    }

    100% {
        bottom: -10em;
        right: 1em;
        opacity: 0;
    }
}

@keyframes signboardleft {
    0% {
        bottom: 1em;
        right: -50%;
    }

    20% {
        bottom: 1em;
        right: -50%;
    }

    30% {
        bottom: 1em;
        right: 1em;
    }

    90% {
        bottom: 1em;
        right: 1em;
    }

    100% {
        bottom: 1em;
        right: -50%;
    }
}

@-webkit-keyframes signboardleft {
    0% {
        bottom: 1em;
        right: -50%;
    }

    20% {
        bottom: 1em;
        right: -50%;
    }

    30% {
        bottom: 1em;
        right: 1em;
    }

    90% {
        bottom: 1em;
        right: 1em;
    }

    100% {
        bottom: 1em;
        right: -50%;
    }
}

.noticeboard {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 50vh;
    border: 1px solid var(--blue_20);
    border-radius: 5px;
    background-color: var(--blue_80);
    line-height: 0.85em;
    z-index: 1000;
    padding-bottom: 1em;
    overflow: auto;
}

.noticeboard p {
    font-size: 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0 1em;
    padding-top: 0.5em;
}

.noticeboard a {
    color: var(--brown) !important;
}

.noticeboard small {
    font-size: 0.8em;
    -webkit-user-select: none;
    user-select: none;
    margin: 0;
}

.noticeboard h4 {
    -webkit-user-select: none;
    user-select: none;
    margin: 1em 1em 0 1em;
}

.index-content section {
    margin-right: 15px;
}

.index-content section a {
    display: block;
    color: inherit;
    -webkit-animation: none;
    animation: none;
    word-break: inherit;
    text-decoration: none;
}

.archive-link {
    display: block;
    text-align: right;
    margin-top: 8px;
    margin-right: 15px;
    padding: 6px 0;
    color: var(--white_90);
    font-size: 0.95em;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.archive-link:hover {
    color: var(--brown);
}

.index-content section a::before {
    display: none;
}

.index-content .posts {
    padding: 12px 0;
    border-bottom: 1px solid var(--white_50);
}

.index-content .posts:last-child {
    border-bottom: none;
}

.index-content .posts h3 {
    margin: 0 0 4px;
    font-size: 1.1em;
}

.index-content .posts p {
    margin: 0 0 2px;
    font-size: 0.95em;
    line-height: 1.5;
}

.index-content .posts .time {
    margin: 2px 0 0;
    font-size: 0.8em;
    color: var(--white_90);
}

.index-content .posts .tags {
    margin: 4px 0 2px;
    font-size: 0.85em;
    line-height: 1.6;
}

.index-content .posts .tags .tag {
    display: inline-block;
    padding: 1px 8px;
    margin-right: 4px;
    border-radius: 4px;
    background: var(--white_10);
    color: var(--white_80);
    font-size: 0.85em;
}


.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

@supports not (gap: 1px) {
    .pagination .page-btn ~ .page-btn {
        margin-left: 8px;
    }
}

.page-btn {
    background: var(--white_10);
    color: var(--white_90);
    border: 1px solid var(--white_20);
    border-radius: 6px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 0.9em;
    font-family: inherit;
    -webkit-transition: background 0.2s;
    transition: background 0.2s;
}

.page-btn:hover {
    background: var(--white_20);
}

.page-btn.active {
    background: var(--brown);
    color: var(--blue);
    border-color: var(--brown);
    font-weight: bold;
}

.index-memo-zone {
    background: var(--white_10);
    border-radius: 10px;
    padding: 5px 25px 15px;
    margin: 3vh 12% 20px;
    line-height: 1em;
    position: relative;
    overflow: hidden;
}

.index-memo-zone > h2 {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow-wrap: break-word;
    font-size: 1.1em;
}

.index-memo-list {
    margin-top: 0;
}

.index-memo {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    background-color: var(--white_10);
    border: 1px solid var(--white_50);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.index-memo__text {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.2em;
    font-size: 0.85em;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
}

.index-memo__time {
    width: 100%;
    font-size: 0.7em;
    margin: 4px 0 0;
    line-height: 1.3em;
    color: inherit;
    overflow-wrap: break-word;
    word-break: break-all;

    -webkit-user-select: none;
    user-select: none;
}

@media (max-width: 768px) {
    .post-br {
        display: none;
    }

    .index-memo-zone {
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 20px 20px !important;
        line-height: normal !important;
        position: static !important;
        -webkit-animation: none !important;
        animation: none !important;
    }

    .index-memo-zone > h2 {
        padding: 0;
        margin: 0 0 10px;
        font-size: 1.1em;
    }

    .index-memo-list {
        padding: 0;
    }

    .index-memo {
        background: none;
        border: none;
        border-radius: 0;
        padding: 12px 0;
        margin: 0;
        border-bottom: 1px solid var(--white_50);
        gap: 6px;
    }

    .index-memo:last-child {
        border-bottom: none;
    }
}