/* 支給PSD: KV-PC 1440×840 / KV-SP 780×1688（表示基準390px）。
   固定の文字・写真・装飾は透過パーツ。年・日程はHTMLで更新する。 */
/* The head script enables this before the first paint; no-JS visitors stay visible. */
.is_heroPending [data-hero] :is(
  .oc_heroShape, .oc_heroBrand, .oc_heroTitle, .oc_heroYear,
  .oc_heroLead, .oc_heroSchedule, .oc_heroPhoto
) {
  opacity: 0;
}
.oc_hero {
  --hero-sans: "Avenir", "Avenir Next", "Montserrat", Arial, sans-serif;
  --hero-purple: #73639d;
  position: relative;
  max-width: 1920px;
  margin-inline: auto;
  isolation: isolate;
  overflow: hidden;
  container-type: inline-size;
  background: #fff;
  color: var(--hero-purple);
}

.oc_heroContent {
  position: relative;
  z-index: 2;
  width: 54%;
  min-height: 58.333333cqi;
  padding: 5.486111cqi 0 4.166667cqi 6.875cqi;
}
.oc_heroBrand { width: 29.861111cqi; }
.oc_heroHeading { margin-top: 2.777778cqi; }
.oc_heroTitle { width: 56.180556cqi; margin-left: .069444cqi; }
.oc_heroBrand img,
.oc_heroTitle img,
.oc_heroLead img { width: 100%; height: auto; }
.oc_heroYear {
  display: block;
  width: fit-content;
  margin-top: .625cqi;
  font: 400 6.388889cqi / 1 var(--hero-sans);
  letter-spacing: .15em;
  background: #c9a1c8 url("../img/hero-year-texture-pc.webp?v=49cc22b5") center / 100% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.oc_heroYear[hidden] { display: none; }
.oc_heroLead { width: 37.638889cqi; margin-top: 3.194444cqi; }
.oc_heroSchedule { margin-top: 2.916667cqi; font-family: var(--hero-sans); }
.oc_heroSchedule::before {
  display: block;
  width: 8.333333cqi;
  height: 1px;
  margin-bottom: 1.805556cqi;
  background: #d7c6e6;
  content: "";
}
/* 年をまたいでも一つのリストで揃え、写真の左側に収める。 */
.oc_heroDates { --hero-date-gap: 4.5cqi; }
.oc_heroDateYear {
  font-size: 2.222222cqi;
  font-weight: 400;
  letter-spacing: .21em;
  line-height: 1.4;
}
.oc_heroDateList {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--hero-date-gap);
  row-gap: .35cqi;
  margin-top: .486111cqi;
  overflow: hidden;
}
.oc_heroDate {
  position: relative;
  font-size: 4.166667cqi;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}
.oc_heroDate.is_next { font-size: 5.416667cqi; }
.oc_heroDate + .oc_heroDate::before {
  position: absolute;
  top: 50%;
  left: calc(var(--hero-date-gap) / -2);
  transform: translate(-50%, -50%);
  width: .902778cqi;
  height: .902778cqi;
  border-radius: 50%;
  background: #d6c4e5;
  content: "";
}
.oc_heroEmpty {
  max-width: 30em;
  font-family: var(--oc-serif);
  font-size: clamp(14px, 1.4cqi, 20px);
  line-height: 1.8;
}

/* PSDの装飾レイヤーを個別に配置。下の紫は元データと同じ乗算。 */
.oc_heroShape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: center / 100% 100% no-repeat;
}
.oc_heroShape--top {
  top: 0;
  right: 0;
  width: 24.513889%;
  aspect-ratio: 353 / 641;
  background-image: url("../img/hero-shape-top-pc.webp?v=b23ad684");
}
.oc_heroShape--left {
  bottom: 0;
  left: 0;
  width: 39.791667%;
  aspect-ratio: 573 / 311;
  background-image: url("../img/hero-shape-left-pc.webp?v=201a2815");
}
.oc_heroShape--bottom {
  right: 0;
  bottom: 0;
  width: 89.652778%;
  aspect-ratio: 1291 / 418;
  background-image: url("../img/hero-shape-bottom-pc.webp?v=000ba459");
  mix-blend-mode: multiply;
}

