/* normalize.css -----------------------------------------------------------*/

@charset "UTF-8";
html {
  font-size: clamp(14px, 1.6vw, 18px);
}
body {
  background: #fff;
  color: #333;
  font-family:"游ゴシック",YuGothic,"Hiragino Kaku Gothic ProN",Meiryo, sans-serif;
}
/* reset.css - 最低限のリセット */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html,
body,
h1,
h2,
h3,
h4,
p,
ul,
li,
dl,
dt,
dd {
  line-height: 1.5;
}

/* HTML5要素をblockとして認識させる（古いブラウザ対策） */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* リストのデフォルトマーカーを除去 */
ol, ul {
  list-style: none;
}

/* 引用やコードの装飾をリセット */
blockquote, q {
  quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
  content: '';
  content: none;
}

/* テーブルのセル間スペースを除去 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
table th, table td{
  vertical-align: middle;
}

/* ボックスサイズを border-box に統一 */
*, *::before, *::after {
  box-sizing: border-box;
}
input,
select,
textarea,
button {
  font-size: 1em;
  height: 2.5em;               /* 約40px相当（1em = 16px換算） */
  line-height: 1.4;
  padding: 0 0.75em;           /* 上下はheightで制御、左右のみpadding */
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
  vertical-align: middle;
  color: inherit;
}
/* ▼マーク用のスペースを確保 */
select {
  padding-right: 2em;
  -webkit-appearance: auto;
  appearance: auto;
}
/* textarea は縦に伸びる前提でheightではなくmin-heightを指定 */
textarea {
  height: auto;
  min-height: 2.5em;
  padding: 0.5em 0.75em;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #bbb; /* さらに薄く */
  opacity: 1;  /* Safari対策（これがないと薄すぎることがある） */
}

/* button にマウスインタラクションを追加 */
button {
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #e9e9e9;
}

button:active {
  background-color: #ddd;
}


img {
  border: none;
  vertical-align: bottom;
  max-width: 100%;
}

ul {
  list-style: none;
}

