
/* 基本設定 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f5f7;
  color: #252a34;
  font-family: Arial, "Noto Sans JP", sans-serif;
}

/* ヘッダー */
.header {
  background: #252a34;
  color: white;
  padding: 28px 7%;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}

.header p {
  color: #b8bec8;
  font-size: 11px;
  letter-spacing: 2px;
}

/* メイン */
.container {
  max-width: 1050px;
  margin: 45px auto;
  padding: 0 22px;
}

.welcome {
  margin-bottom: 30px;
}

.welcome h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.welcome p {
  color: #858d99;
  font-size: 14px;
}

/* 出欠集計 */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 3px 12px #00000008;
}

.stat-card p {
  color: #858d99;
  font-size: 13px;
}

.stat-card h2 {
  font-size: 32px;
  margin-bottom: 0;
}

/* パネル */
.panel {
  background: white;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 3px 12px #00000008;
}

.panel h2 {
  font-size: 19px;
  margin-top: 0;
  margin-bottom: 20px;
}

/* 入力フォーム */
label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin-top: 18px;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dce0e6;
  border-radius: 7px;
  font-size: 14px;
  background: white;
  color: #252a34;
}

textarea {
  min-height: 85px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #dce7f0;
  border-color: #7892aa;
}

/* ボタン */
button {
  background: #252a34;
  color: white;
  border: none;
  padding: 13px 24px;
  border-radius: 7px;
  font-size: 13px;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.2s;
}

button:hover {
  background: #465263;
}

/* 検索 */
.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 15px;
}

/* テーブル */
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  text-align: left;
}

th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid #e8eaee;
  font-size: 13px;
}

th {
  color: #858d99;
  font-weight: normal;
}

/* スマホ対応 */
@media (max-width: 600px) {

  .container {
    margin-top: 28px;
  }

  .logo {
    font-size: 19px;
  }

  .welcome h1 {
    font-size: 27px;
  }

  .stats {
    gap: 8px;
  }

  .stat-card {
    padding: 13px;
  }

  .stat-card h2 {
    font-size: 25px;
  }

  .panel {
    padding: 18px;
  }

  .filters {
    grid-template-columns: 1fr;
  }
}