/* 切り抜きはPSDの透過マスク。外枠を読み込み時に一度だけフェードイン。 */
.oc_heroPhotos {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 44.652778%;
  aspect-ratio: 643 / 696;
}
.oc_heroPhoto { position: absolute; overflow: hidden; }
.oc_heroPhoto picture,
.oc_heroPhoto img { display: block; width: 100%; height: 100%; }
.oc_heroPhoto img { object-fit: contain; aspect-ratio: auto; }
.oc_heroPhoto--portrait { left: 8.242613%; top: 20.833333%; width: 53.810264%; height: 44.540230%; }
.oc_heroPhoto--campus { left: 58.320373%; top: 0; width: 41.679627%; height: 59.626437%; }
.oc_heroPhoto--talk { left: 0; top: 61.206897%; width: 56.298600%; height: 38.793103%; }
.oc_heroPhoto--friends { left: 53.499222%; top: 56.034483%; width: 46.500778%; height: 42.385057%; }
@media (max-width: 767px) {
  .oc_hero { padding-bottom: 5.384615cqi; }
  .oc_heroContent { width: 100%; min-height: 0; padding: 9.358974cqi 6.153846cqi 0; }
  .oc_heroBrand { width: 55.256410cqi; }
  .oc_heroHeading { margin-top: 6.153846cqi; }
  .oc_heroTitle { width: 71.282051cqi; margin-left: .128205cqi; }
  .oc_heroYear {
    margin-top: 2.820513cqi;
    font-size: 11.794872cqi;
    background-image: url("../img/hero-year-texture-sp.webp?v=15e7eed4");
  }
  .oc_heroLead { width: 81.025641cqi; margin: 5.256410cqi 0 0 .769231cqi; }
  .oc_heroSchedule { margin-top: 7.692308cqi; }
  .oc_heroSchedule::before { width: 22.564103cqi; margin-bottom: 2.692308cqi; }
  .oc_heroDates { --hero-date-gap: 6.923077cqi; max-width: 66.666667cqi; }
  .oc_heroDateYear { font-size: 3.333333cqi; }
  .oc_heroDateList { margin-top: .769231cqi; row-gap: 1cqi; }
  .oc_heroDate { font-size: 6.153846cqi; }
  .oc_heroDate.is_next { font-size: 7.948718cqi; }
  .oc_heroDate + .oc_heroDate::before { width: 1.282051cqi; height: 1.282051cqi; }
  .oc_heroEmpty { font-size: 14px; padding-bottom: 8cqi; }
  .oc_heroShape--top { width: 25.128205%; aspect-ratio: 196 / 697; background-image: url("../img/hero-shape-top-sp.webp?v=808cc9a1"); }
  .oc_heroShape--left { width: 54.102564%; aspect-ratio: 422 / 719; background-image: url("../img/hero-shape-left-sp.webp?v=e735dd70"); }
  .oc_heroShape--bottom { width: 71.538462%; aspect-ratio: 558 / 286; background-image: url("../img/hero-shape-bottom-sp.webp?v=d5801b1f"); }
  .oc_heroPhotos { position: relative; width: 100%; margin-top: -6.974359cqi; aspect-ratio: 780 / 910; }
  .oc_heroPhoto--portrait { left: 0; top: 13.516484%; width: 59.358974%; height: 47.582418%; }
  .oc_heroPhoto--campus { left: 54.743590%; top: 0; width: 45.256410%; height: 55.384615%; }
  .oc_heroPhoto--talk { left: 0; top: 57.032967%; width: 52.307692%; height: 42.967033%; }
  .oc_heroPhoto--friends { left: 49.358974%; top: 51.868132%; width: 50.641026%; height: 42.527473%; }
}

@media (forced-colors: active) {
  .oc_heroYear { background: none; color: CanvasText; }
}