a {
  color: var(--color-primary, #275ACA);
  transition: color 0.2s;
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: underline;
}

p{
  margin-bottom: 0.25em;
}
h1, h2, h3, h4, h5, h6, dt, th, strong, b {
  font-weight: bold;
}

/* normalize.css -----------------------------------------------------------*/

/* カスタムスタイル */
:root {
  --color-primary: #275ACA;
  --color-primary-hover: #3d6bcf;
  --color-primary-text: #fff;
  --color-secondary: #D6E3FB;
  --color-secondary-hover: #c3d5f8;
  --color-secondary-text: #fff;

  --color-background: #EEF2F9;
  --color-text: #333;

  --color-header-background: #F8F9FD;
  --color-header-text: #646464;

  --color-border: #D7E4FB;

  
  --color-panel: #fff;


  --font-base: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --width-xs: 480px;
  --width-ms: 768px;
  --width-md: 1024px;
  --width-lg: 1280px;

  --content-max-width: 960px;
}
/* マージン定義 */
.mt-10{ margin-top: 1rem; }
.mt-20{ margin-top: 2rem; }
.mt-30{ margin-top: 3rem; }
.mt-40{ margin-top: 3rem; }
.mb-10{ margin-bottom: 1rem; }
.mb-20{ margin-bottom: 2rem; }
.mb-30{ margin-bottom: 3rem; }
.mb-40{ margin-bottom: 3rem; }


/***************************************/
/** Flex定義 */
.flex {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
.flex.rows { flex-direction: row; text-align: center;}
.flex.cols { flex-direction: column; justify-content: center;}

.flex.center { justify-content: center; }
.flex.start { justify-content: flex-start; }
.flex.end { justify-content: flex-end; }
.flex.between { justify-content: space-between; }
.flex.around { justify-content: space-around; }
.flex.evenly { justify-content: space-evenly; }

.flex.align-start { align-items: flex-start; }
.flex.align-center { align-items: center; }
.flex.align-end { align-items: flex-end; }
.flex.align-stretch { align-items: stretch; }

.flex.wrap { flex-wrap: wrap; }
.flex.nowrap { flex-wrap: nowrap; }
.flex.wrap-reverse { flex-wrap: wrap-reverse; }

.flex.gap-sm { gap: 0.5em; }
.flex.gap-md { gap: 1em; }
.flex.gap-lg { gap: 2em; }

.flex.c1 > * {
  flex: 1;
  min-width: 0%;
}

/* デフォルトgap-md (1em) の場合 */
.flex.c2 > * {
  flex: 0 0 50%;
  max-width: calc(50% - 1em);
}
.flex.c3 > * {
  flex: 0 0 33.3333%;
  max-width: calc(33.3333% - 1em);
}
.flex.c4 > * {
  flex: 0 0 25%;
  max-width: calc(25% - 1em);
}
/* gapが0.5emの場合 */
.flex.gap-sm.c2 > * {
  max-width: calc(50% - 0.5em);
}
.flex.gap-sm.c3 > * {
  max-width: calc(33.3333% - 0.5em);
}
.flex.gap-sm.c4 > * {
  max-width: calc(25% - 0.5em);
}
/* gapが2emの場合 */
.flex.gap-lg.c2 > * {
  max-width: calc(50% - 2em);
}
.flex.gap-lg.c3 > * {
  max-width: calc(33.3333% - 2em);
}
.flex.gap-lg.c4 > * {
  max-width: calc(25% - 2em);
}
.flex .right{ margin-left: auto; text-align: right; }

/* ボタン並び */
.flex.end {
  display: flex;
  justify-content: flex-end;
  gap: 1em;
}

.w-auto { flex: 0 0 auto !important;}        /* 内容サイズ */
.w-1 { flex: 1 1 0% !important; }             /* 均等に伸びる */
.w-2 { flex: 2 1 0% !important; }             /* 2倍幅 */
.w-3 { flex: 3 1 0% !important; }             /* 3倍幅 */

/***************************************/
/* 小さい画面で非表示 */
@media (max-width: 768px) {
  .hide-sm {
    display: none !important;
  }

  .show-sm {
    display: block !important;
  }
}

/* 中以上の画面で非表示 */
@media (min-width: 769px) {
  .hide-md-up {
    display: none !important;
  }
  .show-md-up {
    display: block !important;
  }
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-base);

  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  background-color: var(--color-header-background);
  color: var(--color-header-text);
  font-family: var(--font-header);
  font-size: 1.2em;
  display: block;
  width: 100%;
  z-index: 100;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: .5em 1em;
  box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}
#menu-toggle{
  margin: 0;
  border: none;
  border-radius: 30%;
  color: var(--color-header-text);
  background: none;
  cursor: pointer;
}
header .title{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
header a{
  color: inherit;
  text-decoration: none;
}
header ul{
  margin-left: auto;
  display: flex;
  flex-direction: row;
  gap: 1em;
}
main{
  margin: 0 auto;
  padding-top: 1em;
  width: calc(100% - 1rem);
}
footer{
  margin-top: auto;
}
.container{
  padding: 1.5em 0;
  width: 100%;
  max-width: var(--content-max-width);
  width: 100%;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: .5em 1em;
  margin-bottom: .75em;
  border-radius: 2px;
  background-color: var(--color-panel);
  width: 100%;
  gap: 0;
}
.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: .5em;
  margin: 0;
  padding: 0;
}
.breadcrumb-item,
.breadcrumb-item a{
  color: #555;
  text-decoration: none;
}
.breadcrumb-item:last-child {
  font-weight: bold;
}
.breadcrumb-item a:hover {
  border-bottom: 1px solid #000;
}
.breadcrumb-item:not(:last-child)::after {
  content: '/';
  padding-left: .5em;
  color: #777;
  font-weight: normal;
}
.breadcrumb-right {
  margin-left: auto;
  display: flex; /* 右側もボタンが複数なら横並びに */
  align-items: center;
  gap: .4em;     /* ボタン間スペース */
}

.messages {
  list-style: none;
  padding: 1em 1.25em;
  margin: 1em 0;
  border-left: 5px solid;
  border-radius: 4px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 0.95em;
}

.messages li {
  margin: 0;
}

/* 成功メッセージ */
.messages.success {
  border-color: #4CAF50;
  background-color: #e8f5e9;
  color: #256029;
}

/* エラーメッセージ */
.messages.error {
  border-color: #f44336;
  background-color: #fdecea;
  color: #a94442;
}

/* 情報メッセージ */
.messages.info {
  border-color: #2196F3;
  background-color: #e3f2fd;
  color: #0d47a1;
}


