@charset "UTF-8";

/* ↓ページ全体の設定 */
html, body {
  margin: 0;
  padding: 0;
}

html{
	scroll-behavior: smooth;
}

body{
	margin: 0;
	position: relative;
	width:100%;
	min-height:100dvh;
	display: flex;
	flex-flow: column;
	background-color: #d4ced3;
	color: var(--color-text);
    font-size: 17px;
    line-height: 1.8 ;
    letter-spacing: 1px;
	font-family: 'Noto Sans JP', sans-serif;
	animation: fadein 1s ease-out;
}

  @media screen and (max-width: 768px) {
  body {
  font-size: 15px;
  line-height: 1.8 ;
  letter-spacing: 1px;}
  }

strong{
	color: var(--color-main);
	font-weight: 600;
}

#wrap{
	display: flex;
	flex-direction: column;
    justify-content: start;
	min-height: 100dvh;
	padding: var(--margin-base);
}


/* セクション・カラムの設定 */

.one-column{
  position: relative;
  width: 100%; 
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 80px;
  padding: 20px 0 50px 0;
  box-sizing: border-box;
}

  @media screen and (max-width: 768px) 
  {
	.one-column{
  margin-bottom: 30px;
	}
}

/* ---ここまで--- */


/* リンク設定 */
a {
  text-decoration: none;
  color: #4a9eff;
  -webkit-transition: .2s;
  transition: .2s;  }
  
a:hover {
  color: #be8fd8;
}

a img:hover {
opacity:0.5;
transition:0.3s;
}


/* 段落設定、sub部分 */
p {
	margin: 10px 0 10px 0;}

span.sub {
	margin: 0 auto;}
	
em {
  padding: 2px 8px 2px 8px;
  background-color: #1e2141;
  font-style: normal;
  font-weight: bold;}


/* リセット欄 */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: 0;
  border-radius: 0;
  text-align: inherit;
}


/* 各ページヘッダー設定 */
.page-header {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-image:
    linear-gradient(rgba(11, 12, 29, 0.3), rgba(11, 12, 29, 0.3)),
	url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJUlEQVR4AUyKUQoAAAxBbfe/84YPKcLLAjg6EpgsFgGG5WcDPx8AAP//NZnv5AAAAAZJREFUAwBXdgIJ+y6SsQAAAABJRU5ErkJggg=="),
	url('https://momoirohuman.com/img/header.webp');
  background-size: cover, auto, cover;
  background-repeat: no-repeat, repeat, no-repeat;
  background-position: center, center, center;
  will-change: transform;
  z-index: 0;
}

.page-header-text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.page-header-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 29, 0.5);
  z-index: 1;
}

.page-header-text > * {
  position: relative;
  z-index: 2;
}

.page-header-text span {
  font-size: 0.8rem;
}

.page-header-text h1 {
  font-family: 'Montserrat','Noto Sans JP';
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0 auto;

}

/* スマホ対応 */
@media (max-width: 768px) {
  .page-header {
    height: 150px;
  }
  .page-header-bg {
    height: 150%;
  }
}


/* パンくずリスト */
.breadcrumb {
    display: flex;
    gap: 0 22px;
    list-style: none;
    padding: 0;
  	margin-bottom: 10px;
    font-size: .9em;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb i {
    margin-right: 4px;
}

.breadcrumb li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .3em;
    height: .3em;
    margin-left: 10px;
    border-top: 1px solid #0b0c1d;
    border-right: 1px solid #0b0c1d;
    content: '';
}

.breadcrumb a {
    text-decoration: none;
	margin-right: 8px;
	color: #0b0c1d;
}


/* 画像一覧 */
.imagelistitem {
	display: inline-block;
	width: 32%; /* 一列に3つ収めるための幅（+マージン考慮） */
	margin: 0.5%;
	aspect-ratio: 1 / 1; /* 正方形を維持 */
	overflow: hidden;
	border-radius: 0.4em;
	background-color: #f0f0f0; /* 読み込み前の背景色 */
	vertical-align: top;
}

