﻿@charset "utf-8";

/*
本スキンのクレジット表示（削除不可）
Template Name: Lattice 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 {
    color: var(--color-text);
    background: var(--color-bg);
    background-image: linear-gradient(90deg, #00000008 1px, transparent 1px), linear-gradient(#00000008 1px, transparent 1px);
    background-position: 10px 10px;
    background-size: 21px 21px;
}

/* font-------------------- */
body,
input,
textarea {
    font-family: "Tenor Sans", "Zen Kaku Gothic New", sans-serif;
    font-size: 14px;
    line-height: 2;
    letter-spacing: .05em;
    font-weight: 400;
    text-align: justify;
}

/* 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;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a:hover {
    color: var(--color-accent);
    text-decoration-style: var(--color-accent);
}

a img {
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a img:hover {
    opacity: 0.5;
    /* マウスホバー時に半透明に */
}

ul,
ol {
    padding-left: revert;
}

h2,
h3 {
    margin: 1rem 0;
    line-height: 1;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1rem;
}

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-grey);
    border: none;
    border-radius: 999px;
}

/* -----------------------------------------------------------------------
外側(ページ全体の生成用)の装飾（skin-cover.html）
---------------------------------------------------------------------- */
/* layout-------------------- */
.wrap {
    display: flex;
    justify-content: space-between;
    gap: 2em;
    margin: 0 10% 64px;
}

.cnt {
    width: 100%;
}

/* h1-------------------- */
h1.title {
    font-size: 2em;
    line-height: 1.3;
    margin: 1em 10%;
}

h1.title a {
    text-decoration: none;
}

/* sub-------------------- */
.sub {
    width: 50%;
    min-width: 320px;
    height: fit-content;
    font-size: 0.85em;
}

.sub ul {
    list-style: none;
    padding-left: 0;
}

.subbox {
    padding: 2em;
    margin-bottom: 2em;
    background-color: var(--color-box-bg);
    border-radius: 1em;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.08);
}

.subboxhdr {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 1em;
}

/* アコーディオン */

.accordion details {
    margin-inline: 0;
    border-bottom: 1px solid var(--color-mgrey);
}

.accordion li:last-of-type details {
    border-bottom: none;
}

.accordion .title {
    position: relative;
    list-style: none;
    width: 100%;
    cursor: pointer;
    padding: 0.75em 0;
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
}

summary.title::-webkit-details-marker {
    display: none;
}

.accordion .title::before,
.accordion .title::after {
    content: '';
    position: absolute;
    right: 0;
    display: block;
    background-color: var(--color-accent);
    border-radius: 999px;
    width: 14px;
    height: 2px;
}

.accordion .title::after {
    transform: rotate(90deg);
}

.accordion details::details-content {
    opacity: 0;
    block-size: 0;
    transition: .3s;
    transition-property: display, opacity, block-size, padding;
    transition-behavior: allow-discrete;
    line-height: 1.6em;
}

.accordion .content {
    margin: 0 0 2em;
    padding: 1em 2em;
    background-color: var(--color-lgrey);
    border-radius: 0 0 8px 8px;
}

.accordion li:last-of-type .content {
    margin: 0;
}

.accordion .content>*:first-of-type {
    margin-top: 0;
}

.accordion .content>*:last-of-type {
    margin-bottom: 0;
}

.accordion details[open]::details-content {
    opacity: 1;
    block-size: auto;
    block-size: calc-size(auto, size);
}

.accordion details[open] .title:after {
    display: none;
}

/* ボタン */

