/* 開催スケジュール一時補修用スタイル */
.schedule-repair {
  margin: 28px 0 36px;
  color: #263238;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

.schedule-heading {
  box-sizing: border-box;
  margin-bottom: 24px;
  padding: 22px 24px;
  border-left: 6px solid #147a72;
  background: #f0f8f7;
}

.schedule-heading .schedule-eyebrow {
  margin: 0 0 5px;
  color: #147a72;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .08em;
}

.schedule-heading h3 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #173d3a;
  font-size: 25px;
  line-height: 1.4;
}

.schedule-heading .schedule-lead {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

.schedule-month {
  margin: 0 0 26px;
}

.schedule-month h4 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 9px;
  padding: 0 0 7px;
  border-bottom: 2px solid #147a72;
  color: #173d3a;
  font-size: 21px;
}

.schedule-month h4 small {
  color: #70827f;
  font-size: 10px;
  letter-spacing: .14em;
}

.schedule-table-wrap {
  overflow-x: auto;
  border: 1px solid #d3dfdd;
  border-radius: 5px;
  background: #fff;
}

.schedule-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

.schedule-table th,
.schedule-table td {
  box-sizing: border-box;
  border: 0;
  border-right: 1px solid #e0e7e6;
  border-bottom: 1px solid #e0e7e6;
  padding: 14px 13px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.65;
}

.schedule-table th:last-child,
.schedule-table td:last-child {
  border-right: 0;
}

.schedule-table tbody tr:last-child td {
  border-bottom: 0;
}

.schedule-table th {
  background: #173d3a;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .04em;
  text-align: center;
}

.schedule-table th:nth-child(1) { width: 27%; }
.schedule-table th:nth-child(2) { width: 19%; }
.schedule-table th:nth-child(3) { width: 16%; }
.schedule-table th:nth-child(4) { width: 38%; }

.schedule-table tbody tr:nth-child(even) {
  background: #f8fbfa;
}

.schedule-table td:nth-child(1),
.schedule-table td:nth-child(2),
.schedule-table td:nth-child(3) {
  text-align: center;
  white-space: nowrap;
}

.schedule-table td:first-child {
  color: #173d3a;
  font-weight: bold;
}

.schedule-table td small {
  color: #5c6e6b;
  font-size: 12px;
}

.area-tag {
  display: inline-block;
  min-width: 3.5em;
  padding: 3px 8px;
  border: 1px solid #acd1cd;
  border-radius: 12px;
  background: #eef8f6;
  color: #11645d;
  font-size: 12px;
  font-weight: bold;
}

.schedule-note {
  margin: 12px 0 0;
  color: #596966;
  font-size: 12px;
  line-height: 1.7;
}

.schedule-apply {
  margin: 30px 0 4px;
  padding: 25px 20px;
  border-radius: 5px;
  background: #eef8f6;
  text-align: center;
}

.schedule-apply-button {
  display: inline-block;
  box-sizing: border-box;
  min-width: 300px;
  padding: 14px 34px;
  border: 1px solid #0f625b;
  border-radius: 4px;
  background: #147a72;
  box-shadow: 0 3px 0 #0d514b;
  color: #fff !important;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none !important;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}

.schedule-apply-button:hover,
.schedule-apply-button:focus {
  background: #0f625b;
  color: #fff !important;
  transform: translateY(1px);
  box-shadow: 0 2px 0 #0d514b;
}

.schedule-apply-button span {
  margin-left: 8px;
  font-size: 24px;
  font-weight: normal;
  line-height: 0;
  vertical-align: -2px;
}

.schedule-apply p {
  margin: 12px 0 0;
  color: #596966;
  font-size: 12px;
  line-height: 1.6;
}

.legacy-schedule {
  display: none !important;
}

@media screen and (max-width: 640px) {
  .schedule-heading {
    padding: 18px 16px;
  }

  .schedule-heading h3 {
    font-size: 21px;
  }

  .schedule-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .schedule-table,
  .schedule-table tbody,
  .schedule-table tr,
  .schedule-table td {
    display: block;
    width: 100%;
  }

  .schedule-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .schedule-table tbody tr {
    box-sizing: border-box;
    margin-bottom: 12px;
    padding: 5px 14px;
    border: 1px solid #d3dfdd;
    border-top: 4px solid #147a72;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(23, 61, 58, .07);
  }

  .schedule-table tbody tr:nth-child(even) {
    background: #fff;
  }

  .schedule-table td,
  .schedule-table td:nth-child(1),
  .schedule-table td:nth-child(2),
  .schedule-table td:nth-child(3) {
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid #edf1f0;
    text-align: left;
    white-space: normal;
  }

  .schedule-table td:last-child {
    border-bottom: 0;
  }

  .schedule-table td:before {
    flex: 0 0 4.5em;
    color: #657774;
    font-size: 12px;
    font-weight: bold;
  }

  .schedule-table td:nth-child(1):before { content: "開催日"; }
  .schedule-table td:nth-child(2):before { content: "時間"; }
  .schedule-table td:nth-child(3):before { content: "地域"; }
  .schedule-table td:nth-child(4):before { content: "会場"; }

  .schedule-apply {
    padding: 20px 14px;
  }

  .schedule-apply-button {
    width: 100%;
    min-width: 0;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 16px;
  }
}
