html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-y: hidden;
}


/************************/
/* header               */
/************************/
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px; /* 適宜調整 */
  background-color: #333;
  color: white;
  line-height: 100px;
  text-align: center;
  z-index: 10;
}

header h1 {
    margin: 0;
}

header nav {
    height: 20px;
}


/************************/
/* main                 */
/************************/
main {
  padding-top: 100px; /* header の高さと同じにする */
  min-height: calc(100vh - 100px - 30px); /* headerとfooterを引いた高さ */
}

.container {
  display: flex;
  min-height: calc(100vh - 160px); /* header + footer を引いた高さ */
  padding-top: 100px;
}

.sidebar {
  width: 180px;
  background-color: #e0e0e0;
  padding: 1em;
}

.sidebar a {
  display: block;
  margin-bottom: 8px; /* 任意：リンク間の余白 */
  text-decoration: none; /* 任意：下線を消す */
  color: inherit; /* 任意：親の文字色を継承 */
}

.sidebar ul {
  padding-left: 10px;
}

.main-content {
  flex: 1;
  padding: 1em;
}

#divContent {
    overflow-y: auto;
    height: calc(100vh - 200px);
}


/************************/
/* footer               */
/************************/
footer {
  height: 30px;
  text-align: left;
  line-height: 30px;
}


/************************/
/* button               */
/************************/
/* ボタン共通 */
button {
  border-radius: 8px;
  width: 150px;
  height: 40px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5);
}

/* データを変換、結果を表示するボタン */
.btnConv {
  background-color: #2DFF57;
}

.btnConv:hover {
  background-color: #24cc48; /* 少し濃い緑に変更 */
}
