@charset "utf-8";

/*全体*/
body{
	width: 100%;
	font-size: 0.7rem;
	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 {
   display: block;
   width: 100%;
   text-align: center;
   padding: 1rem;
   font-size: 1.2rem;
   margin-bottom: 1.5rem;
}

header ul {
   display: flex;
   justify-content: center;
}

header li {
   margin-left: 0.8rem;
   padding: 0.6rem;
}


/*記事全体*/

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


/*投稿内容*/
.comment {
       padding: 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; 
    margin: 0 0.2rem 0.7rem; 
    letter-spacing: 0.1rem;
}

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

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

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

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

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

.editlink {
      margin-left: 8px;
}