/* SOL 2026 — 白・黄色・茶色を基本に、配布チラシのクラス色を使用 */
:root {
  --ink: #493a2e;
  --muted: #73675b;
  --paper: #fffdf7;
  --yellow: #ffe46b;
  --line: #e3ded3;
  --math: #157785;
  --math-light: #e1f5f5;
  --physics: #77509a;
  --physics-light: #f1e8f8;
  --chemistry: #9a4a18;
  --chemistry-light: #fff0df;
  --biology: #47742c;
  --biology-light: #edf5df
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-underline-offset: 4px
}

img {
  max-width: 100%;
  display: block
}

figure,p,h1,h2,h3,ul,dl,dd {
  margin: 0
}

button,a,summary {
  -webkit-tap-highlight-color: transparent
}

a: focus-visible,summary:focus-visible {
  outline: 3px solid #0e6fb3;
  outline-offset: 5px
}

a {
  touch-action: manipulation
}

.wrap {
  max-width: 1140px;
  padding: 0 30px;
  margin: 0 auto
}

.section {
  padding-top: 90px;
  padding-bottom: 90px
}

.eyebrow {
  font-family: Arial,sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.3px;
  line-height: 1.4
}

.mobile-only {
  display: none
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0
}

.skip-link {
  position: fixed;
  top: -70px;
  left: 10px;
  z-index: 100;
  padding: 10px 20px;
  background: var(--ink);
  color: white
}

.skip-link:focus {
  top: 8px
}

.site-header {
  height: 90px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,253,247,.97);
  border-bottom: 1px solid var(--line)
}

.header-inner {
  max-width: 1260px;
  height: 100%;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none
}

.brand-mark {
  width: 55px;
  height: 55px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Arial,sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  background: var(--yellow);
  transform: rotate(-8deg)
}

.brand-mark span {
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 4px
}

.brand-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .05em
}

.brand-name>span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .01em
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 700
}

.site-header nav a {
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid transparent
}

.site-header nav a:hover {
  border-bottom-color: var(--ink)
}

.nav-flyer {
  display: flex;
  align-items: center;
  gap: 20px
}

.nav-flyer>span[aria-hidden] {
  font-size: 18px
}

.hero {
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse at 87% 33%,#fff1b3 0,rgba(255,241,179,.5) 26%,transparent 53%),var(--paper)
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 25px;
  align-items: center;
  min-height: 646px;
  padding-top: 48px;
  padding-bottom: 55px
}

.hero-copy {
  position: relative;
  z-index: 2
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 1.8px
}

.hero .eyebrow span {
  background: var(--yellow);
  padding: 5px 9px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 1px
}

.hero-intro {
  font-size: 14px;
  margin-top: 22px;
  font-weight: 600;
  letter-spacing: .03em
}

.hero h1 {
  font-size: clamp(40px,4.5vw,57px);
  line-height: 1.38;
  letter-spacing: -.05em;
  font-weight: 800;
  margin: 12px 0 20px;
  white-space: nowrap
}

.title-highlight {
  position: relative;
  isolation: isolate
}

.title-highlight:after {
  content: "";
  position: absolute;
  left: 0;
  right: -8px;
  bottom: 1px;
  height: 15px;
  background: var(--yellow);
  z-index: -1;
  transform: rotate(-1.5deg)
}

.hero-description {
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: .05em
}

.hero-date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  white-space: nowrap;
  font-family: Arial,sans-serif
}

.date-year {
  font-size: 12px;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
  font-weight: 700
}

.hero-date time {
  font-size: 65px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1
}

.date-dot {
  color: #a57d2d
}

.day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-family: sans-serif
}

.hero-date strong {
  font-size: 21px;
  margin-left: 6px;
  letter-spacing: .2px
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px
}

.hero-tags span {
  padding: 3px 11px;
  border: 1px solid #c9c1ab;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #fffdf7
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 27px
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  transition: background .18s,transform .18s
}

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

.button.primary {
  background: var(--ink);
  color: white
}

.button.primary:hover {
  background: #67503c
}

.button.secondary {
  background: transparent
}

.button.secondary:hover {
  background: var(--yellow)
}

.button span[aria-hidden] {
  font-size: 18px
}

.button small {
  font-size: 11px;
  font-weight: 500
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px
}

.text-link span {
  margin-left: 12px
}

.text-link:hover {
  color: #94661f
}

.hero-visual {
  position: relative;
  height: 515px;
  margin-left: 0
}

.photo-note {
  position: absolute;
  background: #fff;
  padding: 9px 9px 6px;
  box-shadow: 0 7px 20px #4a382a15;
  border: 1px solid #e9e3d5;
  width: 220px
}

