@charset "utf-8";

/*全体*/
body{
	width: 100%;
	font-size: 0.8rem;
	
}

/*コンテンツ*/
.contents{
	width: 90rem;
	max-width: 100%;
	margin: 1rem auto 0;
	padding: 1rem 1rem 2rem;
}

/*追従メニュー*/
.yoko {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 0;
    padding: 0.8rem;
    width: 100%;
}

.yoko p {
   margin-right: 0.7rem;
   padding: 0.5rem;
}

.yoko ul {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
}



/*記事全体*/

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

/*単独記事*/
.comment {
       padding: 1.5rem;
       border-radius: 0 2rem 2rem 2rem;
       border: 1px solid;
}

/*付箋風日付部分*/
.oneloginfo {
       display: inline-block;
       border-radius: 1rem 1rem 0 0;
       margin-bottom: 0;
       padding: 0.5rem 1rem;
}

/* クイックポストのメニューアイコン */
.menu-icon {
    position: fixed;
    bottom: 3.5rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
    z-index: 1001; /* メニューよりも前に表示 */
}

/* クイックポスト欄（スライドアップメニュー） */
.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;
}

/*スライドアップメニュー内のテキストエリア*/
.sliding-menu .tegalogpost {
    padding: 0.8rem;
    border-radius: 0.7rem;
    max-width: 37.5rem;
    width: 100%; /* 幅を100%に */
    height: 6rem !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;
    border: 1px solid;
    margin: 0 0.2rem 0.7rem;
    letter-spacing: 0.1rem;
}

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

/*続きを読むボタン*/
a.readmorebutton {
    margin: 0.8rem auto;
    border: 1px solid;
    text-decoration: none;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
}
a.readmorebutton.readmoreclose {
    display: block;
    margin: 0.8rem auto;
    border: 1px solid;
    text-decoration: none;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
}

/*フッター*/
footer {
    display: flex;
    justify-content: center;
    font-size: 0.8rem;
    margin: 0.8rem 0.8rem 8rem;
}
img{max-width: 100%;height: auto;}
