/* ===== PC layout force fix ===== */
@media screen and (min-width: 901px) {
  .school_events_page .pagebody_inner {
    width: min(1560px, calc(100% - 56px)) !important;
    max-width: none !important;
  }

  .school_events_page .school_events_layout {
    display: grid !important;
    grid-template-columns: 170px minmax(0, 1fr) !important;
    gap: 30px !important;
    align-items: start !important;
  }

  .school_events_page #beta,
  .school_events_page #ganma,
  .school_events_page #beta .side_menu,
  .school_events_page #ganma .inner01,
  .school_events_page .school_events_contents {
    max-width: none !important;
    min-width: 0 !important;
  }

  .school_events_page #beta,
  .school_events_page #ganma {
    float: none !important;
  }

  .school_events_page #beta {
    width: 170px !important;
  }

  .school_events_page #ganma {
    width: auto !important;
  }

  .school_events_page #ganma .inner01 {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .school_events_page .school_events_hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    padding: 58px 52px !important;
  }

  .school_events_page .school_events_hero__body {
    max-width: 920px !important;
  }

  .school_events_page .hero_title {
    font-size: clamp(3.8rem, 4.6vw, 6rem) !important;
  }

  .school_events_page .hero_lead {
    font-size: 1.7rem !important;
  }

  .school_events_page .school_events_hero__visual {
    width: 100% !important;
    max-width: 980px !important;
    min-height: 560px !important;
    margin: 0 auto !important;
    padding: 0 8px 8px !important;
  }

  .school_events_page .hero_visual_main {
    width: min(100%, 760px) !important;
    height: 540px !important;
  }

  .school_events_page .hero_visual_sub {
    width: 240px !important;
    height: 180px !important;
  }
}

@media screen and (min-width: 1200px) {
  .school_events_page .event_report_card {
    grid-template-columns: minmax(420px, 560px) minmax(0, 1fr) !important;
  }

  .school_events_page .event_report_card--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px) !important;
  }
}

/* ===== end force fix ===== */


.school_events_page {
  background:
    radial-gradient(circle at top right, rgba(252, 240, 0, 0.14), transparent 20%),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 28%, #fffdf5 100%);
}

.school_events_page .pagebody_inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 88px;
}

.school_events_layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.school_events_contents,
.school_events_page #ganma,
.school_events_page #ganma .inner01.school_events_contents {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.school_events_page #beta {
  width: auto;
  max-width: 220px;
}

.school_events_page #ganma {
  width: auto;
}

.school_events_page .side_menu {
  position: sticky;
  top: 20px;
}

.school_events_hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  padding: 52px 46px;
  margin-bottom: 36px;
  border-radius: 36px;
  background: linear-gradient(135deg, #1b48a3 0%, #2f70dc 52%, #7fc8ff 100%);
  box-shadow: 0 24px 55px rgba(27, 72, 163, 0.22);
}

.school_events_hero::before,
.school_events_hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.school_events_hero::before {
  width: 260px;
  height: 260px;
  right: -60px;
  top: -80px;
  background: rgba(255, 255, 255, 0.12);
}

.school_events_hero::after {
  width: 180px;
  height: 180px;
  left: -40px;
  bottom: -40px;
  background: rgba(252, 240, 0, 0.22);
}

.school_events_hero__body,
.school_events_hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.school_events_hero__body {
  max-width: 760px;
}

.hero_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero_subcopy {
  margin: 0 0 12px;
  color: #fcf000;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.5;
}

.hero_title {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(3.2rem, 4.4vw, 5.6rem);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.hero_lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.65rem;
  line-height: 2;
}

.hero_lead strong {
  color: #fff;
}

.hero_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero_btn:hover {
  transform: translateY(-2px);
}

.hero_btn--primary {
  background: #fcf000;
  color: #17336f;
  box-shadow: 0 10px 22px rgba(252, 240, 0, 0.26);
}

.hero_btn--primary:hover {
  color: #17336f;
  background: #fff36a;
}

.hero_btn--line {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero_btn--line:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.school_events_hero__visual {
  min-height: 520px;
  padding: 8px 24px 12px;
}

.hero_visual_main,
.hero_visual_sub,
.event_report_card__image,
.image_fallback_frame {
  overflow: hidden;
  background: #fff;
}

.hero_visual_main,
.hero_visual_sub {
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(16, 33, 79, 0.2);
}

.hero_visual_main img,
.hero_visual_sub img,
.event_report_card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero_visual_main {
  position: relative;
  width: min(100%, 780px);
  height: 500px;
  margin: 0 auto;
  transform: rotate(-2deg);
}

.hero_visual_sub {
  position: absolute;
  width: 230px;
  height: 172px;
}

.hero_visual_sub--top {
  top: 0;
  left: max(12px, 4%);
  transform: rotate(-9deg);
}

.hero_visual_sub--bottom {
  right: max(18px, 4%);
  bottom: 6px;
  transform: rotate(7deg);
}

.hero_visual_ball {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero_visual_ball--yellow {
  width: 108px;
  height: 108px;
  left: 110px;
  bottom: 72px;
  background: rgba(252, 240, 0, 0.64);
}

.hero_visual_ball--blue {
  width: 66px;
  height: 66px;
  right: -8px;
  top: 124px;
  background: rgba(255, 255, 255, 0.45);
}

.image_fallback_frame {
  position: relative;
}

.image_fallback_frame.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,247,252,0.98)),
    repeating-linear-gradient(
      45deg,
      rgba(27,72,163,0.04),
      rgba(27,72,163,0.04) 12px,
      rgba(255,255,255,0.7) 12px,
      rgba(255,255,255,0.7) 24px
    );
}