.photo-note img {
  width: 100%;
  height: 153px;
  object-fit: cover
}

.photo-note figcaption {
  font-size: 10px;
  font-weight: 700;
  padding: 7px 0 2px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap
}

.photo-note figcaption span {
  font-size: 9px;
  padding: 0 5px;
  border-radius: 2px;
  line-height: 1.7
}

.note-math {
  left: 9px;
  top: 35px;
  transform: rotate(-7deg);
  z-index: 3
}

.note-math figcaption span {
  background: var(--math-light);
  color: var(--math)
}

.note-physics {
  right: -5px;
  top: 87px;
  transform: rotate(7deg);
  width: 190px;
  z-index: 2
}

.note-physics img {
  height: 190px;
  object-position: center 35%
}

.note-physics figcaption span {
  background: var(--physics-light);
  color: var(--physics)
}

.note-biology {
  left: -5px;
  top: 265px;
  transform: rotate(4deg);
  z-index: 4;
  width: 220px
}

.note-biology figcaption span {
  background: var(--biology-light);
  color: var(--biology)
}

.note-chemistry {
  right: -5px;
  top: 325px;
  transform: rotate(-6deg);
  z-index: 5;
  width: 200px
}

.note-chemistry img {
  height: 145px
}

.note-chemistry figcaption span {
  background: var(--chemistry-light);
  color: var(--chemistry)
}

.science-note {
  position: absolute;
  right: 11px;
  top: 2px;
  z-index: 6;
  transform: rotate(8deg);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .1em
}

.orbit {
  position: absolute;
  width: 420px;
  height: 260px;
  border: 1px solid #d4b858;
  border-radius: 50%;
  transform: rotate(-43deg);
  left: 20px;
  top: 130px
}

.orbit-two {
  transform: rotate(38deg);
  width: 410px;
  height: 270px;
  top: 140px
}

.orbit-one:before,.orbit-two:after {
  content: "";
  width: 13px;
  height: 13px;
  background: #edbd48;
  border: 4px solid var(--paper);
  border-radius: 50%;
  position: absolute;
  left: 20px;
  top: 41px
}

.orbit-two:after {
  left: auto;
  right: 14px;
  top: 175px;
  background: #65af9e
}

.arrival-strip {
  background: #f7f0dd;
  border-top: 1px solid #e9dfc4;
  border-bottom: 1px solid #e9dfc4;
  font-size: 12px
}

.arrival-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px
}

.small-label {
  font-size: 10px;
  border: 1px solid #b8aa8c;
  padding: 2px 8px;
  margin-right: 12px
}

.divider {
  margin: 0 12px;
  color: #baa98c
}

.arrival-strip a {
  font-size: 11px;
  text-decoration: none;
  font-weight: 700
}

.arrival-strip a>span {
  margin-left: 12px
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px
}

.section-heading h2,.resource-copy h2,.about-inner h2 {
  font-size: 32px;
  line-height: 1.6;
  font-weight: 750;
  letter-spacing: .025em;
  margin-top: 12px
}

.section-heading>p {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 4px
}

.class-nav {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  margin-bottom: 20px;
  overflow: hidden
}

.math {
  --class: var(--math);
  --tint: var(--math-light)
}

.physics {
  --class: var(--physics);
  --tint: var(--physics-light)
}

.chemistry {
  --class: var(--chemistry);
  --tint: var(--chemistry-light)
}

.biology {
  --class: var(--biology);
  --tint: var(--biology-light)
}

.class-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-right: 1px solid var(--line);
  transition: background .15s
}

.class-nav a:last-child {
  border-right: 0
}

/* 背景色はマウスが乗っている間、またはキーボード操作で選択した間だけ変更。 */
.class-nav a:hover,
.class-nav a:focus-visible {
  background: var(--tint)
}

.class-nav a>span:last-child {
  margin-left: auto
}

.color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--class);
  flex-shrink: 0
}

.ticket-guide {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 27px
}

.ticket-guide .first {
  margin-left: 15px
}

.ticket-guide small {
  margin-left: auto;
  font-size: 10px
}

.ticket,.first {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  padding: 2px 6px;
  align-self: start
}

.ticket {
  color: #5a6b1f;
  background: #f0f3d9;
  border: 1px solid #d4dda3
}

.first {
  color: #4a5a94;
  background: #edf0fb;
  border: 1px solid #cbd4ee
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 30px
}

.program-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 112px
}

.program-photo {
  position: relative;
  background: var(--tint);
  height: 246px;
  overflow: hidden;
  border-bottom: 1px solid var(--line)
}

.program-photo>img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.math-photo>img {
  object-position: center 50%
}

