@charset "utf-8";

/* CSS_custom_properties */

:root {
    --hamburger: 30px;
    --user-icon: 3rem;
    --icon-font: "remixicon";
    --wn-pink: rgb(233, 30, 99);
    --wn-pink-rgb: 233, 30, 99;
    --wn-blue: #1da1f2;
    --hero-height: 160px;
    --icon-size: 100px;
    --button-link-color: #fafafa;
    --scrollbar-width: 8px;
    --cont-width: 680px;
    --loading-z-index: 1000;
    --quickpost-z-index: 200;
    --hamburger-z-index: 100;
    --searchopen-z-index: 2;
    --sidebar-z-index: 10;
    --dropdownmenu-z-index: 1;
}

:root[theme="light"] {
    --bg-color: #fafafa;
    --bg-color-rgb: 245, 245, 245;
    --bg-sidebar: #f5f5f5;
    --text-color: #2d2d2d;
    --text-color-rgb: 72, 70, 76;
    --input-area-bg: #eceff1;
    --input-area-bg-rgb: 236, 239, 241;
    --input-text-color: rgb(33, 33, 33);
    --input-text-color-rgb: 33, 33, 33;
    --onelogbox-border-color: #e0e0e0;
    --link-color: rgb(0, 30, 67);
    --link-color-rgb: 0, 30, 67;
    --link-article-color: #1565c0;
    --mode-color: #f9a825;
    --wn-red: #d50000;
    --color-bw: 0, 0, 0;
}

:root[theme="dark"] {
    --bg-color: #212121;
    --bg-color-rgb: 33, 33, 33;
    --bg-sidebar: #263238;
    --text-color: #fafafa;
    --text-color-rgb: 250, 250, 250;
    --input-area-bg: #263238;
    --input-area-bg-rgb: 38, 50, 56;
    --input-text-color: #fffffe;
    --input-text-color-rgb: 255, 255, 254;
    --onelogbox-border-color: #424242;
    --link-color: #e3f2fd;
    --link-color-rgb: 227, 242, 253;
    --link-article-color: #29b6f6;
    --mode-color: #fcc800;
    --wn-red: #ef5350;
    --color-bw: 255, 255, 255;
}

/* Utilities */

html,
body {
    min-height: 100%;
}

body {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-weight: 500;
}

/* link */

a {
    color: var(--link-color);
    text-decoration: none;
}

.external-link-icon::after {
    font-family: var(--icon-font);
    content: "\ecaf";
    padding-left: 2px;
    padding-right: 2px;
}

/* line-height */

.lh-content {
    line-height: 1.5;
}

/* color theme */

#mode-icon.lightmode {
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>');
            mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>');
    background-color: var(--mode-color);
}

#mode-icon.darkmode {
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>');
            mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>');
    background-color: var(--mode-color);
}

/* custom scrollbar */

.no-scroll {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
}

.invisible-scrollbar::-webkit-scrollbar {
    display: none;
}

.invisible-scrollbar {
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}

body::-webkit-scrollbar-thumb {
    background-color: rgb(150 150 150);
}

body::-webkit-scrollbar-track {
    background-color: transparent;
}

body::-webkit-scrollbar-corner {
    display: none;
}

/* what-input */

[data-whatinput="mouse"] *:focus {
    outline: none;
}

/* quickpost button */

.postopen {
    background-color: var(--wn-blue);
    color: var(--button-link-color);
    filter: drop-shadow(0 0 3px rgba(var(--color-bw), 0.3));
}

/* Twemoji */

img.emoji {
    height: 1em;
    width: 1em;
    margin: 0 0.05em 0 0.1em;
    vertical-align: -0.1em;
}

.onelogbody img.emoji {
    display: inline-block;
}

/* width, height */

.w1-quarter {
    width: 1.25rem;
}

.w1-half {
    width: 1.5rem;
}

.w2-quarter {
    width: 2.25rem;
}

.w2-half {
    width: 3rem;
}

.h1-quarter {
    height: 1.25rem;
}

.h1-half {
    height: 1.5rem;
}

.h2-quarter {
    height: 2.25rem;
}

.h2-half {
    height: 3rem;
}

