/* Campus 1.0.3: compact hero badge, clearer school logo and full-width noticeboard. */
body.pc-campus .hero-copy { min-width: 0; }
body.pc-campus .hero h1 {
  font-size: clamp(2rem, 4.1vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -.045em;
  max-width: none;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
body.pc-campus .hero h1 .pc-hero-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}
/* Compact paragraphs span the full content width. */
body.pc-campus .pc-bulletin-section {
  background: #f8f9f4;
  border-bottom: 1px solid var(--line);
  padding-block: 24px;
}
body.pc-campus .pc-bulletin-layout { display: block; }
body.pc-campus .pc-noticeboard { min-width: 0; }
body.pc-campus .pc-noticeboard-head { margin-bottom: 10px; }
body.pc-campus .pc-noticeboard-head h2 {
  font-size: 24px;
  line-height: 1.25;
}
body.pc-campus .pc-notice-grid { display: block; }
body.pc-campus .pc-notice-card {
  min-width: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #394f44;
  overflow-wrap: anywhere;
}
body.pc-campus .pc-notice-card + .pc-notice-card {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
body.pc-campus .pc-notice-card h3 {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: normal;
  font-weight: 700;
}
body.pc-campus .pc-notice-card time {
  display: inline;
  font-size: 14px;
  color: #52645b;
  margin-right: .3em;
}
body.pc-campus .pc-notice-card p { display: inline; color: inherit; }
body.pc-campus .pc-notice-more {
  display: inline;
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.pc-campus .pc-notice-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
body.pc-campus .pc-notice-more svg { width: 16px; height: 16px; }
body.pc-campus .pc-hero-partner {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 190px;
  max-width: 44%;
  background: #fff;
  box-shadow: 0 3px 14px #193b3226;
}
body.pc-campus .pc-hero-partner .pc-partner-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
body.pc-campus .site-header .brand { gap: 14px; }
body.pc-campus .site-header .brand img {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  object-fit: contain;
}
@media (max-width: 1100px) {
  body.pc-campus .site-header .brand img { width: 68px; height: 68px; flex-basis: 68px; }
}
@media (max-width: 820px) {
  body.pc-campus .pc-hero-partner { width: 156px; top: 18px; right: 18px; }
}
@media (max-width: 560px) {
  body.pc-campus .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  body.pc-campus .pc-bulletin-section { padding-block: 20px; }
  body.pc-campus .pc-hero-partner { width: 134px; top: 14px; right: 14px; }
  body.pc-campus .site-header .brand { gap: 10px; }
  body.pc-campus .site-header .brand img { width: 58px; height: 58px; flex-basis: 58px; }
}
@media (max-width: 360px) {
  body.pc-campus .site-header .brand { gap: 7px; }
  body.pc-campus .site-header .brand img { width: 50px; height: 50px; flex-basis: 50px; }
  body.pc-campus .site-header .brand small { max-width: 110px; }
  body.pc-campus .site-header .header-inner { gap: 6px; }
}