.class-label {
  position: absolute;
  top: 18px;
  left: 19px;
  color: var(--class);
  background: white;
  box-shadow: 0 3px 12px #00000008;
  padding: 9px 15px;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.4;
  border-radius: 4px;
  min-width: 93px
}

.class-label span {
  display: block;
  font-family: Arial,sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.1px;
  margin-top: 3px
}

.program-photo.paired {
  display: flex;
  gap: 6px;
  background: var(--tint)
}

.program-photo.paired img {
  width: 50%;
  height: 100%;
  object-fit: cover
}

.physics .program-photo img:first-child {
  object-position: center 38%
}

.physics .program-photo img:nth-child(2) {
  object-position: center 32%
}

.program-photo.biology-photo {
  gap: 0;
  background: white
}

.program-photo.biology-photo img:first-child {
  object-fit: contain;
  padding: 14px 12px 0
}

.program-photo.biology-photo img:nth-child(2) {
  object-position: center
}

.chemistry-photo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 25px 28px;
  background: var(--chemistry-light)
}

.photo-inset {
  transform: rotate(3deg);
  border: 8px solid white;
  box-shadow: 0 5px 15px #4a382a12;
  position: relative;
  z-index: 1
}

.photo-inset img {
  width: 245px;
  height: 183px;
  object-fit: cover
}

.photo-caption {
  position: absolute;
  left: 30px;
  bottom: 27px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--class);
  transform: rotate(-7deg)
}

.chemistry-photo .class-label {
  z-index: 2
}

.program-body {
  padding: 27px 28px 22px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.room {
  font-size: 11px;
  color: var(--class);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 5px
}

.room:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--class);
  border-radius: 50%;
  margin-right: 6px
}

.program-body h3 {
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: .015em
}

.program-body h3 sup {
  font-size: 13px
}

.program-lead {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.9
}

.program-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 24px;
  font-size: 12px;
  line-height: 1.8;
  flex: 1
}

.program-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #e6e1d7
}

.program-list li:first-child {
  border-top: 1px dashed #e6e1d7
}

.program-list li>span:first-child {
  position: relative;
  padding-left: 13px
}

.program-list li>span:first-child:before {
  content: "";
  width: 4px;
  height: 4px;
  position: absolute;
  left: 0;
  top: 9px;
  background: var(--class);
  border-radius: 50%
}

.program-list small {
  display: block;
  font-size: 11px
}

.program-list .ticket,.program-list .first {
  margin-top: 2px
}

.class-link {
  font-size: 12px;
  color: var(--class);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 5px 0
}

.class-link>span[aria-hidden] {
  margin-left: auto;
  font-size: 20px
}

.class-link>small {
  font-size: 10px;
  font-weight: 500;
  padding: 1px 7px;
  background: var(--tint);
  border-radius: 3px
}

.class-link:hover {
  text-decoration: underline
}

.program-footnote {
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px
}

.visit-section {
  background: #f4f1e8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: start
}

.event-facts>div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  padding: 19px 0;
  border-bottom: 1px solid #dcd6c9
}

.event-facts>div:first-child {
  padding-top: 0
}

.event-facts dt {
  font-size: 12px;
  font-weight: 700;
  padding-top: 4px
}

.event-facts dd {
  font-size: 14px
}

.event-facts dd strong {
  font-size: 15px;
  font-weight: 700
}

.event-facts small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px
}

.entry-note {
  display: flex;
  gap: 14px;
  margin: 24px 0;
  font-size: 12px;
  line-height: 1.9
}

.note-number {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  background: var(--yellow);
  border: 1px solid #c8b052;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700
}

.entry-note strong {
  font-size: 13px
}

.entry-note p {
  margin-top: 5px
}

.campus-map {
  background: white;
  padding: 15px 15px 10px;
  border: 1px solid #e0dacc;
  border-radius: 6px
}

.campus-map img {
  width: 100%;
  height: auto
}

.campus-map figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 10px 3px 0;
  color: var(--muted)
}

.campus-map figcaption a {
  font-weight: 700
}

.visitor-notes {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 38px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid #d8d2c4
}

.visitor-notes>h3 {
  font-size: 20px
}

.faq details {
  border-bottom: 1px solid #d8d2c4;
  padding: 0 0 18px;
  margin-bottom: 18px
}

.faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary>span {
  font-size: 20px;
  font-weight: 400;
  transition: transform .2s
}

.faq details[open] summary>span {
  transform: rotate(45deg)
}

.faq p {
  font-size: 12px;
  margin-top: 12px;
  line-height: 1.9;
  color: var(--muted)
}