.boxlink a {
    position: relative;
    /* 矢印用 */
    display: block;
    color: var(--color-wh);
    text-decoration: none;
    padding: 1.5em 2em;
    margin-bottom: 2em;
    background-color: var(--color-accent);
    border-radius: 0.75em;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.boxlink a::before,
.boxlink a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 26px;
    margin: auto;
    content: "";
    vertical-align: middle;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.boxlink a::before {
    width: 13px;
    height: 2px;
    background: var(--color-wh);
}

.boxlink a::after {
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-wh);
    border-right: 2px solid var(--color-wh);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.boxlink a:hover {
    color: var(--color-text);
    background-color: var(--color-mgrey);
    box-shadow: none;
}

.boxlink a:hover::before {
    background: var(--color-text);
}

.boxlink a:hover::after {
    border-top: 2px solid var(--color-text);
    border-right: 2px solid var(--color-text);
}

/* credit-------------------- */
.credit {
    font-size: 0.85em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 1em;
}

/* -----------------------------------------------------------------------
てがろぐの機能の装飾-外側(ページ全体の生成用)の装飾（skin-cover.html）
---------------------------------------------------------------------- */
/* 検索窓区画-------------------- */

.searchbox .searchinputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 検索語入力欄 */
.queryinput {
    width: 100%;
    height: 3em;
    padding: 0.5em 1em;
    border-radius: 0.5em 0 0 0.5em;
    background-color: var(--color-lgrey);
    border: none;
}

/* 検索(送信)ボタン */
.searchbox .submitcover {
    width: 25%;
}

.searchbox .submitbutton {
    width: 100%;
    height: 3em;
    color: var(--color-wh);
    text-align: center;
    border-radius: 0 0.5em 0.5em 0;
    background-color: var(--color-accent);
    border: none;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.searchbox .submitbutton:hover {
    color: var(--color-text);
    background-color: var(--color-mgrey);
}

/* 検索対象を限定するチェックボックス */
.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;
}

/* 検索オプションリスト */
.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: 1.5em;
}

.categoryTree ul.depth1 {
    margin: 0 0 8px 0;
}

.categoryTree ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1em 0;
    gap: 0.5em;
}

.categoryTree ul li ul li::before {
    content: '';
    display: block;
    width: 0.75em;
    height: 0.3em;
    border-radius: 999px;
    background-color: var(--color-accent);
}

.categoryTree ul li ul li {
    border: none;
    padding-bottom: 0;
}

.categoryTree ul a {
    text-decoration: none;
    padding: 0.5em 1em;
    background-color: var(--color-box-bg);
    border-radius: 999px;
}

.categoryTree ul a:hover {
    background-color: var(--color-lgrey);
}

/* プルダウンメニュー版カテゴリ一覧の装飾 */
.catpull {
    max-width: 200px;
}

/* ハッシュタグリスト区画-------------------- */
.hashtaglist {
    padding: 1em 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1em;
}

.hashtaglist li a {
    display: inline-block;
    margin-right: 0.5em;
    padding: 0.5em 1em;
    text-decoration: none;
    background-color: var(--color-box-bg);
    border-radius: 999px;
}

.hashtaglist li a::before {
    content: '#';
    color: var(--color-accent);
    font-weight: bold;
    display: inline-block;
    margin-right: 0.25em;
}

.hashtaglist li a:hover {
    background-color: var(--color-lgrey);
}

/* プルダウンメニュー版ハッシュタグ一覧の装飾 */
.hashtagpull {
    max-width: 200px;
}

/* 新着画像リスト区画-------------------- */
.imagelistbox {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 1em 0;
}

.imagelistbox .imagelistitem {
    width: calc(100% / 3 - 4px);
    display: block;
}

.imagelistbox a {
    display: block;
    width: 100%;
    height: 100%;
}

.imagelistbox img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--color-text);
    box-sizing: border-box;
}

/* カレンダー区画-------------------- */
.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;
}


/* QUICK POST-------------------- */
.addform {
    margin-bottom: 3em;
    padding: 3em;
    background-color: var(--color-lgrey);
    border-radius: 1em;
}

.addform h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 0 1em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.addform h2::before {
    content: '';
    display: block;
    width: 0.5em;
    height: 0.25em;
    border-radius: 999px;
    background-color: var(--color-accent);
}

.postform {
    padding-bottom: 16px;
}

.postform .line-textarea {
    margin-bottom: 1em;
}

/* 本文入力 */
.postform .tegalogpost {
    width: 100%;
    min-height: calc(5em + 32px);
    padding: 16px;
    border: none;
    border-radius: 8px;
    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: 0.5em;
    flex-wrap: wrap;
}

