﻿@charset "utf-8";

/*
本スキンのクレジット表示（削除不可）
Template Name: Basic Blog Skin
Author: ASA
Version: 1.0.1
License URI: https://oshaten10.com/
Powered by てがろぐ https://www.nishishi.com/cgi/tegalog/
*/

/* -----------------------------------------------------------------------
reset
---------------------------------------------------------------------- */
html {
    box-sizing: border-box;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
}

*,
::before,
::after {
    box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/* -----------------------------------------------------------------------
page design
---------------------------------------------------------------------- */
body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: .1em;
    text-align: justify;
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* parts-------------------- */
a:link,
a:visited {
    color: var(--color-text);
    text-underline-offset: .3em;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    /* マウスホバー時のアニメーション */
}

a:hover:not(.hashtaglist li a, .mb-btn_cnt li a) {
    color: var(--color-accent);
}
@media (hover: hover){
    .hashtaglist li:hover{
        color: #fff;
        background-color: var(--color-accent);
        transition: 0.3s;
    }
}
.hashtaglist li a{
    color:inherit;
}

a img {
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a img:hover {
    opacity: 0.5;
    /* マウスホバー時に半透明に */
}

ul,
ol {
    padding-left: revert;
}

h2,
h3 {
    line-height: 1;
}

h2 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 24px;
}

h3 {
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    border: none;
    vertical-align: top;
}

/* スクロールバー-------------------- */
/* スクロールバーの幅 */
::-webkit-scrollbar {
    width: 10px;
}

/* スクロールバー全体の背景 */
::-webkit-scrollbar-track {
    background: var(--color-mgrey);
}

/* スクロールバーの動く部分 */
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border: none;
}

/* -----------------------------------------------------------------------
外側(ページ全体の生成用)の装飾（skin-cover.html）
---------------------------------------------------------------------- */
/* layout-------------------- */
.wrap {
    display: flex;
    padding: 0 80px;
}

.main-wrap {
    width: 100%;
    margin-right: 64px;
    border-top: 1px dotted var(--color-mgrey);
}

.sub {
    max-width: 272px;
    font-size: 0.8rem;
}

/* header-------------------- */
header {
    width: 100%;
    padding: 64px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

h1.username {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.7;
}

h1.username small {
    display: block;
    font-weight: normal;
    font-size: 0.8rem;
}

h1.username a {
    text-decoration: none;
}

/* ナビ */
header .gnav {
    position: relative;
    /* ポップアップ用 */
}

header .gnav ul.menu {
    list-style: none;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

header .gnav ul.menu li a,
header .gnav ul.menu li label {
    display: block;
    width: 40px;
    height: 40px;
    background-size: 50%;
    background-position: center center;
    cursor: pointer;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

/* ナビアイコン */
header .gnav ul.menu li.home a {
    background-image: var(--icn-home);
}

header .gnav ul.menu li.admin a {
    background-image: var(--icn-admin);
}

header .gnav ul.menu li.add label {
    width: 40px;
    height: 40px;
    background-image: url(../_img/icn_pen_wh.png);
    background-color: var(--color-accent);
    border-radius: 999px;
    margin-left: 8px;
}

/* ポップアップ */
header .gnav input {
    display: none;
}

/* ポップアップwindow部分 */
header .gnav .popup {
    visibility: hidden;
    position: fixed;
    width: 50%;
    max-height: calc(100vh - 104px);
    overflow: scroll;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 9999;
    min-width: 560px;
    height: calc(100vh - 104px);
}

header .gnav .popup::-webkit-scrollbar {
    display: none;
}

/* オーバーレイの背景部分 */
header .gnav .popup::after {
    content: '';
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: calc(100dvh + 200px);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9998;
}

/* ウィンドウ部分 */
header .gnav .popup .window {
    padding: 24px;
    background-color: var(--color-wh);
    border-radius: 16px;
    position: relative;
    /* z-index用 */
    z-index: 9999;
    opacity: 0;
    overflow: scroll;
    min-width: 560px;
    height: calc(100vh - 104px);
}

header .gnav .popup .window::-webkit-scrollbar {
    display: none;
}

header .gnav .popup .window .windowhdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

header .gnav .popup .window .windowhdr h2 {
    margin: 0;
}

/* 閉じるボタン */
header .gnav .popup .window .btn_cloth {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
}

header .gnav .popup .window .btn_cloth span,
header .gnav .popup .window .btn_cloth span::before {
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: var(--color-text);
}

header .gnav .popup .window .btn_cloth span {
    transform: rotate(45deg);
}

header .gnav .popup .window .btn_cloth span::before {
    content: "";
    position: absolute;
    bottom: 0;
    transform: rotate(-90deg);
}

/* クリックで表示 */
#win_search:checked~#win_searchcnt,
#win_cate:checked~#win_catecnt,
#win_tag:checked~#win_tagcnt,
#win_add:checked~#win_addcnt {
    visibility: visible;
}

#win_search:checked~#win_searchcnt .window,
#win_cate:checked~#win_catecnt .window,
#win_tag:checked~#win_tagcnt .window,
#win_add:checked~#win_addcnt .window {
    animation: fadein 200ms forwards;
    animation-timing-function: ease-in-out;
}

@keyframes fadein {
    100% {
        opacity: 1;
    }
}

/* ヘッダー内の機能用のinput要素を表示に */
header .gnav .popup .window .windowcnt input {
    display: inline-block;
    border: none;
    color: var(--color-text);
}

/* sub-------------------- */
.subbox {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-mgrey);
}

