@charset "utf-8";

/*全体*/
body{width: 100%;font-size: 0.8rem;letter-spacing: 0.2rem;}
/*コンテンツ*/
.contents{width: 90rem;max-width: 100%;margin: 0 auto;padding: 1rem 1rem 2rem;}
/*ヘッダー*/
header {width: 90rem;max-width: 100%;padding: 1rem 1rem 0;margin: 1rem auto 0;}
header p {font-size: 1.5em;}
header ul li{width: 3.5rem;height: 2rem;font-size:1.1em;}
/*投稿内容*/
.comment {padding: 1rem;}
/*固定用の記号*/
article.logstatus-fixed .comment:before{right: 20px;top: -30px;}
/* ページメニューバー */
.sidebar{display:none;}
.zmenubar{width:100%;height:50px;padding-top:8px;box-sizing: border-box;position:fixed;bottom:0;left:0;z-index: 1001;/* メニューよりも前に表示、親要素に指定 */}
.zmenukinks{display:flex;justify-content:right;margin-right:1.25em;}
/*ページ上端下端移動*/
.scrollBtns{list-style:none;bottom: 1rem;right: 1.5rem;max-weight:3em;}
.scrollBtns a{padding: 0.4em 2em;margin:3px 0 0 8px;letter-spacing:0;border:solid 2px #5977b3;}
.arrow{font-size:1.1em;}

.nodata,.nolist{
	margin-top: 2rem;
	line-height: 1.9;
}

/* クイックポスト欄（スライドアップメニュー） */
.sliding-menu {
    position: fixed;
    top: -100%; /* 初期状態では画面下に隠れている */
    left: 0;
    width: 100%;
    height: 100%; /* メニューの高さ */
    padding: 1.25rem;
    overflow-y: auto;
    transition: top 0.5s ease; /* アニメーション */
    z-index: 1000;
    display: flex; /* Flexboxを使用 */
    justify-content: center; /* 水平方向の中央揃え */
    align-items: center; /* 垂直方向の中央揃え */
}

.sliding-menu.open {
    top: 0;
    padding-top: 1rem;
}

.menu-icon.active + .sliding-menu {
    bottom: 0;
}

/*スライドアップメニュー内のテキストエリア*/
textarea {
  font-size: 16px;
}

.sliding-menu .tegalogpost {
    padding: 0.8rem;
    border-radius: 0.7rem;
    max-width: 37.5rem;
    width: 100%; /* 幅を100%に */
    height: 8rem !important;
    margin-bottom: 1rem;
}

.sliding-menu .tegalogpost textarea {
    width: 100%;
    height: 12.5rem; 
    border: 1px solid #ccc;
    padding: 0.7rem; 
    border-radius: 0.4rem;
    font-size: 1rem; /* フォントサイズを設定 */
    resize: none; /* テキストエリアのリサイズを無効にする */
}

/*スライドアップメニュー内の装飾ボタン*/
.decoBtns input[type=button] {
    border-radius: 0.2rem;
    margin: 0 0.3rem 0.2rem;
    letter-spacing: 0.1rem;
}

span.catChecks label {
    margin: 0 0.3rem;
    font-size: 90%;
    letter-spacing: 0.1rem;
}

/*他のIDに切り替えるボタンの余白*/
.changelink {
   display: block;
   margin: 0.5rem 0;
}

/*装飾ボタン以外の（ファイル、ハッシュタグ等）のマージン*/
.decoBtns input[type=file],
.hashtagEasyInput{
	margin-left:0.3rem;
}

.decoBtns input[type=file]{
	margin-bottom:0.5rem;
}

.decoDoorBCO07{
	margin-top: 0.3em !important;
}

/*続きを読むボタン*/
a.readmorebutton {
    display: inline-block;
    margin: 0.05em 0;
    text-decoration: none;
    text-align: center;
	width: fit-content;
    padding: 0.08em 0.3em;
    border-radius: 0.5rem;
}

/*フッター*/
footer {
    display: flex;
    justify-content: center; 
    font-size: 0.8rem;
    margin: 0.8rem 0.8rem 4rem;
}

/* skin-wrapのボーダーデザイン */
.skin-wrap {
    position: relative; /* categoriesをボーダーの上に配置するためにrelativeを設定 */
}

/* categoriesのデザイン */
.skin-wrap .categories {
    position: absolute; /* skin-wrap内で絶対配置 */
    top: -18px; /* skin-wrapの上に配置 */
    left: 20px; /* skin-wrapの左からの距離 */
    padding: 0.5em; /* 内側の余白 */
    z-index: 10; /* skin-wrapのボーダーより前面に表示 */
}
 
.side-item {
        padding: 0.3rem 1.0rem 1.0rem;
        display: flex;
        justify-content: center;
        font-size: 0.5rem;
}

.editlink {
      margin-left: 8px;
}

/*検索窓などのエリアのマージン*/
aside{
	margin-top: 1.5rem;
    border-top:double 8px #335980

}

section{
	margin-top:1rem
}

/*検索窓・一覧のボックスのマージン*/
input[type="text"]{
  text-size-adjust: none;
}

.search,
.datelimitbox{
      margin-bottom: 1.2em;
}

/*アコーディオンメニューの装飾*/
summary{
	font-weight: bold;
}
details.decorationO{
	border-radius:0.5rem;
	padding: 0.15em 0.5em;
	border:2px solid#5977b3;
}
details[open].decorationO{
	height:auto;
	border-radius:0.5rem;
	padding-bottom:4px;
}
.foldedarea{
	border-radius:0.5rem;
	padding: 0.5em 0.8em;
}

/*New！の表示編集*/
.newarticle{
        font-weight: 700;
	font-size: 1.5em;
	position: absolute;
	right: 14px;
	top: -12px;
	background:#ffa520;
	padding:0 5px 0 5px;
	color:#fff;
	border-radius:0.5em;
}

/* li */
/* クイックポストのメニューアイコン */
.menu-icon {
    list-style:none;
    margin-right: auto; /*フレックス指定のため個別で左寄せ*/
    margin-top:auto;
    margin-left:2.25em;
    font-size: 2rem;
    cursor: pointer;
}

/* ハンバーガーメニュー_コンテンツ一覧 */
/* nav */
.zhamburger_menu{
    position:fixed;
    top:0;
    right:0;
    left:0;
    width:100%;
    height:100vh;
    transform:translateX(-100%);
    transition:ease .4s;
}

.zhamburger_menu.active{
    transform:translateX(0); 
	opacity:0.9;
}

/* ul */
.zhamburger_list,.zhamburger_content{
    list-style:none;
}

/* li */
.zhamburger_content a{
    display:block;
    text-decoration:none;
    padding:1.5em 1em;
}

/* ハンバーガーメニュー_ボタン */
.zhamburger_btn{
    transform:translateY(-100%);
    width:40px;
    height:100%;
    margin-left:1em;
    background:transparent;
    border-color:transparent;
    padding-top: 14px;
}

/* ハンバーガーメニュー_アイコン */
.zhamburger_btn span{
    width:100%;
    height:2px;
    background:#fff;
    position:relative;
    transition:ease .4s;
    display:block;
}
.zhamburger_btn span:nth-child(1) {
  top: 0;
}
.zhamburger_btn span:nth-child(2) {
  margin: 8px 0;
}
.zhamburger_btn span:nth-child(3) {
  top: 0;
}

/* ハンバーガーメニューアイコン_バツ印 */
.zhamburger_btn.active span:nth-child(1) {
  -webkit-transform:rotate(45deg);
  top:10px;
  transform:rotate(45deg);
}

.zhamburger_btn.active span:nth-child(2){
  transform:translateX(10px);
  opacity: 0;
  transition:ease .4s;
}

.zhamburger_btn.active span:nth-child(3){
  -webkit-transform:rotate(-45deg);
  top:-10px;
  transform:rotate(-45deg);
}


.zhamburger_content{
  width: 100%;
  text-align: center;
  font-size: 18px;
  border-bottom:solid 1px #fff;
}

/* 画面下部のリンクの幅指定 */
.zlinks a{
  width:fit-content;
}