body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: flex-start;
    height: 100vh;
    margin: 0;
    text-align: center;
  }
  
  #header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    width: 98%;
  }
  
  #header h1 {
    display: inline-block;
    margin-top: 20px;
  }
  
  #header a {
    display: flex;
    align-items: center;
    padding: 7px 15px;
    background-color: #0088ff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-decoration: none;
    height: 60px;
    width: 50px;
    margin-top: 10px;
  }
  
  #header a:hover {
    background-color: #ff8800;
  }
  
  #colorForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 70%;
    margin: auto;
  }
  
  input[type="radio"] {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }
  
  label {
    display: inline-block;
    padding: 7px 15px;
    margin: 5px;
    background-color: #0088ff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    width: 20%;
    box-sizing: border-box;
  }
  
  input[type="radio"]:checked+label,
  label:active {
    background-color: #2bff008e;
  }
  
  #inputSection {
    display: none;
    margin-top: 20px;
  }
  
  label[for="inputText"] {
    display: inline-block;
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: color 0.3s;
    text-align: center;
    width: 80%;
  }
  
  input[type="number"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 5px;
    width: 80%;
  }
  
  #submitButton {
    padding: 10px 30px;
    background-color: #0088ff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    width: 50%;
  }
  
  #submitButton.clicked {
    background-color: #ff8800;
  }
  
  .search-error-message,
  .search-success-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
  }
  
  .search-error-message {
    background-color: #ffe6e6;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
  }
  
  .search-success-message {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
  }

  /* 場所検索セクションのスタイル */
  #locationSearchSection {
    display: none;
    margin-top: 20px;
    text-align: center;
  }
  
  #locationSearchSection label {
    display: block;
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: color 0.3s;
    text-align: center;
    width: 100%;
    background-color: transparent;
    color: #333;
  }
  
  #locationSelect {
    padding: 10px;
    margin: 5px;
    border: 2px solid #0088ff;
    border-radius: 5px;
    font-size: 16px;
    width: 200px;
    background-color: #fff;
    cursor: pointer;
  }
  
  #locationSelect:focus {
    outline: none;
    border-color: #2bff008e;
    box-shadow: 0 0 5px rgba(43, 255, 0, 0.3);
  }
  
  #locationSearchButton {
    padding: 10px 20px;
    margin: 5px;
    background-color: #0088ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #locationSearchButton:hover {
    background-color: #0066cc;
  }
  
  #locationSearchButton.clicked {
    background-color: #2bff008e;
    cursor: not-allowed;
  }
  
  #locationSearchButton:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
  }
  
  .location-search-error-message,
  .location-search-success-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
  }
  
  .location-search-error-message {
    background-color: #ffe6e6;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
  }
  
  .location-search-success-message {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
  }
  