.subbox:last-of-type {
    margin-bottom: 0;
}

.profile .userlink {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.profile .userlink::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: var(--icn-link);
    background-size: 60%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--color-accent);
    border-radius: 999px;
    margin-right: 8px;
}

/* footer-------------------- */
footer {
    padding: 24px 0;
    font-size: 0.7rem;
}

footer,
footer a {
    color: var(--color-text) !important;
}

footer a.admin {
    display: block;
    width: 16px;
    height: 16px;
    margin: 16px 0 0;
    background-image: var(--icn-admin);
    background-size: cover;
    background-position: center center;
}

/* ページトップに戻る-------------------- */
.backtotop{
    position: fixed;
    right: 2%;
    bottom: 2%;
}
.backtotop a{
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-mgrey);
    background-color: var(--color-wh);
    border-radius: 999px;
}
.backtotop a::before {
    content: "";
    position: absolute;
    display: inline-block;
    margin: 0 auto;
    top: 16px;
    right: 0;
    left: 0;
    transform: rotate(135deg);
    width: 8px;
    height: 8px;
    border: solid var(--color-accent);
    border-width: 0 0 3px 3px;
}

/* -----------------------------------------------------------------------
てがろぐの機能の装飾-外側(ページ全体の生成用)の装飾（skin-cover.html）
---------------------------------------------------------------------- */
/* 検索窓区画-------------------- */

.searchbox .searchinputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 検索語入力欄 */
.queryinput {
    width: 100%;
    height: 36px;
    padding: 0 24px 0 48px;
    border-radius: 4px 0 0 4px;
    background-image: url(../_img/icn_search_bk.png);
    background-size: 16px;
    background-position: left 16px center;
    background-color: var(--color-lgrey);
    border: none;
}

/* 検索(送信)ボタン */
.searchbox .submitcover {
    width: 20%;
}

.searchbox .submitbutton {
    width: 100%;
    height: 36px;
    color: var(--color-wh);
    font-size: 0.8rem;
    border-radius: 0 4px 4px 0;
    background-color: var(--color-accent);
    border: none;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.searchbox .submitbutton:hover {
    background-color: var(--color-text);
}

/* 検索対象を限定するチェックボックス */
.searchtarget {
    margin-top: 16px;
}

/* 検索フォーム形式の切り替えリンク */
.siwtchsearchbox {
    font-size: 0.8em;
}

/* 複合検索フォーム */
#complexsearch {
    display: none;
    /* 複合検索窓は、最初は非表示にしておく */
}

/* 検索オプションリスト */
.searchoptions {
    font-size: 0.9em;
    margin: 0.75em 0 1em 1em;
    padding: 0 0 0 0.5em;
}

/* 項目名 */
.solabel {
    display: inline-block;
    min-width: 5em;
}

/* セレクトボックス */
.searchoptions select {
    max-width: 175px;
}

/* カテゴリツリー区画-------------------- */
.categoryTree ul {
    list-style: none;
    padding-left: 0;
    width: 100%;
    margin-left: 2rem;
}

.categoryTree ul:first-of-type {
    border-top: 1px dotted var(--color-mgrey);
}

.categoryTree ul.depth1 {
    margin: 0 0 8px 0;
}