/* 投稿ボタン */
.postbutton {
    display: block;
    font-size: 1.1em;
    color: var(--color-wh) !important;
    padding: 0.75em 2em;
    border-radius: 999px;
    background-color: var(--color-accent);
    border: none;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
    cursor: pointer;
}

.postbutton:hover {
    color: var(--color-text) !important;
    background-color: var(--color-lgrey);
}

/* 文字装飾ボタン群 */
/* 掲載領域全体 */
.decoBtns {
    display: inline-block;
    margin-top: 0.5em;
}

/* 全ボタン装飾 */
.decoBtns input {
    margin: 0.25em;
    padding: 0.5em 1.5em;
    border-radius: 999px;
    border: none;
    color: var(--color-text);
    background-color: var(--color-wh);
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
    cursor: pointer;
}

.decoBtns input:hover {
    background-color: var(--color-lgrey);
}

/* 強調  :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 {
    padding: 16px;
    font-size: 0.8em;
    text-align: center;
}

.pagenavi a {
    padding: 6px;
}

/* ページ前後移動*/
.pagelinks {
    margin-bottom: 8px;
}

/* ▼ページ番号リンク */
.pagenums a.pagenumlink {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 999px;
}

/* 現在のページ番号の装飾 */
a.pagenumhere {
    color: var(--color-wh);
    background-color: var(--color-accent);
    text-decoration: none;
}

/* ▼限定解除リンク(＝HOMEに戻るリンク) */
.pagehome {
    margin: 0.15em;
    font-weight: bold;
}

/* ページトップに戻る-------------------- */
.backtotop a {
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    border-radius: 1em;
}

.backtotop a::before {
    content: "";
    position: absolute;
    display: inline-block;
    margin: 0 auto;
    top: 18px;
    right: 0;
    left: 0;
    transform: rotate(135deg);
    width: 6px;
    height: 6px;
    border: solid var(--color-wh);
    border-width: 0 0 2px 2px;
}

/* -----------------------------------------------------------------------
内側(個別投稿の表示用)のスキン（skin-onelog.html）
---------------------------------------------------------------------- */

.onelogbox {
    display: flex;
    padding: 3em;
    margin-bottom: 2em;
    background-color: var(--color-box-bg);
    border-radius: 1em;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.08);
}

.onelogbox:last-of-type {
    border-bottom: none;
}

.onelogbox .posthdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5em;
}

