﻿@charset "utf-8";

/*
本スキンのクレジット表示（削除不可）
Template Name: Fumora Skin
Author: ASA
Version: 1.0.0
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 {
    background-color: var(--color-pale);
}


/* font-------------------- */
body,
input,
textarea,
button {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 13px;
    line-height: 2;
    letter-spacing: .1em;
    font-weight: 400;
    text-align: justify;
    color: var(--color-text);
}

/* web font-------------------- */
.webfont {
    font-family: "Libre Baskerville", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* parts-------------------- */
a:link,
a:visited {
    color: var(--color-text);
    text-underline-offset: .3em;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 1px;
    transition: 0.3s;
}

a:hover {
    color: var(--color-accent);
}

a img {
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a img:hover {
    opacity: 0.5;
    /* マウスホバー時に半透明に */
}

ul,
ol {
    list-style: revert;
    margin-left: 1.5em;
}

ul li::marker {
    color: var(--color-accent);
}

h2,
h3 {
    margin: 1rem 0;
    line-height: 1;
}

h2 {
    font-size: 2.5em;
}

h3 {
    font-size: 1em;
}

img {
    max-width: 100%;
    height: auto;
    border: none;
    vertical-align: top;
}

/* スクロールバー-------------------- */
/* スクロールバーの幅 */
::-webkit-scrollbar {
    width: 10px;
}

/* スクロールバー全体の背景 */
::-webkit-scrollbar-track {
    background: var(--color-wh);
}

/* スクロールバーの動く部分 */
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border: none;
}


/* -----------------------------------------------------------------------
外側(ページ全体の生成用)の装飾（skin-cover.html）
---------------------------------------------------------------------- */
/* layout-------------------- */
.wrap {
    max-width: 600px;
    margin: 6em auto;
    background-color: var(--color-wh);
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.1);
}

header,
.cnt,
footer {
    min-width: 390px;
    margin: 0 auto;
}

/* header-------------------- */
header {
    padding: 8em 5em;
    position: relative;
}

header h1 {
    font-size: 4em;
    line-height: 1;
    margin-bottom: 1em;
}

header h1 a{
    text-decoration: none!important;
}

/* sitename */
.sitename {
    font-size: 0.35em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1em;
}

/* teganame */
.teganame {
    font-size: 1em;
}

/* 管理画面へのリンク */
header .admin {
    position: absolute;
    top: 2em;
    right: 2em;
}

header .admin a {
    display: inline-block;
    font-size: 0.85em;
    letter-spacing: 0;
    text-decoration: none;
    padding: 0.25em 1em;
    border: 1px solid var(--color-grey);
    border-radius: 4px;
    color: var(--color-grey);
}

header .admin a:hover {
    color: var(--color-wh);
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

/* 画像ブロック-------------------- */
.imgblock {
    width: 100%;
    height: 40em;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.imgblock_01 {
    background-image: var(--bg-imgblock01);
}

.imgblock_02 {
    background-image: var(--bg-imgblock02);
}

.imgblock_03 {
    background-image: var(--bg-imgblock03);
}

.imgblock_04 {
    background-image: var(--bg-imgblock04);
}

.imgblock_05 {
    background-image: var(--bg-imgblock05);
}

/* footer-------------------- */
footer {
    font-size: 0.85em;
    padding: 1em;
}

footer .credit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5em;
}

/* -----------------------------------------------------------------------
てがろぐの機能の装飾-外側(ページ全体の生成用)の装飾（skin-cover.html）
---------------------------------------------------------------------- */
/* 検索窓区画-------------------- */
.searchbox {
    padding: 1rem 0;
    border-top: 1px solid var(--color-mgrey);
}

.searchbox .searchinputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 検索語入力欄 */
.queryinput {
    width: 100%;
    height: 56px;
    padding: 16px 24px 16px 56px;
    border-radius: 8px 0 0 8px;
    background-image: url(../_img/icn_search_bk.png);
    background-size: 24px;
    background-position: left 16px center;
    background-color: var(--color-lgrey);
}

/* 検索(送信)ボタン */
.searchbox .submitcover {
    width: 20%;
}

.searchbox .submitbutton {
    width: 100%;
    height: 56px;
    color: var(--color-wh) !important;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    background-color: var(--color-accent);
    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;
}

/* カテゴリツリー区画-------------------- */
.categorylist summary {
    padding: 1em 0;
    cursor: pointer;
}

.categorylist summary::marker {
    color: var(--color-accent);
}

.categoryTree ul {
    list-style: none;
    padding-left: 0;
    width: 100%;
    margin-left: 2em;
}

.categoryTree ul:first-of-type {
    border-top: 0.15em solid var(--color-pale);
}

.categoryTree ul.depth1 {
    margin: 0 0 0.5em 0;
}

.categoryTree ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.5em;
    padding: 0.5em 0;
    border-bottom: 0.15em solid var(--color-pale);
}