/* カード全体の基本スタイル */
.card {
  width: 100%;
  padding: 1em;
  margin-bottom: 1.55em;
  border-radius: 2px;
  background-color: var(--color-panel, #fff);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1em;
}

/* タイトルセクション */
.card h2,
.card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--color-header-text, #333);
}

/* カードヘッダー：アイコン＋タイトルなど */
.card-header, 
.card>h2,
.card>.card-title {
  border-bottom: 1px solid #b5bad4 ;
  padding-bottom: 0.5em;
  margin-bottom: 0.9em;
  color: #2b3857;
  font-size: 1.2em;
  font-weight: 600;
}

.card-header{
  display: flex;
  align-items: center;
  gap: 0.5em;
}

/* コンテンツ本体 */
.card-content {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  flex: 1;
  min-width: 0;
}

/* 詳細セクション：複数カラム等を想定 */
.card-detail {
  display: flex;
  gap: 1.5em;
  font-size: 0.95em;
  color: #555;
  line-height: 1.5;
  flex-wrap: wrap;
}

/* フッター（右寄せなど） */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
  color: #777;
  gap: 1em;
}

.card-footer .meta {
  font-size: 0.85em;
  margin-left: auto;
}

.data-table {
  margin: 0 0 1.5em 0;
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
  font-size: 1rem;
  background-color: var(--color-panel);
  
}
.data-table th,
.data-table td {
  border: 1px solid var(--color-border);
  padding: 0.5em 0.75em;
  text-align: left;
}
.data-table th {
  background-color: var(--color-panel);
  font-weight: bold;
}
.data-table td a{
  display: inline-block;
  width: 100%;
}

.data-table .icon {
  text-align: center;
  font-size: 0.96em;
  width: 2.5em;
  vertical-align: middle;
}
.data-table .link {
  text-align: left;
  color: var(--color-primary, #275ACA);
  word-break: break-all;
}
.data-table .link a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
  width: 40%;
  min-width: 200px;
}
.data-table .link a:hover{
  text-decoration: underline;
}
.data-table .comment {
  font-size: 0.96em;
  color: #555;
  max-width: 240px;
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
}
.data-table .meta {
  color: #888;
  font-size: 0.92em;
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
}
.data-table .action {
  color: #888;
  font-size: 0.92em;
  text-align: center;
  vertical-align: middle;
}

.edit-table {
  margin: 0 0 1.5em 0;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(80,120,140,.07);
}
.edit-table th, .edit-table td {
  padding: 0.45em 0.7em;
  background: #fafbfc;
  border: none;
  text-align: left;
  font-size: 1em;
}
.edit-table th {
  font-weight: bold;
  background: #f0f1f3;
  color: #444;
  border-bottom: 2px solid #e3e3e3;
}
.edit-table tr {
  transition: background 0.15s;
}
.edit-table tr:hover td {
  background: #f3f7fa;
}
.edit-table input, .edit-table select {
  width: 100%;
  padding: 0.45em 0.8em;
  border-radius: 5px;
  border: 1px solid #d2d7df;
  background: #fff;
  transition: border 0.2s, box-shadow 0.2s;
}
.edit-table input:focus, .edit-table select:focus {
  border-color: #7daaff;
  outline: none;
  box-shadow: 0 0 2px #85b7ff;
}
.edit-table .action-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.12em;
  color: #888;
  transition: color 0.18s;
  margin: 0 2px;
  vertical-align: middle;
}
.edit-table .action-btn:hover {
  color: #d40000;
}
.edit-table .add-btn {
  color: #18831b;
  font-weight: bold;
}
.edit-table .add-btn:hover {
  color: #1b9b23;
}
.edit-table .sort {
  width: 60px;
  text-align: right;
}
.edit-table .key, .edit-table .value, .edit-table .attr {
  min-width: 80px;
}
/** form base */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
}
.form-group label,
.form-group p {
  margin: 0 0 0.5em;
  font-weight: bold;
  color: #444;
}

/* フォーム要素共通 */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 2px var(--color-primary);
}

/* チェックボックス */
.form-group input[type="checkbox"] {
  width: auto;
  height: auto;
  margin-right: 0.5em;
  vertical-align: middle;
}

/* 隠し要素 */
.form-group.hidden {
  display: none;
}

