a {
  text-decoration: none;
}

body {
  background-color: lightblue;
}

.field {
  display: flex;
}

.sidebars {
  width: 250px;
  background-color: #f5f5f5; /* 明るめのグレーに変更で視認性UP */
  border-right: 1px solid #ccc;
  padding: 1rem;
  box-sizing: border-box;
  height: 100vh;
  overflow-y: auto;
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}

.sidebars header {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #333;
}

.sidebars ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebars ul li {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid #ccc; /* 仕切り線を点線に */
}

.sidebars ul li:last-child {
  border-bottom: none;
}

.sidebars ul li a {
  color: #444;
  text-decoration: none;
  display: block;
  padding-left: 5px;
  transition: background-color 0.2s, color 0.2s;
}

.sidebars ul li a:hover {
  background-color: #e0e0e0;
  color: #000;
  border-radius: 4px;
}

.open{
    left:0;
}

.picture img {
  width: 200px;
}

.vert {
  display: flex;
  /*-webkit-justify-content: space-around; /*横方向に均等間隔で配置*/
  /*justify-content: space-around; /*周囲に均等間隔で配置*/
  /*align-items: flex-start; /*上端合わせ*/
  /*align-items: flex-end; /*下端合わせ*/
  align-items: center; /*中央合わせ*/
  /*align-items: baseline; /*文字の基準点をそろえる*/
  /*align-items: stretch; /*枠に合わせて伸ばす*/
  flex-direction: column; /*縦並び*/
  /*height: 200px; /*行の高さを200pxに固定*/
  list-style:none;
}

.side {
  display: flex;
  /*-webkit-justify-content: space-around; /*横方向に均等間隔で配置*/
  /*justify-content: space-around; /*周囲に均等間隔で配置*/
  /*align-items: flex-start; /*上端合わせ*/
  /*align-items: flex-end; /*下端合わせ*/
  align-items: center; /*中央合わせ*/
  /*align-items: baseline; /*文字の基準点をそろえる*/
  /*align-items: stretch; /*枠に合わせて伸ばす*/
  flex-direction: row; /*横並び*/
  /*height: 200px; /*行の高さを200pxに固定*/
  list-style:none;
}

.my-button {
  background-color: #007bff; /* ボタンの背景色を青色にする */
  color: white; /* 文字色を白色にする */
  padding: 10px 20px; /* 上下に10px、左右に20pxのパディングを追加 */
  font-size: 16px; /* フォントサイズを大きくする */
  border: none; /* 枠線を非表示にする */
  cursor: pointer; /* マウスホバー時にカーソルをポインターに変更 */
  border-radius: 5px; /* ボーダーの角を丸くする */
}

.map-container,
.form-container {
    display: inline-block;
    vertical-align: top;
}

.form-container {
    padding-left: 20px; /* フォームと地図の間隔 */
}
/* 緒言のボタン選択 */
.input_chk {
  display:none;
}
.chk_label {
  display:inline-block;
  position:relative;/*相対的な位置を指定*/
  width:4rem;/*相対的な位置から大きさや幅を指定*/
  height:2rem;
  margin:0.25rem;
  border-radius:1rem;
  background:darkgray;
  transition:0.2s;
  cursor:pointer;
  box-shadow:0 4px 4px -2px #333 inset;
}
.chk_label:before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:50%;
  height:100%;
  border:1px solid gray;
  border-radius:1rem;
  background:white;
  transition:0.2s;
  box-shadow:4px 0 2px -2px #333;
}

input[type="checkbox"].input_chk:checked + label.chk_label{ background:orange; }
input[type="checkbox"].input_chk:checked + label.chk_label:before{ left:50%; }

input[type="radio"].input_chk:checked + label.chk_label{ background:orange; }
input[type="radio"].input_chk:checked + label.chk_label:before{ left:50%; }

.surround_label {
  display: inline-block;
  position: relative;
  padding: 0.5rem;
  border: solid 1px orange;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.2s;
}
input[type="checkbox"].input_chk:checked + label.surround_label{
  background:orange;
  transition:0.2s;
}
input[type="radio"].input_chk:checked + label.surround_label{
  background:orange;
  transition:0.2s;
}
/* damage_tableの「径間」ボタンに適用するスタイル */
.keikan-button-style {
  width: 60px; /* ボタンの幅 */
  height: 45px; /* ボタンの高さ */
  background-color: blue; /* ボタンの背景色 */
  color: white; /* ボタンの文字色 */
  text-align: center; /* テキストをボタンの中央に配置 */
  display: block; /* ブロック要素として扱う */
  margin-left: auto; /* 左側のマージンを自動で調整して右詰めに */
  margin-right: 0; /* 右側のマージンは0 */
}

/* プログレスバーのスタイル */
#progress-container {
    width: 100%;
    background-color: #f3f3f3;
    padding: 3px;
    border: 1px solid #ccc;
    margin-top: 10px;
    display: none; /* 初期状態は非表示 */
}

#progress-bar {
    width: 0;
    height: 20px;
    background-color: #4caf50;
}

.my-table {
  width: 100%;
}
/* 追加したスタイル */
.full-width-table {
  width: 100%; 
}