.faq p strong {
  color: var(--ink)
}

.resources-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px
}

.flyer-preview {
  width: 195px;
  flex: 0 0 195px;
  transform: rotate(-5deg);
  box-shadow: 5px 10px 25px #493a2e15;
  border: 5px solid white;
  transition: transform .2s
}

.flyer-preview:hover {
  transform: rotate(-2deg)
}

.flyer-preview img {
  width: 100%;
  height: auto
}

.resource-copy h2 {
  font-size: 30px;
  margin: 10px 0 17px
}

.resource-copy>p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted)
}

.resource-copy .button {
  margin-top: 22px
}

.resource-copy .resource-status {
  margin-top: 15px;
  font-size: 11px!important
}

.about-section {
  border-top: 1px solid var(--line);
  padding: 58px 0;
  background: #f8f5ed
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px
}

.about-inner h2 {
  font-size: 26px
}

.about-inner>div:last-child {
  font-size: 13px;
  line-height: 2
}

.about-inner>div:last-child p+p {
  margin-top: 12px;
  color: var(--muted)
}

.about-inner .text-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px
}

.site-footer {
  background: #493a2e;
  color: #f7f1e5;
  padding-top: 43px;
  font-size: 11px;
  line-height: 2
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 35px
}

.footer-brand {
  font-family: Arial,sans-serif;
  font-size: 22px;
  letter-spacing: .5px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4
}

.footer-brand span {
  font-size: 13px;
  color: var(--yellow);
  margin-left: 8px
}

.footer-grid>div>p {
  margin-top: 15px;
  color: #ded4c7
}

.contact h2 {
  font-size: 12px
}

.contact>p {
  margin: 8px 0!important
}

.contact a {
  text-decoration: none
}

.contact a:hover {
  text-decoration: underline
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #716252;
  padding-top: 16px;
  padding-bottom: 18px;
  font-size: 9px;
  color: #d5c8b7
}

.footer-bottom small {
  font-size: 9px
}

.footer-bottom>a {
  color: #f7f1e5;
  text-decoration: none
}

@media(min-width:1400px) {
  .hero-inner {
    min-height: 670px
  }

  .hero h1 {
    font-size: 60px
  }

  .hero-visual {
    margin-left: 5px
  }

}

@media(max-width:1020px) {
  .header-inner {
    padding: 0 28px
  }

  .hero-inner {
    grid-template-columns: 1.05fr .95fr;
    gap: 10px
  }

  .hero h1 {
    font-size: 46px
  }

  .hero-visual {
    transform: scale(.88);
    transform-origin: center center;
    margin-right: -15px;
    margin-left: -15px
  }

  .hero-date time {
    font-size: 59px
  }

  .hero-date strong {
    font-size: 19px
  }

  .hero-actions {
    gap: 17px
  }

  .hero-actions .button {
    font-size: 12px;
    padding: 12px 18px
  }

  .arrival-strip .wrap {
    gap: 10px
  }

  .arrival-strip {
    font-size: 11px
  }

  .section-heading h2 {
    font-size: 29px
  }

  .program-body {
    padding: 25px 22px 20px
  }

  .program-body h3 {
    font-size: 21px
  }

  .program-photo {
    height: 222px
  }

  .chemistry-photo {
    padding: 20px
  }

  .photo-inset img {
    width: 205px;
    height: 164px
  }

  .photo-caption {
    left: 22px;
    font-size: 16px;
    bottom: 20px
  }

  .visit-grid {
    gap: 35px
  }

  .event-facts>div {
    grid-template-columns: 85px 1fr
  }

}