/* グリッド行 */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  align-items: center;
}
/* デフォルトで均等幅 */
.form-row > * {
  flex: 1 1 0%;
  min-width: 0; /* はみ出し防止 */
}

/* セレクト・テキスト高さ */
.form-row select,
.form-row input[type="text"] {
  height: 2.4em;
  padding: 0 0.5em;
}

/* チェックボックス行 */
.checkbox-group {
  display: flex;
  align-items: center;
}

/* チェックボックスラベル */
.checkbox-group label,
.checkbox-group p {
  margin: 0 0 0.5em;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

/* 汎用ボタンベース */
.btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  background-color: #eee;
  color: #333;
}
.btn:hover{
  text-decoration: none;
}

/* プライマリーボタン */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-text);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-hover);
}

/* セカンダリボタン */
.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-secondary-text);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-secondary-hover);
}


/* 危険（削除・警告など）ボタン */
.btn-danger {
  background-color: #d9534f;
  color: #fff;
}
.btn-danger:hover,
.btn-danger:focus {
  background-color: #b52a24;
}

/* 無効化状態 */
.btn.disabled,
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.btn-action {
    display: inline-block;
    text-decoration: none;
    padding: .2em;
    border-radius: 4px;
    background: #f4f6fd;
    border: 1px solid #ccd8e8;
    color: #275ACA;
    font-size: 0.98em;
    font-weight: 500;
    text-decoration: none;
    transition: background .18s, color .18s, border .18s;
    vertical-align: middle;
}
.btn-action:hover, .btn-action:focus {
    background: #e7eefd;
    border-color: #275ACA;
    color: #174288;
    text-decoration: none;
}
.btn-action.disabled,
.btn-action:disabled {
    background: #aaa;
    border: 1px solid #aaa;
    color: #333;
}

/* トグル */
label.btn-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.3em 0.6em;
  background-color: #f9f9f9;
  transition: all 0.2s;
  margin: 0;
}
label.btn-toggle:hover {
  background-color: #eee;
  border-color: #999;
}
label.btn-toggle input[type="checkbox"] {
  display: none;
}

label.btn-toggle .btn-toggle-icon {
  font-size: 1.2em;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
}
/* チェック時のON状態 */
label.btn-toggle input[type="checkbox"]:checked + .btn-toggle-icon {
  opacity: 1;
  transform: rotate(-20deg);
  color: var(--color-primary);
}

/* ページャ */
.pager {
  display: flex;
  gap: 0.3em;
  justify-content: center;
  align-items: center;
  margin: 1.5em 0;
  font-size: 1.1em;
}

.pager a, .pager span {
  display: inline-block;
  min-width: 2.2em;
  padding: 0.2em 0.6em;
  color: #333;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 0.4em;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.pager a:hover, .pager a:focus {
  background: #f0f0d8;
  color: #055CD2; 
  border-color: #055CD2;
}

.pager .active, .pager a.active {
  background: #055CD2;
  color: #fff;
  border-color: #055CD2;
  font-weight: bold;
  pointer-events: none;
  cursor: default;
}

.pager a[disabled], .pager .disabled {
  color: #ccc;
  background: #fafafa;
  border-color: #eee;
  pointer-events: none;
  cursor: not-allowed;
}

/* トグルボタン（SVG）の配置例 */
#menu-toggle {
  cursor: pointer;
  background: none;
  border: none;
}
slide-menu .menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.33);
  z-index: 200;
  display: none;
  transition: opacity .18s;
}
slide-menu .menu-overlay.open {
  display: block;
  opacity: 1;
}
slide-menu .menu-overlay:not(.open) {
  opacity: 0;
  pointer-events: none;
}

slide-menu .mobile-menu {
  position: fixed;
  top: 0; left:-325px;
  width: 320px;
  max-width: 70%;
  height: 100vh;
  background: #283047;
  color: #fff;
  box-shadow: 2px 0 10px rgba(30,35,70,0.09);
  transition: left .27s cubic-bezier(.6,.1,.2,1);
  z-index: 201;
  padding: 2.2em 1.2em 1em 1.2em;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}
slide-menu .mobile-menu.open {
  left: 0;
}
slide-menu .mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
slide-menu .mobile-menu li {
  margin: 1em 0;
}
slide-menu .mobile-menu a {
  color: #e7e9f6;
  font-size: 1em;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 0.5em;
  border-radius: 0.4em;
}
slide-menu .mobile-menu a:hover {
  background: #eee;
  color: #283047;
}



