﻿@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: #fff4f6;
} 


/* 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: 1100px; /* 600pxから、お好みの幅（例: 900pxや1000px）に変更 */
    margin: 6em auto;
    background-color: transparent;
    
}

/* 記事エリアとフッターに背景色を設定 */

header,
.cnt,
footer {
    margin: 0 auto;
}


.cnt {
    margin: 0 5em;
}

/* header-------------------- */
header {
    padding: 0em 5em 0em;
    position: relative;
}

header h1 {
    font-size: 4em;
    line-height: 1;
    margin-bottom: 0.75em;
}

header h1 a{
    text-decoration: none!important;
}

/* sitename */
.sitename {
    font-size: 0.55em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.3em;
}

/* teganame */
.teganame {
    font-size: 0.75em;
}

/* 管理画面へのリンク */
header .admin {
    display:inline-flex;
    margin-left: 10px;
    
    
}

@media screen and (max-width:600px) {
    header .admin {
       margin-bottom: 5px;
    }
}

header .admin a {
    display: inline-block;
    font-size: 0.85em;
    letter-spacing: 0;
    text-decoration: none;
    color: var(--color-grey);
}

header .admin a:hover {
    color: var(--color-wh);
}

header .home {
    position: absolute;
    top: 5em;
    right: 2em;
}

/* 画像ブロック-------------------- */
.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）
---------------------------------------------------------------------- */
/* 検索窓区画-------------------- */

.select-cat,
.select-date,
.select-tag {
    padding-top: 1px;
    padding-bottom: 1px;
}

.searchbox {
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1px;
}

.searchbox .searchinputs {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}

 form.datelimitbox{
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}

/* 検索語入力欄 */
.queryinput {
    border: 1px solid #ffb5c3; 
    border-right: none; 
    padding: 1px 1px 1px 5px;
    outline: none;
}

select {
    color: #5E5957;
    background-color: #ffffff;
    transition: 0.3s;
    padding: 4.5px;
    border: 1px solid var(--color-mgrey);
    cursor: pointer;
    outline: none;
}
select .submitbutton:hover {
    color:#ffb5c3;
}

/* 検索(送信)ボタン */
.searchbox .submitcover {
}

.searchbox .submitbutton
 {
    color: #fff;
    background-color: #ffb5c3;
    transition: 0.3s;
    padding: 4px;
    border: 1px solid #ffb5c3;
    cursor: pointer;
    outline: none;
}

.submitbutton {
    color: #fff;
    background-color: #ffb5c3;
    padding: 1px 3px 3px 3px;
    border: 1px solid #ffb5c3;
    cursor: pointer;
    outline: none;
}

.datelimitboxoptions { display: none !important; }


/* カテゴリツリー区画-------------------- */
.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 #ffb5c3;
    background-color: #fff;
    border-radius: 4px;
}

.hashtaglist li a::before {
    content: '#';
    display: inline-block;
    margin-right: 2px;
}

.hashtaglist li a:hover {
    color: #FFF;
    border: 1px solid var(--color-accent);
    background-color: var(--color-accent);
}


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

/* QUICK POST-------------------- */

.addpost
     {
        width: 1100px;
        max-width: 100%;  
        margin: 0 auto;
        padding: 2em;
        background-color: var(--color-pale);
        border-radius: 8px;
        border: #ffb5c3 1px solid;
        text-align: start;
    }

.postform {
    padding: 1em;
}

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

/* 本文入力 */
.postform .tegalogpost {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
    min-height: 10em;
    padding: 1em;
    border: 1px solid var(--color-mgrey);
    background-color: var(--color-wh);
    overflow-wrap: break-word;
    overflow: auto;
    outline: none;
}
   

/* プレースホルダ(※入力文字数がゼロの際にだけ見える薄文字)の装飾 */
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 {
    padding: 0.25em 1em;
    border-radius: 4px;
    border: none;
    background-color: var(--color-lgrey);
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.decoBtns input:not([type="checkbox"]) {
    margin: 0 0.25em 0.5em; /* ボタン類にはこれまで通りのマージンを適用 */
}


/* 強調  :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, .line-control {
    display: flex;
    flex-wrap: wrap;
}

.catChecks label, .line-control label {
    margin-left: 4px; 
    align-items: center;
    white-space: nowrap; 
}

.catChecks label input[type="checkbox"] {
    text-align: center;
    
}

/* 他の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 !important;
}

.pagenavi a {
    padding: 6px;
}

.pagenavi a:hover {
    color: var(--color-accent) !important;
}

/* ページ前後移動*/
.pagelinks {
    margin-bottom: 8px;
    text-align: center !important;
}

/* ▼ページ番号リンク */
.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;
    margin-bottom: 15px;
}

.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 .posttag {
    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;
    font-size: 1.5em;
}

/* 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;
    width: 60%; 
    height: auto; 
    text-align: center;
}

/* フラグ付き画像 */
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%, #fffd95 60%);
}

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