.h100vh {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

/* padding */

.pt5-half {
    padding-top: 6rem;
}

/* centering */

.top-half {
    top: 50%;
    transform: translateY(-50%);
}

/* image */

.object-fit-cover {
    -o-object-fit: cover;
       object-fit: cover;
}

/* svg */

svg.fill-cc {
    fill: currentColor;
}

svg.fill-none {
    fill: none;
}

svg.stroke-cc {
    stroke: currentColor;
}

svg.stroke-1-half {
    stroke-width: 1.5;
}

svg.stroke-2 {
    stroke-width: 2;
}

svg.stroke-2-half {
    stroke-width: 2;
}

svg.stroke-3 {
    stroke-width: 2.5;
}

/* flexbox-gap */

.gap-q {
    gap: 0.25rem;
}

.row-gap-q {
    row-gap: 0.25rem;
}

.column-gap-q {
    -moz-column-gap: 0.25rem;
         column-gap: 0.25rem;
}

.gap-half {
    gap: 0.5rem;
}

.row-gap-half {
    row-gap: 0.5rem;
}

.column-gap-half {
    -moz-column-gap: 0.5rem;
         column-gap: 0.5rem;
}

/* color */

.same-text-color {
    color: var(--text-color);
}

.text-90 {
    color: rgba(var(--text-color-rgb), 0.9);
}

.text-80 {
    color: rgba(var(--text-color-rgb), 0.8);
}

.text-70 {
    color: rgba(var(--text-color-rgb), 0.7);
}

.text-60 {
    color: rgba(var(--text-color-rgb), 0.6);
}

.text-50 {
    color: rgba(var(--text-color-rgb), 0.5);
}

.text-40 {
    color: rgba(var(--text-color-rgb), 0.4);
}

.text-30 {
    color: rgba(var(--text-color-rgb), 0.3);
}

.text-20 {
    color: rgba(var(--text-color-rgb), 0.2);
}

.text-10 {
    color: rgba(var(--text-color-rgb), 0.1);
}

/* border */

.b--btm {
    border-bottom: 1px solid var(--onelogbox-border-color);
}

.b--top {
    border-top: 1px solid var(--onelogbox-border-color);
}

.b--color-50 {
    border-color: rgba(var(--text-color-rgb), 0.5);
}

/* bg-color */

.bg-social-list {
    background-color: var(--input-area-bg);
}

/* position */

.right-3 {
    right: 3rem;
}

.right-4 {
    right: 4rem;
}

.bottom-3 {
    bottom: 3rem;
}

.bottom-4 {
    bottom: 4rem;
}

.bottom-5 {
    bottom: 5rem;
}

.bottom-6 {
    bottom: 6rem;
}

/* Layout */

.container {
    width: 100%;
    opacity: 1;
    transition: opacity 0.45s ease;
}

.section,
.footer,
.header .header__inner {
    max-width: var(--cont-width);
}

/* Separator */

.dateseparator {
    display: none;
}

/* no data */

.nodata {
    padding: 2rem 0.5rem;
    border-top: 1px solid var(--onelogbox-border-color);
}

@media screen and (min-width: 30em) {
    .container,
    .header__container {
        width: calc(100vw - var(--scrollbar-width));
    }

    .no-scroll.container {
        padding-right: var(--scrollbar-width);
    }
}

/* Situation */

.info::before {
    content: "\ef14";
    font-size: 1rem;
    font-family: var(--icon-font);
    vertical-align: middle;
    margin-right: 0.25rem;
}

body.home .info,
body.onelog .info,
body.nofiltering .info {
    display: none;
    padding: 0;
}

/* header */

.header {
    background-color: rgba(var(--bg-color-rgb), 0.75);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
            backdrop-filter: saturate(180%) blur(12px);
}

.header .logo {
    font-size: 1rem;
    max-width: calc(100% - ((var(--hamburger) + 1.5rem) * 2));
    margin-right: calc((var(--hamburger) + 1.5rem) * 2);
    overflow-wrap: break-word;
    word-break: break-all;
}

.hero {
    height: var(--hero-height);
    background-position: center center;
    margin-bottom: calc((var(--icon-size) / 2) + 0.5rem);
    background-image: url("../src/cover.png");
}

.covericon {
    width: var(--icon-size);
    height: var(--icon-size);
    top: calc((var(--hero-height) - (var(--icon-size) / 2) ));
    left: 0.5rem;
    box-sizing: border-box;
    border: 4px solid var(--bg-color);
    background-image: url("../src/icon.png");
    background-position: center center;
    background-size: cover;
}

/* hero > social-area */

.hero .social-area {
    top: calc((var(--hero-height) + 0.5rem ));
    right: 1rem;
}

/* dropdown menu */

.hero .social-area .dropdown__body {
    display: none;
}

.hero .social-area .dropdown__item a {
    color: var(--text-color);
}

.hero .social-area .dropdown__btn.is-open + .dropdown__body {
    display: block;
    z-index: var(--dropdownmenu-z-index);
    background-color: var(--bg-color);
    box-shadow: 0 0 8px 2px rgba(var(--text-color-rgb), 0.1);
}

.hero .social-area .dropdown__btn.is-open::after {
    content: "";
    width: 100%;
    height: 100%;
    cursor: default;
    position: fixed;
    top: 0;
    left: 0;
    z-index: calc(var(--dropdownmenu-z-index) - 1);
}

/* Onelog User Icon */

img.usericon {
    width: var(--user-icon);
    height: var(--user-icon);
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 100%;
}

.w-usericon {
    width: calc(var(--user-icon) + 0.5rem);
}

/* onelog */

.onelogbox {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--onelogbox-border-color);
}

