  body {
      font-family: Arial, sans-serif;
      background-color: #f4f4f9;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }



/* ヘッダー */
header {
  background: linear-gradient(135deg, #00796b, #004d40);
  color: white;
  padding: 50px 0;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
  background-color: #004d40;
  transform: scale(1.1);  /* ホバー時に少し拡大 */
}

    .container {
      background: white;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 900px;
      margin: 20px auto;
      flex-grow: 1;
    }


   .explanation{
    font-size: 1em;
    padding:0;
    width: 100%;
   }

    .container h1 {
      text-align: center;
      font-size: 22px;
    }
    .input-group {
      margin-bottom: 15px;
    }
    .input-group label {
      display: block;
      margin-bottom: 5px;
      font-size: 1.1em;
    }
    .input-group input {
      width: 100%;
      padding: 12px;
      font-size: 1.1em;
      border-radius: 4px;
      border: 1px solid #ccc;
      box-sizing: border-box;
    }
    button {
      padding: 8px 20px;
      background-color: #00796b;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 1.2em;
      width: auto;
      margin-top: 15px;
    }
    button:hover {
      background-color: #004d40;
    }
    table {
      width: 100%;
      margin-top: 20px;
      border-collapse: collapse;
      overflow-y: auto;
      display: block;
      max-height: 300px;
    }
    table, th, td {
      border: 1px solid #ddd;
      text-align: center;
    }

    tr{
  display: table;
  width: 100%;
  table-layout: fixed;  /* テーブルのレイアウトを固定して、セルが均等に配置されるように */

    }


    th, td {
      padding: 8px;
      font-size: 16px;
    }

    thead {
  display: table;
  width: 100%;
  table-layout: fixed;  /* テーブルのレイアウトを固定して、セルが均等に配置されるように */
}

th {
  text-align: center;  /* ヘッダーの文字を中央揃え */
  padding: 8px 15px;   /* ヘッダーのセルに少しパディングを追加 */
  background-color: #00796b;
  border: 1px solid #ddd;  /* セルの境界線を追加 */
  color: white;
  width: auto;  /* 各セルの幅を自動調整 */
}
    /* レスポンシブデザイン */
    @media screen and (max-width: 600px) {

  nav ul {
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.7);
  }

  nav ul li {
    margin-bottom: 10px;
  }

  nav ul li a {
    padding: 15px;
    font-size: 20px;
  }





      .container h1 {
        text-align: center;
        font-size: 16px;
      }    
      .container {
        padding: 10px;
        font-size: 16px;
      }
      table {
        font-size: 12px;
      }
      button {
        width: 100%;
        padding: 12px;
      }
    }




    footer {
      background-color: #333;
      color: white;
      text-align: center;
      padding: 8px;
      width: 100%;
    }

    footer a {
      color: #fff;
      text-decoration: none;
    }
    footer a:hover {
      text-decoration: underline;
    }

   

    /* 免責事項のスタイル */
    .disclaimer {
      background-color: #f3f3f2;
      color: #333;
      padding: 15px;
      margin-top: 20px;
      border-radius: 4px;
      font-size: 0.9em;
      text-align: center;
    }

     /* コンテンツ */
    .step {
      margin-bottom: 20px;
    }

    .step label {
      display: block;
      margin-bottom: 8px;
      font-size: 1.1em;
    }

    .input-group {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
    }

    .input-group label {
      margin-right: 10px;
      font-size: 1.1em;
    }

    .input-group select, .input-group input {
      width: 100px;
      padding: 4px;
      font-size: 16px;
      border-radius: 4px;
      border: 1px solid #ccc;
      box-sizing: border-box;
    }

    button {
      padding: 8px 20px;
      background-color: #00796b;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 1.2em;
      width: auto;
      margin-top: 20px;
    }

    button:hover {
      background-color: #004d40;
    }

    .disclaimer {
      background-color: #f3f3f2;
      color: #333;
      padding: 15px;
      margin-top: 20px;
      border-radius: 4px;
      font-size: 0.9em;
      text-align: center;
    }

    canvas {
      margin-top: 30px;
    }

    /* レスポンシブデザイン */
    @media screen and (max-width: 800px) {
      .container h1 {
        font-size: 16px;
      }

      .container {
        padding: 10px;
        font-size: 16px;
      }

      table {
        font-size: 12px;
      }

      button {
        width: 100%;
        padding: 12px;
      }

      .input-group {
        flex-direction: column;
        align-items: stretch;
      }

      .input-group label {
        margin-bottom: 5px;
      }

      .input-group select, .input-group input {
        width: 40%;
      }
    }