@media(max-width:820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
    padding-bottom: 35px
  }

  .hero-copy {
    max-width: 600px;
    margin: auto;
    width: 100%
  }

  .hero h1 {
    font-size: 56px
  }

  .hero-visual {
    width: 500px;
    max-width: 100%;
    height: 480px;
    margin: 0 auto;
    transform: none
  }

  .note-physics {
    right: 10px
  }

  .note-chemistry {
    right: 10px;
    top: 300px
  }

  .hero-date {
    margin-top: 23px
  }

  .hero-date time {
    font-size: 64px
  }

  .hero-date strong {
    font-size: 23px
  }

  .arrival-strip .wrap {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 5px
  }

  .section {
    padding-top: 65px;
    padding-bottom: 65px
  }

  .section-heading {
    align-items: flex-start
  }

  .section-heading h2 {
    font-size: 27px
  }

  .section-heading>p {
    font-size: 11px
  }

  .program-grid {
    gap: 20px
  }

  .program-body {
    padding: 20px 18px 17px
  }

  .program-body h3 {
    font-size: 19px
  }

  .program-lead {
    font-size: 11px
  }

  .program-list {
    font-size: 11px
  }

  .program-list small {
    font-size: 10px
  }

  .program-photo {
    height: 190px
  }

  .class-label {
    font-size: 19px;
    padding: 7px 11px;
    top: 12px;
    left: 12px
  }

  .photo-inset img {
    width: 170px;
    height: 144px
  }

  .photo-caption {
    font-size: 14px;
    left: 12px;
    bottom: 12px
  }

  .chemistry-photo {
    padding-right: 15px
  }

  .class-nav a {
    padding: 12px 16px
  }

  .ticket-guide small {
    width: 100%;
    margin: 3px 0 0
  }

  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px
  }

  .event-facts>div {
    display: block;
    padding: 13px 0
  }

  .event-facts dt {
    margin-bottom: 4px
  }

  .event-facts dd,.event-facts dd strong {
    font-size: 13px
  }

  .visit-info .button {
    font-size: 11px;
    gap: 10px;
    padding: 10px 12px
  }

  .visitor-notes {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px
  }

  .resources-section {
    gap: 60px
  }

  .about-inner {
    gap: 35px
  }

  .site-header nav {
    gap: 19px;
    font-size: 11px
  }

  .brand-name {
    font-size: 12px
  }

  .brand-name>span {
    font-size: 10px
  }

}