.image_fallback_frame.is-placeholder::before {
  content: attr(data-label);
  display: block;
  color: #1b48a3;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image_fallback_frame.is-placeholder::after {
  content: attr(data-subtitle);
  position: absolute;
  left: 50%;
  top: calc(50% + 18px);
  transform: translateX(-50%);
  color: #617089;
  font-size: 1.3rem;
  font-weight: 700;
  white-space: nowrap;
}

.school_events_about,
.school_events_archive,
.school_events_pickup,
.school_events_report,
.school_events_cta {
  margin-bottom: 34px;
}

.section_heading {
  margin-bottom: 22px;
}

.section_heading__en {
  margin: 0 0 8px;
  color: #1b48a3;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section_heading__ja {
  margin: 0;
  color: #1f2d4d;
  font-size: clamp(2.6rem, 3vw, 3.6rem);
  line-height: 1.45;
  font-weight: 900;
}

.about_panel,
.archive_intro,
.pickup_banner,
.school_events_cta__inner {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(19, 51, 111, 0.09);
}

.about_panel {
  padding: 34px;
}

.about_panel__lead p {
  margin: 0 0 16px;
  color: #333;
  font-size: 1.65rem;
  line-height: 2;
}

.about_panel__lead p:last-child {
  margin-bottom: 0;
}

.about_panel__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.appeal_card {
  padding: 26px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7fbff 0%, #fffef8 100%);
  border: 1px solid #e2eefb;
}

.appeal_card__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 10px 24px rgba(27, 72, 163, 0.09);
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.appeal_card__title {
  margin: 0 0 10px;
  color: #1b48a3;
  font-size: 2rem;
  font-weight: 700;
}

.appeal_card__text,
.archive_intro p,
.pickup_banner__text p,
.school_events_cta__text {
  margin: 0;
  color: #333;
  font-size: 1.55rem;
  line-height: 1.95;
}

.archive_intro {
  padding: 28px 30px;
  margin-bottom: 22px;
}

.archive_grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.archive_card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  padding: 22px 18px;
  border-radius: 24px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #dfebf9;
  box-shadow: 0 12px 26px rgba(27, 72, 163, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.archive_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(27, 72, 163, 0.12);
  border-color: #bcd7f4;
}

.archive_card__month {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #1b48a3;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
}

.archive_card__title {
  color: #1f2d4d;
  font-size: 1.75rem;
  line-height: 1.6;
  font-weight: 700;
}

.archive_card__place {
  margin-top: auto;
  color: #5b6475;
  font-size: 1.3rem;
  line-height: 1.6;
}

.pickup_banner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 30px;
  padding: 38px;
  background: linear-gradient(135deg, #fff 0%, #f7fbff 60%, #fffef1 100%);
}

.pickup_banner__label,
.school_events_cta__sub {
  display: inline-block;
  margin: 0 0 10px;
  color: #1b48a3;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pickup_banner__text h3,
.school_events_cta__title {
  margin: 0 0 16px;
  color: #1f2d4d;
  font-size: clamp(2.5rem, 3.2vw, 3.8rem);
  line-height: 1.5;
  font-weight: 900;
}

.pickup_banner__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: center;
}

.pickup_stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px;
  padding: 20px 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e4eef8;
  text-align: center;
}

.pickup_stat__num {
  color: #1b48a3;
  font-size: clamp(2.7rem, 3vw, 3.8rem);
  line-height: 1.2;
  font-weight: 900;
}

.pickup_stat__label {
  margin-top: 10px;
  color: #495161;
  font-size: 1.3rem;
  line-height: 1.7;
  font-weight: 700;
}

.event_report_list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.event_report_card {
  display: grid;
  grid-template-columns: minmax(380px, 500px) minmax(0, 1fr);
  gap: 34px;
  padding: 34px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(19, 51, 111, 0.09);
}

.event_report_card--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 500px);
}

.event_report_card--reverse .event_report_card__image {
  order: 2;
}

.event_report_card--reverse .event_report_card__content {
  order: 1;
}

.event_report_card__image {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
}

.event_report_card__month {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(27, 72, 163, 0.92);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.event_report_card__eyebrow {
  margin: 0 0 8px;
  color: #1b48a3;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
}

.event_report_card__title {
  margin: 0 0 10px;
  color: #1f2d4d;
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  line-height: 1.5;
  font-weight: 900;
}

.event_report_card__catch {
  margin: 0 0 18px;
  color: #ff7c00;
  font-size: 1.75rem;
  line-height: 1.8;
  font-weight: 700;
}

.event_report_card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.event_report_card__meta li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fbff;
}

