@charset "UTF-8";.post-wrapper,dd,dt {
    word-break: break-all
}

@font-face {
    font-display: swap;
    font-weight: 400;
    font-style: normal;
    font-family: 'M PLUS 1';
    src: url("/font/MPLUS1-Regular.woff2") format("woff")
}

@font-face {
    font-display: swap;
    font-weight: 700;
    font-style: normal;
    font-family: 'M PLUS 1';
    src: url("/font/MPLUS1-Bold.woff2") format("woff")
}

dd,dt {
    padding: .5rem;
    word-wrap: break-word
}

svg {
    vertical-align: middle
}

#main,#nav,#nav-bottom {
    font-family: 'M PLUS 1',Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif
}

.profile,.search form,.sidebar>* {
    border-radius: 10px
}

#snackbar,.copyrights,.footer-menu,.info,.loading,.login_wrap,.select_search_c a {
    text-align: center
}

.imageSelect,.search .search_button {
    vertical-align: bottom;
    cursor: pointer
}

.bold,.post-screen-name,.screen-name,dt {
    font-weight: 700
}

.images img,.post-media-image {
    aspect-ratio: 16/9;
    object-fit: cover
}

.select_search_c a,a {
    text-decoration: none
}

#snackbar,.active span:nth-of-type(2) {
    opacity: 0
}

*,::after,::before {
    box-sizing: border-box
}

a {
    color: #313131
}

dt {
    background-color: #cdddff;
    flex-basis: 20%;
    border-top: none;
    vertical-align: top
}

dd {
    margin: 0;
    flex-basis: 75%
}

dl,h1,h2,h3,p,span {
    transform: rotate(.03deg);
    -moz-transform: rotate(.03deg);
    -webkit-transform: rotate(.03deg)
}

#preview,#preview2,.words_area,.words_area2,section h2 {
    display: none
}

#header h1 a {
    display: flex;
    align-items: center
}

.about,body::before {
    display: block
}

body {
    position: relative;
    background-color: #f0f8ff
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: -1
}

#wrapper {
    margin: 0 clamp(0rem,-19.2rem + 32vw,32rem)
}

#header {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #9cb4ffa8;
    padding: 0 0 0 1em;
    border-bottom: 2px solid #035ae2;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px)
}

#header h1 {
    margin: 0;
    width: 120px;
}

#main,#nav p,.profile-edit {
    display: flex
}

#header h1 a:hover {
    background-color: #bbb
}

#header img {
    max-width: 100%;
    height: auto;
    margin: 8px 0;
    image-rendering: pixelated;
}

#nav {
    margin: 0 clamp(1.25rem, -2.2115rem + 15.3846vw, 1.875rem);
    font-size: clamp(0.875rem, 0.7430rem + 0.5634vw, 1.25rem);
    display:none;
}

#nav p {
    padding: 7px;
    border-radius: 5px;
    background-color: #ffffffc7;
}

#nav a {
    color: #145fba;
    margin-right: 10px;
}

#main {
    margin: 15px clamp(0.625rem, -2.8365rem + 15.3846vw, 1.25rem);
    flex-wrap: wrap;
    gap: 10px;
}

#nav-bottom{
    display:block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #f0f8ffdb;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    padding-bottom: env(safe-area-inset-bottom);
}

#nav-bottom p{
    display: flex;
    justify-content: space-around;
    padding: 5px;
    margin: 0 10px;
}
 
#nav-bottom p svg{
    margin:7px;
    fill: #4d4d4d;
}

#nav-bottom a:nth-child(4){
    position:relative;
}


.profile {
    width: 100%;
    margin-bottom: 10px;
    padding: clamp(.25rem,-.425rem + 3vw,1rem);
    background-color: #ffffffb8
}

.contents,.sidebar>* {
    background-color: #ffffffc7
}

.profile-main {
    display: flex;
    align-items: flex-start;
    margin: 5px
}

.profile-image {
    width: clamp(3rem,2.1rem + 4vw,4rem);
    height: clamp(3rem,2.1rem + 4vw,4rem);
    flex-shrink: 0
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.profile-info {
    margin: 2px clamp(5px,-.85rem + 2.5vw,10px);
    overflow: hidden
}

.screen-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: clamp(1rem, .65rem + 1vw, 1.375rem);
    color: #3170a7;
    margin-bottom: 5px
}

.user-name {
    font-size: clamp(.75rem, .5rem + .65vw, 1rem)
}

.profile-status {
    display: flex;
    flex-shrink: 0;
    margin: 0 0 15px auto;
    font-size: clamp(.65rem, .35rem + 1vw, .875rem)
}

.sidebar .profile-status{
    font-size: 13px;
}

.profile-status-info {
    flex-grow: 1;
    text-align: center;
    color: #145fba;
    font-weight: 700
}