.situation:empty {
    display: none;
}

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

/* 日付境界バー */
.dateseparator {
    font-size: 0.85em;
    padding: 1em;
    text-align: center;
    background-color: rgba(255,255,255,0.0);;
}

.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: 4em 0 0;
        box-shadow: none;
    }

    header,
    .cnt,
    footer {
        min-width: 100%;
    }

    .cnt,
    footer {
        min-width: 100%;
    }

    
    .onelogbox,
    .utilitylinks {
        padding: 5em 2em 2em;
    }

    header {
        padding: 0em 2em 0em;
    }

    .onelogbox .postftr {
        display: block;
    }

    .imgblock {
        height: 28em;
    }

    
    .taglist {
        padding: 1.5em !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .cnt {
        width: 100% !important;    
        margin: 0 auto !important;     
        padding: 0 24px !important;    
        box-sizing: border-box !important; 
    }
    
    .articlelist {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    a:hover {
        opacity: 1;
    }

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

    footer{
        padding-bottom: 6em;
    }
}


    

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

input[type="checkbox"] {
  accent-color: #ffb5c3;
}

/* iOSでのデフォルトスタイルをリセット */
button {
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  border: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
button::-webkit-search-decoration {
  display: none;
}
button:focus {
  outline-offset: -2px;
}

a.link_wavebox {
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans",
               "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  display: inline-block;
  border: 1.5px solid #ffb5c3;   
  color: #ffb5c3;              
  background: #FFF;         
  font-size: 13px;
  border-radius: 20px;
  padding: 3px 13px;
  text-decoration: none;
  transition: background 0.3s;
}

/* hover時 */
a.link_wavebox:hover {
  color: #fff4f6; 
  background: #ffb5c3;
}

a.link_wavebox:active {
  opacity: 0.9;
}

/* Wavebox アイコン用 */
a.link_wavebox {
  display: inline-flex;      
  align-items: center;      
  gap: 4px;                 
}

a.link_wavebox .wavebox_icon {
  font-size: 18px;
  line-height: 1;
}

a.link_wavebox {
  vertical-align: middle;
}

.perpage {
    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);
}

.perpage:hover {
    color: var(--color-wh);
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.addpost summary {
  cursor: pointer;
  display: block; 
  list-style: none;
}

.addpost summary::marker {
    display: none;
}

.addpost summary::-webkit-details-marker {
    display: none;
}

.articlelist{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 1.5rem;
    justify-content: center;
    margin: 0 auto 3rem;     
    width: 100%;

	> a{
		font-weight: normal;
		text-decoration: none;
	}
	article{
		display: flex;
        max-width: 400px;
		flex-direction: row;
		margin-bottom: 0;
		padding: 0;

		div.imagearea{
			aspect-ratio: 1 / 1;
			background-color: var(--accent-30);
			border-radius: var(--radius) 0 0 var(--radius);
			display: grid;
			width: 120px;
		}
		div.articleinfo{
			border-radius: 0 var(--radius) var(--radius) 0;
			color: var(--text-color-70);
			display: flex;
			flex: 1;
			flex-direction: column;
			justify-content: center;
			line-height: 1.6;

            
			b{
				color: var(--main-text-color);
				font-size: 0.85rem;
			}
			p{
				display: -webkit-box;			/* -webkit-line-clampを使うために必要な記述 */
				line-clamp: 2;					/* 1行だけ見せる (将来的にはこれだけで実現可能かも) */
				overflow: hidden;				/* 表示量を制限する場合に必須の記述 */
				text-overflow: ellipsis;		/* 省略記号(三点リーダー) */
				-webkit-line-clamp: 2;			/* 1行だけ見せる (今のブラウザにはこちらが必要) */
				-webkit-box-orient: vertical;	/* -webkit-line-clampを使うために必要な記述 */
			}
		}
	}
	article.logstatus-fixed:before,
	article.logstatus-lock:before{
		right: 1rem;
	}
	img{
		aspect-ratio: 1 / 1;
		border-radius: var(--radius) 0 0 var(--radius);
		object-fit: cover;
		object-position: 50%;
		width: 150px;
	}
	div.imagearea:empty::before,
	div.imagearea:has(.nsfw)::before,
	article.logstatus-lock div.imagearea::before{
		color: var(--accent);
		font-size: 0.8rem;
		margin: auto;
		padding-bottom: 5px;
	}
	div.imagearea:empty::before{
		content: "no image";
        background-color: FFF;
	}
	div.imagearea:has(.nsfw)::before{
		content: "NSFW";
	}
	article.logstatus-lock div.imagearea::before{
		content: "\f023";
		font-family: "Line Awesome Free";
		font-size: 2rem;
		font-weight: 900;
	}
	img.nsfw,
	img.emoji,
	article.logstatus-lock div.imagearea img{
		display: none;
	}
}
body.mode-sitemap div.container main .situation{
	margin-bottom: 2rem;
}
body.mode-sitemap .postarea{
	margin-bottom: 2rem;
}





.home-icon a:hover{
	color: #ffb5c3;
}

.home-icon i.las, 
.book-icon i.las {
    font-size: 27px; 
}

.new{
    max-height: 17px;
    max-width: 24px;
    margin: 1px;
}

header h1{
    display:inline-flex;
    align-items:center;
    gap:12px;
}

.link_wavebox{
    display:inline-flex;
    margin-left: 20px;
    margin-bottom: 8px;
}

.quickpost{
    font-size: 1.5em;
}

.cattree li::marker {
    color: var(--color-grey);
}

.cattree a {
    color: var(--color-grey);
    padding: 3px;
}

.cattree a:hover{
    color: #ffb5c3;
}

.catbranch{
    margin-bottom: 3px;
}

span.num{
    margin-left: 3px;
}


.taglist {
    background-color: var(--color-wh);
    padding: 3em 5em;
    width: 1100px;
    max-width: 100%;        
    margin: 0 auto 3em;   
    box-sizing: border-box; 
}

@media screen and (max-width:600px) {
    .taglist {
        padding: 2em; /* スマホでは余白を少し狭くする */
    }
}



/* -----------------------------------------------------------------------
記事一覧（サイトマップ）の統合デザイン
---------------------------------------------------------------------- */
.articlelist {
    display: grid;
    /* PCでは画面幅に応じて2列、スマホでは1列 */
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    margin: 0 auto 3rem;
    width: 1100px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 3em 5em;
    background-color: var(--color-wh);
    
}

.articlelist > a {
    text-decoration: none !important;
    font-weight: normal;
    transition: transform 0.2s ease;
}

.articlelist > a:hover {
    transform: translateY(-3px);
}

/* カード本体 */
.articlelist article {
    display: flex;
    flex-direction: row;
    height: 120px;
    background-color: var(--color-pale);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-lgrey);
    position: relative; /* アイコン配置の基準として必要 */
}

/* 固定投稿のピンアイコン設定 */
.articlelist article.logstatus-fixed::after {
    content: "push_pin";
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 18px;
    color: var(--color-accent);
    transform: rotate(30deg);
    z-index: 10;
}

/* 画像エリア・情報エリアはそのまま維持 */
.articlelist div.imagearea {
    width: 130px;
    min-width: 130px;
    height: 100%;
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.articlelist img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.articlelist div.articleinfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1.2rem;
    line-height: 1.6;
    background-color: #fff4f6;
}

.articlelist div.articleinfo b {
    color: var(--color-text);
    font-size: 0.8rem;
    margin-bottom: 4px;
    font-family: "Libre Baskerville", serif;
    display: block;
    font-weight: lighter;
}

.articlelist div.articleinfo p {
    color: var(--color-text);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* スマホ用レスポンシブ対応 */
@media screen and (max-width: 800px) {
    .articlelist {
        grid-template-columns: 1fr;
        padding: 2em;
    }
}

.onelogbox {
    background-color: var(--color-wh);
    padding: 3em 5em;
    width: 1100px;
    max-width: 100%;        
    
    box-sizing: border-box; 
}

@media screen and (max-width:600px) {
    .onelogbox {
        padding: 2em; /* スマホでは余白を少し狭くする */
    }
}

.decoration1{
    display: none;
}

.prevnextlink a{
    background-color: #fff;
    border: solid 1px #ffb5c3;
    color: #ffb5c3;
    padding: 4px 8px 6px;
    border-radius: 4px;
    text-decoration: underline dashed;
}

.prevnextlink a:hover{
    background-color: #ffb5c3;
    border: solid 1px #ffb5c3;
    color: #FFF;
}

.prevnext{
    margin-bottom: 18px;
}

.searchoption{
	margin-left: 4px;
    display: flex;
    align-items: center;
    margin-top: 0px;
    padding-top: 45px;
}

.searchtarget label:has(input[value="sitemap"]) {
    display: none;
}

input[name="tag"] {
    margin-right: 4px; 
}

input[name="category"] {
    text-align: center;
}

input[id="newImgUpNv4LL"] {
    max-width: 80%;
}

input[name="upload_file"] {
    max-width: 200px !important;
}


@media screen and (max-width:375px) {
    /* 検索ボックス全体の横幅を100%にする */
    .searchbox, 
    .searchbox .searchinputs {
        width: 100%;
        max-width: 100%;
    }
    /* 入力欄を外枠に合わせて伸縮させ、はみ出さないようにする */
    .queryinput {
        flex: 1;
        width: 100%;
        min-width: 0; /* 縮むことができるように指定 */
        box-sizing: border-box;
    }
    
    /* 記事カード（グリッド）の最小幅設定を解除 */
    article a {
        grid-template-columns: 1fr !important; /* 強制的に1列に固定 */
        max-width: 100%;
    }

    .title, .link_wavebox, .submitcover{
        max-width: 100%;
    }

    
}