.imagelistitem img.oneimage {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* 画像レスポンシブ対応（画面が狭い場合は2列→1列） */
/* @media (max-width: 768px) {
	.imagelistitem {
		width: 24%;
	}
} */


/* ---------------- */
/* ▼カレンダー区画 */
/* ---------------- */
.calendararea {
	margin: 0 0 2em 0;
	padding: 1em;
	border-bottom: 2px dashed #1e2141;
	background-color: #f6fff6;
	font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
	border-radius: 1em;
	box-shadow: 0 4px 8px rgba(0, 128, 0, 0.05);
}

/* ▼見出し */
.calendararea .cornertitle {
	margin: 0 0 0.5em 0;
	font-weight: bold;
	font-size: 1.2em;
	color: #1e2141;
}

/* ▽カレンダーカバー */
.calendarplace {
	width: 100%;
	margin: 1em 0;
  	padding: 1em;
	background-color: #e8fce8;
	border-radius: 1em;
	line-height: 1.8;
	overflow-x: auto;
 	box-sizing: border-box; /* パディング込みで幅100%に収める */
}

/* ▽カレンダーテーブル */
.calendar {
	border-collapse: separate;
	border-spacing: 4px;
	border: none;
	width: 100%;
	font-size: 0.8em;
	min-width: unset;       /* 最小幅を解除 */
  	table-layout: fixed;    /* セル幅均等化で詰め込む */
}

.calendar caption {
	color: #1e2141;
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 0.5em;
}

.calendar th,
.calendar td {
	border: none;
	padding: 0.3em;
	text-align: center;
	border-radius: 0.5em;
	background-color: #fff;
	transition: background-color 0.3s ease;
}

/* 曜日行 */
.daysofweek th {
	background-color: #efd4ff;
	font-weight: 500;
	padding: 8px 0;
	font-size: 0.85em;
	color: #705480;
}

/* 日付の装飾 */
.calendar a,
.calendar .nolink {
	display: inline-block;
	border-radius: 50%;
	width: 1.6em; 
	height: 1.6em;
	line-height: 1.6em;
	text-align: center;
	background-color: transparent;
	transition: all 0.3s ease;
}

 /* 見出し */
.calendar caption {
  font-size: 1em;        
}

/* 日付リンク */
.calendar td a {
	text-decoration: none;
	background-color: #be8fd8;
	color: #1a1a1a;
	font-weight: bold;
}
.calendar td a:hover {
	background-color: #705480;
	color: #fff8f5;
}

/* 今日の枠 */
.today {
	background-color: #e3c5f3 !important;
	border: 2px solid #705480;
	border-radius: 0.5em;
	font-weight: bold;
}

@media (max-width: 768px) {
  .calendararea {
    padding: 1em 0.5em;
  }

  .calendarplace {
    padding: 1em;
    margin: 1em 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .calendar {
    min-width: 100%;
    width: max-content; /* ← 子要素のサイズに合わせて拡張 */
    font-size: 0.85em;
  }

  .calendar th,
  .calendar td {
    padding: 0.4em;
  }

  .calendar td a,
  .calendar .nolink {
    width: 1.8em;
    height: 1.8em;
    line-height: 1.8em;
  }

  .calendar caption {
    font-size: 1em;
  }
}


/* 固定記事 */
article.logstatus-fixed {
  position: relative;
  background-color: #fff8f5;
}

/* リボン本体（★マーク） */
article.logstatus-fixed::before {
  content: '\f005';
  font-family: 'Font Awesome 6 Free';
  position: absolute;
  top: -3px;
  right: 20px;
  background: linear-gradient(to bottom, #C981CB, #494B91);
  clip-path: polygon(
    0 0, 100% 0, 
    100% 80%, 50% 100%, 0 80%
  );
  color: #fff;
  padding: 8px 14px;
  font-size: 17px;
  font-weight: bold;
  z-index: 10;
}

@media (max-width: 768px) {
  article.logstatus-fixed {
    padding-top: 40px; /* ←リボンの高さに合わせて調整 */
  }
}

/* ↓サイドバー */
.side > *{
	margin-top: calc(var(--margin-base) * 0.7);
	margin-bottom: 60px;
}

.side > div h3{
	display: flex;
	align-items: center;
	gap: 0 0.4em;
	margin-bottom: 0.6em;
	font-family: var(--font-alphanumeric);
	color: var(--color-main);
	font-weight: bold;
}

.side > div h3::after{
	content:'';
	display: block;
	width: 100%;
	height: 1px;
	background-color: var(--color-main);
}

.num{
	font-family: var(--font-alphanumeric);
	font-size: 0.9em;
}

h5 {
  color: #2a2f55;
  font-weight: bold;
  padding: 0 auto;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 1em;
  border-bottom: 3px solid #2a2f55;
}


/* スクロールバーの設定 */

::-webkit-scrollbar {
  background: #14162b;
  width: 5.5px;
}

::-webkit-scrollbar-track {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background-color: #7f80ea;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5e60d0;
}

/* ---ここまで--- */


/* ↓リンク一覧 */
.link ul{
	display: flex;
	flex-wrap: wrap;
	gap: 0.7em 0;
}

.link ul li a{
	display: block;
	background-color: var(--color-main);
	color: var(--color-base);
	font-family: var(--font-alphanumeric);
	text-align: center;
	font-weight: bold;
	line-height: 2em;
	border-radius: var(--border-radius);
	transition : all 0.3s ease 0s;
}

.link ul li a:hover{
	background-color: var(--color-accent);
}

/* ↓カテゴリーリスト */
ul.cattree li::before {
	margin-right: 0.3em;
	content: '\f07b';
	font-family: var(--font-icon);
	color: var(--color-main);
}

/* ↓ハッシュタグ */
ul.hashtaglist{
	display: flex;
	flex-wrap: wrap;
	gap:0.8rem;
}

ul.hashtaglist .num{
	display: none;
}

ul.hashtaglist li{
	padding: 0 0.5em;
	background-color: #fff8f5;
	font-size: 0.9em;
	font-weight: 500;
	border-radius: calc(var(--border-radius) / 2);
}

ul.hashtaglist li.notexist{
	padding: 0;
	background-color: transparent;
}

/* ↓日付リスト */
form.datelimitbox{
	line-height: 2em;
	display: flex;
	background-color: var(--color-light);
}

form.datelimitbox select{
	flex: 1;
	padding: 0 0.6em;
	font-family: var(--font-alphanumeric);
	font-size: 0.9em;
	letter-spacing: 0.1em;
	z-index: 2;
}

form.datelimitbox input{
	width: 4em;
	letter-spacing: 0.2em;
	text-align: center;
	color: var(--color-light);
	background-color: var(--color-accent);
}

form.datelimitbox {
	position: relative;
}

form.datelimitbox::before {
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	right: 4.5em;
	margin: auto;
	content: '\f078';
	font-family: var(--font-icon);
	color: var(--color-accent);
	font-weight: bold;
}

/* ↓検索 */
.searchbox{
	position: relative;
}

.searchbox::after{
	font-family: var(--font-icon);
	content:'\f002';
	font-weight: bold;
	position: absolute;
	right: 1rem;
	top: 0;
	bottom: 0;
	color: var(--color-main);
	z-index: -1;
}

.searchinputs{
	height: 2.2em;
	padding-left: 1em;
	border: solid 1px var(--color-main);
	display: block;
	border-radius: 2.2em;
}

.searchbox input{
	display:inline-block;
}

.searchbox input:focus {
	outline: none;
}

.searchbox input.queryinput{
	width: calc(100% - 2em);
}

.searchbox input.queryinput::placeholder{
	font-family: var(--font-alphanumeric);
	color: var(--color-main);
}

.searchbox input.submitbutton{
	font-size: 0;
	width: 1.5em;
	height: 1.5em;
}

/* ↓各記事 */
.main{
	width: 100%;
}

article{
	background-color: var(--color-base);
}

article .comment::after {
   content: "";
   display: block;
   clear: both;
}

article,
.nodata,
.nolist
{
	border: solid 1px #1e1f35;
	margin-top: var(--margin-base);
	border-radius: var(--border-radius);
}

article:first-of-type{
	margin-top: 0;
}

article .comment::after {
	content: "";
	display: table;
	clear: both;
}

article .comment a{
	color: var(--color-accent);
	text-decoration: none;
	transition : 0.5s;
}

article .comment a.taglink{
	text-decoration: none;
}

article .comment a:hover{
	color: var(--color-text);
}

article .comment small.decorationS{
	font-size: 80%;
}

article .comment small.decorationT{
	font-size: 70%;
}

article .link a{
	display: inline-block;
	padding: 0 1em;
	border: solid 1px var(--color-accent);
	border-radius: 1.7em;
	text-decoration: none;
}

article .link a:hover{
	color: var(--color-base);
	background-color: var(--color-accent);
}

article .decorationE{
  padding: 2px 8px 2px 8px;
  background: linear-gradient(transparent 50%, #f0d6f3 50%);
  font-style: normal;
  font-weight: bold;
}


ul.decorationL{
	margin: 1em 0;
    padding: 0;
    list-style: none;
}

ul.decorationL li{
	position: relative;
	padding: 0 0 0.6em 1.4em;
}

ul.decorationL li:last-child{
	padding-bottom: 0;
}

ul.decorationL li::before {
	content:'\f058';
	position: absolute;
	left: 0;
	font-family: var(--font-icon);
	color: var(--color-accent);
	font-size: 1.1em;
}

article .decorationQ {
	font-family: var(--font-primary);
	color: #4e4050;
	line-height:1.8em;
	font-size: 16px;
	font-weight: normal;
	margin: 0 auto;
  margin-top: 5px;
  margin-bottom: 5px;
	padding: 20px;
	background-color: #eedef0;
	border: 1px solid #a386a7;
	border-radius: 5px;
}

/* スマホ対応 */
@media (max-width: 768px) {
article .decorationQ {
	font-size: 14px;
  }
}

article .decorationQ::before,
article .decorationQ::after{
	font-family: var(--font-icon);
	color: #a386a7;
	font-size: 1.4em;
	line-height:1;
	font-weight: bold;
}

article .decorationQ::before{
	content:'\f10d';
	margin-right: 0.2em;
}

article .decorationQ::after{
	content:'\f10e';
	margin-left: 0.2em;
}

/* ↓続きを読むボタン */
article .comment a.readmorebutton{
	display: block;
	margin: 0 auto;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 10px;
	width: 100%;
	color: var(--color-accent);
	font-size: 0.9em;
	line-height: 1.5em;
	text-decoration: none;
	text-align: center;
	border: solid 1px var(--color-accent);
	border-radius: var(--border-radius);
	transition : 0.5s;
}

article .comment a.readmorebutton:hover{
	background-color: var(--color-accent);
	color: #fff;
}

article img{
	max-width: 50vw;
}

/* ↓パスワード入力 */
.passkeybox{
	line-height: 2.4em;
}

.passkeyguide{
	display: block;
}

.passkeyinput{
	background-color: #fff;
	width: 60%;
	padding: 0 0.8em;
	margin-right: 3px;
	border: solid 1px var(--color-accent);
}

  @media screen and (max-width: 768px) {
	.passkeyinput{ width: 100%;
	}
}

.passkeysubmit{
	padding: 0 1em;
	letter-spacing: 0.15em;
	background-color: var(--color-accent);
	color: var(--color-base);
	border: solid 1px var(--color-accent);
}


/* ↓画像 */
img.prof{
	margin: 20px;
	width: 35%;
	height:35%;
	object-fit: cover;
	object-position: 50% 50%;
	border-radius: 50%;
  border: 3px solid #be8fd8;
	vertical-align: middle;
	margin-right: 1rem;
}

article .embeddedpictbox {
	margin: 0 auto;
    width: 100%;
}

.embeddedpictbox figcaption {
	font-size: small;
}

article .comment a.imagelink img.embeddedimage{
	margin: 0 auto;
	margin-top: 10px;
	max-width: 100%;
	height: auto;
	flex: 1 1 40%;
}

/*
article .comment small.decorationS,
article .comment small.decorationT {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
*/

article .comment small.decorationS a.imagelink,
article .comment small.decorationT a.imagelink {
  float: left;
  width: 40%;
  aspect-ratio: 1 / 1;
  margin-right: 0.5em;
  margin-bottom: 0.5em;
  box-sizing: border-box;
  overflow: hidden;
}

article .comment small.decorationS + *,
article .comment small.decorationT + * {
  clear: both;
}

article .comment small.decorationS a.imagelink img.embeddedimage,
article .comment small.decorationT a.imagelink img.embeddedimage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

article .comment small.decorationS a.imagelink img.nsfw,
article .comment small.decorationT a.imagelink img.nsfw {
  filter: blur(0.7em);
}

article .comment small.decorationS a.imagelink.nsfw,
article .comment small.decorationT a.imagelink.nsfw {
  position: relative;
}

article .comment small.decorationS a.imagelink.nsfw::after,
article .comment small.decorationT a.imagelink.nsfw::after {
  content: "\f071";
  font-family: "Font Awesome 6 Free";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 8, 26, 0.6); /* 半透明の黒い幕 */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6em;
  font-weight: bold;
  text-shadow: 0 0 3px #000;
  box-sizing: border-box;
  pointer-events: none; /* クリックは下のaタグに届くように */
}

article .comment a.imagelink.nsfw {
  position: relative;
}

article .comment a.imagelink.nsfw::after {
  content: "\f071";
  font-family: "Font Awesome 6 Free";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 8, 26, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6em;
  font-weight: bold;
  text-shadow: 0 0 3px #000;
  box-sizing: border-box;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  article .comment small.decorationS a.imagelink,
  article .comment small.decorationT a.imagelink {
    width: 100%;
  }
}

/* small の外の純粋な nsfw サムネイル */
article .comment a.imagelink.nsfw {
  display: block;
  position: relative;
  width: 40%;
  aspect-ratio: 1 / 1;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

article .comment a.imagelink.nsfw img.nsfw {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0.7em);
  display: block;
}

article .comment a.imagelink.nsfw::after {
  content: "\f071";
  font-family: "Font Awesome 6 Free";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 8, 26, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6em;
  font-weight: bold;
  text-shadow: 0 0 3px #000;
  box-sizing: border-box;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  article .comment a.imagelink.nsfw {
    width: 100%;
  }
}



iframe.embeddedmovie{
	display: block;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* ↓日付・カテゴリ */
article .oneloginfo{
	display: flex;
	flex-wrap: wrap;
	gap: 0 1em;
	margin-bottom: 7px;
	color: var(--color-accent);
}

article .oneloginfo::after{
	content:'';
	display: block;
	width:100%;
	background-image: repeating-linear-gradient(
		-45deg,
		var(--color-accent),
		var(--color-accent) 1px,
		transparent 2px,
		transparent 5px
	);
	background-position: center bottom;
	background-repeat: repeat-x;
	background-size: 100% 100%;
	opacity: 0.5;
	border-radius: 0.5em;
}

article .oneloginfo .category{
	display: flex;
	gap: 0 1em;
}

article .oneloginfo .categorylink::before {
	margin-right: 0.2em;
	content: '\f07b';
	font-family: var(--font-icon);
}

.postdate{
	font-family: var(--font-alphanumeric);
	font-weight: bold;
	color: var(--color-main);
}

/* ↓ページネーション */
.pagenums{
	margin-top: var(--margin-base);
	margin-bottom: 30px;
	font-family: var(--font-alphanumeric);
	text-align: center;
}

.pagenums .pagenumlink{
	display: inline-block;
	width: 2em;
	height: 2em;
	line-height: 2em;
	border-radius: 50%;
}

.pagenums .pagenumlink.pagenumhere{
	background-color: var(--color-accent);
	color: var(--color-base);
}

.pagenumhere{
	pointer-events: none;
}


/* ↓投稿フォーム */
.postarea {
	color: var(--color-light);
	padding: 8px;
	padding-left: 20px;
	padding-right: 20px;
	background-color:  #525992;
	transition: all 0.4s linear;
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
	margin-bottom: 20px;
	border: solid 1px #525992;
	border-radius: 7px;
}

.postarea summary {
	margin: 5px;
	padding: 0 auto;
	padding-left: 5px;
	cursor: pointer;
	color: var(--color-light);
	list-style: none;
}


/* ======================== */
/* ■入力フォームの表示領域 */		/* ※これはQUICKPOST用です。新規投稿専用画面や編集画面ではCGI内蔵のCSSが使われるため、ここの記述は適用されません。 */
/* ======================== */
.postform {
	background-color: #525992;
	margin: 0 auto;
	padding: 0 auto;	/* 内側の余白量 */
}
.postform p {
	margin: 0;
}


	/* ------------ */
	/* ▼本文入力欄 */
	/* ------------ */
	textarea.tegalogpost {
		color: var(--color-text);
		border: 1px #525992 solid;	/* 枠線 */
		border-radius: 3px;		/* 枠の角丸 */
		background-color: #fff;	/* 背景色 */
		font-size: 85%;			/* 文字サイズ */
		padding: 0.5em;				/* 内側の余白量 */
		box-sizing: border-box;		/* サイズ解釈方法 */
		display: block; 
		line-height: normal ;
  		margin: 0 auto;
		width: 100%;				/* 横幅 */
		min-height: 10rem;
		overflow-wrap: break-word;	/* 折り返し方法 */
		overflow: auto;				/* はみ出した場合の処理 */
	}

	/* 横幅768px以下の環境の場合 */
	@media all and (max-width: 768px) {
		textarea.tegalogpost {
			margin: 0 auto;
			padding: 0.4em;		/* 内側の余白量 */
		}
	}

	/* ------------------------------------------------ */
	/* ▼投稿コントロール部分(ボタンや字数カウンタなど) */
	/* ------------------------------------------------ */
	/*.line-control {
		margin: 1em;	 外側の余白量
	} */ 

	/* ------------ */
	/* ▼投稿ボタン */
	/* ------------ */
	.postarea input.postbutton {
    background: #0b0c1d;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 3px 15px;
	margin-top: 6px;
	margin-bottom: 3px;
    cursor: pointer;
    transition: .3s;
	}
	/* ▼投稿ボタンにマウスが載ったとき */
	.postarea input.postbutton:hover {
    background: #32345e;
	}

	/* ------------------ */
	/* ▼文字装飾ボタン群 */	/* ★Ver 1.4.0以降で使用 */
	/* ------------------ */
	/* 掲載領域全体 */ .decoBtns { display: inline-block; margin-top: 0.5em; }
	/* 全ボタン装飾 */ 
	.decoBtns input[type=button] {
	min-width: 32px;
	min-height: 28px;
	margin:0 auto;
	margin-top: 3px;
	margin-bottom: 3px;
	margin-right: 3px;
	border-radius: 3px;
    border: none;
    background: #979dce;
	color: #0b0c1d;
    padding: 3px 10px;
	transition: .3s;
	}
	.decoBtns input[type=button]:hover {
    background: rgb(102, 105, 156);
	color: #0b0c1d;
	}
	.decoBtns input {  cursor: pointer; border-radius: 3px; font-size: 14px; vertical-align: center; }

	/* マウス載る際 */ /* .decoBtns input:hover { background-color:#e5f1fb; border-color: #0078d7; } */
	/* 太字  :B */ /*.decoBtnB { font-weight: bold; } */
	/* 取消線:D */ /*.decoBtnD { text-decoration: line-through; } */
	/* 強調  :E */ /*.decoBtnE { font-weight: bold; } */
	/* 斜体  :I */ /* .decoBtnI {  } */
	/* 引用  :Q */ /* .decoBtnQ {  } */
	/* 小さめ:S */ /* .decoBtnS {  } */
	/* 極小  :T */ /*.decoBtnT  { font-size: 11px !important; } */
	/* 下線  :U */ /* .decoBtnU {  } */
	/* 文字色:C */ /*.decoBtnC { color:  #be8fd8; } */
	/* 背景色:M */ /*.decoBtnM { color: #525992 } */

	@media all and (min-width: 768px) {
		/* ▼文字装飾ボタン群 */
		.decoBtns { margin-top: 0; }
	}

	/* -------------------------------- */
	/* ▼カテゴリ選択チェックボックス群 */	/* ★Ver 3.0.0以降で使用 */
	/* -------------------------------- */
	.catChecks { display: flex;	flex-wrap: wrap; font-size:0.9em; padding-top: 0.2em; }
	.catChecks label { display:inline-block; cursor:pointer; margin:0 0.3em 0 0; }
	.catChecks input { min-width:0; min-height:0; margin-right:0.1em; }
	.catChecks input,.catChecks label{
	line-height: 1.5em;
	display: inline-block;
	vertical-align: top;
}

	.catChecks input[type=checkbox]{
	height: 1.4em;
	width: 1.4em;
	margin-right: 0.2em;
	background-color: var(--color-light);
	appearance: auto;
}

	input[name="upload_file"]{
	background-color: transparent ;
	padding: 10;
}

select{
  width: 100%;}
select option {
  color: var(--color-text);
}

	/* 投稿欄下部：「鍵付き」チェックボックスと「個別鍵」ボタンの間を詰める一時的なスタイル */
	.funcUIs .catChecks { margin:0 0.75em 0 0; }
	.funcUIs .catChecks label { margin: 0; }


/* ▲ボタン */

.to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: #be8fd8;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  opacity: 1;  /* 最初から表示 */
  pointer-events: auto;  /* 最初から有効 */
  z-index: 999;
}

.to-top:hover {
  transform: translateY(-5px);
  background: #d9a4ee;
}

/* ---ここまで--- */


/* ↓フッター */
footer{
	margin-top: var(--margin-base);
	text-align: center;
	line-height: 1;
	color: var(--color-main);
}

 /* ↓float解除 */
.clear::after {
	content: "";
	display: table;
	clear: both;
}

/* ↓非表示 */
.dateseparator,
.utilitylinks,
.datelimitboxoptions,
.searchtarget,
.limitedsearch{
	display: none;
}



/*------------------------------------------------------------
  ヘッダーメニュー
------------------------------------------------------------*/
header {
  background-color: #14162b;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ハンバーガー部分 */
.hamburger {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.hamburger.colorchange {
  background-color: #0b0c1d;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -moz-transition: 0.2s;
  -o-transition: 0.4s;
}

.hamburger._active.colorchange {
  background-color: transparent;
}

.hamburger__line {
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}

.hamburger__line,
.hamburger__line::before,
.hamburger__line::after {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fcf7fb;
  position: absolute;
  left: 50%;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

/* 通常状態 */
.hamburger__line::before {
  top: -8px;
}

.hamburger__line::after {
  bottom: -8px;
}

/* アクティブ状態（バツ印） */
.hamburger._active .hamburger__line {
  background: transparent;
}

.hamburger._active .hamburger__line::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.hamburger._active .hamburger__line::after {
  bottom: 0;
  transform: translateX(-50%) rotate(-45deg);
}

@media screen and (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

/* グローバルナビ */
.globalnav {
  font-family: "Quicksand", "Josefin Sans", "Kosugi", 'cursive';
  width: 100%;
  top: 0;
  height: 80px;
}

.globalnav__main {
  font-size: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: center;
  height: 100%;
  max-width: 1025px;
  margin: 0 auto;
  padding: 0;
}

.globalnav__item {
  height: 100%;
  position: relative;
  color: #fcf7fb;
  text-align: center;
  list-style: none;
}

.globalnav__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-decoration: none;
  background-color: #14162b;
  transition: 0.3s;
  color: #fcf7fb;
  font-size: 1em;
  font-weight: 400;
  box-sizing: border-box;
  border-left: 2px solid transparent;
}

.globalnav__item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #be8fd8;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.globalnav__item a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.globalnav__item a:hover {
  background-color: #2a2f55;
  color: #be8fd8;
}

.globalnav__child {
  font-size: 0.9rem;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1c1e35;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
  width: 100%;
  text-align: center;
}

.globalnav__item._has-child:hover .globalnav__child {
  visibility: visible;
  opacity: 1;
}

.globalnav__child li a {
  font-weight: bold;
  display: flex;
  color: #ccc;
  height: 50px;
  align-items: center;
  justify-content: center;
}

.globalnav__child li a::after {
  content: none;
}

.globalnav__child li a:hover {
  background-color: #2a2f55;
  color: #4a9eff;
  border-left: #4a9eff solid 10px;
}

/* スマホ・タブレット表示 */
@media screen and (max-width: 768px) {
  .globalnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(20, 22, 43, 0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    box-sizing: border-box;
  }
  
  .globalnav._active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .globalnav__main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 350px;
    height: auto;
    min-height: auto;
  }
  
  .globalnav__item {
    display: block;
    width: 100%;
    margin-bottom: 0;
    position: relative;
  }
  
  .globalnav__item a {
    display: block;
    background: none;
    color: #fcf7fb;
    font-size: 1em;
    padding: 12px 15px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
  }
  
  .globalnav__item a:hover {
    background: #2a2f55;
    opacity: 0.5;
  }
  
  /* PC版の::after要素をリセット */
  .globalnav__item a::after {
    display: none;
  }
  
  /* サブメニューのスタイル */
  .globalnav__item._has-child .globalnav__child {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .globalnav__item._has-child .globalnav__child.active {
    display: block;
    max-height: 300px;
  }
  
  .globalnav__child {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .globalnav__child li {
    display: block;
    width: 100%;
  }
  
  .globalnav__child li a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.9em;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    box-sizing: border-box;
    height: auto;
    min-height: 40px;
  }
  
  .globalnav__child li a:hover {
    background: #2a2f55;
    opacity: 0.5;
    color: #4a9eff;
  }
  
  .globalnav__child li:last-child a {
    border-bottom: none;
  }
  
  /* PC版の::after要素をリセット */
  .globalnav__child li a::after {
    display: none;
  }
}

/* ---ここまで--- */