.contents .profile-status-info,.profile .profile-status-info {
    margin: 0 clamp(0rem,-.24rem + .8vw,.75rem)
}

.profile-status-info span {
    color: #5f5f5f
}

.profile-detail {
    margin: 0 0 0 20px;
    font-size: clamp(.875rem, .7625rem + .5vw, 1rem);
    padding-bottom: 10px
}

.follow_menu {
    display: flex;
    align-items: center;
    margin: 10px;
    gap: 10px;
    font-size: clamp(.75rem, .525rem + 1vw, 1rem);
    flex-direction: row-reverse
}

.sidebar>* {
    margin-bottom: 10px;
    padding: 7px
}

.contents,.footer-menu,.post_area,.profile-edit .inputs input {
    padding: 5px
}

.contents .search{
    width: 80%;
    margin: 0 auto;
}

.search form {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 33px;
    border: 1px solid #dcdcdc
}

.search .search_button {
    background-color: transparent;
    fill: #145fba;
    border: none;
    padding: 0;
    margin-right: 5px;
}

.search .search_box {
    width: 100%;
    border: none;
    margin-left: 10px;
    outline: 0;
    background-color: inherit
}

.bold {
    font-size: 1.17em;
    margin: 1em 0
}

.submit a {
    color: #fff
}

.login_menu a,.post-content a,.profile_menu li a,.title {
    color: #145fba
}

.profile_menu li {
    padding-top: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px
}

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

.button,.button span,.footer-menu a,.login_wrap span {
    display: inline-block
}

.copyrights {
    color: #747474
}

.contents {
    flex: 1;
    margin: 0 0 50px;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    min-height: 300px
}

.error-list {
    border: 1px solid red;
    background-color: #fcc;
    padding: 10px 0;
    list-style: none
}

.error-list li {
    color: red
}

.post_area {
    resize: none;
    line-height: 1.4;
    width: 100%;
    border-radius: 5px
}

.post_button {
    margin: 5px 0;
    text-align: right
}

.submit {
    padding: .4em .6em;
    color: #fff;
    border: #fff;
    background-color: #1671df;
    border-radius: .25rem;
    cursor: pointer
}

.submit:disabled {
    color: rgb(149 149 149);
    background-color: #797d885c
}

.imageSelect {
    width: 2em;
    padding: 0;
    height: 2em;
    background-color: #fff;
    border-radius: .25rem;
    fill: #3396e8;
    border: 1px solid rgb(206 218 237)
}

#preview p,#preview2 p {
    color: #145fba;
    text-align: center
}

#preview .images,#preview2 .images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.images img {
    flex-grow: 1;
    width: 50%;
    padding: 2px;
    border-radius: 10px
}

.words_area p,.words_area2 p {
    display: inline-block;
    margin: 0;
    color: #145fba
}

.words,.words2 {
    color: #000;
    font-style: italic
}

.edit_submit {
    text-align: center;
    margin-top: 10px
}

.profile-edit .inputs {
    flex: 1;
    margin: 0 10px
}

.profile-edit .inputs input {
    width: 50%
}

.buttons {
    margin-top: 5px;
    text-align: right;
}

.loading {
    padding: 30px;
}

.reply {
    margin-left: 15px;
    border-left: 2px solid #cdddff
}

.re-reply {
    margin-left: 30px;
    border-left: 2px solid #cdddff
}

.post-wrapper, .notification-wrapper {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    border-radius: 5px;
}

.post-profile-image, .notification-profile-image {
    width: clamp(35px,21.5px + 3.75vw,50px);
    object-fit: cover;
    border-radius: 50%;
    margin: 5px
}

.post-screen-name, .notification-type {
    font-size: clamp(0.875rem, 0.7625rem + 0.5000vw, 1rem);
    color: #000
}

.post-info, .notification-info {
    font-size: clamp(0.813rem, 0.7572rem + 0.2480vw, 0.875rem);
    color: #757575
}

.post-main, .notification-main {
    flex: 1;
    min-width: 0;
}

.post-content, .notification-content {
    margin: 4px 0;
    padding-right: 5px;
    font-size: clamp(0.875rem, 0.7625rem + 0.5000vw, 1rem);
    color: #000;
    word-wrap: break-word;
}

.post-media {
    display: flex;
    flex-wrap: wrap
}

.post-media a {
    flex-grow: 1;
    width: 50%;
    max-width: 100%;
    height: auto;
    padding: 1px
}

.post-media-image {
    width: 100%;
    border-radius: 10px
}

.status-button {
    cursor: pointer;
    border-width: 0;
    padding: 2px 10px;
    width: inherit;
    background-color: transparent
}

.status-like-button {
    color: #ca1313;
    fill: rgb(202,19,19)
}

.status-button-off {
    background-color: transparent;
    color: #333;
    fill: rgb(54,54,54)
}