.categoryTree ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dotted var(--color-mgrey);
}

.categoryTree ul li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url(../_img/icn_cate_bk.png);
    background-size: 100%;
    background-position: center left;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.categoryTree ul li ul li::before {
    width: 16px;
    height: 16px;
    background-size: 100%;
    background-image: url(../_img/icn_cate2_bk.png);
}

.categoryTree ul li ul {
    margin-top: 1rem;
}

.categoryTree ul li ul li {
    border: none;
    padding-bottom: 0;
}

/* プルダウンメニュー版カテゴリ一覧の装飾 */
.catpull {
    max-width: 200px;
}

/* ハッシュタグリスト区画-------------------- */
.hashtaglist {
    list-style: none;
    padding-left: 0;
    width: 100%;
    padding-top: 1rem;
}

.hashtaglist li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
    display: inline-block;
    border: #e6e6e6 solid 1px;
    background-color: #f4f4f4;
    padding: 2px 8px;
    border-radius: 999px;
}

.hashtaglist li a{
    text-decoration-line: none;
}


/* プルダウンメニュー版ハッシュタグ一覧の装飾 */
.hashtagpull {
    max-width: 200px;
}

/* カレンダー区画-------------------- */
.calendar {
    width: 100%;
    border-collapse: collapse;
}

.calendar th,
.calendar td {
    padding: 8px;
    border: 1px solid var(--color-mgrey);
    text-align: center;
}

/* 年月キャプション */
.calendar caption {
    text-align: left;
    margin-bottom: 8px;
}

/* 曜日行 */
.daysofweek th {
    font-weight: normal;
    background-color: var(--color-lgrey);
}

/* 日付の装飾 */
.calendar a,
.calendar .nolink {
    display: block;
    width: 100%;
    height: 100%;
}

/* 日付のリンク */
.calendar td a {
    color: var(--color-accent);
}

/* 「今日」のセル */
.today {
    background-color: var(--color-lgrey);
}

.calendarlinks {
    margin-top: 8px;
}

/* 新着投稿リスト区画-------------------- */
.latestpostlist {
    list-style: none;
    padding-left: 0;
    width: 100%;
    border-top: 1px dotted var(--color-mgrey);
    padding-top: 1rem;
}

.latestpostlist li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dotted var(--color-mgrey);
}

.latestpostlist li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 8px 8px 0;
    background-image: url(../_img/icn_star_bk.png);
    background-size: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.latestpostlist li a {
    width: calc(100% - 24px);
    margin-bottom: 8px;
}

/* タイトルリンク以外の項目 */
.latestpostlist span {
    display: block;
    margin-right: 8px;
    color: var(--color-grey);
    font-size: 0.7rem;
}


/* QUICK POST-------------------- */
.postform {
    padding: 1rem 0;
}

.postform .line-textarea {
    margin-bottom: 1rem;
}

/* 本文入力 */
.postform .tegalogpost {
    width: 100%;
    min-height: calc(5rem + 32px);
    padding: 16px;
    border: none;
    border-radius: 8px;
    background-color: var(--color-lgrey);
    overflow-wrap: break-word;
    overflow: auto;
}

/* プレースホルダ(※入力文字数がゼロの際にだけ見える薄文字)の装飾 */
textarea.tegalogpost:placeholder-shown {
    color: #777;
}

/* 通常時 */
textarea.tegalogpost:focus:placeholder-shown {
    color: #bbb;
}

/* カーソルが入ったとき */
textarea.tegalogpost:-ms-input-placeholder {
    color: #aaa;
}

/* for IE */

.line-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* 投稿ボタン */
.postbutton {
    display: block;
    font-size: 16px;
    color: var(--color-wh)!important;
    padding: 8px 24px;
    border-radius: 999px;
    background-color: var(--color-accent);
}

/* 文字装飾ボタン群 */
/* 掲載領域全体 */
.decoBtns {
    display: inline-block;
    margin-top: 0.5em;
}