.onelogbox:first-of-type {
    border-top: 1px solid var(--onelogbox-border-color);
}

.onelogside a:hover {
    opacity: 1;
}

.onelogbody .comment a {
    color: var(--link-article-color);
}

.onelogbody img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.onelogbody .comment a img {
    cursor: zoom-in;
}

body.onelog .onelogside .postdate,
body.onelog .onelogside .editlink {
    display: none;
}

body:not(.onelog) .onelogside .postdate::before,
body:not(.onelog) .onelogside .editlink::before {
    content: "・";
}

body:not(.onelog) .oneloginfo {
    display: none;
}

/* Onelog Utility Links ( You can change Setting ) */

.utilitylinks {
    font-size: 0.875rem;
    margin: 2rem 0.5rem;
}

.utilitylinks ul {
    padding: 0;
}

.utilitylinks ul li {
    list-style-type: none;
}

.utilitylinks .datelinks {
    margin: 0 1rem;
}

.utilitylinks .datelinks li {
    margin-left: 1rem;
    list-style-type: circle;
}

/* youtube */

.embeddedmovie {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.embeddedmovie iframe {
    width: 100%;
    height: 100%;
}

/* onelog password post form */

.passkeyform .passkeyerror {
    display: block;
    font-weight: 700;
    position: relative;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    color: var(--wn-red);
}

.passkeyform .passkeyerror::before {
    position: absolute;
    top: 50%;
    left: 0.25rem;
    transform: translateY(-50%);
    content: "\eca1";
    font-family: var(--icon-font);
    font-size: 2rem;
    font-weight: 400;
}

.passkeybox {
    padding: 1.25rem 1.5rem;
    display: block;
    box-sizing: border-box;
    background-color: var(--input-area-bg);
    border-radius: 2px;
}

.passkeybox .passkeyguide {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.passkeyform input {
    color: var(--input-text-color);
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    border-radius: 2px;
}

.passkeyform input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.passkeyform input[type="text"] {
    display: block;
    width: 100%;
    padding: 0.25rem;
    margin: 0.5rem 0;
    color: var(--input-text-color);
    font-weight: 700;
    background-color: rgba(var(--bg-color-rgb), 0.6);
    border: 1px solid var(--text-color);
}

.passkeyform input[type="submit"] {
    display: block;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    margin: 0.5rem 0;
    color: var(--input-area-bg);
    background-color: var(--input-text-color);
    border: 1px solid var(--input-text-color);
    border-radius: 9999px;
}

.onelogbox .poststatus {
    display: none;
}

.onelogbox.logstatus-fixed .poststatus {
    display: inline-block;
    font-weight: 700;
    padding-left: calc(var(--user-icon) - 0.875rem);
    color: rgba(var(--text-color-rgb), 0.6);
    vertical-align: middle;
}

.onelogbox.logstatus-fixed .poststatus::before {
    content: "\f036";
    font-family: var(--icon-font);
    padding-right: 0.5rem;
    vertical-align: middle;
    font-size: 0.875rem;
}

.onelogbox.logstatus-fixed .poststatus::after {
    content: "Pinned Post";
    vertical-align: middle;
    font-size: 0.75rem;
}

/* categories */

.categories .cattree {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

.categories .cattree ul {
    margin: 0;
    padding: 0;
}

.categories .cattree li a {
    display: inline-block;
    padding: 0.25rem;
    font-weight: 600;
}

.categories .cattree li span.num {
    font-size: 0.75rem;
    display: block;
    margin-bottom: 0.75rem;
    padding-left: 0.25rem;
}

.categories .cattree li span.num::after {
    content: "件の投稿";
    padding-left: 0.25rem;
}

/* hashtags */

.tags {
    color: var(--link-color);
}

.tags .hashtaglist {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.tags .hashtaglist li {
    list-style-type: none;
}

.tags .hashtaglist li a {
    color: var(--link-color);
    text-decoration: none;
    display: block;
    transition: color .15s ease-in;
}

.tags .hashtaglist li a:hover {
    color: var(--link-article-color);
    transition: color .15s ease-in;
}

.tags .hashtaglist li a::before {
    content: "#";
    margin-right: 0.1rem;
}

.tags .hashtaglist li span.num {
    display: none;
}

/* DATEBOX:LIST */

.datelimitlist,
.datelimitlist * {
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

.datelimitlist li {
    list-style-type: none;
}

/* 年階層非出力時 */

.datelimitlist .datelimit-month {
    display: inline-flex;
    width: 25%;
    min-width: 5rem;
    justify-content: center;
    text-align: center;
    padding: 0.25rem 0;
}

/* 年階層出力時 */

.datelimitlist .datelimit-year {
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700;
    width: 100%;
}

.datelimitlist .datelimit-year .datelimitsublist {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 400;
}

.datelimitlist .datelimit-month a.datelistlink:hover {
    color: var(--link-article-color);
    transition: color .15s ease-in;
}

.datelimitlist .num {
    display: none;
}

/* Searchbox */

.searchbox {
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
}

.searchbox .queryinput {
    border: 1px solid transparent;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    font-size: 2rem;
    font-weight: 700;
    padding: 0.5rem;
    color: var(--input-text-color);
    background-color: var(--input-area-bg);
    box-sizing: border-box;
    width: 100%;
}

.searchbox .queryinput:focus {
    border: 1px solid var(--link-color);
}

.searchbox .submitbutton {
    display: none;
}

.searchbox .searchtarget {
    font-size: 0.875rem;
    color: var(--text-color);
}

.searchbox .searchtarget input {
    margin-right: 0.25rem;
    vertical-align: middle;
}

.searchopen {
    z-index: var(--searchopen-z-index);
}

/* ------------------
  onelogfoot, newiine_btn
-------------------- */

.onelogfoot a,
button.newiine_btn {
    color: rgba(var(--text-color-rgb), 0.8);
    background-color: var(--bg-color);
}

.onelogfoot svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    width: 1.25rem;
    height: 1.25rem;
}

button.newiine_btn.newiine_clickedtoday,
button.newiine_btn.newiine_clicked {
    color: var(--wn-pink);
}

button.newiine_btn.newiine_clickedtoday svg,
button.newiine_btn.newiine_clicked svg {
    fill: currentColor;
    stroke: var(--bg-color);
}

.onelogfoot a:hover,
button.newiine_btn:hover,
button.newiine_btn.newiine_clickedtoday:hover,
button.newiine_btn.newiine_clicked:hover {
    color: rgba(var(--wn-pink-rgb), 0.7);
}

button.newiine_btn::before {
    position: absolute;
    content: "";
    display: block;
    margin: auto;
    visibility: hidden;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    z-index: -1;
    transition: all ease-out 0.5s;
    transform: scale(0.5);
    background: rgba(var(--wn-pink-rgb), 0.7);
}

button.newiine_btn:active {
    transform: scale(0.92);
    color: var(--wn-pink);
    background-color: transparent;
}

button.newiine_btn:focus {
    color: var(--wn-pink);
}

button.newiine_btn.newiine_animate:before {
    z-index: 1;
    -webkit-animation: newiine-animation ease-out 0.5s forwards;
            animation: newiine-animation ease-out 0.5s forwards;
}

@-webkit-keyframes newiine-animation {
    0% {
        visibility: visible;
        opacity: 1;
        transform: scale(0.5);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
        visibility: hidden;
    }
}

@keyframes newiine-animation {
    0% {
        visibility: visible;
        opacity: 1;
        transform: scale(0.5);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
        visibility: hidden;
    }
}

/* end newiine_btn */

/* hamburger menu design */

.hamburger,
.hamburger span {
    transition: all 0.4s;
}

.hamburger {
    width: 30px;
    height: 30px;
    color: var(--text-color);
    z-index: var(--hamburger-z-index);
}

.hamburger span {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    background: var(--text-color);
    border-radius: 4px;
}

.hamburger span:nth-child(1) {
    top: 4px;
}

.hamburger span:nth-child(2) {
    top: 14px;
}

.hamburger span:nth-child(3) {
    bottom: 4px;
}

.hamburger.is-active {
    color: var(--text-color);
}

.hamburger.is-active span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
}

.hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-of-type(3) {
    transform: translateY(-10px) rotate(45deg);
}

/* sidebar アニメーション前のメニューの状態 */

.side {
    z-index: var(--sidebar-z-index);
    transform: translateX(100%);
    transition: all 0.3s linear;
    background-color: var(--bg-sidebar);
    width: 22rem;
    max-width: 80%;
    opacity: 0;
}

/* sidebar アニメーション後のメニューの状態 */

.side.is-active {
    transform: translateX(0);
    opacity: 1;
    box-shadow: -10px 0 35px -20px rgb(0 0 0 / 25%);
}

body.no-scroll .container {
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    cursor: default;
    opacity: 0.25;
}

/* quick post */

/* css initialize */

#quickpost input[type="button"],
#quickpost input[type="submit"],
#quickpost input[type="text"],
#quickpost select,
#quickpost textarea {
    background-color: transparent;
    border: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

/* flexbox */

#quickpost .line-control {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    justify-content: start;
    align-items: center;
}

#quickpost small.changelink {
    padding-right: 0.75rem;
}

#quickpost span[id^="tpostcount"] { /* セレクタ名の部分一致 */
    padding-right: 0.75rem;
}

