/* 追加CSS */

/**
 * トップ > 入試情報 > 大学入試 > 総合型選抜入試
 * https://www.osaka-ohtani.ac.jp/club-oh/exam/univ/ao.html
 */
.ao-schedule {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0 -0.5rem;
  width: calc(100% + 1rem);
}

@media (min-width: 768px) {
  .ao-schedule {
    font-size: 1.3rem;
  }
}

.ao-schedule caption {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.ao-schedule th,
.ao-schedule td {
  border: solid #ffffff;
  border-width: 0 0.5rem;
}

.ao-schedule th {
  background: rgb(175, 225, 240);
  letter-spacing: 1em;
  line-height: 2;
  text-indent: 1em;
}

.ao-schedule td {
  border-bottom: 0.1rem solid transparent;
  height: calc(4.5em + 2rem);
  line-height: 1.5em;
  position: relative;
  width: 25%;
}

.ao-schedule td:last-child {
  border-bottom-color: #999999;
  padding: 1rem;
  width: auto;
}

.ao-schedule__label {
  color: #ffffff;
  font-weight: 400;
  text-align: center;
}

.ao-schedule__label::before,
.ao-schedule__label::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.ao-schedule__label::before {
  background: #333333;
  border-radius: 0.5rem;
  inset: 0;
  margin: 1rem 0;
}

.ao-schedule__label::after {
  border: 2rem solid transparent;
  border-top-color: rgb(125, 200, 225);
  inset: auto auto 0 50%;
  margin: -3rem -2rem;
  transform: scale(0.75);
}

tr:last-child .ao-schedule__label::after {
  content: normal;
}

.ao-schedule__postmark {
  background: rgb(150, 50, 50);
  color: #ffffff;
  display: inline-block;
  font-size: 1rem;
  padding: 0 0.25em;
  vertical-align: top;
}

.ao-top {
  align-items: center;
  display: inline-flex;
}

.ao-top::before {
  background: url("/club-oh/lib/cmn_img/arw_btm_blue.png") 50% 50% / 13px 7px no-repeat;
  content: "";
  padding: 1em;
  transform: scaleY(-1);
  transition: all 0.3s ease-in-out;
}

.ao-top:hover {
  color: #c00712;
}

.ao-top:hover::before {
  background-image: url("/club-oh/lib/cmn_img/arw_btm_red.png");
  background-position: 50% 60%;
}

/**
 * トップ > 入試情報 > 大学入試
 * https://www.osaka-ohtani.ac.jp/club-oh/exam/univ/index.html
 */
.univ-table {
  border-collapse: collapse;
  font-size: 1.3rem;
  width: 100%;
}

.univ-table th,
.univ-table td {
  border: 0.1rem solid #d0d0d2;
  display: block;
  margin-bottom: -0.1rem;
}

.univ-table th {
  background: #e7e7e7;
  padding: 0.5rem;
}

.univ-table td {
  padding: 1.5rem 1rem;
}

@media (min-width: 768px) {
  .univ-table th,
  .univ-table td {
    display: table-cell;
  }
  .univ-table th {
    padding: 1.5rem 1rem;
    width: 25%;
  }
}

.univ-table_row {
  align-items: center;
  display: flex;
}