@media(max-width:600px) {
  html {
    scroll-padding-top: 118px
  }

  .wrap {
    padding-left: 22px;
    padding-right: 22px
  }

  .site-header {
    height: auto
  }

  .header-inner {
    display: block;
    padding: 12px 22px 0
  }

  .brand {
    gap: 10px
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 17px
  }

  .brand-mark span {
    font-size: 8px;
    margin-top: 3px
  }

  .brand-name {
    font-size: 12px
  }

  .brand-name>span {
    font-size: 10px
  }

  .site-header nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    font-size: 11px
  }

  .site-header nav a {
    padding: 5px 0 9px
  }

  .nav-flyer {
    gap: 8px
  }

  .hero-inner {
    padding-top: 30px;
    padding-bottom: 25px;
    gap: 0
  }

  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
    gap: 8px
  }

  .hero .eyebrow span {
    font-size: 10px
  }

  .hero-intro {
    font-size: 11px;
    margin-top: 19px
  }

  .hero h1 {
    font-size: clamp(33px,9.1vw,52px);
    line-height: 1.42;
    letter-spacing: -.055em;
    margin-top: 9px;
    margin-bottom: 19px
  }

  .title-highlight:after {
    height: 11px;
    right: -4px
  }

  .hero-description {
    font-size: 12px
  }

  .hero-date {
    gap: 8px;
    margin-top: 20px
  }

  .hero-date time {
    font-size: 57px
  }

  .hero-date strong {
    font-size: 20px;
    margin-left: 2px
  }

  .date-year {
    font-size: 10px
  }

  .day {
    width: 24px;
    height: 24px;
    font-size: 12px
  }

  .hero-tags {
    gap: 6px;
    margin-top: 14px
  }

  .hero-tags span {
    font-size: 10px;
    padding: 2px 8px
  }

  .hero-actions {
    gap: 18px;
    margin-top: 23px
  }

  .hero-actions .button {
    font-size: 11px;
    min-height: 47px;
    padding: 11px 14px;
    gap: 12px
  }

  .hero-actions .text-link {
    font-size: 11px
  }

  .hero-actions .text-link span {
    margin-left: 7px
  }

  .hero-visual {
    height: 340px;
    width: 350px;
    max-width: 100%;
    margin-top: 33px
  }

  .photo-note {
    width: 160px;
    padding: 6px 6px 4px
  }

  .photo-note img {
    height: 110px
  }

  .photo-note figcaption {
    font-size: 7px;
    gap: 5px;
    padding: 5px 0 2px
  }

  .photo-note figcaption span {
    font-size: 7px
  }

  .note-math {
    left: 3px;
    top: 17px
  }

  .note-physics {
    right: 0;
    top: 39px;
    width: 137px
  }

  .note-physics img {
    height: 145px
  }

  .note-biology {
    left: 2px;
    top: 174px;
    width: 157px
  }

  .note-biology img {
    height: 106px
  }

  .note-chemistry {
    right: -2px;
    top: 210px;
    width: 146px
  }

  .note-chemistry img {
    height: 106px
  }

  .science-note {
    right: 10px;
    top: -15px;
    font-size: 10px
  }

  .orbit {
    width: 300px;
    height: 180px;
    left: 10px;
    top: 90px
  }

  .orbit-two {
    width: 290px;
    height: 190px;
    top: 90px
  }

  .orbit-two:after {
    top: 135px
  }

  .arrival-strip {
    font-size: 10px
  }

  .arrival-strip .wrap {
    gap: 7px;
    padding-top: 14px;
    padding-bottom: 14px
  }

  .arrival-strip .divider {
    margin: 0 5px
  }

  .small-label {
    margin-right: 7px;
    font-size: 9px;
    padding: 1px 5px
  }

  .arrival-strip a {
    font-size: 10px
  }

  .section {
    padding-top: 49px;
    padding-bottom: 49px
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px
  }

  .section-heading {
    display: block;
    margin-bottom: 24px
  }

  .section-heading h2 {
    font-size: 26px;
    line-height: 1.6;
    margin-top: 9px
  }

  .section-heading>p {
    font-size: 12px;
    margin-top: 12px
  }

  .mobile-only {
    display: block
  }

  .class-nav {
    margin-bottom: 15px
  }

  .class-nav a {
    font-size: 11px;
    gap: 7px;
    padding: 11px 9px
  }

  .class-nav a>span:last-child {
    font-size: 11px
  }

  .color-dot {
    width: 7px;
    height: 7px
  }

  .ticket-guide {
    font-size: 9px;
    gap: 5px;
    line-height: 1.7
  }

  .ticket-guide .first {
    margin-left: 5px
  }

  .ticket-guide small {
    font-size: 9px
  }

  .program-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .program-card {
    scroll-margin-top: 128px
  }

  .program-photo {
    height: 210px
  }

  .class-label {
    font-size: 21px;
    left: 16px;
    top: 16px;
    padding: 8px 13px
  }

  .program-body {
    padding: 23px 22px 20px
  }

  .program-body h3 {
    font-size: 22px
  }

  .program-lead {
    font-size: 12px
  }

  .program-list {
    font-size: 12px;
    margin-top: 18px;
    margin-bottom: 17px
  }

  .program-list small {
    font-size: 11px
  }

  .program-list li {
    padding: 9px 0
  }

  .class-link {
    font-size: 12px
  }

  .program-photo.chemistry-photo {
    padding: 20px
  }

  .photo-inset img {
    width: 190px;
    height: 158px
  }

  .photo-caption {
    left: 20px;
    bottom: 20px;
    font-size: 16px
  }

  .program-footnote {
    font-size: 10px;
    line-height: 1.8
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .event-facts>div {
    display: grid;
    grid-template-columns: 85px 1fr;
    padding: 16px 0;
    gap: 8px
  }

  .event-facts dd,.event-facts dd strong {
    font-size: 13px
  }

  .event-facts dt {
    font-size: 11px
  }

  .visit-info .button {
    font-size: 12px;
    padding: 12px 17px
  }

  .entry-note {
    margin: 21px 0
  }

  .campus-map {
    padding: 12px
  }

  .visitor-notes {
    margin-top: 30px;
    padding-top: 25px;
    gap: 20px
  }

  .visitor-notes>h3 {
    font-size: 21px
  }

  .faq summary {
    font-size: 13px
  }

  .faq p {
    font-size: 12px
  }

  .resources-section {
    gap: 25px;
    align-items: center
  }

  .flyer-preview {
    width: 110px;
    flex: 0 0 110px
  }

  .resource-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1px
  }

  .resource-copy h2 {
    font-size: 23px;
    margin: 8px 0 12px
  }

  .resource-copy>p:not(.eyebrow) {
    font-size: 11px
  }

  .resource-copy>p br {
    display: none
  }

  .resource-copy .button {
    font-size: 10px;
    gap: 8px;
    padding: 10px 12px;
    min-height: 43px;
    margin-top: 17px;
    flex-wrap: wrap;
    justify-content: flex-start
  }

  .resource-copy .button small {
    font-size: 9px
  }

  .resource-copy .resource-status {
    font-size: 9px!important
  }

  .about-section {
    padding: 38px 0
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .about-inner h2 {
    font-size: 23px
  }

  .about-inner>div:last-child {
    font-size: 12px
  }

  .site-footer {
    padding-top: 32px
  }

  .footer-grid {
    display: block;
    padding-bottom: 28px
  }

  .footer-brand {
    font-size: 20px
  }

  .contact {
    margin-top: 28px
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 15px;
    padding-bottom: 15px
  }

  .footer-bottom small {
    width: 100%
  }

  .footer-bottom>a {
    margin-left: auto
  }

}