.status-like-button-value,.status-reply-button-value {
    margin-left: 5px;
    vertical-align: middle;
    color: #313131;
}

.user-wrapper {
    padding: 5px
}

.login_wrap {
    width: 100%
}

.setting {
    margin: 0 auto
}

.profile-edit{
    font-size:14px;
}

.login_input p,.login_wrap div,.profile-edit .inputs p {
    margin: 10px;
}

.login_input input {
    padding: 5px;
    text-align: center;
    width: 70%
}

.modalArea,.modalBg,html.no-scroll {
    width: 100%;
    height: 100%
}

.login_wrap [type=checkbox] {
    margin: 0 5px;
    transform: scale(1.3);
}

.login_wrap p {
    font-size: 14px
}

.select_search {
    display: flex;
    justify-content: center;
    font-size: clamp(0.875rem, 0.7625rem + 0.5000vw, 1rem);
}

.select_search_c {
    background-color: #145fba;
    border-radius: 6px;
    color: #fff;
    margin: 10px;
}

.select_search_c a {
    color: inherit;
    display: block;
    padding: .3em 1em
}

#snackbar {
    min-width: 250px;
    background-color: #313131;
    color: #fff;
    border-radius: 2px;
    padding: 15px 30px;
    position: fixed;
    z-index: 2;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    transition: opacity .5s linear;
    box-shadow: 0 3px 9px rgb(0 0 0 / 25%)
}

#snackbar.show {
    opacity: 1
}

.modalArea {
    display: none;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0
}

.modalBg {
    background-color: rgba(30,30,30,.9)
}

.modalWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 70%;
    max-width: 500px;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 10px
}

.closeModal {
    position: absolute;
    top: .2rem;
    right: .4rem;
    cursor: pointer
}

html.no-scroll {
    position: fixed;
    z-index: -1
}

.sidebar {
    padding-top: 50px;
    padding-left: clamp(5rem, -12.1000rem + 76.0000vw, 24rem);
    padding-right: 10px;
    z-index: 1;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    font-size: 14px;
    transition: background-color .5s ease-out;
    will-change: transform;
    background-color: transparent;
}

.button {
    position: fixed;
    width: 40px;
    height: 40px;
    top: -1px;
    right: 2px;
    z-index: 2
}

.button span {
    position: absolute;
    right: 0;
    left: 0;
    height: 2px;
    width: 30px;
    margin: auto;
    transition: .4s;
    background: #001aaa
}

.button span:first-of-type {
    top: 10px
}

.button span:nth-of-type(2) {
    top: 20px
}

.button span:last-of-type {
    top: 30px
}

.active span {
    background: #bfbfbf
}

.active span:first-of-type {
    transform: translateY(10px) rotate(-45deg)
}

.active span:last-of-type {
    transform: translateY(-10px) rotate(45deg)
}

.view_menu {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    right: 0;
    background-color: #0000004f;
}

.top-notifications{
    color: #016320;
}

.bottom-notifications{
    display: none;
    position: absolute;
    left: calc(100% - 22px);
    top: 5px;
    text-align: center;
    min-width: 18px;
    padding: 1px;
    height: 18px;
    font-weight: bold;
    color: white;
    font-size: 11px;
    border-radius: 10px;
    background-color: #1671df;
    line-height: 14px;
}

@media screen and (min-width: 760px) {
    html {
        scrollbar-gutter: stable;
    }

    #header,.sidebar {
        position:static
    }

    #nav {
        display:block;
    }

    #nav-bottom{
        display:none;
    }

    section h2 {
        display: block
    }

    #main {
        margin: 0 15px;
        gap: 20px;
    }

    #header h1 {
        margin: 0;
        width: calc(120px + 15 * (100vw - 680px)/ 400)
    }

    .button {
        display: none
    }

    .sidebar {
        width: 30%;
        padding: clamp(0px,-38px + 5vw,10px);
        font-size: clamp(.75em, .5em + .4vw, 1em);
        border-radius: 10px;
        background-color: initial
    }

    .sidebar>* {
        margin-bottom: 20px;
        padding: 10px;
    }

    .profile-image {
        width: clamp(3rem,2.05rem + 2vw,4rem);
        height: clamp(3rem,2.05rem + 2vw,4rem)
    }

    .contents {
        margin: 0;
        padding: 10px;
        min-width: 0;
    }

    .post-content, .notification-content {
        margin: 10px 0;
    }

    #preview .images img {
        width: 25%;
        flex-grow: 0
    }

    .modalWrapper .post_area {
        width: 100%
    }

    .modalWrapper .post_button {
        margin: 5px
    }

    .post_area {
        line-height: 1.5;
        width: 70%
    }

    .post_button {
        margin: 5px 30%
    }

    .post-profile-image {
        width: 50px
    }

    .login_wrap {
        width: 500px
    }

    .about {
        display: flex;
        flex-wrap: wrap
    }
}