/* 全ボタン装飾 */
.decoBtns input {
    margin: 2px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.decoBtns input:hover {
    background-color: var(--color-mgrey);
}

/* 強調  :E */
.decoBtnE {
    font-weight: bold;
    font-style: italic;
    color: var(--color-accent)!important;
}

/* 太字  :B */
.decoBtnB {
    font-weight: bold;
}

/* 斜体  :I */
.decoBtnI {
    font-style: italic;
}

/* 下線  :U */
.decoBtnU {
    text-decoration-line: underline;
    text-decoration-style: double;
    text-decoration-color: var(--color-accent)!important;
}

/* 取消線:D */
.decoBtnD {
    color: var(--color-grey)!important;
    text-decoration-line: line-through;
}

/* 文字色:C */
.decoBtnC {
    color: red!important;
}

/* 背景色:M */
.decoBtnM {
    color: blue!important;
}

/* 画像 ファイル選択 */
input[name="upload_file"] {
    border: 1px solid var(--color-grey) !important;
}

/* チェックボックスの間隔を調整 */
.catChecks label {
    margin-right: 8px;
}

/* 他のIDに切り替える（一番右に配置して次の行へ） */
.changelink {
    width: 100%;
    order: 999;
    border-top: 1px solid var(--color-mgrey);
    margin-top: 1rem;
    padding-top: 8px;
}

/* ページナビゲーション-------------------- */
.pagenavi {
    margin: 32px 0;
    text-align: center;
}

.pagenavi a {
    padding: 8px;
}

/* ページ前後移動*/
.pagelinks {
    margin-bottom: 16px;
}

/* ▼ページ番号リンク */
.pagenums a {
    display: inline-block;
    width: 44px;
    height: 44px;
    margin: 0px 4px;
}

/* 現在のページ番号の装飾 */
a.pagenumhere {
    text-decoration: none;
    color: var(--color-wh);
    background-color: var(--color-accent);
    border-radius: 999px;
}

/* ▼限定解除リンク(＝HOMEに戻るリンク) */
.pagehome {
    margin: 0.15em;
    font-weight: bold;
}

/* -----------------------------------------------------------------------
内側(個別投稿の表示用)のスキン（skin-onelog.html）
---------------------------------------------------------------------- */
.post {
    color: var(--color-text);
    background-color: var(--color-bg);
}

.onelogbox {
    padding: 24px 0;
    border-bottom: 1px dotted var(--color-mgrey);
}

.onelogbox:last-of-type {
    padding-bottom: 104px;
    border-bottom: 1px dotted var(--color-mgrey);
}

.onelogbox .postdate {
    margin-right: 24px;
    color: var(--color-grey);
    font-size: 0.7rem;
    margin: 2px;
}

.onelogbox .postcnt {
    width: 100%;
}

.onelogbox .postcnt *:first-child {
    margin-top: 0;
}

.onelogbox .postftr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-grey);
    font-size: 0.8rem;
    margin-top: 24px;
}

.onelogbox .categories, .onelogbox .categories a:first-of-type{
    display: flex;
    align-items: center;
}

.onelogbox .categories .catseparator{
    margin-right: 4px;
}

.onelogbox .categories a:first-of-type:before,
.onelogbox .editlink,
.onelogbox .delitelink {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;
}

.onelogbox .categories a:first-of-type::before{
    content: '';
    background-image: url(../_img/icn_cate_bk.png);
}

.onelogbox .editlink {
    background-image: url(../_img/icn_edit.png);
}

.onelogbox .delitelink {
    background-image: url(../_img/icn_delete.png);
}

/* -----------------------------------------------------------------------
てがろぐの機能の装飾-内側(個別投稿の表示用)のスキン（skin-onelog.html）
---------------------------------------------------------------------- */
/* URLが書かれた場合の装飾 */
.url {
    word-break: break-all;
    /* 自動リンクのはみ出しを防ぐ */
}

/* E:強調(Emphasis) */
.decorationE {
    color: var(--color-accent);
    font-weight: bold;
}

/* B:太字(Bold) */
.decorationB {
    font-weight: bold;
}

/* I:斜体(Italic) */
.decorationI {
    font-style: italic;
}

/* U:下線(Underline) */
.decorationU {
    text-decoration-line: underline;
    text-decoration-style: double;
    text-decoration-color: var(--color-accent);
}

/* Q:引用(Quote) */
.decorationQ {
    display: inline-block;
    background-color: var(--color-lgrey);
    margin: 0.5rem 0;
    padding: 8px;
    font-size: 0.8rem;
}

.decorationQ::before,
.decorationQ::after {
    content: '';
    /* 標準で付加されてしまう引用符を無効にする */
}

.decorationQ+br {
    display: none;
    /* 引用直後の改行を無効化する */
}