#quickpost span:empty {
    display: none;
}

/* textarea */

#quickpost p {
    padding: 0;
    margin: 0.5rem 0;
}

#quickpost span {
    color: var(--text-color);
}

#quickpost .postform textarea.tegalogpost {
    font-size: 1rem;
    color: var(--text-color);
    padding: 0.25rem;
    resize: vertical;
    width: 100%;
    background-color: var(--input-area-bg);
    border: 1px solid var(--onelogbox-border-color);
}

#quickpost input[name="datetime"] {
    padding: 0.25rem;
}

/* input base */

#quickpost input[type="button"],
#quickpost input[type="submit"],
#quickpost input[type="file"],
#quickpost select {
    cursor: pointer;
    font-size: 1rem;
}

#quickpost input {
    border-radius: 0.1rem;
}

#quickpost input[type="button"] {
    background-color: var(--link-article-color);
    color: var(--button-link-color);
}

#quickpost input[type="submit"] {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 0 1rem;
    margin-right: 0.75rem;
    border-radius: 4px;
    height: 2rem;
    font-weight: 700;
}

#quickpost input[type="text"] {
    background-color: var(--input-area-bg);
    color: var(--text-color);
    border: 1px solid var(--onelogbox-border-color);
    width: 100%;
}

#quickpost input[type="file"] {
    background-color: var(--input-area-bg);
    color: var(--text-color);
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    height: auto;
}

