@charset "utf-8";

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ top-banner */
.about-box {
  counter-reset: dt-counter;
}

.about-box > dt {
  position: relative;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-left: 1.5rem;
  font-size: 1.3em;
  font-weight: bold;
  counter-increment: dt-counter;
  border-top: 2px solid hsl(var(--color-primary));
  border-bottom: 1px solid lightgray;
}

.about-box > dt::before {
  position: absolute;
  left: 0;
  font-weight: bold;
  content: "■";
}

.about-box > dd {
  padding: 0.8em 1em 3em 1.5rem;
}

/* li の連番（1から） */
.about-box dd > dl {
  padding-top: 1em;
  counter-reset: li-counter;
}

.about-box dd > dl dt {
  position: relative;
  padding: 0 0 0 1.2rem;
  font-weight: bold;
  counter-increment: li-counter;
}

.about-box dd > dl dt::before {
  position: absolute;
  left: 0;
  content: counter(li-counter) ". ";
}

.about-box dd > dl dt:not(:has(+ dd)) {
  margin-bottom: 1em;
}

.about-box dd > dl > dd {
  padding: 0.3em 1em 1em 1.2rem;
}

.policy-charge {
  display: block;
  width: fit-content;
  margin-left: auto;
  text-align: center;
}

.img-ilst {
  display: block;
  max-width: 80%;
  margin: 10px auto;
}

@media (min-width: 768px) {
  .img-ilst {
    max-width: 60%;
  }
}

.inner-school-info {
  display: block;
  width: fit-content;
  margin: 0 auto;
}