/* D:打消し線 */
.decorationD {
    color: var(--color-grey);
    text-decoration-line: line-through;
}

/* S:小文字(Small) */
.decorationS {
    font-size: 0.8rem;
}

/* T:極小文字(Tiny) */
.decorationT {
    font-size: 0.6rem;
}

/* 「リスト」機能 */
.decorationL {
    display: inline-block;
    margin: 0.5rem 0;
    padding-left: revert;
    padding-inline-start: 1rem;
}

/* 「隠す」機能 */
.decorationH a {
    margin: 0.5rem 0;
}

.readmorebutton.readmoreclose {
    display: block;
}

.readmorebutton.readmoreopen::before,
.readmorebutton.readmoreclose::before {
    display: inline-block;
    margin-right: 4px;
}

.readmorebutton.readmoreopen::before {
    content: '+';
}

.readmorebutton.readmoreclose::before {
    content: '-';
}

.readmorearea {
    margin-top: 0.5rem;
}

.readmorearea::before {
    display: block;
    content: '';
    height: 0.5rem;
}

/* 埋め込み画像-------------------- */
/* 画像ボックス(FIGオプション指定時) */
.embeddedpictbox {
    margin: 0;
    padding: 0;
    display: inline-table;
    border-collapse: collapse;
    border: 1px solid #e0eee0;
    vertical-align: top;
}

/* キャプション */
.embeddedpictbox figcaption {
    display: table-caption;
    caption-side: bottom;
    font-size: 0.8em;
    text-align: center;
    background-color: #e0eee0;
}

/* 画像ボックスに含まれる画像 */
.embeddedpictbox img {
    vertical-align: middle;
}

/* 画像リンク */
.imagelink {
    display: inline-block;
    line-height: 1;
    /* 表示形態によっては画像の下に余計な空白が出るのを防ぐ対策 */
    vertical-align: inherit;
    /* 同上 */
}

/* 画像そのもの */
.embeddedimage {
    display: inline-block;
    margin: 1rem 0;
    border-radius: 8px;
}

/* フラグ付き画像 */
figure.nsfw {
    overflow: hidden;
    /* ぼかし領域がfigureのボックスからはみ出ないようにする */
}

.imagelink.nsfw {
    overflow: hidden;
    /* ぼかし領域がfigureのボックスからはみ出ないようにする */
}

img.nsfw {
    filter: blur(9px);
    /* ぼかす */
}

/* 埋め込み動画-------------------- */
@media all and (max-width: 1020px) {
    .embeddedmovie {
        display: inline-block;
        max-width: 100%;
        /* はみ出ないようにする */
        width: auto;
        height: auto;
    }
}

/* 埋め込みTweet-------------------- */
blockquote.twitter-tweet {
    background-color: #f8f8f8;
    border: 1px dashed #ddd;
    border-radius: 9px;
    margin: 0.3em 0;
    padding: 1em;
    font-size: 0.95em;
    color: #999;
    text-shadow: 1px 1px 1px #fff;
}

/* 埋め込みツイートの横幅を強制的に制限 */
div.twitter-tweet {
    max-width: 350px !important;
}

/* 検索語のハイライト-------------------- */
.searchword {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #aaf0aa 60%);
}

/* 表示対象の限定時などの「限定条件」表示行-------------------- */
.situation {
    font-weight: bold;
}

.situation:empty {
    display: none;
}

/* 限定表示がない場合は存在自体を消す */

/* 日付境界バー */
.dateseparator {
    padding: 24px 0;
    font-size: 0.8rem;
    border-bottom: 1px dotted var(--color-mgrey);
}

.dateseparator::before {
    content: '▼';
}

/* 固定投稿 */
.fixedseparator {
    border: none;
    padding-bottom: 0;
    text-align: left;
    color: var(--color-grey);
}

.fixedseparator::before {
    display: none;
}

.fixedseparator .fixedlabel {
    display: flex;
    align-items: center;
}

.fixedseparator .fixedlabel::before {
    content: '';
    display: block;
    margin-right: 4px;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-position: center center;
    background-image: url(../_img/icn_pin.png);
    background-repeat: no-repeat;
}

.onelogbox.logstatus-fixed{
    padding: 32px 0 104px;
    border-bottom: 1px dotted var(--color-mgrey);
}