.categoryTree ul li ul {
    margin-top: 0.5em;
}

.categoryTree ul li ul li {
    border: none;
    padding-bottom: 0;
}

/* プルダウンメニュー版カテゴリ一覧の装飾 */
.catpull {
    max-width: 200px;
}

/* ハッシュタグリスト区画-------------------- */
.hashtaglist {
    list-style: none;
    margin:0 0 2.5em 0;
    padding-left: 0;
    font-size: 0.85em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em 1.5em;
}

.hashtaglist li a {
    display: inline-block;
    margin-right: 4px;
    padding: 4px 8px;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-pale);
    background-color: var(--color-pale);
    border-radius: 4px;
}

.hashtaglist li a::before {
    content: '#';
    display: inline-block;
    margin-right: 2px;
}

.hashtaglist li a:hover {
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    background-color: var(--color-wh);
}


/* プルダウンメニュー版ハッシュタグ一覧の装飾 */
.hashtagpull {
    max-width: 200px;
}

/* QUICK POST-------------------- */
.addpost {
    padding: 5em;
    background-color: var(--color-pale);
}

.postform {
    padding: 1em 0;
}

.postform .line-textarea {
    margin-bottom: 1rem;
}

/* 本文入力 */
.postform .tegalogpost {
    width: 100%;
    min-height: 10em;
    padding: 1em;
    border: 1px solid var(--color-mgrey);
    background-color: var(--color-wh);
    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;
    text-align: left;
}

/* 投稿ボタン */
.postbutton {
    display: block;
    font-size: 1.1em;
    color: var(--color-accent) !important;
    padding: 0.75em 2em;
    border-radius: 4px;
    background-color: var(--color-wh);
    border: 1px solid var(--color-accent);
    cursor: pointer;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.postbutton:hover {
    color: var(--color-wh) !important;
    background-color: var(--color-accent);
}

/* 文字装飾ボタン群 */
/* 掲載領域全体 */
.decoBtns {
    display: inline-block;
    margin-top: 0.5em;
}

/* 全ボタン装飾 */
.decoBtns input {
    margin: 0 0.25em 0.5em;
    padding: 0.25em 1em;
    border-radius: 4px;
    border: none;
    background-color: var(--color-lgrey);
    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: 0.15em solid var(--color-lgrey);
    margin-top: 1em;
    padding-top: 1em;
}

/* ページナビゲーション-------------------- */
.pagenavi {
    padding: 4em 2em;
    font-size: 0.85em;
    text-align: center;
}

.pagenavi a {
    padding: 6px;
}

.pagenavi a:hover {
    color: var(--color-accent) !important;
}

/* ページ前後移動*/
.pagelinks {
    margin-bottom: 8px;
}

/* ▼ページ番号リンク */
.pagenums a.pagenumlink {
    display: inline-block;
    width: 32px;
    height: 32px;
}

/* 現在のページ番号の装飾 */
a.pagenumhere {
    background-color: var(--color-pale);
    text-decoration: none;
}

/* ▼限定解除リンク(＝HOMEに戻るリンク) */
.pagehome {
    margin: 0.15em;
    font-weight: bold;
}

/* ページトップに戻る-------------------- */
.backtotop {
    position: fixed;
    right: 0;
    bottom: 0;
}

.backtotop a {
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--color-text);
}

.backtotop a::before {
    content: "";
    position: absolute;
    display: inline-block;
    margin: 0 auto;
    top: 18px;
    right: 0;
    left: 0;
    transform: rotate(135deg);
    width: 8px;
    height: 8px;
    border: solid var(--color-wh);
    border-width: 0 0 2px 2px;
}

