body {
  font-family: sans-serif;
  margin: 0;
  padding: 2em 1em;
  background: #ffffff;
  color: #000;
}
.container {
  max-width: 960px;
  margin: 0 auto;
}
.logo {
  display: block;
  margin: 0 auto 1em;
  max-width: 200px;
  border: none;
}
.main-title {
  text-align: center;
  font-size: 1.4em;
  margin-bottom: 0.4em;
}
.sub-title {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 0.6em;
}
.rate-box {
  text-align: center;
  background: #eef4ff;
  padding: 0.3em 0.5em;
  margin-bottom: 1em;
  font-size: 0.95em;
}
.rate-box span {
  color: #0074d9;
  font-weight: bold;
}
.form-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 1em;
}
.form-group {
  flex: 1 1 calc(50% - 0.5em);
  display: flex;
  flex-direction: column;
}
select {
  padding: 0.5em;
  font-size: 1em;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: #f7f7f7;
}
.note {
  font-size: 0.85em;
  color: #333;
  margin-bottom: 1em;
  line-height: 1.5;
  text-align: left;
}
.note em {
  font-style: normal;
  font-weight: bold;
}
.gohome {
  font-size: 0.85em;
  color: #333;
  margin-bottom: 1em;
  line-height: 1.5;
  text-align: center;
}
.result-header {
  font-size: 0.95em;
  color: #333;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0.5em 0;
  margin-bottom: 1em;
  text-align: left;
}
.school-box {
  border: 1px solid #ccc;
  padding: 1em;
  margin-bottom: 0;
  background-color: #fff;
}
.school-box:nth-of-type(even) {
  background-color: #f3f3f3;
}
.school-box h3 {
  margin: 0;
  font-size: 1em;
  color: #0074d9;
}
.school-box h3 a {
  color: #0074d9;
  text-decoration: underline;
}
.school-box .sub-name {
  font-size: 0.95em;
  margin-top: 0.3em;
}
.school-box .location a {
  color: #00a0d1;
  text-decoration: underline;
}
.school-box .details {
  margin-top: 0.3em;
  font-size: 0.95em;
}
.more {
  text-align: center;
  margin-top: 2em;
  font-size: 1em;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .main-title {
    font-size: 1.2em;
  }
  .sub-title {
    font-size: 1em;
  }
  .form-grid {
    flex-direction: column;
    gap: 0.8em;
  }
  .form-group {
    flex: 1 1 100%;
  }
  select {
    font-size: 1em;
  }
  .rate-box {
    font-size: 0.9em;
  }
  .school-box {
    border: none;
    padding: 1em;
  }
  .school-box:nth-child(even) {
    background-color: #f3f3f3;
  }
  .school-box:nth-child(odd) {
    background-color: #fff;
  }
  .school-box h3 {
    font-size: 1em;
  }
  .school-box .details,
  .school-box .sub-name {
    font-size: 0.9em;
  }
  .note,
  .result-header {
    text-align: left;
  }
}