.event_report_card__meta strong {
  color: #1b48a3;
  font-size: 1.3rem;
  line-height: 1.6;
}

.event_report_card__meta span {
  color: #333;
  font-size: 1.45rem;
  line-height: 1.8;
}

.event_report_card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.event_report_card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1b48a3;
  font-size: 1.25rem;
  font-weight: 700;
}

.event_report_card__text,
.event_report_card__note {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.95;
}

.event_report_card__text {
  color: #333;
}

.event_report_card__note {
  margin-top: 10px;
  color: #697284;
}

.school_events_cta__inner {
  padding: 42px 34px;
  text-align: center;
  background: linear-gradient(135deg, #17336f 0%, #1b48a3 50%, #2f70dc 100%);
}

.school_events_cta__sub,
.school_events_cta__title,
.school_events_cta__text {
  color: #fff;
}

.school_events_cta__sub {
  opacity: 0.78;
}

.school_events_cta__text {
  max-width: 760px;
  margin: 0 auto;
}

.school_events_cta__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

@media screen and (min-width: 1500px) {
  .school_events_hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
    gap: 42px;
    padding: 58px 52px;
  }

  .school_events_hero__body {
    max-width: none;
  }

  .school_events_hero__visual {
    min-height: 560px;
    padding: 0;
  }

  .hero_visual_main {
    width: min(100%, 620px);
    height: 560px;
    margin-left: auto;
  }

  .hero_title {
    font-size: clamp(4rem, 4.6vw, 6rem);
  }
}

@media screen and (max-width: 1360px) {
  .school_events_page .pagebody_inner {
    width: min(100%, calc(100% - 32px));
  }

  .school_events_layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 28px;
  }

  .archive_grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .event_report_card,
  .event_report_card--reverse {
    grid-template-columns: 1fr;
  }

  .event_report_card--reverse .event_report_card__image,
  .event_report_card--reverse .event_report_card__content {
    order: initial;
  }
}

@media screen and (max-width: 1180px) {
  .school_events_layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .school_events_page #beta {
    max-width: none;
  }

  .school_events_page .side_menu {
    position: static;
  }

  .school_events_hero {
    padding: 42px 32px;
  }

  .school_events_hero__body {
    max-width: none;
  }

  .school_events_hero__visual {
    min-height: auto;
    padding: 6px 10px 12px;
  }

  .hero_visual_main {
    width: min(100%, 720px);
    height: 440px;
    margin: 0 auto;
    transform: rotate(-1deg);
  }

  .hero_visual_sub--top {
    left: 14px;
  }

  .archive_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about_panel__points,
  .pickup_banner__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pickup_banner {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 900px) {
  .about_panel,
  .archive_intro,
  .pickup_banner,
  .event_report_card,
  .school_events_cta__inner {
    padding: 24px;
  }

  .archive_grid,
  .about_panel__points,
  .pickup_banner__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event_report_card__meta {
    grid-template-columns: 1fr;
  }

  .hero_visual_main {
    height: 380px;
  }
}

@media screen and (max-width: 767px) {
  .school_events_page .pagebody_inner {
    width: min(100%, calc(100% - 24px));
    padding-bottom: 56px;
  }

  .school_events_hero {
    padding: 30px 20px;
    border-radius: 28px;
  }

  .hero_subcopy {
    font-size: 1.8rem;
  }

  .hero_title {
    font-size: 3rem;
    line-height: 1.45;
  }

  .hero_lead,
  .about_panel__lead p,
  .appeal_card__text,
  .archive_intro p,
  .pickup_banner__text p,
  .event_report_card__text,
  .event_report_card__note,
  .school_events_cta__text {
    font-size: 1.45rem;
    line-height: 1.9;
  }

  .hero_buttons,
  .school_events_cta__buttons {
    flex-direction: column;
  }

  .hero_btn {
    width: 100%;
  }

  .school_events_hero__visual {
    padding-top: 28px;
  }

  .hero_visual_main {
    width: 100%;
    height: 320px;
    transform: rotate(0deg);
  }

  .hero_visual_sub {
    width: 132px;
    height: 108px;
  }

  .hero_visual_sub--top {
    top: -4px;
    left: -2px;
  }

  .hero_visual_sub--bottom {
    right: -2px;
    bottom: -10px;
  }

  .hero_visual_ball--yellow {
    width: 62px;
    height: 62px;
    left: 80px;
    bottom: 18px;
  }

  .hero_visual_ball--blue {
    width: 42px;
    height: 42px;
    top: 62px;
  }

  .section_heading__ja,
  .pickup_banner__text h3,
  .school_events_cta__title,
  .event_report_card__title {
    font-size: 2.3rem;
    line-height: 1.55;
  }

  .archive_grid,
  .about_panel__points,
  .pickup_banner__stats {
    grid-template-columns: 1fr;
  }

  .archive_card {
    min-height: auto;
  }

  .pickup_stat {
    min-height: 120px;
  }

  .event_report_card__image {
    min-height: 240px;
  }

  .event_report_card__catch {
    font-size: 1.6rem;
  }
}