/* マイページリンク */
.link-list {
  margin: 0 0 1em 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

.link-list li a {
  display: block;
  padding: 0.75em 1em;
  background-color: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--color-text);
  transition: background-color 0.2s;
  font-weight: 500;
}

.link-list li a:hover {
  background-color: var(--color-bg);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* お知らせブロック */
.mypage-info {
  margin-top: 2em;
  padding: 1em;
  background-color: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.mypage-info h3 {
  margin-bottom: 0.75em;
  font-size: 1.2em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25em;
}

.mypage-info ul {
  padding-left: 1.2em;
  list-style-type: disc;
}

.mypage-info li {
  margin-bottom: 0.5em;
  color: #555;
}

.user-actions {
    display: flex;
    gap: .5em;
    justify-content: flex-start;
    align-items: center;
}

.fm-info {
  margin: 0 0 1em 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #777;
}
.preview {
  width: 100%;
  padding: .5em 1em;
  margin-bottom: 2em;
  border-radius: 2px;
  background-color: var(--color-panel);
  box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.preview .pre-txt {
  overflow-y: auto;
  min-height: 30vh;
}
.post-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1em;
  margin: 0;
  padding: 0;
}

.post-cate-pic {
    display: flex;
    align-items: center;
    padding: 0.6em 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
}
a.post-cate-pic:hover {
    text-decoration: none;
}
.post-cate-pic .icon {
  margin-right: 1em;
  font-size: 1.4em;
}
.post-cate-pic .title {
  flex: 1;
  font-weight: bold;
  color: #222;
}
.post-cate-pic .meta {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  font-size: 0.9em;
  color: #666;
  gap: .5em;
}

.post-card {
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  background: #fff;
  padding: 0;
  margin-bottom: 1em;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
  position: relative;
}
.post-card .title {
  font-size: 1.2em;
  font-weight: bold;
  background-color: var(--color-header-background);
  border-bottom:1px solid #e0e0e0;
  padding: .5rem 1rem;
}
.post-card .body {
  font-size: 1em;
  text-align: left;
  padding: 1.5rem 2rem;
}
.post-card .body ul {
    list-style-type: disc;
}
.post-card .meta {
  text-align: right;
  font-size: 0.8em;
  color: #777;
  margin-top: 1.2em;
  padding: .5rem 1rem;
}
.post-card .edit {
  position: absolute;
  top: 0.8em;
  right: 0.8em;
}

/* テキスト投稿用 */
.post-type-text {
    color: #222;
    word-break: break-word;
}

/* Markdown投稿用 */
.post-type-markdown {
    color: #222;
    word-break: break-word;
}

.post-type-markdown h1,
.post-type-markdown h2,
.post-type-markdown h3 {
    margin: 1.2em 0 0.7em 0;
    font-weight: bold;
    line-height: 1.3;
}

.post-type-markdown h1 { font-size: 1.6em; border-bottom: 2px solid #e0e0e0; }
.post-type-markdown h2 { font-size: 1.25em; border-bottom: 1px solid #e0e0e0; }
.post-type-markdown h3 { font-size: 1.1em; }

.post-type-markdown ul {
    margin: 0.5em 0 1em 1.5em;
    padding-left: 1.2em;
}

.post-type-markdown li {
    margin: 0.3em 0;
}

.post-type-markdown strong { font-weight: bold; color: #c28800; }
.post-type-markdown em { font-style: italic; color: #0080b6; }

.post-type-markdown a {
    color: #0c6fc7;
    text-decoration: underline dotted;
    word-break: break-all;
}

.post-type-markdown a:hover {
    background: #fff9c7;
}

.post-type-code {
    background: #2d2d2d;
    color: #eee;
    border-radius: 8px;
    padding: 1em;
    margin: 1em 0;
    font-family: 'Fira Mono', 'Menlo', 'Consolas', 'monospace';
    font-size: 1em;
    overflow-x: auto;
}

.post-type-code pre {
    background: transparent;
    margin: 1em 0;
    padding: 0.5em;
    border-radius: 6px;
    overflow-x: auto;
}

.post-type-code code {
    background: #252525;
    color: #ffea70;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.96em;
}