/* -----------------------------------------------------------------------
内側(個別投稿の表示用)のスキン（skin-onelog.html）
---------------------------------------------------------------------- */
.post {}

.onelogbox {
    display: flex;
    padding: 8em 5em;
    border-bottom: 1em solid var(--color-pale);
}

.onelogbox .posthdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.onelogbox .postdate {
    font-size: 1.5em;
    line-height: 1;
}

.onelogbox .postcate {
    font-size: 0.85em;
}

.onelogbox .posthdr .Login-Required {
    display: flex;
    gap: 1em;
}

.onelogbox .editlink,
.onelogbox .deletelink {
    display: inline-block;
    font-size: 0.85em;
    letter-spacing: 0;
    text-decoration: none;
    padding: 0.25em 1em;
    border: 1px solid var(--color-grey);
    border-radius: 4px;
    color: var(--color-grey);
}

.onelogbox .editlink:hover,
.onelogbox .deletelink:hover {
    color: var(--color-wh);
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.postcnt {
    width: 100%;
}

.postbody {
    margin: 3em 0;
}

/* 複数カテゴリのカンマ */
.catseparator {
    margin: 0 4px;
}

/* -----------------------------------------------------------------------
てがろぐの機能の装飾-内側(個別投稿の表示用)のスキン（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 {
    margin: 0.5rem 0 0.5rem 1rem;
    padding: 4px 0 4px 8px;
    font-size: 0.8em;
    border-left: 3px solid var(--color-mgrey);
}

.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: 600px) {
    .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;
}

/* 250806 埋め込み動画の横幅がはみ出すのを調整 */
.embeddedmovie {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.embeddedmovie iframe {
    width: 100%;
    height: 100%;
}

/* 250806 埋め込みツイートの横幅がはみ出すのを調整 */
.twitter-tweet iframe {
    width: 100% !important;
}

/* 検索語のハイライト-------------------- */
.searchword {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #aaf0aa 60%);
}

/* 表示対象の限定時などの「限定条件」表示行-------------------- */
.situation {
    font-weight: bold;
}

.situation:empty {
    display: none;
}

/* 限定表示がない場合は存在自体を消す */

/* 日付境界バー */
.dateseparator {
    font-size: 0.85em;
    padding: 1em;
    text-align: center;
    background-color: var(--color-pale);
}

.dateseparator::before {
    content: '▼';
}

/* 固定投稿 */
.fixedseparator {
    margin-bottom: -16px;
}

.fixedseparator::before {
    display: none;
}

.logstatus-fixed{
    border: none;
}

/*鍵入力フォーム-------------------- */
.passkeyform {
    margin: 2em 0;
    padding: 1em 0.5em;
    font-size: 0.85em;
    background-color: var(--color-lgrey);
}

.passkeybox {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.passkeyguide {
    display: flex;
    align-items: center;
}

.passkeyguide::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    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-mgrey);
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.passkeysubmit {
    height: 28px;
    font-size: 1em;
    color: var(--color-wh);
    padding: 4px 8px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--color-accent);
}

/* 各投稿の個別ページで表示される囲みナビ-------------------- */
.utilitylinks {
    padding: 8em 5em;
    border-bottom: 1em solid var(--color-pale);
}

/* -----------------------------------------------------------------------
スマホ用の処理
---------------------------------------------------------------------- */
@media screen and (max-width:600px) {
    /* ←←←消さないよう注意！ */

    body,
    input,
    textarea {
        font-size: 12px;
    }

    .wrap {
        max-width: 100%;
        margin: 0;
        box-shadow: none;
    }

    header,
    .cnt,
    footer {
        min-width: 100%;
    }

    .cnt,
    footer {
        min-width: 100%;
    }

    header,
    .addpost,
    .onelogbox,
    .utilitylinks {
        padding: 5em 2em;
    }

    .onelogbox .postftr {
        display: block;
    }

    .imgblock {
        height: 28em;
    }

    /* スマホでタップ時に半透明にならないようにする-------------------- */
    a:hover {
        opacity: 1;
    }

    .passkeyguide {
        width: 100%;
        margin-bottom: 8px;
        justify-content: center;
    }

    footer{
        padding-bottom: 6em;
    }
}

/* ←←←消さないよう注意！ */
/* -----------------------------------------------------------------------
スマホ用の処理ここまで
---------------------------------------------------------------------- */