@media(max-width:360px) {
  .wrap {
    padding-left: 17px;
    padding-right: 17px
  }

  .header-inner {
    padding-left: 17px;
    padding-right: 17px
  }

  .hero-date time {
    font-size: 49px
  }

  .hero-date strong {
    font-size: 17px
  }

  .hero-actions {
    gap: 12px
  }

  .hero-tags span {
    font-size: 9px
  }

  .hero-visual {
    transform: scale(.92);
    transform-origin: center top;
    margin-bottom: -20px
  }

  .ticket-guide {
    display: block
  }

  .ticket-guide .ticket,.ticket-guide .first {
    margin: 0 3px
  }

  .ticket-guide small {
    display: block
  }

  .resources-section {
    gap: 17px
  }

  .flyer-preview {
    width: 95px;
    flex-basis: 95px
  }

  .program-body {
    padding-left: 18px;
    padding-right: 18px
  }

  .program-list {
    font-size: 11px
  }

  .program-photo.chemistry-photo {
    padding-right: 14px
  }

  .photo-inset img {
    width: 165px
  }

}

/* 企画・来場情報は小さくしすぎず、読める文字サイズを維持します。 */
.program-lead {
  font-size: 14px
}

.program-list {
  font-size: 14px
}

.program-list small {
  font-size: 12px
}

.program-list .ticket,.program-list .first,.ticket-guide .ticket,.ticket-guide .first {
  font-size: 10px
}

.room {
  font-size: 12px
}

.class-link {
  font-size: 13px
}

.program-footnote,.ticket-guide {
  font-size: 11px
}

.event-facts dd {
  font-size: 15px
}

.faq p,.entry-note {
  font-size: 14px
}

.faq summary {
  font-size: 15px
}

.about-inner>div:last-child {
  font-size: 14px
}

.resource-copy>p:not(.eyebrow) {
  font-size: 14px
}

@media(max-width:820px) and (min-width:601px) {
  .program-list {
    font-size: 13px
  }

  .program-lead {
    font-size: 13px
  }

}

@media(max-width:600px) {
  .program-list {
    font-size: 14px
  }

  .program-list small {
    font-size: 12px
  }

  .program-lead {
    font-size: 13px
  }

  .class-link {
    font-size: 13px
  }

  .faq p,.entry-note {
    font-size: 13px
  }

  .faq summary {
    font-size: 14px
  }

  .about-inner>div:last-child {
    font-size: 13px
  }

  .resource-copy>p:not(.eyebrow) {
    font-size: 12px
  }

  .ticket-guide {
    font-size: 10px
  }

  .program-body h3 {
    font-size: 21px
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,*:before,*:after {
    transition: none!important
  }

}

@media print {
  .site-header {
    position: static
  }

  .site-header nav,.hero-actions,.class-nav,.hero-visual,.resources-section,.footer-bottom>a {
    display: none
  }

  .hero-inner {
    display: block;
    min-height: 0;
    padding-top: 20px;
    padding-bottom: 20px
  }

  .hero h1 {
    font-size: 36px
  }

  .hero-date time {
    font-size: 45px
  }

  .section {
    padding-top: 30px;
    padding-bottom: 30px
  }

  .program-card {
    break-inside: avoid
  }

  .program-photo {
    height: 150px
  }

  .program-body {
    padding: 15px
  }

  .program-body h3 {
    font-size: 18px
  }

  .program-list {
    font-size: 10px
  }

  .section-heading h2 {
    font-size: 24px
  }

  .site-footer {
    background: white;
    color: var(--ink)
  }

  .footer-grid>div>p,.footer-bottom {
    color: var(--ink)
  }

  .about-section {
    padding: 25px 0
  }

  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px
  }

  a {
    text-decoration: none
  }

  body {
    font-size: 12px
  }

}

/* ============================================================
   小学生にも読みやすい文字サイズ（画面表示用）
   HTMLの変更は不要です。文字サイズの調整はこのブロックで行います。
   ============================================================ */
