

.hero__photo {
  background-image: url("../pageimg/youseikouza_shikaku/images/hero-bg.webp");
}

.ov-question__cloud { background: url("../images/overview-cloud.svg") no-repeat center / 100% 100%; }

.cd-head { background-image: url("../images/si2-banner-stripes.webp"); }

.course-list {
  background: var(--bg-school-info);
  padding: 120px 0;
  display: flex; flex-direction: column; gap: var(--space-32);
}
.course-list__heading {
  font-family: var(--font-jp); font-weight: var(--fw-bold);
  font-size: 44px; line-height: 1.4; color: #131936; text-align: center;
}
.course-list__link { display: block; text-decoration: none; color: inherit; }

.course-list .si-obanner__card { margin-block: 24px; }
.course-list__link:focus-visible { outline: 3px solid var(--c-blue-500); outline-offset: 2px; }

.course-list__link { transition: opacity 0.2s ease; }
.course-list__link:hover { opacity: 0.7; }
@media (prefers-reduced-motion: reduce) {
  .course-list__link { transition: none !important; }
}

.si-banner {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
}
.si-banner::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 665px;
  max-width: 48%;
  background: url("../pageimg/youseikouza/images/banner-stripes.webp") center / cover no-repeat;
  z-index: 1;
}
.si-banner__photo {
  position: absolute;
  right: 0; top: 0;
  width: 1136px;
  max-width: 79%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.si-banner__card {
  position: relative;
  z-index: 2;
  margin-left: 28px;
  width: 609px;
  max-width: calc(100% - 56px);
  box-sizing: border-box;
  background: #ffffff;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  align-items: flex-start;
}
.si-banner__top {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid #131936;
  border-bottom: 1px solid #131936;
  padding: var(--space-24) 0 27px;
}
.si-banner__badge { height: 66px; width: auto; flex: none; }
.si-banner__limited {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 22px;
  line-height: 1.2;
  color: #131936;
}
.si-banner__lead { display: flex; flex-direction: column; gap: var(--space-16); }
.si-banner__title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 56px;
  line-height: 1.35;
  color: var(--c-accent-blue);
}
.si-banner__desc {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 1.6;
  color: #131936;
}

.si-obanner {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
}
.si-obanner::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 697px;
  max-width: 50%;
  background: url("../pageimg/youseikouza_on-line/images/banner-stripes-online.webp") left center / cover no-repeat;
  z-index: 0;
}
.si-obanner__photo {
  position: absolute;
  right: 0; top: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.si-obanner__card {
  position: relative;
  z-index: 2;
  margin-left: 28px;
  width: 609px;
  max-width: calc(100% - 56px);
  box-sizing: border-box;
  background: #ffffff;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  align-items: flex-start;
}
.si-obanner__eyebrow {
  width: 100%;
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 22px;
  line-height: 1.2;
  color: #131936;
  border-top: 1px solid #131936;
  border-bottom: 1px solid #131936;
  padding: var(--space-24) 0 27px;
}
.si-obanner__title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 56px;
  line-height: 1.35;
  color: var(--c-accent-blue);
}
.si-obanner__desc {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 1.6;
  color: #131936;
}
.si-obanner__desc--regular { font-weight: var(--fw-regular, 400); }

.si-related--recap .si-info-card--counsel {
  width: auto;
  margin: 0;
  padding-block: var(--space-24);
}

@media (max-width: 767px) {

  .course-list { padding: var(--section-y-sp) 0; gap: var(--space-24); }
  .course-list__heading { font-size: 24px; }
  .si-banner { flex-direction: column; min-height: 0; align-items: stretch; }
  .si-banner::before { width: 100%; max-width: none; height: 100%; z-index: 0; }
  .si-banner__photo { position: static; width: 100%; max-width: none; height: 240px; order: 2; }
  .si-banner__card { width: auto; max-width: none; margin: 24px 12px; padding: 32px 12px; order: 1; }
  .si-banner__title { font-size: 26px; line-height: 1.4; }
  .si-banner__desc { font-size: 16px; }
  .si-banner__limited { font-size: 16px; text-align: center; }
  .si-banner__top { flex-direction: row; align-items: center; justify-content: center; gap: var(--space-12); }
  .si-banner__badge { width: 168px; height: auto; }
  .si-obanner { flex-direction: column; min-height: 0; align-items: stretch; }
  .si-obanner::before { width: 100%; max-width: none; height: 100%; }
  .si-obanner__photo { position: static; width: 100%; height: 220px; order: 2; }
  .si-obanner__card { width: auto; max-width: none; margin: 24px 12px; padding: 32px 12px; order: 1; }
  .si-obanner__eyebrow { font-size: 18px; }
  .si-obanner__title { font-size: 26px; line-height: 1.4; }
  .si-obanner__desc { font-size: 16px; }
}

