@charset "utf-8";

/*全体*/
body{
    background: #fff;
    color: #333;
    font-size: 14px;
    font-family: 'Dosis', '游明朝', 'Microsoft YaHei', gulim, メイリオ, sans-serif;
    line-height: 1.8em;
    letter-spacing: 0.15em;
    text-align: center;
}


/*ページのタイトル*/
h1 {
    margin: 0 0 1em;
    display: inline-block;
    padding: 0 0.5em;
    font-size: 16px;
    border-bottom: solid 0.1em #555;
}


/*コンテンツ*/
.contents{
    max-width: 350px;
    margin: 0 auto;
    padding: 50px 20px 20px;
}


/*ヘッダー*/
header {
    max-width: 350px;
    margin: 0 auto;
    padding: 50px 20px 20px;
}

header p {
    margin:0 0 30px;
    padding: 15px;
    color: #555;
    background: #eee;
    text-align: left;
}

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

header li {
    margin:0 5px 0 0;
    padding: 5px 10px; /* 内側の余白 */
}


/*記事全体*/

article,
.nodata,
.nolist
{
    text-align: left;
    margin: 20px 0 30px;
}


/*投稿内容*/
.comment {
       padding: 0 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: top; /* 垂直方向の中央揃え */
}

.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] {
    font-size: 75%;
    border-radius: 0.2rem; 
    border: 1px dashed;
    margin: 0 0.2rem 0.7rem; 
    letter-spacing: 0.1rem;
}

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

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

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

/*フッター*/
footer {
    display: inline-block;;
    width: ;
    background: #fff;
    padding: 5px 0px;
    margin: 0;
    font-size: 0.75em;
}

.ft a {
    display: inline-block;
    width: 40px;
    background: #fff;
    padding: 5px 0px;
    margin: 0;
    text-decoration: none;}


.ft a:hover {
    background: #fff;
}


.ft p {
    display: inline-block;
    width: 40px;
    background: #fff;
    padding: 5px 0px;
    margin: 0;
}


/* 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: right;
        font-size: 0.8rem;
}

.editlink {
      margin-left: 8px;
}


/*waveboxのアイコン*/
.icon_wb {
    width: ;
    height: 1.5em;
    vertical-align: text-bottom;
}
