/* 1. ページ全体の最大幅制限を解除 */
.uk-container, 
#container, 
#wrapper, 
body {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* 2. グリッド全体の折り返しとFlex表示を強制 */
.uk-grid {
    display: flex !important;
    flex-wrap: nowrap !important; /* 横並びを維持 */
    width: 100% !important;
    margin-left: 0 !important;
}

/* 3. 左メニュー（1番目の要素）：230pxで固定 */
.uk-grid > div:first-child,
.uk-grid > [class*="uk-width"]:first-child {
    width: 230px !important;       /* お好みの固定幅 */
    min-width: 230px !important;
    max-width: 230px !important;
    flex: 0 0 230px !important;    /* 伸縮させない */
}

/* 4. 右メインコンテンツ（2番目の要素）：残りの幅をすべて使用 */
.uk-grid > div:nth-child(2),
.uk-grid > [class*="uk-width"]:nth-child(2) {
    flex: 1 1 auto !important;     /* 余白に合わせて自動拡大 */
    width: auto !important;
    max-width: none !important;    /* 幅制限を完全に解除 */
}

/* summaryの疑似リンク化 */
summary {
  cursor: pointer;
  color: #0066cc;
  text-decoration: underline;
  display: inline-block;
}
summary:hover {
  color: #004499;
}

/* 下部のシェア／ソーシャルボタンを非表示 */
.share_button_wrapper {
    display: none !important;
}
/* シェア文言が含まれるpタグを非表示 */
p.uk-margin-large-top.uk-text-bold {
    display: none !important;
}

/* Wiki本体の影響を受けにくくするためのリセット・スタイル設定 */
.wiki-tool {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333;
  background-color: #fff;
  padding: 15px;
  box-sizing: border-box;
}

/* wiki-tool 内の要素すべてに box-sizing を適用 */
*.wiki-tool {
  box-sizing: border-box;
}

/* テーブルの装飾 */
table.wiki-tool {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

th.wiki-tool,
td.wiki-tool {
  border: 1px solid #ccc;
  padding: 8px;
  vertical-align: top;
}

/* フォーム要素の装飾 */
input[type="text"].wiki-tool,
textarea.wiki-tool {
  width: 600px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

button.wiki-tool {
  padding: 6px 12px;
  cursor: pointer;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 3px;
}

button:hover.wiki-tool {
  background-color: #e0e0e0;
}