.onelogbox .postdate {
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.onelogbox .postdate::before {
    content: '';
    display: block;
    width: 0.5em;
    height: 0.25em;
    border-radius: 999px;
    background-color: var(--color-accent);
}

.onelogbox .postcate {
    font-size: 0.85em;
}

.onelogbox .posthdr .Login-Required {
    display: flex;
    gap: 0.5em;
}

.onelogbox .editlink,
.onelogbox .delitelink {
    display: inline-block;
    text-decoration: none;
    font-size: 0.85em;
    padding: 0.5em 2em;
    border-radius: 999px;
    background-color: var(--color-lgrey);

}

.onelogbox .editlink:hover,
.onelogbox .delitelink:hover {
    background-color: var(--color-mgrey);
}

.postcnt {
    width: 100%;
}

.postbody {
    margin: 1.5em 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 {
    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;
    /* 同上 */
}

/* ================================================================ */
/* てがろぐVer 4.5.5β以降で使える、カード型リンク用CSSの抜粋です。 */
/* お使いのスキンのCSSに追記するなどしてご活用下さい。              */
/* ================================================================ */

	/* ---------------------- */
	/* ▼カード型リンクの装飾 */
	/* ---------------------- */
	.cardlink {
		display: inline-block;
		width: 100%;
		max-width: 500px;               /* 最大幅 (※横幅を制限したくない場合はこれを削除して下さい) */
		padding: 0 0.25em 0.5em 0;      /* 内側の余白量 */
		font-size: 0.9rem;              /* 文字サイズ */
		text-decoration: none;          /* リンク文字の下線を消す */
		vertical-align: middle;         /* 行内の上下方向では中央配置 */
	}

		/* ------------------------------------- */
		/* リンクカードの装飾(サイズS/L共通部分) */		/* ※後述の「サイズS用の追記」や「サイズL用の追記」と合わせて、1つのカードデザインになります。 */
		/* ------------------------------------- */
		/* カード外枠 */
		.cardlinkbox {
			border: 1px solid #ccc;    /* 枠線 */
			border-radius: 7px;        /* 角丸 */
			background-color: white;   /* 背景色 */
			display: flex;             /* 内部レイアウトのFlexbox化 */
		}
		/* (マウスが載ったとき) */
		.cardlinkbox:hover {
			background-color: #f5fff5; /* 背景色 */
			border-color: #8c8;        /* 枠線色 */
		}
			/* ▽リンクカード内の画像枠 (※読み込まれたog:imageは、この枠に《背景画像として》描画されます) */
			.cardlinkimage {
				background-image: linear-gradient(-30deg, #8a8, #e0f0e0);  /* プレースホルダ的な背景グラデーション(※og:imageの画像指定が読み込まれたら、この値は上書きされます) */
				background-size: cover;             /* 背景画像で枠を埋める */
				background-position: center center; /* 背景画像を中央に寄せる */
				background-repeat: no-repeat;       /* 背景画像を繰り返さない */
			}
			/* ▽リンクカード内のテキスト枠 */
			.cardlinktextbox {
				display: flex;          /* Flexbox化 */
				flex-direction: column; /* 子要素を縦方向に並べる */
				padding: 0.5em 1em;     /* 内側の余白量 */
			}
				/* ▽リンクカードのテキスト枠内の3要素共通 */
				.cardlinktitle,
				.cardlinkdescription,
				.cardlinkurl {
					/* ↓表示行数を制限するための準備 (※システム側では文字数は制限せずに「記述されている全文字」をHTMLに出力しますので、表示分量を制限したい場合はCSSで制御する必要があります。) */
					display: -webkit-box;          /* -webkit-line-clampを使うために必要な記述1 ※A */
					-webkit-box-orient: vertical;  /* -webkit-line-clampを使うために必要な記述2 ※A */
					overflow: hidden;              /* 表示量を制限する場合に必須の記述 */
					/* ↓制限の仕様 */
					line-clamp: 1;                 /* 1行だけ見せる (将来的にはこれだけで実現可能かも) */
					-webkit-line-clamp: 1;         /* 1行だけ見せる (今のブラウザにはこちらが必要で、そのためには上記「※A」も必要) */
					text-overflow: ellipsis;       /* 省略記号(三点リーダー) */
				}
				/* リンクタイトル */
				.cardlinktitle {
					padding-bottom: 0.25em;        /* 内側下端の余白量 */
				}
				/* リンク概要文 */
				.cardlinkdescription {
					line-height:1.3;               /* 行の高さ */
					color:#555;                    /* 文字色 */
					line-clamp: 2;                 /* (既存指定の上書き) 最大2行まで見せる */
					-webkit-line-clamp: 2;         /* (既存指定の上書き) 最大2行まで見せる */
				}
				/* リンクドメイン */
				.cardlinkurl {
					color: #999;                   /* 文字色 */
				}

		/* ----------------------------------- */
		/* リンクカードの装飾(サイズS用の追記) */		/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
		/* ----------------------------------- */
		.cardsize-S {
			flex-direction: row;                /* 画像とテキストは横に並べる(Flexbox) */
		}
			/* ▽リンクカード内の画像枠 */
			.cardsize-S .cardlinkimage {
				min-width: 100px;           /* 最小の横幅 */
				min-height: 100px;          /* 最小の高さ */
				border-radius: 6px 0 0 6px; /* 左側だけ角丸 */
				flex-shrink: 0;             /* 枠サイズを自動縮小させない */
			}
			/* ▽リンクカード内のテキスト枠 */
			.cardsize-S .cardlinktextbox {
				border-left: 1px solid #ccc; /* 左側の枠線 */
				justify-content:center;      /* Flexboxの上下方向での中央寄せ */
			}
				/* ▽リンクカードのテキスト枠内の3要素 */
				.cardsize-S .cardlinktitle { order: 2; }        /* タイトルは、2番目に表示 */
				.cardsize-S .cardlinkdescription { order: 3; }  /* 概要文　は、3番目に表示 */
				.cardsize-S .cardlinkurl { order: 1; }          /* ドメインは、1番上に表示 */

		/* ----------------------------------- */
		/* リンクカードの装飾(サイズL用の追記) */		/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
		/* ----------------------------------- */
		.cardsize-L {
			flex-direction: column;             /* 画像とテキストは縦に並べる(Flexbox) */
		}
			/* ▽リンクカード内の画像枠 */
			.cardsize-L .cardlinkimage {
				aspect-ratio: 1.91 / 1;     /* 画像枠の縦横比を指定= (横)1.91：(縦)1 */
				width: 100%;                /* 横幅は枠最大に拡げる */
				height: auto;               /* 高さは自動計算 */
				border-radius: 6px 6px 0 0; /* 上側だけ角丸 */
			}
			/* ▽リンクカード内のテキスト枠 */
			.cardsize-L .cardlinktextbox {
				border-top: 1px solid #ccc; /* 上側の枠線 */
			}
				/* ▽リンクカードのテキスト枠内の3要素 */
				.cardsize-L .cardlinktitle { font-weight: bold; }        /* 太字 */
				.cardsize-L .cardlinkdescription { min-height: 2.5em; }  /* 内容量が少ない場合でも一定の高さを確保 */
				.cardsize-L .cardlinkurl {
					border-top: 1px solid #ddd;  /* 上側の枠線 */
					margin-top:0.5em;            /* 上側の枠線より上の余白量 */
					padding-top:0.5em;           /* 上側の枠線より下の余白量 */
					font-size:0.75rem;           /* 文字サイズ(小さめ) */
				}

/* 画像そのもの */
.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: 0 1em 1em;
    text-align: center;
}

.dateseparator::before {
    content: '▼';
}

/* 固定投稿 */
.fixedseparator {
    border: none;
    margin-bottom: 8px;
    padding: 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;
}

/*鍵入力フォーム-------------------- */
.passkeyform {
    margin: 2em 0;
    padding: 3em;
    font-size: 0.85em;
    border-radius: 0.75em;
    background-color: var(--color-lgrey);
}

.passkeybox {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1em
}

.passkeyinput {
    width: 100%;
    height: 3em;
    padding: 0.5em;
    border: 1px solid var(--color-mgrey);
    border-radius: 0.5em;
}

.passkeysubmit {
    height: 3em;
    color: var(--color-wh);
    padding: 0.5em 1.5em;
    border: none;
    border-radius: 999px;
    background-color: var(--color-accent);
}

.submitcover input {
    cursor: pointer;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.submitcover input:hover {
    color: var(--color-text);
    background-color: var(--color-mgrey);
}

/* 各投稿の個別ページで表示される囲みナビ-------------------- */
.utilitylinks {
    padding: 24px 16px;
}

@media screen and (max-width:960px) {
    .wrap {
        max-width: 100%;
        margin: 0 3% 64px;
        flex-direction: column;
    }

    header,
    .cnt,
    footer {
        min-width: 100%;
    }
}

/* -----------------------------------------------------------------------
スマホ用の処理
---------------------------------------------------------------------- */
@media screen and (max-width:600px) {
    /* ←←←消さないよう注意！ */

    .sub {
        width: 100%;
    }

    .cnt,
    footer {
        min-width: 100%;
    }

    .addform,
    .onelogbox {
        padding: 2em;
    }

    .onelogbox .postftr {
        display: block;
    }

    h1.title {
        margin: 1em 3%;
    }

    .backtotop a {
        right: 3%;
    }

    /* スマホでタップ時に半透明にならないようにする-------------------- */
    a:hover {
        opacity: 1;
    }

}

/* ←←←消さないよう注意！ */
/* -----------------------------------------------------------------------
スマホ用の処理ここまで
---------------------------------------------------------------------- */