/* 区分, 機能 */

#quickpost span > input {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-color: transparent;
    padding: 0 0.75rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    height: 2rem;
}

#quickpost select {
    height: 2rem;
    padding: 0 0.25rem;
    background-color: var(--input-area-bg);
    color: var(--text-color);
    border: 1px solid var(--onelogbox-border-color);
}

#quickpost select + input[type="button"] {
    background-color: var(--input-area-bg);
    color: var(--text-color);
    border: 1px solid var(--onelogbox-border-color);
}

#quickpost span > label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    padding: 0 1rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    height: 2rem;
    color: var(--text-color);
    background-color: var(--input-area-bg);
    border: 1px solid  transparent;
    border-radius: 0.1rem;
}

#quickpost span label input[type="checkbox"] {
    margin-right: 0.25rem;
    vertical-align: middle;
}

#quickpost span label:hover {
    border: 1px solid var(--text-color);
}

#quickpost input[type="button"]:hover {
    opacity: 0.8;
    transition: 0.3s;
}

/* 装飾見分け用css */

#quickpost input.decoBtnE { -webkit-text-emphasis: inherit; text-emphasis: inherit; }

/* 強調(Emphasis) */

#quickpost input.decoBtnB { font-weight: 700; }

/* 太字(Bold) */

#quickpost input.decoBtnI { font-style: italic; }

