@charset "utf-8";

/*フォント読み込み*/

@import url('https://fonts.googleapis.com/css2?family=Kaisei+Tokumin&family=Kiwi+Maru&display=swap');

/*フォント*/
body {
     font-family: "Kiwi Maru", serif;
}

/*画像を画面内に表示させる*/
img {
   width: 100%;
   height: 100%;
}

/*日付境界線を非表示*/
.dateseparator {
   display: none;
}

/*装飾ボタンを整える*/
span.decoBtns{
	display: block !important;
        margin-bottom: 0.8rem;
}

.decoBtns input[type=button] {
       padding: 0.5rem;

}

.line-control input[type=checkbox]{
	background-color: #fff;
	appearance: auto;
}

.catChecks label{
	display: inline-block;
	vertical-align: top;
}

/*リストの装飾*/
.decorationL {
   list-style: circle;
   padding-left: 1rem;
}

.large-text {
    font-size: 2em; /* 必要に応じて調整 */
    font-weight: bold; /* 太字にする場合（任意） */
}

/*極小サイズの文字サイズ*/
.decorationT {
   font-size: 70%;
}

/*引用*/
.decorationQ {
  padding: 1rem;
}

/*投稿するボタン*/
.postbutton {
    display: block;
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0.5rem 1rem;
    border: 1px solid;
    text-align: center;
    font-weight: 700;
}

/*先頭固定記事*/
.logstatus-fixed .comment {
    background-color: #fafafa;
    border-radius: 2rem;
    
}

.logstatus-fixed .oneloginfo {
    display: none;
}

/*ページャー*/
.num {
    margin-top: 2rem;
    text-align: center;
}

a.pagenumlink {
    display: inline-block;
    text-decoration: none;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    border-radius: 50%;
}

/* ヘッダーの中央揃え */
header {
    display: flex;
    justify-content: center; /* 中央揃え */
    align-items: center; /* 垂直方向も中央揃え */
    padding: 1rem;
    background-color: #f8f8f8;
}

/* メインタイトルのスタイル */
header .maintitle {
    text-align: center; /* テキスト中央揃え */
    margin: 0 auto; /* 自動で中央揃え */
    width: 100%; /* 幅を最大限確保して中央揃え */
}

/* サブタイトルを整える */
header .subtitle {
    text-align: center; /* テキスト中央揃え */
    font-size: 1rem; /* サイズ調整（必要に応じて変更） */
    margin-top: 0.5rem; /* 上下のスペースを調整 */
}

/* ヘッダーの下部に余白を追加する場合 */
header {
    margin-bottom: 2rem; /* ヘッダー全体の下に余白を作成 */
}

/* 内部コンテンツを横並びに */
.header-content {
    display: flex;
    justify-content: space-between; /* ロゴとカテゴリを横並びで整列 */
    align-items: center;
    width: 100%;
    max-width: 1200px; /* 必要なら最大幅を設定 */
}

/* カテゴリーツリーを中央揃え */
.category-tree {
    flex: 1; /* 中央揃えを確実にするための余白設定 */
    text-align: center; /* テキスト中央揃え */
}
.category {
    display: flex; /* 横並びの設定 */
    gap: 10px; /* 各要素間の余白 */
}

.category-item {
    white-space: nowrap; /* テキストの折り返しを防止 */
}

/* タグゴリーツリーを中央揃え */
.tag-tree {
    display: flex;
    justify-content: center; /* 横方向中央揃え */
    flex-wrap: wrap;         /* 画面いっぱいになったら折り返す */
    gap: 10px;               /* タグ同士の間隔 */
}

.hashtaglist {
    display: flex;
    flex-wrap: wrap;         /* こちらも折り返し対応 */
    gap: 10px;
    justify-content: center;
}

.tag-item {
    white-space: nowrap; /* タグ内で改行させない */
}

.tag-item {
    white-space: nowrap; /* タグ内で改行させない */
    padding: 4px 10px;       /* 内側の余白 */
    border: 1px solid #ccc;  /* 枠線の色と太さ */
    border-radius: 8px;      /* 角丸 */
    background-color: #f9f9f9; /* 任意で背景色 */
    font-size: 14px;         /* タグの文字サイズ */
}


/* ロゴエリアのスタイル */
.logo {
    margin-right: 1rem; /* ロゴとカテゴリ間のスペース調整 */
}

.break-text {
    word-wrap: break-word; /* テキストを強制的に折り返す */
    white-space: normal;  /* テキストの改行を有効化 */
}
