/* tool.css */



.button {
  background-color: #fff;
  color: #2f4f4f;
  padding: 5px 15px;
  text-decoration: none;
  font-size: 2em;
  box-shadow: 0px 5px 15px -10px rgba(0,0,0,0.8);
}
.button:hover {
  background-color: #b0e0e6;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

.center {
  text-align: center;
  margin: 0 auto 0.5em;
}

.menu ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;     /* 中身に合わせて高さを伸縮 */
  row-gap: 8px;             /* 縦ギャップ */
  column-gap: 8px;          /* 横ギャップ */
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #deecff;
}

.menu li {
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu li a.Clockbutton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;             /* 自動で中身に合わせる */
  padding: 12px 20px;
  background-color: #fff;
  border: 2px solid #2f4f4f;
  color: #2f4f4f;
  font-size: 2em;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.3s;
}
.menu li a.Clockbutton:hover {
  background-color: #b0e0e6;
}

.menu li p.description {
  margin: 4px 0 0;
  font-size: 1em;
  color: #555;
  line-height: 1.2;
}