.student h3 {
  font-weight: normal;
  color: var(--main_blue);
  font-size: 1.22rem;
  margin-bottom: 2rem;
}

.flex_student {
  display: flex;
  justify-content: space-around;
  gap: 30px;
}

.flex_ko {
  border: 1px solid #0d2580;
  border-radius: 6px;
  width: 30%;
  padding: 0 0 15px;
  overflow: hidden;
}

.flex_ko h3 {
  padding: 15px 0;
  margin: 0;
  color: #fff;
  text-align: center;
  background: #0d2580;
}

.flex_text {
  padding: 15px 0 0;
  width: 85%;
  margin: 0 auto;
}

.flex_text p {
  margin-top: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
}

.flex_text p a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.flex_text p a span {
  text-align: left;
}

.download_icon {
  width: 28px;
  height: 28px;
  border: 1px solid #0d2580;
  border-radius: 50%;
  color: #0d2580;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.flex_text p a:hover {
  color: #0d2580;
}

.flex_text p a:hover .download_icon {
  background: #0d2580;
  color: #fff;
}

/*警報発令時の登校*/
.weather_notice {
  margin: 60px auto 0;
  width: 100%;
}

.weather_notice_inner {
  border: 1px solid #0d2580;
  border-radius: 8px;
  padding: 35px 40px 30px;
  background: #f8fbff;
}

.weather_notice_title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.weather_icon {
  width: 58px;
  height: 58px;
  border: 2px solid #0d2580;
  border-radius: 50%;
  color: #0d2580;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  background: #fff;
}

.weather_notice_title h3 {
  color: #0d2580;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 0.08em;
  margin: 0;
}

.weather_lead {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 22px;
  color: #333;
}

.weather_table_wrap {
  width: 100%;
  overflow-x: auto;
}

.weather_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.weather_table th {
  background: #eaf4ff;
  color: #0d2580;
  font-weight: bold;
  text-align: center;
  padding: 14px 16px;
  border: 1px solid #b8d4ef;
  font-size: 15px;
}

.weather_table td {
  padding: 18px 20px;
  border: 1px solid #d4e2f0;
  vertical-align: middle;
  font-size: 15px;
  line-height: 1.7;
}

.weather_table td:first-child {
  width: 28%;
  text-align: center;
  font-weight: bold;
  color: #333;
  background: #fbfdff;
}

.weather_table strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: #333;
}

.weather_table strong.red {
  color: #d93030;
}

.weather_table p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.weather_note {
  margin: 25px 0 0;
  padding: 16px 20px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #d93030;
  background: #ffeaea;
  border: 1px solid #efb8b8;
  border-radius: 6px;
  line-height: 1.7;
}
@media screen and (max-width: 767px) {
  .flex_student {
    display: block;
  }
  .flex_ko {
    width: 100%;
    margin-bottom: 30px;
  }
  .weather_notice {
    margin-top: 40px;
  }

  .weather_notice_inner {
    padding: 25px 18px;
  }

  .weather_notice_title {
    align-items: flex-start;
    gap: 12px;
  }

  .weather_icon {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }

  .weather_notice_title h3 {
    font-size: 20px;
    line-height: 1.5;
    text-align: left;
  }

  .weather_lead {
    font-size: 14px;
  }

  .weather_table {
    min-width: 650px;
  }

  .weather_table th,
  .weather_table td {
    font-size: 14px;
    padding: 12px;
  }

  .weather_note {
    font-size: 13px;
    text-align: left;
    line-height: 1.7;
  }
}