/*鍵入力フォーム-------------------- */
.passkeyform {
    margin: 1rem 0;
    padding: 16px;
    font-size: 0.8rem;
    background-color: var(--color-lgrey);
}

.passkeybox {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.passkeyguide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 8px;
}

.passkeyguide::before {
    content: '';
    display: block;
    margin-right: 4px;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-position: center center;
    background-image: url(../_img/icn_key.png);
    background-repeat: no-repeat;
}

.passkeyinput {
    width: 8rem;
    height: 28px;
    padding: 4px 8px;
    border: 1px solid var(--color-grey);
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.passkeysubmit {
    height: 28px;
    font-size: 0.8rem;
    color: var(--color-wh);
    padding: 4px 8px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--color-accent);
}

/* 各投稿の個別ページで表示される囲みナビ-------------------- */
.utilitylinks {
    margin-top: 104px;
    padding: 48px 0;
    border-top: 1px solid var(--color-mgrey);
}

/* -----------------------------------------------------------------------
スマホ用の処理
---------------------------------------------------------------------- */
@media screen and (max-width:600px) and (min-width:1020px){
    body{
        font-size: 13px;
    }
}
@media screen and (max-width:1020px) {/* ←←←消さないよう注意！ */

    body {
        font-size: 13px;
    }

    /* スマホでタップ時に半透明にならないようにする-------------------- */
    a:hover {
        opacity: 1;
    }

    .wrap {
        display: block;
        padding: 0 32px;
    }

    header {
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 48px 24px;
    }

    h1.username{
        width: 100%;
        text-align: center;
    }

    header .gnav {
        padding-top: 16px;
    }

    header .gnav .popup {
        position: fixed;
        width: calc(100% - 32px);
        min-width: auto;
        overflow: scroll;
        margin: auto;
        padding: 16px 0;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        height: fit-content;/* ver1.0.1追記 */
        max-height: 100dvh;/* ver1.0.1追記 */
        min-height: fit-content;/* ver1.0.1追記 */
    }

    header .gnav .popup .window {/* ver1.0.1追記 */
        width: 100%;
        min-width: auto;
        height: fit-content;
        max-height: calc(100dvh - 32px);
    }

    .main-wrap {
        margin: 0 0 56px;
    }

    .sub {
        max-width: 100%;
        padding-top: 48px;
        border-top: 1px solid var(--color-mgrey);
    }

    footer{
        text-align: center;
    }

    footer a.admin{
        margin: 16px auto 0;
    }

    .onelogbox {
        display: block;
    }

    .onelogbox:last-of-type {
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .onelogbox .postside {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 24px;
    }

    .onelogbox .usericon {
        min-width: 32px;
        width: 32px;
        height: 32px;
        margin: 0;
    }

    .onelogbox .postftr {
        display: block;
        margin-top: 16px;
    }

    .onelogbox .postftr .Login-Required{
        margin-top: 8px;
    }

    .onelogbox.logstatus-fixed {
        padding-bottom: 56px;
    }

    .dateseparator {
        padding: 16px 0;
        font-size: 0.7rem;
    }

    .fixedseparator {
        margin-top: 0;
        padding-bottom: 0;
    }

    .pagenums a {
        width: 36px;
        height: 36px;
    }

    .utilitylinks {
        margin-top: 56px;
    }
    

}/* ←←←消さないよう注意！ */
/* -----------------------------------------------------------------------
スマホ用の処理ここまで
---------------------------------------------------------------------- */

/* Twemoji */
img.emoji {
   height: 1.2em;
   width: 1.2em;
   margin: 0 .05em 0 .1em;
   vertical-align: -0.1em;
}

/* スマホ用ボタン */
.mb-btn_cnt li{
    display: inline-block;
    background-color: var(--color-accent);
    padding: 2px 8px;
}
.mb-btn_cnt{
    margin-bottom: 16px;
    text-align: center;
    padding: 0 0 0 0;
    color: #fff;
    font-size: 0.9em;
}
.mb-btn_cnt .mb-btn a{
    color: #fff;
    text-decoration-line: none;
}
.home_btn{
    margin-right: 16px;
}
@media screen and (min-width:1020px) {
    .mb-btn_cnt{
        display: none;
    }
}
.post-url{
    font-size: 0.8em;
    text-align: right;
    margin-top: 1em;
}
.situation-cnt{
    margin-top: 16px;
}

.instagram-media ,.embeddedspotify iframe{
    margin-top: 10px!important;
}