/* 斜体(Italic) */

#quickpost input.decoBtnU { text-decoration: underline; }

/* 下線(Underline) */

#quickpost input.decoBtnD { text-decoration: line-through; }

/* 取消線(Delete) */

/*
#quickpost input.decoBtnS {} 小さめ(Small)
#quickpost input.decoBtnT {} 極小(Tiny)
#quickpost input.decoBtnQ {} 引用(Quote)
#quickpost input.decoBtnR {} ルビ(Ruby)
#quickpost input.decoBtnC {} 文字色(Color)
#quickpost input.decoBtnM {} 背景色(Marker)
#quickpost input.decoBtnH {} 隠す(hide)
*/

/**************************\
  Basic Modal Styles
\**************************/

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: var(--quickpost-z-index);
}

.modal__container {
    background-color: var(--bg-color);
    padding: 4rem 1rem 2rem;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    color: var(--text-color);
}

.modal__title {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--text-color);
    box-sizing: border-box;
}

.modal__close,
.modalsearch__close {
    background: transparent;
    color: var(--text-color);
    border-color: var(--text-color);
}

.modal__content {
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: rgba(0,0,0,.8);
}

.micromodal-quickpost.is-open,
.micromodal-search.is-open {
    display: block;
}

.micromodal-quickpost,
.micromodal-search {
    display: none;
}

.pagenavi .pagelinks a {
    display: inline-block;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 0.1rem;
}

.pagenavi .pagelinks a:hover {
    color: var(--bg-color);
    background-color: var(--text-color);
}

span.linkseparator {
    display: none;
}

/* Tab panel */

.panel {
    display: none;
}

.tab {
    background-color: var(--bg-color);
}

.tab.is-active .tab__item {
    font-weight: 700;
    position: relative;
    margin-bottom: 0.5rem;
}

.tab.is-active .tab__item::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.5rem;
    width: 100%;
    height: 4px;
    transform: translateX(-50%);
    background-color: var(--wn-blue);
    border-radius: 0.5rem;
}

.panel.is-show {
    display: block;
}

.panel.tab-archive,
.panel.tab-hashtag,
.panel.tab-search {
    border-top: 1px solid var(--onelogbox-border-color);
}

/* single */

.single .onelogbody input,
.single .onelogbody textarea {
    background-color: var(--input-area-bg);
    color: var(--input-text-color);
    border: 1px solid var(--input-area-bg);
}

.single .onelogbody textarea {
    resize: vertical;
}

.single .onelogbody button {
    background-color: var(--text-color);
    color: var(--bg-color);
    border: 1px solid var(--text-color);
}

/* single onelog.html > utilitylinks */

.single .utilitylinks {
    display: none;
}

.loading {
    position: fixed;
    z-index: var(--loading-z-index);
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    margin: 0;
    padding: 0;
    background: var(--bg-color);
}

.loading.loaded {
    opacity: 0;
    pointer-events: none;
    transition: opacity 500ms;
}

/* from https://loading.io/css/ */

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lds-ripple div {
    position: absolute;
    border: 4px solid var(--wn-blue);
    opacity: 1;
    border-radius: 50%;
    -webkit-animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
            animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    -webkit-animation-delay: -0.5s;
            animation-delay: -0.5s;
}

@-webkit-keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}