@media screen {
  body {
    font-size: 18px;
    line-height: 2.1;
  }

  /* 企画名と本文：スマートフォンでも18pxを維持します。 */
  .program-lead,
  .program-list,
  .hero-description,
  .section-heading > p,
  .event-facts dd,
  .event-facts dd strong,
  .entry-note,
  .entry-note strong,
  .faq p,
  .about-inner > div:last-child,
  .resource-copy > p:not(.eyebrow) {
    font-size: 18px;
    line-height: 2.2;
  }

  .program-list small {
    font-size: 16px;
    line-height: 2.1;
  }

  .program-list li {
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
  }

  .program-list li > span:first-child {
    min-width: 0;
    padding-left: 15px;
  }

  .program-list li > span:first-child:before {
    top: 18px;
  }

  .program-body {
    padding: 30px 28px 25px;
  }

  .program-body h3 {
    font-size: 26px;
    line-height: 1.95;
  }

  .section-heading h2,
  .resource-copy h2 {
    font-size: 34px;
    line-height: 1.9;
  }

  .about-inner h2 {
    font-size: 28px;
    line-height: 1.9;
  }

  .room,
  .class-link,
  .text-link,
  .about-inner .text-link,
  .button,
  .hero-actions .button,
  .hero-actions .text-link,
  .visit-info .button,
  .resource-copy .button,
  .event-facts dt,
  .faq summary,
  .hero-intro {
    font-size: 16px;
    line-height: 2.1;
  }

  .button {
    min-height: 56px;
    white-space: normal;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .class-nav a {
    font-size: 20px;
    min-height: 68px;
    padding: 13px 18px;
  }

  .hero-tags span,
  .program-list .ticket,
  .program-list .first,
  .ticket-guide .ticket,
  .ticket-guide .first,
  .ticket-guide,
  .ticket-guide small,
  .class-link > small,
  .program-footnote,
  .event-facts small,
  .campus-map figcaption,
  .resource-copy .button small,
  .button small {
    font-size: 14px;
    line-height: 2.1;
  }

  .resource-copy .resource-status {
    font-size: 14px !important;
    line-height: 2.1;
  }

  .ticket-guide {
    gap: 10px;
  }

  .ticket-guide small {
    flex-basis: 100%;
    margin-left: 0;
  }

  .program-list .ticket,
  .program-list .first {
    flex-shrink: 0;
    margin-top: 5px;
  }

  /* ヘッダーは文字やルビに合わせて高さを確保します。 */
  .site-header {
    height: auto;
    min-height: 90px;
  }

  .header-inner {
    min-height: 90px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand-name {
    font-size: 16px;
    line-height: 2;
  }

  .brand-name > span {
    font-size: 13px;
  }

  .site-header nav {
    font-size: 16px;
    gap: 24px;
  }

  .arrival-strip,
  .arrival-strip a {
    font-size: 16px;
    line-height: 2.1;
  }

  .arrival-strip .wrap {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .small-label {
    font-size: 13px;
  }

  /* 写真のキャプションも読める大きさにし、重なりを避けます。 */
  .hero-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    height: auto;
    margin: 25px 0 0;
    padding: 20px 5px;
    transform: none;
  }

  .hero-visual .photo-note {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    transform: none;
    padding: 8px;
  }

  .hero-visual .photo-note img {
    height: 150px;
  }

  .photo-note figcaption {
    font-size: 13px;
    line-height: 2;
    white-space: normal;
    flex-wrap: wrap;
    padding-top: 10px;
  }

  .photo-note figcaption span {
    font-size: 12px;
  }

  .science-note {
    display: none;
  }

  .site-footer,
  .contact h2 {
    font-size: 14px;
    line-height: 2.2;
  }

  .footer-bottom,
  .footer-bottom small {
    font-size: 12px;
    line-height: 2.1;
  }

  html {
    scroll-padding-top: 140px;
  }

  .program-card {
    scroll-margin-top: 140px;
  }
}

/* 中間サイズでも本文を小さくせず、1列に切り替えて幅を確保します。 */
@media screen and (max-width: 900px) {
  .program-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .program-photo {
    height: 260px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 15px;
  }
}

@media screen and (max-width: 600px) {
  .header-inner {
    min-height: 0;
    padding: 12px 20px 0;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-name > span {
    font-size: 12px;
  }

  .site-header nav {
    font-size: 14px;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .site-header nav a {
    padding: 6px 0 10px;
  }

  .section-heading h2,
  .resource-copy h2 {
    font-size: 28px;
  }

  .program-body h3 {
    font-size: 24px;
  }

  .program-body {
    padding: 27px 20px 22px;
  }

  .class-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .class-nav a {
    font-size: 20px;
    min-height: 68px;
  }

  .class-nav a:nth-child(2) {
    border-right: 0;
  }

  .class-nav a:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .program-photo {
    height: 210px;
  }

  .event-facts > div {
    display: block;
  }

  .event-facts dt {
    margin-bottom: 8px;
  }

  .hero-date {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .hero-visual .photo-note img {
    height: 115px;
  }

  .hero-visual {
    gap: 12px;
    margin-bottom: 0;
  }

  .resources-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .flyer-preview {
    width: 150px;
    flex-basis: auto;
    align-self: center;
  }

  .resource-copy .button {
    font-size: 16px;
    padding: 12px 18px;
  }

  html {
    scroll-padding-top: 175px;
  }

  .program-card {
    scroll-margin-top: 175px;
  }
}
