/* 日付入力と取得ボタンの横並び・デザイン */
.date-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
#gettimetable-btn {
  padding: 8px 24px;
  background: #0984e3;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background 0.2s;
}
#gettimetable-btn:hover {
  background: #74b9ff;
}
/* 一括入力セレクト・ボタンラップ */
.inputall-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 24px auto 0 auto;
}
#inputall {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #b2bec3;
  font-size: 1rem;
  background: #fff;
  color: #636e72;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
#inputallbtn {
  padding: 8px 24px;
  background: #00b894;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background 0.2s;
}
#inputallbtn:hover {
  background: #55efc4;
}
#save {
  display: inline-block;
  margin: 0 auto;
  padding: 10px 32px;
  background: #0984e3;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background 0.2s;
}
#save:hover {
  background: #74b9ff;
}
#nav-btn, .nav-btn {
  display: inline-block;
  background: #0984e3;
  color: #fff;
  padding: 8px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  margin: 0 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background 0.2s, color 0.2s;
}
#nav-btn:hover, .nav-btn:hover {
  background: #74b9ff;
  color: #fff;
}
body {
  font-family: 'Segoe UI', 'Meiryo', 'sans-serif';
  background: #f5f6fa;
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  color: #00bfff;
  font-weight: bold;
  margin-top: 32px;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 18px;
}
h1::after {
  content: '';
  display: block;
  width: 60%;
  height: 6px;
  margin: 0 auto;
  border-radius: 3px;
  background: linear-gradient(90deg, #00bfff 0%, #74b9ff 50%, #00b894 100%);
  position: absolute;
  left: 20%;
  bottom: 0;
}

h2 {
  text-align: center;
  color: #636e72;
  margin-bottom: 24px;
}

input[type="date"] {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #b2bec3;
  font-size: 1rem;
  background: #fff;
}

table {
  max-width: 400px;
  margin: 32px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 0 0 12px 0;
  border-collapse: separate;
  border-spacing: 0;
}
th {
  background: #dfe6e9;
  color: #636e72;
  border-radius: 4px 4px 0 0;
  padding: 12px 8px;
  font-size: 1.1rem;
  text-align: left;
}
td {
  background: #f5f6fa;
  border-radius: 4px;
  padding: 8px;
}
input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #b2bec3;
  font-size: 1rem;
  background: #fff;
}
input[type="time"] {
  width: 45%;
  min-width: 60px;
  box-sizing: border-box;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #b2bec3;
  font-size: 1rem;
  background: #fff;
  display: inline-block;
}
td[style*="white-space:nowrap"] {
  max-width: 100%;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
}
textarea {
  width: 90%;
  min-height: 40px;
  border-radius: 6px;
  border: 1px solid #b2bec3;
  font-size: 1rem;
  padding: 6px;
  background: #fff;
  resize: vertical;
}
#save {
  display: block;
  margin: 32px auto 24px auto;
  padding: 10px 32px;
  background: #0984e3;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
#save:hover {
  background: #74b9ff;
}
#MEMO {
  display: block;
  margin: 24px auto 0 auto;
  width: 90%;
  max-width: 400px;
  min-height: 60px;
  border-radius: 8px;
  border: 1px solid #b2bec3;
  font-size: 1rem;
  padding: 8px;
  background: #fff;
  resize: vertical;
}
@media (max-width: 600px) {
  table {
    max-width: 98vw;
    margin: 16px auto;
    padding: 0 0 6px 0;
  }
  #MEMO {
    max-width: 98vw;
    padding: 4px;
  }
}
